Driving style recognition method and device, model training method and device and computer equipment

By using the neural network model to train car driving style feature data, the problem that existing technology cannot accurately identify the user's driving style is solved, and the accurate identification of the user's driving style and personalized driving experience are achieved.

CN118770240APending Publication Date: 2024-10-15CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410925185.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Existing car driving style recognition technology cannot accurately reflect the user's real driving style, resulting in the inability to meet the user's personalized needs for driving experience.

Method used

By obtaining the driving style characteristic sample data including the maximum value of longitudinal acceleration, the maximum value of lateral acceleration and the maximum value of the product of steering wheel angle and vehicle speed, use the neural network model for training, and combine the gradient descent method to update the model parameters until convergence, thereby achieving driving style accurate identification.

Benefits of technology

It achieves accurate identification of the user's driving style and can learn the user's steering, acceleration and deceleration operating styles, improving the accuracy and personalized experience of driving style identification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118770240A_ABST
    Figure CN118770240A_ABST
Patent Text Reader

Abstract

The invention relates to a driving style recognition method and device, a model training method and device and computer equipment. The method comprises the steps of obtaining a training data set, inputting driving style feature sample data in the training data set into an initial driving style recognition model to obtain a predicted driving style output by the model, and determining a loss value according to a set loss function, a driving style label corresponding to the driving style feature sample data and the predicted driving style. And updating network parameters of the initial driving style recognition model by adopting a gradient descent method according to the loss value until convergence to obtain the driving style recognition model. The training is based on the driving style characteristic sample data including the maximum longitudinal acceleration value, the maximum transverse acceleration value and the maximum value of the product of the steering wheel angle and the vehicle speed, so that the model can learn the operation styles of the user during steering, acceleration and deceleration, and the trained model can accurately identify the driving style.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle control technology, and in particular to a driving style recognition model training method, a driving style recognition method, an apparatus, a computer device, a storage medium, and a computer program product. Background Art

[0002] With the rapid development of new energy vehicles, users have higher and higher requirements for driving experience. In traditional technology, the driving style of a car generally includes three modes: economy, comfort, and sports. Usually, after a car leaves the factory, its available driving style modes are relatively fixed.

[0003] However, different users have different driving styles, and the relatively fixed driving style in current cars cannot reflect the user's real driving style. Therefore, how to accurately identify the user's driving style is a problem that needs to be solved urgently. Summary of the invention

[0004] Based on this, it is necessary to provide a driving style recognition model training method, driving style recognition method, device, computer equipment, storage medium and computer program product that can accurately identify the user's driving style in response to the above technical problems.

[0005] In a first aspect, the present application provides a driving style recognition model training method, comprising:

[0006] Acquire a training data set, the training data set comprising driving style feature sample data of multiple sample stages and corresponding driving style labels, the driving style feature sample data comprising a maximum longitudinal acceleration, a maximum lateral acceleration, and a maximum value of a product of a steering wheel angle and a vehicle speed in a corresponding sample stage;

[0007] Inputting the driving style feature sample data into an initial driving style recognition model to obtain a predicted driving style output by the initial driving style recognition model for the driving style feature sample data;

[0008] Determining a loss value of the initial driving style recognition model according to a set loss function, a driving style label corresponding to the driving style feature sample data at each sample stage in the training data set, and the predicted driving style;

[0009] The network parameters of the initial driving style recognition model are updated using a gradient descent method according to the loss value until the driving style recognition model is obtained upon convergence.

[0010] In one embodiment, obtaining a training data set includes:

[0011] Collecting vehicle state information of the vehicle at multiple sample stages in a sample driving environment, the vehicle state information including a steering wheel angle, a vehicle speed, a longitudinal acceleration, and a lateral acceleration of the vehicle;

[0012] Determining driving style features from the vehicle state information, performing dimensionality reduction processing based on the driving style features at multiple sample stages, and obtaining driving style feature sample data at multiple sample stages;

[0013] performing clustering processing on the driving style feature sample data of multiple sample stages based on a clustering algorithm to determine a category of the driving style feature sample data of each sample stage, wherein the category is used to characterize a corresponding driving style label;

[0014] The driving style feature sample data of multiple sample stages and the corresponding driving style labels are used as the training data set.

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

[0016] Acquire a test data set, wherein the test data set includes a plurality of driving style feature sample data and corresponding driving style labels;

[0017] Inputting the driving style feature sample data into a trained driving style recognition model to obtain a predicted driving style for the driving style feature sample data;

[0018] Determining the accuracy of the driving style recognition model based on the driving style labels corresponding to the plurality of driving style feature sample data and the predicted driving style;

[0019] When the accuracy rate meets a preset threshold, it is determined that the trained driving style recognition model has passed the test.

[0020] In a second aspect, the present application provides a driving style recognition method, comprising:

[0021] Acquiring driving style characteristic data of the target object for each stage, wherein the driving style characteristic data includes a maximum longitudinal acceleration, a maximum lateral acceleration, and a maximum product of a steering wheel angle and a vehicle speed in each stage;

[0022] Inputting the driving style feature data of each stage into a driving style recognition model respectively, and obtaining the driving style for each stage output by the driving style recognition model; the driving style recognition model is trained by the method according to any one of claims 1 to 3;

[0023] When the driving mileage of the target object reaches the target mileage, a target driving style of the target object is determined based on the driving styles of each stage corresponding to the driving mileage of the target object.

[0024] In one embodiment, determining the target driving style of the target object based on the driving styles of each stage corresponding to the driving mileage of the target object includes:

[0025] Counting the driving styles of each stage corresponding to the driving mileage of the target object to obtain the statistical times corresponding to different driving styles;

[0026] The driving style with the highest statistical number is determined as the target driving style of the target object.

[0027] In one embodiment, after determining the target driving style of the target object, the method further includes:

[0028] matching a corresponding target energy recovery level according to a target driving style of the target object;

