Planning control method and device, model training method and device, equipment and medium

By collecting and comparing scene data and actual control data in the intelligent driving system, the planning and control model is updated, which solves the problem of existing technology being difficult to adapt to complex scenes, improves the anthropomorphism and user experience of the system, and simplifies the data processing process. , ensuring system stability.

CN118859778APending Publication Date: 2024-10-29CHINA AUTOMOTIVE INNOVATION CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410851377.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

Existing planning control models are difficult to adapt to complex scenarios, affecting the anthropomorphism and user experience of the intelligent driving system.

Method used

By collecting scene data and actual control data on the vehicle end, comparison is made and data that meets the preset conditions are uploaded to the server for updating the planning control model to improve the model's anthropomorphism and ability to adapt to complex scenarios.

Benefits of technology

It improves the adaptability and user experience of the intelligent driving system in complex scenarios, simplifies the model training process, reduces the data processing burden, avoids data downtime or loss, and ensures the stability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118859778A_ABST
    Figure CN118859778A_ABST
Patent Text Reader

Abstract

The invention provides a planning control method and device, a model training method and device, equipment and a medium. The training method comprises the steps that scene data of a vehicle and planning control data and actual control data correspondingly generated by the scene data are collected; comparing the planning control data with the actual control data to obtain a comparison result; under the condition that the comparison result meets a preset comparison condition, the scene data and the corresponding actual control data are uploaded to a server, the server is used for updating a planning control model to obtain an updated planning control model, and the planning control model is used for generating corresponding planning control data according to the scene data and sending the corresponding planning control data to the server; the planning control model is updated through the scene data and the actual control data, so that the intelligent degree of the planning control model is improved, and then the driving performance of the vehicle and the user experience feeling are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of intelligent vehicle technology, and in particular to a planning control method and a model training method, device, equipment and medium. Background Art

[0002] With the development of artificial intelligence technology, artificial intelligence technologies such as those based on deep learning and reinforcement learning are increasingly being used in the field of intelligent driving, and planning control is a typical application scenario of artificial intelligence technology in the field of intelligent driving.

[0003] As the level of automobile intelligence increases, automobiles will face more uncertain scenarios and strong interaction scenarios during the control process. The existing planning and control models are difficult to adapt to complex scenarios, affecting the user experience. Summary of the invention

[0004] In order to solve the problem that the existing planning and control models in the prior art are difficult to adapt to complex scenarios, the present invention provides a planning and control method and a model training method, device, equipment and medium.

[0005] In a first aspect, a training method for a planning control model is provided, which is applied to a vehicle-mounted terminal, and the training method includes:

[0006] Collect the scene data of the vehicle, as well as the planning control data and actual control data generated corresponding to the scene data;

[0007] Compare the planned control data with the actual control data to obtain the comparison result;

[0008] When the comparison result meets the preset comparison conditions, the scene data and the corresponding actual control data are uploaded to the server, which is used to update the planning control model to obtain an updated planning control model. The planning control model is used to generate corresponding planning control data based on the scene data.

[0009] In an optional embodiment, before comparing the planned control data with the actual control data and obtaining the comparison result, the following steps are included:

[0010] Determine the planned control data and actual control data for comparison;

[0011] Compare the planned control data with the actual control data, and the comparison results include:

[0012] The planned control data and the actual control data are compared to obtain the repetition rate of the planned control data and the actual control data.

[0013] In an optional embodiment, determining the planned control data and the actual control data for comparison includes:

[0014] determining a first probability distribution of planning control data;

[0015] Determine the planned control data and the corresponding actual control data whose first probability distribution satisfies the first preset distribution condition as the planned control data and the actual control data for comparison respectively;

[0016] and / or, determining a second probability distribution of actual control data;

[0017] The actual control data and the corresponding planned control data whose second probability distribution satisfies the second preset distribution condition are respectively determined as the planned control data and the actual control data for comparison.

[0018] In an optional embodiment, the training method further includes:

[0019] In the case where the planning control data is not collected, the scene data and the corresponding actual control data are uploaded to the server.

[0020] In a second aspect, a training method for a planning control model is provided, which is applied to a server, and the training method includes:

[0021] Acquire scene data and corresponding actual control data of the vehicle, wherein the scene data and the actual control data are uploaded according to the training method of the planning control model as described in any one of the first aspects;

[0022] The planning control model is updated according to the scenario data and the actual control data to obtain the updated planning control model, wherein the planning control model is used to generate corresponding planning control data according to the scenario data.

[0023] In an optional embodiment, before updating the planning control model according to the scenario data and the actual control data to obtain the updated planning control model, the method includes:

[0024] Determine whether the scene data is uploaded for the first time;

[0025] In the case of a negative judgment, the scenario data and the corresponding actual control data are determined as the scenario data and the actual control data for updating the planned control model.

[0026] and / or, determining a third probability distribution of the actual control data;

