WO2022016901A1 - Method for planning driving route of vehicle, and intelligent vehicle - Google Patents

Method for planning driving route of vehicle, and intelligent vehicle Download PDF

Info

Publication number
WO2022016901A1
WO2022016901A1 PCT/CN2021/084330 CN2021084330W WO2022016901A1 WO 2022016901 A1 WO2022016901 A1 WO 2022016901A1 CN 2021084330 W CN2021084330 W CN 2021084330W WO 2022016901 A1 WO2022016901 A1 WO 2022016901A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
vehicle
model
groups
similarity
Prior art date
Application number
PCT/CN2021/084330
Other languages
French (fr)
Chinese (zh)
Inventor
古强
庄雨铮
王志涛
刘武龙
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022016901A1 publication Critical patent/WO2022016901A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W60/00Drive control systems specially adapted for autonomous road vehicles
    • B60W60/001Planning or execution of driving tasks
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W30/00Purposes of road vehicle drive control systems not related to the control of a particular sub-unit, e.g. of systems using conjoint control of vehicle sub-units, or advanced driver assistance systems for ensuring comfort, stability and safety or drive control systems for propelling or retarding the vehicle
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W40/00Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W60/00Drive control systems specially adapted for autonomous road vehicles
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W60/00Drive control systems specially adapted for autonomous road vehicles
    • B60W60/001Planning or execution of driving tasks
    • B60W60/0011Planning or execution of driving tasks involving control alternatives for a single driving scenario, e.g. planning several paths to avoid obstacles
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W60/00Drive control systems specially adapted for autonomous road vehicles
    • B60W60/005Handover processes
    • B60W60/0059Estimation of the risk associated with autonomous or manual driving, e.g. situation too complex, sensor failure or driver incapacity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods

Definitions

  • the present application relates to the field of automatic driving, and in particular, to a method for planning a driving route of a vehicle and a smart car.
  • Artificial intelligence is a theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
  • artificial intelligence is a branch of computer science that attempts to understand the essence of intelligence and produce a new kind of intelligent machine that responds in a similar way to human intelligence.
  • Artificial intelligence is to study the design principles and implementation methods of various intelligent machines, so that the machines have the functions of perception, reasoning and decision-making.
  • Research in the field of artificial intelligence includes robotics, natural language processing, computer vision, decision-making and reasoning, human-computer interaction, recommendation and search, and basic AI theory.
  • Autopilot is a mainstream application in the field of artificial intelligence.
  • Autopilot technology relies on the cooperation of computer vision, radar, monitoring devices and global positioning systems to allow motor vehicles to achieve autonomous driving without the need for human active operation.
  • Autonomous vehicles use various computing systems to help transport passengers from one location to another. Some autonomous vehicles may require some initial or continuous input from an operator, such as a pilot, driver, or passenger.
  • An autonomous vehicle permits the operator to switch from a manual mode of operation to an autonomous driving mode or a mode in between. Since automatic driving technology does not require humans to drive motor vehicles, it can theoretically effectively avoid human driving errors, reduce the occurrence of traffic accidents, and improve the efficiency of highway transportation. Therefore, autonomous driving technology is getting more and more attention.
  • the route planning of the autonomous vehicle can realize the route selection and route optimization of the autonomous vehicle (the route is also called a path or trajectory), and further realize a better control strategy.
  • the actual driving conditions of autonomous vehicles are very complex. Affected by weather, temperature and humidity, special obstacles, and road conditions, a large number of long-tail scenarios will be formed.
  • Long-tail scenarios refer to the scenarios faced by autonomous vehicles. There are a large number of atypical and different scenarios, which are difficult to handle with a unified rule. Therefore, how to plan the driving routes of vehicles for a large number of long-tail scenarios needs to be solved urgently.
  • the present application provides a method for a vehicle driving route and related equipment, which can reduce the driver's takeover rate for a large number of long-tail scenarios.
  • the present application provides a method for a vehicle driving route and related equipment, which can reduce the driver's takeover rate for a large number of long-tail scenarios.
  • a first aspect of the present application provides a method for planning a driving route of a vehicle, which can be used in the field of automatic driving in the field of artificial intelligence. It may include: acquiring first information, where the first information may include one or more of vehicle position information, lane information, navigation information, and obstacle information.
  • the first information may include a type of information, for example, the first information includes position information of the vehicle.
  • the first information may include two kinds of information, for example, the first information includes position information and lane information of the vehicle.
  • the first information may include three kinds of information, for example, the first information includes position information of the vehicle, lane information, and navigation information.
  • the first information may include four kinds of information, for example, the first information includes vehicle position information, lane information, navigation information and obstacle information.
  • the lane information is used to determine the relative position of the vehicle and the lane line
  • the navigation information is used to predict the driving direction of the vehicle
  • the obstacle information is used to determine the relative position of the vehicle and the obstacle.
  • Environment information around the vehicle may be determined through the acquired first information, and the environment information around the vehicle may be used to determine whether the vehicle has ever entered the same or similar scene. In some scenarios with simple road conditions, it can be considered that as long as the position information of the vehicles is consistent, the same scenario can be determined. In some scenes with complex road conditions, it may be necessary to determine the same scene only when the vehicle's position information, lane information, navigation information and obstacle information are consistent.
  • the first information is the input data of the first model
  • the output data of the first model is used to plan the driving route for the vehicle
  • the first model takes the driving trajectory of the vehicle in the manual driving mode as the training target.
  • a model obtained by training the second information obtained in the manual driving mode, the types of information that the second information can include is consistent with the types of information that the first information can include, and the similarity between the first information and the second information satisfies a preset condition , the similarity between the first information and the second information meets a preset condition to indicate that the first scene and the second scene are the same or similar
  • the first scene is the scene where the vehicle is when the vehicle obtains the first information
  • the second scene is the vehicle The scene in which the vehicle is located when the second information is acquired.
  • the first information includes the location information of the vehicle as an example for description, where the location information may include the latitude and longitude information of the location where the vehicle is located.
  • the first information includes first longitude and latitude information
  • the second information includes second longitude and latitude information. If the difference between the two is less than a preset threshold, it can be considered that the similarity between the first information and the second information meets the preset condition. If If the difference between the two is greater than the preset threshold, it can be considered that the similarity between the first information and the second information does not meet the preset condition.
  • the first information is used to train the first model, and the output data of the first model is used to plan a driving route for the vehicle.
  • the solution provided by the present application acquires the environmental information around the vehicle in real time, such as the first information and the second information.
  • the model is trained with the environment information around the vehicle as the training data, so that the trajectory output by the model can be close to the driving trajectory of the vehicle in the manual driving mode.
  • the environmental information around the vehicle is used as the input data of the model, and the output of the model The data plans the driving route for the vehicle. The frequency of taking over by the driver can be reduced by the solution provided by this application.
  • the method may further include: evaluating the similarity between the first information and M groups of information, where each group of information in the M groups of information is a vehicle For the information obtained in the manual driving mode, the similarity of any two groups of information in the M groups of information does not meet the preset condition, and each group of information in the M groups of information is used to train a model respectively.
  • the first information is the input data of the first model, which may include: the similarity between the first information and the second information in the M groups of information satisfies a preset condition, and the second information in the M groups of information is similar to the first information.
  • the first piece of information is the input data of the first model.
  • the similarity of the scene (surrounding environment information) where the vehicle is located can be evaluated by evaluating the similarity between the first information and the M groups of information.
  • the similarity between the information and the M groups of information satisfies the preset condition, that is, it is considered that the similarity between the current scene of the vehicle and the scene corresponding to the existing available model exceeds the threshold, and the available model with the highest similarity can be selected from the M models.
  • the acquired periodic environment information eg, the first information
  • the output data of the available model with the highest similarity can plan a driving route for the vehicle.
  • the method may further include: evaluating the similarity between the first information and M groups of information, where each group of information in the M groups of information is a vehicle For the information obtained in the manual driving mode, the similarity of any two groups of information in the M groups of information does not meet the preset conditions, each group of information in the M groups of information is used to train a model, and the second group of information in the M groups of information is used to train a model.
  • the information is used to train the first model, and M is a positive integer.
  • the first information is used to train the first model, which may include: the similarity between the first information and the second information in the M groups of information satisfies a preset condition, and the second information in the M groups of information is similar to the first information.
  • the similarity of the information is the largest, the first information is used to train the first model to obtain the updated first model. It can be seen from the second possible implementation of the first aspect that if the similarity between the current scene and the scene corresponding to the existing available model exceeds the threshold, the available model with the highest similarity is selected, for example, the first model has the highest similarity.
  • the first model is updated and trained by using the first information, and the available model for the scene is updated, that is, the first model is updated.
  • the method may further include: evaluating the similarity between the first information and M groups of information, where each group of information in the M groups of information is a vehicle For the information obtained in the manual driving mode, the similarity of any two groups of information in the M groups of information does not meet the preset condition, and each group of information in the M groups of information is used to train a model, and M is a positive integer.
  • the first information is used to train the first model, which may include: when the similarity between the first information and each group of information in the M groups of information does not meet the preset condition, the first information is used for training the first model.
  • the first model is trained for the first time.
  • the similarity between the first information and each of the M groups of information does not meet the preset condition, it can be considered that there is no scene identical or similar to the scene where the vehicle is currently located in the historical manual driving mode.
  • a temporary model is constructed for training, and a temporary model for the scene is formed, that is, the first model is trained for the first time by using the first information.
  • the first model may not meet the training target, that is, the distribution of the output trajectory of the first model and the driving trajectory of the vehicle in the manual driving mode is not within the preset range.
  • the first model trained for the first time is a temporary model, a non-available model.
  • the information of the similarity with the first information is obtained for many times, and the first model is iteratively trained until the first model. If the model meets the training target, the first model is an available model, and the first model that is an available model at this time can plan a driving route for the vehicle.
  • the method may further include: : When it is determined that the current position information of the vehicle is consistent with the position information of the vehicle obtained in the manual driving mode, a prompt message is sent, and the prompt message is used to instruct the vehicle to plan a driving route for the vehicle according to the output data of the first model.
  • the model obtained by training the position information of the vehicle obtained in the driving mode.
  • the method may further include : Send a prompt message, where the prompt message is used to instruct to train the first model according to the current position information of the vehicle.
  • the method may further include: determining the first information and the first The similarity of the same type of information in the two pieces of information, and the linear weighted sum of the similarity of the same type of information is used to determine the similarity of the first information and the second information.
  • the first model may include a convolutional neural network CNN or a loop. Neural network RNN. It can be known from the seventh possible implementation manner of the first aspect that two possible first models are provided, which increases the diversity of solutions.
  • a second aspect of the present application provides an apparatus for planning a driving route of a vehicle, which may include: an acquisition module configured to acquire first information, where the first information may include one of vehicle location information, lane information, navigation information, and obstacle information.
  • the lane information is used to determine the relative position of the vehicle and the lane line
  • the navigation information is used to predict the driving direction of the vehicle
  • the obstacle information is used to determine the relative position of the vehicle and the obstacle.
  • the regulation and control module is used to plan a driving route for the vehicle according to the output data of the first model when the vehicle is in the automatic driving mode, and the first information obtained by the acquisition module is the input data of the first model, and the first model is based on the manual driving mode.
  • the driving trajectory of the vehicle is the training target, and the model is obtained by training the second information obtained in the manual driving mode.
  • the types of information that the second information can include are consistent with the types of information that the first information can include.
  • the similarity of the two information satisfies the preset condition.
  • the training module is used for training the first model according to the first information obtained by the obtaining module when the vehicle is in the manual driving mode.
  • an evaluation module may further include: an evaluation module configured to evaluate the similarity between the first information and the M groups of information, and each group of information in the M groups of information Both are information obtained when the vehicle is in the manual driving mode, the similarity of any two groups of information in the M groups of information does not meet the preset condition, and each group of information in the M groups of information is used to train a model respectively.
  • an evaluation module configured to evaluate the similarity between the first information and the second information in the M groups of information, and each group of information in the M groups of information Both are information obtained when the vehicle is in the manual driving mode, the similarity of any two groups of information in the M groups of information does not meet the preset condition, and each group of information in the M groups of information is used to train a model respectively.
  • the similarity between the first information and the second information in the M groups of information satisfies a preset condition, and the similarity between the second information and the first information in the M groups of information is the largest, the first information is the input data of the first model.
  • it may further include: an evaluation module, configured to evaluate the similarity between the first information and the M groups of information, each group of information in the M groups of information are the information obtained when the vehicle is in manual driving mode. The similarity of any two groups of information in the M group of information does not meet the preset conditions.
  • an evaluation module configured to evaluate the similarity between the first information and the M groups of information, each group of information in the M groups of information are the information obtained when the vehicle is in manual driving mode. The similarity of any two groups of information in the M group of information does not meet the preset conditions.
  • Each group of information in the M group of information is used to train a model, and the M group of information The second information of is used to train the first model, M is a positive integer.
  • the first information is used to train the first model to obtain an update After the first model.
  • an evaluation module may further include: an evaluation module configured to evaluate the similarity between the first information and the M groups of information, and each group of information in the M groups of information Both are information obtained when the vehicle is in manual driving mode. The similarity of any two groups of information in the M groups of information does not meet the preset conditions. Each group of information in the M groups of information is used to train a model, and M is a positive integer. . When the similarity between the first information and each of the M groups of information does not meet the preset condition, the first information is used to train the first model for the first time.
  • the fourth possible implementation manner may further include: a sending module, configured for the evaluation module to determine When the current position information of the vehicle is consistent with the position information of the vehicle obtained in the manual driving mode, a prompt message is sent.
  • the prompt message is used to instruct the vehicle to plan a driving route for the vehicle according to the output data of the first model.
  • the first model is for manual driving.
  • the model obtained by training the position information of the vehicle obtained in the mode.
  • a sending module configured to send a prompt message , the prompt message is used to instruct to train the first model according to the current position information of the vehicle.
  • the sixth possible implementation manner may further include: a processing module configured to determine the first The similarity of the same type of information in the information and the second information, and the linear weighted sum of the similarity of the same type of information is used to determine the similarity of the first information and the second information.
  • the first model may include a convolutional neural network CNN or a loop. Neural network RNN.
  • a third aspect of the present application provides a system for planning a driving route of a vehicle.
  • the system may include a vehicle and a cloud-side device, and the vehicle is used to obtain first information, and the first information may include location information, lane information, navigation information, obstacles of the vehicle.
  • the lane information is used to determine the relative position of the vehicle and the lane line
  • the navigation information is used to predict the driving direction of the vehicle
  • the obstacle information is used to determine the relative position of the vehicle and the obstacle.
  • the vehicle is also used to send the first information and the driving mode of the vehicle to the cloud-side device.
  • the cloud-side device is used to determine that when the vehicle is in the automatic driving mode, plan the driving route for the vehicle according to the output data of the first model.
  • the first information is the input data of the first model, and the first model is the driving route of the vehicle in the manual driving mode.
  • the trajectory is the training target, and the model is obtained by training the second information obtained in the manual driving mode.
  • the type of information that the second information can include is consistent with the type of information that the first information can include, and the difference between the first information and the second information is the same.
  • the similarity satisfies the preset condition.
  • the cloud-side device is further configured to train the first model according to the first information when it is determined that the vehicle is in the manual driving mode.
  • the cloud-side device is further configured to: evaluate the similarity between the first information and the M groups of information, where each group of information in the M groups of information is is the information obtained when the vehicle is in the manual driving mode, the similarity of any two groups of information in the M groups of information does not meet the preset condition, and each group of information in the M groups of information is used to train a model respectively.
  • the similarity between the first information and the second information in the M groups of information satisfies a preset condition, and the similarity between the second information and the first information in the M groups of information is the largest, the first information is the input data of the first model.
  • the cloud-side device is further configured to: evaluate the similarity between the first information and the M groups of information, where each group of information in the M groups of information is It is the information obtained when the vehicle is in the manual driving mode.
  • the similarity of any two groups of information in the M groups of information does not meet the preset conditions, and each group of information in the M groups of information is used to train a model, respectively.
  • the second information is used to train the first model, and M is a positive integer.
  • the first information is used to train the first model to obtain an update After the first model.
  • the cloud-side device is further configured to evaluate the similarity between the first information and the M groups of information, where each group of information in the M groups of information is For the information obtained when the vehicle is in manual driving mode, the similarity of any two groups of information in the M groups of information does not meet the preset conditions, and each group of information in the M groups of information is used to train a model, and M is a positive integer.
  • the first information is used to train the first model for the first time.
  • the cloud-side device is also used to determine the current position of the vehicle.
  • a prompt message is sent.
  • the prompt message is used to instruct the vehicle to plan a driving route for the vehicle according to the output data of the first model.
  • the first model is for the vehicle obtained in the manual driving mode.
  • the model obtained by training the location information.
  • the cloud-side device is further configured to send a prompt message, prompting The message is used to instruct to train the first model according to the current position information of the vehicle.
  • the cloud-side device is further configured to determine the first information and The similarity of the same type of information in the second information and the linear weighted sum of the similarity of the same type of information are used to determine the similarity between the first information and the second information.
  • the first model may include a convolutional neural network (convolutional neural network).
  • CNN convolutional neural network
  • RNN recurrent neural network
  • a fourth aspect of the present application provides an apparatus for planning a driving route of a vehicle, which may include a processor, the processor is coupled with a memory, the memory stores program instructions, and the first aspect or the first aspect is executed when the program instructions stored in the memory are executed by the processor.
  • the method for planning a driving route of a vehicle described in any possible implementation manner.
  • a fifth aspect of the present application provides a computer-readable storage medium, which may include a program that, when executed on a computer, causes the computer to execute the planning vehicle described in the first aspect or any possible implementation manner of the first aspect. The method of driving the route.
  • a sixth aspect of the present application provides a smart car.
  • the smart car may include a processing circuit and a storage circuit.
  • the processing circuit and the storage circuit are configured to execute the planning described in the first aspect or any possible implementation manner of the first aspect.
  • a seventh aspect of the present application provides a circuit system.
  • the circuit system may include a processing circuit, and the processing circuit is configured to execute the method for planning a vehicle travel route described in the first aspect or any possible implementation manner of the first aspect.
  • An eighth aspect of the present application provides a computer program that, when running on a computer, causes the computer to execute the method for planning a vehicle travel route described in the first aspect or any possible implementation manner of the first aspect.
  • a ninth aspect of the present application provides a chip system
  • the chip system may include a processor for supporting a cloud-side device or an apparatus for planning a vehicle driving route to implement the functions involved in the above aspects, for example, sending or processing the above methods. the data and/or information involved.
  • the chip system may further include a memory for storing necessary program instructions and data of a server or a communication device.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • FIG. 1a is a schematic diagram of an application scenario for planning a vehicle driving route provided by the application
  • FIG. 1b is a schematic diagram of another application scenario of planning a vehicle driving route provided by the application
  • FIG. 1c is a schematic diagram of another application scenario of planning a vehicle driving route provided by the present application.
  • 2a is a schematic diagram of another application scenario of planning a vehicle driving route provided by the application
  • FIG. 2b is a schematic diagram of another application scenario of planning a vehicle driving route provided by the application.
  • FIG. 2c is a schematic diagram of another application scenario of planning a vehicle driving route provided by the present application.
  • FIG. 3 is a schematic structural diagram of an automatic driving vehicle provided by an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a method for planning a vehicle travel route provided by the application
  • 5a is a schematic diagram of another application scenario of planning a vehicle driving route provided by the application.
  • FIG. 5b is a schematic diagram of another application scenario of planning a vehicle driving route provided by the application.
  • FIG. 5c is a schematic diagram of another application scenario of planning a vehicle driving route provided by the present application.
  • FIG. 5d is a schematic diagram of another application scenario of planning a vehicle driving route provided by the application.
  • FIG. 6 is a schematic flowchart of a method for planning a vehicle driving route provided by an embodiment of the present application
  • FIG. 7 is a schematic flowchart of another method for planning a vehicle driving route provided by an embodiment of the present application.
  • FIG. 8a is a schematic diagram of another application scenario of planning a vehicle driving route provided by the present application.
  • FIG. 8b is a schematic diagram of another application scenario of planning a vehicle driving route provided by the application.
  • FIG. 9 is a schematic diagram of a scenario of another method for planning a vehicle travel route provided by the application.
  • FIG. 10 is a schematic structural diagram of an apparatus for planning a driving route of a vehicle provided by an embodiment of the application;
  • FIG. 11 is a schematic structural diagram of an automatic driving vehicle provided by an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of a chip provided by an embodiment of the present application.
  • the embodiment of the present application provides a method and related equipment for planning a driving route of a vehicle. Taking the driving trajectory of the vehicle in the manual driving mode as the training target, the motion information and the surrounding environment information of the vehicle obtained in the manual driving mode are trained to obtain The first model, when the vehicle passes through the same or similar scene again, can plan a driving route for the vehicle according to the output data of the first model.
  • the embodiments of the present application may be applied to scenarios in which routes are planned for various autonomous driving agents.
  • the embodiments of the present application may be applied to scenarios of route planning for autonomous vehicles.
  • autonomous driving In the scenario of , many complex working conditions do not have significant common characteristics (such as related to specific road sections and specific road conditions), and it is difficult to use a unified control method to deal with these special working conditions.
  • the takeover rate often cannot be reduced, that is, the driver is always required to take over the vehicle.
  • different scenarios require different strategies, and different users have different driving styles.
  • the current autonomous driving regulation is difficult to customize for specific scenarios and specific users, and to provide personalized and customized regulation strategies.
  • the present application is a schematic diagram of an application scenario of planning a vehicle driving route.
  • the scene shown in Figure 1a to Figure 1c is a parking lot scene.
  • the autonomous vehicle is driving on a road with two lanes in the same direction.
  • the left lane has a continuous manhole cover.
  • the trajectory planned by the module is to drive along the centerline of the left lane, resulting in poor passenger comfort during driving.
  • the driver can drive with the centerline of the left lane slightly to the right, and the vehicle remains in the left lane, but the left wheel will no longer press the manhole cover continuously.
  • the driver can also manually switch to the right lane for driving.
  • the log of this scenario can be analyzed.
  • the conclusion of the analysis is that the current version of the regulation and control module (the regulation and control module will be introduced below) cannot support such scenarios. Trajectory planning.
  • the current version of the regulation and control module cannot support the route planning of parking spaces in such scenarios.
  • the current version of the regulation and control module cannot support Trajectory planning for such scenarios is supported. Therefore, it is necessary to re-analyze the design in the current regulation and control module, and add trajectory planning logic for this scenario (eg, similar to the driver's driving trajectory).
  • the embodiments of the present application can also be applied to scenarios of route planning for various types of robots, such as freight robots, detection robots, sweeping robots, or other types of robots.
  • a freight robot is used as an example for the application
  • the scenario is further described.
  • the route planning of the cargo robots can be performed through the solution provided in this application.
  • FIG. 3 is a schematic structural diagram of the automatic driving vehicle provided by the embodiment of the
  • the vehicle 100 is configured in a fully or partially autonomous driving mode, for example, the autonomous vehicle 100 may control itself while in the autonomous driving mode, and may determine the current state of the vehicle and its surrounding environment through human operation, determine the possible behavior of at least one other vehicle, and determine a confidence level corresponding to the possibility that the other vehicle performs the possible behavior, and control the autonomous vehicle 100 based on the determined information.
  • the autonomous vehicle 100 may also be placed to operate without human interaction when the autonomous vehicle 100 is in the autonomous driving mode.
  • Autonomous vehicle 100 may include various subsystems, such as travel system 102 , sensor system 104 , control system 106 , one or more peripherals 108 and power supply 110 , computer system 112 , and user interface 116 .
  • the autonomous vehicle 100 may include more or fewer subsystems, and each subsystem may include multiple components. Additionally, each of the subsystems and components of the autonomous vehicle 100 may be wired or wirelessly interconnected.
  • the travel system 102 may include components that provide powered motion for the autonomous vehicle 100 .
  • travel system 102 may include engine 118 , energy source 119 , transmission 120 , and wheels 121 .
  • the engine 118 may be an internal combustion engine, an electric motor, an air compression engine, or other types of engine combinations, such as a hybrid engine composed of a gasoline engine and an electric motor, and a hybrid engine composed of an internal combustion engine and an air compression engine.
  • Engine 118 converts energy source 119 into mechanical energy. Examples of energy sources 119 include gasoline, diesel, other petroleum-based fuels, propane, other compressed gas-based fuels, ethanol, solar panels, batteries, and other sources of electricity.
  • the energy source 119 may also provide energy to other systems of the autonomous vehicle 100 .
  • Transmission 120 may transmit mechanical power from engine 118 to wheels 121 .
  • Transmission 120 may include a gearbox, a differential, and a driveshaft. In one embodiment, transmission 120 may also include other devices, such as clutches.
  • the drive shaft may include one or more axles that may be coupled to one or more wheels 121 .
  • the sensor system 104 may include several sensors that sense information about the environment surrounding the autonomous vehicle 100 .
  • the sensor system 104 may include a global positioning system 122 (the positioning system may be a global positioning GPS system, a Beidou system or other positioning systems), an inertial measurement unit (IMU) 124, a radar 126, a laser ranging instrument 128 and camera 130.
  • the sensor system 104 may also include sensors that monitor the internal systems of the autonomous vehicle 100 (eg, an in-vehicle air quality monitor, a fuel gauge, an oil temperature gauge, etc.). Sensing data from one or more of these sensors can be used to detect objects and their corresponding properties (position, shape, orientation, velocity, etc.). This detection and identification is a critical function for the safe operation of the autonomous autonomous vehicle 100 .
  • the positioning system 122 may be used to estimate the geographic location of the autonomous vehicle 100 .
  • the IMU 124 is used to sense position and orientation changes of the autonomous vehicle 100 based on inertial acceleration.
  • IMU 124 may be a combination of an accelerometer and a gyroscope.
  • the radar 126 can use radio signals to perceive objects in the surrounding environment of the autonomous vehicle 100 , and can be embodied as a millimeter-wave radar or a lidar. In some embodiments, in addition to sensing objects, radar 126 may be used to sense the speed and/or heading of objects.
  • the laser rangefinder 128 may utilize the laser light to sense objects in the environment in which the autonomous vehicle 100 is located.
  • the laser rangefinder 128 may include one or more laser sources, laser scanners, and one or more detectors, among other system components.
  • Camera 130 may be used to capture multiple images of the surrounding environment of autonomous vehicle 100 .
  • Camera 130 may be a still camera or a video camera.
  • Control system 106 controls the operation of the autonomous vehicle 100 and its components.
  • Control system 106 may include various components including steering system 132 , throttle 134 , braking unit 136 , computer vision system 140 , line control system 142 , and obstacle avoidance system 144 .
  • the steering system 132 is operable to adjust the heading of the autonomous vehicle 100 .
  • it may be a steering wheel system.
  • the throttle 134 is used to control the operating speed of the engine 118 and thus the speed of the autonomous vehicle 100 .
  • the braking unit 136 is used to control the deceleration of the autonomous vehicle 100 .
  • the braking unit 136 may use friction to slow the wheels 121 .
  • the braking unit 136 may convert the kinetic energy of the wheels 121 into electrical current.
  • the braking unit 136 may also take other forms to slow the wheels 121 to control the speed of the autonomous vehicle 100 .
  • Computer vision system 140 may be operable to process and analyze images captured by camera 130 in order to identify objects and/or features in the environment surrounding autonomous vehicle 100 .
  • the objects and/or features may include traffic signals, road boundaries and obstacles.
  • Computer vision system 140 may use object recognition algorithms, Structure from Motion (SFM) algorithms, video tracking, and other computer vision techniques.
  • SFM Structure from Motion
  • the computer vision system 140 may be used to map the environment, track objects, estimate the speed of objects, and the like.
  • the route control system 142 is used to determine the travel route and travel speed of the autonomous vehicle 100 .
  • the route control system 142 may include a lateral planning module 1421 and a longitudinal planning module 1422, respectively, for combining information from the obstacle avoidance system 144, the GPS 122, and one or more predetermined maps
  • the data for the autonomous vehicle 100 determines the driving route and driving speed.
  • Obstacle avoidance system 144 is used to identify, evaluate and avoid or otherwise traverse obstacles in the environment of autonomous vehicle 100 , which may be embodied as actual obstacles and virtual moving objects that may collide with autonomous vehicle 100 .
  • the control system 106 may additionally or alternatively include components in addition to those shown and described. Alternatively, some of the components shown above may be reduced.
  • Peripherals 108 may include a wireless communication system 146 , an onboard computer 148 , a microphone 150 and/or a speaker 152 .
  • peripherals 108 provide a means for a user of autonomous vehicle 100 to interact with user interface 116 .
  • the onboard computer 148 may provide information to a user of the autonomous vehicle 100 .
  • User interface 116 may also operate on-board computer 148 to receive user input.
  • the onboard computer 148 can be operated via a touch screen.
  • peripherals 108 may provide a means for autonomous vehicle 100 to communicate with other devices located within the vehicle.
  • Wireless communication system 146 may wirelessly communicate with one or more devices, either directly or via a communication network.
  • wireless communication system 146 may use 3G cellular communications, such as, for example, code division multiple access (CDMA), EVDO, global system for mobile communications (GSM), general packet radio service technology (general packet radio service, GPRS), or 4G cellular communications, such as long term evolution (LTE) or 5G cellular communications.
  • the wireless communication system 146 may communicate using a wireless local area network (WLAN).
  • WLAN wireless local area network
  • the wireless communication system 146 may communicate directly with the device using an infrared link, Bluetooth, or ZigBee.
  • Other wireless protocols such as various vehicle communication systems, for example, wireless communication system 146 may include one or more dedicated short range communications (DSRC) devices, which may include communication between vehicles and/or roadside stations public and/or private data communications.
  • DSRC dedicated short range communications
  • the power source 110 may provide power to various components of the autonomous vehicle 100 .
  • the power source 110 may be a rechargeable lithium-ion or lead-acid battery.
  • One or more battery packs of such batteries may be configured as a power source to provide power to various components of the autonomous vehicle 100 .
  • power source 110 and energy source 119 may be implemented together, such as in some all-electric vehicles.
  • Computer system 112 may include at least one processor 113 that executes instructions 115 stored in a non-transitory computer-readable medium such as memory 114 .
  • Computer system 112 may also be a plurality of computing devices that control individual components or subsystems of autonomous vehicle 100 in a distributed fashion.
  • the processor 113 may be any conventional processor, such as a commercially available central processing unit (CPU).
  • the processor 113 may be a dedicated device such as an application specific integrated circuit (ASIC) or other hardware-based processor.
  • processors, memory, and other components of the computer system 112 may actually include not stored in the same Multiple processors, or memories, within a physical enclosure.
  • memory 114 may be a hard drive or other storage medium located within a different enclosure than computer system 112 .
  • references to processor 113 or memory 114 will be understood to include references to sets of processors or memories that may or may not operate in parallel.
  • some components such as the steering and deceleration components may each have their own processor that only performs computations related to component-specific functions .
  • the processor 113 may be located remotely from the autonomous vehicle 100 and in wireless communication with the autonomous vehicle 100 . In other aspects, some of the processes described herein are performed on the processor 113 disposed within the autonomous vehicle 100 while others are performed by the remote processor 113, including taking the necessary steps to perform a single maneuver.
  • memory 114 may include instructions 115 (eg, program logic) executable by processor 113 to perform various functions of autonomous vehicle 100 , including those described above. Memory 114 may also contain additional instructions, including instructions to send data to, receive data from, interact with, and/or control one or more of travel system 102 , sensor system 104 , control system 106 , and peripherals 108 . instruction.
  • Step 1 Consider safety factors and traffic regulations to determine the timing of changing lanes
  • Step 2 Plan a driving trajectory
  • Step 3 Control the accelerator, brakes and steering wheel to drive the vehicle along a predetermined trajectory.
  • the above operations correspond to autonomous vehicles and can be performed by the behavior planner (BP), motion planner (MoP) and motion controller (Control) of the autonomous vehicle, respectively.
  • BP is responsible for issuing high-level decisions
  • MoP is responsible for planning the expected trajectory and speed
  • Control is responsible for operating the accelerator and braking steering wheel, so that the autonomous vehicle can reach the target speed according to the target trajectory.
  • the related operations performed by the behavior planner, the motion planner and the motion controller may be that the processor 113 as shown in FIG.
  • the behavior planner, the motion planner, and the motion controller are sometimes collectively referred to as a regulation module.
  • memory 114 may store data such as road maps, route information, vehicle location, direction, speed, and other such vehicle data, among other information. Such information may be used by the autonomous vehicle 100 and the computer system 112 during operation of the autonomous vehicle 100 in autonomous, semi-autonomous, and/or manual modes.
  • user interface 116 may include one or more input/output devices within the set of peripheral devices 108 , such as wireless communication system 146 , onboard computer 148 , microphone 150 and speaker 152 .
  • Computer system 112 may control functions of autonomous vehicle 100 based on input received from various subsystems (eg, travel system 102 , sensor system 104 , and control system 106 ) and from user interface 116 .
  • computer system 112 may utilize input from control system 106 to control steering system 132 to avoid obstacles detected by sensor system 104 and obstacle avoidance system 144.
  • computer system 112 is operable to provide control over many aspects of autonomous vehicle 100 and its subsystems.
  • one or more of these components described above may be installed or associated with the autonomous vehicle 100 separately.
  • memory 114 may exist partially or completely separate from autonomous vehicle 100 .
  • the above-described components may be communicatively coupled together in a wired and/or wireless manner.
  • An autonomous vehicle traveling on a road can identify objects within its surroundings to determine adjustments to current speed.
  • the objects may be other vehicles, traffic control equipment, or other types of objects.
  • each identified object may be considered independently, and based on the object's respective characteristics, such as its current speed, acceleration, distance from the vehicle, etc., may be used to determine the speed at which the autonomous vehicle is to adjust.
  • autonomous vehicle 100 or a computing device associated with autonomous vehicle 100 such as computer system 112, computer vision system 140, memory 114 of FIG. traffic, rain, ice on the road, etc.
  • each identified object is dependent on the behavior of the other, so it is also possible to predict the behavior of a single identified object by considering all identified objects together.
  • the autonomous vehicle 100 can adjust its speed based on the predicted behavior of the identified object. In other words, the autonomous vehicle 100 can determine what steady state the vehicle will need to adjust to (eg, accelerate, decelerate, or stop) based on the predicted behavior of the object.
  • the computing device may also provide instructions to modify the steering angle of the autonomous vehicle 100 so that the autonomous vehicle 100 follows a given trajectory and/or maintains a close proximity to the autonomous vehicle 100 safe lateral and longitudinal distances for objects that are not in use (for example, cars in adjacent lanes on the road).
  • the above-mentioned self-driving vehicle 100 can be a car, a truck, a motorcycle, a bus, a boat, an airplane, a helicopter, a lawn mower, an amusement vehicle, an amusement park vehicle, a construction equipment, a tram, a golf cart, a train, etc.
  • the present application The embodiment is not particularly limited.
  • the embodiments of the present application provide a method for planning a vehicle driving route, which can be applied to the autonomous driving vehicle 100 shown in FIG. 3 .
  • the solution provided by the present application may include at least two working modes, one mode is an automatic driving mode, and the other mode is a manual driving mode. The following descriptions will be given separately for the vehicle in this working mode.
  • FIG. 4 is a schematic flowchart of a method for planning a driving route of a vehicle provided by the present application.
  • a method for planning a vehicle driving route provided by an embodiment of the present application may include the following steps:
  • the first information includes one or more of the vehicle's position information, lane information, navigation information, and obstacle information.
  • the lane information is used to determine the relative position of the vehicle and the lane line
  • the navigation information is used to predict the driving direction of the vehicle.
  • the object information is used to determine the relative position of the vehicle and the obstacle.
  • the position information of the vehicle can be completed by means of global positioning system (GPS), real-time kinematic (RTK), camera and lidar.
  • GPS global positioning system
  • RTK real-time kinematic
  • the pre-stored map, GPS location information and millimeter wave measurement information can be combined to determine the possible location of the vehicle, and calculate the possible location occurrence probability of the vehicle, so as to determine the specific location of the vehicle.
  • the solution provided by the present application can obtain the position information of the vehicle in various ways, and the method of obtaining the position information of the vehicle in the related art can be adopted in the embodiments of the present application.
  • the lane lines can be detected by processing the images collected by the image collection equipment installed on the vehicle. For example, a large number of pictures including lane lines can be used as training data to train the target detection model. After the training is completed, the target detection model can recognize the lane lines in the images collected by the image acquisition device, and determine the position of the lane lines in the image. .
  • road condition detection can be performed by the installed millimeter wave radar and image acquisition device, and the road condition detection result can be used as lane information to determine the relative position of the vehicle and the lane line. It should be noted that the solution provided by the present application can obtain the lane line information of the vehicle in various ways, and the methods of obtaining the lane line information of the vehicle in the related art can all be adopted in the embodiments of the present application.
  • Navigation information can be obtained through a navigation request.
  • the navigation request may include location information of the origin of the vehicle and location information of the destination.
  • the vehicle can obtain a navigation request through the user clicking or touching the screen of the in-vehicle navigation, or obtain the navigation request through the user's voice command.
  • the vehicle GPS is used in conjunction with the electronic map to carry out path planning, and then the navigation information of the vehicle can be obtained, and the driving direction of the vehicle can be predicted according to the navigation information. It should be noted that the solution provided in the present application can obtain the navigation information of the vehicle in various ways, and the method of obtaining the navigation information of the vehicle in the related art can be adopted in the embodiments of the present application.
  • the vehicle may scan the sector area in front of the vehicle for obstacles through a millimeter-wave radar, and collect images of the area in front of the vehicle through an image acquisition device.
  • the fan-shaped area is gridded, so that the obstacles detected by the millimeter-wave radar will be in grid cells.
  • the obstacles detected in the images collected by the image acquisition device are converted into grid cells in the polar coordinate system, and the obstacles detected by the millimeter wave radar in the grid cells and the obstacles detected by the image acquisition device are converted into grid cells.
  • the objects are strictly matched to obtain the final obstacle information. It should be noted that, the solution provided by the present application can obtain obstacle information in various ways, and the method of obtaining obstacle information in the related art can be adopted in the embodiments of the present application.
  • the first information may include one or more of vehicle location information, lane information, navigation information, and obstacle information.
  • the first information may include a type of information, for example, the first information includes position information of the vehicle.
  • the first information may include two kinds of information, for example, the first information includes position information and lane information of the vehicle.
  • the first information may include three kinds of information, for example, the first information includes position information of the vehicle, lane information, and navigation information.
  • the first information may include four kinds of information, for example, the first information includes vehicle position information, lane information, navigation information and obstacle information.
  • the types of the types of first information listed above are only for illustrative purposes and do not represent limitations.
  • the first information may include location information and obstacle information, or the first information may also include information other than those mentioned above. The location information of the arriving vehicle, lane information, navigation information, and other information other than obstacle information.
  • Environment information around the vehicle may be determined through the acquired first information, and the environment information around the vehicle may be used to determine whether the vehicle has ever entered the same or similar scene. In some scenarios with simple road conditions, it can be considered that as long as the position information of the vehicles is consistent, the same scenario can be determined. In some scenes with complex road conditions, it may be necessary to determine the same scene only when the vehicle's position information, lane information, navigation information and obstacle information are consistent.
  • the vehicle is in automatic driving mode
  • the first information is the input data of the first model
  • the output data of the first model is used to plan a driving route for the vehicle
  • the first model takes the driving trajectory of the vehicle in the manual driving mode as the training target
  • a model obtained by training the second information obtained in the manual driving mode the type of information included in the second information is consistent with the type of information included in the first information, and the similarity between the first information and the second information satisfies a preset condition.
  • the first information mentioned in the above step 401 may include one or more of vehicle position information, lane information, navigation information, and obstacle information.
  • the type of information included in the second information is consistent with the type of information included in the first information, and the second information may include one or more of vehicle location information, lane information, navigation information, and obstacle information.
  • the first information includes the position information of the vehicle
  • the second information includes the position information of the vehicle
  • the first information includes the position information and lane information of the vehicle
  • the second information includes the position information and lane information of the vehicle
  • the first information includes the position information and lane information of the vehicle
  • the information includes the position information, lane information and navigation information of the vehicle
  • the second information includes the position information, lane information and navigation information of the vehicle
  • the first information includes the position information, lane information, navigation information and obstacle information of the vehicle
  • the first information includes the vehicle position information, lane information, navigation information and obstacle information.
  • the second information includes vehicle position information, lane information, navigation information and obstacle information.
  • the similarity between the first information and the second information satisfies the preset condition in order to determine whether the vehicle enters the same scene.
  • the surrounding environment information obtained by the vehicle passing through the first road section is the first information
  • the surrounding environment information obtained by the vehicle passing through the second road section is the second information. If the similarity between the first information and the second information meets the preset conditions, it is considered that the first The first road segment and the second road segment are the same or similar scenes, for example, the first road segment and the second road segment may be the same road segment.
  • the first information includes the location information of the vehicle as an example for description, where the location information may include the latitude and longitude information of the location where the vehicle is located.
  • the first information includes first longitude and latitude information
  • the second information includes second longitude and latitude information. If the difference between the two is less than a preset threshold, it can be considered that the similarity between the first information and the second information meets the preset condition. If If the difference between the two is greater than the preset threshold, it can be considered that the similarity between the first information and the second information does not meet the preset condition.
  • the first information includes lane information.
  • the first information includes first lane information
  • the second information includes second lane information.
  • a road section includes a total of 2 left-turn lanes, of which the first information is the right lane in the 2 left-turn lanes, and the second information is the left-turn lane in the left-turn lane.
  • the preset conditions are the first information and the second The second information is exactly the same, and the similarity between the first information and the second information satisfies the preset condition, then it is considered that the similarity between the first information and the second information does not meet the preset condition.
  • the preset condition is that the vehicle is in the left-turn lane
  • the first If the similarity between the first information and the second information satisfies the preset condition, it can be considered that the similarity between the first information and the second information meets the preset condition.
  • the first information includes navigation information.
  • the first information includes first navigation information
  • the second information includes second navigation information.
  • the first information includes obstacle information, where the obstacle information may include static obstacle information and dynamic obstacle information, and the first information may include only static obstacle information, or only dynamic obstacle information, or may include both.
  • Static obstacle information also includes dynamic obstacle information.
  • the information about the obstacle can include the relative position relationship between the obstacle and the vehicle, and about the dynamic obstacle, the obstacle information can also include the speed of the dynamic obstacle.
  • the dynamic obstacle information can also Including the direction of the head of other vehicles.
  • the first information includes first obstacle information
  • the second information includes second obstacle information.
  • the first obstacle information includes first relative position information between the obstacle and the vehicle, the first speed of the obstacle, and the first vehicle head direction of the obstacle
  • the second obstacle information includes the distance between the obstacle and the vehicle.
  • the second relative position information, the second speed of the obstacle, and the direction of the second vehicle head of the obstacle includes the distance between the obstacle and the vehicle.
  • the preset condition may be that the deviation between the first relative position information and the second relative position information is less than the first threshold, the deviation between the first speed and the second speed is less than the second threshold, and the first head direction and the third If the deviation between the vehicle head directions is less than the third threshold, it is considered that the similarity between the first information and the second information satisfies the preset condition.
  • the preset condition may be that the deviation between the first relative position information and the second relative position information is less than the first threshold, and the deviation between the first speed and the second speed is less than the second threshold, then it is considered that the first information and The similarity of the second information satisfies a preset condition. It should be noted that, in the actual application process, the preset conditions can be set according to the requirements according to the scene.
  • the similarity of the same type of information in the first information and the second information is determined, and a linear weighted sum of the similarity of the same type of information is used to determine the similarity of the first information and the second information.
  • the first information includes the first position information of the vehicle, the first lane information, the first navigation information and the first obstacle information
  • the second information includes the second position information of the vehicle, the second lane information, and the second navigation information. information and second obstacle information.
  • the weight of the similarity of the location information is 3/8
  • the weight of the similarity of the lane information is 3/8
  • the weight of the similarity of the navigation information is 1/8
  • the weight of the similarity of the obstacle information is 1. /8.
  • the similarity is set to 1, and the similarity of the two pieces of information does not meet the preset condition, then the similarity is set to 0. If the similarity between the first position information and the second position information is similar The degree of similarity satisfies the first preset condition, the similarity between the first lane information and the second lane information does not meet the second preset condition, the similarity between the first navigation information and the second navigation information does not meet the third preset condition, the first The similarity between the obstacle information and the second obstacle information satisfies the fourth preset condition, then (3/8*1+3/8*0+1/8*0+1/8*1) is the same type of information The linear weighted sum of the similarity, that is, the linear weighted sum is 1/2.
  • the preset condition sets the similarity to be not less than 1/2, it can be considered that the similarity between the first information and the second information satisfies the preset condition. Assuming that the similarity is set to be greater than 1/2, it can be considered that the similarity between the first information and the second information does not meet the preset condition.
  • the values of the weights of the similarity degrees of different information listed above, and the values that satisfy the similarity condition are set to 1, and those that do not meet the similarity condition are set to 0, are all examples, and do not mean that the value of the application is correct. In practical application scenarios, the weights of different types of information can be selected according to the requirements of the scenario, and the linear weighted sum of the similarity of the same type of information can be determined.
  • the similarity between the first information and the second information may also be determined in other manners.
  • the first information and the second information include a total of 4 kinds of information, and it can be set that 3 kinds of information meet the preset conditions, and it can be considered that the similarity between the first information and the second information satisfies the preset conditions.
  • the three types of information here satisfy the preset conditions, which means that the three types of information respectively satisfy their respective preset conditions, which will not be repeated in this article.
  • how to determine whether each kind of information satisfies the preset condition has been described above.
  • the vehicle has entered two similar driving scenarios.
  • the first information is the input data of the first model, and the first model The output data is used to plan a driving route for the vehicle.
  • the first model is a model obtained by training the second information obtained in the manual driving mode with the driving trajectory of the vehicle in the manual driving mode as the training target.
  • FIG. 5a it is a schematic flowchart of the process when the vehicle is in the automatic driving mode.
  • the sensor system sends the perceived surrounding environment information (such as the first information) to the behavior planner.
  • the behavior planner issues high-level decisions based on the surrounding environment obtained by the sensor system, and the motion planner plans expectations based on the high-level decisions issued by the behavior planner.
  • the motion controller is responsible for operating the accelerator and braking steering wheel, allowing the autonomous vehicle to follow the target trajectory and reach the target speed.
  • the driver does not intervene, as shown in Figure 5a with a dashed line to indicate the process of the driver's manipulation.
  • a driving route can be planned for the vehicle according to the output data of the first model according to the first information as the input data of the first model.
  • the vehicle is in manual driving mode
  • the first information is used to train the first model.
  • the driver can operate the steering wheel or step on the The way the brake pedal intervenes in the driving of the vehicle.
  • the sensor system is kept in normal operation and the surrounding environment information is output.
  • the behavior planner, motion planner, and motion controller do not intervene in the control of the vehicle.
  • the first model is trained by using the data obtained by the sensor system (ie the surrounding environment information) in the manual driving mode as training data.
  • the data obtained by the sensor in the manual driving mode can be understood as: the data obtained by the sensor during the period from when the driver drives the vehicle to when the sensor switches back to the automatic driving mode, or the driver drives the vehicle to a preset distance. Or the data acquired by the sensor during a preset duration.
  • the training target of the first model is the driving trajectory of the vehicle in the manual driving mode, that is, the training target is to make the output data of the first model closer to the driving trajectory of the driver.
  • the goal of training is to make the trajectory distribution output by the trained first model match the trajectory distribution of the vehicle in the manual driving mode, or the deviation is within a preset range.
  • any imitation learning algorithm in the related art can be used in the embodiments of the present application.
  • the solution provided by the present application acquires the environmental information around the vehicle, such as the first information and the second information, in real time.
  • the model is trained with the environment information around the vehicle as the training data, so that the trajectory output by the model can be close to the driving trajectory of the vehicle in the manual driving mode.
  • the environmental information around the vehicle is used as the input data of the model, and the output of the model is The data plans the driving route for the vehicle.
  • the solution provided by this application can reduce the frequency of manual takeover.
  • the similarity of the scene (surrounding environment information) where the vehicle is located can be evaluated by evaluating the similarity between the first information and the M groups of information.
  • the similarity satisfies the preset condition, that is, it is considered that the similarity between the current scene of the vehicle and the scene corresponding to the existing available model exceeds the threshold, and the available model with the highest similarity can be selected from the M models, and the currently obtained periodic environment information (such as The first information) is used as the input of the available model with the highest similarity (such as the first model), and the output data of the available model with the highest similarity can plan a driving route for the vehicle.
  • This scenario is described in detail below.
  • FIG. 6 is a schematic flowchart of a method for planning a driving route of a vehicle provided by an embodiment of the present application.
  • the method for planning a driving route for a vehicle provided by an embodiment of the present application may include:
  • Step 601 can be understood with reference to step 401 in the embodiment corresponding to FIG. 4 , and details are not repeated here.
  • Each group of information in the M groups of information is the information obtained when the vehicle is in the manual driving mode.
  • the similarity of any two groups of information in the M groups of information does not meet the preset conditions. for training a model.
  • the similarity of any two groups of information in the M groups of information does not satisfy the preset condition, so that each information in the M groups of information can correspond to a different scenario, and different scenarios correspond to different models.
  • M is 2
  • the M groups of information are M1 group information and M2 group information respectively.
  • the M1 group information and the M2 group information are both information obtained in the manual driving mode.
  • the M1 group information is the information obtained in the scenario of Figure 1c
  • the M2 group information is the information obtained in the scenario of Figure 2b.
  • the type of information included in the M group of information is the location information of the vehicle.
  • the geographical position of the vehicle has a large deviation, and it can be considered that the similarity between the M1 group information and the M2 group information does not meet the preset conditions.
  • the M groups of information including two groups of information are only for illustration, and in an actual scenario, the M groups of information may include more than two groups of information.
  • the type information included in the M groups of information is the position information of the vehicle
  • each group of information in the M groups of information may correspond to a different road segment respectively. How to evaluate the similarity of two pieces of information has been introduced above. For details, please refer to step 402 in the embodiment corresponding to FIG. 4 for an understanding of how to determine the similarity of two pieces of information, which will not be repeated here.
  • the vehicle is in automatic driving mode
  • the first information is the input data of the first model.
  • the M groups of information are respectively the M1 group information and the M2 group information
  • the M1 group information is the information obtained in the scenario of Fig. 1c
  • the M2 group information is the information obtained in the scenario of Fig. 2b.
  • the model corresponding to the M1 group information is the A model
  • the model corresponding to the M2 group information is the B model.
  • the A model when the trajectory of the output of the A model and the distribution of the vehicle trajectory in the manual driving mode in the scene of Figure 1c are within the preset range, the A model is considered to have completed the training, and the output data of the A model can be used for the vehicle to plan the driving. route. If the similarity between the first information and the M1 group information satisfies the preset condition, and the similarity between the first information and the M1 group information is greater than the similarity between the first information and the M2 group information, the first information can be used as the input of the A model At this time, the output data of the A model can be used to plan the driving route for the vehicle.
  • the planned driving route is similar to the driving trajectory of the vehicle in the manual driving mode, and will not collide with the obstacles at the exit of the parking space.
  • the trajectory output by the model is sometimes referred to as the data output by the model, and when the difference between the two is not emphasized, the two have the same meaning.
  • the B model when the trajectory of the output of the B model and the distribution of the vehicle trajectory in the manual driving mode in the scene of Figure 2b are within the preset range, the B model is considered to have completed the training, and the output data of the B model can be used for the vehicle to plan the driving. route. If the similarity between the first information and the M2 group information satisfies the preset condition, and the similarity between the first information and the M1 group information is smaller than the similarity between the first information and the M2 group information, the first information can be used as the input of the B model At this time, the output data of the B model can be used to plan the driving route for the vehicle. At this time, the planned driving route is similar to the driving trajectory of the vehicle in the manual driving mode, which can avoid the continuous manhole cover on the road.
  • the similarity of the scene (surrounding environment information) where the vehicle is located can be evaluated by evaluating the similarity between the first information and the M groups of information. If the similarity between the first information and the M groups of information meets the preset conditions, it is considered that the current scene of the vehicle is similar. If the similarity with the scene corresponding to the existing available model exceeds the threshold, the available model with the highest similarity can be selected, and the currently obtained periodic environment information (such as the first information) is used as the available model with the highest similarity (such as the first model)
  • the output data of the available model with the highest similarity can plan the driving route for the vehicle. Wherein, it can be considered that the model is a usable model when the distribution of vehicle trajectories in the manual driving mode is within a preset range.
  • the available models are described further below.
  • the vehicle is in manual driving mode
  • the first information is used to train the first model to Get the updated first model.
  • the similarity between the first information and a certain group of information in the M groups of information satisfies the preset condition, for example, the similarity between the first information and the second information in the M group of information satisfies the preset condition, it can be considered that the vehicle is currently located in the The scene is the same or similar to a scene in the historical manual driving mode.
  • the available model with the highest similarity is selected, such as the first model with the highest similarity, and the first model is updated and trained by using the first information.
  • the available models for this scene are updated, ie the first model is updated.
  • the first information is used to train the first model for the first time.
  • the similarity between the first information and each of the M groups of information does not meet the preset condition, it can be considered that there is no scene identical or similar to the scene where the vehicle is currently located in the historical manual driving mode. There is no output data from the model available at this time to plan a driving route for the vehicle. Then, using the first information, a temporary model is constructed for training, and a temporary model for the scene is formed, that is, the first model is trained for the first time by using the first information. At this time, the first model may not meet the training target, that is, the distribution of the output trajectory of the first model and the driving trajectory of the vehicle in the manual driving mode is not within the preset range. Then the first model trained for the first time is a temporary model, a non-available model.
  • the information of the similarity with the first information is obtained for many times, and the first model is iteratively trained until the first model. If the model meets the training target, the first model is an available model, and the first model that is an available model at this time can plan a driving route for the vehicle.
  • the first training is performed on the first model by using the first information.
  • the first model is trained for the second time through the third information, and so on, and the first model is continuously iteratively trained until the output of the first model is If the distribution of the trajectory and the driving trajectory of the vehicle in the manual driving mode is within a preset range, the first model is considered to be a usable model.
  • the fourth information is not used as the first information.
  • the input of a model does not use the output of the first model at this time as the planned driving route of the vehicle. Because the distribution of the output trajectory of the first model and the driving trajectory of the vehicle in the manual driving mode is not within the preset range at this time, if the output of the first model is used to plan a driving route for the vehicle, danger may occur.
  • FIG. 7 another schematic flowchart of a method for planning a driving route of a vehicle provided by an embodiment of the present application.
  • the vehicle acquires surrounding environment information (for example, the vehicle acquires the first message).
  • the available models that do not have similar scenarios can understand the models that have similar scenarios, but the models in this scenario have not yet reached the training goal, or they can be understood as models that do not have similar scenarios.
  • the vehicle is in the manual driving mode, and the vehicle trajectory in the manual driving mode, or the driving trajectory of the vehicle, is obtained, and the similarity of the scenes is evaluated. If there is a model corresponding to a similar scene, and the model is already an available model, the model is trained through the currently obtained surrounding environment information to obtain an updated model. If there is no model corresponding to a similar scene, the model is trained based on the currently obtained surrounding environment information. The model at this time is referred to as a temporary model in this application, and is used to distinguish it from the available models.
  • the temporary model indicates that the model has not reached the training target, that is, the distribution of the trajectory output by the model and the vehicle's trajectory in the manual driving mode is not within the preset range, and the vehicle's trajectory in the manual driving mode cannot be simulated.
  • Whether a model is a usable model or a temporary model can be determined by evaluating whether the model is safe and stable.
  • the evaluation model is safe and stable, in addition to the above-mentioned way of judging whether the output data of the model and the distribution of the vehicle's driving trajectory in the manual driving mode are within the preset range, there are other ways. For example, it is possible to add disturbances based on existing scenes, and build more scene verifications to ensure that there is no collision within the drivable range, and then confirm that the model meets the needs of safety and stability.
  • FIG. 8a it is a schematic diagram of a scenario of a method for planning a driving route of a vehicle provided by the present application.
  • the geographic location of the vehicle can be obtained.
  • static obstacle information such as the street lights on both sides of the road shown in Figure 8a
  • dynamic obstacle information such as other vehicles on the road, not shown in the figure
  • the prompting manner may include text prompting or voice prompting, which is not limited in this embodiment of the present application.
  • the information about the surrounding environment may be embodied in different ways.
  • the surrounding environment information may only include the geographic location.
  • a prompt message is sent, and the prompt message uses for instructing the vehicle to train the first model according to the current position information of the vehicle.
  • FIG. 8b it is a schematic diagram of a scenario of a method for planning a driving route of a vehicle provided by the present application.
  • the geographic location of the vehicle, static obstacle information (such as the street lights on both sides of the road shown in Figure 8b), and dynamic obstacle information (such as other vehicles on the road, not shown in the figure) can be obtained.
  • the vehicle When the vehicle is in the automatic driving mode, if it is determined that the similarity between the surrounding environment information of the vehicle and the environmental information around the vehicle in the manual driving mode meets the preset condition, for example, the surrounding environment information of the vehicle shown in FIG. 8b and the surrounding environment information shown in FIG. 8a If the similarity of the surrounding environmental information of the vehicle satisfies the preset condition, a prompt message is sent, prompting to plan a driving route for the vehicle according to the data output from the model. For example, it can be prompted that the scene matching is successful, and the driving route is being planned for the vehicle according to the model output data.
  • the preset condition for example, the surrounding environment information of the vehicle shown in FIG. 8b and the surrounding environment information shown in FIG. 8a
  • a prompt message is sent, prompting to plan a driving route for the vehicle according to the data output from the model. For example, it can be prompted that the scene matching is successful, and the driving route is being planned for the vehicle according to the model output data.
  • FIG. 9 it is a schematic diagram of a scenario of another method for planning a driving route of a vehicle provided by the present application.
  • vehicle A, vehicle B and vehicle C all enter the manual driving mode on the same road section
  • vehicle A, vehicle B and vehicle C can use the surrounding environment information (such as the first information) obtained by each and the
  • the driving trajectory is sent to the cloud-side device, and the cloud-side device trains the first model according to the obtained first information sent by multiple vehicles, and sends the trained first model to vehicle A, vehicle B, and vehicle C.
  • the cloud-side device may also send the first model to vehicles that do not participate in sending the first information, for example, to other vehicles other than vehicle A, vehicle B, and vehicle C.
  • the cloud-side device may also send the first model to vehicles that do not participate in sending the first information, for example, to other vehicles other than vehicle A, vehicle B, and vehicle C.
  • other vehicles pass through the road section, they can plan a driving route for the vehicles according to the output data of the first model, and avoid continuous manhole covers.
  • the vehicle is used to obtain first information
  • the first information may include one or more of vehicle location information, lane information, navigation information, and obstacle information
  • the lane information is used to determine the vehicle
  • the relative position of the lane line, the navigation information is used to predict the driving direction of the vehicle
  • the obstacle information is used to determine the relative position of the vehicle and the obstacle.
  • the vehicle is also used to send the first information and the driving mode of the vehicle to the cloud-side device.
  • the cloud-side device is used to determine that when the vehicle is in the automatic driving mode, plan the driving route for the vehicle according to the output data of the first model.
  • the first information is the input data of the first model
  • the first model is the driving route of the vehicle in the manual driving mode.
  • the trajectory is the training target, and the model is obtained by training the second information obtained in the manual driving mode.
  • the types of information that the second information can include are consistent with the types of information that the first information can include, and the first information and the second information are similar. meet the preset conditions.
  • the cloud-side device is further configured to train the first model according to the first information when it is determined that the vehicle is in the manual driving mode.
  • the cloud-side device is further configured to: evaluate the similarity between the first information and the M groups of information, where each group of information in the M groups of information is information obtained when the vehicle is in the manual driving mode, and the M The similarity of any two groups of information in the group information does not meet the preset condition, and each group of information in the M groups of information is used to train a model respectively.
  • the similarity between the first information and the second information in the M groups of information satisfies a preset condition, and the similarity between the second information and the first information in the M groups of information is the largest, the first information is the input data of the first model.
  • the cloud-side device is further configured to: evaluate the similarity between the first information and the M groups of information, where each group of information in the M groups of information is information obtained when the vehicle is in the manual driving mode, and the M The similarity of any two groups of information in the group information does not meet the preset conditions, each group of information in the M groups of information is used to train a model, the second information in the M groups of information is used to train the first model, and M is positive integer.
  • the similarity between the first information and the second information in the M groups of information satisfies a preset condition, and the similarity between the second information and the first information in the M groups of information is the largest, the first information is used to train the first model to obtain an update After the first model.
  • the cloud-side device is further configured to evaluate the similarity between the first information and the M groups of information, where each group of information in the M groups of information is information obtained when the vehicle is in the manual driving mode, and the M groups of information are The similarity of any two groups of information in the information does not meet the preset condition, and each group of information in the M groups of information is used to train a model, and M is a positive integer.
  • the first information is used to train the first model for the first time.
  • the cloud-side device is further configured to send a prompt message when it is determined that the current position information of the vehicle is consistent with the position information of the vehicle obtained in the manual driving mode, and the prompt message is used to instruct the vehicle according to the first model.
  • the output data is the planned driving route of the vehicle, and the first model is a model obtained by training the position information of the vehicle obtained in the manual driving mode.
  • the cloud-side device is further configured to send a prompt message, where the prompt message is used to instruct to train the first model according to the current position information of the vehicle.
  • the cloud-side device is further configured to determine the similarity of the same type of information in the first information and the second information, and the linear weighted sum of the similarity of the same type of information is used to determine the first information and the second information similarity of information.
  • the first model may include a convolutional neural network CNN or a recurrent neural network RNN.
  • FIG. 10 is a schematic structural diagram of an apparatus for planning a driving route of a vehicle provided by an embodiment of the present application.
  • the apparatus for planning the driving route of the vehicle may include an acquisition module 1001 , a regulation module 1002 , a training module 1003 , an evaluation module 1004 , a transmission module 1006 and a processing module 1005 .
  • it may include: an acquisition module 1001, configured to acquire first information, where the first information may include one or more of vehicle location information, lane information, navigation information, obstacle information, lane information
  • the information is used to determine the relative position of the vehicle and the lane line
  • the navigation information is used to predict the driving direction of the vehicle
  • the obstacle information is used to determine the relative position of the vehicle and the obstacle.
  • the regulation and control module 1002 is used for planning the driving route for the vehicle according to the output data of the first model when the vehicle is in the automatic driving mode, and the first information obtained by the obtaining module 1001 is the input data of the first model, and the first model is based on manual driving.
  • the driving trajectory of the vehicle in the mode is the training target, and the model is obtained by training the second information obtained in the manual driving mode.
  • the types of information that the second information can include are consistent with the types of information that the first information can include.
  • the first information and the The similarity of the second information satisfies a preset condition.
  • the training module 1003 is used for training the first model according to the first information obtained by the obtaining module 1001 when the vehicle is in the manual driving mode.
  • it may further include: an evaluation module 1004, configured to evaluate the similarity between the first information and the M groups of information, where each group of information in the M groups of information is information obtained when the vehicle is in a manual driving mode , the similarity of any two groups of information in the M groups of information does not meet the preset condition, and each group of information in the M groups of information is used to train a model respectively.
  • an evaluation module 1004 configured to evaluate the similarity between the first information and the M groups of information, where each group of information in the M groups of information is information obtained when the vehicle is in a manual driving mode , the similarity of any two groups of information in the M groups of information does not meet the preset condition, and each group of information in the M groups of information is used to train a model respectively.
  • it may further include: an evaluation module 1004, configured to evaluate the similarity between the first information and the M groups of information, where each group of information in the M groups of information is information obtained when the vehicle is in a manual driving mode , the similarity of any two groups of information in the M groups of information does not meet the preset conditions, each group of information in the M groups of information is used to train a model, and the second information in the M groups of information is used to train the first model, M is a positive integer.
  • the first information is used to train the first model to obtain an update After the first model.
  • it may further include: an evaluation module 1004, configured to evaluate the similarity between the first information and the M groups of information, where each group of information in the M groups of information is information obtained when the vehicle is in a manual driving mode , the similarity of any two groups of information in the M groups of information does not meet the preset condition, and each group of information in the M groups of information is respectively used to train a model, and M is a positive integer.
  • an evaluation module 1004 configured to evaluate the similarity between the first information and the M groups of information, where each group of information in the M groups of information is information obtained when the vehicle is in a manual driving mode , the similarity of any two groups of information in the M groups of information does not meet the preset condition, and each group of information in the M groups of information is respectively used to train a model, and M is a positive integer.
  • the first information is used to train the first model for the first time.
  • it may further include: a sending module 1006, configured to send a prompt message when the evaluation module 1004 determines that the current position information of the vehicle is consistent with the position information of the vehicle obtained in the manual driving mode, and the prompt message is used to indicate The vehicle plans a driving route for the vehicle according to the output data of the first model, and the first model is a model obtained by training the position information of the vehicle obtained in the manual driving mode.
  • a sending module 1006 configured to send a prompt message when the evaluation module 1004 determines that the current position information of the vehicle is consistent with the position information of the vehicle obtained in the manual driving mode, and the prompt message is used to indicate The vehicle plans a driving route for the vehicle according to the output data of the first model, and the first model is a model obtained by training the position information of the vehicle obtained in the manual driving mode.
  • it may further include: a sending module 1006, configured to send a prompt message, where the prompt message is used to instruct to train the first model according to the current position information of the vehicle.
  • the processing module 1005 is configured to determine the similarity of the same type of information in the first information and the second information, and the linear weighted sum of the similarity of the same type of information is used to determine the first information and the second information similarity.
  • the first model may include a convolutional neural network CNN or a recurrent neural network RNN.
  • FIG. 11 is a schematic structural diagram of the automatic driving vehicle provided by the embodiment of the application, wherein the automatic driving vehicle 100
  • the apparatus for planning a vehicle driving route described in the embodiment corresponding to FIG. 10 may be deployed on the above-mentioned device, so as to realize the functions of the automatic driving vehicle in the corresponding embodiment of FIG. 4 to FIG. 9 .
  • the autonomous driving vehicle 100 may further include a communication function
  • the autonomous driving vehicle 100 may further include a receiver 1201 and a transmitter 1202 in addition to the components shown in FIG. 3 , wherein the processor 113 may An application processor 1131 and a communication processor 1132 are included.
  • the receiver 1201, the transmitter 1202, the processor 113, and the memory 114 may be connected by a bus or otherwise.
  • the processor 113 controls the operation of the autonomous vehicle.
  • various components of the autonomous vehicle 100 are coupled together through a bus system, where the bus system may include a power bus, a control bus, a status signal bus, and the like in addition to a data bus.
  • the various buses are referred to as bus systems in the figures.
  • the receiver 1201 can be used to receive input numerical or character information, and generate signal input related to the relevant settings and function control of the autonomous vehicle.
  • the transmitter 1202 can be used to output digital or character information through the first interface; the transmitter 1202 can also be used to send instructions to the disk group through the first interface to modify the data in the disk group; the transmitter 1202 can also include a display device such as a display screen .
  • the application processor 1131 is configured to execute the method for planning a vehicle driving route performed by the autonomous driving vehicle in the embodiment corresponding to FIG. 4 . Specifically, the application processor 1131 is configured to perform the following steps:
  • the driving route is planned for the vehicle according to the output data of the first model.
  • the first information obtained by the sensor system is the input data of the first model, and the first model is trained on the driving trajectory of the vehicle in the manual driving mode.
  • the target is a model obtained by training the second information obtained in the manual driving mode.
  • the types of information that the second information can include are consistent with the types of information that the first information can include, and the similarity between the first information and the second information satisfies the predetermined level. Set conditions.
  • the first model is trained according to the first information obtained by the sensor system.
  • the similarity between the first information and the M groups of information is evaluated, each group of information in the M groups of information is information obtained when the vehicle is in a manual driving mode, and any two groups of information in the M groups of information The similarity does not meet the preset conditions, and each group of information in the M groups of information is used to train a model.
  • the similarity between the first information and the second information in the M groups of information satisfies a preset condition, and the similarity between the second information and the first information in the M groups of information is the largest, the first information is the input data of the first model.
  • the similarity between the first information and the M groups of information is evaluated, each group of information in the M groups of information is information obtained when the vehicle is in a manual driving mode, and any two groups of information in the M groups of information
  • the similarity does not meet the preset condition, each of the M groups of information is used to train a model, the second information of the M groups of information is used to train the first model, and M is a positive integer.
  • the first information is used to train the first model to obtain an update After the first model.
  • the similarity between the first information and the M groups of information is evaluated, each group of information in the M groups of information is information obtained when the vehicle is in a manual driving mode, and any two groups of information in the M groups of information The similarity does not meet the preset conditions, and each group of information in the M groups of information is used to train a model, and M is a positive integer.
  • the first information is used to train the first model for the first time.
  • the transmitter is configured to send the first message to the cloud-side device.
  • the receiver is configured to receive the first model sent by the cloud-side device.
  • Embodiments of the present application also provide a computer-readable storage medium, where a program for planning a vehicle's driving route is stored in the computer-readable storage medium, and when the computer is running on a computer, the computer is made to execute the operations shown in FIGS. 4 to 9 above.
  • Embodiments of the present application also provide a computer program product that, when driving on a computer, causes the computer to execute the steps performed by the autonomous vehicle in the methods described in the embodiments shown in FIGS. 4 to 9 .
  • An embodiment of the present application further provides a circuit system, the circuit system includes a processing circuit, and the processing circuit is configured to execute the steps performed by the autonomous driving vehicle in the method described in the embodiments shown in the foregoing FIG. 4 to FIG. 9 .
  • the device for planning a vehicle driving route or the autonomous driving vehicle provided in the embodiment of the present application may specifically be a chip, and the chip includes: a processing unit and a communication unit, the processing unit may be, for example, a processor, and the communication unit may be, for example, an input/output interface, pin or circuit, etc.
  • the processing unit can execute the computer-executable instructions stored in the storage unit, so that the chip in the server executes the method for planning a driving route of a vehicle described in the embodiments shown in FIG. 4 to FIG. 9 .
  • the storage unit is a storage unit in the chip, such as a register, a cache, etc.
  • the storage unit may also be a storage unit located outside the chip in the wireless access device, such as only Read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), etc.
  • ROM Read-only memory
  • RAM random access memory
  • FIG. 12 is a schematic structural diagram of a chip provided by an embodiment of the application.
  • the chip may be represented as a neural network processor NPU 130, and the NPU 130 is mounted as a co-processor to the main CPU (Host CPU), tasks are allocated by the Host CPU.
  • the core part of the NPU is the arithmetic circuit 1303, which is controlled by the controller 1304 to extract the matrix data in the memory and perform multiplication operations.
  • the arithmetic circuit 1303 includes multiple processing units (Process Engine, PE). In some implementations, the arithmetic circuit 1303 is a two-dimensional systolic array. The arithmetic circuit 1303 may also be a one-dimensional systolic array or other electronic circuitry capable of performing mathematical operations such as multiplication and addition. In some implementations, arithmetic circuit 1303 is a general-purpose matrix processor.
  • the operation circuit fetches the data corresponding to the matrix B from the weight memory 1302 and buffers it on each PE in the operation circuit.
  • the arithmetic circuit fetches the data of matrix A and matrix B from the input memory 1301 to perform matrix operation, and stores the partial result or final result of the matrix in the accumulator 1308 .
  • Unified memory 1306 is used to store input data and output data.
  • the weight data is directly passed through the storage unit access controller (direct memory access controller, DMAC) 1305, and the DMAC is transferred to the weight memory 1302.
  • Input data is also moved to unified memory 1306 via the DMAC.
  • a bus interface unit (BIU) 1310 is used for the interaction between the AXI bus and the DMAC and an instruction fetch buffer (instruction fetch buffer, IFB) 1309.
  • IFB instruction fetch buffer
  • the BIU 1310 is used for the instruction fetch memory 1309 to obtain instructions from the external memory, and is also used for the storage unit access controller 1305 to obtain the original data of the input matrix A or the weight matrix B from the external memory.
  • the DMAC is mainly used to transfer the input data in the external memory DDR to the unified memory 1306 , the weight data to the weight memory 1302 , or the input data to the input memory 1301 .
  • the vector calculation unit 1307 includes a plurality of operation processing units, and if necessary, further processes the output of the operation circuit, such as vector multiplication, vector addition, exponential operation, logarithmic operation, size comparison and so on. It is mainly used for non-convolutional/fully connected layer network computations in neural networks, such as batch normalization, pixel-level summation, and upsampling of feature planes.
  • vector computation unit 1307 can store the processed output vectors to unified memory 1306 .
  • the vector calculation unit 1307 may apply a linear function and/or a non-linear function to the output of the operation circuit 1303, such as performing linear interpolation on the feature plane extracted by the convolution layer, such as a vector of accumulated values, to generate activation values.
  • the vector computation unit 1307 generates normalized values, pixel-level summed values, or both.
  • the vector of processed outputs can be used as an activation input to the arithmetic circuit 1303, such as for use in subsequent layers in a neural network.
  • An instruction fetch buffer 1309 connected to the controller 1304 is used to store the instructions used by the controller 1304 .
  • the unified memory 1306, the input memory 1301, the weight memory 1302 and the instruction fetch memory 1309 are all On-Chip memories. External memory is private to the NPU hardware architecture.
  • each layer in the recurrent neural network can be performed by the operation circuit 1303 or the vector calculation unit 1307 .
  • the processor mentioned in any one of the above may be a general-purpose central processing unit, a microprocessor, an ASIC, or one or more integrated circuits for controlling the execution of the program of the method in the first aspect.
  • the device embodiments described above are only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be A physical unit, which can be located in one place or distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.
  • U disk mobile hard disk
  • ROM read-only memory
  • RAM magnetic disk or optical disk
  • a computer device which may be a personal computer, server, or network device, etc.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general purpose computer, special purpose computer, computer network, or other programmable device.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, optical fiber, digital subscriber line) or wireless (eg, infrared, wireless, microwave, etc.).
  • wire eg, coaxial cable, optical fiber, digital subscriber line
  • wireless eg, infrared, wireless, microwave, etc.
  • the computer-readable storage medium may be any available medium that can be stored by a computer, or a data storage device such as a server, data center, etc., which includes one or more available media integrated.
  • the usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, solid state disks (SSDs)), and the like.