[0029] The vehicle is controlled to perform energy recovery according to the target energy recovery level, and the energy recovery level is used to represent the strength of the energy recovery performed by the vehicle.

[0030] In one embodiment, matching a corresponding target energy recovery level according to a target driving style of the target object includes:

[0031] When the target driving style of the target object is an aggressive style, determining the matched target energy recovery level to be a high level;

[0032] When the target driving style of the target object is a general style, determining the matched target energy recovery level to be a medium level;

[0033] In a case where the target driving style of the target object is a conservative style, the matched target energy recovery level is determined to be a low level.

[0034] In a third aspect, the present application also provides a driving style recognition model training device, comprising:

[0035] a training data acquisition module, configured to acquire a training data set, wherein the training data set includes driving style feature sample data of multiple sample stages and corresponding driving style labels, wherein the driving style feature sample data includes a maximum longitudinal acceleration, a maximum lateral acceleration, and a maximum value of a product of a steering wheel angle and a vehicle speed in a corresponding sample stage;

[0036] A prediction module, configured to input the driving style feature sample data into an initial driving style recognition model to obtain a predicted driving style output by the initial driving style recognition model for the driving style feature sample data;

[0037] a loss determination module, configured to determine a loss value of the initial driving style recognition model according to a set loss function, a driving style label corresponding to the driving style feature sample data at each sample stage in the training data set, and the predicted driving style;

[0038] The model determination module is used to update the network parameters of the initial driving style recognition model by using the gradient descent method according to the loss value until the driving style recognition model is obtained when convergence occurs.

[0039] In a fourth aspect, the present application further provides a driving style recognition device, comprising:

[0040] A data acquisition module, used to acquire driving style characteristic data of the target object for each stage, wherein the driving style characteristic data includes a maximum longitudinal acceleration, a maximum lateral acceleration, and a maximum product of a steering wheel angle and a vehicle speed in each stage;

[0041] A style recognition module, used for inputting the driving style feature data of each stage into a driving style recognition model to obtain the driving style for each stage output by the driving style recognition model; the driving style recognition model is trained by the method according to any one of claims 1 to 3;

[0042] The style determination module is used to determine the target driving style of the target object based on the driving styles of each stage corresponding to the driving mileage of the target object when the driving mileage of the target object reaches the target mileage.

[0043] In a fifth aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method described in the first aspect when executing the computer program.

[0044] In a sixth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method described in the first aspect above.

[0045] In a seventh aspect, the present application further provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the method described in the first aspect above.

[0046] The above-mentioned driving style recognition model training method, driving style recognition method, device, computer equipment, storage medium and computer program product obtain a training data set, input the driving style feature sample data in the training data set into the initial driving style recognition model, obtain the predicted driving style for the driving style feature sample data output by the initial driving style recognition model, determine the loss value of the initial driving style recognition model according to the set loss function, the driving style label corresponding to the driving style feature sample data of each sample stage in the training data set and the predicted driving style, and update the network parameters of the initial driving style recognition model according to the loss value using the gradient descent method until the driving style recognition model is obtained at convergence. Since the training is based on the driving style feature sample data including the maximum longitudinal acceleration, the maximum lateral acceleration and the maximum value of the product of the steering wheel angle and the vehicle speed, the model can learn the user's operating style when turning, accelerating and decelerating, so that the trained model can accurately recognize the driving style. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0048] Figure 1 A schematic diagram of a process of training a driving style recognition model in one embodiment;

[0049] Figure 2 A schematic diagram of a network structure in an embodiment;

[0050] Figure 3 A schematic diagram of a process for obtaining a training data set in one embodiment;

[0051] Figure 4 A schematic diagram of a flow chart of a model testing step in an embodiment;

[0052] Figure 5 is a schematic flow chart of a driving style identification method in one embodiment;

[0053] Figure 6 is a flow chart of a driving style recognition method in another embodiment;

[0054] Figure 7 A schematic diagram of a flow chart of a step of determining a target driving style in one embodiment;

[0055] Figure 8 is a flow chart of a driving style identification method in yet another embodiment;

[0056] Fig. 9 is a structural block diagram of a driving style recognition model training device in one embodiment;

[0057] Fig.10 is a structural block diagram of a driving style recognition device in one embodiment;

[0058] Fig.11 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

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

[0060] In one embodiment, Figure 1 As shown, a driving style recognition model training method is provided, comprising the following steps:

[0061] Step 102: Obtain a training data set.

[0062] The training data set is sample data used for model training. The training data set includes driving style feature sample data of multiple sample stages and corresponding driving style labels. Specifically, the driving style feature sample data includes the maximum longitudinal acceleration, the maximum lateral acceleration, and the maximum value of the product of the steering wheel angle and the vehicle speed of the corresponding sample stage. The driving style label refers to the real driving style corresponding to the sample stage. In this embodiment, when training the model, the corresponding training data set needs to be obtained first.

[0063] Step 104 : input the driving style feature sample data into an initial driving style recognition model to obtain a predicted driving style output by the initial driving style recognition model for the driving style feature sample data.

[0064] The initial driving style recognition model can be a neural network model based on a neural network for predicting driving style. Specifically, a single hidden layer neural network can be used to build the initial driving style recognition model. The network structure is as follows: Figure 2 As shown, it can include 3 input layer neurons and 3 output layer neurons, where the output layer activation function is the sigmoid function, then the number of neurons in its hidden layer is It can be determined based on the following formula:

[0065] , where N s is the number of samples in the training set, N i is the number of neurons in the input layer, No is the number of neurons in the output layer. α can be selected according to the actual situation and is usually between 2 and 10.