[0027] The actual control data and the corresponding scenario data whose third probability distribution satisfies a third preset distribution condition are respectively determined as the actual control data and the scenario data for updating the planning control model.

[0028] In a third aspect, a planning control method is provided, which is applied to a vehicle-mounted terminal. The planning control method includes:

[0029] Collect current scene data of the vehicle;

[0030] The current scene data is input into the planning control model to obtain the current planning control data corresponding to the current scene data, and the planning control model is trained according to the training method of the planning control model in any one of the first aspect and / or the second aspect.

[0031] In a fourth aspect, a training device for a planning control model is provided, which is applied to a vehicle-mounted terminal, and the training device includes:

[0032] The first acquisition module is used to acquire the scene data of the vehicle, and the planning control data and actual control data corresponding to the scene data;

[0033] The first comparison module is used to compare the planned control data with the actual control data to obtain a comparison result;

[0034] The first uploading module is used to upload the scene data and the corresponding actual control data to the server when the comparison result meets the preset comparison conditions. The server is used to update the planning control model to obtain an updated planning control model. The planning control model is used to obtain the planning control data corresponding to the scene data.

[0035] In a fifth aspect, a training device for a planning control model is provided, which is applied to a server, and the training device includes:

[0036] An acquisition module, used to acquire scene data and corresponding actual control data of the vehicle, wherein the scene data and the actual control data are uploaded according to the training method of the planning control model as described in the fourth aspect;

[0037] An updating module is used to update the planning control model according to the scenario data and the actual control data to obtain the updated planning control model, wherein the planning control model is used to generate corresponding planning control data according to the scenario data.

[0038] In a sixth aspect, a planning control device is provided, which is applied to a vehicle-mounted terminal, and the planning control device includes:

[0039] The second acquisition module is used to collect scene data of the vehicle;

[0040] A planning control module is used to input current scene data into a planning control model to obtain current planning control data corresponding to the current scene data, and the planning control model is trained according to a training device for a planning control model according to any one of the fourth aspect and / or the fifth aspect.

[0041] In a seventh aspect, an electronic device is provided, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, at least one program, a code set or an instruction set is loaded and executed by the processor to implement a training method for a planning and control model as described in any one of the first aspect and / or the second aspect, and / or the planning and control method of the third aspect.

[0042] In an eighth aspect, a computer-readable storage medium is provided, in which at least one instruction or at least one program is stored, and the at least one instruction or at least one program is loaded and executed by a processor to implement a training method for a planning and control model as described in any one of the first aspect and / or the second aspect, and / or the planning and control method of the third aspect.

[0043] The device, electronic device and storage medium provided by the embodiments of the present disclosure have the following technical effects:

[0044] On the one hand, the comparison between the planned control data and the actual control data can be used to judge the anthropomorphism of the vehicle in some scenarios. For some complex scenarios, the anthropomorphism of the intelligent driving system is not high, and the planned control data obtained does not meet the scenario requirements. Therefore, the planning control model can be updated by comparing the scenario data and actual control data in the corresponding scenario to improve the intelligence of the planning control model, thereby improving the vehicle's adaptability to complex scenarios and user experience.

[0045] On the other hand, the planned control data and the actual control data are compared and judged on the vehicle side, and only the actual control data whose comparison results meet the preset comparison conditions and the scene data used to identify the corresponding scene are uploaded to the server side. This can screen out most of the data that has no learning value and the data that has met the anthropomorphic needs, simplify the cumbersome preliminary data processing process before model training, and reduce the data processing burden of model training on the server side. In addition, since the amount of data uploaded to the server side is reduced, it can effectively avoid data downtime or data loss during data upload, thereby ensuring the stability of the system.

[0046] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solutions and advantages of the embodiments of the present disclosure or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0048] Figure 1 is a first flow chart of a training method for a planning control model provided by an exemplary embodiment of the present disclosure;

[0049] Figure 2 is a second flow chart of a training method for a planning control model provided by an exemplary embodiment of the present disclosure;

[0050] Figure 3 is a flow chart of a planning control method provided by an exemplary embodiment of the present disclosure;

[0051] Figure 4 is a first structural diagram of a training device for a planning control model provided by an exemplary embodiment of the present disclosure;

[0052] Figure 5 is a second structural diagram of a training device for a planning control model provided by an exemplary embodiment of the present disclosure;

[0053] Figure 6 is a structural diagram of a planning control device provided by an exemplary embodiment of the present disclosure;

[0054] Figure 7 is a structural diagram of an electronic device provided by an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0055] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present disclosure.

[0056] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, device, product, or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.

[0057] An exemplary embodiment of the present disclosure provides a training method for a planning control model, see Figure 1 , applied to the vehicle side, the training methods include:

[0058] S10: collecting the scene data of the vehicle, and the planning control data and actual control data generated corresponding to the scene data.