Abstract

A method for planning a driving route of a vehicle, which can be applied to an intelligent vehicle and an intelligent and connected vehicle. The method may comprise: acquiring first information, wherein the first information comprises one or more pieces of position information, lane information, navigation information and obstacle information of a vehicle; when the vehicle is in an autonomous driving mode, the first information being input data of a first model, and output data of the first model being used for planning a driving route for the vehicle, wherein the first model is a model obtained by means of taking a driving trajectory of the vehicle in a manual driving mode as a training target and training second information acquired in the manual driving mode, the type of information included in the second information is consistent with the type of information included in the first information, and the similarity between the first information and the second information meets a preset condition; and when the vehicle is in the manual driving mode, the first information being used for training the first model. By means of the provided solution, the takeover rate of a driver can be reduced for a large number of long tail scenarios.

Description

一种规划车辆行驶路线的方法以及智能汽车A method for planning a driving route of a vehicle and a smart car
本申请要求于2020年7月20日提交中国专利局、申请号为202010698231.X、申请名称为“一种规划车辆行驶路线的方法以及智能汽车”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on July 20, 2020 with the application number 202010698231.X and titled "A method for planning a vehicle driving route and a smart car", the entire contents of which are approved by Reference is incorporated in this application.
技术领域technical field
本申请涉及自动驾驶领域,尤其涉及一种规划车辆行驶路线的方法以及智能汽车。The present application relates to the field of automatic driving, and in particular, to a method for planning a driving route of a vehicle and a smart car.
背景技术Background technique
人工智能(artificial intelligence,AI)是利用数字计算机或者数字计算机控制的机器模拟、延伸和扩展人的智能,感知环境、获取知识并使用知识获得最佳结果的理论、方法、技术及应用系统。换句话说,人工智能是计算机科学的一个分支,它企图了解智能的实质,并生产出一种新的能以人类智能相似的方式作出反应的智能机器。人工智能也就是研究各种智能机器的设计原理与实现方法,使机器具有感知、推理与决策的功能。人工智能领域的研究包括机器人,自然语言处理,计算机视觉,决策与推理,人机交互,推荐与搜索,AI基础理论等。Artificial intelligence (AI) is a theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In other words, artificial intelligence is a branch of computer science that attempts to understand the essence of intelligence and produce a new kind of intelligent machine that responds in a similar way to human intelligence. Artificial intelligence is to study the design principles and implementation methods of various intelligent machines, so that the machines have the functions of perception, reasoning and decision-making. Research in the field of artificial intelligence includes robotics, natural language processing, computer vision, decision-making and reasoning, human-computer interaction, recommendation and search, and basic AI theory.
自动驾驶是人工智能领域的一种主流应用,自动驾驶技术依靠计算机视觉、雷达、监控装置和全球定位系统等协同合作,让机动车辆可以在不需要人类主动操作下,实现自动驾驶。自动驾驶的车辆使用各种计算系统来帮助将乘客从一个位置运输到另一位置。一些自动驾驶车辆可能要求来自操作者(诸如,领航员、驾驶员、或者乘客)的一些初始输入或者连续输入。自动驾驶车辆准许操作者从手动模操作式切换到自动驾驶模式或者介于两者之间的模式。由于自动驾驶技术无需人类来驾驶机动车辆,所以理论上能够有效避免人类的驾驶失误,减少交通事故的发生,且能够提高公路的运输效率。因此,自动驾驶技术越来越受到重视。Autopilot is a mainstream application in the field of artificial intelligence. Autopilot technology relies on the cooperation of computer vision, radar, monitoring devices and global positioning systems to allow motor vehicles to achieve autonomous driving without the need for human active operation. Autonomous vehicles use various computing systems to help transport passengers from one location to another. Some autonomous vehicles may require some initial or continuous input from an operator, such as a pilot, driver, or passenger. An autonomous vehicle permits the operator to switch from a manual mode of operation to an autonomous driving mode or a mode in between. Since automatic driving technology does not require humans to drive motor vehicles, it can theoretically effectively avoid human driving errors, reduce the occurrence of traffic accidents, and improve the efficiency of highway transportation. Therefore, autonomous driving technology is getting more and more attention.
在自动驾驶技术领域,自动驾驶汽车的路线规划能够实现自动驾驶汽车的路线选择和路线优化(所述路线也称路径或者轨迹),以及进一步实现更优的控制策略。但自动驾驶汽车实际驾驶的工况非常复杂,受天气、温湿度、特殊障碍物、道路形态等影响,会形成大量的长尾场景。长尾场景是指自动驾驶汽车面对的场景,有大量非典型又各不相同的场景,很难以一种统一的规则进行处理,因此如何针对大量长尾场景规划车辆的行驶路线亟待解决。本申请提供了一种车辆行驶路线的方法以及相关设备,可以针对大量长尾场景,降低司机的接管率。In the field of autonomous driving technology, the route planning of the autonomous vehicle can realize the route selection and route optimization of the autonomous vehicle (the route is also called a path or trajectory), and further realize a better control strategy. However, the actual driving conditions of autonomous vehicles are very complex. Affected by weather, temperature and humidity, special obstacles, and road conditions, a large number of long-tail scenarios will be formed. Long-tail scenarios refer to the scenarios faced by autonomous vehicles. There are a large number of atypical and different scenarios, which are difficult to handle with a unified rule. Therefore, how to plan the driving routes of vehicles for a large number of long-tail scenarios needs to be solved urgently. The present application provides a method for a vehicle driving route and related equipment, which can reduce the driver's takeover rate for a large number of long-tail scenarios.
发明内容SUMMARY OF THE INVENTION
本申请提供了一种车辆行驶路线的方法以及相关设备,可以针对大量长尾场景,降低司机的接管率。The present application provides a method for a vehicle driving route and related equipment, which can reduce the driver's takeover rate for a large number of long-tail scenarios.
为解决上述技术问题,本申请提供以下技术方案:In order to solve the above-mentioned technical problems, the application provides the following technical solutions:
本申请第一方面提供一种规划车辆行驶路线的方法,可用于人工智能领域的自动驾驶领域中。可以包括:获取第一信息,第一信息可以包括车辆的位置信息、车道信息,导航 信息,障碍物信息中的一种或者多种。比如第一信息可以包括一种信息,比如第一信息包括车辆的位置信息。或者第一信息可以包括两种信息,比如第一信息包括车辆的位置信息和车道信息。或者第一信息可以包括三种信息,比如第一信息包括车辆的位置信息,车道信息,以及导航信息。或者第一信息可以包括四种信息,比如第一信息包括车辆的位置信息,车道信息,导航信息以及障碍物信息。车道信息用于确定车辆与车道线的相对位置,导航信息用于预测车辆的行驶方向,障碍物信息用于确定车辆与障碍物的相对位置。可以通过获取的第一信息确定车辆周围的环境信息,车辆周围的环境信息可以用于确定车辆是否曾经进入过相同或者相似的场景。在一些路况简单的场景下,可以认为只要车辆的位置信息相一致,即可以确定是相同的场景。在一些路况复杂的场景下,可能需要车辆的位置信息,车道信息,导航信息以及障碍物信息都一致时,才可以确定是相同的场景。车辆处于自动驾驶模式时,第一信息是第一模型的输入数据,第一模型的输出数据用于为车辆规划行驶路线,第一模型是以人工驾驶模式下车辆的行车轨迹为训练目标,对人工驾驶模式下获取的第二信息进行训练得到的模型,第二信息可以包括的信息种类与第一信息可以包括的信息的种类相一致,第一信息和第二信息的相似度满足预设条件,第一信息和第二信息的相似度满足预设条件用于表示第一场景和第二场景相同或者相似,第一场景是车辆获取第一信息时车辆所处的场景,第二场景是车辆获取第二信息时车辆所处的场景。比如,以第一信息包括车辆的位置信息为例进行说明,其中位置信息可以包括车辆所在位置的经纬度信息。比如第一信息包括第一经纬度信息,第二信息包括第二经纬度信息,如果二者的差值小于预设阈值时,则可以认为第一信息和第二信息的相似度满足预设条件,如果二者的差值大于预设阈值,则可以认为第一信息和第二信息的相似度不满足预设条件。车辆处于人工驾驶模式时,第一信息用于训练第一模型,第一模型的输出数据用于为车辆规划行驶路线。由第一方面可知,本申请提供的方案实时获取车辆周围的环境信息,比如第一信息和第二信息。当车辆处于人工驾驶模式时,以车辆周围的环境信息作为训练数据,对模型进行训练,使该模型输出的轨迹可以接近人工驾驶模式下车辆的行驶轨迹。当车辆处于自动驾驶模式时,如果确定车辆的环境信息和模型训练使用的车辆的周围的环境信息的相似度满足预设条件,则以车辆周围的环境信息作为模型的输入数据,根据模型的输出数据为车辆规划行驶路线。通过本申请提供的方案可以降低司机接管的频率。A first aspect of the present application provides a method for planning a driving route of a vehicle, which can be used in the field of automatic driving in the field of artificial intelligence. It may include: acquiring first information, where the first information may include one or more of vehicle position information, lane information, navigation information, and obstacle information. For example, the first information may include a type of information, for example, the first information includes position information of the vehicle. Or the first information may include two kinds of information, for example, the first information includes position information and lane information of the vehicle. Or the first information may include three kinds of information, for example, the first information includes position information of the vehicle, lane information, and navigation information. Or the first information may include four kinds of information, for example, the first information includes vehicle position information, lane information, navigation information and obstacle information. The lane information is used to determine the relative position of the vehicle and the lane line, the navigation information is used to predict the driving direction of the vehicle, and the obstacle information is used to determine the relative position of the vehicle and the obstacle. Environment information around the vehicle may be determined through the acquired first information, and the environment information around the vehicle may be used to determine whether the vehicle has ever entered the same or similar scene. In some scenarios with simple road conditions, it can be considered that as long as the position information of the vehicles is consistent, the same scenario can be determined. In some scenes with complex road conditions, it may be necessary to determine the same scene only when the vehicle's position information, lane information, navigation information and obstacle information are consistent. When the vehicle is in the automatic driving mode, the first information is the input data of the first model, the output data of the first model is used to plan the driving route for the vehicle, and the first model takes the driving trajectory of the vehicle in the manual driving mode as the training target. A model obtained by training the second information obtained in the manual driving mode, the types of information that the second information can include is consistent with the types of information that the first information can include, and the similarity between the first information and the second information satisfies a preset condition , the similarity between the first information and the second information meets a preset condition to indicate that the first scene and the second scene are the same or similar, the first scene is the scene where the vehicle is when the vehicle obtains the first information, and the second scene is the vehicle The scene in which the vehicle is located when the second information is acquired. For example, the first information includes the location information of the vehicle as an example for description, where the location information may include the latitude and longitude information of the location where the vehicle is located. For example, the first information includes first longitude and latitude information, and the second information includes second longitude and latitude information. If the difference between the two is less than a preset threshold, it can be considered that the similarity between the first information and the second information meets the preset condition. If If the difference between the two is greater than the preset threshold, it can be considered that the similarity between the first information and the second information does not meet the preset condition. When the vehicle is in the manual driving mode, the first information is used to train the first model, and the output data of the first model is used to plan a driving route for the vehicle. It can be known from the first aspect that the solution provided by the present application acquires the environmental information around the vehicle in real time, such as the first information and the second information. When the vehicle is in the manual driving mode, the model is trained with the environment information around the vehicle as the training data, so that the trajectory output by the model can be close to the driving trajectory of the vehicle in the manual driving mode. When the vehicle is in the automatic driving mode, if it is determined that the similarity between the environmental information of the vehicle and the surrounding environmental information of the vehicle used for model training meets the preset conditions, the environmental information around the vehicle is used as the input data of the model, and the output of the model The data plans the driving route for the vehicle. The frequency of taking over by the driver can be reduced by the solution provided by this application.
可选地,结合上述第一方面,在第一种可能的实施方式中,该方法还可以包括:评估第一信息与M组信息的相似度,M组信息中的每一组信息均为车辆处于人工驾驶模式时获取的信息,M组信息中的任意两组信息的相似度不满足预设条件,M组信息中的每一组信息分别用于训练一个模型。车辆处于自动驾驶模式时,第一信息是第一模型的输入数据,可以包括:第一信息和M组信息中第二信息的相似度满足预设条件,且M组信息中第二信息与第一信息的相似度最大时,第一信息是第一模型的输入数据。由第一方面第一种可能的实施方式可知,车辆处于自动驾驶模式时,可以通过评估第一信息与M组信息的相似度,评估车辆所处场景(周边环境信息)的相似度,若第一信息和M组信息的相似度满足预设条件,即认为车辆当前场景相似度与已有可用模型对应场景的相似度超过阈值,可以从M个模型中选择相似度最高的可用模型,以当前获取的周期环境信息(比如第一信息) 作为该相似度最高的可用模型(比如第一模型)的输入,该相似度最高的可用模型的输出数据可以为车辆规划行驶路线。Optionally, in combination with the above-mentioned first aspect, in a first possible implementation manner, the method may further include: evaluating the similarity between the first information and M groups of information, where each group of information in the M groups of information is a vehicle For the information obtained in the manual driving mode, the similarity of any two groups of information in the M groups of information does not meet the preset condition, and each group of information in the M groups of information is used to train a model respectively. When the vehicle is in the automatic driving mode, the first information is the input data of the first model, which may include: the similarity between the first information and the second information in the M groups of information satisfies a preset condition, and the second information in the M groups of information is similar to the first information. When the similarity of one piece of information is the largest, the first piece of information is the input data of the first model. It can be seen from the first possible implementation of the first aspect that when the vehicle is in the automatic driving mode, the similarity of the scene (surrounding environment information) where the vehicle is located can be evaluated by evaluating the similarity between the first information and the M groups of information. The similarity between the information and the M groups of information satisfies the preset condition, that is, it is considered that the similarity between the current scene of the vehicle and the scene corresponding to the existing available model exceeds the threshold, and the available model with the highest similarity can be selected from the M models. The acquired periodic environment information (eg, the first information) is used as the input of the available model with the highest similarity (eg, the first model), and the output data of the available model with the highest similarity can plan a driving route for the vehicle.
可选地,结合上述第一方面,在第二种可能的实施方式中,该方法还可以包括:评估第一信息与M组信息的相似度,M组信息中的每一组信息均为车辆处于人工驾驶模式时获取的信息,M组信息中的任意两组信息的相似度不满足预设条件,M组信息中的每一组信息分别用于训练一个模型,M组信息中的第二信息用于训练第一模型,M为正整数。车辆处于人工驾驶模式时,第一信息用于训练第一模型,可以包括:第一信息和M组信息中第二信息的相似度满足预设条件,且M组信息中第二信息与第一信息的相似度最大时,第一信息用于训练第一模型,以得到更新后的第一模型。由第一方面第二种可能的实施方式可知,若当前场景相似度与已有可用模型对应场景的相似度超过阈值,则选择相似度最高的可用模型,比如相似度最高的是第一模型,对利用第一信息对第一模型进行更新训练,更新针对该场景的可用模型,即更新第一模型。Optionally, in combination with the above-mentioned first aspect, in a second possible implementation manner, the method may further include: evaluating the similarity between the first information and M groups of information, where each group of information in the M groups of information is a vehicle For the information obtained in the manual driving mode, the similarity of any two groups of information in the M groups of information does not meet the preset conditions, each group of information in the M groups of information is used to train a model, and the second group of information in the M groups of information is used to train a model. The information is used to train the first model, and M is a positive integer. When the vehicle is in the manual driving mode, the first information is used to train the first model, which may include: the similarity between the first information and the second information in the M groups of information satisfies a preset condition, and the second information in the M groups of information is similar to the first information. When the similarity of the information is the largest, the first information is used to train the first model to obtain the updated first model. It can be seen from the second possible implementation of the first aspect that if the similarity between the current scene and the scene corresponding to the existing available model exceeds the threshold, the available model with the highest similarity is selected, for example, the first model has the highest similarity. The first model is updated and trained by using the first information, and the available model for the scene is updated, that is, the first model is updated.
可选地,结合上述第一方面,在第三种可能的实施方式中,该方法还可以包括:评估第一信息与M组信息的相似度,M组信息中的每一组信息均为车辆处于人工驾驶模式时获取的信息,M组信息中的任意两组信息的相似度不满足预设条件,M组信息中的每一组信息分别用于训练一个模型,M为正整数。车辆处于人工驾驶模式时,第一信息用于训练第一模型,可以包括:第一信息和M组信息中的每一组信息的相似度都不满足预设条件时,第一信息用于对第一模型进行第一次训练。第一信息和M组信息中的每一组信息的相似度都不满足预设条件时,可以认为在历史人工驾驶模式下并没有与车辆目前所处的场景相同或者相似的场景。此时没有可用模型的输出数据可以为车辆规划行驶路线。则使用第一信息,构建临时模型进行训练,形成针对该场景的临时模型,即使用第一信息对第一模型进行第一次训练。此时的第一模型可能无法满足训练目标,即第一模型的输出的轨迹与人工驾驶模式下车辆的行车轨迹的分布不在预设的范围内。则经过第一次训练的第一模型是临时模型,非可用模型,当在人工驾驶模式下,获取了多次与第一信息的相似度的信息,对第一模型进行迭代训练,直至第一模型满足训练目标,则第一模型为可用模型,此时是可用模型的第一模型可以为车辆规划行驶路线。Optionally, in combination with the above-mentioned first aspect, in a third possible implementation manner, the method may further include: evaluating the similarity between the first information and M groups of information, where each group of information in the M groups of information is a vehicle For the information obtained in the manual driving mode, the similarity of any two groups of information in the M groups of information does not meet the preset condition, and each group of information in the M groups of information is used to train a model, and M is a positive integer. When the vehicle is in the manual driving mode, the first information is used to train the first model, which may include: when the similarity between the first information and each group of information in the M groups of information does not meet the preset condition, the first information is used for training the first model. The first model is trained for the first time. When the similarity between the first information and each of the M groups of information does not meet the preset condition, it can be considered that there is no scene identical or similar to the scene where the vehicle is currently located in the historical manual driving mode. There is no output data from the model available at this time to plan a driving route for the vehicle. Then, using the first information, a temporary model is constructed for training, and a temporary model for the scene is formed, that is, the first model is trained for the first time by using the first information. At this time, the first model may not meet the training target, that is, the distribution of the output trajectory of the first model and the driving trajectory of the vehicle in the manual driving mode is not within the preset range. Then the first model trained for the first time is a temporary model, a non-available model. When in the manual driving mode, the information of the similarity with the first information is obtained for many times, and the first model is iteratively trained until the first model. If the model meets the training target, the first model is an available model, and the first model that is an available model at this time can plan a driving route for the vehicle.
可选地,结合上述第一方面或第一方面第一种至第一方面第三种可能的实施方式,在第四种可能的实施方式中,车辆处于自动驾驶模式时,该方法还可以包括:确定车辆当前的位置信息和人工驾驶模式下获取的车辆的位置信息一致时,发送提示消息,提示消息用于指示车辆根据第一模型的输出数据为车辆规划行驶路线,第一模型是对人工驾驶模式下获取的车辆的位置信息训练得到的模型。Optionally, in combination with the first aspect or the third possible implementation manner of the first aspect to the first aspect, in a fourth possible implementation manner, when the vehicle is in an automatic driving mode, the method may further include: : When it is determined that the current position information of the vehicle is consistent with the position information of the vehicle obtained in the manual driving mode, a prompt message is sent, and the prompt message is used to instruct the vehicle to plan a driving route for the vehicle according to the output data of the first model. The model obtained by training the position information of the vehicle obtained in the driving mode.
可选地,结合上述第一方面或第一方面第一种至第一方面第三种可能的实施方式,在第五种可能的实施方式中,车辆处于人工驾驶模式时,该方法还可以包括:发送提示消息,提示消息用于指示根据车辆当前的位置信息训练第一模型。Optionally, in combination with the first aspect or the third possible implementation manner of the first aspect to the first aspect, in a fifth possible implementation manner, when the vehicle is in a manual driving mode, the method may further include : Send a prompt message, where the prompt message is used to instruct to train the first model according to the current position information of the vehicle.
可选地,结合上述第一方面或第一方面第一种至第一方面第五种可能的实施方式,在第六种可能的实施方式中,该方法还可以包括:确定第一信息和第二信息中相同种类信息的相似度,相同种类信息的相似度的线性加权和用于确定第一信息和第二信息的相似度。Optionally, in combination with the first aspect or the fifth possible implementation manner of the first aspect to the first aspect, in a sixth possible implementation manner, the method may further include: determining the first information and the first The similarity of the same type of information in the two pieces of information, and the linear weighted sum of the similarity of the same type of information is used to determine the similarity of the first information and the second information.
可选地,结合上述第一方面或第一方面第一种至第一方面第六种可能的实施方式,在第七种可能的实施方式中,第一模型可以包括卷积神经网络CNN或循环神经网络RNN。由第一方面第七种可能的实施方式可知,给出了两种可能的第一模型,增加了方案的多样性。Optionally, in combination with the first aspect or the sixth possible implementation manner of the first aspect to the first aspect, in the seventh possible implementation manner, the first model may include a convolutional neural network CNN or a loop. Neural network RNN. It can be known from the seventh possible implementation manner of the first aspect that two possible first models are provided, which increases the diversity of solutions.
本申请第二方面提供一种规划车辆行驶路线的装置,可以包括:获取模块,用于获取第一信息,第一信息可以包括车辆的位置信息、车道信息,导航信息,障碍物信息中的一种或者多种,车道信息用于确定车辆与车道线的相对位置,导航信息用于预测车辆的行驶方向,障碍物信息用于确定车辆与障碍物的相对位置。规控模块,用于车辆处于自动驾驶模式时,根据第一模型的输出数据为车辆规划行驶路线,获取模块获取的第一信息是第一模型的输入数据,第一模型是以人工驾驶模式下车辆的行车轨迹为训练目标,对人工驾驶模式下获取的第二信息进行训练得到的模型,第二信息可以包括的信息种类与第一信息可以包括的信息的种类相一致,第一信息和第二信息的相似度满足预设条件。训练模块,用于车辆处于人工驾驶模式时,根据获取模块获取的第一信息训练第一模型。A second aspect of the present application provides an apparatus for planning a driving route of a vehicle, which may include: an acquisition module configured to acquire first information, where the first information may include one of vehicle location information, lane information, navigation information, and obstacle information. One or more, the lane information is used to determine the relative position of the vehicle and the lane line, the navigation information is used to predict the driving direction of the vehicle, and the obstacle information is used to determine the relative position of the vehicle and the obstacle. The regulation and control module is used to plan a driving route for the vehicle according to the output data of the first model when the vehicle is in the automatic driving mode, and the first information obtained by the acquisition module is the input data of the first model, and the first model is based on the manual driving mode. The driving trajectory of the vehicle is the training target, and the model is obtained by training the second information obtained in the manual driving mode. The types of information that the second information can include are consistent with the types of information that the first information can include. The similarity of the two information satisfies the preset condition. The training module is used for training the first model according to the first information obtained by the obtaining module when the vehicle is in the manual driving mode.
可选地,结合上述第二方面,在第一种可能的实施方式中,还可以包括:评估模块,用于评估第一信息与M组信息的相似度,M组信息中的每一组信息均为车辆处于人工驾驶模式时获取的信息,M组信息中的任意两组信息的相似度不满足预设条件,M组信息中的每一组信息分别用于训练一个模型。第一信息和M组信息中第二信息的相似度满足预设条件,且M组信息中第二信息与第一信息的相似度最大时,第一信息是第一模型的输入数据。Optionally, in combination with the above second aspect, in a first possible implementation manner, an evaluation module may further include: an evaluation module configured to evaluate the similarity between the first information and the M groups of information, and each group of information in the M groups of information Both are information obtained when the vehicle is in the manual driving mode, the similarity of any two groups of information in the M groups of information does not meet the preset condition, and each group of information in the M groups of information is used to train a model respectively. When the similarity between the first information and the second information in the M groups of information satisfies a preset condition, and the similarity between the second information and the first information in the M groups of information is the largest, the first information is the input data of the first model.
可选地,结合上述第二方面,在第二种可能的实施方式中,还可以包括:评估模块,用于评估第一信息与M组信息的相似度,M组信息中的每一组信息均为车辆处于人工驾驶模式时获取的信息,M组信息中的任意两组信息的相似度不满足预设条件,M组信息中的每一组信息分别用于训练一个模型,M组信息中的第二信息用于训练第一模型,M为正整数。第一信息和M组信息中第二信息的相似度满足预设条件,且M组信息中第二信息与第一信息的相似度最大时,第一信息用于训练第一模型,以得到更新后的第一模型。Optionally, in combination with the above-mentioned second aspect, in a second possible implementation manner, it may further include: an evaluation module, configured to evaluate the similarity between the first information and the M groups of information, each group of information in the M groups of information are the information obtained when the vehicle is in manual driving mode. The similarity of any two groups of information in the M group of information does not meet the preset conditions. Each group of information in the M group of information is used to train a model, and the M group of information The second information of is used to train the first model, M is a positive integer. When the similarity between the first information and the second information in the M groups of information satisfies a preset condition, and the similarity between the second information and the first information in the M groups of information is the largest, the first information is used to train the first model to obtain an update After the first model.
可选地,结合上述第二方面,在第三种可能的实施方式中,还可以包括:评估模块,用于评估第一信息与M组信息的相似度,M组信息中的每一组信息均为车辆处于人工驾驶模式时获取的信息,M组信息中的任意两组信息的相似度不满足预设条件,M组信息中的每一组信息分别用于训练一个模型,M为正整数。第一信息和M组信息中的每一组信息的相似度都不满足预设条件时,第一信息用于对第一模型进行第一次训练。Optionally, in combination with the above-mentioned second aspect, in a third possible implementation manner, an evaluation module may further include: an evaluation module configured to evaluate the similarity between the first information and the M groups of information, and each group of information in the M groups of information Both are information obtained when the vehicle is in manual driving mode. The similarity of any two groups of information in the M groups of information does not meet the preset conditions. Each group of information in the M groups of information is used to train a model, and M is a positive integer. . When the similarity between the first information and each of the M groups of information does not meet the preset condition, the first information is used to train the first model for the first time.
可选地,结合上述第二方面或第二方面第一种至第二方面第三种可能的实施方式,在第四种可能的实施方式中,还可以包括:发送模块,用于评估模块确定车辆当前的位置信息和人工驾驶模式下获取的车辆的位置信息相一致时,发送提示消息,提示消息用于指示车辆根据第一模型的输出数据为车辆规划行驶路线,第一模型是对人工驾驶模式下获取的车辆的位置信息训练得到的模型。Optionally, in combination with the second aspect or the third possible implementation manner of the first to the second aspect, the fourth possible implementation manner may further include: a sending module, configured for the evaluation module to determine When the current position information of the vehicle is consistent with the position information of the vehicle obtained in the manual driving mode, a prompt message is sent. The prompt message is used to instruct the vehicle to plan a driving route for the vehicle according to the output data of the first model. The first model is for manual driving. The model obtained by training the position information of the vehicle obtained in the mode.
可选地,结合上述第二方面或第二方面第一种至第二方面第三种可能的实施方式,在第五种可能的实施方式中,还可以包括:发送模块,用于发送提示消息,提示消息用于指示根据车辆当前的位置信息训练第一模型。Optionally, in combination with the above-mentioned second aspect or the third possible implementation manner of the first to the second aspect, in a fifth possible implementation manner, it may further include: a sending module, configured to send a prompt message , the prompt message is used to instruct to train the first model according to the current position information of the vehicle.
可选地,结合上述第二方面或第二方面第一种至第二方面第五种可能的实施方式,在第六种可能的实施方式中,还可以包括:处理模块,用于确定第一信息和第二信息中相同种类信息的相似度,相同种类信息的相似度的线性加权和用于确定第一信息和第二信息的相似度。Optionally, in combination with the second aspect or the fifth possible implementation manner of the first to the second aspect, the sixth possible implementation manner may further include: a processing module configured to determine the first The similarity of the same type of information in the information and the second information, and the linear weighted sum of the similarity of the same type of information is used to determine the similarity of the first information and the second information.
可选地,结合上述第二方面或第二方面第一种至第二方面第六种可能的实施方式,在第七种可能的实施方式中,第一模型可以包括卷积神经网络CNN或循环神经网络RNN。Optionally, in combination with the second aspect or the sixth possible implementation manner of the second aspect or the first to the second aspect, in the seventh possible implementation manner, the first model may include a convolutional neural network CNN or a loop. Neural network RNN.
本申请第三方面提供一种规划车辆行驶路线的系统,系统可以包括车辆和云侧设备,车辆,用于获取第一信息,第一信息可以包括车辆的位置信息、车道信息,导航信息,障碍物信息中的一种或者多种,车道信息用于确定车辆与车道线的相对位置,导航信息用于预测车辆的行驶方向,障碍物信息用于确定车辆与障碍物的相对位置。车辆,还用于向云侧设备发送第一信息和车辆的驾驶模式。云侧设备,用于确定车辆处于自动驾驶模式时,根据第一模型的输出数据为车辆规划行驶路线,第一信息是第一模型的输入数据,第一模型是以人工驾驶模式下车辆的行车轨迹为训练目标,对人工驾驶模式下获取的第二信息进行训练得到的模型,第二信息可以包括的信息种类与第一信息可以包括的信息的种类相一致,第一信息和第二信息的相似度满足预设条件。云侧设备,还用于确定车辆处于人工驾驶模式时,根据第一信息训练第一模型。A third aspect of the present application provides a system for planning a driving route of a vehicle. The system may include a vehicle and a cloud-side device, and the vehicle is used to obtain first information, and the first information may include location information, lane information, navigation information, obstacles of the vehicle. The lane information is used to determine the relative position of the vehicle and the lane line, the navigation information is used to predict the driving direction of the vehicle, and the obstacle information is used to determine the relative position of the vehicle and the obstacle. The vehicle is also used to send the first information and the driving mode of the vehicle to the cloud-side device. The cloud-side device is used to determine that when the vehicle is in the automatic driving mode, plan the driving route for the vehicle according to the output data of the first model. The first information is the input data of the first model, and the first model is the driving route of the vehicle in the manual driving mode. The trajectory is the training target, and the model is obtained by training the second information obtained in the manual driving mode. The type of information that the second information can include is consistent with the type of information that the first information can include, and the difference between the first information and the second information is the same. The similarity satisfies the preset condition. The cloud-side device is further configured to train the first model according to the first information when it is determined that the vehicle is in the manual driving mode.
可选地,结合上述第三方面,在第一种可能的实施方式中,云侧设备,还用于:评估第一信息与M组信息的相似度,M组信息中的每一组信息均为车辆处于人工驾驶模式时获取的信息,M组信息中的任意两组信息的相似度不满足预设条件,M组信息中的每一组信息分别用于训练一个模型。第一信息和M组信息中第二信息的相似度满足预设条件,且M组信息中第二信息与第一信息的相似度最大时,第一信息是第一模型的输入数据。Optionally, in combination with the above third aspect, in a first possible implementation manner, the cloud-side device is further configured to: evaluate the similarity between the first information and the M groups of information, where each group of information in the M groups of information is is the information obtained when the vehicle is in the manual driving mode, the similarity of any two groups of information in the M groups of information does not meet the preset condition, and each group of information in the M groups of information is used to train a model respectively. When the similarity between the first information and the second information in the M groups of information satisfies a preset condition, and the similarity between the second information and the first information in the M groups of information is the largest, the first information is the input data of the first model.
可选地,结合上述第三方面,在第一种可能的实施方式中,云侧设备,还用于:评估第一信息与M组信息的相似度,M组信息中的每一组信息均为车辆处于人工驾驶模式时获取的信息,M组信息中的任意两组信息的相似度不满足预设条件,M组信息中的每一组信息分别用于训练一个模型,M组信息中的第二信息用于训练第一模型,M为正整数。第一信息和M组信息中第二信息的相似度满足预设条件,且M组信息中第二信息与第一信息的相似度最大时,第一信息用于训练第一模型,以得到更新后的第一模型。Optionally, in combination with the above third aspect, in a first possible implementation manner, the cloud-side device is further configured to: evaluate the similarity between the first information and the M groups of information, where each group of information in the M groups of information is It is the information obtained when the vehicle is in the manual driving mode. The similarity of any two groups of information in the M groups of information does not meet the preset conditions, and each group of information in the M groups of information is used to train a model, respectively. The second information is used to train the first model, and M is a positive integer. When the similarity between the first information and the second information in the M groups of information satisfies a preset condition, and the similarity between the second information and the first information in the M groups of information is the largest, the first information is used to train the first model to obtain an update After the first model.
可选地,结合上述第三方面,在第三种可能的实施方式中,云侧设备,还用于评估第一信息与M组信息的相似度,M组信息中的每一组信息均为车辆处于人工驾驶模式时获取的信息,M组信息中的任意两组信息的相似度不满足预设条件,M组信息中的每一组信息分别用于训练一个模型,M为正整数。第一信息和M组信息中的每一组信息的相似度都不满足预设条件时,第一信息用于对第一模型进行第一次训练。Optionally, in combination with the above third aspect, in a third possible implementation manner, the cloud-side device is further configured to evaluate the similarity between the first information and the M groups of information, where each group of information in the M groups of information is For the information obtained when the vehicle is in manual driving mode, the similarity of any two groups of information in the M groups of information does not meet the preset conditions, and each group of information in the M groups of information is used to train a model, and M is a positive integer. When the similarity between the first information and each of the M groups of information does not meet the preset condition, the first information is used to train the first model for the first time.
可选地,结合上述第三方面或第三方面第一种至第三方面第三种可能的实施方式,在第四种可能的实施方式中,云侧设备,还用于确定车辆当前的位置信息和人工驾驶模式下获取的车辆的位置信息一致时,发送提示消息,提示消息用于指示车辆根据第一模型的输出数据为车辆规划行驶路线,第一模型是对人工驾驶模式下获取的车辆的位置信息训练得到的模型。Optionally, in combination with the third aspect or the third possible implementation manners of the first to third aspects of the third aspect, in a fourth possible implementation manner, the cloud-side device is also used to determine the current position of the vehicle. When the information is consistent with the position information of the vehicle obtained in the manual driving mode, a prompt message is sent. The prompt message is used to instruct the vehicle to plan a driving route for the vehicle according to the output data of the first model. The first model is for the vehicle obtained in the manual driving mode. The model obtained by training the location information.
可选地,结合上述第三方面或第三方面第一种至第三方面第三种可能的实施方式,在第五种可能的实施方式中,云侧设备,还用于发送提示消息,提示消息用于指示根据车辆当前的位置信息训练第一模型。Optionally, in combination with the third aspect or the third possible implementation manners of the first to third aspects of the third aspect, in a fifth possible implementation manner, the cloud-side device is further configured to send a prompt message, prompting The message is used to instruct to train the first model according to the current position information of the vehicle.
可选地,结合上述第三方面或第三方面第一种至第三方面第五种可能的实施方式,在第六种可能的实施方式中,云侧设备,还用于确定第一信息和第二信息中相同种类信息的相似度,相同种类信息的相似度的线性加权和用于确定第一信息和第二信息的相似度。Optionally, in combination with the third aspect or the fifth possible implementation manner of the third aspect or the first to the third aspect, in the sixth possible implementation manner, the cloud-side device is further configured to determine the first information and The similarity of the same type of information in the second information and the linear weighted sum of the similarity of the same type of information are used to determine the similarity between the first information and the second information.
可选地,结合上述第三方面或第三方面第一种至第三方面第六种可能的实施方式,在第七种可能的实施方式中,第一模型可以包括卷积神经网络(convolutional neuron network,CNN)或循环神经网络(recurrent neural network,RNN)。Optionally, in conjunction with the third aspect or the sixth possible implementation manner of the third aspect or the first to the third aspect, in the seventh possible implementation manner, the first model may include a convolutional neural network (convolutional neural network). network, CNN) or recurrent neural network (RNN).
本申请第四方面提供一种规划车辆行驶路线的装置,可以包括处理器,处理器和存储器耦合,存储器存储有程序指令,当存储器存储的程序指令被处理器执行时执行上述第一方面或第一方面任意一种可能的实施方式中所描述的规划车辆行驶路线的方法。A fourth aspect of the present application provides an apparatus for planning a driving route of a vehicle, which may include a processor, the processor is coupled with a memory, the memory stores program instructions, and the first aspect or the first aspect is executed when the program instructions stored in the memory are executed by the processor. On the one hand, the method for planning a driving route of a vehicle described in any possible implementation manner.
本申请第五方面提供一种计算机可读存储介质,可以包括程序,当其在计算机上运行时,使得计算机执行上述第一方面或第一方面任意一种可能的实施方式中所描述的规划车辆行驶路线的方法。A fifth aspect of the present application provides a computer-readable storage medium, which may include a program that, when executed on a computer, causes the computer to execute the planning vehicle described in the first aspect or any possible implementation manner of the first aspect. The method of driving the route.
本申请第六方面提供一种智能汽车,智能汽车可以包括处理电路和存储电路,处理电路和存储电路被配置为执行上述第一方面或第一方面任意一种可能的实施方式中所描述的规划车辆行驶路线的方法。A sixth aspect of the present application provides a smart car. The smart car may include a processing circuit and a storage circuit. The processing circuit and the storage circuit are configured to execute the planning described in the first aspect or any possible implementation manner of the first aspect. The method of vehicle travel route.
本申请第七方面提供一种电路系统,电路系统可以包括处理电路,处理电路配置为执行上述第一方面或第一方面任意一种可能的实施方式中所描述的规划车辆行驶路线的方法。A seventh aspect of the present application provides a circuit system. The circuit system may include a processing circuit, and the processing circuit is configured to execute the method for planning a vehicle travel route described in the first aspect or any possible implementation manner of the first aspect.
本申请第八方面提供了一种计算机程序,当其在计算机上行驶时,使得计算机执行上述第一方面或第一方面任意一种可能的实施方式中所描述的规划车辆行驶路线的方法。An eighth aspect of the present application provides a computer program that, when running on a computer, causes the computer to execute the method for planning a vehicle travel route described in the first aspect or any possible implementation manner of the first aspect.
本申请第九方面提供了一种芯片系统,该芯片系统可以包括处理器,用于支持云侧设备或规划车辆行驶路线的装置实现上述方面中所涉及的功能,例如,发送或处理上述方法中所涉及的数据和/或信息。在一种可能的设计中,芯片系统还可以包括存储器,存储器,用于保存服务器或通信设备必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以可以包括芯片和其他分立器件。A ninth aspect of the present application provides a chip system, the chip system may include a processor for supporting a cloud-side device or an apparatus for planning a vehicle driving route to implement the functions involved in the above aspects, for example, sending or processing the above methods. the data and/or information involved. In a possible design, the chip system may further include a memory for storing necessary program instructions and data of a server or a communication device. The chip system may be composed of chips, or may include chips and other discrete devices.
对于本申请第二方面至第九方面以及各种可能实现方式的具体实现步骤,以及每种可能实现方式所带来的有益效果,均可以参考第一方面中各种可能的实现方式中的描述,此处不再一一赘述。For the specific implementation steps of the second to ninth aspects of the present application and various possible implementations, as well as the beneficial effects brought by each possible implementation, reference may be made to the descriptions in the various possible implementations in the first aspect , and will not be repeated here.
附图说明Description of drawings
图1a为本申请提供的一种规划车辆行驶路线的应用场景示意图;FIG. 1a is a schematic diagram of an application scenario for planning a vehicle driving route provided by the application;
图1b为本申请提供的另一种规划车辆行驶路线的应用场景示意图;FIG. 1b is a schematic diagram of another application scenario of planning a vehicle driving route provided by the application;
图1c为本申请提供的另一种规划车辆行驶路线的应用场景示意图;FIG. 1c is a schematic diagram of another application scenario of planning a vehicle driving route provided by the present application;
图2a为本申请提供的另一种规划车辆行驶路线的应用场景示意图;2a is a schematic diagram of another application scenario of planning a vehicle driving route provided by the application;
图2b为本申请提供的另一种规划车辆行驶路线的应用场景示意图;FIG. 2b is a schematic diagram of another application scenario of planning a vehicle driving route provided by the application;
图2c为本申请提供的另一种规划车辆行驶路线的应用场景示意图;FIG. 2c is a schematic diagram of another application scenario of planning a vehicle driving route provided by the present application;
图3为本申请实施例提供的自动驾驶车辆的一种结构示意图;3 is a schematic structural diagram of an automatic driving vehicle provided by an embodiment of the present application;
图4为本申请提供的一种规划车辆行驶路线的方法的流程示意图;4 is a schematic flowchart of a method for planning a vehicle travel route provided by the application;
图5a为本申请提供的另一种规划车辆行驶路线的应用场景示意图;5a is a schematic diagram of another application scenario of planning a vehicle driving route provided by the application;
图5b为本申请提供的另一种规划车辆行驶路线的应用场景示意图;FIG. 5b is a schematic diagram of another application scenario of planning a vehicle driving route provided by the application;
图5c为本申请提供的另一种规划车辆行驶路线的应用场景示意图;FIG. 5c is a schematic diagram of another application scenario of planning a vehicle driving route provided by the present application;
图5d为本申请提供的另一种规划车辆行驶路线的应用场景示意图;FIG. 5d is a schematic diagram of another application scenario of planning a vehicle driving route provided by the application;
图6为本申请实施例提供的一种规划车辆行驶路线的方法的一种流程示意图;6 is a schematic flowchart of a method for planning a vehicle driving route provided by an embodiment of the present application;
图7为本申请实施例提供的另一种规划车辆行驶路线的方法的一种流程示意图;7 is a schematic flowchart of another method for planning a vehicle driving route provided by an embodiment of the present application;
图8a为本申请提供的另一种规划车辆行驶路线的应用场景示意图;FIG. 8a is a schematic diagram of another application scenario of planning a vehicle driving route provided by the present application;
图8b为本申请提供的另一种规划车辆行驶路线的应用场景示意图;FIG. 8b is a schematic diagram of another application scenario of planning a vehicle driving route provided by the application;
图9为本申请提供的另一种规划车辆行驶路线的方法的场景的示意图;9 is a schematic diagram of a scenario of another method for planning a vehicle travel route provided by the application;
图10为本申请实施例提供的规划车辆行驶路线的装置的一种结构示意图;10 is a schematic structural diagram of an apparatus for planning a driving route of a vehicle provided by an embodiment of the application;
图11为本申请实施例提供的自动驾驶车辆的一种结构示意图;FIG. 11 is a schematic structural diagram of an automatic driving vehicle provided by an embodiment of the present application;
图12为本申请实施例提供的芯片的一种结构示意图。FIG. 12 is a schematic structural diagram of a chip provided by an embodiment of the present application.
具体实施方式detailed description
本申请实施例提供了一种规划车辆行驶路线的方法以及相关设备,以人工驾驶模式下车辆的行车轨迹为训练目标,对人工驾驶模式下获取的车辆的运动信息以及周边环境信息进行训练,得到第一模型,当车辆再次经过相同或相似的场景时,可以根据第一模型的输出数据为车辆规划行驶路线。The embodiment of the present application provides a method and related equipment for planning a driving route of a vehicle. Taking the driving trajectory of the vehicle in the manual driving mode as the training target, the motion information and the surrounding environment information of the vehicle obtained in the manual driving mode are trained to obtain The first model, when the vehicle passes through the same or similar scene again, can plan a driving route for the vehicle according to the output data of the first model.
本申请的说明书和权利要求书及上述附图中的术语“第一”、第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,这仅仅是描述本申请的实施例中对相同属性的对象在描述时所采用的区分方式。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,以便包含一系列单元的过程、方法、系统、产品或设备不必限于那些单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它单元。The terms "first", "second", etc. in the description and claims of the present application and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way Can be interchanged under appropriate circumstances, this is only the way of distinction adopted when describing the objects of the same property in the embodiments of the present application. In addition, the terms "comprising" and "having" and any of their deformations are intended to be Non-exclusive inclusion is covered so that a process, method, system, product or device comprising a series of units is not necessarily limited to those units, but may include other units not expressly listed or inherent to those processes, methods, products or devices .
本申请实施例可以应用于对各种自动行驶的智能体进行路线规划的场景中,作为示例,例如本申请实施例可以应用于对自动驾驶车辆进行路线规划的场景中,具体的,在自动驾驶的场景中,很多复杂的工况并无显著的共同特征(如与特定路段、特定路况相关),很难以统一的规控方法应对这些特殊的工况。当行驶在此类场景时,往往导致接管率无法下降,即总是需要驾驶员接管车辆。此外,不同的场景,需要不同的策略,不同的用户,有不同的驾驶风格。目前的自动驾驶规控,很难针对特定场景、特定用户进行定制,提供个性化、定制化的规控策略。当自动驾驶车辆通过阻碍信息感知的障碍体较多的道路环境时,例如路边停放有大量车辆、交通拥挤、路过公交车站、修路时的路边护栏、遇到恶劣天气或其他存在大量阻碍信息感知的障碍体的道路环境时,自动驾驶车辆会需要驾驶员接管车辆。示例性的,如图1a至图1c所示,为本申请提供的一种规划车辆行驶路线的应用场景示意图。如图1a至图1c所示的场景为停车场场景,如图1a所示,车辆所在车位的右前方 有障碍物,假设自动驾驶规划的自动泊车出车位的轨迹,只支持向右向前出车位的情况。在当前工况下,向右向前出车位没有足够的空间,如图1b所示,可能有多处发生碰撞,当前轨迹规划算法无法规划出合理轨迹。此时,驾驶员介入接管车辆,如图1c所示,可按照先向左向前的方式,待车辆与车位垂直后,再驶出停车场。如图2a至图2c所示,为本申请提供的另一种规划车辆行驶路线的应用场景示意图。如图2a至图2c所示的场景为车辆在道路上行驶的场景,自动驾驶汽车在一条同向双车道的道路上行驶,如图2a所示,其中左侧车道有连续井盖,自动驾驶规划模块规划的轨迹,为沿着左侧车道中心线行驶,导致行驶过程中乘客的舒适性较差。驾驶员手动接管车辆后,如图2b所示,可以按照左侧车道中心线略微偏右的方式行驶,车辆仍然保持在左侧车道内,但左侧车轮不会再连续压井盖。或者如图2c所示,当右侧车道没有其他车辆时,驾驶员也可以手动切换至右侧车道行驶。The embodiments of the present application may be applied to scenarios in which routes are planned for various autonomous driving agents. As an example, for example, the embodiments of the present application may be applied to scenarios of route planning for autonomous vehicles. Specifically, in autonomous driving In the scenario of , many complex working conditions do not have significant common characteristics (such as related to specific road sections and specific road conditions), and it is difficult to use a unified control method to deal with these special working conditions. When driving in such a scenario, the takeover rate often cannot be reduced, that is, the driver is always required to take over the vehicle. In addition, different scenarios require different strategies, and different users have different driving styles. The current autonomous driving regulation is difficult to customize for specific scenarios and specific users, and to provide personalized and customized regulation strategies. When the autonomous vehicle passes through a road environment with many obstacles that hinder the perception of information, such as a large number of vehicles parked on the roadside, traffic congestion, passing a bus stop, roadside guardrails during road construction, encountering bad weather, or other large numbers of vehicles When the road environment of an obstacle that hinders information perception, the autonomous vehicle will require the driver to take over the vehicle. Exemplarily, as shown in FIG. 1a to FIG. 1c, the present application is a schematic diagram of an application scenario of planning a vehicle driving route. The scene shown in Figure 1a to Figure 1c is a parking lot scene. As shown in Figure 1a, there is an obstacle in the front right of the parking space where the vehicle is located. Assuming that the trajectory of automatic parking out of the parking space planned by automatic driving, only supports forwarding to the right The situation of the parking space. Under the current working conditions, there is not enough space to exit the parking space to the right, as shown in Figure 1b, there may be multiple collisions, and the current trajectory planning algorithm cannot plan a reasonable trajectory. At this time, the driver intervenes to take over the vehicle. As shown in Figure 1c, the driver can drive out of the parking lot after the vehicle is perpendicular to the parking space in a left-forward manner. As shown in FIG. 2a to FIG. 2c, another application scenario schematic diagram of planning a vehicle driving route provided by the present application. The scenarios shown in Figure 2a to Figure 2c are scenarios where vehicles are driving on the road. The autonomous vehicle is driving on a road with two lanes in the same direction. As shown in Figure 2a, the left lane has a continuous manhole cover. The trajectory planned by the module is to drive along the centerline of the left lane, resulting in poor passenger comfort during driving. After the driver takes over the vehicle manually, as shown in Figure 2b, the driver can drive with the centerline of the left lane slightly to the right, and the vehicle remains in the left lane, but the left wheel will no longer press the manhole cover continuously. Or as shown in Figure 2c, when there are no other vehicles in the right lane, the driver can also manually switch to the right lane for driving.
当发生驾驶员接管之后,为了降低自动驾驶接管率,可以针对此场景的日志进行分析,分析的结论为,当前版本的规控模块(规控模块将在下文进行介绍),无法支持此类场景轨迹规划。比如在图1a至图1c所示的场景中,当前版本的规控模块无法支持此类场景的出车位的路线规划,如图2a至图2c所示的场景中,当前版本的规控模块无法支持此类场景的轨迹规划。于是,需要在当前规控模块中,重新分析设计,加入针对此场景的轨迹规划逻辑(如类似于驾驶员的驾驶轨迹)。则后续再经过此场景时,即可自动实现出车位的轨迹,或者可自动实现避让连续井盖的轨迹。此种方案每次被接管,均需要单独分析场景,并制定修改方案,方案繁琐,效率不高,且成本较大。此外,类似于上述示例,长尾场景很多,很难以统一的规控方法进行处理。如上述图1a至图1c的场景中,需要借用车位左侧的部分空间。在其他出车位场景中,如果也使用此场景新增的规划规则,则可能导致发生碰撞等不安全情况,发生危险,造成其他场景的人工接管,仍然无法降低自动驾驶的接管率。When the driver takes over, in order to reduce the automatic driving takeover rate, the log of this scenario can be analyzed. The conclusion of the analysis is that the current version of the regulation and control module (the regulation and control module will be introduced below) cannot support such scenarios. Trajectory planning. For example, in the scenarios shown in Figures 1a to 1c, the current version of the regulation and control module cannot support the route planning of parking spaces in such scenarios. In the scenarios shown in Figures 2a to 2c, the current version of the regulation and control module cannot support Trajectory planning for such scenarios is supported. Therefore, it is necessary to re-analyze the design in the current regulation and control module, and add trajectory planning logic for this scenario (eg, similar to the driver's driving trajectory). Then, when passing through this scene later, the trajectory of the parking space can be automatically realized, or the trajectory of avoiding the continuous manhole cover can be automatically realized. Every time such a scheme is taken over, it is necessary to analyze the scene separately and formulate a revised scheme. The scheme is cumbersome, inefficient, and costly. In addition, similar to the above example, there are many long-tail scenarios, which are difficult to handle with a unified regulation method. As in the above scenarios of FIGS. 1 a to 1 c , it is necessary to borrow part of the space on the left side of the parking space. In other parking space scenarios, if the newly added planning rules in this scenario are also used, it may lead to unsafe situations such as collisions, dangers, and manual takeovers in other scenarios, which still cannot reduce the takeover rate of automatic driving.
因此,需要通过一种车辆行驶路线的规划方案来对自动驾驶车辆进行路线规划,以应对大量的长尾场景。作为另一示例,例如本申请实施例也可以应用于对各种类型的机器人进行路线规划的场景中,例如货运机器人、探测机器人、扫地机器人或其他类型的机器人,此处以货运机器人为例对应用场景作进一步描述,当多个货运机器人同时工作时,或者,货运机器人从货架之间穿梭时,其他货运机器人和货架都会成为阻碍货运机器人进行信息感知的障碍体,从而当货运机器人行驶于前述货运环境中时,为了减少货运机器人之间以及货运机器人与人之间的碰撞,可以通过本申请提供的方案来对货运机器人进行路线规划。应当理解,此处举例仅为方便对本申请实施例的应用场景进行理解,不对本申请实施例的应用场景进行穷举,本申请实施例中仅以应用于对自动驾驶车辆进行路线规划为例,进行详细介绍。Therefore, it is necessary to plan routes for autonomous vehicles through a vehicle route planning scheme to cope with a large number of long-tail scenarios. As another example, for example, the embodiments of the present application can also be applied to scenarios of route planning for various types of robots, such as freight robots, detection robots, sweeping robots, or other types of robots. Here, a freight robot is used as an example for the application The scenario is further described. When multiple cargo robots work at the same time, or when the cargo robots shuttle between the shelves, other cargo robots and shelves will become obstacles that hinder the cargo robots from information perception. In the environment, in order to reduce the collision between the cargo robots and between the cargo robots and people, the route planning of the cargo robots can be performed through the solution provided in this application. It should be understood that the examples here are only for the convenience of understanding the application scenarios of the embodiments of the present application, and the application scenarios of the embodiments of the present application are not exhaustive. for a detailed introduction.
下面结合附图,对本申请的实施例进行描述。本领域普通技术人员可知,随着技术的发展和新场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。The embodiments of the present application will be described below with reference to the accompanying drawings. Those of ordinary skill in the art know that with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
为了便于理解本方案,本申请实施例中首先结合图3对自动驾驶车辆的结构进行介绍,请先参阅图3,图3为本申请实施例提供的自动驾驶车辆的一种结构示意图,自动驾驶车辆100配置为完全或部分地自动驾驶模式,例如,自动驾驶车辆100可以在处于自动驾驶 模式中的同时控制自身,并且可通过人为操作来确定车辆及其周边环境的当前状态,确定周边环境中的至少一个其他车辆的可能行为,并确定其他车辆执行可能行为的可能性相对应的置信水平,基于所确定的信息来控制自动驾驶车辆100。在自动驾驶车辆100处于自动驾驶模式中时,也可以将自动驾驶车辆100置为在没有和人交互的情况下操作。In order to facilitate the understanding of this solution, the structure of the automatic driving vehicle is first introduced in the embodiment of the present application with reference to FIG. 3 . Please refer to FIG. 3 first. FIG. 3 is a schematic structural diagram of the automatic driving vehicle provided by the embodiment of the The vehicle 100 is configured in a fully or partially autonomous driving mode, for example, the autonomous vehicle 100 may control itself while in the autonomous driving mode, and may determine the current state of the vehicle and its surrounding environment through human operation, determine the possible behavior of at least one other vehicle, and determine a confidence level corresponding to the possibility that the other vehicle performs the possible behavior, and control the autonomous vehicle 100 based on the determined information. The autonomous vehicle 100 may also be placed to operate without human interaction when the autonomous vehicle 100 is in the autonomous driving mode.
自动驾驶车辆100可包括各种子系统,例如行进系统102、传感器系统104、控制系统106、一个或多个外围设备108以及电源110、计算机系统112和用户接口116。可选地,自动驾驶车辆100可包括更多或更少的子系统,并且每个子系统可包括多个部件。另外,自动驾驶车辆100的每个子系统和部件可以通过有线或者无线互连。 Autonomous vehicle 100 may include various subsystems, such as travel system 102 , sensor system 104 , control system 106 , one or more peripherals 108 and power supply 110 , computer system 112 , and user interface 116 . Alternatively, the autonomous vehicle 100 may include more or fewer subsystems, and each subsystem may include multiple components. Additionally, each of the subsystems and components of the autonomous vehicle 100 may be wired or wirelessly interconnected.
行进系统102可包括为自动驾驶车辆100提供动力运动的组件。在一个实施例中,行进系统102可包括引擎118、能量源119、传动装置120和车轮121。The travel system 102 may include components that provide powered motion for the autonomous vehicle 100 . In one embodiment, travel system 102 may include engine 118 , energy source 119 , transmission 120 , and wheels 121 .
其中,引擎118可以是内燃引擎、电动机、空气压缩引擎或其他类型的引擎组合,例如,汽油发动机和电动机组成的混动引擎,内燃引擎和空气压缩引擎组成的混动引擎。引擎118将能量源119转换成机械能量。能量源119的示例包括汽油、柴油、其他基于石油的燃料、丙烷、其他基于压缩气体的燃料、乙醇、太阳能电池板、电池和其他电力来源。能量源119也可以为自动驾驶车辆100的其他系统提供能量。传动装置120可以将来自引擎118的机械动力传送到车轮121。传动装置120可包括变速箱、差速器和驱动轴。在一个实施例中,传动装置120还可以包括其他器件,比如离合器。其中,驱动轴可包括可耦合到一个或多个车轮121的一个或多个轴。The engine 118 may be an internal combustion engine, an electric motor, an air compression engine, or other types of engine combinations, such as a hybrid engine composed of a gasoline engine and an electric motor, and a hybrid engine composed of an internal combustion engine and an air compression engine. Engine 118 converts energy source 119 into mechanical energy. Examples of energy sources 119 include gasoline, diesel, other petroleum-based fuels, propane, other compressed gas-based fuels, ethanol, solar panels, batteries, and other sources of electricity. The energy source 119 may also provide energy to other systems of the autonomous vehicle 100 . Transmission 120 may transmit mechanical power from engine 118 to wheels 121 . Transmission 120 may include a gearbox, a differential, and a driveshaft. In one embodiment, transmission 120 may also include other devices, such as clutches. Among other things, the drive shaft may include one or more axles that may be coupled to one or more wheels 121 .
传感器系统104可包括感测关于自动驾驶车辆100周边的环境的信息的若干个传感器。例如,传感器系统104可包括全球定位系统122(定位系统可以是全球定位GPS系统,也可以是北斗系统或者其他定位系统)、惯性测量单元(inertial measurement unit,IMU)124、雷达126、激光测距仪128以及相机130。传感器系统104还可包括被监视自动驾驶车辆100的内部系统的传感器(例如,车内空气质量监测器、燃油量表、机油温度表等)。来自这些传感器中的一个或多个的传感数据可用于检测对象及其相应特性(位置、形状、方向、速度等)。这种检测和识别是自主自动驾驶车辆100的安全操作的关键功能。The sensor system 104 may include several sensors that sense information about the environment surrounding the autonomous vehicle 100 . For example, the sensor system 104 may include a global positioning system 122 (the positioning system may be a global positioning GPS system, a Beidou system or other positioning systems), an inertial measurement unit (IMU) 124, a radar 126, a laser ranging instrument 128 and camera 130. The sensor system 104 may also include sensors that monitor the internal systems of the autonomous vehicle 100 (eg, an in-vehicle air quality monitor, a fuel gauge, an oil temperature gauge, etc.). Sensing data from one or more of these sensors can be used to detect objects and their corresponding properties (position, shape, orientation, velocity, etc.). This detection and identification is a critical function for the safe operation of the autonomous autonomous vehicle 100 .
其中,定位系统122可用于估计自动驾驶车辆100的地理位置。IMU 124用于基于惯性加速度来感知自动驾驶车辆100的位置和朝向变化。在一个实施例中,IMU 124可以是加速度计和陀螺仪的组合。雷达126可利用无线电信号来感知自动驾驶车辆100的周边环境内的物体,具体可以表现为毫米波雷达或激光雷达。在一些实施例中,除了感知物体以外,雷达126还可用于感知物体的速度和/或前进方向。激光测距仪128可利用激光来感知自动驾驶车辆100所位于的环境中的物体。在一些实施例中,激光测距仪128可包括一个或多个激光源、激光扫描器以及一个或多个检测器,以及其他系统组件。相机130可用于捕捉自动驾驶车辆100的周边环境的多个图像。相机130可以是静态相机或视频相机。Among others, the positioning system 122 may be used to estimate the geographic location of the autonomous vehicle 100 . The IMU 124 is used to sense position and orientation changes of the autonomous vehicle 100 based on inertial acceleration. In one embodiment, IMU 124 may be a combination of an accelerometer and a gyroscope. The radar 126 can use radio signals to perceive objects in the surrounding environment of the autonomous vehicle 100 , and can be embodied as a millimeter-wave radar or a lidar. In some embodiments, in addition to sensing objects, radar 126 may be used to sense the speed and/or heading of objects. The laser rangefinder 128 may utilize the laser light to sense objects in the environment in which the autonomous vehicle 100 is located. In some embodiments, the laser rangefinder 128 may include one or more laser sources, laser scanners, and one or more detectors, among other system components. Camera 130 may be used to capture multiple images of the surrounding environment of autonomous vehicle 100 . Camera 130 may be a still camera or a video camera.
控制系统106为控制自动驾驶车辆100及其组件的操作。控制系统106可包括各种部件,其中包括转向系统132、油门134、制动单元136、计算机视觉系统140、线路控制系统142以及障碍避免系统144。The control system 106 controls the operation of the autonomous vehicle 100 and its components. Control system 106 may include various components including steering system 132 , throttle 134 , braking unit 136 , computer vision system 140 , line control system 142 , and obstacle avoidance system 144 .
其中,转向系统132可操作来调整自动驾驶车辆100的前进方向。例如在一个实施例 中可以为方向盘系统。油门134用于控制引擎118的操作速度并进而控制自动驾驶车辆100的速度。制动单元136用于控制自动驾驶车辆100减速。制动单元136可使用摩擦力来减慢车轮121。在其他实施例中,制动单元136可将车轮121的动能转换为电流。制动单元136也可采取其他形式来减慢车轮121转速从而控制自动驾驶车辆100的速度。计算机视觉系统140可以操作来处理和分析由相机130捕捉的图像以便识别自动驾驶车辆100周边环境中的物体和/或特征。所述物体和/或特征可包括交通信号、道路边界和障碍体。计算机视觉系统140可使用物体识别算法、运动中恢复结构(Structure from Motion,SFM)算法、视频跟踪和其他计算机视觉技术。在一些实施例中,计算机视觉系统140可以用于为环境绘制地图、跟踪物体、估计物体的速度等等。线路控制系统142用于确定自动驾驶车辆100的行驶路线以及行驶速度。在一些实施例中,线路控制系统142可以包括横向规划模块1421和纵向规划模块1422,横向规划模块1421和纵向规划模块1422分别用于结合来自障碍避免系统144、GPS 122和一个或多个预定地图的数据为自动驾驶车辆100确定行驶路线和行驶速度。障碍避免系统144用于识别、评估和避免或者以其他方式越过自动驾驶车辆100的环境中的障碍体,前述障碍体具体可以表现为实际障碍体和可能与自动驾驶车辆100发生碰撞的虚拟移动体。在一个实例中,控制系统106可以增加或替换地包括除了所示出和描述的那些以外的组件。或者也可以减少一部分上述示出的组件。Among other things, the steering system 132 is operable to adjust the heading of the autonomous vehicle 100 . For example, in one embodiment it may be a steering wheel system. The throttle 134 is used to control the operating speed of the engine 118 and thus the speed of the autonomous vehicle 100 . The braking unit 136 is used to control the deceleration of the autonomous vehicle 100 . The braking unit 136 may use friction to slow the wheels 121 . In other embodiments, the braking unit 136 may convert the kinetic energy of the wheels 121 into electrical current. The braking unit 136 may also take other forms to slow the wheels 121 to control the speed of the autonomous vehicle 100 . Computer vision system 140 may be operable to process and analyze images captured by camera 130 in order to identify objects and/or features in the environment surrounding autonomous vehicle 100 . The objects and/or features may include traffic signals, road boundaries and obstacles. Computer vision system 140 may use object recognition algorithms, Structure from Motion (SFM) algorithms, video tracking, and other computer vision techniques. In some embodiments, the computer vision system 140 may be used to map the environment, track objects, estimate the speed of objects, and the like. The route control system 142 is used to determine the travel route and travel speed of the autonomous vehicle 100 . In some embodiments, the route control system 142 may include a lateral planning module 1421 and a longitudinal planning module 1422, respectively, for combining information from the obstacle avoidance system 144, the GPS 122, and one or more predetermined maps The data for the autonomous vehicle 100 determines the driving route and driving speed. Obstacle avoidance system 144 is used to identify, evaluate and avoid or otherwise traverse obstacles in the environment of autonomous vehicle 100 , which may be embodied as actual obstacles and virtual moving objects that may collide with autonomous vehicle 100 . In one example, the control system 106 may additionally or alternatively include components in addition to those shown and described. Alternatively, some of the components shown above may be reduced.
自动驾驶车辆100通过外围设备108与外部传感器、其他车辆、其他计算机系统或用户之间进行交互。外围设备108可包括无线通信系统146、车载电脑148、麦克风150和/或扬声器152。在一些实施例中,外围设备108为自动驾驶车辆100的用户提供与用户接口116交互的手段。例如,车载电脑148可向自动驾驶车辆100的用户提供信息。用户接口116还可操作车载电脑148来接收用户的输入。车载电脑148可以通过触摸屏进行操作。在其他情况中,外围设备108可提供用于自动驾驶车辆100与位于车内的其它设备通信的手段。例如,麦克风150可从自动驾驶车辆100的用户接收音频(例如,语音命令或其他音频输入)。类似地,扬声器152可向自动驾驶车辆100的用户输出音频。无线通信系统146可以直接地或者经由通信网络来与一个或多个设备无线通信。例如,无线通信系统146可使用3G蜂窝通信,例如例如码分多址(code division multipleaccess,CDMA)、EVD0、全球移动通信系统(global system for mobile communications,GSM),通用分组无线服务技术(general packet radio service,GPRS),或者4G蜂窝通信,例如长期演进(long term evolution,LTE)或者5G蜂窝通信。无线通信系统146可利用无线局域网(wireless localarea network,WLAN)通信。在一些实施例中,无线通信系统146可利用红外链路、蓝牙或ZigBee与设备直接通信。其他无线协议,例如各种车辆通信系统,例如,无线通信系统146可包括一个或多个专用短程通信(dedicated short range communications,DSRC)设备,这些设备可包括车辆和/或路边台站之间的公共和/或私有数据通信。The autonomous vehicle 100 interacts with external sensors, other vehicles, other computer systems, or users through peripheral devices 108 . Peripherals 108 may include a wireless communication system 146 , an onboard computer 148 , a microphone 150 and/or a speaker 152 . In some embodiments, peripherals 108 provide a means for a user of autonomous vehicle 100 to interact with user interface 116 . For example, the onboard computer 148 may provide information to a user of the autonomous vehicle 100 . User interface 116 may also operate on-board computer 148 to receive user input. The onboard computer 148 can be operated via a touch screen. In other cases, peripherals 108 may provide a means for autonomous vehicle 100 to communicate with other devices located within the vehicle. For example, microphone 150 may receive audio (eg, voice commands or other audio input) from a user of autonomous vehicle 100 . Similarly, speaker 152 may output audio to a user of autonomous vehicle 100 . Wireless communication system 146 may wirelessly communicate with one or more devices, either directly or via a communication network. For example, wireless communication system 146 may use 3G cellular communications, such as, for example, code division multiple access (CDMA), EVDO, global system for mobile communications (GSM), general packet radio service technology (general packet radio service, GPRS), or 4G cellular communications, such as long term evolution (LTE) or 5G cellular communications. The wireless communication system 146 may communicate using a wireless local area network (WLAN). In some embodiments, the wireless communication system 146 may communicate directly with the device using an infrared link, Bluetooth, or ZigBee. Other wireless protocols, such as various vehicle communication systems, for example, wireless communication system 146 may include one or more dedicated short range communications (DSRC) devices, which may include communication between vehicles and/or roadside stations public and/or private data communications.
电源110可向自动驾驶车辆100的各种组件提供电力。在一个实施例中,电源110可以为可再充电锂离子或铅酸电池。这种电池的一个或多个电池组可被配置为电源为自动驾驶车辆100的各种组件提供电力。在一些实施例中,电源110和能量源119可一起实现,例如一些全电动车中那样。The power source 110 may provide power to various components of the autonomous vehicle 100 . In one embodiment, the power source 110 may be a rechargeable lithium-ion or lead-acid battery. One or more battery packs of such batteries may be configured as a power source to provide power to various components of the autonomous vehicle 100 . In some embodiments, power source 110 and energy source 119 may be implemented together, such as in some all-electric vehicles.
自动驾驶车辆100的部分或所有功能受计算机系统112控制。计算机系统112可包括至少一个处理器113,处理器113执行存储在例如存储器114这样的非暂态计算机可读介质中的指令115。计算机系统112还可以是采用分布式方式控制自动驾驶车辆100的个体组件或子系统的多个计算设备。处理器113可以是任何常规的处理器,诸如商业可获得的中央处理器(central processing unit,CPU)。可选地,处理器113可以是诸如专用集成电路(application specific integrated circuit,ASIC)或其它基于硬件的处理器的专用设备。尽管图3功能性地图示了处理器、存储器、和在相同块中的计算机系统112的其它部件,但是本领域的普通技术人员应该理解该处理器、或存储器实际上可以包括不存储在相同的物理外壳内的多个处理器、或存储器。例如,存储器114可以是硬盘驱动器或位于不同于计算机系统112的外壳内的其它存储介质。因此,对处理器113或存储器114的引用将被理解为包括可以并行操作或者可以不并行操作的处理器或存储器的集合的引用。不同于使用单一的处理器来执行此处所描述的步骤,诸如转向组件和减速组件的一些组件每个都可以具有其自己的处理器,所述处理器只执行与特定于组件的功能相关的计算。在此处所描述的各个方面中,处理器113可以位于远离自动驾驶车辆100并且与自动驾驶车辆100进行无线通信。在其它方面中,此处所描述的过程中的一些在布置于自动驾驶车辆100内的处理器113上执行而其它则由远程处理器113执行,包括采取执行单一操纵的必要步骤。在一些实施例中,存储器114可包含指令115(例如,程序逻辑),指令115可被处理器113执行来执行自动驾驶车辆100的各种功能,包括以上描述的那些功能。存储器114也可包含额外的指令,包括向行进系统102、传感器系统104、控制系统106和外围设备108中的一个或多个发送数据、从其接收数据、与其交互和/或对其进行控制的指令。例如,以向右换道为例,则对于人工驾驶员需要进行以下操作:第一步:考虑安全因素和交规因素,决定换道的时机;第二步:规划出一条行驶轨迹;第三步:控制油门、刹车和方向盘,让车辆沿着预定轨迹行驶。上述操作对应于自动驾驶车辆,可以分别由自动驾驶车辆的行为规划器(behavior planner,BP),运动规划器(motion planner,MoP)和运动控制器(Control)执行。其中,BP负责下发高层决策,MoP负责规划预期轨迹和速度,Control负责操作油门刹车方向盘,让自动驾驶车辆根据目标轨迹并达到目标速度。应理解,行为规划器、运动规划器和运动控制器执行的相关操作可以是如图3所示的处理器113执行存储器114中的指令115,该指令115可以用于指示线路控制系统142。本申请实施例有时也将行为规划器,运动规划器以及运动控制器统称为规控模块。Some or all of the functions of autonomous vehicle 100 are controlled by computer system 112 . Computer system 112 may include at least one processor 113 that executes instructions 115 stored in a non-transitory computer-readable medium such as memory 114 . Computer system 112 may also be a plurality of computing devices that control individual components or subsystems of autonomous vehicle 100 in a distributed fashion. The processor 113 may be any conventional processor, such as a commercially available central processing unit (CPU). Alternatively, the processor 113 may be a dedicated device such as an application specific integrated circuit (ASIC) or other hardware-based processor. Although FIG. 3 functionally illustrates the processor, memory, and other components of the computer system 112 in the same block, one of ordinary skill in the art will understand that the processor, or memory, may actually include not stored in the same Multiple processors, or memories, within a physical enclosure. For example, memory 114 may be a hard drive or other storage medium located within a different enclosure than computer system 112 . Accordingly, references to processor 113 or memory 114 will be understood to include references to sets of processors or memories that may or may not operate in parallel. Rather than using a single processor to perform the steps described herein, some components such as the steering and deceleration components may each have their own processor that only performs computations related to component-specific functions . In various aspects described herein, the processor 113 may be located remotely from the autonomous vehicle 100 and in wireless communication with the autonomous vehicle 100 . In other aspects, some of the processes described herein are performed on the processor 113 disposed within the autonomous vehicle 100 while others are performed by the remote processor 113, including taking the necessary steps to perform a single maneuver. In some embodiments, memory 114 may include instructions 115 (eg, program logic) executable by processor 113 to perform various functions of autonomous vehicle 100 , including those described above. Memory 114 may also contain additional instructions, including instructions to send data to, receive data from, interact with, and/or control one or more of travel system 102 , sensor system 104 , control system 106 , and peripherals 108 . instruction. For example, taking changing lanes to the right as an example, the human driver needs to perform the following operations: Step 1: Consider safety factors and traffic regulations to determine the timing of changing lanes; Step 2: Plan a driving trajectory; Step 3 : Control the accelerator, brakes and steering wheel to drive the vehicle along a predetermined trajectory. The above operations correspond to autonomous vehicles and can be performed by the behavior planner (BP), motion planner (MoP) and motion controller (Control) of the autonomous vehicle, respectively. Among them, BP is responsible for issuing high-level decisions, MoP is responsible for planning the expected trajectory and speed, and Control is responsible for operating the accelerator and braking steering wheel, so that the autonomous vehicle can reach the target speed according to the target trajectory. It should be understood that the related operations performed by the behavior planner, the motion planner and the motion controller may be that the processor 113 as shown in FIG. In this embodiment of the present application, the behavior planner, the motion planner, and the motion controller are sometimes collectively referred to as a regulation module.
除了指令115以外,存储器114还可存储数据,例如道路地图、路线信息,车辆的位置、方向、速度以及其它这样的车辆数据,以及其他信息。这种信息可在自动驾驶车辆100在自主、半自主和/或手动模式中操作期间被自动驾驶车辆100和计算机系统112使用。用户接口116,用于向自动驾驶车辆100的用户提供信息或从其接收信息。可选地,用户接口116可包括在外围设备108的集合内的一个或多个输入/输出设备,例如无线通信系统146、车载电脑148、麦克风150和扬声器152。In addition to instructions 115, memory 114 may store data such as road maps, route information, vehicle location, direction, speed, and other such vehicle data, among other information. Such information may be used by the autonomous vehicle 100 and the computer system 112 during operation of the autonomous vehicle 100 in autonomous, semi-autonomous, and/or manual modes. A user interface 116 for providing information to or receiving information from a user of the autonomous vehicle 100 . Optionally, user interface 116 may include one or more input/output devices within the set of peripheral devices 108 , such as wireless communication system 146 , onboard computer 148 , microphone 150 and speaker 152 .
计算机系统112可基于从各种子系统(例如,行进系统102、传感器系统104和控制系统106)以及从用户接口116接收的输入来控制自动驾驶车辆100的功能。例如,计算 机系统112可利用来自控制系统106的输入以便控制转向系统132来避免由传感器系统104和障碍避免系统144检测到的障碍体。在一些实施例中,计算机系统112可操作来对自动驾驶车辆100及其子系统的许多方面提供控制。Computer system 112 may control functions of autonomous vehicle 100 based on input received from various subsystems (eg, travel system 102 , sensor system 104 , and control system 106 ) and from user interface 116 . For example, computer system 112 may utilize input from control system 106 to control steering system 132 to avoid obstacles detected by sensor system 104 and obstacle avoidance system 144. In some embodiments, computer system 112 is operable to provide control over many aspects of autonomous vehicle 100 and its subsystems.
可选地,上述这些组件中的一个或多个可与自动驾驶车辆100分开安装或关联。例如,存储器114可以部分或完全地与自动驾驶车辆100分开存在。上述组件可以按有线和/或无线方式来通信地耦合在一起。Optionally, one or more of these components described above may be installed or associated with the autonomous vehicle 100 separately. For example, memory 114 may exist partially or completely separate from autonomous vehicle 100 . The above-described components may be communicatively coupled together in a wired and/or wireless manner.
可选地,上述组件只是一个示例,实际应用中,上述各个模块中的组件有可能根据实际需要增添或者删除,图3不应理解为对本申请实施例的限制。在道路行进的自动驾驶车辆,如上面的自动驾驶车辆100,可以识别其周围环境内的物体以确定对当前速度的调整。所述物体可以是其它车辆、交通控制设备、或者其它类型的物体。在一些示例中,可以独立地考虑每个识别的物体,并且基于物体的各自的特性,诸如它的当前速度、加速度、与车辆的间距等,可以用来确定自动驾驶车辆所要调整的速度。Optionally, the above component is just an example. In practical applications, components in each of the above modules may be added or deleted according to actual needs, and FIG. 3 should not be construed as a limitation on the embodiments of the present application. An autonomous vehicle traveling on a road, such as autonomous vehicle 100 above, can identify objects within its surroundings to determine adjustments to current speed. The objects may be other vehicles, traffic control equipment, or other types of objects. In some examples, each identified object may be considered independently, and based on the object's respective characteristics, such as its current speed, acceleration, distance from the vehicle, etc., may be used to determine the speed at which the autonomous vehicle is to adjust.
可选地,自动驾驶车辆100或者与自动驾驶车辆100相关联的计算设备如图3的计算机系统112、计算机视觉系统140、存储器114可以基于所识别的物体的特性和周围环境的状态(例如,交通、雨、道路上的冰、等等)来预测所识别的物体的行为。可选地,每一个所识别的物体都依赖于彼此的行为,因此还可以将所识别的所有物体全部一起考虑来预测单个识别的物体的行为。自动驾驶车辆100能够基于预测的所识别的物体的行为来调整它的速度。换句话说,自动驾驶车辆100能够基于所预测的物体的行为来确定车辆将需要调整到(例如,加速、减速、或者停止)什么稳定状态。在这个过程中,也可以考虑其它因素来确定自动驾驶车辆100的速度,诸如,自动驾驶车辆100在行驶的道路中的横向位置、道路的曲率、静态和动态物体的接近度等等。除了提供调整自动驾驶车辆的速度的指令之外,计算设备还可以提供修改自动驾驶车辆100的转向角的指令,以使得自动驾驶车辆100遵循给定的轨迹和/或维持与自动驾驶车辆100附近的物体(例如,道路上的相邻车道中的轿车)的安全横向和纵向距离。Optionally, autonomous vehicle 100 or a computing device associated with autonomous vehicle 100 such as computer system 112, computer vision system 140, memory 114 of FIG. traffic, rain, ice on the road, etc.) to predict the behavior of the identified objects. Optionally, each identified object is dependent on the behavior of the other, so it is also possible to predict the behavior of a single identified object by considering all identified objects together. The autonomous vehicle 100 can adjust its speed based on the predicted behavior of the identified object. In other words, the autonomous vehicle 100 can determine what steady state the vehicle will need to adjust to (eg, accelerate, decelerate, or stop) based on the predicted behavior of the object. In this process, other factors may also be considered to determine the speed of the autonomous vehicle 100, such as the lateral position of the autonomous vehicle 100 in the road being traveled, the curvature of the road, the proximity of static and dynamic objects, and the like. In addition to providing instructions to adjust the speed of the autonomous vehicle, the computing device may also provide instructions to modify the steering angle of the autonomous vehicle 100 so that the autonomous vehicle 100 follows a given trajectory and/or maintains a close proximity to the autonomous vehicle 100 safe lateral and longitudinal distances for objects that are not in use (for example, cars in adjacent lanes on the road).
上述自动驾驶车辆100可以为轿车、卡车、摩托车、公共汽车、船、飞机、直升飞机、割草机、娱乐车、游乐场车辆、施工设备、电车、高尔夫球车和火车等,本申请实施例不做特别的限定。The above-mentioned self-driving vehicle 100 can be a car, a truck, a motorcycle, a bus, a boat, an airplane, a helicopter, a lawn mower, an amusement vehicle, an amusement park vehicle, a construction equipment, a tram, a golf cart, a train, etc. The present application The embodiment is not particularly limited.
结合上述描述,本申请实施例提供了一种规划车辆行驶路线的方法,可应用于图3中示出的自动驾驶车辆100中。本申请提供的方案可以包括至少两种工作模式,一种模式是自动驾驶模式,一种模式是人工驾驶模式。以下将针对车辆处于这种工作模式,分别进行说明。In combination with the above description, the embodiments of the present application provide a method for planning a vehicle driving route, which can be applied to the autonomous driving vehicle 100 shown in FIG. 3 . The solution provided by the present application may include at least two working modes, one mode is an automatic driving mode, and the other mode is a manual driving mode. The following descriptions will be given separately for the vehicle in this working mode.
图4为本申请提供的一种规划车辆行驶路线的方法的流程示意图。FIG. 4 is a schematic flowchart of a method for planning a driving route of a vehicle provided by the present application.
参阅图4,本申请实施例提供的一种规划车辆行驶路线的方法,可以包括以下步骤:Referring to FIG. 4 , a method for planning a vehicle driving route provided by an embodiment of the present application may include the following steps:
401、获取第一信息。401. Obtain first information.
第一信息包括车辆的位置信息、车道信息,导航信息,障碍物信息中的一种或者多种,车道信息用于确定车辆与车道线的相对位置,导航信息用于预测车辆的行驶方向,障碍物信息用于确定车辆与障碍物的相对位置。The first information includes one or more of the vehicle's position information, lane information, navigation information, and obstacle information. The lane information is used to determine the relative position of the vehicle and the lane line, and the navigation information is used to predict the driving direction of the vehicle. The object information is used to determine the relative position of the vehicle and the obstacle.
其中,车辆的位置信息可以通过全球定位系统(global position system,GPS)、实时动态定位(real-time kinematic,RTK)、摄像头及激光雷达等方式来完成。在一个可能的实施方式中,可以综合预先存储的地图、GPS位置信息及毫米波测量信息判断车辆可能存在的位置,并计算该车辆可能存在的位置出现概率,以此确定车辆所在的具体位置。需要说明的是,本申请提供的方案可以通过多种方式获取车辆的位置信息,相关技术中关于获取车辆的位置信息的方式,本申请实施例均可以采用。Among them, the position information of the vehicle can be completed by means of global positioning system (GPS), real-time kinematic (RTK), camera and lidar. In a possible implementation, the pre-stored map, GPS location information and millimeter wave measurement information can be combined to determine the possible location of the vehicle, and calculate the possible location occurrence probability of the vehicle, so as to determine the specific location of the vehicle. It should be noted that the solution provided by the present application can obtain the position information of the vehicle in various ways, and the method of obtaining the position information of the vehicle in the related art can be adopted in the embodiments of the present application.
可以通过对车辆上安装的图像采集设备采集的图像进行处理,以检测车道线。比如,可以以大量包括车道线的图片作为训练数据,对目标检测模型进行训练,训练完成后的目标检测模型,可以识别图像采集设备采集的图像中的车道线,并确定图像中车道线的位置。在一个可能的实施方式中,可以通过安装的毫米波雷达和图像采集设备进行路况检测,并将路况检测结果作为车道信息,确定车辆和车道线的相对位置。需要说明的是,本申请提供的方案可以通过多种方式获取车辆的车道线信息,相关技术中关于获取车辆的车道线信息的方式,本申请实施例均可以采用。The lane lines can be detected by processing the images collected by the image collection equipment installed on the vehicle. For example, a large number of pictures including lane lines can be used as training data to train the target detection model. After the training is completed, the target detection model can recognize the lane lines in the images collected by the image acquisition device, and determine the position of the lane lines in the image. . In a possible implementation, road condition detection can be performed by the installed millimeter wave radar and image acquisition device, and the road condition detection result can be used as lane information to determine the relative position of the vehicle and the lane line. It should be noted that the solution provided by the present application can obtain the lane line information of the vehicle in various ways, and the methods of obtaining the lane line information of the vehicle in the related art can all be adopted in the embodiments of the present application.
可以通过导航请求获取导航信息。导航请求可以包括车辆的起始地的位置信息以及目的地的位置信息。比如车辆可以通过用户点击或者触控车载导航的屏幕获取导航请求,也可以通过用户的语音指令获取导航请求。利用车载GPS配合电子地图来进行路径规划,进而可以获得车辆的导航信息,并根据导航信息预测车辆的行驶方向。需要说明的是,本申请提供的方案可以通过多种方式获取车辆的导航信息,相关技术中关于获取车辆的导航信息的方式,本申请实施例均可以采用。Navigation information can be obtained through a navigation request. The navigation request may include location information of the origin of the vehicle and location information of the destination. For example, the vehicle can obtain a navigation request through the user clicking or touching the screen of the in-vehicle navigation, or obtain the navigation request through the user's voice command. The vehicle GPS is used in conjunction with the electronic map to carry out path planning, and then the navigation information of the vehicle can be obtained, and the driving direction of the vehicle can be predicted according to the navigation information. It should be noted that the solution provided in the present application can obtain the navigation information of the vehicle in various ways, and the method of obtaining the navigation information of the vehicle in the related art can be adopted in the embodiments of the present application.
对于障碍物信息,在一种可能的实施方式中,车辆可以通过毫米波雷达对车辆前方的扇形区域进行障碍物扫描,并通过图像采集设备对车辆前方区域进行图像采集。根据毫米波雷达和图像采集设备的视场角,将扇形区域进行栅格化,这样,毫米波雷达检测到的障碍物将处于栅格单元中。之后,将图像采集设备采集到的图像中检测到的障碍物转换到极坐标系下的栅格单元中,并将栅格单元中毫米波雷达检测到的障碍物和图像采集设备检测到的障碍物进行严格匹配,以此来得到最终的障碍物信息。需要说明的是,本申请提供的方案可以通过多种方式获取障碍物信息,相关技术中关于获取障碍物信息的方式,本申请实施例均可以采用。For the obstacle information, in a possible implementation, the vehicle may scan the sector area in front of the vehicle for obstacles through a millimeter-wave radar, and collect images of the area in front of the vehicle through an image acquisition device. According to the field of view of the millimeter-wave radar and the image acquisition device, the fan-shaped area is gridded, so that the obstacles detected by the millimeter-wave radar will be in grid cells. After that, the obstacles detected in the images collected by the image acquisition device are converted into grid cells in the polar coordinate system, and the obstacles detected by the millimeter wave radar in the grid cells and the obstacles detected by the image acquisition device are converted into grid cells. The objects are strictly matched to obtain the final obstacle information. It should be noted that, the solution provided by the present application can obtain obstacle information in various ways, and the method of obtaining obstacle information in the related art can be adopted in the embodiments of the present application.
第一信息可以包括车辆的位置信息、车道信息,导航信息,障碍物信息中的一种或者多种。比如第一信息可以包括一种信息,比如第一信息包括车辆的位置信息。或者第一信息可以包括两种信息,比如第一信息包括车辆的位置信息和车道信息。或者第一信息可以包括三种信息,比如第一信息包括车辆的位置信息,车道信息,以及导航信息。或者第一信息可以包括四种信息,比如第一信息包括车辆的位置信息,车道信息,导航信息以及障碍物信息。需要说明的是,上面列举的几种第一信息可能包括的种类只是为了举例说明,并不代表限定,比如第一信息可以包括位置信息和障碍物信息,或者第一信息还可以包括除上述提到的车辆的位置信息,车道信息,导航信息,障碍物信息之外的其他信息。The first information may include one or more of vehicle location information, lane information, navigation information, and obstacle information. For example, the first information may include a type of information, for example, the first information includes position information of the vehicle. Or the first information may include two kinds of information, for example, the first information includes position information and lane information of the vehicle. Or the first information may include three kinds of information, for example, the first information includes position information of the vehicle, lane information, and navigation information. Or the first information may include four kinds of information, for example, the first information includes vehicle position information, lane information, navigation information and obstacle information. It should be noted that the types of the types of first information listed above are only for illustrative purposes and do not represent limitations. For example, the first information may include location information and obstacle information, or the first information may also include information other than those mentioned above. The location information of the arriving vehicle, lane information, navigation information, and other information other than obstacle information.
可以通过获取的第一信息确定车辆周围的环境信息,车辆周围的环境信息可以用于确定车辆是否曾经进入过相同或者相似的场景。在一些路况简单的场景下,可以认为只要车 辆的位置信息一致,即可以确定是相同的场景。在一些路况复杂的场景下,可能需要车辆的位置信息,车道信息,导航信息以及障碍物信息都一致时,才可以确定是相同的场景。Environment information around the vehicle may be determined through the acquired first information, and the environment information around the vehicle may be used to determine whether the vehicle has ever entered the same or similar scene. In some scenarios with simple road conditions, it can be considered that as long as the position information of the vehicles is consistent, the same scenario can be determined. In some scenes with complex road conditions, it may be necessary to determine the same scene only when the vehicle's position information, lane information, navigation information and obstacle information are consistent.
一、车辆处于自动驾驶模式1. The vehicle is in automatic driving mode
402、车辆处于自动驾驶模式时,第一信息是第一模型的输入数据,第一模型的输出数据用于为车辆规划行驶路线,第一模型是以人工驾驶模式下车辆的行车轨迹为训练目标,对人工驾驶模式下获取的第二信息进行训练得到的模型,第二信息包括的信息种类与第一信息包括的信息的种类一致,第一信息和第二信息的相似度满足预设条件。402. When the vehicle is in the automatic driving mode, the first information is the input data of the first model, the output data of the first model is used to plan a driving route for the vehicle, and the first model takes the driving trajectory of the vehicle in the manual driving mode as the training target , a model obtained by training the second information obtained in the manual driving mode, the type of information included in the second information is consistent with the type of information included in the first information, and the similarity between the first information and the second information satisfies a preset condition.
上述步骤401中提到第一信息可以包括车辆的位置信息、车道信息,导航信息,障碍物信息中的一种或者多种。第二信息包括的信息种类与第一信息包括的信息的种类一致,第二信息可以包括车辆的位置信息、车道信息,导航信息,障碍物信息中的一种或者多种。具体的,比如第一信息包括车辆的位置信息,则第二信息包括车辆的位置信息;第一信息包括车辆的位置信息和车道信息,则第二信息包括车辆的位置信息和车道信息;第一信息包括车辆的位置信息、车道信息以及导航信息,则第二信息包括车辆的位置信息、车道信息以及导航信息;第一信息包括车辆的位置信息,车道信息,导航信息以及障碍物信息,则第二信息包括车辆的位置信息,车道信息,导航信息以及障碍物信息。The first information mentioned in the above step 401 may include one or more of vehicle position information, lane information, navigation information, and obstacle information. The type of information included in the second information is consistent with the type of information included in the first information, and the second information may include one or more of vehicle location information, lane information, navigation information, and obstacle information. Specifically, for example, if the first information includes the position information of the vehicle, the second information includes the position information of the vehicle; the first information includes the position information and lane information of the vehicle, and the second information includes the position information and lane information of the vehicle; the first information includes the position information and lane information of the vehicle; The information includes the position information, lane information and navigation information of the vehicle, the second information includes the position information, lane information and navigation information of the vehicle; the first information includes the position information, lane information, navigation information and obstacle information of the vehicle, then the first information includes the vehicle position information, lane information, navigation information and obstacle information. The second information includes vehicle position information, lane information, navigation information and obstacle information.
第一信息和第二信息的相似度满足预设条件是为了确定车辆是否进入相同的场景。比如车辆经过第一路段获取的周边环境信息为第一信息,车辆经过第二路段获取的周边环境信息为第二信息,如果第一信息和第二信息的相似度满足预设条件,则认为第一路段和第二路段是相同或者相似的场景,比如第一路段和第二路段可能是同一个路段。The similarity between the first information and the second information satisfies the preset condition in order to determine whether the vehicle enters the same scene. For example, the surrounding environment information obtained by the vehicle passing through the first road section is the first information, and the surrounding environment information obtained by the vehicle passing through the second road section is the second information. If the similarity between the first information and the second information meets the preset conditions, it is considered that the first The first road segment and the second road segment are the same or similar scenes, for example, the first road segment and the second road segment may be the same road segment.
关于如何确定两个信息的相似度,相关技术可以采用的手段,本申请实施例均可以采用。比如,以第一信息包括车辆的位置信息为例进行说明,其中位置信息可以包括车辆所在位置的经纬度信息。比如第一信息包括第一经纬度信息,第二信息包括第二经纬度信息,如果二者的差值小于预设阈值时,则可以认为第一信息和第二信息的相似度满足预设条件,如果二者的差值大于预设阈值,则可以认为第一信息和第二信息的相似度不满足预设条件。换句话说,可以通过两个信息的偏差是否小于预设阈值这种手段判断两个信息的相似度是否满足预设条件。再比如,第一信息包括车道信息,具体的,第一信息包括第一车道信息,第二信息包括第二车道信息。某路段一共包括2条左转车道,其中第一信息为2条左转车道中靠右的车道,第二信息为左转车道中的靠左的车道,如果预设条件为第一信息和第二信息完全一样,第一信息和第二信息的相似度满足预设条件,则认为第一信息和第二信息的相似度不满足预设条件,如果预设条件为车辆处于左转车道,第一信息和第二信息的相似度满足预设条件,则可以认为第一信息和第二信息的相似度满足预设条件。再比如,第一信息包括导航信息,具体的,第一信息包括第一导航信息,第二信息包括第二导航信息。其中,第一信息为车辆下一步的行驶方向为直行,第二信息为车辆下一步的行驶方向为左转,则可以认为第一信息和第二信息的相似度不满足预设条件,第一信息为车辆下一步的行驶方向为直行,第二信息为车辆下一步的行驶方向为直行,则可以认为第一信息和第二信息的相似度满足预设条件。再比如,第一信息包括障碍物信息,其中障碍物信息可以包括静态障碍物信息和动态障碍物信息,第一信息可以只包括静态障碍物信息,或者只包括 动态障碍物信息,或者可以既包括静态障碍物信息也包括动态障碍物信息。其中关于障碍物的信息可以包括障碍物和车辆之间的相对位置关系,关于动态障碍物,障碍物信息还可包括动态障碍物的速度,动态障碍物是其他车辆时,动态障碍物信息还可以包括其他车辆的车头的方向。假设第一信息包括第一障碍物信息,第二信息包括第二障碍物信息。其中,第一障碍物信息包括障碍物和车辆之间的第一相对位置信息,障碍物的第一速度,以及障碍物的第一车头方向,第二障碍物信息包括障碍物和车辆之间的第二相对位置信息,障碍物的第二速度,以障碍物的第二车头方向。预设条件可以为第一相对位置信息和第二相对位置信息之间的偏差小于第一阈值,且第一速度和第二速度之间的偏差小于第二阈值,且第一车头方向和第三车头方向之间的偏差小于第三阈值,则认为第一信息和第二信息的相似度满足预设条件。或者,预设条件可以为第一相对位置信息和第二相对位置信息之间的偏差小于第一阈值,且第一速度和第二速度之间的偏差小于第二阈值,则认为第一信息和第二信息的相似度满足预设条件。需要说明的是,在实际应用的过程中,可以根据场景按照需求设定预设条件。Regarding how to determine the similarity of the two pieces of information, any means that can be used in the related art can be used in the embodiments of the present application. For example, the first information includes the location information of the vehicle as an example for description, where the location information may include the latitude and longitude information of the location where the vehicle is located. For example, the first information includes first longitude and latitude information, and the second information includes second longitude and latitude information. If the difference between the two is less than a preset threshold, it can be considered that the similarity between the first information and the second information meets the preset condition. If If the difference between the two is greater than the preset threshold, it can be considered that the similarity between the first information and the second information does not meet the preset condition. In other words, whether the similarity of the two pieces of information satisfies the preset condition can be judged by means of whether the deviation of the two pieces of information is smaller than the preset threshold. For another example, the first information includes lane information. Specifically, the first information includes first lane information, and the second information includes second lane information. A road section includes a total of 2 left-turn lanes, of which the first information is the right lane in the 2 left-turn lanes, and the second information is the left-turn lane in the left-turn lane. If the preset conditions are the first information and the second The second information is exactly the same, and the similarity between the first information and the second information satisfies the preset condition, then it is considered that the similarity between the first information and the second information does not meet the preset condition. If the preset condition is that the vehicle is in the left-turn lane, the first If the similarity between the first information and the second information satisfies the preset condition, it can be considered that the similarity between the first information and the second information meets the preset condition. For another example, the first information includes navigation information. Specifically, the first information includes first navigation information, and the second information includes second navigation information. Wherein, if the first information is that the next driving direction of the vehicle is going straight, and the second information is that the next driving direction of the vehicle is turning left, it can be considered that the similarity between the first information and the second information does not meet the preset condition, and the first If the information is that the next traveling direction of the vehicle is straight, and the second information is that the next traveling direction of the vehicle is straight, it can be considered that the similarity between the first information and the second information satisfies the preset condition. For another example, the first information includes obstacle information, where the obstacle information may include static obstacle information and dynamic obstacle information, and the first information may include only static obstacle information, or only dynamic obstacle information, or may include both. Static obstacle information also includes dynamic obstacle information. The information about the obstacle can include the relative position relationship between the obstacle and the vehicle, and about the dynamic obstacle, the obstacle information can also include the speed of the dynamic obstacle. When the dynamic obstacle is other vehicles, the dynamic obstacle information can also Including the direction of the head of other vehicles. It is assumed that the first information includes first obstacle information, and the second information includes second obstacle information. The first obstacle information includes first relative position information between the obstacle and the vehicle, the first speed of the obstacle, and the first vehicle head direction of the obstacle, and the second obstacle information includes the distance between the obstacle and the vehicle. The second relative position information, the second speed of the obstacle, and the direction of the second vehicle head of the obstacle. The preset condition may be that the deviation between the first relative position information and the second relative position information is less than the first threshold, the deviation between the first speed and the second speed is less than the second threshold, and the first head direction and the third If the deviation between the vehicle head directions is less than the third threshold, it is considered that the similarity between the first information and the second information satisfies the preset condition. Alternatively, the preset condition may be that the deviation between the first relative position information and the second relative position information is less than the first threshold, and the deviation between the first speed and the second speed is less than the second threshold, then it is considered that the first information and The similarity of the second information satisfies a preset condition. It should be noted that, in the actual application process, the preset conditions can be set according to the requirements according to the scene.
在一个可能的实施方式中,确定第一信息和第二信息中相同种类信息的相似度,相同种类信息的相似度的线性加权和用于确定第一信息和第二信息的相似度。举例说明,比如第一信息包括车辆的第一位置信息、第一车道信息,第一导航信息以及第一障碍物信息,第二信息包括车辆的第二位置信息、第二车道信息,第二导航信息以及第二障碍物信息。假设位置信息的相似度的权值为3/8,车道信息的相似度权值为3/8,导航信息的相似度的权值为1/8,障碍物信息的相似度的权值为1/8。假设两个信息的相似度满足预设条件,则设相似度为1,两个信息的相似度不满足预设条件,则设相似度为0,如果第一位置信息和第二位置信息的相似度满足第一预设条件,第一车道信息和第二车道信息的相似度不满足第二预设条件,第一导航信息和第二导航信息的相似度不满足第三预设条件,第一障碍物信息和第二障碍物信息的相似度满足第四预设条件,则(3/8*1+3/8*0+1/8*0+1/8*1)为相同种类信息的相似度的线性加权和,即线性加权和为1/2,如果预设条件设定相似度不小于1/2,则可以认为第一信息和第二信息的相似度满足预设条件,如果预设条件设定相似度为大于1/2,则可以认为第一信息和第二信息的相似度不满足预设条件。需要说明的是,上述列举的不同信息的相似度的权值的取值,以及满足相似度条件设为1,不满足相似度条件设为0,均为举例说明,不代表对本申请对取值的限定,在实际应用场景中,可以根据场景需求选定不同类型的信息的权值,并确定相同种类信息的相似度的线性加权和。In a possible implementation, the similarity of the same type of information in the first information and the second information is determined, and a linear weighted sum of the similarity of the same type of information is used to determine the similarity of the first information and the second information. For example, for example, the first information includes the first position information of the vehicle, the first lane information, the first navigation information and the first obstacle information, and the second information includes the second position information of the vehicle, the second lane information, and the second navigation information. information and second obstacle information. Assume that the weight of the similarity of the location information is 3/8, the weight of the similarity of the lane information is 3/8, the weight of the similarity of the navigation information is 1/8, and the weight of the similarity of the obstacle information is 1. /8. Assuming that the similarity of the two pieces of information satisfies the preset condition, the similarity is set to 1, and the similarity of the two pieces of information does not meet the preset condition, then the similarity is set to 0. If the similarity between the first position information and the second position information is similar The degree of similarity satisfies the first preset condition, the similarity between the first lane information and the second lane information does not meet the second preset condition, the similarity between the first navigation information and the second navigation information does not meet the third preset condition, the first The similarity between the obstacle information and the second obstacle information satisfies the fourth preset condition, then (3/8*1+3/8*0+1/8*0+1/8*1) is the same type of information The linear weighted sum of the similarity, that is, the linear weighted sum is 1/2. If the preset condition sets the similarity to be not less than 1/2, it can be considered that the similarity between the first information and the second information satisfies the preset condition. Assuming that the similarity is set to be greater than 1/2, it can be considered that the similarity between the first information and the second information does not meet the preset condition. It should be noted that the values of the weights of the similarity degrees of different information listed above, and the values that satisfy the similarity condition are set to 1, and those that do not meet the similarity condition are set to 0, are all examples, and do not mean that the value of the application is correct. In practical application scenarios, the weights of different types of information can be selected according to the requirements of the scenario, and the linear weighted sum of the similarity of the same type of information can be determined.
在一个可能的实施方式中,还可以通过其他方式确定第一信息和第二信息的相似度。比如,第一信息和第二信息一共包括4种信息,可以设定其中3种信息满足预设条件,则可以认为第一信息和第二信息的相似度满足预设条件。需要说明的是,这里的3种信息满足预设条件,是指3种信息分别满足各自的预设条件,本文对此不再重复说明。此外,关于如何确定每一种信息是否满足预设条件已经在上文对此进行了说明。In a possible implementation manner, the similarity between the first information and the second information may also be determined in other manners. For example, the first information and the second information include a total of 4 kinds of information, and it can be set that 3 kinds of information meet the preset conditions, and it can be considered that the similarity between the first information and the second information satisfies the preset conditions. It should be noted that the three types of information here satisfy the preset conditions, which means that the three types of information respectively satisfy their respective preset conditions, which will not be repeated in this article. In addition, how to determine whether each kind of information satisfies the preset condition has been described above.
如果第一信息和第二信息的相似度满足预设条件,则可以认为车辆进入了两个相似的驾驶场景,车辆处于自动驾驶模式时,第一信息是第一模型的输入数据,第一模型的输出数据用于为车辆规划行驶路线,第一模型是以人工驾驶模式下车辆的行车轨迹为训练目标, 对人工驾驶模式下获取的第二信息进行训练得到的模型。为了更好的理解本申请提供的方案,下面结合图5a至图5c分别对自动驾驶模式,人工驾驶模式,以及进入相同场景后的自动驾驶模式对应的场景进行介绍。If the similarity between the first information and the second information satisfies the preset condition, it can be considered that the vehicle has entered two similar driving scenarios. When the vehicle is in the automatic driving mode, the first information is the input data of the first model, and the first model The output data is used to plan a driving route for the vehicle. The first model is a model obtained by training the second information obtained in the manual driving mode with the driving trajectory of the vehicle in the manual driving mode as the training target. In order to better understand the solution provided by this application, the following describes the automatic driving mode, the manual driving mode, and the scenarios corresponding to the automatic driving mode after entering the same scene with reference to FIG. 5a to FIG. 5c.
如图5a所示,为车辆处于自动驾驶模式时的流程示意图。传感器系统将感知的周边环境信息(比如第一信息)发送给行为规划器,行为规划器根据传感器系统获取的周边环境为下发高层决策,运动规划器根据行为规划器下发的高层决策规划预期轨迹和速度,运动控制器负责操作油门刹车方向盘,让自动驾驶车辆根据目标轨迹并达到目标速度。在自动驾驶模式时,驾驶员不介入,如图5a中用虚线表示驾驶员操控的流程。As shown in FIG. 5a , it is a schematic flowchart of the process when the vehicle is in the automatic driving mode. The sensor system sends the perceived surrounding environment information (such as the first information) to the behavior planner. The behavior planner issues high-level decisions based on the surrounding environment obtained by the sensor system, and the motion planner plans expectations based on the high-level decisions issued by the behavior planner. Trajectory and speed, the motion controller is responsible for operating the accelerator and braking steering wheel, allowing the autonomous vehicle to follow the target trajectory and reach the target speed. In the automatic driving mode, the driver does not intervene, as shown in Figure 5a with a dashed line to indicate the process of the driver's manipulation.
如图5b所示,当车辆再次进入类似场景时,具体表现在第一信息和第二信息的相似度满足预设条件,第二信息是第一模型的训练数据。如果车辆处于自动驾驶模式,则可以根据将第一信息作为第一模型的输入数据,根据第一模型的输出数据为车辆规划行驶路线。As shown in Fig. 5b, when the vehicle enters a similar scene again, it is embodied in that the similarity between the first information and the second information satisfies a preset condition, and the second information is the training data of the first model. If the vehicle is in the automatic driving mode, a driving route can be planned for the vehicle according to the output data of the first model according to the first information as the input data of the first model.
二、车辆处于人工驾驶模式2. The vehicle is in manual driving mode
403、车辆处于人工驾驶模式时,第一信息用于训练第一模型。403. When the vehicle is in the manual driving mode, the first information is used to train the first model.
如图5c所示,当车辆可能发生危险,或未按照驾驶员预期行驶时(需要说明的是,本方案中涉及驾驶员的描述均指人类驾驶员),驾驶员可以通过操作方向盘或踩下制动踏板的方式介入车辆的驾驶。驾驶员接管时,保持传感器系统的正常运行,输出周边环境信息。驾驶员接管时,行为规划器、运动规划器以及运动控制器不介入车辆的控制。对人工驾驶模式下传感器系统获取的数据(即周边环境信息)作为训练数据,对第一模型进行训练。其中,人工驾驶模式下传感器获取的数据可以理解为:获取到驾驶员驾驶车辆行驶到获取到重新切换回自动驾驶模式期间传感器获取的数据,或者也可以将驾驶员驾驶车辆行驶到预设的距离或者预设时长期间传感器获取的数据。第一模型的训练目标是人工驾驶模式下车辆的行驶轨迹,即训练目标是让第一模型的输出数据更接近驾驶员驾驶的行驶轨迹。换句话说,训练的目标是使训练完成的第一模型输出的轨迹分布和人工驾驶模式下车辆的轨迹分布相匹配,或者偏差在预设范围内。需要说明的是,相关技术中的模仿学习算法本申请实施例均可以采用。As shown in Figure 5c, when the vehicle may be in danger or does not drive as expected by the driver (it should be noted that the description of the driver in this solution refers to a human driver), the driver can operate the steering wheel or step on the The way the brake pedal intervenes in the driving of the vehicle. When the driver takes over, the sensor system is kept in normal operation and the surrounding environment information is output. When the driver takes over, the behavior planner, motion planner, and motion controller do not intervene in the control of the vehicle. The first model is trained by using the data obtained by the sensor system (ie the surrounding environment information) in the manual driving mode as training data. Among them, the data obtained by the sensor in the manual driving mode can be understood as: the data obtained by the sensor during the period from when the driver drives the vehicle to when the sensor switches back to the automatic driving mode, or the driver drives the vehicle to a preset distance. Or the data acquired by the sensor during a preset duration. The training target of the first model is the driving trajectory of the vehicle in the manual driving mode, that is, the training target is to make the output data of the first model closer to the driving trajectory of the driver. In other words, the goal of training is to make the trajectory distribution output by the trained first model match the trajectory distribution of the vehicle in the manual driving mode, or the deviation is within a preset range. It should be noted that any imitation learning algorithm in the related art can be used in the embodiments of the present application.
由图4对应的实施例可知,本申请提供的方案实时获取车辆周围的环境信息,比如第一信息和第二信息。当车辆处于人工驾驶模式时,以车辆周围的环境信息作为训练数据,对模型进行训练,使该模型输出的轨迹可以接近人工驾驶模式下车辆的行驶轨迹。当车辆处于自动驾驶模式时,如果确定车辆的环境信息和模型训练使用的车辆的周围的环境信息的相似度满足预设条件,则以车辆周围的环境信息作为模型的输入数据,根据模型的输出数据为车辆规划行驶路线。通过本申请提供的方案可以降低人工接管的频率,比如在一个典型的场景中,图2a至图2c所示的场景中,经过该路段时,不需要每次都由驾驶员接管,车辆可以根据模型输出的数据为车辆规划行驶路线,躲避开连续的井盖。此外,本申请提供的方案可以大量减少训练所需的数据。现有技术中,不考虑大量长尾场景,以解决最常见场景中的规划问题为目标,重点优化自动驾驶过程中更为常见的场景,这些场景中自动驾驶的数据也更易收集、更有共性,如换道、车道保持、高速巡航等场景。由于需要考虑更常见的场景,使其解决方案更具有泛化性,现有技术往往需要大量的驾驶数据,一般的 厂家或研究单位无法满足此需求。本申请提供的方案主要针对特定的场景进行优化,不考虑模型的泛化性,因此仅需收集针对该场景的数据即可,所需的数据量较现有技术要小很多。It can be seen from the embodiment corresponding to FIG. 4 that the solution provided by the present application acquires the environmental information around the vehicle, such as the first information and the second information, in real time. When the vehicle is in the manual driving mode, the model is trained with the environment information around the vehicle as the training data, so that the trajectory output by the model can be close to the driving trajectory of the vehicle in the manual driving mode. When the vehicle is in the automatic driving mode, if it is determined that the similarity between the environmental information of the vehicle and the surrounding environmental information of the vehicle used for model training meets the preset conditions, the environmental information around the vehicle is used as the input data of the model, and the output of the model is The data plans the driving route for the vehicle. The solution provided by this application can reduce the frequency of manual takeover. For example, in a typical scenario, as shown in Figure 2a to Figure 2c, when passing through this road section, it is not necessary to take over by the driver every time, and the vehicle can take over according to the The data output by the model plans the driving route for the vehicle and avoids continuous manhole covers. In addition, the solution provided in this application can greatly reduce the data required for training. In the existing technology, without considering a large number of long-tail scenarios, aiming at solving the planning problems in the most common scenarios, focusing on optimizing the more common scenarios in the automatic driving process, the automatic driving data in these scenarios are also easier to collect and have more commonality , such as lane changing, lane keeping, high-speed cruise and other scenarios. Due to the need to consider more common scenarios and make its solutions more generalized, the existing technologies often require a large amount of driving data, which cannot be met by general manufacturers or research institutes. The solution provided in this application is mainly optimized for a specific scenario, regardless of the generalization of the model, so it is only necessary to collect data for the scenario, and the amount of data required is much smaller than that in the prior art.
此外,针对大量的长尾场景,现有技术通常需要研究人员必须对场景逐一进行分析,分析过程较为复杂,解决方案常常需要特殊处理,往往还会影响其他已有的场景的逻辑,无法进行自动的增量优化。本申请还可以解决这一问题,下面对此问题进行具体的说明。In addition, for a large number of long-tail scenarios, the existing technology usually requires researchers to analyze the scenarios one by one. The analysis process is complex, the solution often requires special processing, and often affects the logic of other existing scenarios, which cannot be automated. incremental optimization. The present application can also solve this problem, which will be specifically described below.
如图5d所示,车辆处于自动驾驶模式时,可以通过评估第一信息与M组信息的相似度,评估车辆所处场景(周边环境信息)的相似度,若第一信息和M组信息的相似度满足预设条件,即认为车辆当前场景相似度与已有可用模型对应场景的相似度超过阈值,可以从M个模型中选择相似度最高的可用模型,以当前获取的周期环境信息(比如第一信息)作为该相似度最高的可用模型(比如第一模型)的输入,该相似度最高的可用模型的输出数据可以为车辆规划行驶路线。以下对此种场景进行具体介绍。As shown in Figure 5d, when the vehicle is in the automatic driving mode, the similarity of the scene (surrounding environment information) where the vehicle is located can be evaluated by evaluating the similarity between the first information and the M groups of information. The similarity satisfies the preset condition, that is, it is considered that the similarity between the current scene of the vehicle and the scene corresponding to the existing available model exceeds the threshold, and the available model with the highest similarity can be selected from the M models, and the currently obtained periodic environment information (such as The first information) is used as the input of the available model with the highest similarity (such as the first model), and the output data of the available model with the highest similarity can plan a driving route for the vehicle. This scenario is described in detail below.
请参阅图6,图6为本申请实施例提供的一种规划车辆行驶路线的方法的一种流程示意图,本申请实施例提供的车辆行驶一种规划车辆行驶路线的方法可以包括:Please refer to FIG. 6. FIG. 6 is a schematic flowchart of a method for planning a driving route of a vehicle provided by an embodiment of the present application. The method for planning a driving route for a vehicle provided by an embodiment of the present application may include:
601、获取第一信息。601. Obtain first information.
步骤601可以参照图4对应的实施例中的步骤401进行理解,这里不再重复赘述。Step 601 can be understood with reference to step 401 in the embodiment corresponding to FIG. 4 , and details are not repeated here.
602、评估第一信息与M组信息的相似度。602. Evaluate the similarity between the first information and the M groups of information.
M组信息中的每一组信息均为车辆处于人工驾驶模式时获取的信息,M组信息中的任意两组信息的相似度不满足预设条件,M组信息中的每一组信息分别用于训练一个模型。M组信息中的任意两组信息的相似度不满足预设条件,使得M组信息中的每一种信息可以分别对应一种不同的场景,不同的场景对应不同的模型。举例说明,比如M为2,M组信息分别是M1组信息和M2组信息。M1组信息和M2组信息均为人工驾驶模式时获取的信息,比如M1组信息是图1c场景下获取的信息,M2组信息是图2b场景下获取的信息。比如M组信息包括的信息种类为车辆的位置信息,图1c和图2b所示的场景中,车辆的地理位置偏差较大,可以认为M1组信息和M2组信息的相似度不满足预设条件。当然,上面列举的M组信息包括2组信息仅为举例说明,在实际场景中,M组信息可以包括两组以上的信息。比如,如果M组信息包括的种类信息为车辆的位置信息时,M组信息中的每一组信息可能分别对应一个不同路段。关于如何评估两个信息的相似度,已经在上文进行了介绍,具体可以参照图4对应的实施例中的步骤402中关于如何确定两个信息的相似度进行理解,这里不再重复赘述。Each group of information in the M groups of information is the information obtained when the vehicle is in the manual driving mode. The similarity of any two groups of information in the M groups of information does not meet the preset conditions. for training a model. The similarity of any two groups of information in the M groups of information does not satisfy the preset condition, so that each information in the M groups of information can correspond to a different scenario, and different scenarios correspond to different models. For example, if M is 2, the M groups of information are M1 group information and M2 group information respectively. The M1 group information and the M2 group information are both information obtained in the manual driving mode. For example, the M1 group information is the information obtained in the scenario of Figure 1c, and the M2 group information is the information obtained in the scenario of Figure 2b. For example, the type of information included in the M group of information is the location information of the vehicle. In the scenarios shown in Figure 1c and Figure 2b, the geographical position of the vehicle has a large deviation, and it can be considered that the similarity between the M1 group information and the M2 group information does not meet the preset conditions. . Of course, the above-mentioned M groups of information including two groups of information are only for illustration, and in an actual scenario, the M groups of information may include more than two groups of information. For example, if the type information included in the M groups of information is the position information of the vehicle, each group of information in the M groups of information may correspond to a different road segment respectively. How to evaluate the similarity of two pieces of information has been introduced above. For details, please refer to step 402 in the embodiment corresponding to FIG. 4 for an understanding of how to determine the similarity of two pieces of information, which will not be repeated here.
一、车辆处于自动驾驶模式1. The vehicle is in automatic driving mode
603、第一信息和M组信息中第二信息的相似度满足预设条件,且M组信息中第二信息与第一信息的相似度最大时,第一信息是第一模型的输入数据。603. When the similarity between the first information and the second information in the M groups of information satisfies a preset condition, and the similarity between the second information and the first information in the M groups of information is the largest, the first information is the input data of the first model.
举例说明,假设M组信息分别是M1组信息和M2组信息,M1组信息是图1c场景下获取的信息,M2组信息是图2b场景下获取的信息。假设M1组信息对应的模型是A模型,M2组信息对应的模型是B模型。以A模型为例进行说明,如果车辆在图1c所示的场景中,处于人工驾驶模式,则获取车辆的行车轨迹,并获取图1c场景中的周边环境信息作为训练数 据,对A模型进行训练,当A模型的输出的轨迹与车辆在图1c场景中人工驾驶模式下的车辆轨迹的分布在预设范围内时,则认为A模型完成训练,A模型的输出数据可以用来为车辆规划行驶路线。如果第一信息和M1组信息的相似度满足预设条件,并且第一信息和M1组信息的相似度大于第一信息和M2组信息的相似度,则可以将第一信息作为A模型的输入数据,此时A模型的输出数据可以用来为车辆规划行驶路线,此时规划的行驶路线与人工驾驶模式下车辆的行车轨迹相似,不会碰撞到出车位口处的障碍物。需要说明的是,本申请有时也将模型输出的轨迹称为模型输出的数据,在不强调二者的区别之时,二者表示相同的意思。以B模型为例进行说明,如果车辆在图2b所示的场景中,处于人工驾驶模式,则获取车辆的行车轨迹,并获取图2b场景中的周边环境信息作为训练数据,对B模型进行训练,当B模型的输出的轨迹与车辆在图2b场景中人工驾驶模式下的车辆轨迹的分布在预设范围内时,则认为B模型完成训练,B模型的输出数据可以用来为车辆规划行驶路线。如果第一信息和M2组信息的相似度满足预设条件,并且第一信息和M1组信息的相似度小于第一信息和M2组信息的相似度,则可以将第一信息作为B模型的输入数据,此时B模型的输出数据可以用来为车辆规划行驶路线,此时规划的行驶路线与人工驾驶模式下车辆的行车轨迹相似,可以躲避马路上连续的井盖。For example, it is assumed that the M groups of information are respectively the M1 group information and the M2 group information, the M1 group information is the information obtained in the scenario of Fig. 1c, and the M2 group information is the information obtained in the scenario of Fig. 2b. It is assumed that the model corresponding to the M1 group information is the A model, and the model corresponding to the M2 group information is the B model. Taking model A as an example to illustrate, if the vehicle is in the manual driving mode in the scene shown in Figure 1c, the driving trajectory of the vehicle is obtained, and the surrounding environment information in the scene of Figure 1c is obtained as training data to train the A model. , when the trajectory of the output of the A model and the distribution of the vehicle trajectory in the manual driving mode in the scene of Figure 1c are within the preset range, the A model is considered to have completed the training, and the output data of the A model can be used for the vehicle to plan the driving. route. If the similarity between the first information and the M1 group information satisfies the preset condition, and the similarity between the first information and the M1 group information is greater than the similarity between the first information and the M2 group information, the first information can be used as the input of the A model At this time, the output data of the A model can be used to plan the driving route for the vehicle. At this time, the planned driving route is similar to the driving trajectory of the vehicle in the manual driving mode, and will not collide with the obstacles at the exit of the parking space. It should be noted that in this application, the trajectory output by the model is sometimes referred to as the data output by the model, and when the difference between the two is not emphasized, the two have the same meaning. Taking the B model as an example to illustrate, if the vehicle is in the manual driving mode in the scene shown in Figure 2b, the driving trajectory of the vehicle is obtained, and the surrounding environment information in the scene shown in Figure 2b is obtained as training data to train the B model. , when the trajectory of the output of the B model and the distribution of the vehicle trajectory in the manual driving mode in the scene of Figure 2b are within the preset range, the B model is considered to have completed the training, and the output data of the B model can be used for the vehicle to plan the driving. route. If the similarity between the first information and the M2 group information satisfies the preset condition, and the similarity between the first information and the M1 group information is smaller than the similarity between the first information and the M2 group information, the first information can be used as the input of the B model At this time, the output data of the B model can be used to plan the driving route for the vehicle. At this time, the planned driving route is similar to the driving trajectory of the vehicle in the manual driving mode, which can avoid the continuous manhole cover on the road.
可以通过评估第一信息与M组信息的相似度,评估车辆所处场景(周边环境信息)的相似度,若第一信息和M组信息的相似度满足预设条件,即认为车辆当前场景相似度与已有可用模型对应场景的相似度超过阈值,可以选择相似度最高的可用模型,以当前获取的周期环境信息(比如第一信息)作为该相似度最高的可用模型(比如第一模型)的输入,该相似度最高的可用模型的输出数据可以为车辆规划行驶路线。其中,可以认为人工驾驶模式下的车辆轨迹的分布在预设范围内时,该模型是可用模型。关于可用模型将在下文进一步展开介绍。The similarity of the scene (surrounding environment information) where the vehicle is located can be evaluated by evaluating the similarity between the first information and the M groups of information. If the similarity between the first information and the M groups of information meets the preset conditions, it is considered that the current scene of the vehicle is similar. If the similarity with the scene corresponding to the existing available model exceeds the threshold, the available model with the highest similarity can be selected, and the currently obtained periodic environment information (such as the first information) is used as the available model with the highest similarity (such as the first model) The output data of the available model with the highest similarity can plan the driving route for the vehicle. Wherein, it can be considered that the model is a usable model when the distribution of vehicle trajectories in the manual driving mode is within a preset range. The available models are described further below.
二、车辆处于人工驾驶模式2. The vehicle is in manual driving mode
604、第一信息和M组信息中第二信息的相似度满足预设条件,且M组信息中第二信息与第一信息的相似度最大时,第一信息用于训练第一模型,以得到更新后的第一模型。604. When the similarity between the first information and the second information in the M groups of information satisfies a preset condition, and when the similarity between the second information and the first information in the M groups of information is the largest, the first information is used to train the first model to Get the updated first model.
关于如何确定第一信息和M组信息中的每一组信息的相似度是否满足相似条件,可以参照上文关于如何确定两个信息的相似度进行理解,此处不再重复赘述。How to determine whether the similarity between the first information and each of the M groups of information satisfies the similarity condition can be understood with reference to the above description of how to determine the similarity of the two pieces of information, and details are not repeated here.
如果第一信息和M组信息中的某一组信息的相似度满足预设条件,比如第一信息和M组中的第二信息的相似度满足预设条件,则可以认为车辆目前所处的场景,与历史人工驾驶模式下的某个场景是相同或者相似场景。If the similarity between the first information and a certain group of information in the M groups of information satisfies the preset condition, for example, the similarity between the first information and the second information in the M group of information satisfies the preset condition, it can be considered that the vehicle is currently located in the The scene is the same or similar to a scene in the historical manual driving mode.
若当前场景相似度与已有可用模型对应场景的相似度超过阈值,则选择相似度最高的可用模型,比如相似度最高的是第一模型,对利用第一信息对第一模型进行更新训练,更新针对该场景的可用模型,即更新第一模型。If the similarity between the current scene and the scene corresponding to the existing available model exceeds the threshold, the available model with the highest similarity is selected, such as the first model with the highest similarity, and the first model is updated and trained by using the first information. The available models for this scene are updated, ie the first model is updated.
605、第一信息和M组信息中的每一组信息的相似度都不满足预设条件时,第一信息用于对第一模型进行第一次训练。605. When the similarity between the first information and each of the M groups of information does not meet the preset condition, the first information is used to train the first model for the first time.
第一信息和M组信息中的每一组信息的相似度都不满足预设条件时,可以认为在历史人工驾驶模式下并没有与车辆目前所处的场景相同或者相似的场景。此时没有可用模型的 输出数据可以为车辆规划行驶路线。则使用第一信息,构建临时模型进行训练,形成针对该场景的临时模型,即使用第一信息对第一模型进行第一次训练。此时的第一模型可能无法满足训练目标,即第一模型的输出的轨迹与人工驾驶模式下车辆的行车轨迹的分布不在预设的范围内。则经过第一次训练的第一模型是临时模型,非可用模型,当在人工驾驶模式下,获取了多次与第一信息的相似度的信息,对第一模型进行迭代训练,直至第一模型满足训练目标,则第一模型为可用模型,此时是可用模型的第一模型可以为车辆规划行驶路线。下面举例说明,假设第一信息和M组信息中的每一组信息的相似度都不满足预设条件,则利用第一信息对第一模型进行第一次训练。在之后的人工驾驶模式中,如果获取到的周边环境信息,比如获取的第三信息,该第三信息的相似度与第一信息的相似度满足预设条件,并且在目前所有已经存储的周边环境信息中,第三信息与第一信息的相似度最大,则通过第三信息对第一模型进行第二次训练,依次类推,不断的对第一模型进行迭代训练,直到第一模型的输出轨迹与人工驾驶模式下车辆的行车轨迹的分布在预设的范围内,则认为第一模型是可用模型。在一个可能的实施方式中,在第一模型是可用模型之前,如果车辆处于自动驾驶模式,即使获取的第四信息与第一信息的相似度满足预设条件,也不以第四信息作为第一模型的输入,不以此时第一模型的输出为车辆规划行驶路线。因为此时第一模型的输出轨迹与人工驾驶模式下车辆的行车轨迹的分布还不在预设的范围内,如果以第一模型的输出为车辆规划行驶路线,可能发生危险。When the similarity between the first information and each of the M groups of information does not meet the preset condition, it can be considered that there is no scene identical or similar to the scene where the vehicle is currently located in the historical manual driving mode. There is no output data from the model available at this time to plan a driving route for the vehicle. Then, using the first information, a temporary model is constructed for training, and a temporary model for the scene is formed, that is, the first model is trained for the first time by using the first information. At this time, the first model may not meet the training target, that is, the distribution of the output trajectory of the first model and the driving trajectory of the vehicle in the manual driving mode is not within the preset range. Then the first model trained for the first time is a temporary model, a non-available model. When in the manual driving mode, the information of the similarity with the first information is obtained for many times, and the first model is iteratively trained until the first model. If the model meets the training target, the first model is an available model, and the first model that is an available model at this time can plan a driving route for the vehicle. The following is an example, assuming that the similarity between the first information and each of the M groups of information does not meet the preset condition, the first training is performed on the first model by using the first information. In the subsequent manual driving mode, if the acquired surrounding environment information, such as the acquired third information, the similarity between the third information and the first information satisfies the preset condition, and all the currently stored surrounding information In the environmental information, the similarity between the third information and the first information is the largest, then the first model is trained for the second time through the third information, and so on, and the first model is continuously iteratively trained until the output of the first model is If the distribution of the trajectory and the driving trajectory of the vehicle in the manual driving mode is within a preset range, the first model is considered to be a usable model. In a possible implementation, before the first model is an available model, if the vehicle is in the automatic driving mode, even if the acquired similarity between the fourth information and the first information satisfies a preset condition, the fourth information is not used as the first information. The input of a model does not use the output of the first model at this time as the planned driving route of the vehicle. Because the distribution of the output trajectory of the first model and the driving trajectory of the vehicle in the manual driving mode is not within the preset range at this time, if the output of the first model is used to plan a driving route for the vehicle, danger may occur.
为了更好的理解本申请提供的技术方案,下面结合一个具体的流程对本申请提供的方案进行介绍,并对临时模型和可用模型进行介绍。In order to better understand the technical solution provided by the present application, the solution provided by the present application will be introduced below in combination with a specific process, and the temporary model and the available model will be introduced.
如图7所示,为本申请实施例提供的一种规划车辆行驶路线的方法的另一种流程示意图。如图7所示,车辆获取周边环境信息(比如车辆获取第一消息)。判断车辆是否被司机(驾驶员)接管,比如可以通过判断驾驶员是否以通过操作方向盘或踩下制动踏板的方式介入车辆的驾驶。如果确定车辆没有被司机接管,则车辆处于自动驾驶模式,评估场景的相似度,比如按照图6对应的实施例中的步骤602进行理解。判断是否存在类似场景的可用模型,如果存在类似场景的可用模型,可以参照图6对应的实施例中的603进行理解,使用该场景对应的输出数据为车辆规划行驶路线。如果不存在类似场景的可用模型,则按照正常自动驾驶模式控制车辆行驶,即按照既定的自动驾驶策略控制车辆行驶。其中不存在类似场景的可用模型可以理解有类似场景的模型,但是该场景的模型还没有达到训练目标,或者也可以理解为没有类似场景的模型。如果确定车辆被司机接管,则车辆处于人工驾驶模式,获取人工驾驶模式下车辆轨迹,或者说车辆的行驶轨迹,评估场景的相似度。如果有类似的场景对应的模型,且该模型已经是可用模型,则通过当前获取的周边环境信息对模型进行训练,得到更新后的模型。如果没有类似的场景对应的模型,则通过当前获取的周边环境信息对该模型进行训练,此时的模型本申请称之为临时模型,用来与可用模型进行区分。临时模型表示模型还没有达到训练目标,即模型输出的轨迹与人工驾驶模式下车辆的行驶轨迹的分布不在预设范围内,无法模拟人工驾驶模式下车辆的行驶轨迹。可以通过评估模型是否安全与稳定确定模型是可用模型还是临时模型。关于评估模型是否安全与稳定,除了上述提到的判断模型的输出数据是否与人工驾驶模式下车辆的行驶轨迹的 分布在预设范围内这种方式之外,还可以有其他的方式。比如,可以基于已有场景增加扰动,构建更多场景验证,确保在可行驶范围内无碰撞,则确认模型满足安全性与稳定性的需要。As shown in FIG. 7 , another schematic flowchart of a method for planning a driving route of a vehicle provided by an embodiment of the present application. As shown in FIG. 7 , the vehicle acquires surrounding environment information (for example, the vehicle acquires the first message). To determine whether the vehicle is taken over by the driver (driver), for example, it can be determined whether the driver intervenes in the driving of the vehicle by operating the steering wheel or depressing the brake pedal. If it is determined that the vehicle is not taken over by the driver, the vehicle is in an automatic driving mode, and the similarity of the scenarios is evaluated, for example, according to step 602 in the embodiment corresponding to FIG. 6 . It is judged whether there is an available model of a similar scenario, if there is an available model of a similar scenario, it can be understood by referring to 603 in the corresponding embodiment of FIG. 6 , and use the output data corresponding to the scenario to plan a driving route for the vehicle. If there is no available model of a similar scenario, the vehicle is controlled according to the normal automatic driving mode, that is, the vehicle is controlled according to the established automatic driving strategy. The available models that do not have similar scenarios can understand the models that have similar scenarios, but the models in this scenario have not yet reached the training goal, or they can be understood as models that do not have similar scenarios. If it is determined that the vehicle is taken over by the driver, the vehicle is in the manual driving mode, and the vehicle trajectory in the manual driving mode, or the driving trajectory of the vehicle, is obtained, and the similarity of the scenes is evaluated. If there is a model corresponding to a similar scene, and the model is already an available model, the model is trained through the currently obtained surrounding environment information to obtain an updated model. If there is no model corresponding to a similar scene, the model is trained based on the currently obtained surrounding environment information. The model at this time is referred to as a temporary model in this application, and is used to distinguish it from the available models. The temporary model indicates that the model has not reached the training target, that is, the distribution of the trajectory output by the model and the vehicle's trajectory in the manual driving mode is not within the preset range, and the vehicle's trajectory in the manual driving mode cannot be simulated. Whether a model is a usable model or a temporary model can be determined by evaluating whether the model is safe and stable. Regarding whether the evaluation model is safe and stable, in addition to the above-mentioned way of judging whether the output data of the model and the distribution of the vehicle's driving trajectory in the manual driving mode are within the preset range, there are other ways. For example, it is possible to add disturbances based on existing scenes, and build more scene verifications to ensure that there is no collision within the drivable range, and then confirm that the model meets the needs of safety and stability.
下面结合几个典型的应用场景,对本申请实施例提供的方案进行介绍。如图8a所示,为本申请提供的一种规划车辆行驶路线的方法的场景的示意图。如图8a所示,可以获取车辆的得地理位置,静态障碍物信息(比如图8a中所示的道路两边的路灯),动态障碍物信息(比如马路上其他的车辆,图中未展示)。当车辆处于人工驾驶模式时,获取车辆的行驶轨迹,并可以发出提示消息,用于提示用户车辆正在对当前的驾驶方式进行学习。其中提示的方式可以包括文字提示或者语音提示,本申请实施例对此并不进行限定。需要说明的是,关于周边环境的信息可以有不同的体现方式,比如在一个可能的实施方式中,周边环境信息可以只包括地理位置,则车辆处于人工驾驶模式时,发送提示消息,提示消息用于指示车辆根据车辆当前的位置信息训练第一模型。如图8b所示,为本申请提供的一种规划车辆行驶路线的方法的场景的示意图。如图8b所示,可以获取车辆的的地理位置,静态障碍物信息(比如图8b中所示的道路两边的路灯),动态障碍物信息(比如马路上其他的车辆,图中未展示)。当车辆处于自动驾驶模式时,如果确定车辆的周边环境信息和人工驾驶模式下车辆周边的环境信息相似度满足预设条件时,比如图8b所示的车辆的周边的环境信息和图8a所示的车辆的周边的环境信息的相似度满足预设条件,则发送提示消息,提示按照模型输出的数据为车辆规划行驶路线。比如可以提示场景匹配成功,正在按照模型输出数据为车辆规划行驶路线。The solutions provided by the embodiments of the present application are introduced below with reference to several typical application scenarios. As shown in FIG. 8a , it is a schematic diagram of a scenario of a method for planning a driving route of a vehicle provided by the present application. As shown in Figure 8a, the geographic location of the vehicle, static obstacle information (such as the street lights on both sides of the road shown in Figure 8a), and dynamic obstacle information (such as other vehicles on the road, not shown in the figure) can be obtained. When the vehicle is in the manual driving mode, the driving track of the vehicle is obtained, and a prompt message can be sent to remind the user that the vehicle is learning the current driving mode. The prompting manner may include text prompting or voice prompting, which is not limited in this embodiment of the present application. It should be noted that the information about the surrounding environment may be embodied in different ways. For example, in a possible implementation, the surrounding environment information may only include the geographic location. When the vehicle is in the manual driving mode, a prompt message is sent, and the prompt message uses for instructing the vehicle to train the first model according to the current position information of the vehicle. As shown in FIG. 8b , it is a schematic diagram of a scenario of a method for planning a driving route of a vehicle provided by the present application. As shown in Figure 8b, the geographic location of the vehicle, static obstacle information (such as the street lights on both sides of the road shown in Figure 8b), and dynamic obstacle information (such as other vehicles on the road, not shown in the figure) can be obtained. When the vehicle is in the automatic driving mode, if it is determined that the similarity between the surrounding environment information of the vehicle and the environmental information around the vehicle in the manual driving mode meets the preset condition, for example, the surrounding environment information of the vehicle shown in FIG. 8b and the surrounding environment information shown in FIG. 8a If the similarity of the surrounding environmental information of the vehicle satisfies the preset condition, a prompt message is sent, prompting to plan a driving route for the vehicle according to the data output from the model. For example, it can be prompted that the scene matching is successful, and the driving route is being planned for the vehicle according to the model output data.
需要说明的是,本申请提供的方案可以通过多个设备共同完成。比如如图9所示,为本申请提供的另一种规划车辆行驶路线的方法的场景的示意图。在这种场景中,车辆A,车辆B和车辆C在相同路段都进入了人工驾驶模式,车辆A,车辆B和车辆C可以将各自获得的周边环境信息(比如第一信息)以及各自车辆的行驶轨迹向云侧设备发送,由云侧设备根据获取到的多个车辆发送的第一信息对第一模型进行训练,并将训练完成的第一模型向车辆A,车辆B以及车辆C发送。在一个可能的实施方式中,云侧设备还可以将第一模型向未参与发送第一信息的车辆发送,比如向除车辆A,车辆B以及车辆C之外的其他车辆发送。使其他车辆在经过该路段时,可以根据第一模型的输出数据为车辆规划行驶路线,躲避开连续的井盖。It should be noted that, the solution provided in this application can be jointly completed by multiple devices. For example, as shown in FIG. 9 , it is a schematic diagram of a scenario of another method for planning a driving route of a vehicle provided by the present application. In this scenario, vehicle A, vehicle B and vehicle C all enter the manual driving mode on the same road section, vehicle A, vehicle B and vehicle C can use the surrounding environment information (such as the first information) obtained by each and the The driving trajectory is sent to the cloud-side device, and the cloud-side device trains the first model according to the obtained first information sent by multiple vehicles, and sends the trained first model to vehicle A, vehicle B, and vehicle C. In a possible implementation, the cloud-side device may also send the first model to vehicles that do not participate in sending the first information, for example, to other vehicles other than vehicle A, vehicle B, and vehicle C. When other vehicles pass through the road section, they can plan a driving route for the vehicles according to the output data of the first model, and avoid continuous manhole covers.
在一个可能的实施方式中,车辆,用于获取第一信息,第一信息可以包括车辆的位置信息、车道信息,导航信息,障碍物信息中的一种或者多种,车道信息用于确定车辆与车道线的相对位置,导航信息用于预测车辆的行驶方向,障碍物信息用于确定车辆与障碍物的相对位置。车辆,还用于向云侧设备发送第一信息和车辆的驾驶模式。云侧设备,用于确定车辆处于自动驾驶模式时,根据第一模型的输出数据为车辆规划行驶路线,第一信息是第一模型的输入数据,第一模型是以人工驾驶模式下车辆的行车轨迹为训练目标,对人工驾驶模式下获取的第二信息进行训练得到的模型,第二信息可以包括的信息种类与第一信息可以包括的信息的种类一致,第一信息和第二信息的相似度满足预设条件。云侧设备,还用于确定车辆处于人工驾驶模式时,根据第一信息训练第一模型。In a possible implementation manner, the vehicle is used to obtain first information, and the first information may include one or more of vehicle location information, lane information, navigation information, and obstacle information, and the lane information is used to determine the vehicle The relative position of the lane line, the navigation information is used to predict the driving direction of the vehicle, and the obstacle information is used to determine the relative position of the vehicle and the obstacle. The vehicle is also used to send the first information and the driving mode of the vehicle to the cloud-side device. The cloud-side device is used to determine that when the vehicle is in the automatic driving mode, plan the driving route for the vehicle according to the output data of the first model. The first information is the input data of the first model, and the first model is the driving route of the vehicle in the manual driving mode. The trajectory is the training target, and the model is obtained by training the second information obtained in the manual driving mode. The types of information that the second information can include are consistent with the types of information that the first information can include, and the first information and the second information are similar. meet the preset conditions. The cloud-side device is further configured to train the first model according to the first information when it is determined that the vehicle is in the manual driving mode.
在一个可能的实施方式中,云侧设备,还用于:评估第一信息与M组信息的相似度,M组信息中的每一组信息均为车辆处于人工驾驶模式时获取的信息,M组信息中的任意两组信息的相似度不满足预设条件,M组信息中的每一组信息分别用于训练一个模型。第一信息和M组信息中第二信息的相似度满足预设条件,且M组信息中第二信息与第一信息的相似度最大时,第一信息是第一模型的输入数据。In a possible implementation manner, the cloud-side device is further configured to: evaluate the similarity between the first information and the M groups of information, where each group of information in the M groups of information is information obtained when the vehicle is in the manual driving mode, and the M The similarity of any two groups of information in the group information does not meet the preset condition, and each group of information in the M groups of information is used to train a model respectively. When the similarity between the first information and the second information in the M groups of information satisfies a preset condition, and the similarity between the second information and the first information in the M groups of information is the largest, the first information is the input data of the first model.
在一个可能的实施方式中,云侧设备,还用于:评估第一信息与M组信息的相似度,M组信息中的每一组信息均为车辆处于人工驾驶模式时获取的信息,M组信息中的任意两组信息的相似度不满足预设条件,M组信息中的每一组信息分别用于训练一个模型,M组信息中的第二信息用于训练第一模型,M为正整数。第一信息和M组信息中第二信息的相似度满足预设条件,且M组信息中第二信息与第一信息的相似度最大时,第一信息用于训练第一模型,以得到更新后的第一模型。In a possible implementation manner, the cloud-side device is further configured to: evaluate the similarity between the first information and the M groups of information, where each group of information in the M groups of information is information obtained when the vehicle is in the manual driving mode, and the M The similarity of any two groups of information in the group information does not meet the preset conditions, each group of information in the M groups of information is used to train a model, the second information in the M groups of information is used to train the first model, and M is positive integer. When the similarity between the first information and the second information in the M groups of information satisfies a preset condition, and the similarity between the second information and the first information in the M groups of information is the largest, the first information is used to train the first model to obtain an update After the first model.
在一个可能的实施方式中,云侧设备,还用于评估第一信息与M组信息的相似度,M组信息中的每一组信息均为车辆处于人工驾驶模式时获取的信息,M组信息中的任意两组信息的相似度不满足预设条件,M组信息中的每一组信息分别用于训练一个模型,M为正整数。第一信息和M组信息中的每一组信息的相似度都不满足预设条件时,第一信息用于对第一模型进行第一次训练。In a possible implementation, the cloud-side device is further configured to evaluate the similarity between the first information and the M groups of information, where each group of information in the M groups of information is information obtained when the vehicle is in the manual driving mode, and the M groups of information are The similarity of any two groups of information in the information does not meet the preset condition, and each group of information in the M groups of information is used to train a model, and M is a positive integer. When the similarity between the first information and each of the M groups of information does not meet the preset condition, the first information is used to train the first model for the first time.
在一个可能的实施方式中,云侧设备,还用于确定车辆当前的位置信息和人工驾驶模式下获取的车辆的位置信息一致时,发送提示消息,提示消息用于指示车辆根据第一模型的输出数据为车辆规划行驶路线,第一模型是对人工驾驶模式下获取的车辆的位置信息训练得到的模型。In a possible implementation, the cloud-side device is further configured to send a prompt message when it is determined that the current position information of the vehicle is consistent with the position information of the vehicle obtained in the manual driving mode, and the prompt message is used to instruct the vehicle according to the first model. The output data is the planned driving route of the vehicle, and the first model is a model obtained by training the position information of the vehicle obtained in the manual driving mode.
在一个可能的实施方式中,云侧设备,还用于发送提示消息,提示消息用于指示根据车辆当前的位置信息训练第一模型。In a possible implementation manner, the cloud-side device is further configured to send a prompt message, where the prompt message is used to instruct to train the first model according to the current position information of the vehicle.
在一个可能的实施方式中,云侧设备,还用于确定第一信息和第二信息中相同种类信息的相似度,相同种类信息的相似度的线性加权和用于确定第一信息和第二信息的相似度。In a possible implementation manner, the cloud-side device is further configured to determine the similarity of the same type of information in the first information and the second information, and the linear weighted sum of the similarity of the same type of information is used to determine the first information and the second information similarity of information.
在一个可能的实施方式中,第一模型可以包括卷积神经网络CNN或循环神经网络RNN。In one possible implementation, the first model may include a convolutional neural network CNN or a recurrent neural network RNN.
在图4至图9所对应的实施例的基础上,为了更好的实施本申请实施例的上述方案,下面还提供用于实施上述方案的相关设备。具体参阅图10,图10为本申请实施例提供的规划车辆行驶路线的装置的一种结构示意图。规划车辆行驶路线的装置包括可以包括获取模块1001,规控模块1002,训练模块1003,还可以包括评估模块1004,发送模块1006以及处理模块1005。On the basis of the embodiments corresponding to FIGS. 4 to 9 , in order to better implement the above solutions of the embodiments of the present application, related equipment for implementing the above solutions is also provided below. Referring specifically to FIG. 10 , FIG. 10 is a schematic structural diagram of an apparatus for planning a driving route of a vehicle provided by an embodiment of the present application. The apparatus for planning the driving route of the vehicle may include an acquisition module 1001 , a regulation module 1002 , a training module 1003 , an evaluation module 1004 , a transmission module 1006 and a processing module 1005 .
在一个可能的实施方式中,可以包括:获取模块1001,用于获取第一信息,第一信息可以包括车辆的位置信息、车道信息,导航信息,障碍物信息中的一种或者多种,车道信息用于确定车辆与车道线的相对位置,导航信息用于预测车辆的行驶方向,障碍物信息用于确定车辆与障碍物的相对位置。规控模块1002,用于车辆处于自动驾驶模式时,根据第一模型的输出数据为车辆规划行驶路线,获取模块1001获取的第一信息是第一模型的输入数据,第一模型是以人工驾驶模式下车辆的行车轨迹为训练目标,对人工驾驶模式下获取的第二信息进行训练得到的模型,第二信息可以包括的信息种类与第一信息可以包括的信 息的种类一致,第一信息和第二信息的相似度满足预设条件。训练模块1003,用于车辆处于人工驾驶模式时,根据获取模块1001获取的第一信息训练第一模型。In a possible implementation, it may include: an acquisition module 1001, configured to acquire first information, where the first information may include one or more of vehicle location information, lane information, navigation information, obstacle information, lane information The information is used to determine the relative position of the vehicle and the lane line, the navigation information is used to predict the driving direction of the vehicle, and the obstacle information is used to determine the relative position of the vehicle and the obstacle. The regulation and control module 1002 is used for planning the driving route for the vehicle according to the output data of the first model when the vehicle is in the automatic driving mode, and the first information obtained by the obtaining module 1001 is the input data of the first model, and the first model is based on manual driving. The driving trajectory of the vehicle in the mode is the training target, and the model is obtained by training the second information obtained in the manual driving mode. The types of information that the second information can include are consistent with the types of information that the first information can include. The first information and the The similarity of the second information satisfies a preset condition. The training module 1003 is used for training the first model according to the first information obtained by the obtaining module 1001 when the vehicle is in the manual driving mode.
在一个可能的实施方式中,还可以包括:评估模块1004,用于评估第一信息与M组信息的相似度,M组信息中的每一组信息均为车辆处于人工驾驶模式时获取的信息,M组信息中的任意两组信息的相似度不满足预设条件,M组信息中的每一组信息分别用于训练一个模型。第一信息和M组信息中第二信息的相似度满足预设条件,且M组信息中第二信息与第一信息的相似度最大时,第一信息是第一模型的输入数据。In a possible implementation, it may further include: an evaluation module 1004, configured to evaluate the similarity between the first information and the M groups of information, where each group of information in the M groups of information is information obtained when the vehicle is in a manual driving mode , the similarity of any two groups of information in the M groups of information does not meet the preset condition, and each group of information in the M groups of information is used to train a model respectively. When the similarity between the first information and the second information in the M groups of information satisfies a preset condition, and the similarity between the second information and the first information in the M groups of information is the largest, the first information is the input data of the first model.
在一个可能的实施方式中,还可以包括:评估模块1004,用于评估第一信息与M组信息的相似度,M组信息中的每一组信息均为车辆处于人工驾驶模式时获取的信息,M组信息中的任意两组信息的相似度不满足预设条件,M组信息中的每一组信息分别用于训练一个模型,M组信息中的第二信息用于训练第一模型,M为正整数。第一信息和M组信息中第二信息的相似度满足预设条件,且M组信息中第二信息与第一信息的相似度最大时,第一信息用于训练第一模型,以得到更新后的第一模型。In a possible implementation, it may further include: an evaluation module 1004, configured to evaluate the similarity between the first information and the M groups of information, where each group of information in the M groups of information is information obtained when the vehicle is in a manual driving mode , the similarity of any two groups of information in the M groups of information does not meet the preset conditions, each group of information in the M groups of information is used to train a model, and the second information in the M groups of information is used to train the first model, M is a positive integer. When the similarity between the first information and the second information in the M groups of information satisfies a preset condition, and the similarity between the second information and the first information in the M groups of information is the largest, the first information is used to train the first model to obtain an update After the first model.
在一个可能的实施方式中,还可以包括:评估模块1004,用于评估第一信息与M组信息的相似度,M组信息中的每一组信息均为车辆处于人工驾驶模式时获取的信息,M组信息中的任意两组信息的相似度不满足预设条件,M组信息中的每一组信息分别用于训练一个模型,M为正整数。第一信息和M组信息中的每一组信息的相似度都不满足预设条件时,第一信息用于对第一模型进行第一次训练。In a possible implementation, it may further include: an evaluation module 1004, configured to evaluate the similarity between the first information and the M groups of information, where each group of information in the M groups of information is information obtained when the vehicle is in a manual driving mode , the similarity of any two groups of information in the M groups of information does not meet the preset condition, and each group of information in the M groups of information is respectively used to train a model, and M is a positive integer. When the similarity between the first information and each of the M groups of information does not meet the preset condition, the first information is used to train the first model for the first time.
在一个可能的实施方式中,还可以包括:发送模块1006,用于评估模块1004确定车辆当前的位置信息和人工驾驶模式下获取的车辆的位置信息一致时,发送提示消息,提示消息用于指示车辆根据第一模型的输出数据为车辆规划行驶路线,第一模型是对人工驾驶模式下获取的车辆的位置信息训练得到的模型。In a possible implementation, it may further include: a sending module 1006, configured to send a prompt message when the evaluation module 1004 determines that the current position information of the vehicle is consistent with the position information of the vehicle obtained in the manual driving mode, and the prompt message is used to indicate The vehicle plans a driving route for the vehicle according to the output data of the first model, and the first model is a model obtained by training the position information of the vehicle obtained in the manual driving mode.
在一个可能的实施方式中,还可以包括:发送模块1006,用于发送提示消息,提示消息用于指示根据车辆当前的位置信息训练第一模型。In a possible implementation, it may further include: a sending module 1006, configured to send a prompt message, where the prompt message is used to instruct to train the first model according to the current position information of the vehicle.
在一个可能的实施方式中,处理模块1005,用于确定第一信息和第二信息中相同种类信息的相似度,相同种类信息的相似度的线性加权和用于确定第一信息和第二信息的相似度。In a possible implementation, the processing module 1005 is configured to determine the similarity of the same type of information in the first information and the second information, and the linear weighted sum of the similarity of the same type of information is used to determine the first information and the second information similarity.
在一个可能的实施方式中,第一模型可以包括卷积神经网络CNN或循环神经网络RNN。In one possible implementation, the first model may include a convolutional neural network CNN or a recurrent neural network RNN.
需要说明的是,规划车辆行驶路线的装置中各模块之间的信息交互、执行过程等内容,与本申请中图4至图9对应的各个方法实施例基于同一构思,具体内容可参见本申请前述所示的方法实施例中的叙述,此处不再赘述。It should be noted that the information exchange and execution process among the modules in the device for planning the driving route of the vehicle are based on the same concept as the method embodiments corresponding to FIG. 4 to FIG. 9 in this application. For details, please refer to this application. The descriptions in the foregoing method embodiments are not repeated here.
本申请实施例还提供了一种自动驾驶车辆,结合上述对图3的描述,请参阅图11,图11为本申请实施例提供的自动驾驶车辆的一种结构示意图,其中,自动驾驶车辆100上可以部署有图10对应实施例中所描述的规划车辆行驶路线的装置,用于实现图4至图9对应实施例中自动驾驶车辆的功能。由于在部分实施例中,自动驾驶车辆100还可以包括通信功能,则自动驾驶车辆100除了包括图3中所示的组件,还可以包括:接收器1201和发射器1202,其中,处理器113可以包括应用处理器1131和通信处理器1132。在本申请的一 些实施例中,接收器1201、发射器1202、处理器113和存储器114可通过总线或其它方式连接。An embodiment of the present application also provides an automatic driving vehicle. With reference to the above description of FIG. 3 , please refer to FIG. 11 . FIG. 11 is a schematic structural diagram of the automatic driving vehicle provided by the embodiment of the application, wherein the automatic driving vehicle 100 The apparatus for planning a vehicle driving route described in the embodiment corresponding to FIG. 10 may be deployed on the above-mentioned device, so as to realize the functions of the automatic driving vehicle in the corresponding embodiment of FIG. 4 to FIG. 9 . Since in some embodiments, the autonomous driving vehicle 100 may further include a communication function, the autonomous driving vehicle 100 may further include a receiver 1201 and a transmitter 1202 in addition to the components shown in FIG. 3 , wherein the processor 113 may An application processor 1131 and a communication processor 1132 are included. In some embodiments of the present application, the receiver 1201, the transmitter 1202, the processor 113, and the memory 114 may be connected by a bus or otherwise.
处理器113控制自动驾驶车辆的操作。具体的应用中,自动驾驶车辆100的各个组件通过总线系统耦合在一起,其中总线系统除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图中将各种总线都称为总线系统。The processor 113 controls the operation of the autonomous vehicle. In a specific application, various components of the autonomous vehicle 100 are coupled together through a bus system, where the bus system may include a power bus, a control bus, a status signal bus, and the like in addition to a data bus. However, for the sake of clarity, the various buses are referred to as bus systems in the figures.
接收器1201可用于接收输入的数字或字符信息,以及产生与自动驾驶车辆的相关设置以及功能控制有关的信号输入。发射器1202可用于通过第一接口输出数字或字符信息;发射器1202还可用于通过第一接口向磁盘组发送指令,以修改磁盘组中的数据;发射器1202还可以包括显示屏等显示设备。The receiver 1201 can be used to receive input numerical or character information, and generate signal input related to the relevant settings and function control of the autonomous vehicle. The transmitter 1202 can be used to output digital or character information through the first interface; the transmitter 1202 can also be used to send instructions to the disk group through the first interface to modify the data in the disk group; the transmitter 1202 can also include a display device such as a display screen .
本申请实施例中,应用处理器1131,用于执行图4对应实施例中的自动驾驶车辆执行的规划车辆行驶路线的方法。具体的,应用处理器1131用于执行如下步骤:In this embodiment of the present application, the application processor 1131 is configured to execute the method for planning a vehicle driving route performed by the autonomous driving vehicle in the embodiment corresponding to FIG. 4 . Specifically, the application processor 1131 is configured to perform the following steps:
车辆处于自动驾驶模式时,根据第一模型的输出数据为车辆规划行驶路线,传感器系统获取的第一信息是第一模型的输入数据,第一模型是以人工驾驶模式下车辆的行车轨迹为训练目标,对人工驾驶模式下获取的第二信息进行训练得到的模型,第二信息可以包括的信息种类与第一信息可以包括的信息的种类一致,第一信息和第二信息的相似度满足预设条件。车辆处于人工驾驶模式时,根据传感器系统获取的第一信息训练第一模型。When the vehicle is in the automatic driving mode, the driving route is planned for the vehicle according to the output data of the first model. The first information obtained by the sensor system is the input data of the first model, and the first model is trained on the driving trajectory of the vehicle in the manual driving mode. The target is a model obtained by training the second information obtained in the manual driving mode. The types of information that the second information can include are consistent with the types of information that the first information can include, and the similarity between the first information and the second information satisfies the predetermined level. Set conditions. When the vehicle is in the manual driving mode, the first model is trained according to the first information obtained by the sensor system.
在一个可能的实施方式中,评估第一信息与M组信息的相似度,M组信息中的每一组信息均为车辆处于人工驾驶模式时获取的信息,M组信息中的任意两组信息的相似度不满足预设条件,M组信息中的每一组信息分别用于训练一个模型。第一信息和M组信息中第二信息的相似度满足预设条件,且M组信息中第二信息与第一信息的相似度最大时,第一信息是第一模型的输入数据。In a possible implementation manner, the similarity between the first information and the M groups of information is evaluated, each group of information in the M groups of information is information obtained when the vehicle is in a manual driving mode, and any two groups of information in the M groups of information The similarity does not meet the preset conditions, and each group of information in the M groups of information is used to train a model. When the similarity between the first information and the second information in the M groups of information satisfies a preset condition, and the similarity between the second information and the first information in the M groups of information is the largest, the first information is the input data of the first model.
在一个可能的实施方式中,评估第一信息与M组信息的相似度,M组信息中的每一组信息均为车辆处于人工驾驶模式时获取的信息,M组信息中的任意两组信息的相似度不满足预设条件,M组信息中的每一组信息分别用于训练一个模型,M组信息中的第二信息用于训练第一模型,M为正整数。第一信息和M组信息中第二信息的相似度满足预设条件,且M组信息中第二信息与第一信息的相似度最大时,第一信息用于训练第一模型,以得到更新后的第一模型。In a possible implementation manner, the similarity between the first information and the M groups of information is evaluated, each group of information in the M groups of information is information obtained when the vehicle is in a manual driving mode, and any two groups of information in the M groups of information The similarity does not meet the preset condition, each of the M groups of information is used to train a model, the second information of the M groups of information is used to train the first model, and M is a positive integer. When the similarity between the first information and the second information in the M groups of information satisfies a preset condition, and the similarity between the second information and the first information in the M groups of information is the largest, the first information is used to train the first model to obtain an update After the first model.
在一个可能的实施方式中,评估第一信息与M组信息的相似度,M组信息中的每一组信息均为车辆处于人工驾驶模式时获取的信息,M组信息中的任意两组信息的相似度不满足预设条件,M组信息中的每一组信息分别用于训练一个模型,M为正整数。第一信息和M组信息中的每一组信息的相似度都不满足预设条件时,第一信息用于对第一模型进行第一次训练。In a possible implementation manner, the similarity between the first information and the M groups of information is evaluated, each group of information in the M groups of information is information obtained when the vehicle is in a manual driving mode, and any two groups of information in the M groups of information The similarity does not meet the preset conditions, and each group of information in the M groups of information is used to train a model, and M is a positive integer. When the similarity between the first information and each of the M groups of information does not meet the preset condition, the first information is used to train the first model for the first time.
在一个可能的实施方式中,发射器用于向云侧设备发送第一消息。In a possible implementation manner, the transmitter is configured to send the first message to the cloud-side device.
在一个可能的实施方式中,接收器用于接收云侧设备发送的第一模型。In a possible implementation manner, the receiver is configured to receive the first model sent by the cloud-side device.
需要说明的是,对于应用处理器1131执行规划车辆行驶路线的方法的具体实现方式以及带来的有益效果,均可以参考图4至图9对应的各个方法实施例中的叙述,此处不再一一赘述。It should be noted that, for the specific implementation of the method for planning a vehicle driving route executed by the application processor 1131 and the beneficial effects brought about, reference may be made to the descriptions in the respective method embodiments corresponding to FIG. 4 to FIG. 9 , which are not repeated here. Repeat them one by one.
本申请实施例中还提供一种计算机可读存储介质,该计算机可读存储介质中存储有用于规划车辆行驶路线的程序,当其在计算机上行驶时,使得计算机执行如前述图4至图9所示实施例描述的方法中自动驾驶车辆(或者规划车辆行驶路线的装置)所执行的步骤。Embodiments of the present application also provide a computer-readable storage medium, where a program for planning a vehicle's driving route is stored in the computer-readable storage medium, and when the computer is running on a computer, the computer is made to execute the operations shown in FIGS. 4 to 9 above. The steps performed by the autonomous vehicle (or the apparatus for planning the vehicle's travel route) in the method described in the illustrated embodiment.
本申请实施例中还提供一种包括计算机程序产品,当其在计算机上行驶时,使得计算机执行如前述图4至图9所示实施例描述的方法中自动驾驶车辆所执行的步骤。Embodiments of the present application also provide a computer program product that, when driving on a computer, causes the computer to execute the steps performed by the autonomous vehicle in the methods described in the embodiments shown in FIGS. 4 to 9 .
本申请实施例中还提供一种电路系统,所述电路系统包括处理电路,所述处理电路配置为执行如前述图4至图9所示实施例描述的方法中自动驾驶车辆所执行的步骤。An embodiment of the present application further provides a circuit system, the circuit system includes a processing circuit, and the processing circuit is configured to execute the steps performed by the autonomous driving vehicle in the method described in the embodiments shown in the foregoing FIG. 4 to FIG. 9 .
本申请实施例提供的规划车辆行驶路线的装置或自动驾驶车辆具体可以为芯片,芯片包括:处理单元和通信单元,所述处理单元例如可以是处理器,所述通信单元例如可以是输入/输出接口、管脚或电路等。该处理单元可执行存储单元存储的计算机执行指令,以使服务器内的芯片执行上述图4至图9所示实施例描述的规划车辆行驶路线的方法。可选地,所述存储单元为所述芯片内的存储单元,如寄存器、缓存等,所述存储单元还可以是所述无线接入设备端内的位于所述芯片外部的存储单元,如只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)等。The device for planning a vehicle driving route or the autonomous driving vehicle provided in the embodiment of the present application may specifically be a chip, and the chip includes: a processing unit and a communication unit, the processing unit may be, for example, a processor, and the communication unit may be, for example, an input/output interface, pin or circuit, etc. The processing unit can execute the computer-executable instructions stored in the storage unit, so that the chip in the server executes the method for planning a driving route of a vehicle described in the embodiments shown in FIG. 4 to FIG. 9 . Optionally, the storage unit is a storage unit in the chip, such as a register, a cache, etc., and the storage unit may also be a storage unit located outside the chip in the wireless access device, such as only Read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), etc.
具体的,请参阅图12,图12为本申请实施例提供的芯片的一种结构示意图,所述芯片可以表现为神经网络处理器NPU 130,NPU 130作为协处理器挂载到主CPU(Host CPU)上,由Host CPU分配任务。NPU的核心部分为运算电路1303,通过控制器1304控制运算电路1303提取存储器中的矩阵数据并进行乘法运算。Specifically, please refer to FIG. 12. FIG. 12 is a schematic structural diagram of a chip provided by an embodiment of the application. The chip may be represented as a neural network processor NPU 130, and the NPU 130 is mounted as a co-processor to the main CPU (Host CPU), tasks are allocated by the Host CPU. The core part of the NPU is the arithmetic circuit 1303, which is controlled by the controller 1304 to extract the matrix data in the memory and perform multiplication operations.
在一些实现中,运算电路1303内部包括多个处理单元(Process Engine,PE)。在一些实现中,运算电路1303是二维脉动阵列。运算电路1303还可以是一维脉动阵列或者能够执行例如乘法和加法这样的数学运算的其它电子线路。在一些实现中,运算电路1303是通用的矩阵处理器。In some implementations, the arithmetic circuit 1303 includes multiple processing units (Process Engine, PE). In some implementations, the arithmetic circuit 1303 is a two-dimensional systolic array. The arithmetic circuit 1303 may also be a one-dimensional systolic array or other electronic circuitry capable of performing mathematical operations such as multiplication and addition. In some implementations, arithmetic circuit 1303 is a general-purpose matrix processor.
举例来说,假设有输入矩阵A,权重矩阵B,输出矩阵C。运算电路从权重存储器1302中取矩阵B相应的数据,并缓存在运算电路中每一个PE上。运算电路从输入存储器1301中取矩阵A数据与矩阵B进行矩阵运算,得到的矩阵的部分结果或最终结果,保存在累加器(accumulator)1308中。For example, suppose there is an input matrix A, a weight matrix B, and an output matrix C. The operation circuit fetches the data corresponding to the matrix B from the weight memory 1302 and buffers it on each PE in the operation circuit. The arithmetic circuit fetches the data of matrix A and matrix B from the input memory 1301 to perform matrix operation, and stores the partial result or final result of the matrix in the accumulator 1308 .
统一存储器1306用于存放输入数据以及输出数据。权重数据直接通过存储单元访问控制器(direct memory access controller,DMAC)1305,DMAC被搬运到权重存储器1302中。输入数据也通过DMAC被搬运到统一存储器1306中。Unified memory 1306 is used to store input data and output data. The weight data is directly passed through the storage unit access controller (direct memory access controller, DMAC) 1305, and the DMAC is transferred to the weight memory 1302. Input data is also moved to unified memory 1306 via the DMAC.
总线接口单元(bus interface unit,BIU)1310,用于AXI总线与DMAC和取指存储器(instruction fetch buffer,IFB)1309的交互。A bus interface unit (BIU) 1310 is used for the interaction between the AXI bus and the DMAC and an instruction fetch buffer (instruction fetch buffer, IFB) 1309.
BIU1310,用于取指存储器1309从外部存储器获取指令,还用于存储单元访问控制器1305从外部存储器获取输入矩阵A或者权重矩阵B的原数据。The BIU 1310 is used for the instruction fetch memory 1309 to obtain instructions from the external memory, and is also used for the storage unit access controller 1305 to obtain the original data of the input matrix A or the weight matrix B from the external memory.
DMAC主要用于将外部存储器DDR中的输入数据搬运到统一存储器1306或将权重数据搬运到权重存储器1302中或将输入数据数据搬运到输入存储器1301中。The DMAC is mainly used to transfer the input data in the external memory DDR to the unified memory 1306 , the weight data to the weight memory 1302 , or the input data to the input memory 1301 .
向量计算单元1307包括多个运算处理单元,在需要的情况下,对运算电路的输出做 进一步处理,如向量乘,向量加,指数运算,对数运算,大小比较等等。主要用于神经网络中非卷积/全连接层网络计算,如批归一化(batch normalization),像素级求和,对特征平面进行上采样等。The vector calculation unit 1307 includes a plurality of operation processing units, and if necessary, further processes the output of the operation circuit, such as vector multiplication, vector addition, exponential operation, logarithmic operation, size comparison and so on. It is mainly used for non-convolutional/fully connected layer network computations in neural networks, such as batch normalization, pixel-level summation, and upsampling of feature planes.
在一些实现中,向量计算单元1307能将经处理的输出的向量存储到统一存储器1306。例如,向量计算单元1307可以将线性函数和/或非线性函数应用到运算电路1303的输出,例如对卷积层提取的特征平面进行线性插值,再例如累加值的向量,用以生成激活值。在一些实现中,向量计算单元1307生成归一化的值、像素级求和的值,或二者均有。在一些实现中,处理过的输出的向量能够用作到运算电路1303的激活输入,例如用于在神经网络中的后续层中的使用。In some implementations, vector computation unit 1307 can store the processed output vectors to unified memory 1306 . For example, the vector calculation unit 1307 may apply a linear function and/or a non-linear function to the output of the operation circuit 1303, such as performing linear interpolation on the feature plane extracted by the convolution layer, such as a vector of accumulated values, to generate activation values. In some implementations, the vector computation unit 1307 generates normalized values, pixel-level summed values, or both. In some implementations, the vector of processed outputs can be used as an activation input to the arithmetic circuit 1303, such as for use in subsequent layers in a neural network.
控制器1304连接的取指存储器(instruction fetch buffer)1309,用于存储控制器1304使用的指令。An instruction fetch buffer 1309 connected to the controller 1304 is used to store the instructions used by the controller 1304 .
统一存储器1306,输入存储器1301,权重存储器1302以及取指存储器1309均为On-Chip存储器。外部存储器私有于该NPU硬件架构。The unified memory 1306, the input memory 1301, the weight memory 1302 and the instruction fetch memory 1309 are all On-Chip memories. External memory is private to the NPU hardware architecture.
其中,循环神经网络中各层的运算可以由运算电路1303或向量计算单元1307执行。The operation of each layer in the recurrent neural network can be performed by the operation circuit 1303 or the vector calculation unit 1307 .
其中,上述任一处提到的处理器,可以是一个通用中央处理器,微处理器,ASIC,或一个或多个用于控制上述第一方面方法的程序执行的集成电路。Wherein, the processor mentioned in any one of the above may be a general-purpose central processing unit, a microprocessor, an ASIC, or one or more integrated circuits for controlling the execution of the program of the method in the first aspect.
另外需说明的是,以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。另外,本申请提供的装置实施例附图中,模块之间的连接关系表示它们之间具有通信连接,具体可以实现为一条或多条通信总线或信号线。In addition, it should be noted that the device embodiments described above are only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be A physical unit, which can be located in one place or distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment. In addition, in the drawings of the device embodiments provided in the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本申请可借助软件加必需的通用硬件的方式来实现,当然也可以通过专用硬件包括专用集成电路、专用CLU、专用存储器、专用元器件等来实现。一般情况下,凡由计算机程序完成的功能都可以很容易地用相应的硬件来实现,而且,用来实现同一功能的具体硬件结构也可以是多种多样的,例如模拟电路、数字电路或专用电路等。但是,对本申请而言更多情况下软件程序实现是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在可读取的存储介质中,如计算机的软盘、U盘、移动硬盘、ROM、RAM、磁碟或者光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the present application can be implemented by means of software plus necessary general-purpose hardware. Special components, etc. to achieve. Under normal circumstances, all functions completed by a computer program can be easily implemented by corresponding hardware, and the specific hardware structures used to implement the same function can also be various, such as analog circuits, digital circuits or special circuit, etc. However, a software program implementation is a better implementation in many cases for this application. Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that make contributions to the prior art. The computer software products are stored in a readable storage medium, such as a floppy disk of a computer. , U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk, etc., including several instructions to enable a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present application .
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product.
所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储 在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, optical fiber, digital subscriber line) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be stored by a computer, or a data storage device such as a server, data center, etc., which includes one or more available media integrated. The usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, solid state disks (SSDs)), and the like.

