Trajectory prediction method and device, equipment, storage medium and program product
By obtaining the driving data of vehicle equipment, determining the traffic scene and using the prediction model trained by the scene data set to predict the trajectory, the problem of inaccurate trajectory prediction in complex traffic environments in the existing technology is solved, and the safety and accuracy of autonomous driving are improved. sex.
Patent Information
- Application Number
- CN202410808524.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-09-27
AI Technical Summary
Existing trajectory prediction algorithms have problems such as high computational complexity and insufficient training data in complex traffic environments, resulting in inaccurate predictions and reducing the safety of autonomous driving.
By obtaining the driving data of vehicle equipment, the traffic scene is determined, and the trajectory prediction is performed based on the prediction model trained on the scene data set, including the intention prediction model and the trajectory prediction model, to improve the accuracy and safety of the prediction.
It improves the accuracy of trajectory prediction, enhances the safety of intelligent driving, enables effective trajectory prediction in complex traffic environments, and reduces the demand for computing resources and training data.
Smart Images

Figure CN118701102A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of autonomous driving technology, and in particular to trajectory prediction methods, devices, equipment, storage media and program products. Background Art
[0002] With the development of self-driving cars, self-driving technology has been widely used in the automotive industry, and vehicle trajectory prediction is one of the key technologies to achieve self-driving. At present, some trajectory prediction algorithms based on deep learning and neural networks have been proposed, but these algorithms require a large amount of training data and computing resources, and there are certain uncertainties and errors in predicting vehicle trajectories.
[0003] However, in the common trajectory prediction process, the trajectory generation algorithm based on machine learning and data analysis is used, which cannot cope with some more complex traffic environments, and has problems such as high computational complexity and insufficient training data leading to inaccurate predictions, thereby reducing the accuracy of trajectory prediction and further reducing the safety of intelligent driving. Summary of the invention
[0004] The embodiments of the present invention provide a trajectory prediction method, apparatus, device, storage medium and program product, which can improve the accuracy of trajectory prediction and thus improve the safety of intelligent driving.
[0005] The technical solution of the present invention is achieved in this way:
[0006] An embodiment of the present invention provides a trajectory prediction method, the method comprising:
[0007] Acquire driving data of a vehicle device, and determine a traffic scene corresponding to the vehicle device based on the driving data; wherein the driving data of the vehicle device includes first driving data corresponding to the current vehicle device, road data corresponding to the current vehicle device, and second driving data corresponding to other vehicle devices except the current vehicle device;
[0008] Determine a prediction model corresponding to the traffic scenario; wherein the prediction model is obtained by training based on a scenario data set;
[0009] The driving trajectory of the other vehicle equipment is determined through the prediction model based on the driving data and the traffic scenario.
[0010] In this way, the trajectory prediction device can determine the traffic scene according to the acquired driving data, and then determine the corresponding prediction model according to the traffic scene, and finally use the prediction model to predict the driving trajectory. Specifically, the prediction model can directly predict according to the prediction model corresponding to the traffic scene determined by the driving data. In the process of prediction, the prediction model can be used to predict the driving trajectory of other vehicle equipment based on the driving data and the traffic scene, thereby improving the accuracy of trajectory prediction and further improving the safety of intelligent driving.
[0011] Further, in an embodiment of the present invention, determining the traffic scene corresponding to the vehicle device based on the driving data includes:
[0012] Determine information of a target object other than the current vehicle device according to the first driving data and the second driving data; wherein the target object at least includes the other vehicle device, and the information of the target object at least includes one of the following: the type of the target object, the distance between the target object and the current vehicle, the positional relationship between the target object and the current vehicle, and the state of the target object;
[0013] The traffic scene corresponding to the vehicle equipment is determined according to the information of the target object; wherein the traffic scene includes at least: a dangerous scene, a warning scene, a safe scene and an obstacle-free scene.
[0014] In this way, when the trajectory prediction device determines the traffic scene corresponding to the vehicle equipment based on the driving data, it can first determine the information of the target object other than the current vehicle equipment; and then, it can determine the traffic scene corresponding to the vehicle equipment according to the information of the target object, thereby improving the accuracy of the trajectory prediction.
[0015] Further, in an embodiment of the present invention, determining the prediction model corresponding to the traffic scenario includes:
[0016] In the case where the traffic scene is the dangerous scene, determining a first trajectory prediction model as the prediction model; wherein the first trajectory prediction model is obtained by training based on first scene data corresponding to the dangerous scene;
[0017] In the case where the traffic scene is the warning scene, determining a second trajectory prediction model as the prediction model; wherein the second trajectory prediction model is obtained by training based on second scene data corresponding to the warning scene;
[0018] In the case where the traffic scene is the safety scene, a third trajectory prediction model is determined as the prediction model; wherein the third trajectory prediction model is obtained by training based on third scene data corresponding to the safety scene;
[0019] When the traffic scene is the barrier-free scene, a fourth trajectory prediction model is determined as the prediction model; wherein the fourth trajectory prediction model is obtained by training based on the first scene data corresponding to the barrier-free scene.
[0020] In this way, when the trajectory prediction device determines the prediction model corresponding to the traffic scene, it can determine different prediction models according to different traffic scenes, and then in different scenes, different prediction models can be used to predict the trajectory, thereby improving the accuracy of trajectory prediction and thus improving the safety of intelligent driving.
[0021] Further, in an embodiment of the present invention, the prediction model includes an intention prediction model and a trajectory prediction model, and the determining the driving trajectory of the other vehicle equipment based on the driving data and the traffic scene by the prediction model includes:
[0022] Determining the driving intention of the other vehicle equipment based on the driving data by using the intention prediction model;
[0023] The driving trajectory of the other vehicle equipment is determined through the trajectory prediction model based on the driving intention and the traffic scenario.
[0024] In this way, when the trajectory prediction device determines the driving trajectory of other vehicle equipment through the prediction model based on driving data and traffic scenarios, it can first determine the driving intention of other vehicle equipment based on the driving data through the intention prediction model; and determine the driving trajectory of other vehicle equipment based on the driving intention and traffic scenarios through the trajectory prediction model, thereby improving the accuracy of trajectory prediction and further improving the safety of intelligent driving.
[0025] Further, in an embodiment of the present invention, determining the driving intention of the other vehicle equipment based on the driving data by using the intention prediction model includes:
[0026] Determine information of the other vehicle equipment in the first coordinate system by using the intention prediction model based on first driving data corresponding to the current vehicle equipment, road data corresponding to the current vehicle equipment, and second driving data corresponding to the other vehicle equipment;
[0027] Based on the information of the other vehicle equipment in the first coordinate system and the road data corresponding to the current vehicle equipment, the driving intention of the other vehicle equipment is determined.
[0028] In this way, in the process of predicting the driving intention of other vehicle equipment, the trajectory prediction device can use the intention prediction model to first determine the information of other vehicle equipment in the first coordinate system based on the acquired driving data, and then determine the driving intention of other vehicle equipment based on the information of other vehicle equipment in the first coordinate system and the road data corresponding to the current vehicle equipment, thereby improving the accuracy of trajectory prediction and further improving the safety of intelligent driving.
[0029] Further, in an embodiment of the present invention, determining the driving trajectory of the other vehicle equipment based on the driving intention and the traffic scenario by using the trajectory prediction model includes:
[0030] Determining, by means of the trajectory prediction model, lane information corresponding to the other vehicle equipment and a motion state corresponding to the other vehicle equipment based on the driving intention and the traffic scenario;
[0031] A driving trajectory of the other vehicle device is determined based on the lane information and the motion state.
[0032] In this way, in the process of predicting the driving trajectory of other vehicle equipment, the trajectory prediction device can first determine the lane information and motion state corresponding to other vehicle equipment based on driving intention and traffic scene; and then determine the driving trajectory of other vehicle equipment based on the lane information and motion state. That is to say, when the driving intention is predicted, the other vehicle equipment is divided into different motion states based on the driving intention and traffic scene, and then different trajectory prediction methods are used to predict the driving trajectory according to different motion states, thereby improving the accuracy of trajectory prediction and thus improving the safety of intelligent driving.
[0033] An embodiment of the present invention provides a trajectory prediction device, the trajectory prediction device comprising:
[0034] An acquisition unit, used for acquiring driving data of vehicle equipment;
[0035] A determination unit is used to determine the traffic scene corresponding to the vehicle equipment based on the driving data; wherein the driving data of the vehicle equipment includes first driving data corresponding to the current vehicle equipment, road data corresponding to the current vehicle equipment, and second driving data corresponding to other vehicle equipment except the current vehicle equipment; determine a prediction model corresponding to the traffic scene; wherein the prediction model is obtained by training based on a scene data set; through the prediction model, the driving trajectory of the other vehicle equipment is determined based on the driving data and the traffic scene.
[0036] In this way, the trajectory prediction device may include an acquisition unit and a determination unit. The acquisition unit is used to acquire the driving data of the vehicle equipment; the determination unit can be used to determine the traffic scene based on the acquired driving data, and then determine the corresponding prediction model based on the traffic scene, and finally use the prediction model to predict the driving trajectory. Specifically, the prediction model is obtained by training based on the scene data set. Therefore, the prediction model does not need to process the driving data again, but directly predicts based on the prediction model corresponding to the traffic scene determined by the driving data. In the process of prediction, the driving intention of other vehicle equipment can be predicted based on the intention prediction model and the driving data, and then the driving trajectory of other vehicle equipment can be predicted based on the driving intention and the traffic scene through the trajectory prediction model, so that the accuracy of trajectory prediction can be improved, and the safety of intelligent driving can be improved.
[0037] An embodiment of the present invention provides a trajectory prediction device, which includes: a processor and a storage medium storing executable instructions, wherein the storage medium relies on the processor to perform operations through a communication bus, and when the executable instructions are executed by the processor, the trajectory prediction method described in one or more of the above embodiments is executed.
[0038] An embodiment of the present invention provides a computer storage medium storing executable instructions. When the executable instructions are executed by a processor, the processor executes the trajectory prediction method as described in one or more embodiments.
[0039] An embodiment of the present invention provides a computer program product, including a computer program or instructions. When the computer program or instructions are executed by a processor, the trajectory prediction method as described in one or more embodiments is executed.
[0040] Beneficial effects of the present invention:
[0041] The trajectory prediction device can determine the traffic scene based on the acquired driving data, and then determine the corresponding prediction model based on the traffic scene, and finally use the prediction model to predict the driving trajectory. Specifically, the prediction model is obtained by training based on the scene data set. Therefore, the prediction model can directly predict the prediction model corresponding to the traffic scene determined by the driving data. In the process of prediction, the prediction model can be used to predict the driving trajectory of other vehicle equipment based on the driving data and the traffic scene, thereby improving the accuracy of trajectory prediction and further improving the safety of intelligent driving. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 A schematic diagram of a trajectory prediction method provided by an embodiment of the present invention Figure 1 ;
[0043] Figure 2A schematic diagram of a trajectory prediction method provided by an embodiment of the present invention Figure 2 ;
[0044] Figure 3 A schematic diagram of a trajectory prediction method provided by an embodiment of the present invention Figure 3 ;
[0045] Figure 4 A schematic diagram of a trajectory prediction method provided by an embodiment of the present invention Figure 4 ;
[0046] Figure 5 A schematic diagram of a trajectory prediction method provided by an embodiment of the present invention Figure 5 ;
[0047] Figure 6 A schematic diagram of a prediction model classification process provided by an embodiment of the present invention;
[0048] Figure 7 A schematic diagram of a flow chart of a method for predicting a cut-in intention provided by an embodiment of the present invention;
[0049] Figure 8 A schematic diagram of a trajectory prediction method provided by an embodiment of the present invention Figure 6 ;
[0050] Fig. 9 A schematic diagram of a trajectory prediction method provided by an embodiment of the present invention Figure 7 ;
[0051] Fig.10 A schematic diagram of the structure of a trajectory prediction device provided by an embodiment of the present invention;
[0052] Fig.11 A schematic diagram of the structure of a trajectory prediction device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0053] With the development of autonomous driving technology, the prediction of vehicle trajectories is one of the key technologies to solve traffic planning and optimal path problems. At present, some trajectory prediction algorithms based on deep learning and neural networks have been proposed, but these algorithms require a large amount of training data and computing resources, and there are certain uncertainties and errors in predicting vehicle trajectories.
[0054] In the related technology, the trajectory generation algorithm based on machine learning and data analysis is used in the process of trajectory prediction. It has the problems of high computational cost and insufficient training data, resulting in inaccurate prediction. It cannot cope with some more complex traffic environments and thus cannot improve the safety of the vehicle.
[0055] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0056] An embodiment of the present invention proposes a trajectory prediction method. The driving trajectory generated by the trajectory prediction method proposed in the embodiment of the present invention can improve the accuracy of trajectory prediction and thus improve the safety of intelligent driving.
[0057] Furthermore, in an embodiment of the present invention, Figure 1 A schematic diagram of a trajectory prediction method provided by an embodiment of the present invention Figure 1 ,like Figure 1 As shown, the trajectory prediction method may include the following steps:
[0058] S101: Acquire driving data of vehicle equipment, and determine a traffic scene corresponding to the vehicle equipment based on the driving data; wherein the driving data of the vehicle equipment includes first driving data corresponding to the current vehicle equipment, road data corresponding to the current vehicle equipment, and second driving data corresponding to other vehicle equipment except the current vehicle equipment.
[0059] In an embodiment of the present invention, during the trajectory prediction process, the trajectory prediction device may first obtain first driving data corresponding to the current vehicle equipment, road data corresponding to the current vehicle equipment, and second driving data corresponding to other vehicle equipment except the current vehicle equipment, and then determine the traffic scene corresponding to the vehicle equipment based on the first driving data corresponding to the current vehicle equipment, the road data corresponding to the current vehicle equipment, and the second driving data corresponding to other vehicle equipment except the current vehicle equipment.
[0060] Exemplarily, in an embodiment of the present invention, driving data may be acquired through sensors or a perception fusion system configured on vehicle equipment.
[0061] Exemplarily, in an embodiment of the present invention, the driving data may include first driving data corresponding to the current vehicle device, road data corresponding to the current vehicle device, and second driving data corresponding to other vehicle devices except the current vehicle device.
[0062] Exemplarily, in the embodiment of the present invention, the driving data may include data of the surrounding environment, that is, data of obstacles around the vehicle equipment, which is not limited in the embodiment of the present invention.
[0063] Exemplarily, in an embodiment of the present invention, the first driving data corresponding to the current vehicle device may include: the current speed of the current vehicle device, the historical trajectory of the current vehicle device, etc., which are not limited in the embodiment of the present invention.
[0064] Exemplarily, in an embodiment of the present invention, the road data corresponding to the current vehicle equipment may include: road information of the current vehicle equipment in the vehicle coordinate system, that is, the boundary lines and center lines of all lanes within a certain range of the current vehicle at the current moment can be obtained through the perception fusion system configured by the current vehicle equipment.
[0065] Exemplarily, in an embodiment of the present invention, the second driving data corresponding to other vehicle equipment except the current vehicle equipment may include: position information corresponding to other vehicle equipment except the current vehicle equipment, driving direction corresponding to other vehicle equipment except the current vehicle equipment, vehicle speed corresponding to other vehicle equipment except the current vehicle equipment, acceleration corresponding to other vehicle equipment except the current vehicle equipment, etc., which are not limited in the embodiment of the present invention.
[0066] In the embodiment of the present invention, the traffic scene may be determined based on the acquired driving data.
[0067] For example, in an embodiment of the present invention, different traffic scenes can be determined according to different driving data, that is, the traffic scene is determined according to the first driving data and the second driving data. The traffic scenes include at least: dangerous scenes, warning scenes, safe scenes and barrier-free scenes.
[0068] Exemplarily, in an embodiment of the present invention, when the current vehicle device and other vehicle devices other than the current vehicle device are moving in opposite directions, it can be determined that the traffic scene at this time is a dangerous scene, which is not limited in the embodiment of the present invention.
[0069] Exemplarily, in an embodiment of the present invention, when other vehicle devices except the current vehicle device are in a crossing state, it can be determined that the traffic scene at this time is a dangerous scene, which is not limited in the embodiment of the present invention.
[0070] Exemplarily, in an embodiment of the present invention, when other vehicle devices except the current vehicle device are in a non-crossing state, it can be determined that the traffic scene at this time is a warning scene, which is not limited in the embodiment of the present invention.
[0071] Exemplarily, in an embodiment of the present invention, when the current vehicle device and other vehicle devices other than the current vehicle device are moving in the same direction, it can be determined that the traffic scene at this time is a warning scene, which is not limited in the embodiment of the present invention.
[0072] Exemplarily, in an embodiment of the present invention, when other vehicle devices except the current vehicle device are in a stationary motion state relative to the current vehicle device, it can be determined that the traffic scene at this time is a safe scene, which is not limited in the embodiment of the present invention.
[0073] Exemplarily, in an embodiment of the present invention, when the distance between the current vehicle device and other vehicle devices other than the current vehicle device satisfies a preset distance condition, it can be determined that the traffic scene at this time is a safe scene, which is not limited in the embodiment of the present invention.
[0074] Exemplarily, in an embodiment of the present invention, when other vehicle devices except the current vehicle device only include pedestrians, it can be determined that the traffic scene at this time is an obstacle-free scene, which is not limited in the embodiment of the present invention.
[0075] For example, in the embodiment of the present invention, the barrier-free scene may be a traffic scene determined when there are no vehicles within a short distance, which is not limited in the embodiment of the present invention.
[0076] Furthermore, in an embodiment of the present invention, when determining the traffic scene corresponding to the vehicle equipment based on the driving data, the trajectory prediction device can determine the information of the target object other than the current vehicle equipment based on the first driving data and the second driving data; wherein the target object includes at least other vehicle equipment, and the information of the target object includes at least one of the following: the type of the target object, the distance between the target object and the current vehicle, the positional relationship between the target object and the current vehicle, and the state of the target object; determine the traffic scene corresponding to the vehicle equipment based on the information of the target object other than the current vehicle equipment.
[0077] In the embodiment of the present invention, the information of the target object may include at least one of the following: the type of the target object, the distance between the target object and the current vehicle, the positional relationship between the target object and the current vehicle, and the state of the target object.
[0078] Exemplarily, in the embodiment of the present invention, the types of target objects may include: motor vehicles, pedestrians, and other obstacles, which are not limited in the embodiment of the present invention.
[0079] Exemplarily, in the embodiment of the present invention, the distance between the target object and the current vehicle may be the longitudinal distance between the target object and the current vehicle.
[0080] For example, in the embodiment of the present invention, the positional relationship between the target object and the current vehicle may be a positional relationship in which the target object and the current vehicle are in opposite directions or in the same direction, which is not limited in the embodiment of the present invention.
[0081] Illustratively, in the embodiment of the present invention, the state of the target object may include: a crossing state and a non-crossing state, which is not limited in the embodiment of the present invention.
[0082] S102: Determine a prediction model corresponding to the traffic scenario; wherein the prediction model is obtained by training based on a scenario data set.
[0083] In an embodiment of the present invention, after obtaining driving data of a vehicle device and determining a traffic scene corresponding to the vehicle device based on the driving data, the trajectory prediction device can determine a prediction model corresponding to the traffic scene; wherein the prediction model is obtained by training based on a scene data set.
[0084] In the embodiment of the present invention, the prediction model may be determined according to the traffic scene, wherein different prediction models may be determined corresponding to different traffic scenes.
[0085] In an embodiment of the present invention, a mapping relationship between driving data and traffic scenarios is pre-constructed, wherein the mapping relationship between driving data and traffic scenarios can be used to select corresponding trajectory prediction models under different traffic scenarios.
[0086] In the embodiment of the present invention, the prediction model is obtained by training based on the scene data set, that is, different prediction models can be obtained through different scene data sets.
[0087] In an embodiment of the present invention, the prediction model obtained by training based on the scene data set may include different trajectory prediction models suitable for different traffic scenarios, for example, a first trajectory prediction model corresponding to a dangerous scenario, a second trajectory prediction model corresponding to a warning scenario, a third trajectory prediction model corresponding to a safe scenario, and a fourth trajectory prediction model corresponding to an barrier-free scenario, which is not limited in the embodiment of the present invention.
[0088] Exemplarily, in an embodiment of the present invention, the scene data set may include first scene data corresponding to a dangerous scene, and the first scene data can be used to train a first trajectory prediction model; the scene data set may include second scene data corresponding to a warning scene, and the second scene data can be used to train a second trajectory prediction model; the scene data set may include third scene data corresponding to a safe scene, and the third scene data can be used to train a third trajectory prediction model; the scene data set may include fourth scene data corresponding to an barrier-free scene, and the fourth scene data can be used to train a fourth trajectory prediction model.
[0089] Further, in an embodiment of the present invention, when determining the prediction model corresponding to the traffic scene, when the traffic scene is a dangerous scene, the trajectory prediction device may determine the first trajectory prediction model as the prediction model; wherein the first trajectory prediction model is obtained by training based on a first scene data set corresponding to the dangerous scene; when the traffic scene is a warning scene, the trajectory prediction device may determine the second trajectory prediction model as the prediction model; wherein the second trajectory prediction model is obtained by training based on a second scene data set corresponding to the warning scene; when the traffic scene is a safe scene, the trajectory prediction device may determine the third trajectory prediction model as the prediction model; wherein the third trajectory prediction model is obtained by training based on a third scene data set corresponding to the safe scene; when the traffic scene is an accessible scene, the trajectory prediction device may determine the fourth trajectory prediction model as the prediction model; wherein the fourth trajectory prediction model is obtained by training based on the first scene data set corresponding to the accessible scene.
[0090] In the embodiment of the present invention, different prediction models can be determined in different traffic scenarios to predict the driving trajectory through different prediction models.
[0091] S103: Determine the driving trajectory of other vehicle equipment based on the driving data and traffic scenarios through the prediction model.
[0092] In an embodiment of the present invention, after determining the prediction model corresponding to the traffic scene, the trajectory prediction device can determine the driving intention of other vehicle equipment based on the driving data through the intention prediction model.
[0093] In an embodiment of the present invention, the trajectory prediction device can determine the driving intention of other vehicle equipment based on the first driving data corresponding to the current vehicle equipment, the road data corresponding to the current vehicle equipment, and the second driving data corresponding to other vehicle equipment except the current vehicle equipment.
[0094] Exemplarily, in an embodiment of the present invention, the driving intention of other vehicle equipment may be that other vehicle equipment except the current vehicle equipment approaches the lane corresponding to the current vehicle equipment from other lanes and cuts into the lane corresponding to the current vehicle equipment, which is not limited in the embodiment of the present invention.
[0095] Furthermore, in an embodiment of the present invention, when the driving intention of other vehicle equipment is determined based on the driving data through the intention prediction model, the trajectory prediction device can determine the information of other vehicle equipment in the first coordinate system through the intention prediction model based on the first driving data corresponding to the current vehicle equipment, the road data corresponding to the current vehicle equipment, and the second driving data corresponding to the other vehicle equipment; and then based on the information of other vehicle equipment in the first coordinate system and the road data corresponding to the current vehicle equipment, the driving intention of other vehicle equipment can be determined.
[0096] In an embodiment of the present invention, the information of other vehicle equipment in the first coordinate system may include: the tangential and normal positions of other vehicle equipment in the reference path, the vehicle speeds corresponding to other vehicle equipment, and the accelerations corresponding to other vehicle equipment.
[0097] Exemplarily, in an embodiment of the present invention, by comparing the absolute value of the numerical value corresponding to the position of the other vehicle equipment in the normal direction of the reference path with the numerical value of half the lane width, it can be determined whether the other vehicle equipment has the driving intention to cut into the lane corresponding to the current vehicle equipment.
[0098] Exemplarily, in an embodiment of the present invention, when the absolute value of the numerical value corresponding to the position in the normal direction is less than or equal to the value of half the lane width, it can be determined that other vehicle equipment will enter the lane corresponding to the current vehicle equipment after a certain prediction time.
[0099] Exemplarily, in an embodiment of the present invention, when the absolute value of the numerical value corresponding to the position in the normal direction is greater than the value of half the lane width, it can be determined that other vehicle devices will not cut into the lane corresponding to the current vehicle device.
[0100] Furthermore, in an embodiment of the present invention, the prediction model includes an intention prediction model and a trajectory prediction model. When determining the driving trajectory of other vehicle equipment based on driving data and traffic scenarios through the prediction model, the trajectory prediction device can determine the driving intention of other vehicle equipment based on the driving data through the intention prediction model; and determine the driving trajectory of other vehicle equipment based on the driving intention and traffic scenarios through the trajectory prediction model.
[0101] In an embodiment of the present invention, after determining the driving intention of other vehicle equipment based on driving data through the intention prediction model, the trajectory prediction device can determine the driving trajectory of other vehicle equipment based on the driving intention and traffic scene through the trajectory prediction model.
[0102] In the embodiment of the present invention, the driving trajectory of other vehicle equipment may be determined by a trajectory prediction device through a trajectory prediction model based on pre-predicted driving intentions and traffic scenarios.
[0103] It should be noted that, in the embodiment of the present invention, the prediction model may include an intention prediction model and a trajectory prediction model.
[0104] In an embodiment of the present invention, the intention prediction model can be used to predict the driving intention corresponding to other vehicle devices other than the current vehicle device.
[0105] In an embodiment of the present invention, the trajectory prediction model may be used to predict driving trajectories corresponding to other vehicle devices other than the current vehicle device.
[0106] Furthermore, in an embodiment of the present invention, when determining the driving trajectory of other vehicle equipment based on driving intention and traffic scene through a trajectory prediction model, the trajectory prediction device can determine the lane information corresponding to the other vehicle equipment and the motion state corresponding to the other vehicle equipment through the trajectory prediction model based on driving intention and traffic scene; and then can determine the driving trajectory of other vehicle equipment based on the lane information and motion state.
[0107] Exemplarily, in an embodiment of the present invention, lane information corresponding to other vehicle devices may include: the relative distance between the current vehicle device and other vehicle devices other than the current vehicle device, and the relative direction between the current vehicle device and other vehicle devices other than the current vehicle device, which is not limited in the embodiment of the present invention.
[0108] In the embodiment of the present invention, the motion states corresponding to other vehicle devices may include: a stationary state, a driving state along a lane, and a normal motion state.
[0109] Illustratively, in an embodiment of the present invention, the trajectory prediction device may classify other vehicle equipment into different motion states based on driving intention and traffic scenarios through a trajectory prediction model, and then use different trajectory prediction methods to predict the driving trajectory according to different motion states.
[0110] For example, in an embodiment of the present invention, when the target vehicle device is in front of the current vehicle device and the predicted lane fails, and the movement trend is opposite or across movement, the target vehicle device can use a common motion trajectory prediction model. Based on a pure kinematic model, without considering road constraints, uniform acceleration motion inference is performed based on the current target position, speed, and acceleration obtained from perception fusion to generate a predicted trajectory of the target in the next 8 seconds.
[0111] For example, in the embodiment of the present invention, when the movement trend of the target vehicle device is stationary, and the target vehicle device is 70m behind the current vehicle device, and the target vehicle device is behind the current vehicle device and the predicted lane fails, the target vehicle device adopts the stationary trajectory prediction model. The positions of all trajectory points in the predicted trajectory in the next 8s are consistent with the current target position, and the speed and acceleration are both zero.
[0112] For example, in an embodiment of the present invention, when the target vehicle device predicts that the lane is valid, the target vehicle device can adopt a prediction model for the motion trajectory along the lane. Based on the predicted lane line, the motion parameters (tangential acceleration, normal velocity relative to the predicted lane, acceleration) inferred by intention prediction, and the current position and velocity obtained from perception fusion, uniform acceleration motion inference is performed, and the target vehicle device is constrained within the predicted lane boundary during the inference process.
[0113] To summarize, through the trajectory prediction method proposed in S101 to S103, the trajectory prediction device can determine the traffic scene based on the acquired driving data, and then predict the driving trajectory of other vehicle equipment on the traffic scene; first, the trajectory prediction device can determine the prediction model corresponding to the traffic scene according to the traffic scene, and the prediction model is obtained by training based on the scene data set; secondly, through the prediction model, the trajectory prediction device can predict the driving trajectory based on the driving data and the traffic scene.
[0114] It can be seen that in the embodiment of the present invention, the trajectory prediction device can determine the traffic scene based on the acquired driving data, and then determine the corresponding prediction model based on the traffic scene, and finally use the prediction model to predict the driving trajectory. Specifically, the prediction model is obtained by training based on the scene data set. Therefore, the prediction model can directly predict the prediction model corresponding to the traffic scene determined by the driving data. In the process of prediction, the prediction model can be used to predict the driving trajectory of other vehicle equipment based on the driving data and the traffic scene, thereby improving the accuracy of trajectory prediction and further improving the safety of intelligent driving.
[0115] Based on the above embodiments, another embodiment of the present invention provides a trajectory prediction method, wherein the trajectory prediction can obtain the driving data of the vehicle equipment; wherein the driving data of the vehicle equipment includes the first driving data corresponding to the current vehicle equipment, the road data corresponding to the current vehicle equipment, and the second driving data corresponding to other vehicle equipment except the current vehicle equipment; determine the traffic scene corresponding to the vehicle equipment; determine the prediction model corresponding to the traffic scene; wherein the prediction model includes an intention prediction model and a trajectory prediction model, and the prediction model is obtained by training based on the scene data set; through the intention prediction model, based on the first driving data corresponding to the current vehicle equipment, the road data corresponding to the current vehicle equipment, and the second driving data corresponding to other vehicle equipment, determine the information of other vehicle equipment in the first coordinate system; based on the information of other vehicle equipment in the first coordinate system and the road data corresponding to the current vehicle equipment, determine the driving intention of other vehicle equipment; through the trajectory prediction model, determine the lane information corresponding to other vehicle equipment and the motion state corresponding to other vehicle equipment based on the driving intention and the traffic scene; determine the driving trajectory of other vehicle equipment based on the lane information and the motion state; determine the driving trajectory of the current vehicle equipment according to the driving intention of other vehicle equipment and the driving trajectory of other vehicles.
[0116] Furthermore, in an embodiment of the present invention, Figure 2 A schematic diagram of a trajectory prediction method provided by an embodiment of the present invention Figure 2 ,like Figure 2 As shown, the trajectory prediction method may include the following steps:
[0117] S201: Acquire driving data of a vehicle device; wherein the driving data of the vehicle device includes first driving data corresponding to the current vehicle device, road data corresponding to the current vehicle device, and second driving data corresponding to other vehicle devices except the current vehicle device.
[0118] In an embodiment of the present invention, the trajectory prediction device can obtain driving data of vehicle equipment; wherein the driving data of the vehicle equipment includes first driving data corresponding to the current vehicle equipment, road data corresponding to the current vehicle equipment, and second driving data corresponding to other vehicle equipment except the current vehicle equipment.
[0119] Exemplarily, in an embodiment of the present invention, driving data may be acquired through sensors or a perception fusion system configured on vehicle equipment.
[0120] Exemplarily, in an embodiment of the present invention, the driving data may include first driving data corresponding to the current vehicle device, road data corresponding to the current vehicle device, and second driving data corresponding to other vehicle devices except the current vehicle device.
[0121] Exemplarily, in an embodiment of the present invention, the first driving data corresponding to the current vehicle device may include: the current speed of the current vehicle device, the historical trajectory of the current vehicle device, etc., which are not limited in the embodiment of the present invention.
[0122] Exemplarily, in an embodiment of the present invention, the road data corresponding to the current vehicle equipment may include: road information of the current vehicle equipment in the vehicle coordinate system, that is, the boundary lines and center lines of all lanes within a certain range of the current vehicle at the current moment can be obtained through the perception fusion system configured by the current vehicle equipment.
[0123] Exemplarily, in an embodiment of the present invention, the second driving data corresponding to other vehicle equipment except the current vehicle equipment may include: position information corresponding to other vehicle equipment except the current vehicle equipment, driving direction corresponding to other vehicle equipment except the current vehicle equipment, vehicle speed corresponding to other vehicle equipment except the current vehicle equipment, acceleration corresponding to other vehicle equipment except the current vehicle equipment, etc., which are not limited in the embodiment of the present invention.
[0124] S202: Determine information of target objects other than the current vehicle equipment based on the first driving data and the second driving data; wherein the target objects include at least other vehicle equipment, and the information of the target objects includes at least one of the following: the type of the target object, the distance between the target object and the current vehicle, the positional relationship between the target object and the current vehicle, and the state of the target object.
[0125] In an embodiment of the present invention, after acquiring the driving data of the vehicle equipment, the trajectory prediction device can determine the information of the target object other than the current vehicle equipment based on the first driving data and the second driving data; wherein the target object includes at least other vehicle equipment, and the information of the target object includes at least one of the following: the type of the target object, the distance between the target object and the current vehicle, the positional relationship between the target object and the current vehicle, and the state of the target object.
[0126] In the embodiment of the present invention, the information of the target object may include at least one of the following: the type of the target object, the distance between the target object and the current vehicle, the positional relationship between the target object and the current vehicle, and the state of the target object.
[0127] Exemplarily, in the embodiment of the present invention, the types of target objects may include: motor vehicles, pedestrians, and other obstacles, which are not limited in the embodiment of the present invention.
[0128] Exemplarily, in the embodiment of the present invention, the distance between the target object and the current vehicle may be the longitudinal distance between the target object and the current vehicle.
[0129] For example, in the embodiment of the present invention, the positional relationship between the target object and the current vehicle may be a positional relationship in which the target object and the current vehicle are in opposite directions or in the same direction, which is not limited in the embodiment of the present invention.
[0130] Illustratively, in the embodiment of the present invention, the state of the target object may include: a crossing state and a non-crossing state, which is not limited in the embodiment of the present invention.
[0131] S203: Determine a traffic scene corresponding to the vehicle device according to information of a target object other than the current vehicle device; wherein the traffic scene includes at least: a danger scene, a warning scene, a safety scene and an accessibility scene.
[0132] In an embodiment of the present invention, after determining the information of the target object other than the current vehicle equipment based on the first driving data and the second driving data, the trajectory prediction device can determine the traffic scene corresponding to the vehicle equipment based on the information of the target object other than the current vehicle equipment; wherein the traffic scene includes at least: a dangerous scene, a warning scene, a safe scene and an barrier-free scene.
[0133] In an embodiment of the present invention, the trajectory prediction device can pre-construct a mapping relationship between driving data and traffic scenes, wherein the mapping relationship between driving data and traffic scenes can be used to select corresponding trajectory prediction models under different traffic scenes.
[0134] In the embodiment of the present invention, the mapping relationship between the driving data and the traffic scene may be a corresponding relationship between the driving data and the traffic scene.
[0135] In the embodiment of the present invention, the traffic scenes corresponding to the vehicle equipment may include: dangerous scenes, warning scenes, safe scenes and barrier-free scenes.
[0136] Exemplarily, in an embodiment of the present invention, when the current vehicle device and other vehicle devices other than the current vehicle device are moving in opposite directions, it can be determined that the traffic scene at this time is a dangerous scene, which is not limited in the embodiment of the present invention.
[0137] Exemplarily, in an embodiment of the present invention, when other vehicle devices except the current vehicle device are in a crossing state, it can be determined that the traffic scene at this time is a dangerous scene, which is not limited in the embodiment of the present invention.
[0138] Exemplarily, in an embodiment of the present invention, when other vehicle devices except the current vehicle device are in a non-crossing state, it can be determined that the traffic scene at this time is a warning scene, which is not limited in the embodiment of the present invention.
[0139] Exemplarily, in an embodiment of the present invention, when the current vehicle device and other vehicle devices other than the current vehicle device are moving in the same direction, it can be determined that the traffic scene at this time is a warning scene, which is not limited in the embodiment of the present invention.
[0140] Exemplarily, in an embodiment of the present invention, when other vehicle devices except the current vehicle device are in a stationary motion state relative to the current vehicle device, it can be determined that the traffic scene at this time is a safe scene, which is not limited in the embodiment of the present invention.
[0141] Exemplarily, in an embodiment of the present invention, when the distance between the current vehicle device and other vehicle devices other than the current vehicle device satisfies a preset distance condition, it can be determined that the traffic scene at this time is a safe scene, which is not limited in the embodiment of the present invention.
[0142] Exemplarily, in an embodiment of the present invention, when other vehicle devices except the current vehicle device only include pedestrians, it can be determined that the traffic scene at this time is an obstacle-free scene, which is not limited in the embodiment of the present invention.
[0143] For example, in the embodiment of the present invention, the barrier-free scene may be a traffic scene determined when there are no vehicles within a short distance, which is not limited in the embodiment of the present invention.
[0144] S204: When the traffic scene is a dangerous scene, determine a first trajectory prediction model as the prediction model; wherein the first trajectory prediction model is obtained by training based on a first scene data set corresponding to the dangerous scene.
[0145] In an embodiment of the present invention, after determining the traffic scene corresponding to the vehicle equipment according to information of the target object other than the current vehicle equipment, the trajectory prediction device may determine the first trajectory prediction model as the prediction model when the traffic scene is a dangerous scene.
[0146] Furthermore, in an embodiment of the present invention, Figure 3 A schematic diagram of a trajectory prediction method provided by an embodiment of the present invention Figure 3 ,like Figure 3 As shown, the trajectory prediction method may further include the following steps:
[0147] S205: When the traffic scene is a warning scene, determine the second trajectory prediction model as the prediction model; wherein the second trajectory prediction model is obtained by training based on a second scene data set corresponding to the warning scene.
[0148] In an embodiment of the present invention, after determining the traffic scene corresponding to the vehicle equipment according to the information of the target object other than the current vehicle equipment, the trajectory prediction device may determine the second trajectory prediction model as the prediction model when the traffic scene is a warning scene.
[0149] Furthermore, in an embodiment of the present invention, Figure 4 A schematic diagram of a trajectory prediction method provided by an embodiment of the present invention Figure 4 ,like Figure 4 As shown, the trajectory prediction method may further include the following steps:
[0150] S206: When the traffic scene is a safety scene, determine the third trajectory prediction model as the prediction model; wherein the third trajectory prediction model is obtained by training based on a third scene data set corresponding to the safety scene.
[0151] In an embodiment of the present invention, after determining the traffic scene corresponding to the vehicle equipment according to the information of the target object other than the current vehicle equipment, the trajectory prediction device may determine the third trajectory prediction model as the prediction model when the traffic scene is a safe scene.
[0152] Furthermore, in an embodiment of the present invention, Figure 5 A schematic diagram of a trajectory prediction method provided by an embodiment of the present invention Figure 5 ,like Figure 5 As shown, the trajectory prediction method may further include the following steps:
[0153] S207: When the traffic scene is an obstacle-free scene, determine a fourth trajectory prediction model as the prediction model; wherein the fourth trajectory prediction model is obtained by training based on a fourth scene data set corresponding to the obstacle-free scene.
[0154] In an embodiment of the present invention, after determining the traffic scene corresponding to the vehicle equipment according to information of the target object other than the current vehicle equipment, the trajectory prediction device may determine the fourth trajectory prediction model as the prediction model when the traffic scene is an obstacle-free scene.
[0155] In an embodiment of the present invention, after determining the traffic scene corresponding to the vehicle equipment based on the mapping relationship between driving data and traffic scenes and the pre-processed driving data, the trajectory prediction device can determine the prediction model corresponding to the traffic scene; wherein the prediction model includes an intention prediction model and a trajectory prediction model, and the prediction model is obtained by training based on the scene data set.
[0156] In an embodiment of the present invention, the prediction model may be determined according to a traffic scenario.
[0157] Illustratively, in an embodiment of the present invention, a corresponding first prediction model may be determined according to a first traffic scenario, or a corresponding second prediction model may be determined according to a second traffic scenario, which is not limited in the embodiment of the present invention.
[0158] It should be noted that, in the embodiment of the present invention, the prediction model may include an intention prediction model and a trajectory prediction model.
[0159] In an embodiment of the present invention, the intention prediction model can be used to predict the driving intention corresponding to other vehicle devices other than the current vehicle device.
[0160] In an embodiment of the present invention, the trajectory prediction model may be used to predict driving trajectories corresponding to other vehicle devices other than the current vehicle device.
[0161] In the embodiment of the present invention, the prediction model is obtained by training based on the scene data set, that is, different prediction models can be obtained through different scene data sets.
[0162] S208: Determine information of other vehicle equipment in the first coordinate system through the intention prediction model based on the first driving data corresponding to the current vehicle equipment, the road data corresponding to the current vehicle equipment, and the second driving data corresponding to other vehicle equipment.
[0163] In an embodiment of the present invention, after determining the prediction model corresponding to the traffic scene, the trajectory prediction device can determine the information of other vehicle equipment in the first coordinate system through the intention prediction model based on the first driving data corresponding to the current vehicle equipment, the road data corresponding to the current vehicle equipment, and the second driving data corresponding to the other vehicle equipment.
[0164] In an embodiment of the present invention, the information of other vehicle equipment in the first coordinate system may include: the tangential and normal positions of other vehicle equipment in the reference path, the vehicle speeds corresponding to other vehicle equipment, and the accelerations corresponding to other vehicle equipment.
[0165] S209: Determine the driving intention of other vehicle equipment based on the information of other vehicle equipment in the first coordinate system and the road data corresponding to the current vehicle equipment.
[0166] In an embodiment of the present invention, after determining the information of other vehicle equipment in the first coordinate system, the trajectory prediction device can determine the driving intention of other vehicle equipment based on the information of other vehicle equipment in the first coordinate system and the road data corresponding to the current vehicle equipment.
[0167] Exemplarily, in an embodiment of the present invention, the driving intention of other vehicle equipment may be that other vehicle equipment except the current vehicle equipment approaches the lane corresponding to the current vehicle equipment from other lanes and cuts into the lane corresponding to the current vehicle equipment, which is not limited in the embodiment of the present invention.
[0168] Exemplarily, in an embodiment of the present invention, by comparing the absolute value of the numerical value corresponding to the position of the other vehicle equipment in the normal direction of the reference path with the numerical value of half the lane width, it can be determined whether the other vehicle equipment has the driving intention to cut into the lane corresponding to the current vehicle equipment.
[0169] Exemplarily, in an embodiment of the present invention, when the absolute value of the numerical value corresponding to the position in the normal direction is less than or equal to the value of half the lane width, it can be determined that other vehicle equipment will enter the lane corresponding to the current vehicle equipment after a certain prediction time.
[0170] Exemplarily, in an embodiment of the present invention, when the absolute value of the numerical value corresponding to the position in the normal direction is greater than the value of half the lane width, it can be determined that other vehicle devices will not cut into the lane corresponding to the current vehicle device.
[0171] S210: Determine lane information corresponding to other vehicle equipment and motion states corresponding to other vehicle equipment based on driving intention and traffic scenarios through a trajectory prediction model.
[0172] In an embodiment of the present invention, after determining the driving intention of other vehicle equipment based on the information of other vehicle equipment in the first coordinate system and the road data corresponding to the current vehicle equipment, the trajectory prediction device can determine the lane information corresponding to other vehicle equipment and the motion state corresponding to other vehicle equipment based on the driving intention and the traffic scene through a trajectory prediction model.
[0173] Exemplarily, in an embodiment of the present invention, lane information corresponding to other vehicle devices may include: the relative distance between the current vehicle device and other vehicle devices other than the current vehicle device, and the relative direction between the current vehicle device and other vehicle devices other than the current vehicle device, which is not limited in the embodiment of the present invention.
[0174] In the embodiment of the present invention, the motion states corresponding to other vehicle devices may include: a stationary state, a driving state along a lane, and a normal motion state.
[0175] S211: Determine the driving trajectory of other vehicle equipment based on the lane information and the motion state.
[0176] In an embodiment of the present invention, after determining the lane information and motion status corresponding to other vehicle equipment based on driving intention and traffic scenarios through a trajectory prediction model, the trajectory prediction device can determine the driving trajectory of other vehicle equipment based on the lane information and motion status.
[0177] In the embodiment of the present invention, the driving trajectory of other vehicle equipment may be determined by a trajectory prediction device through a trajectory prediction model based on pre-predicted driving intentions and traffic scenarios.
[0178] Illustratively, in an embodiment of the present invention, the trajectory prediction device may classify other vehicle equipment into different motion states based on driving intention and traffic scenarios through a trajectory prediction model, and then use different trajectory prediction methods to predict the driving trajectory according to different motion states.
[0179] For example, in an embodiment of the present invention, when the target vehicle device is in front of the current vehicle device and the predicted lane fails, and the movement trend is opposite or across movement, the target vehicle device can use a common motion trajectory prediction model. Based on a pure kinematic model, without considering road constraints, uniform acceleration motion inference is performed based on the current target position, speed, and acceleration obtained from perception fusion to generate a predicted trajectory of the target in the next 8 seconds.
[0180] For example, in the embodiment of the present invention, when the movement trend of the target vehicle device is stationary, and the target vehicle device is 70m behind the current vehicle device, and the target vehicle device is behind the current vehicle device and the predicted lane fails, the target vehicle device adopts the stationary trajectory prediction model. The positions of all trajectory points in the predicted trajectory in the next 8s are consistent with the current target position, and the speed and acceleration are both zero.
[0181] For example, in an embodiment of the present invention, when the target vehicle device predicts that the lane is valid, the target vehicle device can adopt a prediction model for the motion trajectory along the lane. Based on the predicted lane line, the motion parameters (tangential acceleration, normal velocity relative to the predicted lane, acceleration) inferred by intention prediction, and the current position and velocity obtained from perception fusion, uniform acceleration motion inference is performed, and the target vehicle device is constrained within the predicted lane boundary during the inference process.
[0182] In an embodiment of the present invention, after determining the driving trajectory of other vehicle equipment based on lane information and motion status, the trajectory prediction device can determine the driving trajectory of the current vehicle equipment according to the driving intention of other vehicle equipment and the driving trajectory of other vehicles.
[0183] In an embodiment of the present invention, the trajectory prediction device can determine the driving trajectory of the current vehicle equipment according to the driving intention and driving trajectory of other vehicle equipment, so that the current vehicle equipment can perform intelligent driving based on the driving trajectory.
[0184] In summary, through a trajectory prediction method proposed from S201 to S211, a trajectory prediction device can obtain driving data of vehicle equipment; wherein, the driving data of the vehicle equipment includes first driving data corresponding to the current vehicle equipment, road data corresponding to the current vehicle equipment, and second driving data corresponding to other vehicle equipment except the current vehicle equipment; according to the first driving data and the second driving data, determine the information of target objects other than the current vehicle equipment; wherein, the target objects at least include other vehicle equipment, and the information of the target objects includes at least one of the following: the type of the target object, the distance between the target object and the current vehicle, the positional relationship between the target object and the current vehicle, and the state of the target object; determine the traffic scene corresponding to the vehicle equipment according to the information of the target objects other than the current vehicle equipment; wherein the traffic scene at least includes: dangerous scenes, warning scenes, safe scenes and barrier-free scenes; when the traffic scene is a dangerous scene, determine the first trajectory prediction model as the prediction model; wherein the first trajectory prediction model is obtained by training based on the first scene data set corresponding to the dangerous scene; when the traffic scene is a warning scene, determine the second trajectory prediction model as the prediction model; wherein, The second trajectory prediction model is obtained by training based on the second scenario data set corresponding to the warning scenario; when the traffic scenario is a safe scenario, the third trajectory prediction model is determined as the prediction model; wherein the third trajectory prediction model is obtained by training based on the third scenario data set corresponding to the safe scenario; when the traffic scenario is an accessible scenario, the fourth trajectory prediction model is determined as the prediction model; wherein the fourth trajectory prediction model is obtained by training based on the fourth scenario data set corresponding to the accessible scenario; the prediction model includes an intention prediction model and a trajectory prediction model, and the prediction model is obtained by training based on the scenario data set; through the intention prediction model, based on the first driving data corresponding to the current vehicle device, the road data corresponding to the current vehicle device, and the second driving data corresponding to the other vehicle devices, the information of the other vehicle devices in the first coordinate system is determined; based on the information of the other vehicle devices in the first coordinate system and the road data corresponding to the current vehicle device, the driving intention of the other vehicle devices is determined; through the trajectory prediction model, based on the driving intention and the traffic scenario, the lane information and the motion state of the other vehicle devices are determined; based on the lane information and the motion state, the driving trajectory of the other vehicle devices is determined.
[0185] It can be seen that in the embodiment of the present invention, the trajectory prediction device can determine the traffic scene based on the acquired driving data, and then determine the corresponding prediction model based on the traffic scene, and finally use the prediction model to predict the driving trajectory. Specifically, the prediction model is obtained by training based on the scene data set. Therefore, the prediction model can directly predict the prediction model corresponding to the traffic scene determined by the driving data. In the process of prediction, the prediction model can be used to predict the driving trajectory of other vehicle equipment based on the driving data and the traffic scene, thereby improving the accuracy of trajectory prediction and further improving the safety of intelligent driving.
[0186] Based on the above embodiment, another embodiment of the present invention provides a trajectory prediction method, which uses a rule-based automated method to predict the trajectory by comprehensively using factors such as the vehicle's historical trajectory, current vehicle speed, and surrounding environment through the trajectory generation method in the rule-based vehicle prediction algorithm. The algorithm can ensure the accuracy and stability of the vehicle's driving trajectory without relying on a large amount of training data and high-intensity calculations, thereby improving the safety and reliability of autonomous vehicles.
[0187] The trajectory generation method in the regular vehicle prediction algorithm proposed in the present invention is a brand-new method proposed to address the shortcomings of existing trajectory prediction algorithms based on deep learning and neural networks. The main innovations of the present invention are:
[0188] 1. Data preprocessing: Before predicting the trajectory, the input data (driving data) is first preprocessed, including the extraction and standardization of information such as the vehicle's historical trajectory, current speed, and surrounding environment, to ensure the reliability and accuracy of the data.
[0189] 2. Trajectory prediction rules: A rule-based prediction method is used to generate the vehicle's next driving trajectory based on information such as the vehicle's historical trajectory and current speed, combined with predefined rules and conditions. This method can ensure the accuracy and stability of trajectory prediction without relying on a large amount of training data and high-intensity calculations.
[0190] 3. Vehicle behavior modeling: The vehicle behavior modeling method is used to establish a vehicle behavior model. Through the analysis and modeling of vehicle behavior, the future behavior and trajectory of the vehicle are predicted. This method can more accurately reflect the real behavior of the vehicle and improve the reliability of trajectory prediction.
[0191] In contrast, existing trajectory prediction algorithms based on deep learning and neural networks require a large amount of training data and computing resources, have certain errors and uncertainties, and are not suitable for complex traffic environments. The trajectory generation method in the regular vehicle prediction algorithm proposed in the present invention has the following advantages:
[0192] 1. It does not rely on a large amount of training data and high-intensity calculations, does not require complex algorithm parameter adjustment, and is feasible and economical for practical application.
[0193] 2. Trajectory prediction is performed using information such as the vehicle's historical trajectory and current speed, taking into account factors such as driving behavior and vehicle dynamics. It can more accurately predict the vehicle's driving trajectory and improve the safety and stability of autonomous vehicles.
[0194] 3. Through vehicle behavior modeling, the future behavior and trajectory of the vehicle can be better predicted, so as to more accurately grasp the dynamic information of surrounding vehicles and avoid traffic accidents.
[0195] In summary, the trajectory generation method in the rule-based vehicle prediction algorithm proposed in the present invention can effectively solve the problem of vehicle trajectory prediction in autonomous driving vehicle technology. It has high practicality and innovation, and can be widely used in the development and application of autonomous driving vehicles.
[0196] In addition, the present invention also has the following characteristics:
[0197] 1. Applicable to a variety of traffic scenarios: It takes into account factors such as the vehicle's historical trajectory, current speed (first driving data) and surrounding environment (driving data), and combines predefined rules and conditions to generate the vehicle's next driving trajectory according to different traffic scenarios. It has strong applicability and universality and can be applied to various traffic scenarios.
[0198] 2. High real-time performance: Using rule-based automated methods for trajectory prediction does not require complex training processes in advance and can complete trajectory prediction in a short time, which has the advantage of high real-time performance.
[0199] 3. High robustness: The vehicle behavior modeling method can successfully cope with complex road conditions and the interaction between different vehicles, ensuring the robustness of trajectory prediction.
[0200] 4. Intuitive and easy to understand: Rule-based automation methods are easy to understand and intuitive, and can be better understood and applied by engineers and developers.
[0201] In contrast, some existing trajectory prediction algorithms perform poorly in complex traffic scenarios, have large errors and uncertainties, and are difficult to meet the high-precision trajectory prediction requirements of autonomous vehicles. The trajectory generation method in the rule-based vehicle prediction algorithm proposed in the present invention uses factors such as the vehicle's historical trajectory, current speed, and surrounding environment, and applies a rule-based automated method to perform trajectory prediction. Combined with the vehicle behavior model, it can more accurately predict the vehicle's next driving trajectory and improve the safety and reliability of autonomous vehicles.
[0202] In an embodiment of the present invention, in the process of predicting the vehicle trajectory, the traffic scene is first determined according to the acquired driving data, and different models are used for prediction according to different scenes. Different trajectory prediction models are used to predict the vehicle trajectory according to the motion state of the target vehicle. For a stationary target, there is no need to output the driving trajectory. The trajectory prediction model divides the target into three motion states according to rules. The three motion states include: stationary state, driving along the lane state, and ordinary motion state. When the motion state is a stationary state, the stationary trajectory prediction model is used to predict the driving trajectory. When the motion state is a driving along the lane state, the lane motion trajectory prediction model is used to predict the driving trajectory. When the motion state is an ordinary motion state, the ordinary motion trajectory prediction model is used to predict the driving trajectory.
[0203] Furthermore, in an embodiment of the present invention, Figure 6 A flow chart of a prediction model classification process provided by an embodiment of the present invention is as follows: Figure 6 As shown, the prediction model classification method may include the following steps:
[0204] S301: Determine whether obstacles other than the current vehicle equipment include motor vehicles.
[0205] If so, execute S302; otherwise, execute S303.
[0206] In an embodiment of the present invention, during the process of predicting the vehicle trajectory, it is possible to determine whether to use a specific prediction model for trajectory prediction based on the targets included in the current obstacles.
[0207] S302: Determine whether obstacles other than the current vehicle equipment are stationary or located more than 70 meters behind the current vehicle equipment.
[0208] If satisfied, execute S304, otherwise execute S305.
[0209] In an embodiment of the present invention, when obstacles other than the current vehicle equipment are stationary or located more than 70m behind the current vehicle equipment, it can be considered that obstacles other than the current vehicle equipment will not affect the driving of the current vehicle equipment, and mode3 (the third trajectory prediction model) can be used for prediction.
[0210] S303: Determine whether obstacles other than the current vehicle equipment include pedestrians or the like.
[0211] If so, execute S304; otherwise, execute S306.
[0212] In an embodiment of the present invention, after determining whether other obstacles other than the current vehicle equipment include motor vehicles, bicycles, and motorcycles, if motor vehicles, bicycles, and motorcycles are not included, it is possible to continue to determine whether pedestrians, baby carriages, etc. are included.
[0213] S304: Use mode 3 to perform prediction.
[0214] When obstacles other than the current vehicle equipment are stationary or located more than 70m behind the current vehicle equipment (safe scenario), they will not cause driving obstacles to the current vehicle equipment, that is, there is no intention to cut in. Then mode3 can be used for prediction. Mode3 mainly deals with scenarios where there is no intention to cut in.
[0215] S305: Determine whether obstacles other than the current vehicle equipment are opposite to or across the current vehicle equipment.
[0216] In an embodiment of the present invention, after determining whether obstacles other than the current vehicle equipment are stationary or located more than 70 m behind the current vehicle equipment, if obstacles other than the current vehicle equipment are not stationary or located more than 70 m behind the current vehicle equipment, it is also possible to continue to determine whether obstacles other than the current vehicle equipment are opposite or crossing the current vehicle equipment.
[0217] If satisfied, execute S307, otherwise execute S308.
[0218] S306: Use mode0 (the fourth trajectory prediction model) to perform prediction.
[0219] In an embodiment of the present invention, when other obstacles are not moving in the opposite direction or across the current vehicle equipment (obstacle-free scenario), it can be determined that other obstacles other than the current vehicle equipment include other situations, that is, when there is no vehicle within a short distance, mode0 is used for prediction.
[0220] S307: Use mode1 (first trajectory prediction model) to perform prediction.
[0221] In the embodiment of the present invention, when other obstacles are moving in the opposite direction or across the current vehicle equipment (dangerous scenario), mode 1 may be used for prediction.
[0222] S308: using mode2 (second trajectory prediction model) for prediction.
[0223] The present invention uses factors such as the vehicle's historical trajectory, current speed, and surrounding environment, and applies a rule-based automated method to predict vehicle trajectories, taking into full account the vehicle's driving state and driving environment in complex traffic scenarios, thereby ensuring the accuracy and stability of the vehicle's driving trajectory without relying on a large amount of training data and high-intensity calculations. The following is a detailed introduction to the implementation of the present invention:
[0224] 1. Data Preprocessing
[0225] First, obtain information such as the vehicle's historical trajectory, current speed, and surrounding environment, and standardize the data, including data normalization, smoothing filtering, noise reduction, and other methods to ensure the reliability and accuracy of the data.
[0226] 2. Vehicle Behavior Modeling (Building Predictive Models)
[0227] Although the autonomous driving technology has gradually entered a higher level, how to accurately predict the target vehicle's lane-cutting behavior to ensure the safety and comfort of autonomous driving is still a problem worth exploring. At present, the mainstream methods for predicting the target vehicle's cut-in intention all use a neural network model to predict the target vehicle's cut-in intention. The above neural network model can predict the target vehicle's cut-in intention for typical application scenarios where the target vehicle has an obvious movement trend. However, there are many atypical cut-in scenarios in real roads, such as: aggressive driving style, cut-in behavior that does not comply with traffic rules, or scenes with complex intersection road relationships (traffic scenarios). Since atypical cut-in scenarios do not often exist, there are fewer training samples. Therefore, the use of a neural network model cannot accurately predict the target vehicle's cut-in intention, affecting the safety of autonomous driving. Therefore, the present invention provides a method for predicting the target vehicle's cut-in intention.
[0228] Furthermore, in an embodiment of the present invention, Figure 7 A flow chart of a method for predicting a cut-in intention provided by an embodiment of the present invention is shown in FIG. Figure 7 As shown, the cut-in intention prediction method may include the following steps:
[0229] S401: Obtain road information of the current vehicle device in the vehicle coordinate system and status information of all detectable vehicle devices other than the current vehicle device.
[0230] Obtain the road information of the current vehicle device within a certain range from the upstream high-precision map or perception fusion party, including the boundary lines and center lines of all lanes within the effective range (road data corresponding to the current vehicle device). Obtain the status information of all target vehicles (other vehicle devices except the current vehicle device) that can be detected by sensors within a certain range of the self-vehicle (current vehicle device) at the current moment from the perception fusion party, including the location, driving direction, speed, acceleration and other information of the target vehicle (second driving data of other vehicle devices except the current vehicle device).
[0231] Project the current position of the vehicle onto the center lines of all lanes, calculate the vertical distance from the vehicle to the center line of each lane, and select the lane with the shortest vertical distance as the current lane of the vehicle. If there are two or more lanes, and the vertical distance from the vehicle to the center line of each lane is less than or equal to the lane width, select the lane whose direction of travel is closest to the direction of travel of the lane as the current lane of the vehicle.
[0232] S402: Taking the center line of the lane where the current vehicle device is currently located as a reference path and taking the projection point of the current vehicle device mapped on the reference path as an initial point, a Frenet coordinate system is constructed.
[0233] The coordinate conversion calculation is to convert the ego vehicle (current vehicle equipment) coordinate system (Vehicle Coordinate System, VCS) to the Frenet coordinate system, which can more conveniently obtain the tangential and normal positions of the target vehicle (other vehicle equipment except the current vehicle equipment) on the reference path (p s , p d )、speed(v s , v d ) and acceleration (a s , a d )information.
[0234] S403: Predict the position of each vehicle device other than the current vehicle device in the Frenet coordinate system after a certain prediction time.
[0235] S404: Determine the cutting intention based on the position in the Frenet coordinate system.
[0236] If the target vehicle (other vehicle equipment except the current vehicle equipment) is at p in the Frenet coordinate system d If the absolute value of is less than or equal to 1 / 2 lane width, it means that the target will enter the lane of the vehicle after a certain prediction time and has the intention to cut in. In general, in typical scenarios, there are target vehicles with obvious movement trends. After the judgment in this step, a preliminary conclusion of the intention to cut in can be basically drawn.
[0237] Different judgment criteria are used to predict the cut-in intention based on different extreme scenarios. The state of the target vehicle is divided into multiple extreme scenarios based on the target vehicle's head direction, line-crossing amount, degree of movement toward the own vehicle's lane, time to collision (Time To Collision, TTC) with the own vehicle, whether it is a merging target, and other information. In actual complex application scenarios, target vehicles with lateral displacement or unclear speed also produce a greater sense of oppression to the own vehicle, and then S404 cannot predict the cut-in intention in time, resulting in a collision risk or a poor driving experience for the own vehicle.
[0238] After S403 and S404, some target vehicles may be judged to have the intention to cut in, but in fact, some targets may just continue to cross the line and do not finally cut into the own vehicle lane.
[0239] 3. Trajectory Prediction and Correction
[0240] According to the vehicle's historical trajectory, current speed, surrounding environment and other factors, the vehicle's next driving trajectory is generated by comparing and analyzing with the pre-defined trajectory prediction rules. The trajectory prediction model generates the target's motion trajectory for the next 8 seconds based on the output of the intention prediction model. The trajectory prediction model divides the target into three motion states (stationary state, driving along the lane, and ordinary motion state) according to the rules, and uses different trajectory generation methods for each state.
[0241] When the target motion trend is stationary, the target is 70m behind the vehicle, the target is behind the vehicle and the predicted lane fails, the target uses the stationary trajectory prediction model. The predicted trajectory has all trajectory points in the next 8s consistent with the current target position, and the speed and acceleration are both zero.
[0242] When the target is in front of the vehicle and the predicted lane fails, the target's current lane fails, and the movement trend is opposite or across, the target uses the ordinary motion trajectory prediction model. Based on the pure kinematic model, without considering road constraints, uniform acceleration motion inference is performed based on the current target position, speed, and acceleration obtained from perception fusion to generate the target's predicted trajectory in the next 8 seconds.
[0243] When the target predicted lane is valid, the target adopts the prediction model of the motion trajectory along the lane. Based on the target predicted lane line, the target motion parameters (tangential acceleration, normal velocity relative to the predicted lane, acceleration) inferred by intention prediction, and the current position and velocity obtained from perception fusion, uniform acceleration motion inference is performed. During the inference process, the target is constrained within the predicted lane boundary to ensure the accuracy and stability of the vehicle's driving trajectory.
[0244] Furthermore, in an embodiment of the present invention, Figure 8A schematic diagram of a trajectory prediction method provided by an embodiment of the present invention Figure 6 ,like Figure 8 As shown, the vehicle trajectory prediction method may include the following steps:
[0245] S501: Determine the vehicle speed of other vehicle devices except the current vehicle device, determine the driving direction between other vehicle devices except the current vehicle device and the current vehicle device, and determine the traversing motion state of other vehicle devices except the current vehicle device.
[0246] In an embodiment of the present invention, in the absence of a map, trajectory prediction is performed on vehicle equipment, and the vehicle speeds of other vehicle equipment except the current vehicle equipment can be determined, the driving directions between other vehicle equipment except the current vehicle equipment and the current vehicle equipment can be determined, and the lateral motion states of other vehicle equipment except the current vehicle equipment can be determined.
[0247] S502: Determine whether the vehicle speeds of other vehicle devices except the current vehicle device are equal to 0.
[0248] If satisfied, execute S503; otherwise, execute S504.
[0249] In an embodiment of the present invention, after determining the vehicle speed of other vehicle equipment except the current vehicle equipment, the driving direction between the other vehicle equipment except the current vehicle equipment and the current vehicle equipment, and the lateral motion state of other vehicle equipment except the current vehicle equipment, it can be determined whether the vehicle speed of other vehicle equipment except the current vehicle equipment is equal to 0.
[0250] S503: Do not output the predicted trajectory.
[0251] In an embodiment of the present invention, when the vehicle speed of other vehicle equipment except the current vehicle equipment is equal to 0, it can be considered that other vehicle equipment except the current vehicle equipment will not affect the driving of the current vehicle equipment. Therefore, the predicted trajectory of other vehicle equipment except the current vehicle equipment may not be output.
[0252] S504: Determine whether the driving directions of the vehicle devices other than the current vehicle device are opposite to the current vehicle device.
[0253] If satisfied, execute S505; otherwise, execute S506.
[0254] In the embodiment of the present invention, when the vehicle speed of other vehicle devices except the current vehicle device is not equal to 0, it can be further determined whether the driving direction of other vehicle devices except the current vehicle device is opposite to that of the current vehicle device.
[0255] S505: Use a kinematic model in which the longitudinal direction is uniformly accelerated and the lateral direction is stationary to perform trajectory prediction.
[0256] In an embodiment of the present invention, when the driving direction of other vehicle equipment except the current vehicle equipment is opposite to the current vehicle equipment, it can be considered that the other vehicle equipment except the current vehicle equipment will not affect the driving of the current vehicle equipment. Therefore, a kinematic model with uniform acceleration in the longitudinal direction and stationary in the lateral direction can be used for trajectory prediction.
[0257] S506: Use a kinematic model with uniform acceleration in the longitudinal direction and uniform speed in the lateral direction to perform trajectory prediction.
[0258] When it is determined that other vehicle devices other than the current vehicle device are in other positions with respect to the current vehicle device, a kinematic model with uniform acceleration in the longitudinal direction and uniform speed in the lateral direction may be used for trajectory prediction.
[0259] Furthermore, in an embodiment of the present invention, Fig. 9 A schematic diagram of a trajectory prediction method provided by an embodiment of the present invention Figure 7 ,like Fig. 9 As shown, the vehicle trajectory prediction method may include the following steps:
[0260] S601: Determine whether the lateral vehicle speed of other vehicle equipment except the current vehicle equipment is equal to 0, and the current moment is opposite to the driving direction of the current vehicle equipment, or the longitudinal vehicle speed is equal to 0.
[0261] If satisfied, execute S602; otherwise, execute S603.
[0262] S602: Do not output the predicted trajectory.
[0263] In an embodiment of the present invention, when the lateral vehicle speed of other vehicle equipment except the current vehicle equipment is equal to 0 and the driving direction of the current vehicle equipment is opposite to that of the current vehicle equipment at the current moment, or the longitudinal vehicle speed is equal to 0, it can be explained that the other vehicle equipment except the current vehicle equipment at this time will not affect the driving of the current vehicle equipment, and therefore, the predicted trajectory may not be output.
[0264] S603: Calculate the difference in travel distance between two frames of other vehicle devices except the current vehicle device.
[0265] In an embodiment of the present invention, when the lateral vehicle speed of vehicle equipment other than the current vehicle equipment is not equal to 0, and the driving direction of the current vehicle equipment is not opposite to that of the current vehicle equipment at the current moment, or the longitudinal vehicle speed is not equal to 0, the difference in driving distance between two frames of vehicle equipment other than the current vehicle equipment can be calculated to determine whether vehicle equipment other than the current vehicle equipment has been displaced.
[0266] S604: Determine whether the difference in driving distance is greater than 0.
[0267] If satisfied, execute S605; otherwise, execute S602.
[0268] In an embodiment of the present invention, when the difference in driving distance is greater than 0, it means that other vehicle equipment except the current vehicle equipment has a forward displacement change, and when the difference in driving distance is less than or equal to 0, it means that other vehicle equipment except the current vehicle equipment does not have a forward displacement change.
[0269] S605: Determine on the map the projection points of other vehicle devices except the current vehicle device.
[0270] In an embodiment of the present invention, when other vehicle equipment except the current vehicle equipment has a forward displacement change, the projection points of the other vehicle equipment except the current vehicle equipment can be determined on the map.
[0271] Find the projection point that has traveled the delta_dist distance based on the minx and miny of the previous cycle.
[0272] S606: Determine the lateral distance between the traveling projection point and the lane line.
[0273] Calculate the lateral distance dist_l of the periodic trajectory point from the reference line.
[0274] In an embodiment of the present invention, the lateral distance from the lane line is determined based on the projection points of other vehicle devices except the current vehicle device.
[0275] S607: Determine the trajectory generation direction using the vector direction.
[0276] Determine the quadrant in which the vector direction is located.
[0277] In an embodiment of the present invention, after determining the lateral distance from the lane line, the lanes in which other vehicle devices except the current vehicle device are traveling can be determined, and then the trajectory generation direction can be determined using the vector direction.
[0278] S608: Determine the coordinate position of the predicted trajectory according to the trajectory generation direction and the lateral distance from the lane line.
[0279] In an embodiment of the present invention, after determining the lanes in which other vehicle devices except the current vehicle device are traveling and determining the trajectory generation direction using the vector direction, the coordinate position of the predicted trajectory can be determined, that is, the coordinate position of the trajectory can be accurately predicted.
[0280] 5. Model Optimization and Adjustment
[0281] In practical applications, due to the changes and uncertainties in the vehicle driving environment, the vehicle trajectory prediction model needs to be optimized and adjusted. Specific methods include feedback control, parameter adjustment, trajectory correction and other measures to make the vehicle trajectory prediction model more accurate and precise.
[0282] 6. Practical Application
[0283] In practical applications, the vehicle prediction algorithm of the present invention can be combined with on-board sensors and other equipment to perform real-time vehicle trajectory prediction and real-time control on autonomous driving vehicles, thereby achieving more accurate driving control and safer autonomous driving technology.
[0284] In summary, the patent of this invention proposes a trajectory generation method in a rule-based vehicle prediction algorithm, which ensures the accuracy and stability of the vehicle's driving trajectory without relying on a large amount of training data and high-intensity calculations, and is highly practical and innovative.
[0285] Based on the same application concept as the above embodiments, the embodiment of the present invention provides a trajectory prediction device, Fig.10 A schematic diagram of the structure of a trajectory prediction device provided by an embodiment of the present invention is shown in FIG. Fig.10 As shown, the trajectory prediction device 70 includes: an acquisition unit 701 and a determination unit 702 .
[0286] An acquisition unit 701 is used to acquire driving data of a vehicle device;
[0287] The determination unit 702 is used to determine the traffic scene corresponding to the vehicle equipment based on the driving data; wherein the driving data of the vehicle equipment includes the first driving data corresponding to the current vehicle equipment, the road data corresponding to the current vehicle equipment, and the second driving data corresponding to other vehicle equipment except the current vehicle equipment; determine the prediction model corresponding to the traffic scene; wherein the prediction model is obtained by training based on the scene data set; through the prediction model, based on the driving data and the traffic scene, determine the driving trajectory of other vehicle equipment.
[0288] In some embodiments, the determination unit 702 is further used to determine information of target objects other than the current vehicle equipment based on the first driving data and the second driving data; wherein the target objects include at least other vehicle equipment, and the information of the target objects includes at least one of the following: the type of the target object, the distance between the target object and the current vehicle, the positional relationship between the target object and the current vehicle, and the state of the target object; determine the traffic scene corresponding to the vehicle equipment based on the information of the target objects other than the current vehicle equipment; wherein the traffic scenes include at least: dangerous scenes, warning scenes, safe scenes, and barrier-free scenes.
[0289] In some embodiments, the determination unit 702 is further used to determine the first trajectory prediction model as the prediction model when the traffic scene is a dangerous scene; wherein the first trajectory prediction model is obtained by training based on a first scene data set corresponding to the dangerous scene; when the traffic scene is a warning scene, determine the second trajectory prediction model as the prediction model; wherein the second trajectory prediction model is obtained by training based on a second scene data set corresponding to the warning scene; when the traffic scene is a safe scene, determine the third trajectory prediction model as the prediction model; wherein the third trajectory prediction model is obtained by training based on a third scene data set corresponding to the safe scene; when the traffic scene is an accessible scene, determine the fourth trajectory prediction model as the prediction model; wherein the fourth trajectory prediction model is obtained by training based on a fourth scene data set corresponding to the accessible scene.
[0290] In some embodiments, the determination unit 702 is also used to determine the information of other vehicle equipment in the first coordinate system based on the first driving data corresponding to the current vehicle equipment, the road data corresponding to the current vehicle equipment, and the second driving data corresponding to the other vehicle equipment through the intention prediction model; and determine the driving intention of other vehicle equipment based on the information of other vehicle equipment in the first coordinate system and the road data corresponding to the current vehicle equipment.
[0291] In some embodiments, the determination unit 702 is also used to determine the lane information corresponding to other vehicle equipment and the motion status corresponding to other vehicle equipment based on driving intention and traffic scenarios through a trajectory prediction model; and determine the driving trajectory of other vehicle equipment based on the lane information and the motion status.
[0292] In an embodiment of the present invention, further, Fig.11 A schematic diagram of the structure of a trajectory prediction device provided by an embodiment of the present invention is shown in FIG. Fig.11 As shown, the trajectory prediction device 80 proposed in the embodiment of the present invention may include a processor 801 , a memory 802 , a communication interface 803 , and a bus 804 for connecting the processor 801 , the memory 802 and the communication interface 803 .
[0293] Further, in an embodiment of the present invention, the memory 802 is used to store a computer program that can be run on the processor;
[0294] The processor 801 is used to obtain driving data of vehicle equipment when running the computer program, and determine the traffic scene corresponding to the vehicle equipment based on the driving data; wherein the driving data of the vehicle equipment includes first driving data corresponding to the current vehicle equipment, road data corresponding to the current vehicle equipment, and second driving data corresponding to other vehicle equipment except the current vehicle equipment; determine the prediction model corresponding to the traffic scene; wherein the prediction model is obtained by training based on the scene data set; through the prediction model, based on the driving data and the traffic scene, determine the driving trajectory of other vehicle equipment.
[0295] The present invention also provides a computer program product, including a computer program or instructions, which, when executed by a processor, implements some or all of the steps in the above method. The computer program product can be implemented specifically by hardware, software, or a combination thereof. The computer program product can be implemented specifically by hardware, software, or a combination thereof. In an optional embodiment, the computer program product is specifically embodied as a computer storage medium, and in another optional embodiment, the computer program product is specifically embodied as a software product, such as a software development kit (Software Development Kit, SDK), etc.
[0296] In addition, each functional module in this embodiment can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or software functional modules.
[0297] If the integrated unit is implemented in the form of a software function module and is not sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment is essentially or the part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for the vehicle equipment or processor to execute all or part of the steps of the method of this embodiment. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.
[0298] An embodiment of the present invention provides a computer-readable storage medium having a program stored thereon, and when the program is executed by a processor, the trajectory prediction method as described above is implemented.
[0299] Specifically, the program instructions corresponding to a trajectory prediction method in this embodiment can be stored on a storage medium such as a CD, a hard disk, a USB flash drive, etc. When the program instructions corresponding to a trajectory prediction method in the storage medium are read or executed by an electronic device, the following steps are included:
[0300] Acquire driving data of a vehicle device, and determine a traffic scene corresponding to the vehicle device based on the driving data; wherein the driving data of the vehicle device includes first driving data corresponding to the current vehicle device, road data corresponding to the current vehicle device, and second driving data corresponding to other vehicle devices except the current vehicle device;
[0301] Determine a prediction model corresponding to the traffic scenario; wherein the prediction model is obtained by training based on the scenario data set;
[0302] Through the prediction model, the driving trajectory of other vehicles and equipment is determined based on driving data and traffic scenarios.
[0303] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.
[0304] The present invention is described with reference to implementation flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that has the functions specified in one or more boxes.
[0305] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which is implemented in the implementation flow diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0306] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing the steps in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0307] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention.
Claims
1. A trajectory prediction method, characterized in that: The method comprises: Acquire driving data of a vehicle device, and determine a traffic scene corresponding to the vehicle device based on the driving data; wherein the driving data of the vehicle device includes first driving data corresponding to the current vehicle device, road data corresponding to the current vehicle device, and second driving data corresponding to other vehicle devices except the current vehicle device; Determine a prediction model corresponding to the traffic scenario; wherein the prediction model is obtained by training based on a scenario data set; The driving trajectory of the other vehicle equipment is determined through the prediction model based on the driving data and the traffic scenario.
2. The trajectory prediction method according to claim 1, characterized in that: The determining, based on the driving data, a traffic scene corresponding to the vehicle device includes: Determine information of the target object other than the current vehicle device according to the first driving data and the second driving data; wherein the target object at least includes the other vehicle device, and the information of the target object at least includes one of the following: the type of the target object, the distance between the target object and the current vehicle, the positional relationship between the target object and the current vehicle, and the state of the target object; The traffic scene corresponding to the vehicle equipment is determined according to the information of the target object; wherein the traffic scene includes at least: a dangerous scene, a warning scene, a safe scene and an accessible scene.
3. The trajectory prediction method according to claim 2, characterized in that: Determining the prediction model corresponding to the traffic scenario includes: In the case where the traffic scene is the dangerous scene, determining a first trajectory prediction model as the prediction model; wherein the first trajectory prediction model is obtained by training based on a first scene data set corresponding to the dangerous scene; In the case where the traffic scene is the warning scene, a second trajectory prediction model is determined as the prediction model; wherein the second trajectory prediction model is obtained by training based on a second scene data set corresponding to the warning scene; In the case where the traffic scene is the safety scene, a third trajectory prediction model is determined as the prediction model; wherein the third trajectory prediction model is obtained by training based on a third scene data set corresponding to the safety scene; When the traffic scene is the barrier-free scene, a fourth trajectory prediction model is determined as the prediction model; wherein the fourth trajectory prediction model is obtained by training based on a fourth scene data set corresponding to the barrier-free scene.
4. The trajectory prediction method according to any one of claims 1 to 3, characterized in that: The prediction model includes an intention prediction model and a trajectory prediction model, and determining the driving trajectory of the other vehicle equipment based on the driving data and the traffic scenario through the prediction model includes: Determining the driving intention of the other vehicle equipment based on the driving data by using the intention prediction model; The driving trajectory of the other vehicle equipment is determined through the trajectory prediction model based on the driving intention and the traffic scenario.
5. The trajectory prediction method according to claim 4, characterized in that: The determining the driving intention of the other vehicle equipment based on the driving data by using the intention prediction model includes: Determine information of the other vehicle equipment in the first coordinate system by using the intention prediction model based on first driving data corresponding to the current vehicle equipment, road data corresponding to the current vehicle equipment, and second driving data corresponding to the other vehicle equipment; Based on the information of the other vehicle equipment in the first coordinate system and the road data corresponding to the current vehicle equipment, the driving intention of the other vehicle equipment is determined.
6. The trajectory prediction method according to claim 4, characterized in that: The determining, by the trajectory prediction model, the driving trajectory of the other vehicle equipment based on the driving intention and the traffic scenario, includes: Determining, by means of the trajectory prediction model, lane information corresponding to the other vehicle equipment and a motion state corresponding to the other vehicle equipment based on the driving intention and the traffic scenario; A driving trajectory of the other vehicle device is determined based on the lane information and the motion state.
7. A trajectory prediction device, characterized in that: The trajectory prediction device comprises: An acquisition unit, used for acquiring driving data of vehicle equipment; A determination unit is used to determine the traffic scene corresponding to the vehicle equipment based on the driving data; wherein the driving data of the vehicle equipment includes first driving data corresponding to the current vehicle equipment, road data corresponding to the current vehicle equipment, and second driving data corresponding to other vehicle equipment except the current vehicle equipment; determine a prediction model corresponding to the traffic scene; wherein the prediction model is obtained by training based on a scene data set; through the prediction model, the driving trajectory of the other vehicle equipment is determined based on the driving data and the traffic scene.
8. A trajectory prediction device, characterized in that: The trajectory prediction device includes: a processor and a storage medium storing executable instructions, wherein the storage medium relies on the processor to perform operations through a communication bus, and when the executable instructions are executed by the processor, the trajectory prediction method described in any one of claims 1 to 6 is executed.
9. A computer storage medium, characterized in that Executable instructions are stored, and when the executable instructions are executed by a processor, the processor executes the trajectory prediction method according to any one of claims 1 to 6.
10. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the trajectory prediction method according to any one of claims 1 to 6 is implemented.