[0066] In this embodiment, by inputting the driving style feature sample data into the initial driving style recognition model (i.e., x1, x2 and x3 correspond to the maximum longitudinal acceleration, the maximum lateral acceleration and the maximum value of the product of the steering wheel angle and the vehicle speed in the driving style feature sample data, respectively, and each feature corresponds to an input layer neuron for input), the predicted driving style for the driving style feature sample data output by the initial driving style recognition model is obtained, that is, the probability of each output layer neuron outputting the corresponding driving style (i.e., y1, y2 and y3 are the probabilities of different driving styles, respectively), and finally the driving style with the largest probability is output as the predicted driving style of the driving style feature sample data.

[0067] Step 106 , determining a loss value of the initial driving style recognition model according to the set loss function, the driving style label corresponding to the driving style feature sample data at each sample stage in the training data set, and the predicted driving style.

[0068] The loss function is a function that maps the value of a random event or its related random variables to a non-negative real number to represent the "risk" or "loss" of the random event. In this embodiment, the loss function can specifically adopt a square error loss function. The loss value is the specific loss or error between the predicted driving style and the driving style label corresponding to the driving style feature sample data of each sample stage in the training data set calculated based on the loss function. Specifically, the loss function It can be expressed as:

[0069] in, is the driving style label corresponding to the i-th driving style feature sample data, is the predicted driving style corresponding to the i-th driving style feature sample data, and N represents the number of driving style feature sample data in the training data set. w is the network parameter of the neural network, including the weight and bias parameter of each input feature. Specifically, based on the above loss function, the loss value of the initial driving style recognition model can be obtained by calculation.

[0070] Step 108 , using a gradient descent method to update the network parameters of the initial driving style recognition model according to the loss value until a driving style recognition model is obtained upon convergence.

[0071] Specifically, the network parameters of the initial driving style recognition model are adjusted according to the loss value obtained by the above calculation, and the above steps are repeated to continue training the adjusted initial driving style recognition model until the loss value no longer decreases, that is, the model converges. At this time, the network parameters of the model are saved to obtain a trained driving style recognition model.

[0072] In the above-mentioned driving style recognition model training method, a training data set is obtained, and the driving style feature sample data in the training data set is input into the initial driving style recognition model to obtain the predicted driving style for the driving style feature sample data output by the initial driving style recognition model, and the loss value of the initial driving style recognition model is determined according to the set loss function, the driving style label corresponding to the driving style feature sample data at each sample stage in the training data set, and the predicted driving style, and the network parameters of the initial driving style recognition model are updated using the gradient descent method according to the loss value until the driving style recognition model is obtained at convergence. Since the training is based on the driving style feature sample data including the maximum longitudinal acceleration, the maximum lateral acceleration, and the maximum value of the product of the steering wheel angle and the vehicle speed, the model can learn the user's operating style when turning, accelerating, and decelerating, so that the trained model can accurately recognize the driving style.

[0073] In an exemplary embodiment, Figure 3 As shown, in step 102, obtaining a training data set may specifically include:

[0074] Step 302 , collecting vehicle state information of the vehicle at multiple sample stages in a sample driving environment.

[0075] The vehicle state information includes the vehicle's steering wheel angle, vehicle speed, longitudinal acceleration, lateral acceleration, and other state information. The sample driving environment may be a driving road environment with working conditions such as straight driving, lane changing, and turning. The sample stage may be a vehicle's driving stage, which may be specifically obtained by dividing the stages based on the vehicle's mileage or driving time.

[0076] Specifically, a driving road with straight driving, lane changing, turning and other working conditions (i.e., a sample driving environment) can be selected, 20 drivers of different age groups and genders can be selected to drive, and vehicle status information such as steering wheel angle, vehicle speed, longitudinal acceleration and lateral acceleration can be collected. Then, noise reduction, filtering and other methods are used to pre-process the data, such as excluding acceleration events within 1s, braking events within 0.5s and steering events within 2s, and the pre-processed data is divided into n sample sizes according to mileage or driving time, and each sample size corresponds to the vehicle status information of a sample stage, so the vehicle status information of n sample stages is obtained.

[0077] Step 304 , determining driving style features from the vehicle state information, performing dimensionality reduction processing based on the driving style features of multiple sample stages, and obtaining driving style feature sample data of multiple sample stages.

[0078] Among them, driving style features are original features that may have a certain effect on the identification of driving style, determined by statistical analysis based on vehicle status information. Dimensionality reduction is the process of converting the original features that may be correlated into a set of linearly unrelated variables through orthogonal transformation. The converted variables are called principal components, i.e. driving style feature sample data. It simplifies the data set by using fewer variables to explain most of the variation in the original data while retaining as much original information as possible, also known as principal component analysis.

[0079] Specifically, the driving style feature is an original feature determined from the vehicle state information that may have a certain effect on the identification of the driving style, which may specifically include the maximum value, average value and standard deviation of the longitudinal acceleration, the maximum value, average value and standard deviation of the lateral acceleration, and the maximum value, average value and standard deviation of the product of the steering wheel angle and the vehicle speed in each sample stage, a total of 9 original features. It can be understood that based on the collection cycle of the vehicle state information collected by the vehicle controller, for each sample stage, the state information such as the steering wheel angle, vehicle speed, longitudinal acceleration and lateral acceleration of the vehicle for multiple cycles can be collected. By statistically analyzing the vehicle state information of multiple cycles in each sample stage, the above 9 driving style features of each sample stage can be obtained.

[0080] Furthermore, by performing dimensionality reduction processing on the driving style features of multiple sample stages, driving style feature sample data of multiple sample stages are obtained. In this embodiment, the principal component analysis method can be used to perform dimensionality reduction processing on the driving style features determined above.

[0081] Specifically, taking the principal component analysis of the driving style characteristics of n sample stages as an example, the corresponding sample matrix is:

[0082]

[0083] Wherein, p is the number of driving style features, which is 9 in this embodiment; n is the number of sample stages, that is, the number of samples.

[0084] Assume the correlation coefficient matrix is ​​R, then:

[0085] in, and and The correlation coefficient is expressed as follows:

[0086]

[0087]

[0088]

[0089] in, and Refers to any two of the above 9 driving style characteristics, The arbitrary two driving style characteristics are and The correlation coefficient between is the mean of the i-th column in matrix X, is the mean of the jth column in matrix X, For characterization The degree of dispersion is also the variance. Similarly, For characterization The degree of dispersion is also known as the variance. For characterization and The degree of correlation between them is also called covariance.

[0090] The eigenvalues ​​λ1, λ2, …, λ of R are calculated by MATLAB (a programming and numerical computing platform) p , a total of p eigenvalues, and λ1>λ2>…>λ p >0, the contribution rate of each principal component (i.e. each driving style feature) is calculated as follows:

[0091]

[0092] in, is the contribution rate of the ith principal component. The first three principal components (i.e., driving style features with cumulative contribution rates of more than 80% and eigenvalues ​​greater than 1) are selected as the three main eigenvalues ​​that can determine the driving style. In this embodiment, based on the driving style features of the above-mentioned multiple sample stages, the three main eigenvalues ​​finally determined, i.e., the driving style feature sample data, are the maximum lateral acceleration, the maximum longitudinal acceleration, and the maximum value of the product of the steering wheel angle and the vehicle speed.

[0093] Step 306 : clustering the driving style feature sample data of multiple sample stages based on a clustering algorithm to determine the category of the driving style feature sample data of each sample stage.

[0094] The category is used to characterize the driving style label of the driving style feature sample data of the corresponding sample stage. In this embodiment, after the three main feature values ​​that can determine the driving style, i.e., the driving style feature sample data, are determined through the above steps, clustering processing is performed on the driving style feature sample data of multiple sample stages based on a clustering algorithm to determine the category corresponding to the driving style feature sample data of each sample stage, i.e., the driving style label.

[0095] Specifically, the present embodiment can preliminarily identify the driving style tendency of the driving style feature sample data based on the k-means algorithm, and continuously iterate the class center point through loops, determine the number of iterations, calculate the distance from each driving style feature sample data to the new class center point, and reclassify according to the principle of the closest distance, and finally divide the driving style feature sample data of n sample stages into k categories. It can be understood that in the present embodiment, k=3, that is, there are three categories of driving style, namely, conservative category, general category and aggressive category. Among them, the aggressive category has a higher maximum value of the product of the steering wheel angle and the vehicle speed, the maximum value of the longitudinal acceleration and the maximum value of the lateral acceleration, and the conservative category has the lowest maximum value of the product of the steering angle and the vehicle speed, the maximum value of the longitudinal acceleration and the maximum value of the lateral acceleration, and the maximum value of the steering angle and the vehicle speed, the maximum value of the longitudinal acceleration and the maximum value of the lateral acceleration under the general category are all moderate.

[0096] Therefore, based on the above clustering, the category corresponding to the driving style feature sample data of each sample stage can be determined, and the category is used as the driving style label of the driving style feature sample data of the corresponding sample stage.

[0097] Step 308 : Using the driving style feature sample data of multiple sample stages and the corresponding driving style labels as a training data set.

[0098] Specifically, after determining the driving style labels of the driving style feature sample data of each sample stage through the above steps, the driving style feature sample data of multiple sample stages and the corresponding driving style labels can be used as training data sets. The initial driving style recognition model can then be trained using the training data sets to obtain a driving style recognition model that can be used to accurately predict the driving style.

[0099] In the above embodiment, the principal component analysis method is used to identify three main eigenvalues ​​that can determine the driving style, namely, the driving style feature sample data, and the driving style feature sample data is classified and identified based on the k-means clustering algorithm to determine the driving style label of the driving style feature sample data, and then the neural network is trained so that the network can learn the corresponding driving style and can accurately identify the corresponding driving style when applied to actual driving style prediction.

[0100] In practical applications, in order to further improve the confidence of the driving style recognition model, after completing the training of the driving style recognition model based on the above steps, a testing process of the driving style recognition model may also be included. Figure 4 As shown, the testing process of the driving style recognition model may specifically include the following steps:

[0101] Step 402: Obtain a test data set.

[0102] The test data set includes a plurality of driving style feature sample data and corresponding driving style labels. It is understandable that the acquisition process of the test data set is similar to that of the training data set, and this embodiment will not be described in detail.

[0103] Specifically, the test data set and the training data set may have a certain ratio respectively. For example, the training data set may account for 80% or 85% of the total sample data, and the test data set may account for 20% or 15% of the total sample data.

[0104] Step 404 : input the driving style feature sample data into the trained driving style recognition model to obtain a predicted driving style for the driving style feature sample data.

[0105] Specifically, each driving style feature sample data in the above test data set is input into the following Figure 1 The driving style recognition model obtained by the method shown is trained to obtain a predicted driving style for each driving style feature sample data.

[0106] Step 406 : determining the accuracy of the driving style recognition model based on the driving style labels corresponding to the plurality of driving style feature sample data and the predicted driving styles.

[0107] Among them, the accuracy rate is the accuracy rate of the predicted driving style corresponding to the driving style feature sample data, which is calculated based on the driving style label corresponding to the driving style feature sample data. For example, if there are m driving style feature sample data in the test data set, the predicted driving style for each driving style feature sample data is obtained through the driving style recognition model, and the predicted driving style of each driving style feature sample data is compared with the corresponding driving style label. If they are the same, it means that the prediction of the driving style for the driving style feature sample data is correct. If they are different, it means that the prediction of the driving style for the driving style feature sample data is incorrect. If it is found statistically that the prediction of the driving style is incorrect when there are k driving style feature sample data, the accuracy rate of the driving style recognition model is [(mk) / m]×100%.

[0108] Step 408: When the accuracy rate meets the preset threshold, it is determined that the trained driving style recognition model has passed the test.