Claims (22)

  1. 一种规划车辆行驶路线的方法,其特征在于,包括:A method for planning a driving route of a vehicle, comprising:
    获取第一信息,所述第一信息包括车辆的位置信息、车道信息,导航信息,障碍物信息中的一种或者多种;acquiring first information, where the first information includes one or more of vehicle location information, lane information, navigation information, and obstacle information;
    所述车辆处于自动驾驶模式时,所述第一信息是第一模型的输入数据,所述第一模型的输出数据用于为所述车辆规划行驶路线,所述第一模型是以人工驾驶模式下所述车辆的行车轨迹为训练目标,对人工驾驶模式下获取的第二信息进行训练得到的模型,所述第二信息包括的信息种类与所述第一信息包括的信息的种类相一致,所述第一信息和所述第二信息的相似度满足预设条件,所述第一信息和所述第二信息的相似度满足预设条件用于表示第一场景和第二场景相同或者相似,所述第一场景是所述车辆获取所述第一信息时所述车辆所处的场景,所述第二场景是所述车辆获取所述第二信息时所述车辆所处的场景;When the vehicle is in the automatic driving mode, the first information is the input data of the first model, the output data of the first model is used to plan a driving route for the vehicle, and the first model is in the manual driving mode The driving trajectory of the vehicle is the training target, and the model obtained by training the second information obtained in the manual driving mode, the type of information included in the second information is consistent with the type of information included in the first information, The similarity between the first information and the second information satisfies a preset condition, and the similarity between the first information and the second information meets the preset condition to indicate that the first scene and the second scene are the same or similar , the first scene is the scene where the vehicle is located when the vehicle acquires the first information, and the second scene is the scene where the vehicle is located when the vehicle acquires the second information;
    所述车辆处于人工驾驶模式时,所述第一信息用于训练所述第一模型,所述第一模型的输出数据用于为所述车辆规划行驶路线。When the vehicle is in the manual driving mode, the first information is used to train the first model, and the output data of the first model is used to plan a driving route for the vehicle.
  2. 根据权利要求1所述的规划车辆行驶路线的方法,其特征在于,所述方法还包括:The method for planning a vehicle driving route according to claim 1, wherein the method further comprises:
    评估所述第一信息与M组信息的相似度,所述M组信息中的每一组信息均为所述车辆处于人工驾驶模式时获取的信息,所述M组信息中的任意两组信息的相似度不满足所述预设条件,所述M组信息中的每一组信息分别用于训练一个模型;Evaluate the similarity between the first information and the M groups of information, where each group of information in the M groups of information is information obtained when the vehicle is in a manual driving mode, and any two groups of information in the M groups of information The similarity does not meet the preset condition, and each group of information in the M groups of information is respectively used to train a model;
    所述车辆处于自动驾驶模式时,所述第一信息是第一模型的输入数据,包括:When the vehicle is in the automatic driving mode, the first information is the input data of the first model, including:
    所述第一信息和所述M组信息中所述第二信息的相似度满足所述预设条件,且所述M组信息中所述第二信息与所述第一信息的相似度最大时,所述第一信息是第一模型的输入数据。When the similarity between the first information and the second information in the M groups of information satisfies the preset condition, and the similarity between the second information and the first information in the M groups of information is the largest , the first information is the input data of the first model.
  3. 根据权利要求1所述的规划车辆行驶路线的方法,其特征在于,所述方法还包括:The method for planning a vehicle driving route according to claim 1, wherein the method further comprises:
    评估所述第一信息与M组信息的相似度,所述M组信息中的每一组信息均为所述车辆处于人工驾驶模式时获取的信息,所述M组信息中的任意两组信息的相似度不满足所述预设条件,所述M组信息中的每一组信息分别用于训练一个模型,所述M组信息中的第二信息用于训练所述第一模型,所述M为正整数;Evaluate the similarity between the first information and the M groups of information, where each group of information in the M groups of information is information obtained when the vehicle is in a manual driving mode, and any two groups of information in the M groups of information The similarity does not meet the preset condition, each group of information in the M groups of information is used to train a model, the second information in the M groups of information is used to train the first model, the M is a positive integer;
    所述车辆处于人工驾驶模式时,所述第一信息用于训练所述第一模型,包括:When the vehicle is in the manual driving mode, the first information is used to train the first model, including:
    所述第一信息和所述M组信息中所述第二信息的相似度满足所述预设条件,且所述M组信息中所述第二信息与所述第一信息的相似度最大时,所述第一信息用于训练所述第一模型,以得到更新后的所述第一模型。When the similarity between the first information and the second information in the M groups of information satisfies the preset condition, and the similarity between the second information and the first information in the M groups of information is the largest , the first information is used to train the first model to obtain the updated first model.
  4. 根据权利要求1所述的规划车辆行驶路线的方法,其特征在于,所述方法还包括:The method for planning a vehicle driving route according to claim 1, wherein the method further comprises:
    评估所述第一信息与M组信息的相似度,所述M组信息中的每一组信息均为所述车辆处于人工驾驶模式时获取的信息,所述M组信息中的任意两组信息的相似度不满足所述预设条件,所述M组信息中的每一组信息分别用于训练一个模型,所述M为正整数;Evaluate the similarity between the first information and the M groups of information, where each group of information in the M groups of information is information obtained when the vehicle is in a manual driving mode, and any two groups of information in the M groups of information The similarity does not meet the preset condition, and each group of information in the M groups of information is used to train a model, and the M is a positive integer;
    所述车辆处于人工驾驶模式时,所述第一信息用于训练所述第一模型,包括:When the vehicle is in the manual driving mode, the first information is used to train the first model, including:
    所述第一信息和所述M组信息中的每一组信息的相似度都不满足所述预设条件时,所述第一信息用于对所述第一模型进行第一次训练。When the similarity between the first information and each of the M groups of information does not satisfy the preset condition, the first information is used to perform the first training on the first model.
  5. 根据权利要求1至4任一项所述的规划车辆行驶路线的方法,其特征在于,所述车 辆处于自动驾驶模式时,所述方法还包括:The method for planning a vehicle travel route according to any one of claims 1 to 4, wherein, when the vehicle is in an automatic driving mode, the method further comprises:
    确定所述车辆当前的位置信息和人工驾驶模式下获取的所述车辆的位置信息相一致时,发送提示消息,所述提示消息用于指示所述车辆根据所述第一模型的输出数据为所述车辆规划行驶路线,所述第一模型是对所述人工驾驶模式下获取的所述车辆的位置信息训练得到的模型。When it is determined that the current position information of the vehicle is consistent with the position information of the vehicle obtained in the manual driving mode, a prompt message is sent, and the prompt message is used to instruct the vehicle to be in the desired state according to the output data of the first model. The vehicle plans a driving route, and the first model is a model obtained by training the position information of the vehicle obtained in the manual driving mode.
  6. 根据权利要求1至4任一项所述的规划车辆行驶路线的方法,其特征在于,所述车辆处于人工驾驶模式时,所述方法还包括:The method for planning a vehicle driving route according to any one of claims 1 to 4, wherein when the vehicle is in a manual driving mode, the method further comprises:
    发送提示消息,所述提示消息用于指示根据所述车辆当前的位置信息训练所述第一模型。Sending a prompt message, where the prompt message is used to instruct to train the first model according to the current position information of the vehicle.
  7. 根据权利要求1至6任一项所述的规划车辆行驶路线的方法,其特征在于,所述方法还包括:The method for planning a vehicle travel route according to any one of claims 1 to 6, wherein the method further comprises:
    确定所述第一信息和所述第二信息中相同种类信息的相似度,所述相同种类信息的相似度的线性加权和用于确定所述第一信息和所述第二信息的相似度。The similarity of the same type of information in the first information and the second information is determined, and the linear weighted sum of the similarity of the same type of information is used to determine the similarity of the first information and the second information.
  8. 根据权利要求1至7任一项所述的规划车辆行驶路线的方法,其特征在于,所述第一模型包括卷积神经网络CNN或循环神经网络RNN。The method according to any one of claims 1 to 7, wherein the first model comprises a convolutional neural network CNN or a recurrent neural network RNN.
  9. 一种规划车辆行驶路线的装置,其特征在于,包括:A device for planning a driving route of a vehicle, comprising:
    获取模块,用于获取第一信息,所述第一信息包括车辆的位置信息、车道信息,导航信息,障碍物信息中的一种或者多种;an acquisition module, configured to acquire first information, where the first information includes one or more of vehicle location information, lane information, navigation information, and obstacle information;
    规控模块,用于所述车辆处于自动驾驶模式时,根据第一模型的输出数据为所述车辆规划行驶路线,所述获取模块获取的所述第一信息是第一模型的输入数据,所述第一模型是以人工驾驶模式下车辆的行车轨迹为训练目标,对人工驾驶模式下获取的第二信息进行训练得到的模型,所述第二信息包括的信息种类与所述第一信息包括的信息的种类相一致,所述第一信息和所述第二信息的相似度满足预设条件,所述第一信息和所述第二信息的相似度满足预设条件用于表示第一场景和第二场景相同或者相似,所述第一场景是所述车辆获取所述第一信息时所述车辆所处的场景,所述第二场景是所述车辆获取所述第二信息时所述车辆所处的场景;The regulation and control module is used for planning a driving route for the vehicle according to the output data of the first model when the vehicle is in the automatic driving mode, and the first information obtained by the obtaining module is the input data of the first model, so the The first model is a model obtained by training the second information obtained in the manual driving mode by taking the driving trajectory of the vehicle in the manual driving mode as the training target, the type of information included in the second information and the first information including The types of the information are consistent with each other, the similarity between the first information and the second information satisfies a preset condition, and the similarity between the first information and the second information satisfies the preset condition and is used to represent the first scene Same as or similar to the second scene, the first scene is the scene where the vehicle is located when the vehicle obtains the first information, and the second scene is the scene when the vehicle obtains the second information. The scene in which the vehicle is located;
    训练模块,用于所述车辆处于人工驾驶模式时,根据所述获取模块获取的所述第一信息训练所述第一模型,所述第一模型的输出数据用于为所述车辆规划行驶路线。A training module for training the first model according to the first information obtained by the obtaining module when the vehicle is in the manual driving mode, and the output data of the first model is used to plan a driving route for the vehicle .
  10. 根据权利要求9所述的规划车辆行驶路线的装置,其特征在于,还包括:The device for planning a vehicle travel route according to claim 9, further comprising:
    评估模块,用于评估所述第一信息与M组信息的相似度,所述M组信息中的每一组信息均为所述车辆处于人工驾驶模式时获取的信息,所述M组信息中的任意两组信息的相似度不满足所述预设条件,所述M组信息中的每一组信息分别用于训练一个模型;An evaluation module, configured to evaluate the similarity between the first information and the M groups of information, where each group of information in the M groups of information is information obtained when the vehicle is in a manual driving mode, and the M groups of information The similarity of any two groups of information does not meet the preset condition, and each group of information in the M groups of information is respectively used to train a model;
    所述第一信息和所述M组信息中所述第二信息的相似度满足所述预设条件,且所述M组信息中所述第二信息与所述第一信息的相似度最大时,所述第一信息是第一模型的输入数据。When the similarity between the first information and the second information in the M groups of information satisfies the preset condition, and the similarity between the second information and the first information in the M groups of information is the largest , the first information is the input data of the first model.
  11. 根据权利要求9所述的规划车辆行驶路线的装置,其特征在于,还包括:The device for planning a vehicle travel route according to claim 9, further comprising:
    评估模块,用于评估所述第一信息与M组信息的相似度,所述M组信息中的每一组 信息均为所述车辆处于人工驾驶模式时获取的信息,所述M组信息中的任意两组信息的相似度不满足所述预设条件,所述M组信息中的每一组信息分别用于训练一个模型,所述M组信息中的第二信息用于训练所述第一模型,所述M为正整数;An evaluation module, configured to evaluate the similarity between the first information and the M groups of information, where each group of information in the M groups of information is information obtained when the vehicle is in a manual driving mode, and the M groups of information The similarity of any two groups of information does not meet the preset condition, each group of information in the M groups of information is used to train a model, and the second information in the M groups of information is used to train the first model. a model, the M is a positive integer;
    所述第一信息和所述M组信息中所述第二信息的相似度满足所述预设条件,且所述M组信息中所述第二信息与所述第一信息的相似度最大时,所述第一信息用于训练所述第一模型,以得到更新后的所述第一模型。When the similarity between the first information and the second information in the M groups of information satisfies the preset condition, and the similarity between the second information and the first information in the M groups of information is the largest , the first information is used to train the first model to obtain the updated first model.
  12. 根据权利要求9所述的规划车辆行驶路线的装置,其特征在于,还包括:The device for planning a vehicle travel route according to claim 9, further comprising:
    评估模块,用于评估所述第一信息与M组信息的相似度,所述M组信息中的每一组信息均为所述车辆处于人工驾驶模式时获取的信息,所述M组信息中的任意两组信息的相似度不满足所述预设条件,所述M组信息中的每一组信息分别用于训练一个模型,所述M为正整数;An evaluation module, configured to evaluate the similarity between the first information and the M groups of information, where each group of information in the M groups of information is information obtained when the vehicle is in a manual driving mode, and the M groups of information The similarity of any two groups of information does not meet the preset condition, and each group of information in the M groups of information is respectively used to train a model, and the M is a positive integer;
    所述第一信息和所述M组信息中的每一组信息的相似度都不满足所述预设条件时,所述第一信息用于对所述第一模型进行第一次训练。When the similarity between the first information and each of the M groups of information does not satisfy the preset condition, the first information is used to perform the first training on the first model.
  13. 根据权利要求9至12任一项所述的规划车辆行驶路线的装置,其特征在于,还包括:The device for planning a vehicle travel route according to any one of claims 9 to 12, further comprising:
    发送模块,用于所述评估模块确定所述车辆当前的位置信息和人工驾驶模式下获取的所述车辆的位置信息相一致时,发送提示消息,所述提示消息用于指示所述车辆根据所述第一模型的输出数据为所述车辆规划行驶路线,所述第一模型是对所述人工驾驶模式下获取的所述车辆的位置信息训练得到的模型。The sending module is configured to send a prompt message when the evaluation module determines that the current position information of the vehicle is consistent with the position information of the vehicle obtained in the manual driving mode, and the prompt message is used to instruct the vehicle to The output data of the first model is the planned driving route of the vehicle, and the first model is a model obtained by training the position information of the vehicle obtained in the manual driving mode.
  14. 根据权利要求9至12任一项所述的规划车辆行驶路线的装置,其特征在于,还包括:The device for planning a vehicle travel route according to any one of claims 9 to 12, further comprising:
    发送模块,用于发送提示消息,所述提示消息用于指示根据所述车辆当前的位置信息训练所述第一模型。A sending module, configured to send a prompt message, where the prompt message is used to instruct to train the first model according to the current position information of the vehicle.
  15. 根据权利要求9至14任一项所述的规划车辆行驶路线的装置,其特征在于,还包括:The device for planning a vehicle travel route according to any one of claims 9 to 14, further comprising:
    处理模块,用于确定所述第一信息和所述第二信息中相同种类信息的相似度,所述相同种类信息的相似度的线性加权和用于确定所述第一信息和所述第二信息的相似度。A processing module, configured to determine the similarity of the same type of information in the first information and the second information, and the linear weighted sum of the similarity of the same type of information is used to determine the first information and the second information similarity of information.
  16. 根据权利要求9至15任一项所述的规划车辆行驶路线的装置,其特征在于,所述第一模型包括卷积神经网络CNN或循环神经网络RNN。The apparatus according to any one of claims 9 to 15, wherein the first model comprises a convolutional neural network CNN or a recurrent neural network RNN.
  17. 一种规划车辆行驶路线的系统,其特征在于,所述系统包括车辆和云侧设备,A system for planning a driving route of a vehicle, characterized in that the system includes a vehicle and a cloud-side device,
    所述车辆,用于获取第一信息,所述第一信息包括所述车辆的位置信息、车道信息,导航信息,障碍物信息中的一种或者多种;the vehicle, for acquiring first information, where the first information includes one or more of the vehicle's position information, lane information, navigation information, and obstacle information;
    所述车辆,还用于向所述云侧设备发送所述第一信息和所述车辆的驾驶模式;the vehicle, further configured to send the first information and the driving mode of the vehicle to the cloud-side device;
    所述云侧设备,用于确定所述车辆处于自动驾驶模式时,根据第一模型的输出数据为所述车辆规划行驶路线,所述第一信息是所述第一模型的输入数据,所述第一模型是以人工驾驶模式下车辆的行车轨迹为训练目标,对人工驾驶模式下获取的第二信息进行训练得到的模型,所述第二信息包括的信息种类与所述第一信息包括的信息的种类相一致,所述 第一信息和所述第二信息的相似度满足预设条件,所述第一信息和所述第二信息的相似度满足预设条件用于表示第一场景和第二场景相同或者相似,所述第一场景是所述车辆获取所述第一信息时所述车辆所处的场景,所述第二场景是所述车辆获取所述第二信息时所述车辆所处的场景;The cloud-side device is configured to plan a driving route for the vehicle according to the output data of the first model when it is determined that the vehicle is in the automatic driving mode, the first information is the input data of the first model, and the The first model takes the driving trajectory of the vehicle in the manual driving mode as the training target, and is a model obtained by training the second information obtained in the manual driving mode. The type of information included in the second information is the same as the information included in the first information. The types of information are the same, the similarity between the first information and the second information meets a preset condition, and the similarity between the first information and the second information meets the preset condition and is used to represent the first scene and The second scene is the same or similar, the first scene is the scene where the vehicle is when the vehicle acquires the first information, and the second scene is the vehicle when the vehicle acquires the second information the scene;
    所述云侧设备,还用于确定所述车辆处于人工驾驶模式时,根据所述第一信息训练所述第一模型,所述第一模型的输出数据用于为所述车辆规划行驶路线。The cloud-side device is further configured to train the first model according to the first information when it is determined that the vehicle is in the manual driving mode, and the output data of the first model is used to plan a driving route for the vehicle.
  18. 根据权利要求17所述的规划车辆行驶路线的系统,其特征在于,所述云侧设备,还用于:The system for planning vehicle travel routes according to claim 17, wherein the cloud-side device is further used for:
    评估所述第一信息与M组信息的相似度,所述M组信息中的每一组信息均为所述车辆处于人工驾驶模式时获取的信息,所述M组信息中的任意两组信息的相似度不满足所述预设条件,所述M组信息中的每一组信息分别用于训练一个模型;Evaluate the similarity between the first information and the M groups of information, where each group of information in the M groups of information is information obtained when the vehicle is in a manual driving mode, and any two groups of information in the M groups of information The similarity does not meet the preset condition, and each group of information in the M groups of information is respectively used to train a model;
    所述第一信息和所述M组信息中所述第二信息的相似度满足所述预设条件,且所述M组信息中所述第二信息与所述第一信息的相似度最大时,所述第一信息是第一模型的输入数据。When the similarity between the first information and the second information in the M groups of information satisfies the preset condition, and the similarity between the second information and the first information in the M groups of information is the largest , the first information is the input data of the first model.
  19. 根据权利要求17所述的规划车辆行驶路线的系统,其特征在于,所述云侧设备,还用于:The system for planning vehicle travel routes according to claim 17, wherein the cloud-side device is further used for:
    评估所述第一信息与M组信息的相似度,所述M组信息中的每一组信息均为所述车辆处于人工驾驶模式时获取的信息,所述M组信息中的任意两组信息的相似度不满足所述预设条件,所述M组信息中的每一组信息分别用于训练一个模型,所述M组信息中的第二信息用于训练所述第一模型,所述M为正整数;Evaluate the similarity between the first information and the M groups of information, where each group of information in the M groups of information is information obtained when the vehicle is in a manual driving mode, and any two groups of information in the M groups of information The similarity does not meet the preset condition, each group of information in the M groups of information is used to train a model, the second information in the M groups of information is used to train the first model, the M is a positive integer;
    所述第一信息和所述M组信息中所述第二信息的相似度满足所述预设条件,且所述M组信息中所述第二信息与所述第一信息的相似度最大时,所述第一信息用于训练所述第一模型,以得到更新后的所述第一模型。When the similarity between the first information and the second information in the M groups of information satisfies the preset condition, and the similarity between the second information and the first information in the M groups of information is the largest , the first information is used to train the first model to obtain the updated first model.
  20. 一种规划车辆行驶路线的装置,其特征在于,包括处理器,所述处理器和存储器耦合,所述存储器存储有程序指令,当所述存储器存储的程序指令被所述处理器执行时实现权利要求1至8中任一项所述的方法。A device for planning a driving route of a vehicle, characterized in that it comprises a processor, the processor is coupled to a memory, the memory stores program instructions, and when the program instructions stored in the memory are executed by the processor, a right is realized The method of any one of claims 1 to 8.
  21. 一种计算机可读存储介质,包括程序,当其在计算机上运行时,使得计算机执行如权利要求1至8中任一项所述的方法。A computer-readable storage medium comprising a program which, when run on a computer, causes the computer to perform the method of any one of claims 1 to 8.
  22. 一种智能汽车,其特征在于,所述智能汽车包括处理电路和存储电路,所述处理电路和所述存储电路被配置为执行如权利要求1至8中任一项所述的方法。A smart car, characterized in that the smart car includes a processing circuit and a storage circuit, the processing circuit and the storage circuit being configured to perform the method of any one of claims 1 to 8 .