[0059] Among them, the scene refers to the environmental scene of the vehicle during driving, and the scene data includes at least one comprehensive data of the vehicle and other vehicles, roads, traffic facilities, weather conditions, etc. in the driving environment within a certain time and space range.

[0060] Planning control data refers to the control data of the driving vehicle generated by inputting the scenario data into the planning control model loaded in the intelligent driving system under the corresponding scenario, including at least one planned driving path, and speed control, steering control, braking control, etc. taken during the driving process.

[0061] Actual control data refers to the driving vehicle data generated by the driver controlling the vehicle in the corresponding scenario, including at least one actual driving path, as well as speed control, steering control, braking control, etc. taken during the driving process.

[0062] The data format of the planned control data and the actual control data is the same, the difference is that one is generated by the intelligent driving system and the other is generated by the driver driving the vehicle.

[0063] The planning control model is also called the planning control algorithm, planning control algorithm, planning control model, etc. The vehicle-mounted intelligent driving system can generate corresponding planning control data through the planning control model loaded by it. The input of the planning control model is the scene data under the corresponding scene, and the output is the planning control data.

[0064] S11. Compare the planned control data and the actual control data to obtain a comparison result.

[0065] When the planned control data and the actual control data include data of multiple dimensions, the planned control data and the actual control data can be compared according to each data dimension to obtain the final comparison result under each data type. For example, the driving path in the planned control data can be compared with the driving path in the actual control data, and then the speed control in the planned control data can be compared with the speed control in the actual control data.

[0066] The purpose of comparing the planning control data with the actual control data is that in some scenarios, the planning control data generated by the planning control model and the actual control data generated by the driver are quite different, which means that in some scenarios, the anthropomorphism of the intelligent driving system is not high, and the planning control data generated by it cannot match the current scenario. Therefore, in this embodiment, it is necessary to determine the scenario where the anthropomorphism of the intelligent driving system is not high based on the comparison results, and train the planning control model based on the corresponding scenario data and actual control data to improve the anthropomorphism of the model in this scenario.

[0067] S12: When the comparison result meets the preset comparison condition, the scene data and the corresponding actual control data are uploaded to the server.

[0068] Among them, the preset comparison condition is used to characterize the similarity between the planned control data and the actual control data. Meeting the preset comparison condition means that the similarity between the planned control data and the actual control data is low, which means that the planned driving data generated by the intelligent driving system does not match the actual driving data generated by the driver. It may be that the learning level of the planning control model in this scenario is not high, and the corresponding control data cannot be accurately generated. By uploading the corresponding actual data to the server for training, the corresponding planning control model can be updated and iterated to obtain a more humanized planning control model.

[0069] In addition, there are two reasons for uploading scene data to the server: first, each scene has a corresponding planning and control model. For example, the turning scene corresponds to the turning planning and control model, and the scene data can be used to index the corresponding model; second, the scene data can also enrich the detail learning ability of the planning and control model. Taking the turning scene as an example, during the training process of the turning planning and control model, most of the scene data used occur on sunny days. That is to say, when the turning planning and control model is applied to rainy days, the accuracy of the generated planning and control data is not high. At this time, learning is carried out according to the scene data and the actual control data, so that the turning planning and control model can supplement the details of rainy days from the scene data, thereby improving the intelligence of the system.

[0070] The server is used to update the planning control model to obtain an updated planning control model, and the planning control model is used to generate corresponding planning control data according to the scene data.

[0071] In the era of artificial intelligence, anthropomorphism has become an important consideration for intelligent driving systems. It can be characterized by the degree of fit between the intelligent driving system and human decisions when making decisions. The better the fit, the better the anthropomorphism, and thus the higher the vehicle's driving performance, which improves the user experience.

[0072] In this embodiment, on the one hand, the anthropomorphism of the vehicle in some scenarios can be judged by comparing the planned control data with the actual control data. For some complex scenarios, the anthropomorphism of the intelligent driving system is not high, and the planned control data obtained by it does not meet the scenario requirements. Therefore, the planning control model can be updated by comparing the scenario data and the actual control data in the corresponding scenario to improve the intelligence of the planning control model, thereby improving the vehicle's adaptability to complex scenarios and user experience.

[0073] On the other hand, the planned control data and the actual control data are compared and judged on the vehicle side, and only the actual control data whose comparison results meet the preset comparison conditions and the scene data used to identify the corresponding scene are uploaded to the server side. This can screen out most of the data that has no learning value and the data that has met the anthropomorphic needs, simplify the cumbersome process of model training, and reduce the data processing burden of model training on the server side. In addition, since the amount of data uploaded to the server side is reduced, it can effectively avoid data downtime or data loss during data upload, thereby ensuring the stability of the system.

[0074] In one embodiment, the comparison between the planned control data and the actual control data is specifically described:

[0075] Since the vehicle-mounted terminal may collect multiple types of planning control data and actual control data in the same scenario, in order to reduce the amount of data to be compared, the data is preprocessed before step S11, specifically including:

[0076] Determine the planned control data and actual control data for comparison.

[0077] Step S11 specifically includes:

[0078] The planned control data and the actual control data are compared to obtain the repetition rate of the planned control data and the actual control data.

[0079] According to the above, the planned control data and the actual control data may include data of multiple dimensions, and the repetition rate may be the average repetition rate of the data of each dimension. For example, the planned control data and the actual control data include two dimensions of driving path and driving speed, but are not limited to these two dimensions, and are only used for illustration. The repetition rate of the driving path and the repetition rate of the form speed are obtained respectively and the final average value is calculated.

[0080] At the same time, taking the comparison result as the repetition rate as an example, the preset comparison condition in step S12 can be set to a repetition rate that is less than or equal to the preset repetition rate. When the repetition rate is less than or equal to the preset repetition rate, it indicates that the planning control model has a low degree of anthropomorphism for the scene and needs to be paid special attention to. In the model update, this type of scene data and actual driving data should be studied in detail.

[0081] In one implementation, the planned control data and actual control data for comparison may be determined by the general distribution of the planned control data, as follows:

[0082] A first probability distribution of the planned control data is determined, and the planned control data and the corresponding actual control data whose first probability distribution satisfies a first preset distribution condition are respectively determined as the planned control data and the actual control data for comparison.

[0083] The first probability distribution is the probability law of the distribution of the value of the planning control data in each dimension. For example, taking the planning control data including five dimensions: acceleration, deceleration, left turn, right turn, and braking as an example, the first probability distribution is the probability of the distribution of the value of the planning control data in each of the above five dimensions, and the probability distribution diagram generated according to the probability of each dimension.

[0084] The first preset distribution condition is set as the density of the first probability distribution being greater than a preset density threshold. The preset density threshold may be selected based on actual conditions and is not particularly limited herein.

[0085] The planning control data of the dimension that meets the conditions and the actual control data corresponding to the dimension are determined as the planning control data and actual control data for comparison. For example, if the left turn dimension meets the probability distribution condition, the planning control data and actual control data of the left turn dimension are used as the planning control data and actual control data for comparison.

[0086] In one implementation mode, the planned control data and the actual control data for comparison may also be determined by the probability distribution of the actual control data, as follows:

[0087] A second probability distribution of the actual control data is determined, and the actual control data and the corresponding planned control data whose second probability distribution satisfies a second preset distribution condition are respectively determined as the actual control data and the planned control data for comparison.

[0088] The second probability distribution is the probability law of the distribution of the actual control data in each dimension. For example, taking the actual control data including five dimensions: acceleration, deceleration, left turn, right turn, and braking as an example, the second probability distribution is the probability of the distribution of the actual control data in each of the five dimensions, and the probability distribution diagram generated according to the probability of each dimension.

[0089] The second preset distribution condition is set as that the density of the second probability distribution is greater than a preset density threshold. The preset density threshold can be selected according to actual conditions and is not particularly limited here.

[0090] The planning control data of the dimension that meets the condition and the actual control data corresponding to the dimension are determined as the planning control data and actual control data for comparison. For example, if the left turn dimension meets the probability distribution condition, the planning control data and actual control data of the left turn dimension are used as the planning control data and actual control data for comparison.

[0091] The purpose of determining the planned control data and actual control data for comparison through probability distribution is to filter out the data under the dimension corresponding to the most densely collected interval, that is, the interval where the dimension meets the first preset distribution condition and / or the second preset distribution condition. The data in this interval usually represents that in this scene, whether it is planned control data or actual control data, it contains the control data of the following dimensions; and the data outside this interval may be the data in this dimension generated due to driver misoperation or insufficient system intelligence, which is difficult to meet the requirements of improving the intelligence of the planned control model. Therefore, for the planned control model, the model obtained by learning the actual control data in this interval can effectively improve the accuracy and anthropomorphism. Therefore, the data that is not in this interval can be filtered.

[0092] In the two optional implementations mentioned above, the planned control data and the corresponding actual control data that meet the first preset distribution condition in the first probability distribution can be selected only according to the first probability distribution of the planned control data; the actual control data and the corresponding planned control data that meet the second preset distribution condition in the second probability distribution can be selected only according to the second probability distribution of the actual control data; or the data that meets the preset distribution condition can be selected based on both the first probability distribution of the planned control data and the second probability distribution of the actual control data.

[0093] In one embodiment, the training method further comprises:

[0094] In the case where the planning control data is not collected, the scene data and the corresponding actual control data are uploaded to the server.

[0095] In the face of severe weather conditions, inaccurate map data, driver intervention and other scenarios, in order to ensure driving safety, the driver will automatically exit the planning control of the intelligent driving system. At this time, the vehicle-mounted terminal generally only collects scene data and actual control data, but cannot collect planning control data.