[0109] The preset threshold may be a preset accuracy threshold for measuring whether the driving style recognition model is usable. It is understandable that the preset threshold may be set to different values ​​based on actual application scenarios. For example, for scenarios with high accuracy requirements, the preset threshold may be set to a larger value, and for scenarios with low accuracy requirements, the preset threshold may be set to a smaller value. This is not limited in the present embodiment.

[0110] Specifically, after the accuracy of the driving style recognition model is determined by using the test data set through the above steps, if the accuracy meets the preset threshold, it means that the error of the driving style recognition model is within an acceptable range, that is, it means that the driving style recognition model is usable, so it is determined that the trained driving style recognition model has passed the test. Then, the driving style recognition model can be used to recognize the driving style of the target object in real time.

[0111] Based on the same inventive concept, the present application also provides a driving style recognition method, and this embodiment uses the method applied to a vehicle controller as an example. Figure 5 As shown, in this embodiment, the method includes the following steps:

[0112] Step 502 : Acquire driving style characteristic data of the target object at each stage.

[0113] The driving style characteristic data includes the maximum longitudinal acceleration, the maximum lateral acceleration, and the maximum product of the steering wheel angle and the vehicle speed in each stage. Specifically, the driving style characteristic data is determined by statistical analysis based on the vehicle state information of the corresponding stage, and the vehicle state information may include the vehicle's steering wheel angle, vehicle speed, longitudinal acceleration, lateral acceleration and other information.

[0114] The stage may be a driving stage of the vehicle, which may be specifically divided into stages based on the mileage of the vehicle, and the mileage may be a specific number of kilometers, for example, one kilometer of mileage may be one stage. The stage may also be divided based on the driving time of the vehicle, for example, one stage may be one driving event per minute. It is understood that the mileage or driving time of each stage may be set based on actual needs, and this embodiment does not limit this.

[0115] The target object may be any user object for which driving style recognition is required. It is understandable that the driving style recognition method of the present application may recognize the driving style of any user object. However, when the driving style recognition is performed on a certain user object, the driving style feature data of each stage of the user object driving the vehicle is used.

[0116] In this embodiment, when it is necessary to identify the driving style of a target object, the vehicle controller can obtain the driving style characteristic data of each stage of the target object's driving process. Specifically, the driving style characteristic data includes the maximum longitudinal acceleration, the maximum lateral acceleration, and the maximum value of the product of the steering wheel angle and the vehicle speed in each stage.

[0117] Step 504 : Input the driving style feature data of each stage into a pre-trained driving style recognition model to obtain the driving style for each stage output by the driving style recognition model.

[0118] The driving style recognition model may be a pre-trained neural network model capable of recognizing the user's driving style. Figures 1 to 4 The driving style is the driving style of the user object at a certain stage identified by the model based on the driving style feature data of the user object at that stage. Specifically, the driving style mainly reflects the operating style of road conditions such as acceleration, deceleration and turning, including but not limited to conservative style, general style and aggressive style.

[0119] Specifically, the vehicle controller inputs the driving style feature data of the target object obtained above based on each stage into the pre-trained driving style recognition model, respectively, to obtain the driving style for each stage output by the driving style recognition model. It can be understood that, during the process of the target object driving the vehicle, after the vehicle controller obtains the driving style feature data of a stage, it can input the driving style feature data of the stage into the pre-trained driving style recognition model, to obtain the driving style for the stage output by the driving style recognition model.

[0120] Step 506 : when the driving mileage of the target object reaches the target mileage, determine the target driving style of the target object based on the driving styles of each stage corresponding to the driving mileage of the target object.

[0121] The target driving style is the driving style of the target object that is finally determined. The target mileage is the pre-set driving mileage that the target object needs to complete in order to finally determine the driving style of the target object. Specifically, the target mileage can be set by the target object itself to achieve flexibility in driving style recognition. The driving mileage of the target object refers to the actual driving mileage of the target object.

[0122] Specifically, when the driving mileage of the target object reaches the target mileage, the vehicle controller may determine the target driving style of the target object based on the driving styles of each stage corresponding to the driving mileage of the target object. For example, the target driving style of the target object may be determined by statistically analyzing the driving styles of each stage corresponding to the driving mileage of the target object.

[0123] In the above driving style recognition method, the vehicle controller obtains the driving style feature data of the target object for each stage, inputs the driving style feature data of each stage into the pre-trained driving style recognition model, obtains the driving style for each stage output by the driving style recognition model, and determines the target driving style of the target object based on the driving styles of each stage corresponding to the driving mileage of the target object when the driving mileage of the target object reaches the target mileage. The driving style of each stage of the target object is recognized by the pre-trained driving style recognition model, and the target driving style of the target object is determined based on the driving styles of each stage corresponding to the driving mileage of the target object when the driving mileage of the target object reaches the target mileage, so as to realize the recognition of the driving style of the target object by the driving style recognition model. And when the driving style is recognized, it is based on the driving style feature data including the maximum longitudinal acceleration, the maximum lateral acceleration and the maximum value of the product of the steering wheel angle and the vehicle speed, so that the operation style of the target object during steering, acceleration and deceleration can be accurately and real-time described, thereby improving the accuracy of driving style recognition.

[0124] In an exemplary embodiment, Figure 6 As shown, in step 506, after determining the target driving style of the target object, the method may further include:

[0125] Step 508 , matching a corresponding target energy recovery level according to the target driving style of the target object.

[0126] Among them, the energy recovery level is used to characterize the strength of the vehicle's energy recovery. Energy recovery is a technology that recycles excess energy generated by the vehicle during driving, thereby improving the vehicle's energy utilization rate and reducing environmental pollution.