PCT/CN2021/084330 2020-07-20 2021-03-31 Method for planning driving route of vehicle, and intelligent vehicle WO2022016901A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010698231.X 2020-07-20
CN202010698231.XA CN113954858A (en) 2020-07-20 2020-07-20 Method for planning vehicle driving route and intelligent automobile

Publications (1)

Publication Number Publication Date
WO2022016901A1 true WO2022016901A1 (en) 2022-01-27

Family

ID=79459534

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/084330 WO2022016901A1 (en) 2020-07-20 2021-03-31 Method for planning driving route of vehicle, and intelligent vehicle

Country Status (2)

Country Link
CN (1) CN113954858A (en)
WO (1) WO2022016901A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115665699A (en) * 2022-12-27 2023-01-31 博信通信股份有限公司 Multi-scene signal coverage optimization method, device, equipment and medium
CN116206441A (en) * 2022-12-30 2023-06-02 云控智行科技有限公司 Optimization method, device, equipment and medium of automatic driving planning model

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115293301B (en) * 2022-10-09 2023-01-31 腾讯科技(深圳)有限公司 Estimation method and device for lane change direction of vehicle and storage medium
CN117804490A (en) * 2024-02-28 2024-04-02 四川交通职业技术学院 Comprehensive planning method and device for vehicle running route

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090324010A1 (en) * 2008-06-26 2009-12-31 Billy Hou Neural network-controlled automatic tracking and recognizing system and method
CN106080590A (en) * 2016-06-12 2016-11-09 百度在线网络技术(北京)有限公司 Control method for vehicle and device and the acquisition methods of decision model and device
CN106548645A (en) * 2016-11-03 2017-03-29 济南博图信息技术有限公司 Vehicle route optimization method and system based on deep learning
DE102016223830A1 (en) * 2016-11-30 2018-05-30 Robert Bosch Gmbh Method for operating an automated vehicle
CN109109863A (en) * 2018-07-28 2019-01-01 华为技术有限公司 Smart machine and its control method, device
CN109492835A (en) * 2018-12-28 2019-03-19 东软睿驰汽车技术(沈阳)有限公司 Determination method, model training method and the relevant apparatus of vehicle control information
CN109697875A (en) * 2017-10-23 2019-04-30 华为技术有限公司 Plan the method and device of driving trace
CN109901574A (en) * 2019-01-28 2019-06-18 华为技术有限公司 Automatic Pilot method and device

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6376059B2 (en) * 2015-07-06 2018-08-22 トヨタ自動車株式会社 Control device for autonomous driving vehicle
US20180170392A1 (en) * 2016-12-20 2018-06-21 Baidu Usa Llc Method and System to Recognize Individual Driving Preference for Autonomous Vehicles
CN107340773A (en) * 2017-06-26 2017-11-10 怀效宁 A kind of method of automatic driving vehicle user individual
US11003183B2 (en) * 2017-09-13 2021-05-11 Baidu Usa Llc Driving scene based path planning for autonomous driving vehicles
EP3580625B1 (en) * 2017-09-18 2024-02-14 Baidu.com Times Technology (Beijing) Co., Ltd. Driving scenario based lane guidelines for path planning of autonomous driving vehicles
US10996679B2 (en) * 2018-04-17 2021-05-04 Baidu Usa Llc Method to evaluate trajectory candidates for autonomous driving vehicles (ADVs)
CN109085837B (en) * 2018-08-30 2023-03-24 阿波罗智能技术(北京)有限公司 Vehicle control method, vehicle control device, computer equipment and storage medium
CN110893858B (en) * 2018-09-12 2021-11-09 华为技术有限公司 Intelligent driving method and intelligent driving system
CN109747659B (en) * 2018-11-26 2021-07-02 北京汽车集团有限公司 Vehicle driving control method and device
CN111399490B (en) * 2018-12-27 2021-11-19 华为技术有限公司 Automatic driving method and device
CN109839937B (en) * 2019-03-12 2023-04-07 百度在线网络技术(北京)有限公司 Method, device and computer equipment for determining automatic driving planning strategy of vehicle
CN109857118B (en) * 2019-03-12 2022-08-16 百度在线网络技术(北京)有限公司 Method, device, equipment and storage medium for planning driving strategy of unmanned vehicle
CN110733504B (en) * 2019-11-27 2021-02-26 禾多科技(北京)有限公司 Driving method of automatic driving vehicle with backup path

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090324010A1 (en) * 2008-06-26 2009-12-31 Billy Hou Neural network-controlled automatic tracking and recognizing system and method
CN106080590A (en) * 2016-06-12 2016-11-09 百度在线网络技术(北京)有限公司 Control method for vehicle and device and the acquisition methods of decision model and device
CN106548645A (en) * 2016-11-03 2017-03-29 济南博图信息技术有限公司 Vehicle route optimization method and system based on deep learning
DE102016223830A1 (en) * 2016-11-30 2018-05-30 Robert Bosch Gmbh Method for operating an automated vehicle
CN109697875A (en) * 2017-10-23 2019-04-30 华为技术有限公司 Plan the method and device of driving trace
CN109109863A (en) * 2018-07-28 2019-01-01 华为技术有限公司 Smart machine and its control method, device
CN109492835A (en) * 2018-12-28 2019-03-19 东软睿驰汽车技术(沈阳)有限公司 Determination method, model training method and the relevant apparatus of vehicle control information
CN109901574A (en) * 2019-01-28 2019-06-18 华为技术有限公司 Automatic Pilot method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115665699A (en) * 2022-12-27 2023-01-31 博信通信股份有限公司 Multi-scene signal coverage optimization method, device, equipment and medium
CN116206441A (en) * 2022-12-30 2023-06-02 云控智行科技有限公司 Optimization method, device, equipment and medium of automatic driving planning model