[0096] Such scenarios indicate that the planning and control model cannot generate accurate planning and control data to control the vehicle, or that the planning and control data generated by the planning and control model cannot cope with the following scenarios. Therefore, these scenarios are usually the weak points in planning and control. Therefore, in order to solve these weak points and enable the intelligent driving system to generate effective planning and control data for control the next time it encounters the following scenarios, it is necessary to upload such scenario data directly to the server for training, which can improve the comprehensiveness of the planning and control model.

[0097] An exemplary embodiment of the present disclosure also provides a training method for a planning control model, which is applied to a server, see Figure 2 , training methods include:

[0098] S20: Acquire vehicle scene data and corresponding actual control data.

[0099] The scene data and the actual control data are uploaded according to the training method of the planning control model in the above embodiment.

[0100] The scene data includes at least one all-round data about the vehicle and other vehicles, roads, traffic facilities, weather conditions, etc. in the driving environment within a certain time and space range. The scene data actually includes the landmark scene data and detailed scene data of the corresponding scene. The landmark scene data is used to mark the scene of vehicle operation. One landmark scene data is used to characterize and generally corresponds to only one planning control model. Therefore, it can be used to index the corresponding planning control model. For example, the landmark scene data is a U-turn, and the detailed scene data includes the specific scene details under the scene. The landmark scene data is a U-turn, and the detailed scene data may include scenes with many vehicles and scenes with few vehicles. For different detailed scene data, the generated planning control data are different. A planning control model can be trained with multiple detailed scene data.

[0101] The actual control data refers to the driving vehicle data generated by the driver in the corresponding scenario, including at least one planned driving path, as well as the speed control, steering control, braking control, etc. taken during the driving process.

[0102] S21. Update the planning control model according to the scene data and the actual control data to obtain an updated planning control model.

[0103] Among them, the planning control model is used to generate corresponding planning control data according to the scene data.

[0104] In this embodiment, the scene data and actual control data obtained by the server are screened by the vehicle-mounted terminal. Through the screening of probability distribution and repetition rate in the vehicle-mounted terminal, the server obtains data with greater learning value for updating the planning and control model. On the one hand, only the actual control data and scene data that meet the probability distribution and repetition rate conditions need to be learned, which can simplify the model training process and reduce the waste of computing resources on the server. On the other hand, the actual control data generated by the driver can be learned to plan the control model at night, obtain more accurate planning and control data, improve the humanization of the planning and control model, and thus improve the vehicle's driving performance and user experience.

[0105] In one embodiment, in order to further ensure intelligent learning of the model while reducing the waste of computing resources on the server side, the data used for model updating may be screened twice. Specifically, before S21, the following steps are included:

[0106] Scenario data and actual control data used to update the planned control model are determined.

[0107] In one possible implementation, data for updating the model may be determined based on the scene data, specifically including:

[0108] Determine whether the scene data is uploaded for the first time.

[0109] Among them, the scene data actually includes the landmark scene data and detail scene data of the corresponding scene. The landmark scene data is used to mark the scene of vehicle operation. One landmark scene data is used to represent and generally corresponds to only one planning control model. Therefore, it can be used to index the corresponding planning control model. For example, the landmark scene data is a U-turn, and the detail scene data includes the specific scene details under the scene. The landmark scene data is a U-turn, and the detail scene data may include scenes with many vehicles and scenes with few vehicles. For different detail scene data, the generated planning control data are different. A planning control model can be trained with multiple detail scene data.

[0110] In this embodiment, the determination of whether the scene data is uploaded for the first time is specifically made based on the marker scene data.

[0111] If the environmental data is uploaded for the first time, it means that the planning and control model corresponding to the scene data does not exist on the server temporarily, and a planning and control model corresponding to the environmental data needs to be retrained; if the environmental data is not uploaded for the first time, it means that the planning and control model corresponding to the scene data already exists on the server, and the corresponding planning and control model can be updated according to the environmental data and actual control data.

[0112] Therefore, in the case of a negative judgment, the scenario data and the corresponding actual control data are determined as the scenario data and the actual control data for updating the planned control model.

[0113] In one possible implementation, data for updating the model may also be determined according to actual control data, specifically including:

[0114] A third probability distribution of the actual control data is determined, and the actual control data and the corresponding scenario data whose third probability distribution satisfies a third preset distribution condition are respectively determined as the actual control data and the scenario data for updating the planning control model.

[0115] The third probability distribution is the probability law of the distribution of the actual control data in each dimension. For example, taking the actual control data including five dimensions: acceleration, deceleration, left turn, right turn, and braking as an example, the third probability distribution is the probability of the distribution of the actual control data in each of the five dimensions, and the probability distribution diagram generated according to the probability of each dimension.

[0116] The third preset distribution condition is set to that the third probability distribution density is greater than a preset density threshold. The preset density threshold can be selected according to actual conditions and is not particularly limited here.