[0127] Specifically, the energy recovery level generally includes three levels, namely low (20%), medium (70%) and high (100%). The low level corresponds to mild recovery, which means that when the vehicle decelerates or brakes, the system will automatically intervene to recover and reuse excess energy (its energy recovery rate is about 20%). In this case, the deceleration of the vehicle will be relatively slight and will not have much impact on the driving experience. The intermediate level corresponds to moderate recovery, which adds some braking measures on the basis of mild recovery to make the energy recovery rate higher (its energy recovery rate is about 70%). The high level corresponds to intensive recovery, which is to stop the vehicle completely and convert excess energy into electrical energy through braking. This level of kinetic energy recovery can maximize energy utilization (its energy recovery rate is about 100%).

[0128] Since the fuel consumption is higher in aggressive style, in order to increase the economy and endurance of the vehicle, you can choose the high energy recovery level to maximize energy utilization; in conservative style, the fuel consumption is lower, at this time you can choose the low energy recovery level; in general style, in order to ensure a balance between driving experience and energy utilization efficiency, you can choose the medium energy recovery level.

[0129] Based on this, in this embodiment, when the target driving style of the target object is an aggressive style, the vehicle controller can determine the matching target energy recovery level to be a high level; when the target driving style of the target object is a normal style, the vehicle controller can determine the matching target energy recovery level to be a medium level; when the target driving style of the target object is a conservative style, the vehicle controller can determine the matching target energy recovery level to be a low level. This maximizes energy utilization and achieves a balance between driving experience and energy utilization efficiency.

[0130] Step 510: Control the vehicle to perform energy recovery according to the target energy recovery level.

[0131] Specifically, the vehicle controller may control the vehicle to perform energy recovery according to the above determined target energy recovery level that matches the target driving style of the target object, thereby improving the economy and driving experience of the vehicle.

[0132] In the above embodiment, the vehicle controller can match the corresponding target energy recovery level according to the target driving style of the target object, and control the vehicle to perform energy recovery according to the target energy recovery level, that is, map the driving style with the energy recovery level, so as to maximize the energy utilization rate, achieve a balance between driving experience and energy utilization efficiency, and improve the economy and driving experience of the vehicle.

[0133] In an exemplary embodiment, Figure 7As shown, in step 506, based on the driving styles of each stage corresponding to the driving mileage of the target object, determining the target driving style of the target object may specifically include:

[0134] Step 702 , counting the driving styles of each stage corresponding to the driving mileage of the target object, and obtaining the statistical times corresponding to different driving styles.

[0135] During the process of the target object driving the vehicle, after the vehicle controller obtains the driving style feature data of a stage, it can input the driving style feature data of the stage into the pre-trained driving style recognition model to obtain the driving style for the stage output by the driving style recognition model. In addition, since the environmental factors corresponding to each stage and the state of the target object are different, if the driving style of a certain stage is directly used as the driving style of the target object, it will be biased and there will be a problem of inaccurate identification of the driving style of the target object.

[0136] Based on this, in this embodiment, by setting a relatively long target mileage such as 500 kilometers or 1000 kilometers, the target driving style of the target object is determined based on the driving styles of each stage corresponding to the target object's driving mileage only when the target object's driving mileage reaches the target mileage.

[0137] Specifically, the driving styles of each stage corresponding to the driving mileage of the target object can be counted to obtain the statistical times corresponding to different driving styles. For example, if the target mileage is 1,000 kilometers and each stage is one kilometer of driving mileage, then during the process of the target object driving the vehicle, for each kilometer driven, a driving style for the stage (i.e., one kilometer) output by the driving style recognition model can be obtained. When the target object completes the driving mileage of 1,000 kilometers, a driving style for each kilometer in 1,000 kilometers output by the driving style recognition model can be obtained, i.e., 1,000 driving styles. Since the driving styles of this embodiment include conservative style, general style, and aggressive style, the times of each driving style can be counted, i.e., the driving style of each kilometer in 1,000 kilometers is counted, so that the statistical times corresponding to different driving styles can be obtained.

[0138] Step 704 : determining the driving style with the highest statistical number as the target driving style of the target object.

[0139] Specifically, the driving styles may be sorted based on the number of statistics of each driving style, for example, the driving styles may be sorted from high to low according to the number of statistics, and the driving style ranked first (ie, with the highest number of statistics) may be determined as the target driving style of the target object.

[0140] In this embodiment, the driving styles of each stage corresponding to the driving mileage of the target object are counted to obtain the statistical times corresponding to different driving styles, and the driving style with the highest statistical times is determined as the target driving style of the target object. The target driving style of the target object is determined based on the statistical analysis method by comprehensively considering the driving style of the target object at each stage in a relatively long driving mileage, thereby improving the accuracy of the target object's driving style recognition.

[0141] In one scenario, for different user objects driving the same vehicle, a specific user object can be identified based on a camera. If the camera identifies different user objects, the relevant data of the previous user object driving the vehicle is saved. If the current user object is driving the vehicle for the first time, the driving mileage is reset to zero, and the driving style of the current user object is identified again. When the driving mileage of the current user object reaches the target mileage, the driving style of the current user object is generated. If the current user object is not driving the vehicle for the first time, the historical data of the current user object driving the vehicle is searched from the saved data, and the historical driving mileage of the current user object is determined based on the historical data of the current user object, so as to continue to identify the driving style of the current user object based on the historical driving mileage, and when the cumulative driving mileage of the current user object reaches the target mileage, the driving style of the current user object is generated. This achieves accurate identification of the driving styles of different user objects driving the same vehicle.

[0142] In an exemplary embodiment, Figure 8 As shown, this embodiment takes the target mileage of 1000 kilometers and the mileage of each stage of 1 kilometer as an example to further illustrate the driving style recognition method of the present application, which may specifically include the following steps:

[0143] Step 801, identifying the driver.

[0144] Step 802, determining whether the driver is driving for the first time.

[0145] The first-time driver refers to a driver who drives a vehicle for the first time. Specifically, if it is identified that the current driver is not the first-time driver of the vehicle, step 803 is executed to call the driver's historical data. If it is the first-time driver of the vehicle, step 804 is executed to initialize the data and record the driver's related information.

