Vehicle trajectory prediction method and device, equipment and storage medium
By combining the historical driving information of the target vehicle and surrounding vehicles, and using the intention recognition network to determine the driving intention and filter the trajectory, the problem of low vehicle trajectory prediction accuracy in the existing technology is solved, and higher prediction accuracy and matching are achieved.
Patent Information
- Application Number
- CN202410930571.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-10-08
AI Technical Summary
The accuracy of vehicle trajectory prediction in the existing technology is low, mainly because the prediction is only based on the historical driving data of the target vehicle and does not fully consider the influence of surrounding vehicles.
By obtaining the historical driving information of the target vehicle and surrounding vehicles, the intention recognition network is used to determine the driving intention of the target vehicle, and combined with the historical driving trajectory and driving intention, a more accurate driving trajectory is selected from the trajectory library and the trajectory features are integrated to improve prediction Accuracy.
The accuracy of vehicle trajectory prediction is improved. By considering the influence of surrounding vehicles, the certainty of driving intention and the matching of the driving trajectory in the trajectory library are enhanced, and the prediction deviation is reduced.
Smart Images

Figure CN118744735A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle intelligent driving technology, in particular to the field of vehicle automatic driving technology, and specifically to a vehicle trajectory prediction method, device, equipment and storage medium. Background Art
[0002] With the development of artificial intelligence technology, assisted autonomous driving technology has become an important area that automobile manufacturers are focusing on developing. The intelligence and safety of autonomous driving can only be guaranteed by accurately predicting the driving trajectories of other vehicles on the road.
[0003] In the related art, when predicting the driving trajectory of a vehicle, the historical driving data of the vehicle is usually analyzed to obtain the driving trajectory characteristics of the vehicle, and then similar trajectories are matched in a preset trajectory library according to the driving trajectory characteristics, and the similar trajectories are directly used as the predicted trajectory of the vehicle. However, the driving trajectory of a vehicle is not only related to the historical trajectory of the vehicle, but also the driving trajectories of different vehicles under different circumstances may vary greatly. Therefore, the accuracy of the vehicle trajectory predicted based only on the historical driving data is low. Summary of the invention
[0004] The present application provides a vehicle trajectory prediction method, device, equipment and storage medium to at least solve the technical problem of low vehicle trajectory prediction accuracy in related technologies. The technical solution of the present application is as follows:
[0005] According to a first aspect of the present application, a vehicle trajectory prediction method is provided, comprising: obtaining historical driving information of multiple vehicles, the multiple vehicles comprising a target vehicle and a benchmark vehicle, the benchmark vehicle being a vehicle around the target vehicle, the historical driving information comprising a historical driving trajectory, inputting the historical driving information of the multiple vehicles into an intention recognition network, outputting a target driving intention of the target vehicle, the target driving intention being used to indicate a desired driving direction of the target vehicle, determining a first driving trajectory of the target vehicle from a trajectory library based on the historical driving trajectory and the target driving intention of the target vehicle, the first driving trajectory being matched with the historical driving trajectory and the target driving intention respectively, obtaining a target driving trajectory of the target vehicle based on the historical driving information of the multiple vehicles, the target driving intention and the first driving trajectory, the accuracy of the target driving trajectory being greater than the accuracy of the first driving trajectory.
[0006] The historical driving information may include position information and speed information, and the historical driving trajectory is composed of multiple position information.
[0007] According to the above-mentioned technical means, when the present application determines the driving intention of the target vehicle, it not only uses the historical driving information of the target vehicle, but also combines the historical driving information of the vehicles surrounding the target vehicle to improve the accuracy of the determined driving intention. Further, according to the driving trajectory of the target vehicle and in combination with the determined driving intention, the similarity of the first driving trajectory screened out from the trajectory library is improved, so that a more accurate driving trajectory can be predicted based on the historical driving information, driving intention of the target vehicle and the vehicles surrounding the target vehicle, and the screened out first driving trajectory, thereby improving the prediction accuracy of the vehicle trajectory.
[0008] In a possible implementation, the intention recognition network includes an encoder and a fully connected layer. The historical driving information of multiple vehicles is input into the intention recognition network, and the target driving intention of the target vehicle is output, including: for each vehicle, using an encoder to encode the historical driving information of the vehicle to obtain vehicle trajectory features, fusing the trajectory features of each of the multiple vehicles to obtain fused trajectory features, inputting the fused trajectory features into the fully connected layer, obtaining multiple initial driving intentions of the target vehicle, and the probability of each initial driving intention, where the probability is the similarity probability between the initial driving intention and the actual driving intention of the target vehicle, and determining the initial driving intention with the highest probability among the multiple initial driving intentions as the target driving intention of the target vehicle.
[0009] The encoder may be a gated recurrent unit (GRU) neural network or a long short term memory (LSTM) neural network.
[0010] According to the above technical means, when determining the driving intention of the target vehicle, the present application fuses the encoded trajectory characteristics of the target vehicle with the trajectory characteristics of the surrounding vehicles, fully considers the impact of the surrounding vehicles on the trajectory changes of the target vehicle, and further improves the accuracy of determining the driving intention.
[0011] In a possible implementation, the above-mentioned determining the first driving trajectory of the target vehicle from the trajectory library based on the historical driving trajectory and the target driving intention of the target vehicle includes: determining a plurality of second driving trajectories from the trajectory library according to the historical driving trajectory of the target vehicle, matching the second driving trajectory with the historical driving trajectory, and determining the first driving trajectory from the plurality of second driving trajectories according to the target driving intention.
[0012] According to the above-mentioned technical means, since the driving trajectory will be affected by the driving intention, the present application can first determine multiple driving trajectories similar to the historical driving trajectories, and then consider the driving intention, and determine the driving trajectory closest to the target driving intention from the multiple driving trajectories, thereby further improving the accuracy of the preliminary predicted driving trajectory.
[0013] In a possible implementation, the above-mentioned determining the first driving trajectory from multiple second driving trajectories according to the target driving intention includes: determining at least one third driving trajectory from the multiple second driving trajectories according to the target driving intention, the third driving trajectory matches the target driving intention, and determining the first driving trajectory according to the at least one third driving trajectory.
[0014] According to the above technical means, the present application can also screen out the first few driving trajectories that are close to the driving intention from multiple driving trajectories similar to the historical driving trajectories, thereby further improving the accuracy of the preliminary predicted driving trajectory.
[0015] In a possible implementation, determining the first driving trajectory based on at least one third driving trajectory includes: determining the third driving trajectory with the highest matching degree with the target driving intention among the at least one third driving trajectory as the first driving trajectory; or performing mean processing on the at least one third driving trajectory to obtain the first driving trajectory.
[0016] According to the above technical means, the present application can obtain the first driving trajectory with the highest matching degree or by averaging based on the matching degree of at least one third driving trajectory, thereby further improving the accuracy of the preliminary predicted driving trajectory.
[0017] In a possible implementation, the target driving trajectory of the target vehicle is obtained based on the historical driving information, the target driving intention and the first driving trajectory of the multiple vehicles, including: inputting the historical driving information, the target driving intention and the first driving trajectory of the multiple vehicles into a trajectory prediction network, obtaining the position information of the target vehicle corresponding to multiple time points, and obtaining the target driving trajectory of the target vehicle according to the position information of the target vehicle corresponding to each time point in the multiple time points.
[0018] The location information may be coordinate information.
[0019] According to the above technical means, the present application further improves the accuracy of the predicted driving trajectory by first accurately predicting the coordinate information of the target vehicle at each time point, then fitting all the coordinate information into a driving trajectory, eliminating position information with large deviations, and using it as the final predicted driving trajectory of the target vehicle.
[0020] In a possible implementation, the multiple time points include a first time point, a second time point and a third time point, the first time point being a starting time point, the second time point being a time point after the first time point, and the third time point being a time point after the second time point, and the historical driving information of multiple vehicles, the target driving intention and the first driving trajectory are input into a trajectory prediction network to obtain the position information of the target vehicles corresponding to the multiple time points, including: inputting the position information of the target vehicle corresponding to the first time point, the historical driving information of multiple vehicles, the target driving intention and the first driving trajectory into the trajectory prediction network to obtain the position information of the target vehicle corresponding to the second time point, inputting the position information of the target vehicle corresponding to the second time point, the historical driving information of multiple vehicles, the target driving intention and the first driving trajectory into the trajectory prediction network to obtain the position information of the target vehicle corresponding to the third time point.
[0021] According to the above technical means, when predicting the coordinate information of the target vehicle at each time point, the present application can also combine the coordinate information of the target vehicle at the previous time point to strengthen the connection between adjacent time points, thereby reducing the occurrence of large deviations in coordinate information.
[0022] According to a second aspect provided by the present application, a vehicle trajectory prediction device is provided, comprising: an acquisition unit, a processing unit and a determination unit, wherein: the acquisition unit is used to acquire historical driving information of multiple vehicles, the multiple vehicles include a target vehicle and a benchmark vehicle, the benchmark vehicle is a vehicle around the target vehicle, and the historical driving information includes a historical driving trajectory; the processing unit is used to input the historical driving information of the multiple vehicles acquired by the acquisition unit into an intention recognition network, and output a target driving intention of the target vehicle, the target driving intention is used to indicate the expected driving direction of the target vehicle; the determination unit is used to determine a first driving trajectory of the target vehicle from a trajectory library based on the historical driving trajectory of the target vehicle acquired by the acquisition unit and the target driving intention obtained by the processing unit, the first driving trajectory matches the historical driving trajectory and the target driving intention respectively; the processing unit is also used to obtain a target driving trajectory of the target vehicle based on the historical driving information of the multiple vehicles acquired by the acquisition unit, the target driving intention and the first driving trajectory obtained by the determination unit, the accuracy of the target driving trajectory is greater than the accuracy of the first driving trajectory.
[0023] In a possible implementation, the intention recognition network includes an encoder and a fully connected layer, and the processing unit is specifically used to: for each vehicle, use an encoder to encode the historical driving information of the vehicle to obtain vehicle trajectory features, fuse the trajectory features of each of the multiple vehicles to obtain fused trajectory features, input the fused trajectory features into the fully connected layer, obtain multiple initial driving intentions of the target vehicle, and the probability of each initial driving intention, where the probability is the similarity probability between the initial driving intention and the actual driving intention of the target vehicle, and determine the initial driving intention with the highest probability among the multiple initial driving intentions as the target driving intention of the target vehicle.
[0024] In a possible implementation, the above-mentioned determination unit is specifically used to: determine multiple second driving trajectories from a trajectory library according to the historical driving trajectory of the target vehicle, match the second driving trajectory with the historical driving trajectory, and determine the first driving trajectory from the multiple second driving trajectories according to the target driving intention.
[0025] In a possible implementation, the determination unit is specifically used to: determine at least one third driving trajectory from multiple second driving trajectories according to the target driving intention, the third driving trajectory matches the target driving intention, and determine the first driving trajectory according to the at least one third driving trajectory.
[0026] In a possible implementation, the determination unit is specifically used to: determine the third driving trajectory with the highest matching degree with the target driving intention among the at least one third driving trajectory as the first driving trajectory; or, perform mean processing on the at least one third driving trajectory to obtain the first driving trajectory.
[0027] In a possible implementation, the processing unit is specifically used to input historical driving information, target driving intentions and first driving trajectories of multiple vehicles into a trajectory prediction network to obtain position information of the target vehicle corresponding to multiple time points, and obtain the target driving trajectory of the target vehicle based on the position information of the target vehicle corresponding to each of the multiple time points.
[0028] In a possible implementation, the multiple time points include a first time point, a second time point and a third time point, the first time point is a starting time point, the second time point is a time point after the first time point, and the third time point is a time point after the second time point, and the processing unit is specifically used to: input the position information of the target vehicle corresponding to the first time point, the historical driving information of multiple vehicles, the target driving intention and the first driving trajectory into a trajectory prediction network to obtain the position information of the target vehicle corresponding to the second time point, input the position information of the target vehicle corresponding to the second time point, the historical driving information of multiple vehicles, the target driving intention and the first driving trajectory into the trajectory prediction network to obtain the position information of the target vehicle corresponding to the third time point.
[0029] According to the third aspect provided by the present application, an electronic device is provided, comprising: a processor; a memory for storing processor executable instructions; wherein the processor is configured to execute instructions to implement the method of the above-mentioned first aspect and any possible implementation manner thereof.
[0030] According to the fourth aspect provided by the present application, a vehicle is provided, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method of the first aspect and any possible implementation manner thereof.
[0031] According to the fifth aspect provided by the present application, a computer-readable storage medium is provided. 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 method in the above-mentioned first aspect and any possible implementation method thereof.
[0032] According to the sixth aspect provided by the present application, a computer program product is provided, the computer program product comprising computer instructions, and when the computer instructions are executed on an electronic device, the electronic device executes the method of the above-mentioned first aspect and any possible implementation manner thereof.
[0033] Therefore, the above technical features of the present application have the following beneficial effects:
[0034] (1) When determining the driving intention of the target vehicle, not only the historical driving information of the target vehicle but also the historical driving information of the vehicles around the target vehicle are combined to improve the accuracy of the determined driving intention. Further, according to the driving trajectory of the target vehicle and the driving intention at the determined location, the similarity of the first driving trajectory screened out from the trajectory library is improved, so that a driving trajectory with higher accuracy can be predicted based on the historical driving information and driving intention of the target vehicle and the vehicles around the target vehicle, as well as the screened out first driving trajectory, thereby improving the prediction accuracy of the vehicle trajectory.
[0035] (2) When determining the driving intention of the target vehicle, the present application further improves the accuracy of determining the driving intention by fusing the trajectory features of the encoded target vehicle with the trajectory features of the surrounding vehicles, fully considering the impact of the surrounding vehicles on the trajectory changes of the target vehicle.
[0036] (3) Since the driving trajectory will be affected by the driving intention, the present application can first determine multiple driving trajectories similar to the historical driving trajectories, and then consider the driving intention, and determine the driving trajectory closest to the target driving intention from the multiple driving trajectories, thereby further improving the accuracy of the preliminary predicted driving trajectory.
[0037] (4) The present application can also select the first few driving trajectories that are close to the driving intention from multiple driving trajectories similar to the historical driving trajectories, thereby further improving the accuracy of the preliminary predicted driving trajectory.
[0038] (5) The present application can obtain the first driving trajectory based on the matching degree of at least one third driving trajectory by the highest matching degree or by averaging, thereby further improving the accuracy of the preliminary predicted driving trajectory.
[0039] (6) The present application further improves the accuracy of the predicted driving trajectory by first accurately predicting the coordinate information of the target vehicle at each time point, then fitting all the coordinate information into a driving trajectory, eliminating position information with large deviations, and using this as the final predicted driving trajectory of the target vehicle.
[0040] (7) When predicting the coordinate information of the target vehicle at each time point, the present application can also combine the coordinate information of the target vehicle at the previous time point to strengthen the connection between adjacent time points, thereby reducing the occurrence of large deviations in coordinate information.
[0041] It should be noted that the technical effects brought about by any implementation method in the second to sixth aspects can refer to the technical effects brought about by the corresponding implementation method in the first aspect, and will not be repeated here.
[0042] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application, and do not constitute an improper limitation on the present application.
[0044] Figure 1 is a schematic diagram of an architecture of an automatic driving system for a vehicle according to an exemplary embodiment;
[0045] Figure 2 is a flow chart of a vehicle trajectory prediction method according to an exemplary embodiment;
[0046] Figure 3 is a flow chart of another vehicle trajectory prediction method according to an exemplary embodiment;
[0047] Figure 4 is a schematic diagram showing a decoder loop iteration process according to an exemplary embodiment;
[0048] Figure 5 is a flow chart of another vehicle trajectory prediction method according to an exemplary embodiment;
[0049] Figure 6 is a schematic diagram showing a vehicle driving trajectory according to an exemplary embodiment;
[0050] Figure 7 is an overall flow chart of a vehicle trajectory prediction method according to an exemplary embodiment;
[0051] Figure 8 is a block diagram of a vehicle trajectory prediction device according to an exemplary embodiment;
[0052] Fig. 9 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0053] In order to enable ordinary persons in the art to better understand the technical solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.
[0054] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0055] In the description of this application, unless otherwise specified, "plurality" means two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b and / or c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or plural.
[0056] In the embodiments of the present application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a concrete way for easy understanding.
[0057] Additionally, the use of “based on” is meant to be open and inclusive, as a process, step, calculation, or other action “based on” one or more stated conditions or values may, in practice, be based on additional conditions or values beyond those stated.
[0058] At present, vehicle intelligent driving technology is in a stage of rapid development, and the core of intelligent driving technology is to continuously improve the prediction accuracy of vehicle driving trajectory. Vehicle trajectory prediction refers to analyzing and modeling historical vehicle driving data to predict the trajectory and behavior that the vehicle may take in the future.
[0059] In the related art, two schemes for predicting vehicle driving trajectories are disclosed: 1. By modeling the vehicle's historical trajectory and driving intention, the vehicle trajectory is predicted based on the driving intention; 2. According to the vehicle's historical trajectory, a highly similar trajectory is searched in the database, and the searched trajectory is used as the predicted trajectory of the vehicle. The above two methods refer to relatively simple data when predicting the driving trajectory, resulting in low accuracy of the final predicted vehicle trajectory.
[0060] In order to solve the problem of low prediction accuracy of vehicle trajectory in the prior art, an embodiment of the present application provides a vehicle trajectory prediction method. When determining the driving intention of a target vehicle, the method not only uses the historical driving information of the target vehicle, but also combines the historical driving information of vehicles surrounding the target vehicle to improve the accuracy of the determined driving intention. Further, based on the driving trajectory of the target vehicle and combined with the determined driving intention, the similarity of the first driving trajectory screened out from the trajectory library is improved, so that a higher accuracy driving trajectory can be predicted based on the historical driving information, driving intention of the target vehicle and vehicles surrounding the target vehicle, and the screened first driving trajectory, thereby improving the prediction accuracy of the vehicle trajectory.
[0061] like Figure 1 FIG. 1 is a schematic diagram of the architecture of a vehicle automatic driving system provided in an embodiment of the present application. The vehicle automatic driving system 100 may include a data acquisition device 101 , a vehicle controller 102 , and a driving instruction execution device 103 .
[0062] Among them, the data acquisition device 101 can collect the vehicle's driving information, the vehicle controller 102 can obtain the driving information collected by the data acquisition device 101, and process the driving information to obtain the predicted driving trajectory of the vehicle. The vehicle controller 102 can also generate driving instructions based on the predicted driving trajectory and send the driving instructions to the driving instruction execution device 103. The driving instruction execution device 103 can control the vehicle's driving based on the received driving instructions.
[0063] Exemplarily, after the data acquisition device 101 collects the historical driving information of the vehicle, the vehicle controller 102 can obtain the historical driving information collected by the data acquisition device 101; the vehicle controller 102 can also input the historical driving information of the vehicle into the intention recognition network and output the target driving intention of the target vehicle; the vehicle controller 102 can also determine the first driving trajectory of the target vehicle from the trajectory library based on the historical driving trajectory of the vehicle and the target driving intention; the vehicle controller 102 can also predict the target driving trajectory of the target vehicle based on the historical driving information of the vehicle, the target driving intention and the first driving trajectory; the vehicle controller 102 can also generate a driving instruction based on the predicted driving trajectory and send the driving instruction to the driving instruction execution device 103; the driving instruction execution device 103 can control the driving of the target vehicle based on the received driving instruction.
[0064] For ease of understanding, the vehicle trajectory prediction method provided by the present application is specifically introduced below with reference to the accompanying drawings.
[0065] Figure 2 is a flow chart of a vehicle trajectory prediction method according to an exemplary embodiment. Figure 1 The vehicle controller shown in the figure can be a subject that executes the steps of the method, or it can be a device / module in the vehicle controller, such as an integrated circuit or a chip, and the embodiments of the present application do not specifically limit this.
[0066] For example, Figure 2 As shown, the vehicle trajectory prediction method includes the following steps:
[0067] S201. Obtain historical driving information of multiple vehicles.
[0068] The multiple vehicles include a target vehicle and a benchmark vehicle, the benchmark vehicle is a vehicle around the target vehicle, and the historical driving information includes a historical driving trajectory.
[0069] In the embodiment of the present application, the benchmark vehicle may be a vehicle at a preset position relative to the target vehicle.
[0070] Exemplarily, the benchmark vehicle may be a vehicle located to the left front, right front, directly in front, left rear, right rear, or directly behind the target vehicle.
[0071] In an embodiment of the present application, the historical driving trajectory may be composed of location information, and the location information may be coordinate information.
[0072] For example, the coordinate information of the target vehicle and each benchmark vehicle can be determined by taking the own vehicle as the coordinate origin.
[0073] In an embodiment of the present application, historical driving information may also include speed information.
[0074] In an embodiment of the present application, the location information and speed information of the target vehicle and its surrounding vehicles can be obtained through vehicle-mounted radar, vehicle-mounted camera and high-precision map.
[0075] It is understandable that the vehicle-mounted radar and vehicle-mounted camera are the above Figure 1 The data acquisition device in.
[0076] For example, the historical driving information of the target vehicle can be obtained through the vehicle-mounted radar: t =(x t ,y t ,v t ), historical driving information of the benchmark vehicle: Among them, t represents time, k represents the direction of the benchmark vehicle, x represents the horizontal coordinate of the target vehicle or the benchmark vehicle based on the origin of the vehicle coordinate system, y represents the vertical coordinate of the target vehicle or the benchmark vehicle based on the origin of the vehicle coordinate system, and v represents the speed of the target vehicle or the benchmark vehicle.
[0077] It should be noted that k may include 1 (left front), 2 (right front), 3 (front), 4 (left rear), 5 (right rear), and 6 (rear).
[0078] S202: Input historical driving information of multiple vehicles into an intention recognition network, and output a target driving intention of the target vehicle.
[0079] Among them, the target driving intention is used to indicate the desired driving direction of the target vehicle.
[0080] Optionally, in an embodiment of the present application, the above-mentioned intention recognition network includes an encoder and a fully connected layer. The encoder can be a neural network model, for example, the encoder can be a GRU, or a LSTM.
[0081] Optionally, in the embodiments of the present application, Figure 3 As shown, the above intention recognition network can perform the following steps on the input historical driving information:
[0082] S202a: For each vehicle, use an encoder to encode the historical driving information of the vehicle to obtain vehicle trajectory characteristics.
[0083] In an embodiment of the present application, the historical driving information of the target vehicle can be input into the encoder to output the vehicle trajectory characteristics of the target vehicle; the historical driving information of the benchmark vehicle can also be input into the encoder to output the vehicle trajectory characteristics of the benchmark vehicle.
[0084] For example, the encoder is an LSTM neural network. The position information and coordinate information of the target vehicle can be input into the LSTM neural network, and the vehicle trajectory characteristics of the target vehicle can be output: SThe position information and coordinate information of the benchmark vehicle can be input into the LSTM neural network to output the vehicle trajectory characteristics of the benchmark vehicle: F Ek ; Wherein, k represents the orientation of the reference vehicle.
[0085] S202b, fusing the trajectory features of each of the multiple vehicles to obtain a fused trajectory feature.
[0086] In an embodiment of the present application, the attention mechanism in the intent recognition network can be used to fuse the vehicle trajectory features of the target vehicle and the vehicle trajectory features of the benchmark vehicle to obtain a fused trajectory feature.
[0087] For example, the calculation process of the attention mechanism can be reflected by formula (1). Formula (1) is as follows:
[0088]
[0089] Among them, F m is the trajectory feature after fusion, and sim(,) is the similarity of the vector.
[0090] S202c, inputting the fused trajectory features into the fully connected layer to obtain multiple initial driving intentions of the target vehicle and the probability of each initial driving intention.
[0091] The probability is the similarity probability between the initial driving intention and the real driving intention of the target vehicle, and the real driving intention of the target vehicle refers to the actual driving direction of the target vehicle.
[0092] For example, the fused trajectory features can be input into the fully connected layer, and multiple initial driving intentions can be obtained through the mapping function (softmax) inside the fully connected layer: 1 ,w 2 ,w 3 , w 1 The probability of w is 0.6, 2 The probability of w is 0.3, 3 The probability is 0.1.
[0093] Among them, w 1 Indicates that the target vehicle changes lanes to the left, w 2 Indicates that the target vehicle changes lanes to the right, w 3 Indicates that the target vehicle is moving straight.
[0094] S202d: Determine the initial driving intention with the highest probability among the multiple initial driving intentions as the target driving intention of the target vehicle.
[0095] For example, w 1 ,w 2 ,w 3 Among them, the w with the largest probability1 The probability is 0.6, which is determined to be the target driving intention of the target vehicle, that is, the target vehicle expects to change lanes to the left.
[0096] In this way, when determining the driving intention of the target vehicle, the present application further improves the accuracy of determining the driving intention by fusing the encoded trajectory characteristics of the target vehicle with the trajectory characteristics of the surrounding vehicles, fully considering the impact of the surrounding vehicles on the trajectory changes of the target vehicle.
[0097] S203: Determine a first driving trajectory of the target vehicle from a trajectory library based on the historical driving trajectory of the target vehicle and the target driving intention.
[0098] The first driving trajectory is matched with the historical driving trajectory and the target driving intention respectively.
[0099] In an embodiment of the present application, the portion of the first driving trajectory corresponding to the historical driving trajectory of the target vehicle matches the historical driving trajectory, and except for the portion of the first driving trajectory corresponding to the historical driving trajectory of the target vehicle, the driving direction of the trajectory matches the expected driving direction indicated by the target driving intention.
[0100] For example, the first driving trajectory includes a first sub-trajectory and a second sub-trajectory. The first sub-trajectory matches the historical driving trajectory of the target vehicle, and the driving direction of the second sub-trajectory matches the expected driving trajectory indicated by the target driving intention.
[0101] In the embodiment of the present application, the trajectory library contains multiple driving trajectories.
[0102] Optionally, in an embodiment of the present application, the driving direction of the driving trajectory can be determined by judging the vehicle coordinates at the lane change starting point and the vehicle coordinates at the lane change end point of each driving trajectory in the trajectory library.
[0103] Exemplarily, the lane change starting time can be determined by formula (II), for example, from the lane change starting time of the vehicle, tracing back, when the lateral coordinate of the vehicle is greater than or equal to the lateral coordinate of the previous second for the first time, it is determined that the vehicle is changing lanes to the left; when the lateral coordinate of the vehicle is less than or equal to the lateral coordinate of the previous second for the first time, it is determined that the vehicle is changing lanes to the right. Formula (II) is as follows:
[0104]
[0105] Exemplarily, the lane change end time can be determined by formula (III), for example, tracing back from the vehicle lane change end time, when the vehicle's lateral coordinate is less than or equal to the lateral coordinate of the next second for the first time, it is determined that the vehicle is changing lanes to the left; when the vehicle's lateral coordinate is greater than or equal to the lateral coordinate of the next second for the first time, it is determined that the vehicle is changing lanes to the right. Formula (III) is as follows:
[0106]
[0107] Among them, t slc is the lane change starting time, t slc is the lane change end time; t 1 is the moment when the vehicle crosses the lane line; x 1 is the lateral coordinate of the vehicle crossing the lane line; x t is the lateral coordinate of the vehicle at time point t; W 1 is the lane width, and any time between the lane changing start point and the lane changing end point belongs to the lane changing process.
[0108] Optionally, a plurality of second driving trajectories may be determined from a trajectory library according to a historical driving trajectory of the target vehicle, and then the first driving trajectory may be determined from the plurality of second driving trajectories according to the target driving intention.
[0109] Among them, the second driving trajectory matches the historical driving trajectory.
[0110] In an embodiment of the present application, the portion of the second driving trajectory corresponding to the historical driving trajectory of the target vehicle matches the historical driving trajectory, and except for the portion of the second driving trajectory corresponding to the historical driving trajectory of the target vehicle, the driving direction of the trajectory may or may not match the expected driving direction indicated by the target driving intention.
[0111] In one example, the target driving intention indicates a left lane change. First, based on the historical driving trajectories, three second driving trajectories with the highest track overlap can be selected from the trajectory library, where the driving direction of driving trajectory A is a left lane change, the driving direction of driving trajectory B is a right lane change, and the driving direction of driving trajectory C is a straight drive; then, based on the left lane change indicated by the target driving intention, driving trajectory A for a left lane change can be selected from driving trajectory A, driving trajectory B, and driving trajectory C, and driving trajectory A is used as the first driving trajectory of the target vehicle.
[0112] S204: Obtain a target driving trajectory of the target vehicle based on historical driving information of multiple vehicles, the target driving intention, and the first driving trajectory.
[0113] The accuracy of the target driving trajectory is greater than the accuracy of the first driving trajectory.
[0114] Optionally, historical driving information, target driving intentions, and first driving trajectories of multiple vehicles may be input into a trajectory prediction network to obtain position information of the target vehicles corresponding to multiple time points.
[0115] Among them, the trajectory prediction network may include an encoder and a decoder.
[0116] Optionally, the above-mentioned multiple time points may include a first time point, a second time point and a third time point, the first time point is the starting time point, the second time point is a time point after the first time point, and the third time point is a time point after the second time point.
[0117] Furthermore, to obtain the position information of the target vehicle corresponding to multiple time points, the position information of the target vehicle corresponding to the first time point, the historical driving information of multiple vehicles, the target driving intention and the first driving trajectory can be first input into the trajectory prediction network to obtain the position information of the target vehicle corresponding to the second time point, and then the position information of the target vehicle corresponding to the second time point, the historical driving information of multiple vehicles, the target driving intention and the first driving trajectory can be input into the trajectory prediction network to obtain the position information of the target vehicle corresponding to the third time point.
[0118] In an embodiment of the present application, historical driving information of multiple vehicles can be input into an encoder to obtain vehicle trajectory features of a target vehicle and vehicle trajectory features of a benchmark vehicle, respectively, and then the vehicle trajectory features of the target vehicle and the vehicle trajectory features of the benchmark vehicle are fused using an attention mechanism to obtain fused trajectory features.
[0119] It should be noted that the relevant description of the encoder and attention features can refer to the detailed description of S202a to S202c above, which will not be repeated here.
[0120] Furthermore, the target driving intention can be converted into a feature vector, which is then concatenated with the fused trajectory features to form a context feature as the initial feature vector of the decoder.
[0121] Exemplarily, the above context features can be reflected by formula (IV). Formula (IV) is as follows:
[0122] r=contact(F m ,FC(Ω)) Formula (IV)
[0123] Among them, F m is the fusion trajectory feature, FC is the fully connected layer, Ω is the target driving intention, and contact(.) is the horizontal splicing operation.
[0124] Furthermore, if Figure 4 As shown, the output result O of the decoder at the last moment can be t-1 and the first driving trajectory A t Input decoder, output the current position information I of the target vehicle t .
[0125] In the embodiment of the present application, the decoder may be LSTM or GRU.
[0126] Exemplarily, the internal processing of the above decoder can be reflected by formula (5). Formula (5) is as follows:
[0127] I t =(O t-1 ,A t ) Formula (V)
[0128] In an embodiment of the present application, after obtaining the position information of the target vehicle corresponding to multiple time points, the target driving trajectory of the target vehicle can be obtained according to the position information of the target vehicle corresponding to each time point.
[0129] For example, taking the position information as coordinate information, if the coordinates corresponding to the first time point output by the decoder are (10, 15), the coordinates corresponding to the second time point are (11, 20), and the coordinates corresponding to the third time point are (11, 26), then all coordinates can be fitted to obtain the target driving trajectory.
[0130] In this way, when predicting the coordinate information of the target vehicle at each time point, the present application can also combine the coordinate information of the target vehicle at the previous time point to strengthen the connection between adjacent time points, thereby reducing the occurrence of large deviations in coordinate information.
[0131] Based on the above Figure 2 The vehicle trajectory prediction method provided by the embodiment of the present application, when determining the driving intention of the target vehicle, not only uses the historical driving information of the target vehicle, but also combines the historical driving information of the vehicles around the target vehicle to improve the accuracy of the determined driving intention, and further improves the similarity of the first driving trajectory screened out from the trajectory library according to the driving trajectory of the target vehicle and the driving intention determined, so that a higher accuracy driving trajectory can be predicted based on the historical driving information and driving intention of the target vehicle and the vehicles around the target vehicle, and the screened out first driving trajectory, thereby improving the prediction accuracy of the vehicle trajectory.
[0132] In some embodiments, in order to improve the accuracy of the initially predicted driving trajectory, Figure 5 As shown, the above-mentioned determination of the first driving trajectory from the second driving trajectory according to the target driving intention can also be achieved by the following steps:
[0133] S501. Determine at least one third driving trajectory from a plurality of second driving trajectories according to a target driving intention.
[0134] Among them, the third driving trajectory matches the target driving intention in the embodiment of the present application.
[0135] In an embodiment of the present application, the portion of the third driving trajectory corresponding to the historical driving trajectory of the target vehicle matches the historical driving trajectory, and except for the portion of the third driving trajectory corresponding to the historical driving trajectory of the target vehicle, the driving direction of the trajectory matches the expected driving direction indicated by the target driving intention.
[0136] For example, the target driving intention indicates a lane change to the right. If the multiple second driving trajectories include driving trajectory A, driving trajectory B, driving trajectory C, driving trajectory D, and driving trajectory E. The driving direction of driving trajectory A is to change lanes to the left, the driving direction of driving trajectory B is to change lanes to the right, the driving direction of driving trajectory C is to go straight, the driving direction of driving trajectory D is to change lanes to the right, and the driving direction of driving trajectory E is to go straight; at this time, according to the target driving intention indicating a lane change to the right, driving trajectory B and driving trajectory D for lane change to the right can be selected from driving trajectory A, driving trajectory B, driving trajectory C, driving trajectory D, and driving trajectory E as the third driving trajectory.
[0137] S502: Determine a first driving trajectory according to at least one third driving trajectory.
[0138] In an optional implementation, after determining at least one third driving trajectory, a third driving trajectory with the highest matching degree with the target driving intention among the at least one third driving trajectory may be determined as the first driving trajectory.
[0139] For example, at least one third driving trajectory includes driving trajectory B and driving trajectory D. If the matching degree between driving trajectory B and the target driving intention is 80%, and the matching degree between driving trajectory D and the target driving intention is 90%, driving trajectory D is used as the first driving trajectory of the target vehicle.
[0140] In another optional implementation, after at least one third driving trajectory is determined, mean processing may be performed on the at least one third driving trajectory to obtain the first driving trajectory.
[0141] In the embodiment of the present application, the horizontal coordinate and the vertical coordinate at each moment on the third driving trajectory can be averaged respectively, and the trajectory composed of the average values obtained is used as the first driving trajectory of the target vehicle.
[0142] Exemplarily, at least one third driving trajectory includes driving trajectory B and driving trajectory D. If driving trajectory B includes coordinates 1 (5, 6), coordinates 2 (6, 9), and coordinates 3 (6, 11), and driving trajectory D includes coordinates 1' (6, 7), coordinates 2' (6, 10), and coordinates 3' (7, 15), then the horizontal coordinates of coordinates 1 and 1' can be averaged, and the vertical coordinates can be averaged to obtain coordinates 1" (5.5, 6.5); the horizontal coordinates of coordinates 2 and 2' can be averaged, and the vertical coordinates can be averaged to obtain coordinates 2" (6, 9.5); the horizontal coordinates of coordinates 3 and 3' can be averaged, and the vertical coordinates can be averaged to obtain coordinates 3" (6.5, 13); then the driving trajectory composed of coordinates 1", coordinates 2", and coordinates 3" can be determined as the first driving trajectory of the target vehicle.
[0143] For example, Figure 6 As shown, the historical driving trajectory of the target vehicle, the first driving trajectory matched from the trajectory library, the final predicted target driving trajectory, and the actual driving trajectory are displayed.
[0144] In this way, the present application can also screen out the first few driving trajectories that are close to the driving intention from multiple driving trajectories similar to the historical driving trajectories, and determine the predicted driving trajectory by averaging, thereby further improving the accuracy of the preliminary predicted driving trajectory.
[0145] The complete process of the vehicle trajectory prediction method provided in the embodiment of the present application is explained below.
[0146] In the embodiments of the present application, Figure 7 As shown in FIG. 1 , the historical driving information of the target vehicle and the historical driving information of the benchmark vehicle can be respectively input into the encoder to obtain the vehicle trajectory features of each vehicle, and the vehicle trajectory features of each vehicle are fused using the attention module to obtain the fused trajectory features, and then the fused trajectory features are input into the fully connected layer to output the target driving intention, and the target driving intention and the fused trajectory features are concatenated to obtain the context feature r, and then according to the target driving intention and the historical driving trajectory of the target vehicle, the first driving trajectory is matched from the trajectory library, and the context feature r and the first driving trajectory are input into the decoder to obtain the target driving trajectory of the target vehicle.
[0147] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to achieve the above functions, the vehicle trajectory prediction device or electronic device includes a hardware structure and / or software module corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.
[0148] The embodiment of the present application can exemplarily divide the functional modules of the vehicle trajectory prediction device or electronic device according to the above method. For example, the vehicle trajectory prediction device or electronic device may include various functional modules corresponding to the various functional divisions, or two or more functions may be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation.
[0149] Figure 8 is a block diagram of a vehicle trajectory prediction device according to an exemplary embodiment. Figure 8 The vehicle trajectory prediction device 800 includes: an acquisition unit 801, a processing unit 802 and a determination unit 803.
[0150] Wherein: the acquisition unit 801 is used to acquire historical driving information of multiple vehicles, the multiple vehicles include a target vehicle and a benchmark vehicle, the benchmark vehicle is a vehicle around the target vehicle, and the historical driving information includes a historical driving trajectory; the processing unit 802 is used to input the historical driving information of the multiple vehicles acquired by the acquisition unit 801 into an intention recognition network, and output a target driving intention of the target vehicle, the target driving intention is used to indicate the expected driving direction of the target vehicle; the determination unit 803 is used to determine a first driving trajectory of the target vehicle from a trajectory library based on the historical driving trajectory of the target vehicle acquired by the acquisition unit 801 and the target driving intention obtained by the processing unit 802, the first driving trajectory matches the historical driving trajectory and the target driving intention respectively; the processing unit 802 is also used to obtain a target driving trajectory of the target vehicle based on the historical driving information of the multiple vehicles acquired by the acquisition unit, the target driving intention and the first driving trajectory obtained by the determination unit, the accuracy of the target driving trajectory is greater than the accuracy of the first driving trajectory.
[0151] In some embodiments, the intention recognition network includes an encoder and a fully connected layer, and the processing unit 802 is specifically used to: for each vehicle, use an encoder to encode the historical driving information of the vehicle to obtain vehicle trajectory features, fuse the trajectory features of each of the multiple vehicles to obtain fused trajectory features, input the fused trajectory features into the fully connected layer, obtain multiple initial driving intentions of the target vehicle, and the probability of each initial driving intention, where the probability is the similarity probability between the initial driving intention and the actual driving intention of the target vehicle, and determine the initial driving intention with the highest probability among the multiple initial driving intentions as the target driving intention of the target vehicle.
[0152] In some embodiments, the above-mentioned determination unit 803 is specifically used to: determine multiple second driving trajectories from the trajectory library according to the historical driving trajectory of the target vehicle, match the second driving trajectory with the historical driving trajectory, and determine the first driving trajectory from the multiple second driving trajectories according to the target driving intention.
[0153] In some embodiments, the above-mentioned determination unit 803 is specifically used to: determine at least one third driving trajectory from multiple second driving trajectories according to the target driving intention, the third driving trajectory matches the target driving intention, and determine the first driving trajectory according to the at least one third driving trajectory.
[0154] In some embodiments, the above-mentioned determination unit 803 is specifically used to: determine the third driving trajectory with the highest matching degree with the target driving intention among the at least one third driving trajectory as the first driving trajectory; or perform mean processing on the at least one third driving trajectory to obtain the first driving trajectory.
[0155] In some embodiments, the processing unit 802 is specifically used to input historical driving information, target driving intentions and first driving trajectories of multiple vehicles into a trajectory prediction network to obtain position information of the target vehicle corresponding to multiple time points, and obtain the target driving trajectory of the target vehicle based on the position information of the target vehicle corresponding to each of the multiple time points.
[0156] In some embodiments, the above-mentioned multiple time points include a first time point, a second time point and a third time point, the first time point is a starting time point, the second time point is a time point after the first time point, and the third time point is a time point after the second time point. The above-mentioned processing unit 802 is specifically used to: input the position information of the target vehicle corresponding to the first time point, the historical driving information of multiple vehicles, the target driving intention and the first driving trajectory into the trajectory prediction network to obtain the position information of the target vehicle corresponding to the second time point, input the position information of the target vehicle corresponding to the second time point, the historical driving information of multiple vehicles, the target driving intention and the first driving trajectory into the trajectory prediction network to obtain the position information of the target vehicle corresponding to the third time point.
[0157] In the vehicle trajectory prediction device provided in the embodiment of the present application, when determining the driving intention of the target vehicle, not only the historical driving information of the target vehicle but also the historical driving information of the vehicles surrounding the target vehicle are used to improve the accuracy of the determined driving intention. Further, based on the driving trajectory of the target vehicle and in combination with the determined driving intention, the similarity of the first driving trajectory screened out from the trajectory library is improved, so that a more accurate driving trajectory can be predicted based on the historical driving information, driving intention of the target vehicle and the vehicles surrounding the target vehicle, and the screened out first driving trajectory, thereby improving the prediction accuracy of the vehicle trajectory.
[0158] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0159] Fig. 9 FIG. 1 is a block diagram of an electronic device according to an exemplary embodiment. Fig. 9 As shown, the electronic device 900 includes but is not limited to: a processor 901 and a memory 902 .
[0160] The memory 902 is used to store executable instructions of the processor 901. It can be understood that the processor 901 is configured to execute instructions to implement the vehicle trajectory prediction method in the above embodiment.
[0161] It should be noted that those skilled in the art can understand that Fig. 9 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and the electronic device may include Fig. 9 More or fewer components may be shown, or certain components may be combined, or the components may be arranged differently.
[0162] The processor 901 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 902, and calling data stored in the memory 902, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 901 may include one or more processing units. Optionally, the processor 901 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 901.
[0163] The memory 902 may be used to store software programs and various data. The memory 902 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one functional module (such as a determination unit, a processing unit, etc.), etc. In addition, the memory 902 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0164] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 902 including instructions, and the above instructions can be executed by a processor 901 of an electronic device 900 to implement the vehicle trajectory prediction method in the above embodiment.
[0165] In actual implementation, Figure 8 The acquisition unit 801, the processing unit 802 and the determination unit 803 in the embodiment can all be composed of Fig. 9 The processor 901 in the embodiment calls the computer program stored in the memory 902. The specific execution process can refer to the description of the method part in the above embodiment, which will not be repeated here.
[0166] Optionally, the computer-readable storage medium may be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0167] In an exemplary embodiment, the present application also provides a computer program product including one or more instructions, and the one or more instructions can be executed by the processor 901 of the electronic device to complete the vehicle trajectory prediction method in the above embodiment.
[0168] It should be noted that when the instructions in the above-mentioned computer-readable storage medium or one or more instructions in the computer program product are executed by the processor of the electronic device, the various processes of the above-mentioned method embodiment are implemented, and the same technical effect as the above-mentioned method can be achieved. To avoid repetition, they will not be repeated here.
[0169] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0170] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0171] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0172] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0173] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or the full classification part or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including a number of instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute the full classification part or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, ROM, RAM, disk or CD and other media that can store program code.
[0174] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A vehicle trajectory prediction method, characterized in that: The method comprises: Acquire historical driving information of a plurality of vehicles, the plurality of vehicles including a target vehicle and a reference vehicle, the reference vehicle being a vehicle around the target vehicle, the historical driving information including a historical driving trajectory; Inputting the historical driving information of the plurality of vehicles into an intention recognition network, and outputting a target driving intention of the target vehicle, wherein the target driving intention is used to indicate a desired driving direction of the target vehicle; Based on the historical driving trajectory of the target vehicle and the target driving intention, determining a first driving trajectory of the target vehicle from a trajectory library, wherein the first driving trajectory matches the historical driving trajectory and the target driving intention respectively; A target driving trajectory of the target vehicle is obtained based on the historical driving information of the plurality of vehicles, the target driving intention and the first driving trajectory, wherein the accuracy of the target driving trajectory is greater than the accuracy of the first driving trajectory.
2. The method according to claim 1, characterized in that The intention recognition network includes an encoder and a fully connected layer. The historical driving information of the plurality of vehicles is input into the intention recognition network, and the target driving intention of the target vehicle is output, including: For each vehicle, the encoder is used to encode the historical driving information of the vehicle to obtain the vehicle trajectory feature; fusing the trajectory features of each of the multiple vehicles to obtain a fused trajectory feature; Inputting the fused trajectory features into the fully connected layer to obtain multiple initial driving intentions of the target vehicle and the probability of each initial driving intention, where the probability is the similarity probability between the initial driving intention and the actual driving intention of the target vehicle; The initial driving intention with the greatest probability among the multiple initial driving intentions is determined as the target driving intention of the target vehicle.
3. The method according to claim 1, characterized in that The step of determining a first driving trajectory of the target vehicle from a trajectory library based on the historical driving trajectory of the target vehicle and the target driving intention includes: According to the historical driving trajectory of the target vehicle, determining a plurality of second driving trajectories from the trajectory library, wherein the second driving trajectories match the historical driving trajectories; The first driving trajectory is determined from the plurality of second driving trajectories according to the target driving intention.
4. The method according to claim 3, characterized in that The determining the first driving trajectory from the plurality of second driving trajectories according to the target driving intention comprises: According to the target driving intention, determining at least one third driving trajectory from the plurality of second driving trajectories, the third driving trajectory matching the target driving intention; The first driving trajectory is determined according to the at least one third driving trajectory.
5. The method according to claim 4, characterized in that The determining the first driving trajectory according to the at least one third driving trajectory includes: determining, among the at least one third driving trajectory, a third driving trajectory having the highest matching degree with the target driving intention as the first driving trajectory; or, Perform mean processing on the at least one third driving trajectory to obtain the first driving trajectory.
6. The method according to any one of claims 1 to 5, characterized in that: The obtaining the target driving trajectory of the target vehicle based on the historical driving information of the plurality of vehicles, the target driving intention and the first driving trajectory comprises: Inputting historical driving information of the multiple vehicles, the target driving intention and the first driving trajectory into a trajectory prediction network to obtain position information of the target vehicle corresponding to multiple time points; The target driving trajectory of the target vehicle is obtained according to the position information of the target vehicle corresponding to each time point in the multiple time points.
7. The method according to claim 6, characterized in that The multiple time points include a first time point, a second time point and a third time point, the first time point is a starting time point, the second time point is a time point after the first time point, and the third time point is a time point after the second time point; The step of inputting the historical driving information of the multiple vehicles, the target driving intention and the first driving trajectory into a trajectory prediction network to obtain the position information of the target vehicle corresponding to multiple time points includes: Inputting the position information of the target vehicle corresponding to the first time point, the historical driving information of the multiple vehicles, the target driving intention and the first driving trajectory into the trajectory prediction network to obtain the position information of the target vehicle corresponding to the second time point; The position information of the target vehicle corresponding to the second time point, the historical driving information of the multiple vehicles, the target driving intention and the first driving trajectory are input into the trajectory prediction network to obtain the position information of the target vehicle corresponding to the third time point.
8. A vehicle trajectory prediction device, characterized in that: The device comprises: an acquisition unit, a processing unit and a determination unit, wherein: The acquisition unit is used to acquire historical driving information of multiple vehicles, the multiple vehicles include a target vehicle and a reference vehicle, the reference vehicle is a vehicle around the target vehicle, and the historical driving information includes a historical driving trajectory; The processing unit is used to input the historical driving information of the multiple vehicles acquired by the acquisition unit into an intention recognition network, and output a target driving intention of the target vehicle, wherein the target driving intention is used to indicate a desired driving direction of the target vehicle; The determining unit is used to determine a first driving trajectory of the target vehicle from a trajectory library based on the historical driving trajectory of the target vehicle acquired by the acquiring unit and the target driving intention obtained by the processing unit, wherein the first driving trajectory matches the historical driving trajectory and the target driving intention respectively; The processing unit is further used to obtain a target driving trajectory of the target vehicle based on the historical driving information of the multiple vehicles acquired by the acquisition unit, the target driving intention and the first driving trajectory obtained by the determination unit, and the accuracy of the target driving trajectory is greater than the accuracy of the first driving trajectory.
9. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the method according to any one of claims 1 to 7.
10. A vehicle, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method according to any one of claims 1 to 7.
11. A computer-readable storage medium, characterized in that: When the computer-executable instructions stored in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is capable of performing the method as claimed in any one of claims 1 to 7.
12. A computer program product, characterized in that The computer program product comprises instructions, and when the instructions are executed on a computer, the computer performs the method as claimed in any one of claims 1 to 7 above.
Citation Information
Cited By
Driving route prediction method, electronic equipment and storage medium
CN119779337A