[0117] The planning control data of the dimension that meets the conditions and the actual control data corresponding to the dimension are determined as the planning control data and actual control data for comparison. For example, if the left turn dimension meets the probability distribution condition, the planning control data and actual control data of the left turn dimension are used as the planning control data and actual control data for comparison.

[0118] The purpose of determining the actual control data through probability distribution is to filter out the data under the dimension corresponding to the most densely collected interval, that is, the interval where the dimension meets the first preset distribution condition and / or the second preset distribution condition. The data in this interval usually represents the actual control data in the scene, and includes the control data of the following dimensions; while the data outside this interval may be the control data in this dimension generated due to driver misoperation or insufficient system intelligence, which is difficult to meet the requirements of improving the intelligence of the planning control model. Therefore, for the planning control model, the model obtained by learning the actual control data in this interval can effectively improve the accuracy and anthropomorphism. Therefore, the data not in this interval can be filtered.

[0119] In the above two optional implementations, the determination may be made only through scene data, may be made only through actual control data, or may be made simultaneously through scene data and actual control data, which is not particularly limited herein.

[0120] In one embodiment, the updating of the planning control model in step S21 may specifically include:

[0121] A planning control model corresponding to the scenario data is determined according to the scenario data, and the planning control model is trained according to the scenario data and the actual control data to obtain an updated planning control model.

[0122] Among them, the scene data is used to improve the scene details of the planning control model, and the reward function of the planning control model is trained with reference to the actual control data.

[0123] For example, the corresponding intersection planning and control model is determined based on the intersection scene data. Since there are discrepancies between the newly uploaded scene data and the existing intersection scene data, the intersection planning and control model is trained using the newly uploaded scene data. This can improve the details of the intersection planning and control model, such as supplementing traffic lights, adding new lane line-related data, etc.

[0124] In this embodiment, there is no special limitation on the planning control model. Specifically, a reinforcement learning model, a machine learning model, a supervised model, etc. can be used. However, it can be understood that the planning control model corresponds to the scene data. In theory, each scene will have its corresponding planning control model to generate corresponding planning control data. For example, in a right turn scene, there is a corresponding right turn planning control model to generate corresponding right turn planning control data.

[0125] In one embodiment, after step S20, the method further includes:

[0126] Initialize the planning and control model and train the initial planning and control model according to the scene data and actual control data.

[0127] The initial planning control model may adopt a reinforcement learning model, a machine learning model, a supervised model, etc., which are not particularly limited here. The initial planning control model establishes a simulation scenario according to the scenario data, and the reward function of the planning control model is trained based on the actual control data.

[0128] For the accuracy of planning control, a planning control model usually corresponds to only one scene and is indexed by a marker scene data. Since the road conditions in real life are actually complex and changeable, it is possible to encounter scenes that the intelligent driving system has not encountered during driving, that is, the corresponding planning control model cannot be indexed to generate the corresponding planning control data. Therefore, in addition to updating the planning control model, the planning control model of the new scene can also be trained. Therefore, this embodiment is not only applicable to the initial stage of training a new planning control model using a simulation scene, but also applicable to the training of a new planning control model when the vehicle encounters a new scene during driving.

[0129] Generally speaking, when the scene data obtained by the server is uploaded for the first time, it is determined that there is no corresponding planning control model under the scene, and a new planning control model can be trained according to this embodiment to continuously enrich the planning control model library.

[0130] In this embodiment, the planning and control model is trained through scene data and actual control data, so that the intelligent driving system can be highly anthropomorphic, enabling it to safely and smoothly cope with complex urban road conditions and ensure the safety of passengers.

[0131] An exemplary embodiment of the present disclosure also provides a planning control method, which is applied to a vehicle-mounted terminal, see Figure 3 , planning and control methods include:

[0132] S30: Collect current scene data of the vehicle.

[0133] S31. Input the current scene data into the planning control model to obtain the current planning control data corresponding to the current scene data.

[0134] The planning control model is trained according to the training method of the planning control model in the above embodiment.

[0135] In this embodiment, the planning control model trained on the server side is loaded onto the vehicle side. During the user's driving process, the corresponding planning control data can be generated according to the scene data of the scene in which the vehicle is located, so that the corresponding planning control data can be loaded by the intelligent driving system to generate control over the vehicle; and complex scene data can be collected and uploaded to the server side to achieve a data closed loop. The planning control data can be generated and updated at the same time, which greatly improves the humanization of the intelligent driving system.

[0136] An exemplary embodiment of the present disclosure provides a training device for a planning control model, which is applied to a vehicle-mounted terminal, see Figure 4 , the training device comprises:

[0137] The first acquisition module 40 is used to acquire the scene data of the vehicle, and the planning control data and actual control data corresponding to the scene data;

[0138] The first comparison module 41 is used to compare the planned control data with the actual control data to obtain a comparison result;

[0139] The first uploading module 42 is used to upload the scene data and the corresponding actual control data to the server when the comparison result meets the preset comparison conditions. The server is used to update the planning control model to obtain an updated planning control model. The planning control model is used to obtain the planning control data corresponding to the scene data.