[0146] Step 803, calling the driver's historical data.

[0147] If it is recognized that the current driver is not the first time driving the vehicle, it means that the current driver has driven the vehicle before, so the driver's historical data is called, and the driver's driving style characteristic data per kilometer is continued to be obtained based on the historical data to identify the corresponding driving style.

[0148] Step 804: Initialize data and record driver-related information.

[0149] The data initialization can be understood as performing data reset processing for the driver. Since the driver is driving the vehicle for the first time, the relevant information of the driver is recorded, and the driving data of the driver is recorded from scratch to identify the driving style of the driver. In this way, the driving styles of different drivers can be identified, and the driving style identification can be personalized.

[0150] Step 805, obtaining driving style characteristic data per kilometer.

[0151] Specifically, the driving style characteristic data includes the maximum longitudinal acceleration per kilometer of mileage, the maximum lateral acceleration, and the maximum product of the steering wheel angle and the vehicle speed.

[0152] Step 806 , identifying the driving style corresponding to each kilometer in real time.

[0153] Specifically, by calling a pre-trained driving style recognition model, based on the driving style feature data per kilometer obtained above, the corresponding driving style is recognized, and the count of the corresponding driving style is increased by 1.

[0154] Step 807, determining whether the driving mileage of the same driver reaches 1000 kilometers.

[0155] Specifically, if the driving mileage of the same driver has not reached 1000 kilometers, then return to step 805 ; if the driving mileage of the same driver has reached 1000 kilometers, then execute step 808 .

[0156] Step 808, counting the number of times each driving style has been driven in 1000 kilometers, and determining the driving style with the highest number of times.

[0157] Step 809 , determining the driving style with the highest statistical number as the target driving style for the driver whose driving mileage meets the requirement.

[0158] In the above embodiment, the driving styles of different drivers driving the same vehicle can be identified respectively, thereby realizing personalized driving style identification.

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

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

[0161] In an exemplary embodiment, Fig. 9 As shown, a driving style recognition model training device is provided, including: a training data acquisition module 902, a prediction module 904, a loss determination module 906 and a model determination module 908, wherein:

[0162] A training data acquisition module 902 is used to acquire a training data set, wherein the training data set includes driving style feature sample data of multiple sample stages and corresponding driving style labels, wherein the driving style feature sample data includes a maximum longitudinal acceleration, a maximum lateral acceleration, and a maximum value of the product of the steering wheel angle and the vehicle speed in the corresponding sample stage;

[0163] A prediction module 904, configured to input the driving style feature sample data into an initial driving style recognition model to obtain a predicted driving style output by the initial driving style recognition model for the driving style feature sample data;

[0164] A loss determination module 906, configured to determine a loss value of the initial driving style recognition model according to a set loss function, a driving style label corresponding to the driving style feature sample data at each sample stage in the training data set, and the predicted driving style;

[0165] The model determination module 908 is used to update the network parameters of the initial driving style recognition model using the gradient descent method according to the loss value until the driving style recognition model is obtained when convergence occurs.

[0166] In an exemplary embodiment, the training data acquisition module is specifically used to: collect vehicle state information of the vehicle at multiple sample stages in a sample driving environment, the vehicle state information including the steering wheel angle, vehicle speed, longitudinal acceleration and lateral acceleration of the vehicle; determine driving style characteristics from the vehicle state information, perform dimensionality reduction processing based on the driving style characteristics of multiple sample stages, and obtain the driving style characteristic sample data of multiple sample stages; perform clustering processing on the driving style characteristic sample data of multiple sample stages based on a clustering algorithm to determine the category of the driving style characteristic sample data of each sample stage, the category is used to characterize the corresponding driving style label; and use the driving style characteristic sample data of multiple sample stages and the corresponding driving style labels as the training data set.

[0167] In an exemplary embodiment, a model testing module is further included, which is used to: obtain a test data set, wherein the test data set includes a plurality of driving style feature sample data and corresponding driving style labels; input the driving style feature sample data into a trained driving style recognition model to obtain a predicted driving style for the driving style feature sample data; determine the accuracy of the driving style recognition model based on the driving style labels corresponding to the plurality of driving style feature sample data and the predicted driving style; and determine that the trained driving style recognition model has passed the test when the accuracy meets a preset threshold.

[0168] Each module in the above-mentioned driving style recognition model training device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

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

[0170] In an exemplary embodiment, Fig.10As shown, a driving style recognition device is provided, including: a data acquisition module 1002, a style recognition module 1004 and a style determination module 1006, wherein:

[0171] The data acquisition module 1002 is used to acquire the driving style characteristic data of the target object for each stage, wherein the driving style characteristic data includes the maximum longitudinal acceleration, the maximum lateral acceleration, and the maximum product of the steering wheel angle and the vehicle speed in each stage;

[0172] A style recognition module 1004, configured to input the driving style feature data of each stage into a pre-trained driving style recognition model, and obtain the driving style for each stage output by the driving style recognition model;

[0173] The style determination module 1006 is configured to determine a target driving style of the target object based on the driving styles of each stage corresponding to the driving mileage of the target object when the driving mileage of the target object reaches the target mileage.

[0174] In an exemplary embodiment, the style determination module is further used to: count the driving styles of each stage corresponding to the driving mileage of the target object to obtain the statistical times corresponding to different driving styles; and determine the driving style with the highest statistical times as the target driving style of the target object.

[0175] In an exemplary embodiment, it also includes an energy recovery control module, which is used to: match the corresponding target energy recovery level according to the target driving style of the target object; control the vehicle to perform energy recovery according to the target energy recovery level, and the energy recovery level is used to characterize the strength of the energy recovery of the vehicle.

