Driving intention prediction model training method, vehicle driving method and device
By training and adjusting the driving intention prediction model, the merging intention is identified and the driving style is matched, which solves the problem of the blind spot detection function being unable to start when the turn signal is not activated when the vehicle is merging, improving driving safety and the stability of the assisted driving function. sex.
Patent Information
- Application Number
- CN202410814462.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-06-21
AI Technical Summary
In a parallel driving scenario, when the turn signal is not activated, the blind spot detection function cannot be activated, affecting the safety of the vehicle.
Through the training method of the driving intention prediction model, sample intention data and sample driving data are obtained, the merging intention is identified and the model is trained, and the model is adjusted to match the driving style to achieve prediction of the driver's intention and assisted driving.
It improves the accuracy and efficiency of driving intention recognition, reduces safety hazards caused by failure to recognize vehicle intentions, and optimizes the performance and driving safety of vehicle driving assistance functions.
Smart Images

Figure CN118779652A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data processing, and in particular to a training method for a driving intention prediction model, a vehicle driving method and a device. Background Art
[0002] With the development of society, more and more people choose vehicles as a means of transportation. In the vehicle's lane-changing driving scenario, the driver needs to observe the road conditions to determine whether the current road conditions allow for lane-changing driving. In related technologies, the radar and camera configured on the vehicle can assist the driver in performing blind spot detection of the vehicle to provide auxiliary reminders for the driver to perform lane-changing driving.
[0003] In this scenario, the camera and radar can recognize the current need to change lanes by the driver turning on the turn signal, thereby activating the vehicle's blind spot detection function. In this scenario, when the driver does not activate the turn signal, the blind spot detection function may not be activated, which will affect the safety of vehicle driving to a certain extent. Summary of the invention
[0004] The present disclosure aims to solve one of the technical problems in the related art at least to some extent.
[0005] To this end, the first aspect of the present disclosure proposes a training method for a driving intention prediction model.
[0006] A second aspect of the present disclosure provides a vehicle driving method.
[0007] A third aspect of the present disclosure provides a training device for a driving intention prediction model.
[0008] A fourth aspect of the present disclosure provides a vehicle driving device.
[0009] A fifth aspect of the present disclosure provides a vehicle.
[0010] A sixth aspect of the present disclosure provides an electronic device.
[0011] A seventh aspect of the present disclosure provides a computer-readable storage medium.
[0012] In a first aspect, the present disclosure proposes a method for training a driving intention prediction model, the method comprising: obtaining an initial driving intention prediction model to be trained, and obtaining sample intention data and sample driving data of a sample vehicle to obtain a first training sample of the initial driving intention prediction model; training the initial driving intention prediction model according to the first training sample until the training is completed to obtain a trained candidate driving intention prediction model; obtaining sample driving style data of the sample vehicle, and adjusting the candidate driving intention prediction model according to the sample driving style data to obtain an adjusted target driving intention prediction model.
[0013] In addition, the training method of the driving intention prediction model proposed in the first aspect of the present disclosure may also have the following additional technical features:
[0014] According to an embodiment of the present disclosure, the method of acquiring sample intention data and sample driving data of a sample vehicle to obtain a first training sample of the initial driving intention prediction model includes: performing merging intention recognition on the sample intention data to obtain sample merging intention data and sample non-merging intention data from the sample intention data; acquiring sample merging driving data corresponding to the sample merging intention data and sample non-merging driving data corresponding to the sample non-merging intention data from the sample driving data; obtaining a first candidate sample based on the sample merging intention data and the corresponding sample merging driving data, and obtaining a second candidate sample based on the sample non-merging intention data and the corresponding sample non-merging driving data; and obtaining the first training sample based on the first candidate sample and the second candidate sample.
[0015] According to an embodiment of the present disclosure, the initial driving intention prediction model is trained according to the first training sample until the training is completed to obtain a trained candidate driving intention prediction model, including: inputting the first training sample into the initial driving intention prediction model to obtain a first training result output by the initial driving intention prediction model; obtaining a first sample label of the first training sample to obtain a first training loss of the first training result based on the first sample label; adjusting parameters of the initial driving intention prediction model according to the first training loss, and returning to obtain the next first training sample to continue model training on the initial driving intention prediction model after parameter adjustment until the training is completed to obtain the trained candidate driving intention prediction model.
[0016] According to an embodiment of the present disclosure, the acquiring the sample driving style data of the sample vehicle and adjusting the candidate driving intention prediction model according to the sample driving style data to obtain an adjusted target driving intention prediction model includes: acquiring a plurality of preset sample driving styles and initial driving style data of the sample vehicle, and performing style classification on the initial driving style data according to the plurality of sample driving styles to obtain sample driving style data of each of the plurality of sample driving styles; for any sample driving style, acquiring a candidate driving intention prediction model corresponding to the sample driving style, and generating a second training sample of the candidate driving intention prediction model according to the sample driving style data under the sample driving style; and training the candidate driving intention prediction model by the second training sample until the training is completed to obtain the trained target driving intention prediction model.
[0017] According to an embodiment of the present disclosure, for any sample driving style, a candidate driving intention prediction model corresponding to the sample driving style is obtained, and a second training sample of the candidate driving intention prediction model is generated according to the sample driving style data under the sample driving style, including: for any sample driving style, from the sample intention data and the sample driving data, obtaining the sample driving style intention data and the sample driving style driving data under the sample driving style; according to the sample driving style intention data and the sample driving style driving data, obtaining the second training sample of the candidate driving intention prediction model.
[0018] According to an embodiment of the present disclosure, the candidate driving intention prediction model is trained by the second training sample until the training is completed to obtain the trained target driving intention prediction model, including: inputting the second training sample into the candidate driving intention prediction model to obtain a second training result output by the candidate driving intention prediction model; obtaining a second sample label of the second training sample to obtain a second training loss of the second training result based on the second sample label; adjusting the parameters of the candidate driving intention prediction model according to the second training loss, and returning to obtain the next second training sample to continue model training on the candidate driving intention prediction model with adjusted parameters until the training is completed to obtain the trained target driving intention prediction model.
[0019] According to an embodiment of the present disclosure, the candidate driving intention prediction model is trained according to the second training sample until the training is completed to obtain a trained target driving intention prediction model, which includes: obtaining a target driving style of a target vehicle for any sample driving style; and in response to the target driving style matching the sample driving style, sending the target driving intention prediction model corresponding to the sample driving style to the target vehicle.
[0020] The second aspect of the present disclosure proposes a vehicle driving method, comprising: obtaining a target driving intention prediction model configured on a target vehicle, wherein the target driving intention prediction model is obtained based on the training method of the driving intention prediction model proposed in the first aspect above; obtaining target driving style data of the target vehicle, and target intention data and target driving data of the vehicle within a target time range; inputting the target intention data, the target driving data and the target driving style data into the target driving intention prediction model, and outputting the target predicted driving intention of the target vehicle through the target driving intention prediction model; and controlling the driving of the target vehicle based on the target predicted driving intention.
[0021] In addition, the vehicle driving method proposed in the second aspect of the present disclosure may also have the following additional technical features:
[0022] According to one embodiment of the present disclosure, the method also includes: identifying whether there is corresponding update data for the target driving intention prediction model; in response to identifying the existence of the update data, updating and adjusting the target driving intention prediction model according to the update data to obtain a new target driving intention prediction model.
[0023] According to one embodiment of the present disclosure, the driving control of the vehicle based on the target driving intention includes: in response to the target predicted driving intention being a lane-changing driving intention, controlling the target vehicle to drive in a lane-changing manner through a turn signal control module and a lane-changing assist module of the vehicle.
[0024] According to one embodiment of the present disclosure, after the vehicle is controlled based on the target driving intention, it includes: in response to identifying that the target vehicle has ended its lane merging driving, ending the lane merging driving control of the target vehicle, and uploading the target predicted driving intention output by the target driving intention prediction model to the cloud.
[0025] In a third aspect of the present disclosure, a training device for a driving intention prediction model is proposed, the device comprising: a first acquisition module, used to acquire an initial driving intention prediction model to be trained, and to acquire sample intention data and sample driving data of a sample vehicle, so as to obtain a first training sample of the initial driving intention prediction model; a first training module, used to train the initial driving intention prediction model according to the first training sample, until the training is completed to obtain a trained candidate driving intention prediction model; a second training module, used to acquire sample driving style data of the sample vehicle, and to adjust the candidate driving intention prediction model according to the sample driving style data, so as to obtain an adjusted target driving intention prediction model.
[0026] In addition, the training device for the driving intention prediction model proposed in the third aspect of the present disclosure may also have the following additional technical features:
[0027] According to one embodiment of the present disclosure, the first acquisition module is further used to: perform merging intention recognition on the sample intention data to obtain sample merging intention data and sample non-merging intention data from the sample intention data; obtain sample merging driving data corresponding to the sample merging intention data, and sample non-merging driving data corresponding to the sample non-merging intention data from the sample driving data; obtain a first candidate sample based on the sample merging intention data and the corresponding sample merging driving data, and obtain a second candidate sample based on the sample non-merging intention data and the corresponding sample non-merging driving data; and obtain the first training sample based on the first candidate sample and the second candidate sample.
[0028] According to one embodiment of the present disclosure, the first training module is further used to: input the first training sample into the initial driving intention prediction model to obtain a first training result output by the initial driving intention prediction model; obtain a first sample label of the first training sample to obtain a first training loss of the first training result based on the first sample label; adjust the parameters of the initial driving intention prediction model according to the first training loss, and return to obtain the next first training sample to continue model training on the initial driving intention prediction model after parameter adjustment until the training is completed, so as to obtain the trained candidate driving intention prediction model.
[0029] According to an embodiment of the present disclosure, the second training module is further used to: obtain a plurality of preset sample driving styles and initial driving style data of the sample vehicle, and perform style classification on the initial driving style data according to the plurality of sample driving styles to obtain sample driving style data of each of the plurality of sample driving styles; for any sample driving style, obtain a candidate driving intention prediction model corresponding to the sample driving style, and generate a second training sample of the candidate driving intention prediction model according to the sample driving style data under the sample driving style; train the candidate driving intention prediction model using the second training sample until the training is completed to obtain the trained target driving intention prediction model.
[0030] According to one embodiment of the present disclosure, the second training module is further used to: for any sample driving style, obtain sample driving style intention data and sample driving style driving data under the sample driving style from the sample intention data and the sample driving data; and obtain the second training sample of the candidate driving intention prediction model based on the sample driving style intention data and the sample driving style driving data.
[0031] According to one embodiment of the present disclosure, the second training module is further used to: input the second training sample into the candidate driving intention prediction model to obtain a second training result output by the candidate driving intention prediction model; obtain a second sample label of the second training sample to obtain a second training loss of the second training result based on the second sample label; adjust the parameters of the candidate driving intention prediction model according to the second training loss, and return to obtain the next second training sample to continue model training on the candidate driving intention prediction model with adjusted parameters until the training is completed to obtain the trained target driving intention prediction model.
[0032] According to one embodiment of the present disclosure, the system further includes a sending module, which is used to: obtain a target driving style of a target vehicle for any sample driving style; and in response to the target driving style matching the sample driving style, send a target driving intention prediction model corresponding to the sample driving style to the target vehicle.
[0033] The fourth aspect of the present disclosure proposes a vehicle driving device, comprising: a second acquisition module, used to acquire a target driving intention prediction model configured on a target vehicle, wherein the target driving intention prediction model is obtained based on the training device of the driving intention prediction model proposed in the third aspect; a third acquisition module, used to acquire target driving style data of the target vehicle, and target intention data and target driving data of the vehicle within a target time range; a prediction module, used to input the target intention data, the target driving data and the target driving style data into the target driving intention prediction model, and output the target predicted driving intention of the target vehicle through the target driving intention prediction model; and a control module, used to control the driving of the target vehicle based on the target predicted driving intention.
[0034] In addition, the vehicle driving device provided in the fourth aspect of the present disclosure may also have the following additional technical features:
[0035] According to one embodiment of the present disclosure, the device also includes an update module, which is used to: identify whether there is corresponding update data for the target driving intention prediction model; in response to identifying the existence of the update data, update and adjust the target driving intention prediction model according to the update data to obtain a new target driving intention prediction model.
[0036] According to one embodiment of the present disclosure, the control module is further used to: in response to the target predicted driving intention being a lane-changing driving intention, control the target vehicle to drive in a lane-changing manner through the vehicle's turn signal control module and lane-changing auxiliary module.
[0037] According to one embodiment of the present disclosure, the control module is further used to: in response to identifying that the target vehicle has ended its lane merging driving, end the lane merging driving control of the target vehicle, and upload the target predicted driving intention output by the target driving intention prediction model to the cloud.
[0038] A fifth aspect of the present disclosure proposes a vehicle, which is used to implement the training method of the driving intention prediction model proposed in the first aspect and / or the vehicle driving method proposed in the second aspect.
[0039] The sixth aspect of the present disclosure proposes an electronic device, comprising: a processor; a memory for storing executable instructions of the processor; wherein the processor is configured to execute instructions to implement the training method of the driving intention prediction model proposed in the first aspect above and / or the vehicle driving method proposed in the second aspect above.
[0040] The seventh aspect of the present disclosure proposes a computer-readable storage medium. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the training method of the driving intention prediction model proposed in the first aspect and / or the vehicle driving method proposed in the second aspect.
[0041] The training method, vehicle driving method and device of the driving intention prediction model proposed in the present disclosure obtain an initial driving intention prediction model to be trained and a first training sample constructed by sample intention data and sample driving data, and perform model training on the initial driving intention prediction model through the first training sample to obtain a candidate driving intention prediction model. Optionally, sample driving style data of the sample vehicle is obtained and the candidate driving intention prediction model is adjusted according to the sample driving style data to obtain a target driving intention prediction model. In the present disclosure, the target driving intention prediction model is obtained through the training of the initial driving intention prediction model and the adjustment of the candidate driving intention prediction model, so that the target driving intention prediction model can learn the relationship between the driver's behavior data and the driving intention, thereby realizing the prediction of the driver's driving intention. Compared with the method of identifying the driving intention only by starting the vehicle's turn signal in the related art, the accuracy and efficiency of driving intention recognition are improved, the possibility of safety hazards in the vehicle's driving due to failure to identify the vehicle's driving intention is reduced, the performance of the vehicle's driving assistance function is optimized, the driving safety of the vehicle is improved, and the driving experience of the user is optimized.
[0042] It should be understood that the contents described in the present disclosure are not intended to identify the key or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The above and / or additional aspects and advantages of the present disclosure will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0044] Figure 1 A flowchart of a method for training a driving intention prediction model according to an embodiment of the present disclosure;
[0045] Figure 2 A flowchart of a method for training a driving intention prediction model according to another embodiment of the present disclosure;
[0046] Figure 3 A schematic diagram of a process flow of a vehicle driving method according to an embodiment of the present disclosure;
[0047] Figure 4 A schematic diagram of a process flow of a vehicle driving method according to an embodiment of the present disclosure;
[0048] Figure 5 A schematic flow chart of a vehicle driving method according to another embodiment of the present disclosure;
[0049] Figure 6 A schematic diagram of the structure of a training device for a driving intention prediction model according to an embodiment of the present disclosure;
[0050] Figure 7 It is a structural schematic diagram of a vehicle driving device according to an embodiment of the present disclosure;
[0051] Figure 8 A block diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0052] Embodiments of the present disclosure are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be construed as limiting the present disclosure.
[0053] The following describes a driving intention prediction model training method, vehicle driving method and device proposed in an embodiment of the present disclosure with reference to the accompanying drawings.
[0054] Figure 1 FIG. 1 is a flow chart of a method for training a driving intention prediction model according to an embodiment of the present disclosure. Figure 1 As shown, the method includes:
[0055] S101, obtaining an initial driving intention prediction model to be trained, and obtaining sample intention data and sample driving data of a sample vehicle to obtain a first training sample of the initial driving intention prediction model.
[0056] In the disclosed embodiment, the vehicle can identify the driver's driving intention through the driver's relevant information during driving. In this scenario, the vehicle can provide assisted driving for the driver based on the vehicle's auxiliary functions after identifying the driver's driving intention.
[0057] Optionally, a model configured on the vehicle and having driving intention recognition and assisted driving functions can be marked as a driving intention prediction model on the vehicle. If there is a need to train the model, the driving intention prediction model that needs to be trained can be marked as an initial driving intention prediction model.
[0058] In the disclosed embodiment, the sample for training the initial driving intention prediction model may be marked as a first training sample, and the vehicle for obtaining the first training sample may be marked as a sample vehicle.
[0059] Optionally, corresponding intention data and driving data can be obtained from the sample vehicle and marked as sample intention data and sample driving data of the sample vehicle, respectively. The sample intention data and sample driving data can be processed based on the training sample construction method in the relevant technology to obtain the first training sample constructed by the sample intention data and sample driving data.
[0060] S102, training the initial driving intention prediction model according to the first training sample until the training is completed to obtain a trained candidate driving intention prediction model.
[0061] In the disclosed embodiment, the initial driving intention prediction model can be trained using the first training sample according to the model training method in the related art until the training is completed, and the trained model is determined as the candidate driving intention prediction model.
[0062] Optionally, the training end conditions of the initial driving intention prediction model can be set based on the training rounds. For the current round of model training, if the training round matches the preset training end conditions, the training of the initial driving intention prediction model can be ended, and the model obtained at the end of the last round of training can be determined as the trained candidate driving intention prediction model.
[0063] Optionally, corresponding training end conditions can be set according to the results of the model training output. For the current round of model training, if the output results of the model in this round match the preset training end conditions, the training of the initial driving intention prediction model can be ended, and the model obtained at the end of the last round of training can be determined as the trained candidate driving intention prediction model.
[0064] S103, obtaining sample driving style data of the sample vehicle, and adjusting the candidate driving intention prediction model according to the sample driving style data to obtain an adjusted target driving intention prediction model.
[0065] In the disclosed embodiment, different drivers may have different driving styles, wherein the driver's driving style is related to information such as the vehicle speed, brake pedal force, and steering angle of the vehicle when driving the vehicle.
[0066] As an example, the driver's vehicle driving style may include a safe style, an aggressive style, and a comfortable style. It can be understood that, in a scenario where the vehicle needs to change lanes, a driver with a safe style usually changes lanes at a smaller steering angle and a lower speed.
[0067] In addition, drivers with an aggressive style usually use a larger steering angle and a higher speed when merging lanes, and drivers with a comfortable style pay attention to energy consumption when driving, and the speed and steering angle they use when merging lanes are between the safe style and the aggressive style.
[0068] Optionally, relevant driving data of the sample vehicle within a sample time range may be obtained and analyzed under a driving style dimension to obtain sample driving style data of the sample vehicle, wherein the sample driving style data may be determined by vehicle speed data and steering angle data in the relevant driving data of the sample vehicle.
[0069] In this scenario, the candidate driving intention prediction model can be adjusted according to the sample driving style data of the sample vehicle, so that the candidate driving intention prediction model can learn the relationship between driving intention and driving style.
[0070] Furthermore, a model obtained after adjustment according to the sample driving style data is determined as an adjusted target driving intention prediction model.
[0071] The present disclosure proposes a training method for a driving intention prediction model, obtains an initial driving intention prediction model to be trained and a first training sample constructed by sample intention data and sample driving data, and performs model training on the initial driving intention prediction model through the first training sample to obtain a candidate driving intention prediction model, and optionally obtains sample driving style data of a sample vehicle and adjusts the candidate driving intention prediction model according to the sample driving style data to obtain a target driving intention prediction model. In the present disclosure, a target driving intention prediction model is obtained through the training of the initial driving intention prediction model and the adjustment of the candidate driving intention prediction model, so that the target driving intention prediction model can learn the relationship between the driver's behavior data and the driving intention, thereby realizing the prediction of the driver's driving intention. Compared with the method of identifying the driving intention only by starting the vehicle's turn signal in the related art, the accuracy and efficiency of driving intention recognition are improved, the possibility of safety hazards in the vehicle's driving due to failure to identify the vehicle's driving intention is reduced, the performance of the vehicle's driving assistance function is optimized, the driving safety of the vehicle is improved, and the driving experience of the user is optimized.
[0072] In the above embodiment, the target driving intention prediction model can be obtained by combining Figure 2 Further understanding, Figure 2 FIG. 1 is a flow chart of a method for training a driving intention prediction model according to another embodiment of the present disclosure. Figure 2 As shown, the method includes:
[0073] S201, acquiring sample intention data and sample driving data of a sample vehicle to obtain a first training sample of an initial driving intention prediction model.
[0074] Optionally, line merging intention recognition is performed on the sample intention data to obtain sample line merging intention data and sample non-line merging intention data from the sample intention data.
[0075] In the embodiment of the present disclosure, the sample intention data of the sample vehicle may include merging intention and non-merging intention, wherein the merging intention may be marked as sample merging intention data in the sample intention data, and the non-merging intention may be marked as sample non-merging intention data in the sample intention data.
[0076] Among them, the sample intention data of the driver of the sample vehicle can be collected by the data collection device configured on the vehicle. For example, the driver's eye movement direction data can be collected by an eye tracker configured in the vehicle cabin to obtain the driver's sample intention data. The driver's head torsion angle data can also be collected by a camera configured on the vehicle to obtain the driver's sample intention data. No specific limitation is made here.
[0077] Optionally, sample merging driving data corresponding to the sample merging intention data and sample non-merging driving data corresponding to the sample non-merging intention data are obtained from the sample driving data.
[0078] In the embodiment of the present disclosure, the sample driving data of the sample vehicle may include the driving data of the sample vehicle when performing merging lanes, and may also include the driving data of the sample vehicle when performing non-merging lanes. In this scenario, the sample driving data can be divided according to the sample merging intention data and the sample non-merging intention data identified in the sample intention data, so as to obtain the corresponding data of the sample merging intention data in the sample driving data and mark it as the sample merging driving data, and obtain the corresponding data of the sample non-merging intention data in the sample driving data and mark it as the sample non-merging driving data.
[0079] Among them, the collection time range of the sample merging intention data collected on the sample vehicle can be obtained, and the driving data collected within the same collection time range can be obtained from the sample driving data of the sample vehicle, and this part of the data is determined as the sample merging driving data corresponding to the sample merging intention data.
[0080] Also, obtain the collection time range of the sample non-merging intention data collected on the sample vehicle, and obtain the driving data collected within the same collection time range from the sample driving data of the sample vehicle, and determine this part of the data as the sample non-merging driving data corresponding to the sample non-merging intention data.
[0081] Correspondingly, the vehicle coordinates when the sample merging intention data is collected on the sample vehicle can also be obtained, and the driving data collected at the same vehicle coordinates can be obtained from the sample driving data of the sample vehicle, and this part of the data can be determined as the sample merging driving data corresponding to the sample merging intention data.
[0082] Also, the vehicle coordinates of the sample vehicle on which the sample non-merging intention data is collected are obtained, and the driving data collected on the same vehicle coordinates are obtained from the sample driving data of the sample vehicle, and this part of the data is determined as the sample non-merging driving data corresponding to the sample non-merging intention data.
[0083] It should be noted that the sample driving data may include driving habit data of the driver of the sample vehicle, such as steering wheel angle, steering wheel speed, steering wheel grip, brake pedal travel, brake pedal opening change rate, accelerator pedal travel, accelerator pedal opening change rate, turn signal lever status data, as well as body dynamic driving data of the sample vehicle, such as vehicle speed, longitudinal acceleration, lateral acceleration, yaw angular velocity data, and may also include other data that can describe the driving status of the vehicle, which is not specifically limited here.
[0084] Optionally, a first candidate sample is obtained based on the sample merging intention data and the corresponding sample merging driving data, and a second candidate sample is obtained based on the sample non-merging intention data and the corresponding sample non-merging driving data.
[0085] In the disclosed embodiment, a training positive sample of the initial driving intention prediction model can be constructed based on the sample lane-changing intention data and the corresponding sample lane-changing driving data, and marked as the first candidate sample.
[0086] Furthermore, a training negative sample of the initial driving intention prediction model is constructed based on the sample non-merging intention data and the corresponding sample non-merging driving data, and is marked as a second candidate sample.
[0087] Among them, the sample merging intention data and the corresponding sample merging driving data can be processed according to the sample construction method in the relevant technology to obtain the first candidate sample constructed by the two, and the sample non-merging intention data and the corresponding sample non-merging driving data can be processed according to the sample construction method in the relevant technology to obtain the second candidate sample constructed by the two.
[0088] Optionally, a first training sample is obtained according to the first candidate sample and the second candidate sample.
[0089] In the disclosed embodiment, there is a corresponding training sample set for the training of the initial driving intention prediction model, and the samples in the training sample set can be marked as the first training samples.
[0090] In this scenario, a sample set consisting of the first candidate sample and the second candidate sample can be obtained, and the sample set is marked as a training sample set of the initial driving intention prediction model, thereby obtaining the first training sample in the training sample set.
[0091] S202: Train the initial driving intention prediction model according to the first training sample until the training is completed to obtain a trained candidate driving intention prediction model.
[0092] Optionally, the first training sample is input into an initial driving intention prediction model to obtain a first training result output by the initial driving intention prediction model.
[0093] In the disclosed embodiment, the first training sample may be input into an initial driving intention prediction model, features of the first training sample may be extracted through the initial driving intention prediction model, and intention prediction may be performed based on the extracted features.
[0094] Furthermore, an output result obtained by the initial driving intention prediction model based on the first training sample is marked as a first training result.
[0095] Optionally, a first sample label of a first training sample is obtained to obtain a first training loss of a first training result based on the first sample label.
[0096] In the disclosed embodiment, label information of the first training sample may be obtained and marked as the first sample label of the first training sample.
[0097] The first sample label may be used to indicate whether the driving data in the first training sample is driving data with the intention of merging lanes.
[0098] In a scenario where the first training sample is a sample constructed from sample lane-merging intention data and sample lane-merging driving data, label information obtained based on the sample lane-merging intention data may be used as the first sample label of the first training sample in the scenario.
[0099] Accordingly, in a scenario where the first training sample is a sample constructed from sample non-merge intention data and sample non-merge driving data, the label information obtained based on the sample non-merge intention data can be used as the first sample label of the first training sample in this scenario.
[0100] In the disclosed embodiment, the first training result and the first sample label can be algorithmically processed according to the loss value acquisition algorithm in the related technology, and then the loss value of the first training result based on the first sample label is obtained according to the result of the algorithm processing, and the loss value is determined as the first training loss.
[0101] Optionally, the parameters of the initial driving intention prediction model are adjusted according to the first training loss, and the next first training sample is returned to continue model training for the initial driving intention prediction model with adjusted parameters until the training is completed to obtain a trained candidate driving intention prediction model.
[0102] In the disclosed embodiment, the model parameters of the initial driving intention prediction model can be adjusted according to the first training loss, and the next training sample is returned to continue the model training of the initial driving intention prediction model with adjusted parameters until the training is completed.
[0103] Among them, the relevant content of the completion of the initial driving intention prediction model training can be understood in conjunction with the relevant content in the above embodiment, and will not be repeated here.
[0104] Furthermore, the model obtained after the initial driving intention prediction model training is determined as the trained candidate driving intention prediction model.
[0105] S203, obtaining sample driving style data of the sample vehicle, and adjusting the candidate driving intention prediction model according to the sample driving style data to obtain an adjusted target driving intention prediction model.
[0106] Optionally, a plurality of preset sample driving styles and initial driving style data of a sample vehicle are obtained, and the initial driving style data is style-classified according to the plurality of sample driving styles to obtain sample driving style data of each of the plurality of sample driving styles.
[0107] In the disclosed embodiment, different drivers have different driving styles, wherein a driving style analysis can be performed using an open source data set to obtain multiple possible driving styles of the driver, and mark them as multiple sample driving styles.
[0108] In this scenario, driving style data may be collected for a sample vehicle, and the collected driving style data may be classified according to a plurality of sample driving styles, wherein the driving style data collected on the sample vehicle may be marked as initial driving style data of the sample vehicle.
[0109] Furthermore, the initial driving style data is clustered according to the multiple sample driving styles, and for any cluster among the multiple clusters obtained by clustering, the driving style data in the cluster can be obtained, and the driving style data can be marked as sample driving style data under the sample driving style corresponding to the cluster.
[0110] It should be noted that the sample vehicle may be a plurality of pre-set test vehicles. In this scenario, the initial driving style data uploaded by each of the plurality of test vehicles may be continuously received within a set time range, and after receiving the partial data, the partial data may be classified according to the preset plurality of sample driving styles, thereby obtaining the sample driving style data of each of the plurality of sample driving styles.
[0111] Optionally, for any sample driving style, a candidate driving intention prediction model corresponding to the sample driving style is obtained, and a second training sample of the candidate driving intention prediction model is generated according to the sample driving style data under the sample driving style.
[0112] In the disclosed embodiment, after the initial driving intention prediction model is trained to obtain the candidate driving intention prediction models, the candidate driving intention prediction models can be divided into driving styles. It can be understood that after obtaining multiple initial driving intention prediction models, the multiple initial driving intention prediction models are respectively trained to obtain multiple candidate driving intention prediction models. Further, the multiple candidate driving intention prediction models are divided under the driving style dimension according to multiple sample driving styles to obtain candidate driving intention prediction models corresponding to each of the multiple sample driving styles.
[0113] In this scenario, a training sample of a candidate driving intention prediction model can be constructed based on the sample driving style data and marked as a second training sample.
[0114] Optionally, for any sample driving style, sample driving style intention data and sample driving style driving data under the sample driving style are obtained from the sample intention data and the sample driving data.
[0115] In the disclosed embodiment, the sample intention data and the sample driving data include intention data and driving data under multiple sample driving styles. In this scenario, for any sample driving style, data belonging to the same style as the sample driving style can be obtained from the sample intention data and sample driving data collected from the sample vehicle as the sample driving style intention data and sample driving style driving data under the sample driving style.
[0116] Optionally, a second training sample of the candidate driving intention prediction model is obtained according to the sample driving style intention data and the sample driving style travel data.
[0117] In the disclosed embodiment, the sample driving style intention data and the sample driving style driving data can be algorithmically processed according to the sample construction algorithm in the relevant technology, and then the samples constructed by the sample driving style intention data and the sample driving style driving data are obtained according to the results of the algorithm processing, and used as the second training sample of the candidate driving intention prediction model.
[0118] Optionally, the candidate driving intention prediction model is trained using the second training sample until the training is completed to obtain a trained target driving intention prediction model.
[0119] The second training sample may be input into the candidate driving intention prediction model to obtain a second training result output by the candidate driving intention prediction model.
[0120] In the disclosed embodiment, feature information of the second training sample can be extracted through the candidate driving intention prediction model, intention prediction can be performed based on the extracted features, and the predicted result can be used as the output result of the candidate driving intention prediction model, wherein the output result can be determined as the second training result output by the candidate driving intention prediction model.
[0121] Optionally, a second sample label of the second training sample is obtained to obtain a second training result based on a second training loss of the second sample label, parameters of the candidate driving intention prediction model are adjusted according to the second training loss, and the next second training sample is returned to continue model training for the candidate driving intention prediction model after parameter adjustment until the training is completed, thereby obtaining a trained target driving intention prediction model.
[0122] In the embodiment of the present disclosure, the label information of the second training sample may be determined as the second sample label of the second training sample.
[0123] Furthermore, according to the loss value acquisition algorithm in the related art, the second sample label and the second training result are subjected to algorithmic processing of the loss value, and then according to the result of the algorithmic processing, the loss value of the second training result based on the second sample label is obtained as the second training loss.
[0124] Optionally, the model parameters of the candidate driving intention prediction model may be adjusted according to the second training loss, and the next second training sample may be obtained to continue training the candidate driving intention prediction model after the parameter adjustment until the training is completed.
[0125] Among them, the training end conditions of the candidate driving intention prediction model can be set according to the training rounds, and the training end conditions of the candidate driving intention prediction model can also be set according to the training output results, which are not specifically limited here.
[0126] Optionally, for the current training round, if the candidate driving intention prediction model of this round meets the preset training end conditions, the model training of the candidate driving intention prediction model can be ended, and the model obtained after the current round of training is determined as the trained target driving intention prediction model.
[0127] It should be noted that after training and obtaining target driving intention prediction models for respective multiple sample driving styles, for vehicles that need to be configured with a model, the model can be configured according to the driving style of the vehicle.
[0128] Optionally, for any sample driving style, a target driving style of the target vehicle is obtained.
[0129] Among them, the vehicle that needs to be configured as the model can be marked as the target vehicle. In this scenario, the historical driving style data of the target vehicle can be obtained and analyzed, so as to obtain the driving style of the target vehicle according to the analysis results and mark it as the target driving style.
[0130] Optionally, in response to the target driving style matching the sample driving style, a target driving intention prediction model corresponding to the sample driving style is sent to the target vehicle.
[0131] In the disclosed embodiment, for any sample driving style, when the target driving style of the target vehicle is the same as or similar to the sample driving style, it can be determined that the target driving style of the target vehicle matches the sample driving style.
[0132] In this scenario, a target driving intention prediction model under the sample driving style can be obtained, and the target driving intention prediction model can be sent down and configured to the target vehicle.
[0133] The present disclosure proposes a training method for a driving intention prediction model, so that the target driving intention prediction model can learn the relationship between the driver's behavior data and the driving intention, thereby realizing the prediction of the driver's driving intention. Compared with the method of identifying the driving intention only by activating the vehicle's turn signal in the related art, the accuracy and efficiency of driving intention recognition are improved, the possibility of safety hazards in the vehicle's driving due to failure to identify the vehicle's driving intention is reduced, the performance of the vehicle's driving assistance function is optimized, the vehicle's driving safety is improved, and the user's driving experience is optimized.
[0134] The disclosed embodiment also provides a vehicle driving method, which can be combined with Figure 3 understand, Figure 3 FIG. 1 is a flow chart of a vehicle driving method according to an embodiment of the present disclosure, as shown in FIG. Figure 3 As shown, the method includes:
[0135] S301, obtaining a target driving intention prediction model configured on a target vehicle.
[0136] Among them, the target driving intention prediction model is based on the above Figure 1 to Figure 2 The training method of the driving intention prediction model proposed in the embodiment is obtained.
[0137] In the disclosed embodiment, a vehicle configured with a target driving intention prediction model may be marked as a target vehicle. In this scenario, the target vehicle may predict the driver's driving intention through the target driving intention prediction model configured therein.
[0138] S302, acquiring target driving style data of a target vehicle, and target intention data and target travel data of the target vehicle within a target time range.
[0139] In the disclosed embodiment, historical driving data of the target vehicle may be acquired, the driving style of the target vehicle may be obtained by analyzing the historical driving data, and the driving style may be determined as the target driving style of the target vehicle.
[0140] In this scenario, relevant data of the target vehicle under the target driving style may be obtained, and this portion of data may be marked as the target driving style data of the target vehicle.
[0141] Optionally, the time range in which the target vehicle needs to perform driving intention recognition prediction can be marked as the target time range. In this scenario, the intention data and driving data of the target vehicle within the target time range can be obtained and marked as target intention data and target driving data within the target time range, respectively.
[0142] Among them, the target intention data may at least include the eye movement data and head torsion angle data of the driver of the target vehicle, and the target driving data may at least include the steering wheel angle, steering wheel speed, steering wheel grip, brake pedal travel, brake pedal opening change rate, accelerator pedal travel, accelerator pedal opening change rate, turn signal lever status and other data of the target vehicle, as well as the vehicle speed, longitudinal acceleration, lateral acceleration, yaw angular velocity and other data of the target vehicle, which are not specifically limited here.
[0143] S303, inputting the target intention data, the target driving data and the target driving style into a target driving intention prediction model, and outputting the target predicted driving intention of the target vehicle through the target driving intention prediction model.
[0144] In the disclosed embodiment, the target driving intention prediction model is a model configured on the target vehicle for predicting the driver's driving intention. In this scenario, the acquired target intention data, target driving data and target driving style data can be input into the target driving intention prediction model configured on the target vehicle.
[0145] Through the model capability of the target driving intention prediction model, the current driving intention of the driver of the target vehicle is predicted based on the target intention data, the target driving data and the target driving style data, and the output prediction result is determined as the target predicted driving intention of the target vehicle.
[0146] The target predicted driving intention may be that the target vehicle has a lane-changing driving intention, or may be that the target vehicle does not have a lane-changing driving intention.
[0147] S304, controlling the target vehicle based on the target predicted driving intention.
[0148] In the disclosed embodiment, a lane change assistance module is provided on the target vehicle. In this scenario, when the target driving intention prediction model outputs the target predicted driving intention, the lane change assistance module can control the driving of the target vehicle according to the output target predicted driving intention to achieve assisted driving for the driver.
[0149] Optionally, the hardware configuration of the target vehicle can be adjusted based on a preset driving control strategy to achieve driving control of the target vehicle. The central control software system configured on the target vehicle can also be adjusted to achieve driving control of the target vehicle through the central control software system of the target vehicle. No specific limitation is made here.
[0150] The vehicle driving method proposed in the present disclosure obtains a target driving intention prediction model configured on a target vehicle, and obtains target driving style data of the target vehicle and target intention data and target driving data of the target vehicle within a target time range, and then obtains the target predicted driving intention of the target vehicle through the target driving intention prediction model according to the target style data, target intention data and target driving data, and then controls the driving of the target vehicle according to the target predicted driving intention. Figure 1 to Figure 2 The target driving intention prediction model obtained by the method of the embodiment predicts the driving intention of the target vehicle, thereby improving the accuracy and efficiency of the driving intention prediction of the target vehicle. In the scenario where the auxiliary driving function of the vehicle is activated by identifying the driving intention of the vehicle, the situation where the auxiliary driving function of the vehicle cannot be activated due to the inability to identify the driving intention of the driver is avoided, thereby improving the stability of the vehicle's driving intention prediction function and the auxiliary driving function, and optimizing the user's driving experience.
[0151] In the above embodiment, the driving control of the target vehicle can be combined with Figure 4 Further understanding, Figure 4 FIG. 1 is a flow chart of a vehicle driving method according to another embodiment of the present disclosure. Figure 4 As shown, the method includes:
[0152] S401, in response to the target predicted driving intention being a lane-merging driving intention, controlling the target vehicle to drive in a lane-merging manner through the vehicle's turn signal control module and the lane-merging auxiliary driving module.
[0153] In the disclosed embodiment, the target predicted driving intention of the target vehicle may be an intention to change lanes. In this scenario, when it is identified that the target predicted driving intention of the target vehicle is an intention to change lanes, the driving control of the target vehicle can be achieved by controlling the turn signals and other related hardware devices of the target vehicle, and the driving control of the target vehicle in this scenario can be marked as a control of changing lanes.
[0154] As an example, Figure 5 As shown in the figure, the vehicle-side target driving intention prediction model is Figure 5 The data processing module shown collects the target intention data, target travel data and target driving style data of the target vehicle, and transmits the collected data to the Figure 5 The vehicle-side target driving intention prediction model shown in Figure 5 The vehicle-side target driving intention prediction model shown predicts the driving intention of the target vehicle, thereby outputting the target predicted driving intention.
[0155] In this example, when the target predicted driving intention is the intention to merge, Figure 5The turn signal control module shown turns on the turn signal of the target vehicle, and Figure 5 The lane-merging auxiliary driving module shown assists the target vehicle in merging lanes.
[0156] Among them, the lane-changing auxiliary driving module can perform driving blind spot detection on the target vehicle after identifying that the target vehicle has the intention to change lanes, so as to improve the driving safety of the target vehicle during the lane-changing process.
[0157] S402, in response to identifying that the target vehicle has ended its lane-merging driving, ending the lane-merging driving control of the target vehicle, and uploading the target predicted driving intention output by the target driving intention prediction model to the cloud.
[0158] In the embodiment of the present disclosure, when the target vehicle ends its lane-merging journey, Figure 5 The turn signal control module and the lane-merging auxiliary driving module shown end the lane-merging driving control of the target vehicle.
[0159] Among them, Figure 5 The turn signal control module shown turns off the target vehicle's turned-on turn signal and stops running Figure 5 The auxiliary driving function of the lane-merging auxiliary driving module shown thereby realizes the end of the lane-merging driving control of the target vehicle.
[0160] Optionally, after the target vehicle finishes merging lanes, the target predicted driving intention output by the vehicle-side target driving intention prediction model can be uploaded to the cloud through the data transceiver module configured on the target vehicle, wherein the data transceiver module can be an edge computing module configured on the target vehicle, or it can be other functional modules configured on the target vehicle that can transmit and receive data with the cloud server, which is not specifically limited here.
[0161] It should be noted that there is a need to update the target driving intention prediction model configured on the target vehicle, wherein it can be identified whether there is corresponding update data for the target driving intention prediction model. In response to identifying the existence of update data, the target driving intention prediction model is updated and adjusted according to the update data to obtain a new target driving intention prediction model.
[0162] In the disclosed embodiment, the data generated in the cloud for updating the target driving intention prediction model configured on the vehicle side may be determined as update data corresponding to the target driving intention prediction model.
[0163] As an example, Figure 5 As shown, set Figure 5The cloud-side target driving intention prediction model is shown to perform model update and optimization. In this example, due to the update and optimization of the cloud-side target driving intention prediction model, the vehicle-side target driving intention prediction model needs to follow the cloud-side target driving intention prediction model for update and optimization.
[0164] In this example, the cloud-based target driving intention prediction model can be determined as updated data of the vehicle-side target driving intention prediction model based on the optimized data of the vehicle-side target driving intention prediction model, and the updated data can be sent to the vehicle-side target driving intention prediction model through a data transmission and reception link between the two.
[0165] Furthermore, the vehicle-side target driving intention prediction model updates and optimizes the model based on the received update data, and determines the updated and optimized model as the new target driving intention prediction model on the vehicle-side.
[0166] The vehicle driving method proposed in the present disclosure, when recognizing that the target predicted driving intention is a lane-changing driving intention, controls the target vehicle to drive in lane, thereby avoiding the situation where the vehicle's auxiliary driving function cannot be started due to the inability to recognize the driver's driving intention, improving the stability of the vehicle's driving intention prediction function and auxiliary driving function, and optimizing the user's driving experience.
[0167] Corresponding to the training methods of the driving intention prediction model proposed in the above-mentioned embodiments, an embodiment of the present disclosure further proposes a training device for a driving intention prediction model. Since the training device for the driving intention prediction model proposed in the embodiment of the present disclosure corresponds to the training methods for the driving intention prediction model proposed in the above-mentioned embodiments, the implementation method of the above-mentioned training method for the driving intention prediction model is also applicable to the training device for the driving intention prediction model proposed in the embodiment of the present disclosure, and will not be described in detail in the following embodiments.
[0168] Figure 6 FIG. 1 is a schematic diagram of a structure of a training device for a driving intention prediction model according to an embodiment of the present disclosure. Figure 6 As shown, the training device 600 of the driving intention prediction model includes a first acquisition module 61, a first training module 62 and a second training module 63, wherein:
[0169] A first acquisition module 61 is used to acquire an initial driving intention prediction model to be trained, and acquire sample intention data and sample driving data of a sample vehicle to obtain a first training sample of the initial driving intention prediction model;
[0170] A first training module 62, used for training the initial driving intention prediction model according to the first training sample until the training is completed to obtain a trained candidate driving intention prediction model;
[0171] The second training module 63 is used to obtain sample driving style data of a sample vehicle and adjust the candidate driving intention prediction model according to the sample driving style data to obtain an adjusted target driving intention prediction model.
[0172] In the disclosed embodiment, the first acquisition module 61 is further used to: perform merging intention recognition on the sample intention data to obtain sample merging intention data and sample non-merging intention data from the sample intention data; obtain sample merging driving data corresponding to the sample merging intention data, and sample non-merging driving data corresponding to the sample non-merging intention data from the sample driving data; obtain a first candidate sample based on the sample merging intention data and the corresponding sample merging driving data, and obtain a second candidate sample based on the sample non-merging intention data and the corresponding sample non-merging driving data; and obtain a first training sample based on the first candidate sample and the second candidate sample.
[0173] In the disclosed embodiment, the first training module 62 is further used to: input the first training sample into the initial driving intention prediction model to obtain a first training result output by the initial driving intention prediction model; obtain the first sample label of the first training sample to obtain a first training loss of the first training result based on the first sample label; adjust the parameters of the initial driving intention prediction model according to the first training loss, and return to obtain the next first training sample to continue model training on the initial driving intention prediction model after parameter adjustment until the training is completed to obtain a trained candidate driving intention prediction model.
[0174] In the disclosed embodiment, the second training module 63 is further used to: obtain a plurality of preset sample driving styles and initial driving style data of a sample vehicle, and perform style classification on the initial driving style data according to the plurality of sample driving styles to obtain sample driving style data of each of the plurality of sample driving styles; for any sample driving style, obtain a candidate driving intention prediction model corresponding to the sample driving style, and generate a second training sample of the candidate driving intention prediction model according to the sample driving style data under the sample driving style; and train the candidate driving intention prediction model using the second training sample until the training is completed to obtain a trained target driving intention prediction model.
[0175] In the disclosed embodiment, the second training module 63 is also used to: for any sample driving style, obtain sample driving style intention data and sample driving style driving data under the sample driving style from the sample intention data and the sample driving data; and obtain a second training sample of the candidate driving intention prediction model based on the sample driving style intention data and the sample driving style driving data.
[0176] In the disclosed embodiment, the second training module 63 is further used to: input the second training sample into the candidate driving intention prediction model to obtain a second training result output by the candidate driving intention prediction model; obtain the second sample label of the second training sample to obtain a second training loss of the second training result based on the second sample label; adjust the parameters of the candidate driving intention prediction model according to the second training loss, and return to obtain the next second training sample to continue model training on the candidate driving intention prediction model after the parameter adjustment until the training is completed to obtain a trained target driving intention prediction model.
[0177] In the disclosed embodiment, the system further includes a sending module for: obtaining a target driving style of a target vehicle for any sample driving style; and sending a target driving intention prediction model corresponding to the sample driving style to the target vehicle in response to a match between the target driving style and the sample driving style.
[0178] The present disclosure proposes a training device for a driving intention prediction model, obtains an initial driving intention prediction model to be trained and a first training sample constructed by sample intention data and sample driving data, and performs model training on the initial driving intention prediction model through the first training sample to obtain a candidate driving intention prediction model, and optionally obtains sample driving style data of a sample vehicle and adjusts the candidate driving intention prediction model according to the sample driving style data to obtain a target driving intention prediction model. In the present disclosure, a target driving intention prediction model is obtained through the training of the initial driving intention prediction model and the adjustment of the candidate driving intention prediction model, so that the target driving intention prediction model can learn the relationship between the driver's behavior data and the driving intention, thereby realizing the prediction of the driver's driving intention. Compared with the method of identifying the driving intention only by starting the vehicle's turn signal in the related art, the accuracy and efficiency of driving intention recognition are improved, the possibility of safety hazards in the vehicle's driving due to failure to identify the vehicle's driving intention is reduced, the performance of the vehicle's driving assistance function is optimized, the driving safety of the vehicle is improved, and the driving experience of the user is optimized.
[0179] Corresponding to the vehicle driving methods proposed in the above-mentioned embodiments, an embodiment of the present disclosure further proposes a vehicle driving device. Since the vehicle driving device proposed in the embodiment of the present disclosure corresponds to the vehicle driving methods proposed in the above-mentioned embodiments, the implementation method of the above-mentioned vehicle driving method is also applicable to the vehicle driving device proposed in the embodiment of the present disclosure, and will not be described in detail in the following embodiments.
[0180] Figure 7 FIG. 1 is a schematic diagram of the structure of a vehicle driving device according to an embodiment of the present disclosure. Figure 7 As shown, the vehicle driving device 700 includes a second acquisition module 71, a third acquisition module 72, a prediction module 73 and a control module 74, wherein:
[0181] The second acquisition module 71 is used to acquire the target driving intention prediction model configured on the target vehicle, wherein the target driving intention prediction model is based on the above Figure 6 The training device of the driving intention prediction model proposed in the embodiment is obtained;
[0182] A third acquisition module 72 is used to acquire target driving style data of a target vehicle, and target intention data and target travel data of the vehicle within a target time range;
[0183] A prediction module 73, used for inputting the target intention data, the target driving data and the target driving style data into a target driving intention prediction model, and outputting a target predicted driving intention of the target vehicle through the target driving intention prediction model;
[0184] The control module 74 is used to control the driving of the target vehicle based on the target predicted driving intention.
[0185] In the disclosed embodiment, the device also includes an update module for: identifying whether there is corresponding update data for the target driving intention prediction model; in response to identifying the existence of update data, updating and adjusting the target driving intention prediction model according to the update data to obtain a new target driving intention prediction model.
[0186] In the disclosed embodiment, the control module 74 is further used to: in response to the target predicted driving intention being a lane-changing driving intention, control the target vehicle to drive in a lane-changing manner through the vehicle's turn signal control module and lane-changing auxiliary module.
[0187] In the disclosed embodiment, the control module 74 is further used to: in response to identifying that the target vehicle has ended its lane merging, end the lane merging control of the target vehicle, and upload the target predicted driving intention output by the target driving intention prediction model to the cloud.
[0188] The vehicle driving device proposed in the present disclosure obtains a target driving intention prediction model configured on a target vehicle, as well as the target driving style data of the target vehicle and the target intention data and target driving data of the target vehicle within a target time range, and then obtains the target predicted driving intention of the target vehicle through the target driving intention prediction model based on the target style data, target intention data and target driving data, and then controls the driving of the target vehicle based on the target predicted driving intention. Figure 1 to Figure 2The target driving intention prediction model obtained by the method of the embodiment predicts the driving intention of the target vehicle, thereby improving the accuracy and efficiency of the driving intention prediction of the target vehicle. In the scenario where the auxiliary driving function of the vehicle is activated by identifying the driving intention of the vehicle, the situation where the auxiliary driving function of the vehicle cannot be activated due to the inability to identify the driving intention of the driver is avoided, thereby improving the stability of the vehicle's driving intention prediction function and the auxiliary driving function, and optimizing the user's driving experience.
[0189] In order to achieve the above-mentioned embodiments, the present disclosure also provides a vehicle, wherein the vehicle is used to implement the training method of the driving intention prediction model and / or the vehicle driving method proposed in the above-mentioned embodiments.
[0190] To achieve the above embodiments, the present disclosure also provides an electronic device, a computer-readable storage medium, and a computer program product.
[0191] Figure 8 FIG. 8 is a block diagram of an electronic device 800 according to an embodiment of the present disclosure. Figure 8 As shown, the electronic device 800 includes a memory 801, a processor 802, and a computer program stored in the memory 801 and executable on the processor 802. When the processor 802 executes the program instructions, the training method of the driving intention prediction model and / or the vehicle driving method provided in the above-mentioned embodiments are implemented.
[0192] The training method of the driving intention prediction model proposed in the present disclosure obtains a first lane change evaluation parameter set between a first vehicle on a first lane and a second vehicle on a second lane, and a second lane change evaluation parameter set between a second vehicle and a third vehicle on the first lane, and identifies whether the second vehicle meets the corresponding target lane change condition according to the first lane change evaluation parameter set and / or the second lane change evaluation parameter set, and controls the second vehicle to change lanes from the second lane to the first lane when it is identified that the second vehicle meets the target lane change condition. In the present disclosure, whether the second vehicle meets the target lane change condition is evaluated by the first lane change evaluation parameter set and / or the second lane change evaluation parameter set, and the evaluation is performed based on multiple parameters between the first vehicle and the second vehicle and / or multiple parameters between the second vehicle and the third vehicle, thereby increasing the number of parameters used in the evaluation process, expanding the range of evaluation parameters, and improving the accuracy of the evaluation result of whether the second vehicle meets the target lane change condition, thereby improving the accuracy of the determination result of whether the second vehicle can change lanes, optimizing the safety of the vehicle when changing lanes, and thereby optimizing the driving experience of the user.
[0193] The vehicle driving method proposed in the present disclosure obtains a target driving intention prediction model configured on a target vehicle, and obtains target driving style data of the target vehicle and target intention data and target driving data of the target vehicle within a target time range, and then obtains the target predicted driving intention of the target vehicle through the target driving intention prediction model according to the target style data, target intention data and target driving data, and then controls the driving of the target vehicle according to the target predicted driving intention. Figure 1 to Figure 2 The target driving intention prediction model obtained by the method of the embodiment predicts the driving intention of the target vehicle, thereby improving the accuracy and efficiency of the driving intention prediction of the target vehicle. In the scenario where the auxiliary driving function of the vehicle is activated by identifying the driving intention of the vehicle, the situation where the auxiliary driving function of the vehicle cannot be activated due to the inability to identify the driving intention of the driver is avoided, thereby improving the stability of the vehicle's driving intention prediction function and the auxiliary driving function, and optimizing the user's driving experience.
[0194] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0195] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0196] The program code for implementing the method itself can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0197] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, 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), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0198] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0199] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a grid browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication grid). Examples of communication grids include: a local area network (LAN), a wide area network (WAN), the Internet, and a blockchain grid.
[0200] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication grid. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server for a distributed system, or a server combined with a blockchain.
[0201] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0202] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, "plurality" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0203] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present disclosure includes additional implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present disclosure belong.
[0204] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or otherwise processing in a suitable manner if necessary, and then stored in a computer memory.
[0205] It should be understood that the various parts of the present disclosure can be implemented in hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used to implement: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0206] A person skilled in the art may understand that all or part of the steps in the above-mentioned embodiment method may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0207] In addition, each functional unit in each embodiment of the present disclosure may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0208] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present disclosure have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations of the present disclosure. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present disclosure.
[0209] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0210] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A method for training a driving intention prediction model, characterized in that: The method comprises: Acquire an initial driving intention prediction model to be trained, and acquire sample intention data and sample driving data of a sample vehicle to obtain a first training sample of the initial driving intention prediction model; Training the initial driving intention prediction model according to the first training sample until the training is completed to obtain a trained candidate driving intention prediction model; Sample driving style data of the sample vehicle is obtained, and the candidate driving intention prediction model is adjusted according to the sample driving style data to obtain an adjusted target driving intention prediction model.
2. The method according to claim 1, characterized in that The acquiring of sample intention data and sample driving data of a sample vehicle to obtain a first training sample of the initial driving intention prediction model includes: Performing line merging intention recognition on the sample intention data to obtain sample line merging intention data and sample non-line merging intention data from the sample intention data; Acquire, from the sample driving data, sample merging driving data corresponding to the sample merging intention data, and sample non-merging driving data corresponding to the sample non-merging intention data; Obtaining a first candidate sample according to the sample lane-merging intention data and the corresponding sample lane-merging driving data, and obtaining a second candidate sample according to the sample non-lane-merging intention data and the corresponding sample non-lane-merging driving data; The first training sample is obtained according to the first candidate sample and the second candidate sample.
3. The method according to claim 2, characterized in that The step of training the initial driving intention prediction model according to the first training sample until the training is completed to obtain a trained candidate driving intention prediction model comprises: Inputting the first training sample into the initial driving intention prediction model to obtain a first training result output by the initial driving intention prediction model; Obtaining a first sample label of the first training sample to obtain a first training loss of the first training result based on the first sample label; The parameters of the initial driving intention prediction model are adjusted according to the first training loss, and the next first training sample is returned to continue model training on the initial driving intention prediction model after the parameters are adjusted until the training is completed, so as to obtain the trained candidate driving intention prediction model.
4. The method according to claim 1, characterized in that: The acquiring the sample driving style data of the sample vehicle and adjusting the candidate driving intention prediction model according to the sample driving style data to obtain an adjusted target driving intention prediction model includes: Acquire a plurality of preset sample driving styles and initial driving style data of the sample vehicle, and perform style classification on the initial driving style data according to the plurality of sample driving styles to obtain sample driving style data of each of the plurality of sample driving styles; For any sample driving style, obtaining a candidate driving intention prediction model corresponding to the sample driving style, and generating a second training sample of the candidate driving intention prediction model according to the sample driving style data under the sample driving style; The candidate driving intention prediction model is trained using the second training sample until the training is completed, thereby obtaining the trained target driving intention prediction model.
5. The method according to claim 4, characterized in that The step of obtaining, for any sample driving style, a candidate driving intention prediction model corresponding to the sample driving style, and generating a second training sample of the candidate driving intention prediction model according to sample driving style data under the sample driving style comprises: For any sample driving style, acquiring sample driving style intention data and sample driving style driving data under the sample driving style from the sample intention data and the sample driving data; The second training sample of the candidate driving intention prediction model is obtained according to the sample driving style intention data and the sample driving style travel data.
6. The method according to claim 4, characterized in that The step of training the candidate driving intention prediction model by using the second training sample until the training is completed to obtain the trained target driving intention prediction model comprises: Inputting the second training sample into the candidate driving intention prediction model to obtain a second training result output by the candidate driving intention prediction model; Obtaining a second sample label of the second training sample to obtain a second training loss of the second training result based on the second sample label; The parameters of the candidate driving intention prediction model are adjusted according to the second training loss, and the next second training sample is returned to continue model training on the candidate driving intention prediction model after the parameter adjustment until the training is completed, so as to obtain the trained target driving intention prediction model.
7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: performing model training on the candidate driving intention prediction model according to the second training sample until the training is completed and a trained target driving intention prediction model is obtained, comprising: For any sample driving style, obtain a target driving style of a target vehicle; In response to the target driving style matching the sample driving style, a target driving intention prediction model corresponding to the sample driving style is sent to the target vehicle.
8. A vehicle driving method, characterized in that: The method comprises: Acquire a target driving intention prediction model configured on the target vehicle, wherein the target driving intention prediction model is obtained based on the training method of the driving intention prediction model described in any one of claims 1 to 7; Acquiring target driving style data of the target vehicle, and target intention data and target travel data of the vehicle within a target time range; Inputting the target intention data, the target driving data and the target driving style data into the target driving intention prediction model, and outputting the target predicted driving intention of the target vehicle through the target driving intention prediction model; Based on the target predicted driving intention, driving control is performed on the target vehicle.
9. The method according to claim 8, characterized in that The method further comprises: Identify whether corresponding update data exists for the target driving intention prediction model; In response to identifying the existence of the update data, the target driving intention prediction model is updated and adjusted according to the update data to obtain a new target driving intention prediction model.
10. The method according to claim 8, characterized in that The controlling the vehicle based on the target driving intention includes: In response to the target predicted driving intention being a lane-merging driving intention, the target vehicle is controlled to be lane-merging through the turn signal control module and the lane-merging auxiliary module of the vehicle.
11. The method according to claim 10, characterized in that After the vehicle is controlled based on the target driving intention, the method includes: In response to identifying that the target vehicle has ended its lane-merging driving, the lane-merging driving control of the target vehicle is ended, and the target predicted driving intention output by the target driving intention prediction model is uploaded to the cloud.
12. A training device for a driving intention prediction model, characterized in that: The device comprises: A first acquisition module is used to acquire an initial driving intention prediction model to be trained, and acquire sample intention data and sample driving data of a sample vehicle to obtain a first training sample of the initial driving intention prediction model; A first training module, used for training the initial driving intention prediction model according to the first training sample until the training is completed to obtain a trained candidate driving intention prediction model; The second training module is used to obtain sample driving style data of the sample vehicle and adjust the candidate driving intention prediction model according to the sample driving style data to obtain an adjusted target driving intention prediction model.
13. A vehicle travel device, characterized in that: The device comprises: A second acquisition module is used to acquire a target driving intention prediction model configured on the target vehicle, wherein the target driving intention prediction model is obtained based on the training device of the driving intention prediction model according to claim 12; A third acquisition module is used to acquire target driving style data of the target vehicle, and target intention data and target travel data of the vehicle within a target time range; A prediction module, used for inputting the target intention data, the target driving data and the target driving style data into the target driving intention prediction model, and outputting the target predicted driving intention of the target vehicle through the target driving intention prediction model; A control module is used to control the driving of the target vehicle based on the target predicted driving intention.
14. A vehicle, characterized in that: The vehicle is used to implement the method described in any one of claims 1 to 7 and / or claims 8 to 11.
15. An electronic device, characterized in that: include: processor; a memory for storing executable instructions for the processor; The processor is configured to execute instructions to implement the method according to any one of claims 1-7 and / or claims 8-11.
16. A computer-readable storage medium, when instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method according to any one of claims 1 to 7 and / or claims 8 to 11.
Citation Information
Patent Citations
Adaptive vehicle control system with driving style recognition
CN101633359A
Automotive self-adaptive cruising system with multi-mode switching system and control method thereof
CN104925057A
Vehicle self-adaptive cruise system and side vehicle merging identification method thereof
CN113954830A
Method and system for identifying lane changing intention of manually-driven vehicle
CN115018016A
Vehicle lane changing intention recognition method and system based on machine learning
CN117237689A
Cited By
Self-adaptive optimization control method for gearbox
CN120889889A
Vehicle-mounted function guiding method and device, vehicle and program product
CN120986334A
