Automatic driving control device, method, vehicle and computer storage medium
By introducing autonomous driving service modules and microcontroller modules into vehicles and using complex driving interfaces for communication, the problem that communication between the autonomous driving platform and CP in AUTOSAR in the prior art is solved due to the hardware structure, and the flexible expansion of autonomous driving functions and cost reduction are achieved.
Patent Information
- Application Number
- CN202210589617.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-26
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2042-05-26
AI Technical Summary
The communication method between the existing autonomous driving platform and the CP in AUTOSAR is limited by the hardware structure, the application range is narrow, and it is difficult to easily expand the autonomous driving function.
By introducing autonomous driving service modules and microcontroller modules into the vehicle, and using complex driving interfaces for communication, the communication method between the autonomous driving platform and the CP in AUTOSAR is not limited to the hardware structure, and the implementation method is simple and it is easy to expand the autonomous driving function.
The flexibility and scalability of communication between the autonomous driving platform and the CP in AUTOSAR is realized, reducing costs and simplifying the implementation process.
Smart Images

Figure CN114872733B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of autonomous driving technology, and in particular to an autonomous driving control device, method, vehicle and computer storage medium. Background Art
[0002] Automotive Open System Architecture (AUTOSAR) is an in-vehicle software development standard developed to improve the efficiency of software development in the automotive industry. The Classic Platform (CP) is a software platform in AUTOSAR that mainly processes the Electronic Control Unit (ECU) of the control system. The CP can control the vehicle based on the received control information, such as running, turning or stopping. The autonomous driving platform is a functional module installed in the vehicle to implement the autonomous driving algorithm. The autonomous driving platform can communicate with the CP in AUTOSAR to obtain the necessary vehicle driving parameters, such as the vehicle's speed, acceleration, steering wheel angle, etc., to implement the autonomous driving algorithm and generate control information for controlling the vehicle.
[0003] The communication method between the existing autonomous driving platform and the CP in AUTOSAR is based on hardware implementation. For example, the system-on-chip (SOC) corresponding to the autonomous driving platform and the system-on-chip corresponding to the CP in AUTOSAR can use the agreed serial peripheral interface (SPI) for communication. However, the hardware-based communication method is limited by the hardware structure, the application scope is relatively narrow, and with the increase or change of communication content and communication methods, it is not easy to expand the functions of autonomous driving. Summary of the invention
[0004] The present invention provides an automatic driving control device, method, vehicle and computer storage medium, which can make the communication mode between the automatic driving platform and the CP in AUTOSAR not limited by the hardware structure, and the implementation method is simple, and the function of automatic driving is easy to expand with low cost.
[0005] In order to achieve the above object, the present invention adopts the following technical scheme:
[0006] In a first aspect, the present invention provides an automatic driving control device, located in a vehicle, the device comprising an automatic driving service module and a microcontroller module, the automatic driving service module comprising a plurality of nodes, one node being used to indicate an automatic driving algorithm;
[0007] a microcontroller module, configured to obtain a plurality of target driving parameters of the vehicle, and determine a target complex driving interface corresponding to each target driving parameter according to a first mapping relationship between the driving parameters and the complex driving interface, encapsulate each target driving parameter into driving data in a target data format according to the target complex driving interface corresponding to each target driving parameter, and send the corresponding driving data to the automatic driving service module through each target complex driving interface;
[0008] Among them, the target data format corresponds to the autonomous driving service module, and the driving data includes a target complex driving interface corresponding to the target driving parameters;
[0009] The autonomous driving service module is used to determine the target node corresponding to the target complex driving interface included in each received driving data according to the second mapping relationship between the complex driving interface and the node, and use the autonomous driving algorithm indicated by each target node to process the driving data corresponding to each target node, obtain the control information of the vehicle corresponding to each target node, and send the control information to the micro control module;
[0010] The micro control module is also used to control the vehicle to perform corresponding operations according to the control information.
[0011] Optionally, the device also includes an interface configuration module, which is used to: respond to the user's configuration operation on the complex drive interface, generate a target complex drive interface according to a preset template engine, and establish a first mapping relationship between the target complex drive interface and the target driving parameters, and a second mapping relationship between the target complex drive interface and the target node.
[0012] Optionally, an interface configuration module is specifically used to: generate a template file according to the syntax corresponding to the template engine; generate a target interface source file and a target interface configuration file according to the template file and pre-stored configuration data, the target interface configuration file including a target data format, and the configuration data including network configuration data used for transmitting data between the autonomous driving service module and the microcontroller module; generate a target complex drive interface according to the target interface source file and the target interface configuration file.
[0013] Optionally, the control information includes a corresponding target node, and the autonomous driving service module is specifically used to: determine the target complex drive interface corresponding to the target node included in each control information according to the second mapping relationship, and send the control information corresponding to the target complex drive interface to the target complex drive interface of the micro-control module.
[0014] Optionally, the autonomous driving service module includes a gateway unit; a microcontroller module, specifically used to send corresponding driving data to the gateway unit through each target complex drive interface; the gateway unit, used to determine the target node corresponding to each driving data according to the second mapping relationship, and forward the corresponding driving data to each target node; each target node, used to process the corresponding driving data received using the indicated autonomous driving algorithm to obtain control information corresponding to each target node.
[0015] In a second aspect, the present invention provides an automatic driving control method, which is applied to a vehicle, wherein the vehicle includes an automatic driving service module and a microcontroller module, wherein the automatic driving service module includes a plurality of nodes, wherein one node is used to indicate an automatic driving algorithm, and wherein the method includes:
[0016] Acquire multiple target driving parameters of the vehicle in the microcontroller module;
[0017] Determining a target complex driving interface corresponding to each target driving parameter according to a first mapping relationship between the driving parameter and the complex driving interface;
[0018] According to the target complex driving interface corresponding to each target driving parameter, each target driving parameter is encapsulated as driving data in a target data format; the target data format corresponds to the automatic driving service module, and the driving data includes the target complex driving interface corresponding to the target driving parameter;
[0019] Determining a target node corresponding to a target complex driving interface included in each driving data according to a second mapping relationship between the complex driving interface and the node;
[0020] Using the automatic driving algorithm indicated by each target node, the driving data corresponding to each target node is processed to obtain the control information of the vehicle corresponding to each target node;
[0021] According to the control information, the vehicle is controlled to perform corresponding operations.
[0022] Optionally, the method also includes: in response to the user's configuration operation on the complex drive interface, generating a target complex drive interface according to a preset template engine, and establishing a first mapping relationship between the target complex drive interface and the target driving parameters, and a second mapping relationship between the target complex drive interface and the target node.
[0023] Optionally, in response to the user's configuration operation on the complex drive interface, a target complex drive interface is generated according to a preset template engine, including: generating a template file according to the syntax corresponding to the template engine; generating a target interface source file and a target interface configuration file according to the template file and pre-stored configuration data, the target interface configuration file including a target data format, and the configuration data including network configuration data used for transmitting data between the autonomous driving service module and the microcontroller module; generating a target complex drive interface according to the target interface source file and the target interface configuration file.
[0024] In a third aspect, the present invention provides a vehicle, the vehicle comprising: a processor and a memory. The memory is used to store computer program code, and the computer program code includes computer instructions. When the processor executes the computer instructions, the vehicle executes the automatic driving control method as described in the second aspect and any possible implementation thereof.
[0025] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon. When the computer instructions are executed on a vehicle, the vehicle executes the automatic driving control method as in the second aspect and any possible implementation thereof.
[0026] In a fifth aspect, the present invention provides a computer program product, which includes computer instructions. When the computer instructions are executed on a vehicle, the vehicle executes the automatic driving control method as in the second aspect and any possible implementation thereof.
[0027] The automatic driving control device provided by the embodiment of the present invention is located in a vehicle, and the device includes an automatic driving service module and a microcontroller module. The automatic driving service module includes multiple nodes, and one node is used to indicate an automatic driving algorithm; the microcontroller module is used to obtain multiple target driving parameters of the vehicle, and determine the target complex driving interface corresponding to each target driving parameter according to the first mapping relationship between the driving parameter and the complex driving interface, and encapsulate each target driving parameter into driving data in a target data format according to the target complex driving interface corresponding to each target driving parameter, and send the corresponding driving data to the automatic driving service module through each target complex driving interface; the automatic driving service module is used to determine the target node corresponding to the target complex driving interface included in each received driving data according to the second mapping relationship between the complex driving interface and the node, and use the automatic driving algorithm indicated by each target node to process the driving data corresponding to each target node, obtain the control information of the vehicle corresponding to each target node, and send the control information to the microcontroller module; the microcontroller module is also used to control the vehicle to perform corresponding operations according to the control information. Among them, the target data format corresponds to the automatic driving service module, and the driving data includes the target complex driving interface corresponding to the target driving parameter. In this way, the autonomous driving service module and the microcontroller module communicate through a pre-configured complex driver interface, so that the communication method between the autonomous driving platform and the CP in AUTOSAR is not limited by the hardware structure. The implementation is simple, the autonomous driving function is easy to expand, and the cost is low. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 This is a schematic diagram of the CP architecture in AUTOSAR;
[0029] Figure 2 A schematic diagram of the structure of an automatic driving control device provided by an embodiment of the present invention;
[0030] Figure 3 One of the flow charts of an automatic driving control method provided by an embodiment of the present invention;
[0031] Figure 4 The second flowchart of an automatic driving control method provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0032] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0033] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present disclosure, unless otherwise specified, "multiple" means two or more. In addition, the use of "based on" or "according to" means openness and inclusiveness, because the process, steps, calculations or other actions "based on" or "according to" one or more of the conditions or values may be based on additional conditions or values beyond the described values in practice.
[0034] In order to make the communication mode between the autonomous driving platform and the CP in AUTOSAR not limited by the hardware structure, and to facilitate the expansion of the autonomous driving function with low cost, an embodiment of the present invention provides an autonomous driving control device, which is located in a vehicle, and includes an autonomous driving service module and a microcontroller module. The autonomous driving service module includes multiple nodes, and one node is used to indicate an autonomous driving algorithm; the microcontroller module is used to obtain multiple target driving parameters of the vehicle, and determine the target complex driving interface corresponding to each target driving parameter according to a first mapping relationship between the driving parameter and the complex driving interface, and encapsulate each target driving parameter into driving data in a target data format according to the target complex driving interface corresponding to each target driving parameter, and send the corresponding driving data to the autonomous driving service module through each target complex driving interface; the autonomous driving service module is used to determine the target node corresponding to the target complex driving interface included in each received driving data according to a second mapping relationship between the complex driving interface and the node, and use the autonomous driving algorithm indicated by each target node to process the driving data corresponding to each target node, obtain the control information of the vehicle corresponding to each target node, and send the control information to the microcontroller module; the microcontroller module is also used to control the vehicle to perform corresponding operations according to the control information. Among them, the target data format corresponds to the autonomous driving service module, and the driving data includes the target complex driving interface corresponding to the target driving parameters. In this way, the autonomous driving service module and the microcontroller module communicate through the pre-configured complex driving interface, so that the communication method between the autonomous driving platform and the CP in AUTOSAR is not limited to the hardware structure, the implementation method is simple, and the autonomous driving function is easy to expand at a low cost.
[0035] Figure 1 The following is a schematic diagram of the CP architecture in AUTOSAR. Figure 1As shown, CP includes a three-layer structure. The top layer is the application software layer (Application Software Layer, ASW), which includes multiple software components (SoftwareComponent, SWC). SWC can control the vehicle to perform corresponding operations according to the received control information. For example, SWC can be used to control the steering of the vehicle, and can also be used to control the lighting or closing of the lights. The middle layer is the runtime environment (RuntimeEnvironment, RTE). RTE provides AUTOSAR Interface, which is the communication interface between software components in the application software layer, and is the application program interface of the system service provided by the basic software layer (Basic Software Layer, BSW) at the bottom layer to SWC. BSW provides basic functions for AUTOSAR ECU. For example, BSW can provide communication, storage, security and other related services to SWC through RTE and AUTOSAR Interface. Complex Device Driver (Complex Device Driver, CDD) is a basic software module in BSW that has not been standardized. CDD can access other BSWs in AUTOSAR through configured interfaces, and can also be accessed by other BSWs or RTEs. SWC and CDD cannot communicate directly, but can communicate through RTE.
[0036] based on Figure 1 , Figure 2 A schematic diagram of the structure of an automatic driving control device provided by an embodiment of the present invention is shown in FIG. Figure 2 As shown, the device includes an autonomous driving service module and a microcontroller module. The autonomous driving service module includes multiple nodes, and one node can be used to indicate an autonomous driving algorithm. It can be understood that the autonomous driving service module can be any autonomous driving platform, and the nodes inside the autonomous driving service module communicate based on a preset communication protocol (such as TCP protocol). The microcontroller module can be the CP in AUTOSAR.
[0037] The microcontroller module can be used to obtain multiple target driving parameters of the vehicle, and determine the target complex driving interface corresponding to each target driving parameter according to the first mapping relationship between the driving parameters and the complex driving interface, and encapsulate each target driving parameter into driving data in a target data format according to the target complex driving interface corresponding to each target driving parameter, and send the corresponding driving data to the automatic driving service module through each target complex driving interface. The target data format corresponds to the automatic driving service module, and the driving data includes the target complex driving interface corresponding to the target driving parameter.
[0038] It is understandable that the driving parameters may be parameters such as the vehicle speed, acceleration, steering wheel angle signal, etc. The target data format may be a data format used by nodes in the autonomous driving service module for communication. The complex drive interface may be a communication interface for the autonomous driving service module pre-configured in the CDD in the microcontroller module. The microcontroller module may communicate with a pre-configured gateway in the autonomous driving service module through the complex drive interface.
[0039] Specifically, the microcontroller module can access the BSW through CDD to obtain multiple target driving parameters of the vehicle, and determine the target complex driving interface corresponding to each target driving parameter based on the first mapping relationship between the driving parameters and the complex driving interface, and then encapsulate each target driving parameter into driving data in a target data format corresponding to the autonomous driving service module, and send the corresponding driving data to the autonomous driving service module through each target complex driving interface.
[0040] In a possible implementation, the autonomous driving service module may include a gateway unit. The microcontroller module may be specifically configured to send corresponding driving data to the gateway unit in the autonomous driving service module through each target complex driving interface.
[0041] It can be understood that in order to achieve communication between the above-mentioned complex drive interface and the gateway unit, the automatic driving control device may also include an interface configuration module.
[0042] The interface configuration module can be used to respond to the user's configuration operation on the complex drive interface, generate a target complex drive interface according to a preset template engine, and establish a first mapping relationship between the target complex drive interface and the target driving parameters, and a second mapping relationship between the target complex drive interface and the target node.
[0043] For example, the preset template engine can be a python-based template engine JINJA, which can generate any text-based format (html, xml, axml, csv, latex format, etc.). JINJA templates contain variables or expressions, which will be replaced with values when the template is evaluated. JINJA templates also have tags for controlling the logic of the template.
[0044] Specifically, in the generation of the target complex driver interface, it is necessary to first configure the network configuration data for the gateway to interact with the external domain. For example, a possible example of network configuration data is as follows:
[0045]
[0046] Among them, short_name represents the prototype name of the gateway port; data_element_ref represents the complete path of the communication data; data_element_name represents the name of the data to be transmitted; data_element_type is the type of data to be transmitted; init_const_name is the constant of the data to be transmitted; interface is the RTE interface that needs to implement data transmission; the other fields are data attributes or interface attributes.
[0047] Based on this, the interface configuration module can be specifically used to: generate a template file according to the syntax corresponding to the template engine; generate a target interface source file and a target interface configuration file according to the template file and pre-stored network configuration data, the target interface configuration file includes the target data format, and the configuration data includes the network configuration data used for transmitting data between the autonomous driving service module and the microcontroller module; generate a target complex drive interface according to the target interface source file and the target interface configuration file.
[0048] The template file may be a JINJA template file, which may be configured by a user according to the syntax of JINJA, the target interface source file may be a CDD c language file, and the target interface configuration file may be an arxml file.
[0049] Specifically, the interface configuration module can generate CDD c language files and arxml files according to the network configuration data and JINJA template files, and provide the CDD c language files and arxml files to the microcontroller module for integration, thereby generating a target complex driver interface. In this way, when the template is fixed, it is only necessary to configure and generate various CDD c language files and arxml files and provide them to the microcontroller module, so as to conveniently and quickly modify the communication data type and communication process between the microcontroller module and the autonomous driving service module, thereby expanding the function of autonomous driving.
[0050] The autonomous driving service module can be used to determine the target node corresponding to the target complex driving interface included in each received driving data according to the second mapping relationship between the complex driving interface and the node, and use the autonomous driving algorithm indicated by each target node to process the driving data corresponding to each target node, obtain the control information of the vehicle corresponding to each target node, and send the control information to the micro-control module.
[0051] It can be understood that after the gateway in the autonomous driving service module is configured, a second mapping relationship between the complex driving interface and the node can be established according to the transmission path of the data in the network configuration data.
[0052] In one possible implementation, the microcontroller module can be specifically used to send corresponding driving data to the gateway unit through each target complex drive interface; the gateway unit can be used to determine the target node corresponding to each driving data according to the second mapping relationship, and forward the corresponding driving data to each target node; each target node is used to process the corresponding driving data received using the indicated automatic driving algorithm, obtain control information corresponding to each target node, and send the control information to the microcontroller module.
[0053] It can be understood that the control information includes the corresponding target node, and the autonomous driving service module can be specifically used to: determine the target complex drive interface corresponding to the target node included in each control information according to the second mapping relationship, and send the control information corresponding to the target complex drive interface to the target complex drive interface of the micro-control module.
[0054] Furthermore, the micro-control module can also be used to control the vehicle to perform corresponding operations according to the control information.
[0055] Specifically, the CDD in the microcontroller module can receive the control information sent by the gateway unit through the complex drive interface, and transmit the control information to the SWC via the RTE interface and the AUTOSAR Interface, so that the SWC controls the vehicle to perform corresponding operations.
[0056] In this embodiment, the autonomous driving service module and the microcontroller module communicate through a pre-configured complex drive interface, so that the communication method between the autonomous driving platform and the CP in AUTOSAR is not limited by the hardware structure. The implementation is simple, the autonomous driving function is easy to expand, and the cost is low.
[0057] Of course, the automatic driving control device provided by the embodiment of the present invention includes but is not limited to the above-mentioned modules.
[0058] based on Figure 2 , Figure 3 FIG. 1 shows one of the flow charts of an automatic driving control method. Figure 3 As shown, the method is applied to a vehicle, the vehicle includes an autonomous driving service module and a microcontroller module, the autonomous driving service module includes multiple nodes, one node is used to indicate an autonomous driving algorithm, and the method may include the following steps S301-S305.
[0059] S301. The micro control module obtains a plurality of target driving parameters of the vehicle in the micro control module.
[0060] S302: The microcontroller module determines a target complex driving interface corresponding to each target driving parameter according to a first mapping relationship between the driving parameter and the complex driving interface.
[0061] S303. The microcontroller module encapsulates each target driving parameter into driving data in a target data format according to the target complex driving interface corresponding to each target driving parameter, and sends the driving data to the automatic driving service module; the target data format corresponds to the automatic driving service module, and the driving data includes the target complex driving interface corresponding to the target driving parameter.
[0062] S304. The autonomous driving service module determines the target node corresponding to the target complex driving interface included in each driving data according to the second mapping relationship between the complex driving interface and the node; uses the autonomous driving algorithm indicated by each target node to process the driving data corresponding to each target node, obtains the control information of the vehicle corresponding to each target node, and sends the control information to the micro-control module.
[0063] S305. The microcontroller module controls the vehicle to perform corresponding operations according to the control information.
[0064] Optional, based on Figure 3 ,like Figure 4 As shown, the method may also include:
[0065] S401, the micro-control module responds to the user's configuration operation on the complex drive interface, generates a target complex drive interface according to a preset template engine, and establishes a first mapping relationship between the target complex drive interface and the target driving parameter, and a second mapping relationship between the target complex drive interface and the target node.
[0066] In one possible implementation, in response to a user's configuration operation on a complex drive interface, a target complex drive interface is generated according to a preset template engine, including: generating a template file according to the syntax corresponding to the template engine; generating a target interface source file and a target interface configuration file according to the template file and pre-stored configuration data, wherein the target interface configuration file includes a target data format, and the configuration data includes network configuration data used for transmitting data between an autonomous driving service module and a microcontroller module; generating a target complex drive interface according to the target interface source file and the target interface configuration file.
[0067] The automatic driving control method provided by an embodiment of the present invention is applied to the above-mentioned automatic driving control device, and thus can achieve the same effect as the above-mentioned automatic driving control device.
[0068] Another embodiment of the present invention further provides a vehicle, the vehicle comprising: a processor and a memory. The memory is used to store computer program code, and the computer program code includes computer instructions. When the processor executes the computer instructions, the vehicle executes the automatic driving control method shown in the above method embodiment.
[0069] Another embodiment of the present invention further provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed on a vehicle, the vehicle executes the automatic driving control method shown in the above method embodiment.
[0070] Another embodiment of the present invention further provides a computer program product, which includes computer instructions. When the computer instructions are executed on a vehicle, the vehicle executes the automatic driving control method shown in the above method embodiment.
[0071] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. An automatic driving control device, located in a vehicle, characterized in that: The device includes an autonomous driving service module and a microcontroller module, wherein the autonomous driving service module includes a plurality of nodes, and one node is used to indicate an autonomous driving algorithm; The microcontroller module is used to obtain a plurality of target driving parameters of the vehicle, and determine a target complex driving interface corresponding to each target driving parameter according to a first mapping relationship between the driving parameters and the complex driving interface, and encapsulate each target driving parameter into driving data in a target data format according to the target complex driving interface corresponding to each target driving parameter, and send the corresponding driving data to the automatic driving service module through each target complex driving interface; Wherein, the target data format corresponds to the automatic driving service module, and the driving data includes the target complex driving interface corresponding to the target driving parameter; The autonomous driving service module is used to determine the target node corresponding to the target complex driving interface included in each received driving data according to the second mapping relationship between the complex driving interface and the node, and use the autonomous driving algorithm indicated by each target node to process the driving data corresponding to each target node, obtain the control information of the vehicle corresponding to each target node, and send the control information to the micro control module; The micro control module is also used to control the vehicle to perform corresponding operations according to the control information.
2. The device according to claim 1, characterized in that The device also includes an interface configuration module, and the interface configuration module is used to: In response to the user's configuration operation on the complex driving interface, the target complex driving interface is generated according to a preset template engine, and a first mapping relationship between the target complex driving interface and the target driving parameter, as well as a second mapping relationship between the target complex driving interface and the target node are established.
3. The device according to claim 2, characterized in that The interface configuration module is specifically used for: Generate a template file according to the syntax corresponding to the template engine; Generate a target interface source file and a target interface configuration file according to the template file and the pre-stored configuration data, wherein the target interface configuration file includes the target data format, and the configuration data includes network configuration data used for transmitting data between the autonomous driving service module and the microcontroller module; The target complex driver interface is generated according to the target interface source file and the target interface configuration file.
4. The device according to any one of claims 1 to 3, characterized in that The control information includes a corresponding target node; The autonomous driving service module is specifically used to: determine the target complex drive interface corresponding to the target node included in each control information according to the second mapping relationship, and send the control information corresponding to the target complex drive interface to the target complex drive interface of the microcontroller module.
5. The device according to any one of claims 1 to 3, characterized in that The autonomous driving service module includes a gateway unit; The microcontrol module is specifically used to send corresponding driving data to the gateway unit through each target complex driving interface; The gateway unit is used to determine the target node corresponding to each driving data according to the second mapping relationship, and forward the corresponding driving data to each target node; Each target node is used to process the corresponding driving data received using the indicated automatic driving algorithm to obtain control information corresponding to each target node.
6. An automatic driving control method, applied to a vehicle, wherein the vehicle comprises an automatic driving service module and a microcontroller module, wherein the automatic driving service module comprises a plurality of nodes, wherein one node is used to indicate an automatic driving algorithm, wherein: include: Acquiring a plurality of target driving parameters of the vehicle in the microcontroller module; Determining a target complex driving interface corresponding to each target driving parameter according to a first mapping relationship between the driving parameter and the complex driving interface; According to the target complex driving interface corresponding to each target driving parameter, each target driving parameter is encapsulated into driving data in a target data format; The target data format corresponds to the autonomous driving service module, and the driving data includes the target complex driving interface corresponding to the target driving parameter; Determining a target node corresponding to a target complex driving interface included in each driving data according to a second mapping relationship between the complex driving interface and the node; Using the automatic driving algorithm indicated by each target node, the driving data corresponding to each target node is processed to obtain the control information of the vehicle corresponding to each target node; According to the control information, the vehicle is controlled to perform corresponding operations.
7. The method according to claim 6, characterized in that The method further comprises: In response to the user's configuration operation on the complex driving interface, the target complex driving interface is generated according to a preset template engine, and a first mapping relationship between the target complex driving interface and the target driving parameter, as well as a second mapping relationship between the target complex driving interface and the target node are established.
8. The method according to claim 7, characterized in that The step of generating the target complex driving interface according to a preset template engine in response to the user's configuration operation on the complex driving interface includes: Generate a template file according to the syntax corresponding to the template engine; Generate a target interface source file and a target interface configuration file according to the template file and the pre-stored configuration data, wherein the target interface configuration file includes the target data format, and the configuration data includes network configuration data used for transmitting data between the autonomous driving service module and the microcontroller module; The target complex driver interface is generated according to the target interface source file and the target interface configuration file.
9. A vehicle, characterized in that: The vehicle includes: a processor and a memory; the memory is used to store computer program code, and the computer program code includes computer instructions; when the processor executes the computer instructions, the vehicle executes the automatic driving control method as described in any one of claims 6-8.
10. A computer-readable storage medium, characterized in that: It includes computer instructions, which, when executed on a vehicle, cause the vehicle to execute the automatic driving control method as described in any one of claims 6 to 8.
Citation Information
Patent Citations
Intelligent vehicle data platform architecture based on distributed nodes and virtual bus model
CN105577773A
Distributed domain controller system based on network architecture of automatic driving system
CN109917765A