[0176] In an exemplary embodiment, the energy recovery control module is also used to: when the target driving style of the target object is an aggressive style, determine the matching target energy recovery level to be a high level; when the target driving style of the target object is a general style, determine the matching target energy recovery level to be a medium level; when the target driving style of the target object is a conservative style, determine the matching target energy recovery level to be a low level.

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

[0178] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Fig.11 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a driving style recognition method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

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

[0180] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.

[0181] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0182] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0183] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

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

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

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

Claims

1. A driving style recognition model training method, characterized in that: The method comprises: Acquire a training data set, the training data set comprising driving style feature sample data of multiple sample stages and corresponding driving style labels, the driving style feature sample data comprising a maximum longitudinal acceleration, a maximum lateral acceleration, and a maximum value of a product of a steering wheel angle and a vehicle speed in a corresponding sample stage; Inputting the driving style feature sample data into an initial driving style recognition model to obtain a predicted driving style output by the initial driving style recognition model for the driving style feature sample data; Determining a loss value of the initial driving style recognition model according to a set loss function, a driving style label corresponding to the driving style feature sample data at each sample stage in the training data set, and the predicted driving style; The network parameters of the initial driving style recognition model are updated using a gradient descent method according to the loss value until the driving style recognition model is obtained upon convergence.

2. The method according to claim 1, characterized in that The step of obtaining a training data set includes: Collecting vehicle state information of the vehicle at multiple sample stages in a sample driving environment, the vehicle state information including a steering wheel angle, a vehicle speed, a longitudinal acceleration, and a lateral acceleration of the vehicle; Determining driving style features from the vehicle state information, performing dimensionality reduction processing based on the driving style features at multiple sample stages, and obtaining driving style feature sample data at multiple sample stages; performing clustering processing on the driving style feature sample data of multiple sample stages based on a clustering algorithm to determine a category of the driving style feature sample data of each sample stage, wherein the category is used to characterize a corresponding driving style label; The driving style feature sample data of multiple sample stages and the corresponding driving style labels are used as the training data set.

3. The method according to claim 1 or 2, characterized in that: The method further comprises: Acquire a test data set, wherein the test data set includes a plurality of driving style feature sample data and corresponding driving style labels; Inputting the driving style feature sample data into a trained driving style recognition model to obtain a predicted driving style for the driving style feature sample data; Determining the accuracy of the driving style recognition model based on the driving style labels corresponding to the plurality of driving style feature sample data and the predicted driving style; When the accuracy rate meets a preset threshold, it is determined that the trained driving style recognition model has passed the test.

4. A driving style recognition method, characterized in that: The method comprises: Acquire driving style characteristic data of the target object for each stage, wherein the driving style characteristic data includes a maximum longitudinal acceleration, a maximum lateral acceleration, and a maximum product of a steering wheel angle and a vehicle speed in each stage; Inputting the driving style feature data of each stage into a driving style recognition model respectively, and obtaining the driving style for each stage output by the driving style recognition model; the driving style recognition model is trained by the method according to any one of claims 1 to 3; When the driving mileage of the target object reaches the target mileage, a target driving style of the target object is determined based on the driving styles of each stage corresponding to the driving mileage of the target object.

5. The method according to claim 4, characterized in that The determining the target driving style of the target object based on the driving styles of each stage corresponding to the driving mileage of the target object includes: Counting the driving styles of each stage corresponding to the driving mileage of the target object to obtain the statistical times corresponding to different driving styles; The driving style with the highest statistical number is determined as the target driving style of the target object.

6. The method according to claim 4 or 5, characterized in that: After determining the target driving style of the target object, the method further includes: matching a corresponding target energy recovery level according to a target driving style of the target object; The vehicle is controlled to perform energy recovery according to the target energy recovery level, and the energy recovery level is used to represent the strength of the energy recovery performed by the vehicle.

7. The method according to claim 6, characterized in that The matching of the corresponding target energy recovery level according to the target driving style of the target object includes: When the target driving style of the target object is an aggressive style, determining the matched target energy recovery level to be a high level; When the target driving style of the target object is a general style, determining the matched target energy recovery level to be a medium level; In a case where the target driving style of the target object is a conservative style, the matched target energy recovery level is determined to be a low level.

8. A driving style recognition model training device, characterized in that: The device comprises: a training data acquisition module, configured to acquire a training data set, wherein the training data set includes driving style feature sample data of multiple sample stages and corresponding driving style labels, wherein the driving style feature sample data includes a maximum longitudinal acceleration, a maximum lateral acceleration, and a maximum value of a product of a steering wheel angle and a vehicle speed in a corresponding sample stage; A prediction module, configured to input the driving style feature sample data into an initial driving style recognition model to obtain a predicted driving style output by the initial driving style recognition model for the driving style feature sample data; a loss determination module, configured to determine a loss value of the initial driving style recognition model according to a set loss function, a driving style label corresponding to the driving style feature sample data at each sample stage in the training data set, and the predicted driving style; The model determination module is used to update the network parameters of the initial driving style recognition model by using the gradient descent method according to the loss value until the driving style recognition model is obtained when convergence occurs.

9. A driving style recognition device, characterized in that: The device comprises: A data acquisition module, used to acquire driving style characteristic data of the target object for each stage, wherein the driving style characteristic data includes a maximum longitudinal acceleration, a maximum lateral acceleration, and a maximum product of a steering wheel angle and a vehicle speed in each stage; A style recognition module, used for inputting the driving style feature data of each stage into a driving style recognition model to obtain the driving style for each stage output by the driving style recognition model; the driving style recognition model is trained by the method according to any one of claims 1 to 3; The style determination module is used to determine the target driving style of the target object based on the driving styles of each stage corresponding to the driving mileage of the target object when the driving mileage of the target object reaches the target mileage.

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

Citation Information

Cited By

  • Vehicle torque control method and device, vehicle, storage medium and program product

    CN120517215A

  • Driving style recognition model training method, electronic equipment and storage medium

    CN121682252A