Also Published As

Publication number Publication date
CN113954858A (en) 2022-01-21

Similar Documents

Publication Publication Date Title
CN110379193B (en) Behavior planning method and behavior planning device for automatic driving vehicle
JP7255782B2 (en) Obstacle avoidance method, obstacle avoidance device, automatic driving device, computer-readable storage medium and program
WO2021136130A1 (en) Trajectory planning method and apparatus
WO2021102955A1 (en) Path planning method for vehicle and path planning apparatus for vehicle
EP3835908B1 (en) Automatic driving method, training method and related apparatuses
US20220332348A1 (en) Autonomous driving method, related device, and computer-readable storage medium
WO2021000800A1 (en) Reasoning method for road drivable region and device
WO2022016901A1 (en) Method for planning driving route of vehicle, and intelligent vehicle
WO2021147748A1 (en) Self-driving method and related device
WO2022016351A1 (en) Method and apparatus for selecting driving decision
WO2022142839A1 (en) Image processing method and apparatus, and intelligent vehicle
CN113156927A (en) Safety control method and safety control device for automatic driving vehicle
WO2022062825A1 (en) Vehicle control method, device, and vehicle
WO2022148172A1 (en) Lane line planning method and related apparatus
US20230048680A1 (en) Method and apparatus for passing through barrier gate crossbar by vehicle
WO2022088761A1 (en) Method and apparatus for planning vehicle driving path, intelligent vehicle, and storage medium
CN112829762A (en) Vehicle running speed generation method and related equipment
CN114261404A (en) Automatic driving method and related device
WO2022001432A1 (en) Method for inferring lane, and method and apparatus for training lane inference model
WO2021254000A1 (en) Method and device for planning vehicle longitudinal motion parameters
WO2022127502A1 (en) Control method and device
WO2022061725A1 (en) Traffic element observation method and apparatus
WO2023102827A1 (en) Path constraint method and device
WO2022041820A1 (en) Method and apparatus for planning lane-changing trajectory

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21846910

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21846910

Country of ref document: EP

Kind code of ref document: A1