Driving style recognition method and apparatus, and storage medium
Through training on the characteristic parameters and evaluation values of different electronic control functions, the target driving style model is obtained, which solves the problem of difficulty in identifying complex driving styles with existing technology, achieves more accurate and flexible driving style identification and control strategies, and improves driving efficiency. Agreeableness of the experience.
Patent Information
- Application Number
- PCT/CN2023/078813
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2024-09-06
AI Technical Summary
Existing driving style recognition methods are difficult to deal with complex driver driving styles, especially situations where the accelerator/brake is sharp and the steering is steady, and it is difficult to formulate unified standards, resulting in insufficient accuracy and flexibility in the recognition effect.
By obtaining the driving data of the vehicle, the target driving style model is obtained based on the matching characteristic parameters and evaluation values of the target electronic control function, and personalized driving style models are provided for different electronic control functions to achieve accurate identification of driving style and control strategies. formulated.
It improves the pleasantness during driving, and the recognized driving style is more accurate and reliable, adapting to the needs of target electronic control functions and improving the driving experience.
Smart Images

Figure CN2023078813_06092024_PF_FP
Abstract
Description
Driving style recognition method, device and storage medium Technical Field
[0001] The present application relates to the field of artificial intelligence (AI) technology, and in particular to a driving style recognition method, device, and storage medium. Background Art
[0002] With the continuous development of AI technology, the application of AI in vehicle driving scenarios, such as identifying a driver's driving style, has received increasing attention in recent years. Identifying a driver's driving style is crucial for improving safety, comfort, pleasantness, and economic efficiency. Furthermore, this method is highly perceptible to users, helping to build a brand's reputation.
[0003] However, driving style is influenced by numerous factors, and different functions have different requirements for defining driving style, making it difficult to establish a unified standard. Furthermore, current approaches often select different types of parameters to comprehensively classify and identify a driver's driving style. Once this overall style is identified, all functions that adapt to driving style are based on this overall style identification result. However, a driver's driving style is often complex. For example, some drivers may accelerate or brake aggressively but steer more steadily, and current driving style recognition methods struggle to address this situation. Therefore, a new, more flexible, and more widely applicable driving style recognition method is urgently needed to improve the pleasantness of the vehicle driving process.
[0004] Summary of the Invention
[0005] In view of this, a driving style recognition method, device and storage medium are proposed.
[0006] In a first aspect, embodiments of the present application provide a driving style recognition method. The method comprises:
[0007] acquiring driving data in response to a demand of a target electronically controlled function of the vehicle, the driving data representing a driving state of the vehicle;
[0008] The driving data is input into a target driving style model to determine a driving style that matches a target electronic control function. The target driving style model is a driving style model that matches the target electronic control function among multiple driving style models. The driving style that matches the target electronic control function is used to determine a control strategy for the target electronic control function.
[0009] According to embodiments of the present application, by inputting acquired driving data into a target driving style model that matches the target electronically controlled function in response to the requirements of the vehicle, it is possible to provide driving style models tailored to the needs and characteristics of different functions, providing greater flexibility. This allows for the identification of a driving style that matches the target electronically controlled function, making the identified driving style more accurate, reliable, and more adapted to the requirements of the target electronically controlled function. This allows for more targeted control strategies for that electronically controlled function, enhancing the pleasantness of the driving experience.
[0010] According to the first aspect, in a first possible implementation of the driving style recognition method, the target driving style model is trained based on a first characteristic parameter associated with the target electronic control function and an evaluation value of the first characteristic parameter, where the evaluation value represents the importance of the characteristic parameter in determining the driving style.
[0011] According to an embodiment of the present application, by training a target driving style model based on the first characteristic parameter associated with the target electronic control function and its evaluation value, the trained model can be made more suitable for the target electronic control function, and can more realistically and accurately reflect the driver's driving style under this function, thereby making it possible to more accurately formulate corresponding control strategies to provide a better driving experience.
[0012] According to a first possible implementation manner of the first aspect, in a second possible implementation manner of the driving style identification method, the method may further include:
[0013] Acquiring sample data, the sample data including a plurality of characteristic parameters representing a driving state of a vehicle;
[0014] Determining, based on a feature selection method, a second feature parameter among the plurality of feature parameters and an evaluation value corresponding to the second feature parameter;
[0015] For any target electronically controlled function, determining a first characteristic parameter associated with the target electronically controlled function among the second characteristic parameters;
[0016] A target driving style model associated with the target electronic control function is trained based on a first characteristic parameter associated with the target electronic control function and an evaluation value of the first characteristic parameter.
[0017] According to an embodiment of the present application, by acquiring sample data, a plurality of second characteristic parameters and their evaluation values are determined based on a feature selection method. For any target electronic control function, a first characteristic parameter associated with the target electronic control function among the second characteristic parameters is determined, so that the subsequent training process is more targeted. Based on the first characteristic parameter and its evaluation value, a target driving style model associated with the target electronic control function is obtained through training. Thus, the trained model can be more suitable for the target electronic control function, can more realistically and accurately reflect the driver's driving style under the function, and makes the subsequent driving style identification more flexible, has a wider coverage, and is more pleasant.
[0018] According to the second possible implementation manner of the first aspect, in a third possible implementation manner of the driving style identification method, training a target driving style model associated with the target electronically controlled function based on a first characteristic parameter associated with the target electronically controlled function and an evaluation value of the first characteristic parameter includes:
[0019] Determining a weight of the first characteristic parameter after dedimensionalization based on the evaluation value of the first characteristic parameter;
[0020] performing clustering based on the first characteristic parameter and the weight of the first characteristic parameter after dedimensionalization to obtain a clustering result;
[0021] The target driving style model is trained based on the clustering results.
[0022] According to an embodiment of the present application, clustering is performed based on the first feature parameter and the weight of the first feature parameter after dedimensionalization to obtain a clustering result. A target driving style model is trained based on the clustering result. The unit dimension difference between the first feature weights can be taken into account, and the clustering result is more accurate. Therefore, for different electronic control functions of the vehicle, a driving style model suitable for it can be independently determined, so that different models can be applied to identify the driving style when facing different functions in the future, and the recognition result is more accurate.
[0023] According to the second or third possible implementation manner of the first aspect, in a fourth possible implementation manner of the driving style recognition method, determining a second feature parameter among the multiple feature parameters and an evaluation value corresponding to the second feature parameter based on a feature selection method includes:
[0024] Scoring each characteristic parameter in the plurality of sample data respectively, determining a plurality of second characteristic parameters in the plurality of sample data, and a first weight vector of the second characteristic parameters;
[0025] For any sample data, score each second feature parameter in the neighbor set of the sample data respectively, and determine a second weight vector corresponding to multiple second feature parameters in the sample data;
[0026] Evaluation values corresponding to the plurality of second characteristic parameters are determined according to the first weight vector and the second weight vector.
[0027] According to an embodiment of the present application, a fusion feature selection method is used to score each feature parameter in the sample data to obtain a first weight vector, and each second feature parameter in the neighbor set of the sample data is scored to obtain a second weight vector. This method can have good selectivity for a single feature while also having good selectivity for a combination of features. By combining the first weight vector and the second weight vector to determine the evaluation value of the second feature parameter, the obtained evaluation value can be made more reliable, and a more accurate driving style model can be established subsequently based on this.
[0028] According to a fourth possible implementation manner of the first aspect, in a fifth possible implementation manner of the driving style recognition method, the first weight vector is determined according to a filtering feature selection method, and the second weight vector is determined according to an embedded feature selection method.
[0029] According to the embodiments of the present application, it is possible to establish a more reliable feature selection and sorting mechanism by combining the advantages of the filtering feature selection method and the embedded feature selection method, so that the second feature parameters selected by feature selection and their corresponding importance measurement results are more objective and accurate, thereby making the subsequently determined driving style model more accurate.
[0030] According to the fourth or fifth possible implementation manner of the first aspect, in a sixth possible implementation manner of the driving style recognition method, determining evaluation values corresponding to the plurality of second feature parameters respectively based on the first weight vector and the second weight vector includes:
[0031] For any sample data, determining evaluation values corresponding to a plurality of second characteristic parameters in the sample data respectively according to the product of the first weight vector and the second weight vector;
[0032] An average of the evaluation values of each second characteristic parameter in a plurality of sample data is taken to determine the evaluation values respectively corresponding to the plurality of second characteristic parameters.
[0033] According to an embodiment of the present application, by calculating the product of the first weight vector and the second weight vector, the advantages of the filtering feature selection algorithm and the embedded feature selection algorithm can be integrated to determine the evaluation value of the second feature parameter. By traversing and determining the evaluation values of multiple sample data and taking the average as the final evaluation value, the final determined evaluation value can be made more accurate and reliable.
[0034] According to the fourth, fifth, or sixth possible implementation manner of the first aspect, in a seventh possible implementation manner of the driving style recognition method, the neighbor set of the sample data is determined based on the Manhattan distance between the sample data and other sample data.
[0035] According to an embodiment of the present application, the Manhattan distance between sample data can be used to more objectively determine the neighbor set of sample data, thereby more accurately determining the evaluation value of the second characteristic parameter.
[0036] According to the fourth or fifth or sixth or seventh possible implementation of the first aspect, in an eighth possible implementation of the driving style recognition method, the neighbor set of the sample data includes the sample data, the similar neighbor set of the sample data, and the heterogeneous neighbor set of the sample data.
[0037] According to the embodiment of the present application, the neighborhood range of the sample data can be taken into more comprehensive consideration to accurately determine the evaluation value of the second characteristic parameter within the neighborhood set of the sample data.
[0038] According to the first aspect or the first or second or third or fourth or fifth or sixth or seventh or eighth possible implementation of the first aspect, in a ninth possible implementation of the driving style recognition method, the target electronic control function is any one of the chassis electronic control functions of the vehicle, or the target electronic control function is any one of the assisted driving functions of the vehicle.
[0039] According to the embodiments of the present application, it is possible to determine the driver's driving style under the corresponding functions in response to the needs and characteristics of different vehicle electronic control functions, so as to adopt different control strategies for different functions more accurately and flexibly, thereby improving the pleasantness of vehicle driving.
[0040] According to the first or second or third or fourth or fifth or sixth or seventh or eighth or ninth possible implementation of the first aspect, in the tenth possible implementation of the driving style recognition method, the characteristic parameters include one or more of the following: parameters of braking operation, parameters of steering wheel operation, parameters of acceleration and deceleration operation, and vehicle driving parameters.
[0041] According to the embodiments of the present application, the influence of different types of driving data on driving style can be more comprehensively considered, so that the identified driving style can be more accurate.
[0042] In a second aspect, an embodiment of the present application provides a driving style recognition device. The device includes:
[0043] a first acquisition module, configured to acquire driving data in response to a demand of a target electronic control function of the vehicle, the driving data representing a driving state of the vehicle;
[0044] A first determination module is configured to input driving data into a target driving style model to determine a driving style that matches a target electronic control function. The target driving style model is a driving style model that matches the target electronic control function among multiple driving style models. The driving style that matches the target electronic control function is used to determine a control strategy for the target electronic control function.
[0045] According to the second aspect, in a first possible implementation of the driving style recognition device, the target driving style model is trained based on a first characteristic parameter associated with the target electronic control function and an evaluation value of the first characteristic parameter, where the evaluation value represents the importance of the characteristic parameter in determining the driving style.
[0046] According to a first possible implementation manner of the second aspect, in a second possible implementation manner of the driving style recognition device, the device may further include:
[0047] a second acquisition module, configured to acquire sample data, the sample data including a plurality of characteristic parameters representing a driving state of the vehicle;
[0048] A second determining module determines a second feature parameter from among the plurality of feature parameters and an evaluation value corresponding to the second feature parameter using a feature selection method;
[0049] a third determining module, configured to determine, for any target electronic control function, a first characteristic parameter associated with the target electronic control function among the second characteristic parameters;
[0050] The training module is used to train a target driving style model associated with the target electronic control function based on a first characteristic parameter associated with the target electronic control function and an evaluation value of the first characteristic parameter.
[0051] According to a second possible implementation manner of the second aspect, in a third possible implementation manner of the driving style recognition device, the training module is configured to:
[0052] Determining a weight of the first characteristic parameter after dedimensionalization based on the evaluation value of the first characteristic parameter;
[0053] performing clustering based on the first characteristic parameter and the weight of the first characteristic parameter after dedimensionalization to obtain a clustering result;
[0054] The target driving style model is trained based on the clustering results.
[0055] According to the second or third possible implementation manner of the second aspect, in a fourth possible implementation manner of the driving style recognition device, the second determining module is configured to:
[0056] Scoring each characteristic parameter in the plurality of sample data respectively, determining a plurality of second characteristic parameters in the plurality of sample data, and a first weight vector of the second characteristic parameters;
[0057] For any sample data, score each second feature parameter in the neighbor set of the sample data respectively, and determine a second weight vector corresponding to multiple second feature parameters in the sample data;
[0058] Evaluation values corresponding to the plurality of second characteristic parameters are determined according to the first weight vector and the second weight vector.
[0059] According to a fourth possible implementation manner of the second aspect, in a fifth possible implementation manner of the driving style recognition device, the first weight vector is determined according to a filtering feature selection method, and the second weight vector is determined according to an embedded feature selection method.
[0060] According to the fourth or fifth possible implementation manner of the second aspect, in a sixth possible implementation manner of the driving style recognition device, determining evaluation values corresponding to the plurality of second feature parameters respectively based on the first weight vector and the second weight vector includes:
[0061] For any sample data, determining evaluation values corresponding to a plurality of second characteristic parameters in the sample data respectively according to the product of the first weight vector and the second weight vector;
[0062] An average of the evaluation values of each second characteristic parameter in a plurality of sample data is taken to determine the evaluation values respectively corresponding to the plurality of second characteristic parameters.
[0063] According to the fourth, fifth, or sixth possible implementation manner of the second aspect, in a seventh possible implementation manner of the driving style recognition device, the neighbor set of the sample data is determined based on the Manhattan distance between the sample data and other sample data.
[0064] According to the fourth or fifth or sixth or seventh possible implementation of the second aspect, in an eighth possible implementation of the driving style recognition device, the neighbor set of the sample data includes the sample data, the similar neighbor set of the sample data, and the heterogeneous neighbor set of the sample data.
[0065] According to the second aspect or the first or second or third or fourth or fifth or sixth or seventh or eighth possible implementation of the second aspect, in a ninth possible implementation of the driving style recognition device, the target electronic control function is any one of the chassis electronic control functions of the vehicle, or the target electronic control function is any one of the assisted driving functions of the vehicle.
[0066] According to the first or second or third or fourth or fifth or sixth or seventh or eighth or ninth possible implementation of the second aspect, in a tenth possible implementation of the driving style recognition device, the characteristic parameters include one or more of the following: parameters of braking operation, parameters of steering wheel operation, parameters of acceleration and deceleration operation, and vehicle driving parameters.
[0067] In a third aspect, an embodiment of the present application provides a driving style recognition device, comprising: a processor and a memory; the memory is used to store programs; the processor is used to execute the programs stored in the memory, so that the device implements the driving style recognition method of the above-mentioned first aspect or one or more of the multiple possible implementation methods of the first aspect.
[0068] In a fourth aspect, an embodiment of the present application provides a terminal device that can execute the driving style recognition method of the above-mentioned first aspect or one or more of the multiple possible implementations of the first aspect.
[0069] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium on which program instructions are stored, characterized in that when the program instructions are executed by a computer, the computer implements the driving style recognition method of the above-mentioned first aspect or one or more of the multiple possible implementation methods of the first aspect.
[0070] In a sixth aspect, an embodiment of the present application provides a computer program product comprising program instructions, which, when executed by a computer, enable the computer to implement the driving style recognition method of the first aspect or one or more of the multiple possible implementations of the first aspect.
[0071] These and other aspects of the present application will become more readily apparent from the following description of the embodiment(s). BRIEF DESCRIPTION OF THE DRAWINGS
[0072] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the application and, together with the description, serve to explain the principles of the application.
[0073] FIG1 is a schematic diagram showing an application scenario according to an embodiment of the present application.
[0074] FIG2 shows a flow chart of a driving style recognition method according to an embodiment of the present application.
[0075] FIG3 shows a flow chart of a driving style recognition method according to an embodiment of the present application.
[0076] FIG4 shows a flowchart of a driving style recognition method according to an embodiment of the present application.
[0077] FIG5 shows a flowchart of a driving style recognition method according to an embodiment of the present application.
[0078] FIG6 shows a schematic diagram of the architecture of a feature selection method according to an embodiment of the present application.
[0079] FIG7 shows a flowchart of a driving style recognition method according to an embodiment of the present application.
[0080] FIG8( a ) shows a schematic diagram of a weighted coordinate system according to an embodiment of the present application.
[0081] FIG8( b ) shows a schematic diagram of a weighted coordinate system according to an embodiment of the present application.
[0082] FIG8( c ) shows a schematic diagram of a weighted coordinate system according to an embodiment of the present application.
[0083] FIG9 shows a structural diagram of a driving style recognition device according to an embodiment of the present application.
[0084] FIG10 shows a structural diagram of an electronic device 100 according to an embodiment of the present application. DETAILED DESCRIPTION
[0085] Various exemplary embodiments, features, and aspects of the present application will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise indicated.
[0086] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.
[0087] In addition, numerous specific details are provided in the detailed description below to better illustrate the present application. Those skilled in the art will appreciate that the present application can be practiced without certain specific details. In some instances, methods, means, components, and circuits well known to those skilled in the art are not described in detail in order to highlight the main purpose of the present application.
[0088] With the continuous development of AI technology, the application of AI technology in vehicle driving scenarios, such as driving style recognition, has received increasing attention in recent years. Identifying a driver's driving style during driving is crucial for improving safety, comfort, pleasantness, and economy. Furthermore, this approach is highly perceptible to users and helps build a brand's reputation. However, driving style is influenced by numerous factors, and different functions have different requirements for defining driving style, making it difficult to establish a unified standard. Furthermore, current solutions often use different parameters to comprehensively classify and identify a driver's driving style. Once this overall style is identified, all adaptive functions based on driving style are based on this overall style identification result. However, driver driving styles are often complex. For example, some drivers may be aggressive on the accelerator or brake but relatively steady on steering, and current driving style recognition methods struggle to address this situation. Therefore, a new, more flexible, and widely applicable driving style recognition method is urgently needed to improve the pleasantness of vehicle driving.
[0089] To address the aforementioned technical issues, the present application provides a driving style recognition method. The driving style recognition method of the present application, in accordance with the requirements of different electronic control functions of a vehicle, provides driving style models that match the corresponding electronic control functions. This provides a more flexible and targeted driving style model for each function based on its needs and characteristics. Thus, by inputting driving data into the corresponding driving style model, the driving style matching the corresponding electronic control function can be identified. This identified driving style is more accurate and reliable, better meeting the requirements of the current electronic control function. This allows for more targeted control strategies for the electronic control function, thereby enhancing the pleasantness of the driving experience.
[0090] FIG1 is a schematic diagram of an application scenario according to an embodiment of the present application. The driving style recognition method according to the embodiment of the present application can be applied to a vehicle driving scenario. As shown in FIG1 , using the driving style recognition method according to the embodiment of the present application, multiple driving style models can be generated, such as driving style models 1-3 in the figure. These driving style models can be matched to different electronic control functions of the vehicle, for example, driving style model 1 can be matched to the electric power steering function, driving style model 2 can be matched to the accelerator pedal feel function, and driving style model 3 can be matched to the auxiliary braking function.
[0091] These driving style models can be deployed on the vehicle side. Thus, when the driver is driving the vehicle, in response to the need to control the corresponding electronic control function, driving data can be obtained and input into the driving style model that matches the electronic control function to output the driving style recognition result. Based on the recognized driving style, a control strategy for the electronic control function can be formulated.
[0092] For example, when one wants to personalize the control strategy of the accelerator pedal feel function according to the driver's driving style, in response to this demand, the driving data of the driver during the driving process can be obtained, the driving data can be input into the driving style model 2 in the figure, and the driving style recognition result can be output. According to the recognition result, if the driver's driving style is conservative, the control strategy of the accelerator pedal feel function can be adjusted accordingly. For example, by adjusting the control strategy, the driver needs to press the accelerator pedal deeper when accelerating.
[0093] The method of the embodiment of the present application can be implemented by an on-board computing unit, which can be built into the vehicle computer on the vehicle, so that the driving style recognition process of the embodiment of the present application can be implemented in real time on the vehicle side.
[0094] Driving style models can also be trained on cloud servers. Once a driving style model matching the function is obtained, it can be deployed to the vehicle. Different driving style models can be deployed within the application layer software of the controller corresponding to their function, enabling rapid and accurate recognition of driving styles for each function. These models can also be iteratively updated in the cloud.
[0095] The above-mentioned cloud server can be a physical device or a virtual device, such as a virtual machine, a container, etc., with a wireless communication function, wherein the wireless communication function can be set in the chip (system) or other parts or components of the server. It can refer to a device with a wireless connection function, and the wireless connection function means that it can be connected to other servers or vehicle ends through wireless connection methods such as Wi-Fi and Bluetooth. The server of this application may also have the function of communicating via a wired connection. For example, the server of this application can be located in the cloud, communicate with the vehicle end, and send the trained driving style models to the vehicle end.
[0096] The following describes in detail the driving style recognition method according to an embodiment of the present application through FIG. 2 to FIG. 8 .
[0097] FIG2 is a flow chart of a driving style recognition method according to an embodiment of the present application. The method can be used on the vehicle side, as shown in FIG2 , and includes:
[0098] Step S201 : Acquire driving data in response to a requirement of a target electronic control function of the vehicle.
[0099] The target electronic control function may be any one of the vehicle's chassis electronic control functions, or the target electronic control function may be any one of the vehicle's auxiliary driving functions.
[0100] For example, the vehicle's chassis electronic control functions may include drive control function, braking control function, steering control function, body posture control function, etc., which can be further subdivided into electric power steering function, four-wheel steering control function, anti-skid control function, brake / throttle pressure auxiliary control function (such as brake pedal feel function, throttle pedal feel function), etc.; the vehicle's assisted driving function (advanced driver assistance system, ADAS) can include adaptive cruise control function, automatic emergency braking function, lane keeping function, etc.
[0101] The target electronic control function can be any of the functions described above. For example, in response to a requirement to control the accelerator pedal feel function, corresponding driving data can be acquired to identify the current driver's driving style and adjust the control strategy of the accelerator pedal feel function accordingly.
[0102] According to the embodiments of the present application, it is possible to determine the driver's driving style under the corresponding functions in response to the needs and characteristics of different vehicle electronic control functions, so as to adopt different control strategies for different functions more accurately and flexibly, thereby improving the pleasantness of vehicle driving.
[0103] The driving data may be data acquired continuously or intermittently over a period of time. The driving data may represent the driving state of the vehicle. For example, the driving data may be multi-dimensional feature data, including multiple feature parameters, wherein the feature parameters may include one or more of the following: braking parameters, steering parameters, acceleration / deceleration parameters, and vehicle driving parameters.
[0104] Parameters of braking operation include, for example, brake pedal displacement, brake pedal speed, etc.; parameters of steering wheel operation include, for example, steering wheel angle, steering wheel speed, etc.; parameters of acceleration and deceleration operation include, for example, accelerator pedal displacement, accelerator pedal speed, etc.; vehicle driving parameters may include vehicle speed, lateral acceleration, longitudinal acceleration, longitudinal / lateral acceleration change rate, electric cylinder pressure build-up rate, etc.
[0105] Driving data can be associated with a target electronically controlled function. That is, different driving data can be acquired in response to different electronically controlled functions. For example, when the target electronically controlled function is electric power steering, characteristic parameters in the acquired driving data may include vehicle speed, steering wheel angle, lateral acceleration, steering wheel speed, longitudinal acceleration, and so on. This driving data can then be adapted to a driving style model that matches the target electronically controlled function. By inputting this driving data into the model, the driver's driving style can be identified.
[0106] According to the embodiments of the present application, the influence of different types of driving data on driving style can be more comprehensively considered, so that the identified driving style can be more accurate.
[0107] Step S202: Input the driving data into the target driving style model to determine a driving style that matches the target electronic control function.
[0108] Specifically, for different electronic control functions, a matching driving style model can be determined. The target driving style model can be a driving style model that matches the target electronic control function among multiple driving style models. The driving style that matches the target electronic control function can be used to determine the control strategy for the target electronic control function.
[0109] For example, a driving style can be robust, aggressive, conservative, etc. For example, a conservative driving style can indicate that the driver's driving risk tolerance under the corresponding electronic control function is relatively low, an aggressive driving style can indicate that the driver's driving risk tolerance under the corresponding electronic control function is relatively high, and a robust driving style can indicate that the driver's driving risk tolerance under the corresponding electronic control function is between conservative and aggressive. The driving style model can represent the driver's driving style by determining different type labels. This application does not limit the method of determining the control strategy based on the driving style, and it can be implemented based on existing technologies. The control strategy may include setting different control thresholds, control parameter values, or using different control algorithms.
[0110] For example, when the target electronic control function is the electric power steering function, the control strategy can be formulated by setting the steering resistance parameter of the steering wheel according to the driving style. When it is identified that the driver's driving style when steering is conservative, the steering resistance parameter can be changed to make the steering wheel steering resistance when the driver steers greater. When it is identified that the driving style is aggressive, the parameter can be changed to make the steering wheel steering resistance when the driver steers smaller.
[0111] According to embodiments of the present application, by inputting acquired driving data into a target driving style model that matches the target electronically controlled function in response to the requirements of the vehicle, it is possible to provide driving style models tailored to the needs and characteristics of different functions, providing greater flexibility. This allows for the identification of a driving style that matches the target electronically controlled function, making the identified driving style more accurate, reliable, and more adapted to the requirements of the target electronically controlled function. This allows for more targeted control strategies for that electronically controlled function, enhancing the pleasantness of the driving experience.
[0112] The target driving style model can be obtained during the training phase of the driving style recognition method of an embodiment of the present application. Because a driver's driving style may differ depending on the vehicle's function, for example, a driver may be aggressive when accelerating but steady when steering, making it difficult to accurately classify and identify such situations if the same model is used to identify driving style for each of the vehicle's electronic control functions. Therefore, during the training phase, a driving style model tailored to each of the vehicle's different electronic control functions can be independently determined. This allows different models to be used to identify driving styles for each function, resulting in more accurate recognition results.
[0113] Optionally, the target driving style model may be obtained by training based on a first characteristic parameter associated with the target electronic control function and an evaluation value of the first characteristic parameter.
[0114] The evaluation value may represent the importance of the feature parameter in determining the driving style. For example, a higher evaluation value may indicate a greater contribution of the corresponding first feature parameter to the driving style recognition result in the target driving style model.
[0115] The first characteristic parameter may be one or more characteristic parameters associated with the target electronic control function, determined from a plurality of second characteristic parameters. The second characteristic parameter may be a characteristic parameter obtained by performing feature selection on multidimensional sample data during a training phase. The determination process will be described in detail later. The first characteristic parameter / second characteristic parameter may include one or more of the following: braking parameters, steering parameters, acceleration / deceleration parameters, and vehicle driving parameters.
[0116] According to an embodiment of the present application, by training a target driving style model based on the first characteristic parameter associated with the target electronic control function and its evaluation value, the trained model can be made more suitable for the target electronic control function, and can more realistically and accurately reflect the driver's driving style under this function, thereby making it possible to more accurately formulate corresponding control strategies to provide a better driving experience.
[0117] The following is a detailed introduction to the training process of the method of the embodiment of the present application.
[0118] FIG3 shows a flow chart of a driving style recognition method according to an embodiment of the present application. The method can be used on a vehicle side or a cloud server. As shown in FIG3 , the method includes:
[0119] Step S301: Obtain sample data.
[0120] The sample data may be data from a pre-obtained sample data set. The sample data may include multiple feature parameters representing the vehicle's driving state. The sample data may be high-dimensional feature data (e.g., including 100-dimensional feature parameters), and the feature parameters may include braking parameters, steering parameters, acceleration / deceleration parameters, vehicle driving parameters, and the like.
[0121] Step S302: Determine a second feature parameter from among the plurality of feature parameters and an evaluation value corresponding to the second feature parameter based on a feature selection method.
[0122] The second characteristic parameter may be one or more characteristic parameters among the plurality of characteristic parameters, and the evaluation value corresponding to the second characteristic parameter may indicate the importance of the second characteristic parameter in determining the driving style.
[0123] The following is a detailed introduction to the feature selection method in the embodiments of the present application.
[0124] Since there are many factors that influence driving style, traditional methods usually lack unified standards when measuring the correlation of feature parameters and selecting features from high-dimensional features. They are relatively subjective and unreliable.
[0125] Therefore, in the embodiments of the present application, by combining the advantages of a filtered feature selection algorithm and an embedded feature selection algorithm, a more reliable feature selection and ranking mechanism can be established. This makes the second feature parameter selected through feature selection and its corresponding importance measurement result more objective and accurate, thereby increasing the accuracy of the subsequently determined driving style model. As described below, a second feature parameter from a plurality of feature parameters and an evaluation value corresponding to the second feature parameter can be determined based on the filtered feature selection method and the embedded feature selection method.
[0126] The filtering feature selection method may be the ReliefF algorithm or any other filtering feature selection algorithm, and the embedded feature selection method may be the elastic net algorithm or any other embedded feature selection algorithm.
[0127] The following further introduces the process of determining the second feature parameter among multiple feature parameters and its corresponding evaluation value based on the filtering feature selection method and the embedded feature selection method.
[0128] FIG4 shows a flow chart of a driving style recognition method according to an embodiment of the present application. As shown in FIG4 , step S302 may optionally include:
[0129] Step S401 : Score each characteristic parameter in a plurality of sample data respectively to determine a plurality of second characteristic parameters in the plurality of sample data and a first weight vector of the second characteristic parameters.
[0130] The multiple sample data may be all the sample data in the sample data set, and the first weight vector may correspond to the multiple sample data, which may include multiple weights, each weight may correspond to a second characteristic parameter, indicating the calculated importance of the second characteristic parameter.
[0131] Among them, the first weight vector can be determined according to the filtering feature selection method. The filtering feature selection algorithm can be used to score each feature parameter of the multiple sample data respectively. For example, the ReliefF algorithm (or any other filtering feature selection algorithm) can be used to determine the multiple second feature parameters in the multiple sample data, and the first weight vector of the second feature parameter. For example, when each sample data in the multiple sample data includes R-dimensional feature parameters, the filtering feature selection algorithm can be used to determine the N-dimensional feature parameter with a higher score as the second feature parameter corresponding to each sample data, N≤R, and the size of N can be determined according to the size of the computing power.
[0132] An example of the first weight vector determined in step S401 can be found in formula (1):
[0133] in, It can represent the first weight vector corresponding to multiple sample data, where P1, P2, P N Can represent different second characteristic parameters, W(P1), W(P2), W(P N ) can represent P1, P2, P in the first weight vector respectively. N The weight can be understood as the evaluation value obtained by scoring the corresponding second feature parameter through the ReliefF algorithm. The larger the weight value, the higher the importance of the corresponding second feature parameter.
[0134] Step S402 : for any sample data, score each second characteristic parameter in the neighbor set of the sample data respectively, and determine a second weight vector corresponding to multiple second characteristic parameters in the sample data.
[0135] A second weight vector may correspond to a piece of sample data. The second weight vector may include a plurality of weights. Each weight may correspond to a second characteristic parameter, indicating the importance of the calculated second characteristic parameter.
[0136] Here, an embedded feature selection algorithm may be used to respectively score each second feature parameter in the neighbor set of the sample data after determining the neighbor set of the sample data.
[0137] The neighbor set of the sample data can be determined based on the distance between the sample data and other sample data. Alternatively, the neighbor set of the sample data can be determined based on the Manhattan distance between the sample data and other sample data. The Manhattan distance between the sample data and other sample data can be determined by calculating the Manhattan distance matrix. An example of the Manhattan distance matrix can be found in formula (2):
[0138] Where D can represent the Manhattan distance matrix of the sample data. m can represent the total amount of sample data X, d ij It can represent the Manhattan distance from the i-th sample data to the j-th sample data. ij One way to calculate can be found in formula (3):
[0139] Among them, N can represent the total amount of the second characteristic parameter, P i,q It can represent the value of the qth second characteristic parameter in the i-th sample data, P j,q It can represent the value of the qth second characteristic parameter in the jth sample data.
[0140] According to an embodiment of the present application, the Manhattan distance between sample data can be used to more objectively determine the neighbor set of sample data, thereby more accurately determining the evaluation value of the second characteristic parameter.
[0141] Optionally, the neighbor set of the sample data may include the sample data, a similar neighbor set of the sample data, and a heterogeneous neighbor set of the sample data.
[0142] Among them, the nearest neighbor set of the sample data can be determined based on the Manhattan distance between the sample data using the k-means clustering algorithm or other clustering algorithms. The similar nearest neighbor set of the sample data can be represented by a data set consisting of t similar samples closest to the sample data in Manhattan distance, and the heterogeneous nearest neighbor set of the sample data can be represented by a data set consisting of t heterogeneous samples closest to the sample data in Manhattan distance, and the value of t can be determined as needed. Determine the sample data X i One way to calculate the neighbor set of can be seen in formula (4):
[0143] N(X i )=NM(X i )∪NH(X i )∪{X i} Formula (4)
[0144] Among them, N(X i ) can represent the sample data X i The neighbor set of NM(X i ) can represent the sample data X i The heterogeneous neighbor set, NH(X i ) can represent the sample data X i The set of similar neighbors.
[0145] Thus, the neighborhood range of the sample data can be taken into account more comprehensively, so as to accurately determine the evaluation value of the second characteristic parameter within the neighborhood set of the sample data.
[0146] After determining the neighbor set, for the sample data X i , can be found in the neighbor set N(X i ) to score each second characteristic parameter and determine the sample data X i The second weight vector corresponding to the second feature parameters in . That is, a sample data X i , corresponding to a neighbor set N(X i ), based on the neighbor set N(X i ) can determine the sample data X i A second weight vector.
[0147] The second weight vector may be determined according to an embedded feature selection method. An embedded feature selection algorithm (such as an elastic net algorithm) may be used to determine the second weight vector corresponding to the plurality of second feature parameters. An example of the second weight vector may be found in formula (5):
[0148] in, It can be expressed in sample data X i The second weight vector determined in the neighbor set, P1, P2, P N Can represent different second characteristic parameters respectively, Can represent P1, P2, P in the second weight vector respectively N The weight can be understood as the evaluation value obtained by scoring the corresponding second feature parameter through the elastic net algorithm. The larger the weight value, the higher the importance of the corresponding second feature parameter.
[0149] Step S403 : determining evaluation values corresponding to the plurality of second characteristic parameters respectively according to the first weight vector and the second weight vector.
[0150] The evaluation values corresponding to the plurality of second feature parameters may be obtained by fusing the first weight vector and the second weight vector, and each second feature parameter may be assigned an evaluation value, which may represent the importance of the second feature parameter finally determined. The process of step S403 will be described in detail below.
[0151] According to an embodiment of the present application, a fusion feature selection method is used to score each feature parameter in the sample data to obtain a first weight vector, and each second feature parameter is scored in the neighbor set of the sample data to obtain a second weight vector. This method can have the advantages of both a filtering feature selection algorithm and an embedded feature selection algorithm, and has good selectivity for a single feature while also having good selectivity for a combination of features. By combining the first weight vector and the second weight vector to determine the evaluation value of the second feature parameter, the obtained evaluation value can be made more reliable, and a more accurate driving style model can be established based on this in the future.
[0152] FIG5 shows a flow chart of a driving style recognition method according to an embodiment of the present application. As shown in FIG5 , optionally, step S403 may include:
[0153] Step S501 : for any sample data, determining evaluation values corresponding to a plurality of second characteristic parameters in the sample data according to the product of the first weight vector and the second weight vector.
[0154] Thus, the first weight vector and the second weight vector can be combined to determine the comprehensive score of the second feature data. i One way to calculate the comprehensive score can be found in formula (6):
[0155] in, It can be expressed for sample data X i , a comprehensive score determined by combining the first weight vector and the second weight vector, can represent the first weight vector, Can represent sample data X i The second weight vector of The sample data X can be represented separately i The corresponding comprehensive score P1, P2, P N 's evaluation value.
[0156] Step S502 : averaging the evaluation values of the second characteristic parameters in the plurality of sample data to determine the evaluation values corresponding to the plurality of second characteristic parameters.
[0157] Steps S402 and S501 may be iteratively performed for m sample data until evaluation values corresponding to the plurality of second characteristic parameters are calculated for each of the m sample data. Thus, the evaluation values of each second characteristic parameter in the plurality of sample data may be averaged to determine the evaluation values corresponding to the plurality of second characteristic parameters.
[0158] For each second characteristic parameter, a corresponding evaluation value can be calculated through step S502. A method for calculating the evaluation values corresponding to multiple second characteristic parameters can be referred to formula (7):
[0159] in, It can represent the evaluation vectors corresponding to multiple second characteristic parameters, P1, P2, P N can represent different second characteristic parameters respectively, m can represent the total amount of sample data, The sample data X can be represented separately i Corresponding P1, P2, P N The evaluation value, W RFEN (P1), W RFEN (P2), W RFEN (P N ) can represent P1, P2, P corresponding to all sample data respectively. N 's evaluation value.
[0160] According to an embodiment of the present application, by calculating the product of the first weight vector and the second weight vector, the advantages of the filtering feature selection algorithm and the embedded feature selection algorithm can be integrated to determine the evaluation value of the second feature parameter. By traversing and determining the evaluation values of multiple sample data and taking the average as the final evaluation value, the final determined evaluation value can be made more accurate and reliable.
[0161] Fig. 6 shows a schematic diagram of the architecture of a feature selection method according to an embodiment of the present application. As shown in Fig. 6, DATA may represent input sample data.
[0162] In Step 1, the first weight vector (as shown in FIG) can be calculated using the ReliefF algorithm according to the method shown in step S401. ); In Step 2-3, the neighboring set of each sample data can be determined according to the method shown in step S402 (such as Subset1, Subset2, Subset n); In Step 4, the elastic net algorithm (such as ENet1, ENet2, ENet n ) calculates the second weight vector of each sample data in the neighbor set (as shown in the figure ); In Step 5, the evaluation values corresponding to the second characteristic parameters in each sample data can be calculated according to the method shown in step S501 (as shown in FIG ); In Step 6, the evaluation values of each sample data can be averaged according to the method shown in step S502 to calculate the evaluation values corresponding to the multiple second feature parameters (as shown in FIG ).
[0163] Thus, a plurality of second characteristic parameters that are relevant to identifying the driving style and a quantitative score of the relevance of each parameter, ie, an evaluation value of the second characteristic parameter, can be determined.
[0164] However, a driver's driving style may vary across different electronic control functions, and the parameters that influence driving style recognition may also vary across different electronic control functions. Therefore, in the training phase of the present embodiment, after determining multiple second characteristic parameters, a driving style model is independently developed for each electronic control function based on its requirements and characteristics. This allows different driving style models to be generated for each electronic control function. Subsequently, a matching driving style model can be found to identify the driving style based on the needs of each electronic control function, ensuring that the identified driving style is more realistic. The process of independently developing driving style models for different electronic control functions is described below.
[0165] Step S303 : for any target electronic control function, determining a first characteristic parameter associated with the target electronic control function in the second characteristic parameters.
[0166] According to the requirements and characteristics of the target electronic control function, one or more characteristic parameters can be selected from the plurality of second characteristic parameters as the first characteristic parameters associated with the target electronic control function. This process can be implemented manually or using relevant algorithms, and this application does not limit this.
[0167] Among them, the second characteristic parameters can be sorted from high to low according to the evaluation value to intuitively see the parameters that have an important influence on identifying the driving style, and one or more characteristic parameters can be selected from them in order of evaluation value from high to low as the first characteristic parameters associated with the target electronic control function.
[0168] For example, when the target electronic control function is the electric power steering function, the first characteristic parameters associated with the target electronic control function may include: vehicle speed, steering wheel angle, lateral acceleration, steering wheel speed, longitudinal acceleration, etc.; when the target electronic control function is the brake pedal feel function, the first characteristic parameters associated with the target electronic control function may include: vehicle speed, brake pedal displacement, lateral acceleration, brake pedal speed, longitudinal acceleration, electric cylinder pressure building rate, etc.; when the target electronic control function is the accelerator pedal feel function, the first characteristic parameters associated with the target electronic control function may include: vehicle speed, accelerator pedal displacement, accelerator pedal speed, longitudinal acceleration, longitudinal acceleration change rate, steering wheel angle, steering wheel speed, etc.
[0169] Step S304 : Based on the first characteristic parameter associated with the target electronic control function and the evaluation value of the first characteristic parameter, a target driving style model associated with the target electronic control function is trained and obtained.
[0170] For each electronic control function, a corresponding driving style model can be trained according to step S303 - step S304 , so that a driving style model can be independently formulated for each function.
[0171] This application does not limit the method for training and obtaining the target driving style model based on the first characteristic parameter and the evaluation value. One possible method is described below with reference to FIG7 .
[0172] According to an embodiment of the present application, by acquiring sample data, a plurality of second characteristic parameters and their evaluation values are determined based on a feature selection method. For any target electronic control function, a first characteristic parameter associated with the target electronic control function among the second characteristic parameters is determined, so that the subsequent training process is more targeted. Based on the first characteristic parameter and its evaluation value, a target driving style model associated with the target electronic control function is obtained through training. Thus, the trained model can be more suitable for the target electronic control function, can more realistically and accurately reflect the driver's driving style under the function, and makes the subsequent driving style identification more flexible, has a wider coverage, and is more pleasant.
[0173] FIG7 shows a flow chart of a driving style identification method according to an embodiment of the present application. As shown in FIG7 , step S304 may optionally include:
[0174] Step S701 : determining the weight of the first characteristic parameter after dedimensionalization based on the evaluation value of the first characteristic parameter.
[0175] Since the units of different first characteristic parameters are different, the first characteristic parameters can be dedimensionalized, and the method of dedimensionalization is not limited.
[0176] For example, the evaluation value of the first characteristic parameter may be normalized to obtain a weight with a value interval of [0, 1]. The larger the evaluation value, the larger the determined weight may be.
[0177] Step S702 : performing clustering based on the first characteristic parameter and the weight of the first characteristic parameter after dedimensionalization to obtain a clustering result.
[0178] For example, a corresponding weighted high-dimensional coordinate system can be developed based on the first characteristic parameter and the weight of the first characteristic parameter after dedimensionalization. The longer the coordinate axis of the first characteristic parameter in the coordinate system, the smaller the weight of the first characteristic parameter. Thus, based on this weighted coordinate system, data points located nearer to shorter coordinate axes are closer in high-dimensional space and have higher importance in cluster analysis. Based on this, cluster analysis using training data can generate different driving style categories as clustering results. This application does not limit the clustering method, and it can be implemented based on existing technologies.
[0179] 8(a), 8(b), and 8(c) illustrate schematic diagrams of a weighted coordinate system according to an embodiment of the present application. FIG8(a) illustrates a weighted coordinate system generated for an electric power steering function. As shown, vehicle speed, steering wheel angle, lateral acceleration, steering wheel speed, and longitudinal acceleration may each represent a first characteristic parameter associated with the electric power steering function, wherein a longer corresponding coordinate axis indicates a smaller weight for the corresponding first characteristic parameter.
[0180] Figure 8(b) shows a weighted coordinate system generated for the brake pedal feel function. As shown in the figure, vehicle speed, brake pedal displacement, lateral acceleration, brake pedal speed, longitudinal acceleration, and electric cylinder pressure buildup rate can respectively represent the first characteristic parameters associated with the brake pedal feel function, where the longer the corresponding coordinate axis, the smaller the weight of the corresponding first characteristic parameter.
[0181] Figure 8(c) shows a weighted coordinate system generated for the accelerator pedal feel function. As shown in the figure, vehicle speed, pedal displacement, pedal speed, longitudinal acceleration, longitudinal acceleration change rate, and steering wheel angle / speed can respectively represent the first characteristic parameters associated with the accelerator pedal feel function, where the longer the corresponding coordinate axis is, the smaller the weight of the corresponding first characteristic parameter.
[0182] Step S703: obtaining a target driving style model through training based on the clustering results.
[0183] Among them, training data with driving style labels can be generated based on the labels for different driving style types represented by the clustering results. The training data can also include pre-acquired driving training data representing the driving state of the vehicle. The driving training data can be matched with the target electronic control function, such as including the parameter value of the first characteristic parameter associated with the target electronic control function. Therefore, based on the labeled training data, a loss function can be constructed using the labels and the output of the target driving style model, and any machine learning algorithm can be used to train the initial target driving style model to obtain the target driving style model.
[0184] According to an embodiment of the present application, clustering is performed based on the first feature parameter and the weight of the first feature parameter after dedimensionalization to obtain a clustering result. A target driving style model is trained based on the clustering result. The unit dimension difference between the first feature weights can be taken into account, and the clustering result is more accurate. Therefore, for different electronic control functions of the vehicle, a driving style model suitable for it can be independently determined, so that different models can be applied to identify the driving style when facing different functions in the future, and the recognition result is more accurate.
[0185] For each electronically controlled function of the vehicle, the method described in steps S303 and S304 can be repeated to generate a driving style model that matches it. The generated model can then be deployed to the vehicle. Subsequently, the method described in steps S201 and S202 can be used to identify the driver's driving style and determine the control strategy for the corresponding function.
[0186] FIG9 shows a structural diagram of a driving style recognition device according to an embodiment of the present application. The device can be used on a vehicle side. As shown in FIG9 , the device may include:
[0187] A first acquisition module 901 is configured to acquire driving data in response to a requirement of a target electronic control function of the vehicle, where the driving data represents a driving state of the vehicle;
[0188] The first determination module 902 is used to input driving data into a target driving style model to determine a driving style that matches the target electronic control function. The target driving style model is a driving style model that matches the target electronic control function among multiple driving style models. The driving style that matches the target electronic control function is used to determine the control strategy of the target electronic control function.
[0189] According to embodiments of the present application, by inputting acquired driving data into a target driving style model that matches the target electronically controlled function in response to the requirements of the vehicle, it is possible to provide driving style models tailored to the needs and characteristics of different functions, providing greater flexibility. This allows for the identification of a driving style that matches the target electronically controlled function, making the identified driving style more accurate, reliable, and more adapted to the requirements of the target electronically controlled function. This allows for more targeted control strategies for that electronically controlled function, enhancing the pleasantness of the driving experience.
[0190] Optionally, the target electronic control function is any one of the chassis electronic control functions of the vehicle, or the target electronic control function is any one of the auxiliary driving functions of the vehicle.
[0191] According to the embodiments of the present application, it is possible to determine the driver's driving style under the corresponding functions in response to the needs and characteristics of different vehicle electronic control functions, so as to adopt different control strategies for different functions more accurately and flexibly, thereby improving the pleasantness of vehicle driving.
[0192] Optionally, the characteristic parameters include one or more of the following: parameters of braking operation, parameters of steering wheel operation, parameters of acceleration and deceleration operation, and vehicle driving parameters.
[0193] According to the embodiments of the present application, the influence of different types of driving data on driving style can be more comprehensively considered, so that the identified driving style can be more accurate.
[0194] Optionally, the target driving style model is trained based on a first characteristic parameter associated with the target electronic control function and an evaluation value of the first characteristic parameter, where the evaluation value represents the importance of the characteristic parameter in determining the driving style.
[0195] According to an embodiment of the present application, by training a target driving style model based on the first characteristic parameter associated with the target electronic control function and its evaluation value, the trained model can be made more suitable for the target electronic control function, and can more realistically and accurately reflect the driver's driving style under this function, thereby making it possible to more accurately formulate corresponding control strategies to provide a better driving experience.
[0196] Optionally, the device may further include:
[0197] a second acquisition module, configured to acquire sample data, the sample data including a plurality of characteristic parameters representing a driving state of the vehicle;
[0198] A second determining module determines a second feature parameter from among the plurality of feature parameters and an evaluation value corresponding to the second feature parameter using a feature selection method;
[0199] a third determining module, configured to determine, for any target electronic control function, a first characteristic parameter associated with the target electronic control function among the second characteristic parameters;
[0200] The training module is used to train a target driving style model associated with the target electronic control function based on a first characteristic parameter associated with the target electronic control function and an evaluation value of the first characteristic parameter.
[0201] According to an embodiment of the present application, by acquiring sample data, a plurality of second characteristic parameters and their evaluation values are determined based on a feature selection method. For any target electronic control function, a first characteristic parameter associated with the target electronic control function among the second characteristic parameters is determined, so that the subsequent training process is more targeted. Based on the first characteristic parameter and its evaluation value, a target driving style model associated with the target electronic control function is obtained through training. Thus, the trained model can be more suitable for the target electronic control function, can more realistically and accurately reflect the driver's driving style under the function, and makes the subsequent driving style identification more flexible, has a wider coverage, and is more pleasant.
[0202] Optionally, the second determining module is configured to:
[0203] Scoring each characteristic parameter in the plurality of sample data respectively, determining a plurality of second characteristic parameters in the plurality of sample data, and a first weight vector of the second characteristic parameters;
[0204] For any sample data, score each second feature parameter in the neighbor set of the sample data respectively, and determine a second weight vector corresponding to multiple second feature parameters in the sample data;
[0205] Evaluation values corresponding to the plurality of second characteristic parameters are determined according to the first weight vector and the second weight vector.
[0206] According to an embodiment of the present application, a fusion feature selection method is used to score each feature parameter in the sample data to obtain a first weight vector, and each second feature parameter in the neighbor set of the sample data is scored to obtain a second weight vector. This method can have good selectivity for a single feature while also having good selectivity for a combination of features. By combining the first weight vector and the second weight vector to determine the evaluation value of the second feature parameter, the obtained evaluation value can be made more reliable, and a more accurate driving style model can be established subsequently based on this.
[0207] Optionally, the first weight vector is determined according to a filtering feature selection method, and the second weight vector is determined according to an embedded feature selection method.
[0208] According to the embodiments of the present application, it is possible to establish a more reliable feature selection and sorting mechanism by combining the advantages of the filtering feature selection method and the embedded feature selection method, so that the second feature parameters selected by feature selection and their corresponding importance measurement results are more objective and accurate, thereby making the subsequently determined driving style model more accurate.
[0209] Optionally, the neighbor set of the sample data is determined based on the Manhattan distance between the sample data and other sample data.
[0210] According to an embodiment of the present application, the Manhattan distance between sample data can be used to more objectively determine the neighbor set of sample data, thereby more accurately determining the evaluation value of the second characteristic parameter.
[0211] Optionally, the neighbor set of the sample data includes the sample data, a similar neighbor set of the sample data, and a heterogeneous neighbor set of the sample data.
[0212] According to the embodiment of the present application, the neighborhood range of the sample data can be taken into more comprehensive consideration to accurately determine the evaluation value of the second characteristic parameter within the neighborhood set of the sample data.
[0213] Optionally, determining evaluation values corresponding to the plurality of second characteristic parameters respectively according to the first weight vector and the second weight vector includes:
[0214] For any sample data, determining evaluation values corresponding to a plurality of second characteristic parameters in the sample data respectively according to the product of the first weight vector and the second weight vector;
[0215] An average of the evaluation values of each second characteristic parameter in a plurality of sample data is taken to determine the evaluation values respectively corresponding to the plurality of second characteristic parameters.
[0216] According to an embodiment of the present application, by calculating the product of the first weight vector and the second weight vector, the advantages of the filtering feature selection algorithm and the embedded feature selection algorithm can be integrated to determine the evaluation value of the second feature parameter. By traversing and determining the evaluation values of multiple sample data and taking the average as the final evaluation value, the final determined evaluation value can be made more accurate and reliable.
[0217] Optionally, a training module is used to:
[0218] Determining a weight of the first characteristic parameter after dedimensionalization based on the evaluation value of the first characteristic parameter;
[0219] performing clustering based on the first characteristic parameter and the weight of the first characteristic parameter after dedimensionalization to obtain a clustering result;
[0220] The target driving style model is trained based on the clustering results.
[0221] According to an embodiment of the present application, clustering is performed based on the first feature parameter and the weight of the first feature parameter after dedimensionalization to obtain a clustering result. A target driving style model is trained based on the clustering result. The unit dimension difference between the first feature weights can be taken into account, and the clustering result is more accurate. Therefore, for different electronic control functions of the vehicle, a driving style model suitable for it can be independently determined, so that different models can be applied to identify the driving style when facing different functions in the future, and the recognition result is more accurate.
[0222] An embodiment of the present application provides a driving style recognition device, comprising: a processor and a memory for storing processor-executable instructions; wherein the processor is configured to implement the above-mentioned driving style recognition method when executing the instructions.
[0223] An embodiment of the present application provides a terminal device that can execute the above-mentioned driving style recognition method.
[0224] An embodiment of the present application provides a non-volatile computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, the above-mentioned driving style recognition method is implemented.
[0225] An embodiment of the present application provides a computer program product, including computer-readable code, or a non-volatile computer-readable storage medium carrying computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the above-mentioned driving style recognition method.
[0226] Figure 10 shows a block diagram of an electronic device 100 according to an embodiment of the present application. As shown in Figure 10 , the electronic device 100 can be the aforementioned vehicle-side device or the aforementioned cloud server, and is configured to perform the functions of the driving style recognition method illustrated in any of Figures 2-8 . The electronic device 100 includes at least one processor 1801, at least one memory 1802, and at least one communication interface 1803. Furthermore, the electronic device may include common components such as an antenna, which will not be described in detail here.
[0227] The following is a detailed introduction to the various components of the electronic device 100 with reference to FIG. 10 .
[0228] Processor 1801 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the above program. Processor 1801 may include one or more processing units. For example, processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors.
[0229] Communication interface 1803 is used to communicate with other electronic devices or communication networks, such as Ethernet, radio access network (RAN), core network, wireless local area network (WLAN), etc. For example, when electronic device 100 is a vehicle-side device, communication interface 1803 can be used to communicate with a cloud server. For another example, when electronic device 100 is a cloud server, communication interface 1803 can be used to communicate with the vehicle-side device.
[0230] The memory 1802 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, an optical disc storage (including a compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may exist independently and be connected to the processor via a bus. The memory may also be integrated with the processor.
[0231] The memory 1802 is used to store application code for executing the above solution, and the execution is controlled by the processor 1801. The processor 1801 is used to execute the application code stored in the memory 1802.
[0232] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0233] A computer-readable storage medium may be a tangible device that can hold and store instructions for use by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disc (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination thereof.
[0234] The computer-readable program instructions or codes described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions to be stored in the computer-readable storage medium in each computing / processing device.
[0235] The computer program instructions for performing the operations of the present application may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, by utilizing the state information of computer-readable program instructions to personalize an electronic circuit, such as a programmable logic circuit, a field-programmable gate array (FPGA), or a programmable logic array (PLA), the electronic circuit can execute the computer-readable program instructions, thereby implementing various aspects of the present application.
[0236] Various aspects of the present application are described herein with reference to flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.
[0237] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device is generated that implements the functions / actions specified in one or more blocks in the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, where these instructions cause the computer, programmable data processing device, and / or other device to operate in a specific manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowchart and / or block diagram.
[0238] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more blocks in the flowchart and / or block diagram.
[0239] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, systems, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a part for a module, program segment or instruction, and the part for the module, program segment or instruction comprises one or more executable instructions for realizing the logical function of the specification. In some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous boxes can actually be performed substantially in parallel, and they can sometimes also be performed in the opposite order, depending on the function involved.
[0240] It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented by hardware (such as a circuit or ASIC (Application Specific Integrated Circuit)) that performs the corresponding function or action, or can be implemented by a combination of hardware and software, such as firmware.
[0241] Although the present invention is described herein in conjunction with various embodiments, in the process of implementing the claimed invention, those skilled in the art can understand and implement other variations of the disclosed embodiments by reviewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude multiple situations. A single processor or other unit can implement several functions listed in the claims. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.
[0242] The embodiments of the present application have been described above. The above description is illustrative and not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope of the described embodiments. The terminology used herein is selected to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons skilled in the art to understand the embodiments disclosed herein.
Claims
1. A driving style recognition method, It is characterized in that The method comprises: Responsive to a demand of a target electronically controlled function of the vehicle, acquiring driving data, the driving data representing a driving state of the vehicle; The driving data is input into a target driving style model to determine a driving style that matches the target electronic control function. The target driving style model is a driving style model that matches the target electronic control function among multiple driving style models. The driving style that matches the target electronic control function is used to determine a control strategy for the target electronic control function.
2. The method according to claim 1, It is characterized in that The target driving style model is trained based on a first characteristic parameter associated with a target electronic control function and an evaluation value of the first characteristic parameter, where the evaluation value indicates the importance of the characteristic parameter in determining the driving style.
3. The method according to claim 2, It is characterized in that The method further comprises: Acquiring sample data, wherein the sample data includes a plurality of characteristic parameters representing a driving state of a vehicle; Based on the feature selection method, determine a second feature parameter among the plurality of feature parameters, and an evaluation value corresponding to the second feature parameter; For any target electronic control function, determining a first characteristic parameter associated with the target electronic control function in the second characteristic parameters; Based on a first characteristic parameter associated with the target electronic control function and an evaluation value of the first characteristic parameter, a target driving style model associated with the target electronic control function is obtained through training.
4. The method according to claim 3, It is characterized in that The training of obtaining a target driving style model associated with the target electronic control function based on a first characteristic parameter associated with the target electronic control function and an evaluation value of the first characteristic parameter includes: Determining a weight of the first characteristic parameter after dedimensionalization based on the evaluation value of the first characteristic parameter; Performing clustering based on the first characteristic parameter and the weight of the first characteristic parameter after dedimensionalization to obtain a clustering result; The target driving style model is obtained by training based on the clustering result.
5. The method according to claim 3 or 4, It is characterized in that The determining, based on the feature selection method, a second feature parameter among the plurality of feature parameters and an evaluation value corresponding to the second feature parameter comprises: Scoring each characteristic parameter in the plurality of sample data respectively, determining a plurality of second characteristic parameters in the plurality of sample data, and a first weight vector of the second characteristic parameters; For any sample data, score each second characteristic parameter in the neighbor set of the sample data respectively, and determine a second weight vector corresponding to multiple second characteristic parameters in the sample data; Evaluation values respectively corresponding to the plurality of second characteristic parameters are determined according to the first weight vector and the second weight vector.
6. The method according to claim 5, It is characterized in that The first weight vector is determined according to a filtering feature selection method, and the second weight vector is determined according to an embedded feature selection method.
7. The method according to claim 5 or 6, It is characterized in that The determining, according to the first weight vector and the second weight vector, evaluation values respectively corresponding to the plurality of second characteristic parameters comprises: For any sample data, determining evaluation values respectively corresponding to a plurality of second characteristic parameters in the sample data according to the product of the first weight vector and the second weight vector; The evaluation values of each second characteristic parameter in a plurality of sample data are averaged to determine the evaluation values respectively corresponding to the plurality of second characteristic parameters.
8. The method according to any one of claims 5 to 7, wherein the neighbor set of the sample data is determined based on the Manhattan distance between the sample data and other sample data.
9. The method according to any one of claims 5 to 8, wherein the neighbor set of the sample data comprises the sample data, a homogeneous neighbor set of the sample data, and a heterogeneous neighbor set of the sample data.
10. The method according to any one of claims 1 to 9, It is characterized in that The target electronic control function is any one of the chassis electronic control functions of the vehicle, or the target electronic control function is any one of the auxiliary driving functions of the vehicle.
11. The method according to any one of claims 2 to 10, It is characterized in that The characteristic parameters include one or more of the following: parameters of braking operation, parameters of steering wheel operation, parameters of acceleration and deceleration operation, and vehicle driving parameters.
12. A driving style recognition device, It is characterized in that The device comprises: A first acquisition module, configured to acquire driving data in response to a demand of a target electronic control function of the vehicle, wherein the driving data represents a driving state of the vehicle; A first determination module is used to input the driving data into a target driving style model to determine a driving style that matches the target electronic control function, wherein the target driving style model is a driving style model that matches the target electronic control function among multiple driving style models, and the driving style that matches the target electronic control function is used to determine a control strategy for the target electronic control function.
13. The device according to claim 12, It is characterized in that The target driving style model is trained based on a first characteristic parameter associated with a target electronic control function and an evaluation value of the first characteristic parameter, where the evaluation value indicates the importance of the characteristic parameter in determining the driving style.
14. The device according to claim 13, It is characterized in that The device also includes: A second acquisition module, used to acquire sample data, wherein the sample data includes a plurality of characteristic parameters representing a driving state of a vehicle; A second determination module, used to determine a second feature parameter among the plurality of feature parameters and an evaluation value corresponding to the second feature parameter based on a feature selection method; a third determining module, configured to determine, for any target electronic control function, a first characteristic parameter associated with the target electronic control function in the second characteristic parameters; A training module is used to train a target driving style model associated with the target electronic control function based on a first characteristic parameter associated with the target electronic control function and an evaluation value of the first characteristic parameter.
15. The device according to claim 14, It is characterized in that The training module is used to: Determining a weight of the first characteristic parameter after dedimensionalization based on the evaluation value of the first characteristic parameter; Performing clustering based on the first characteristic parameter and the weight of the first characteristic parameter after dedimensionalization to obtain a clustering result; The target driving style model is obtained by training based on the clustering result.
16. The device according to claim 14 or 15, It is characterized in that The second determining module is used to: Scoring each characteristic parameter in the plurality of sample data respectively, determining a plurality of second characteristic parameters in the plurality of sample data, and a first weight vector of the second characteristic parameters; For any sample data, score each second characteristic parameter in the neighbor set of the sample data respectively, and determine a second weight vector corresponding to multiple second characteristic parameters in the sample data; Evaluation values respectively corresponding to the plurality of second characteristic parameters are determined according to the first weight vector and the second weight vector.
17. The device according to claim 16, It is characterized in that The first weight vector is determined according to a filtering feature selection method, and the second weight vector is determined according to an embedded feature selection method.
18. The device according to claim 16 or 17, It is characterized in that The determining, according to the first weight vector and the second weight vector, evaluation values respectively corresponding to the plurality of second characteristic parameters comprises: For any sample data, determining evaluation values respectively corresponding to a plurality of second characteristic parameters in the sample data according to the product of the first weight vector and the second weight vector; The evaluation values of each second characteristic parameter in a plurality of sample data are averaged to determine the evaluation values respectively corresponding to the plurality of second characteristic parameters.
19. The apparatus according to any one of claims 16 to 18, wherein the neighbor set of the sample data is determined based on the Manhattan distance between the sample data and other sample data.
20. The apparatus according to any one of claims 16 to 19, wherein the neighbor set of the sample data comprises the sample data, a homogeneous neighbor set of the sample data, and a heterogeneous neighbor set of the sample data.
21. The device according to any one of claims 12 to 20, It is characterized in that The target electronic control function is any one of the chassis electronic control functions of the vehicle, or the target electronic control function is any one of the auxiliary driving functions of the vehicle.
22. The device according to any one of claims 13 to 21, It is characterized in that The characteristic parameters include one or more of the following: parameters of braking operation, parameters of steering wheel operation, parameters of acceleration and deceleration operation, and vehicle driving parameters.
23. A driving style recognition device, It is characterized in that include: Processor and memory; The memory is used to store programs; The processor is used to execute the program stored in the memory so that the device implements the method described in any one of claims 1-11.
24. A computer-readable storage medium having program instructions stored thereon, It is characterized in that When the program instructions are executed by a computer, the computer implements the method according to any one of claims 1 to 11.
25. A computer program product comprising program instructions, It is characterized in that When the program instructions are executed by a computer, the computer implements the method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Hybrid electric vehicle control method and system based on driving style recognition
CN111038485A
Longitudinal tracking control method and device, equipment and storage medium
CN113060146A
Pure electric vehicle driving style identification method based on semi-supervised algorithm
CN113065611A
Driving style identification method and system and storage medium
CN115366891A
Method for gradually classifying driving styles and motor vehicleusing this method
GB9500872D0
Cited By
Driving style determination method and device, electronic equipment and vehicle
CN120245985A