[0140] In one embodiment, the planning control model further includes:

[0141] A first determination module, used to determine the planned control data and the actual control data for comparison;

[0142] The first comparison module 41 is further used to compare the planned control data with the actual control data to obtain the repetition rate of the planned control data and the actual control data.

[0143] In one embodiment, the first determining module includes:

[0144] A first determining unit, used to determine a first probability distribution of planning control data;

[0145] A second determining unit, configured to determine the planned control data and the corresponding actual control data whose first probability distribution satisfies the first preset distribution condition as the planned control data and the actual control data for comparison, respectively;

[0146] and / or, a third determining unit, configured to determine a second probability distribution of the actual control data;

[0147] The fourth determining unit is used to determine the actual control data and the corresponding planned control data whose second probability distribution satisfies the second preset distribution condition as the planned control data and the actual control data for comparison, respectively.

[0148] In one embodiment, the training device further comprises:

[0149] The second uploading module is used to upload the scene data and the corresponding actual control data to the server when the planning control data is not collected.

[0150] An exemplary embodiment of the present disclosure also provides a training device for a planning control model, which is applied to a server, see Figure 5 , the training device comprises:

[0151] An acquisition module 50 is used to acquire scene data of the vehicle and corresponding actual control data, wherein the scene data and the actual control data are uploaded according to the training device of the planning control model in the above embodiment;

[0152] The updating module 51 is used to update the planning control model according to the scene data and the actual control data to obtain an updated planning control model, and the planning control model is used to generate corresponding planning control data according to the scene data.

[0153] In one embodiment, the training device further comprises:

[0154] The second determination module is used to determine the scenario data and actual control data used to update the planning control model.

[0155] In one embodiment, the second determining module specifically includes:

[0156] a judging unit, configured to judge whether the scene data is uploaded for the first time, and if the judgment is no, execute the fifth determining unit;

[0157] The fifth determining unit is used to determine the scenario data and the corresponding actual control data as the scenario data and the actual control data used to update the planned control model.

[0158] In one embodiment, the second determining module specifically includes:

[0159] a sixth determining unit, configured to determine a third probability distribution of the actual control data;

[0160] The seventh determination unit is used to determine the actual control data and the corresponding scenario data whose third probability distribution satisfies the third preset distribution condition as the actual control data and the scenario data for updating the planning control model respectively.

[0161] In one embodiment, the training device further comprises:

[0162] The initial module is used to initialize the planning and control model and train the initial planning and control model according to the scene data and actual control data.

[0163] An exemplary embodiment of the present disclosure provides a planning control device, which is applied to a vehicle-mounted terminal. Figure 6 , the planning control device includes:

[0164] The second acquisition module 60 is used to acquire scene data of the vehicle;

[0165] The planning control module 61 is used to input the current scene data into the planning control model to obtain the current planning control data corresponding to the current scene data. The planning control model is trained according to the training device of the planning control model in any of the above embodiments.

[0166] The device and method embodiments in the disclosed embodiments are based on the same disclosed concept.

[0167] An exemplary embodiment of the present disclosure also provides an electronic device, such as Figure 7As shown, the electronic device 700 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 710 (the processor 710 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 730 for storing data, and one or more storage media 720 (such as one or more mass storage devices) for storing application programs 723 or data 722. Among them, the memory 730 and the storage medium 720 can be short-term storage or permanent storage. The storage medium 720 stores at least one instruction, at least one program, code set or instruction set, and at least one instruction, at least one program, code set or instruction set is loaded and executed by the processor to implement the training method and / or planning control method of the above-mentioned planning control model.

[0168] Furthermore, the CPU 710 may be configured to communicate with the storage medium 720 to execute a series of instruction operations in the storage medium 720 on the electronic device 700. The electronic device 700 may also include one or more power supplies 760, one or more wired or wireless network interfaces 70, one or more input and output interfaces 740, and / or one or more operating devices 721, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, etc.

[0169] The input / output interface 740 may be used to receive or send data via a network. The specific example of the network may include a wireless network provided by a communication provider of the electronic device 700. In one example, the input / output interface 740 includes a network adapter (Network Interface Controller, NIC), which may be connected to other network devices via a base station so as to communicate with the Internet. In one example, the input / output interface 740 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0170] It can be understood by those skilled in the art that Figure 7 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 7 More or fewer components as shown, or with Figure 7 Different configurations are shown.

[0171] An embodiment of the present disclosure also provides a computer-readable storage medium, which can be set in a server to store at least one instruction, at least one program, a code set or an instruction set related to a training method for a planning control model and / or a planning control method in an embodiment of the planning control method. The at least one instruction, the at least one program, the code set or the instruction set are loaded and executed by the processor to implement the training method for the planning control model and / or the planning control method mentioned above.

[0172] Optionally, in this embodiment, the storage medium may be located in at least one of the multiple network servers of the computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to, various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.

[0173] It should be noted that the above-mentioned sequence of the embodiments of the present disclosure is for description only and does not represent the advantages and disadvantages of the embodiments. The above-mentioned specific embodiments of this specification are described. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0174] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the training method of the planning control model and / or the planning control method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the training method of the planning control model and / or the planning control method embodiment.

[0175] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or by a program to instruct the relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0176] The above are only preferred embodiments of the present disclosure and are not intended to limit the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure should be included in the protection scope of the present disclosure.

Claims

1. A training method for a planning control model, characterized in that: Applied to the vehicle-mounted terminal, the training method includes: Collect the scene data of the vehicle, as well as the planning control data and actual control data generated corresponding to the scene data; Comparing the planned control data with the actual control data to obtain a comparison result; When the comparison result meets the preset comparison conditions, the scene data and the corresponding actual control data are uploaded to the server, and the server is used to update the planning control model to obtain the updated planning control model. The planning control model is used to generate corresponding planning control data according to the scene data.

2. The training method according to claim 1, characterized in that: Before comparing the planned control data with the actual control data to obtain a comparison result, the method includes: Determine the planned control data and actual control data for comparison; Comparing the planned control data with the actual control data to obtain a comparison result includes: The planned control data and the actual control data are compared to obtain a repetition rate between the planned control data and the actual control data.

3. The training method according to claim 2, characterized in that: Determine the planned control data and actual control data for comparison, including: Determining a first probability distribution of the planning control data; Determine the planned control data and the corresponding actual control data whose first probability distribution satisfies the first preset distribution condition as the planned control data and the actual control data for comparison respectively; and / or, determining a second probability distribution of the actual control data; The actual control data and the corresponding planned control data whose second probability distribution satisfies the second preset distribution condition are respectively determined as the planned control data and the actual control data for comparison.

4. The training method according to claim 1, characterized in that: The training method further comprises: In the case where the planning control data is not collected, the scene data and the corresponding actual control data are uploaded to the server.

5. A training method for a planning control model, characterized in that: Applied to the server, the training method includes: Acquire scene data and corresponding actual control data of the vehicle, wherein the scene data and the actual control data are uploaded according to the training method of the planning control model according to any one of claims 1 to 4; The planning control model is updated according to the scenario data and the actual control data to obtain the updated planning control model, wherein the planning control model is used to generate corresponding planning control data according to the scenario data.

6. The training method according to claim 5, characterized in that: Before updating the planning control model according to the scenario data and the actual control data to obtain the updated planning control model, the method includes: Determine whether the scene data is uploaded for the first time; In the case of the judgment being no, determining the scenario data and the corresponding actual control data as the scenario data and the actual control data for updating the planning control model; and / or, determining a third probability distribution of the actual control data; The actual control data and the corresponding scenario data whose third probability distribution satisfies a third preset distribution condition are respectively determined as the actual control data and the scenario data for updating the planning control model.

7. A planning control method, characterized in that: Applied to the vehicle-mounted terminal, the planning and control method includes: Collect current scene data of the vehicle; The current scene data is input into a planning control model to obtain current planning control data corresponding to the current scene data, wherein the planning control model is trained according to the training method of the planning control model according to any one of claims 1-6.

8. A training device for a planning control model, characterized in that: Applied to the vehicle-mounted terminal, the training device comprises: The first acquisition module is used to acquire the scene data of the vehicle, and the planning control data and actual control data corresponding to the scene data; A first comparison module, used for comparing the planned control data with the actual control data to obtain a comparison result; The first uploading module is used to upload the scene data and the corresponding actual control data to the server when the comparison result meets the preset comparison conditions. The server is used to update the planning control model to obtain the updated planning control model. The planning control model is used to obtain the planning control data corresponding to the scene data.

9. A training device for a planning control model, characterized in that: Applied to the server, the training device comprises: An acquisition module, used to acquire scene data and actual control data of the vehicle, wherein the scene data and the actual control data are uploaded and obtained according to the training device of the planning control model according to claim 8; An updating module is used to update the planning control model according to the scene data and the corresponding actual control data to obtain the updated planning control model, and the planning control model is used to generate the corresponding planning control data according to the scene data.

10. A planning control device, characterized in that: Applied to the vehicle-mounted terminal, the planning control device includes: The second acquisition module is used to collect scene data of the vehicle; A planning control module is used to input the current scene data into a planning control model to obtain current planning control data corresponding to the current scene data, wherein the planning control model is trained according to a training device for a planning control model as described in any one of claims 8 to 9.

11. An electronic device, characterized in that: The electronic device includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, at least one program, a code set or an instruction set is loaded and executed by the processor to implement the training method of the planning control model as described in any one of claims 1 to 6, or the planning control method as described in claim 7.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by the processor to implement the training method of the planning control model as described in any one of claims 1 to 6, or the planning control method as described in claim 7.