Automatic driving domain controller adaptation system and method, electronic equipment and storage medium
Through the signal and function abstraction of the adaptation system of the autonomous driving domain controller, the problem of low cross-platform application transplantation efficiency is solved, and the rapid adaptation and efficient development of different models is achieved, which shortens the time to market.
Patent Information
- Application Number
- CN202411078620.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-07
- Publication Date
- 2024-11-08
AI Technical Summary
The existing technology is difficult to achieve rapid and efficient porting of cross-platform automotive applications, which is limited by the problems of inconsistent architectures, functions, signals, and inconsistent enumeration values, resulting in low development efficiency and extended market time.
It provides an autonomous driving domain controller adaptation system, including a chassis body signal interface abstract module, platform application program and application transmission external domain signal abstract module, through signal conversion and abstraction of functional modules, it realizes cross-platform signal and function mapping. Supports functional configuration and performance monitoring of different models.
It has realized the rapid development and transplantation of autonomous driving domain controller applications for different EE models, improving adaptation efficiency, shortening product time to market, and reducing manpower investment.
Smart Images

Figure CN118915575A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the technical field of automotive software development, and in particular to an autonomous driving domain controller adaptation system, method, electronic device and storage medium. Background Art
[0002] In recent years, the gradual compression and shortening of the launch cycle of new cars by OEMs has put forward higher requirements for how to quickly realize the rapid migration of same-platform and cross-platform projects. Different architectures, different functions, inconsistent signals, and inconsistent enumeration values are key factors that restrict the rapid realization of requirements. However, this key constraint involves the migration of functional requirements, developer input, software architecture design, and strategies for implementing applications. In view of the related issues, how to ensure the efficient and rapid migration and operation of automotive cross-platform applications is a technical problem to be solved by the present invention. Summary of the invention
[0003] The embodiments of the present invention provide an autonomous driving domain controller adaptation system, method, electronic device and storage medium, aiming to solve some or all of the above-mentioned technical problems.
[0004] A first aspect of an embodiment of the present invention provides an autonomous driving domain controller adaptation system, the system comprising: a chassis body signal interface abstract module, a platform application with a platform interface, and an application transmission external domain signal abstract module;
[0005] The chassis-body signal interface abstraction module is used to convert the original chassis-body signal generated by the autonomous driving domain controller of the vehicle to be adapted, obtain a first signal suitable for the platform interface, and send it to the platform application;
[0006] The platform application is used to receive the first signal through the platform interface, run the functional module corresponding to the first signal, obtain the second signal and send it to the application transmission external domain signal abstract module; wherein the functional module includes at least one of the following: a driving function module, a parking function module, and an active safety function module;
[0007] The application transmits an external domain signal abstraction module, and is used to convert the second signal to obtain a third signal suitable for processing by the autonomous driving domain controller of the vehicle to be adapted.
[0008] Optionally, the system further comprises:
[0009] A configuration module, deployed on the platform interface, configured to configure corresponding configuration words according to the functions carried by vehicles of different models;
[0010] The running of the functional module corresponding to the first signal includes:
[0011] The platform application runs the functional module corresponding to the first signal based on the configuration word corresponding to the model of the vehicle to be adapted.
[0012] Optionally, configuring corresponding configuration words according to the functions carried by vehicles of different models includes:
[0013] The configuration module constructs two layers of configuration words according to the functions carried by vehicles of different models; the first layer of configuration words in the two layers of configuration words are product function configuration words, and the second layer of configuration words in the two layers of configuration words are sub-function configuration words;
[0014] The sub-function configuration words corresponding to the same product function configuration words corresponding to different models are the same or different;
[0015] The sub-function configuration words corresponding to different product function configuration words corresponding to the same vehicle may be the same or different.
[0016] Optionally, the signal types interacted between the chassis body signal interface abstract module, the platform application with the platform interface and the application transmission external domain signal abstract module include: a periodic signal with a first period;
[0017] The converting of the original chassis body signal generated by the autonomous driving domain controller of the vehicle to be adapted to obtain a first signal suitable for the platform interface and sending the first signal to the platform application comprises:
[0018] The chassis-body signal interface abstraction module converts a plurality of original chassis-body signals generated by the autonomous driving domain controller of the to-be-adapted vehicle in the first cycle to obtain a plurality of first signals applicable to the platformized interface, and merges the plurality of first signals and sends them to the platformized application;
[0019] The converting the second signal to obtain a third signal suitable for processing by the autonomous driving domain controller of the vehicle to be adapted includes:
[0020] The application transmission external domain signal abstraction module merges and converts multiple second signals received in the first cycle to obtain the third signal suitable for processing by the autonomous driving domain controller of the vehicle to be adapted.
[0021] Optionally, the signal types interacted between the chassis body signal interface abstract module, the platform application with platform interface and the application transmission external domain signal abstract module include: event signals;
[0022] The converting of the original chassis body signal generated by the autonomous driving domain controller of the vehicle to be adapted to obtain a first signal suitable for the platform interface and sending the first signal to the platform application comprises:
[0023] The chassis-body signal interface abstraction module converts a plurality of original chassis-body signals belonging to the same event signal generated by the autonomous driving domain controller of the vehicle to be adapted to obtain a plurality of first signals suitable for the platform interface, and merges the plurality of first signals and sends them to the platform application;
[0024] The converting the second signal to obtain a third signal suitable for processing by the autonomous driving domain controller of the vehicle to be adapted includes:
[0025] The application transmission external domain signal abstraction module merges and converts the multiple second signals received belonging to the same event signal to obtain the third signal suitable for processing by the autonomous driving domain controller of the vehicle to be adapted.
[0026] Optionally, the system further comprises:
[0027] A performance monitoring module, used to sequentially run a plurality of periodic performance monitoring tasks of different periods, each periodic performance monitoring task is used to count the time consumption information of running the functional module corresponding to the first signal, the time consumption information including the minimum time consumption and the maximum time consumption;
[0028] The performance monitoring module is further configured to send the time consumption information obtained by statistics in the maximum period to the application transmission external domain signal abstraction module when running the periodic performance monitoring task of the maximum period among the multiple different periods.
[0029] A second aspect of an embodiment of the present invention provides an autonomous driving domain controller adaptation method, which is applied to the autonomous driving domain controller adaptation system described in the first aspect of an embodiment of the present invention, and the method includes:
[0030] Converting an original chassis body signal generated by an autonomous driving domain controller of the vehicle to be adapted to obtain a first signal suitable for the platform interface, and sending the first signal to the platform application;
[0031] The first signal is received through the platform interface, and a functional module corresponding to the first signal is run to obtain a second signal and send the second signal to the application transmission external domain signal abstract module; wherein the functional module includes at least one of the following: a driving function module, a parking function module, and an active safety function module;
[0032] The second signal is converted to obtain a third signal suitable for processing by the autonomous driving domain controller of the vehicle to be adapted.
[0033] Optionally, the method further comprises:
[0034] Configure the corresponding configuration words according to the functions carried by different models of vehicles;
[0035] The running of the functional module corresponding to the first signal includes:
[0036] Based on the configuration word corresponding to the model of the vehicle to be adapted, the functional module corresponding to the first signal is run.
[0037] Optionally, configuring corresponding configuration words according to the functions carried by vehicles of different models includes:
[0038] According to the functions of vehicles of different models, two layers of configuration words are constructed; the first layer of configuration words in the two layers of configuration words are product function configuration words, and the second layer of configuration words in the two layers of configuration words are sub-function configuration words;
[0039] The sub-function configuration words corresponding to the same product function configuration words corresponding to different models are the same or different;
[0040] The sub-function configuration words corresponding to different product function configuration words corresponding to the same vehicle may be the same or different.
[0041] Optionally, the signal types interacted between the chassis body signal interface abstract module, the platform application with the platform interface and the application transmission external domain signal abstract module include: a periodic signal with a first period;
[0042] The converting of the original chassis body signal generated by the autonomous driving domain controller of the vehicle to be adapted to obtain a first signal suitable for the platform interface and sending the first signal to the platform application comprises:
[0043] The chassis-body signal interface abstraction module converts a plurality of original chassis-body signals generated by the autonomous driving domain controller of the to-be-adapted vehicle in the first cycle to obtain a plurality of first signals applicable to the platformized interface, and merges the plurality of first signals and sends them to the platformized application;
[0044] The converting the second signal to obtain a third signal suitable for processing by the autonomous driving domain controller of the vehicle to be adapted includes:
[0045] The application transmission external domain signal abstraction module merges and converts multiple second signals received in the first cycle to obtain the third signal suitable for processing by the autonomous driving domain controller of the vehicle to be adapted.
[0046] Optionally, the signal types interacted between the chassis body signal interface abstract module, the platform application with platform interface and the application transmission external domain signal abstract module include: event signals;
[0047] The converting of the original chassis body signal generated by the autonomous driving domain controller of the vehicle to be adapted to obtain a first signal suitable for the platform interface and sending the first signal to the platform application comprises:
[0048] The chassis-body signal interface abstraction module converts a plurality of original chassis-body signals belonging to the same event signal generated by the autonomous driving domain controller of the vehicle to be adapted to obtain a plurality of first signals suitable for the platform interface, and merges the plurality of first signals and sends them to the platform application;
[0049] The converting the second signal to obtain a third signal suitable for processing by the autonomous driving domain controller of the vehicle to be adapted includes:
[0050] The application transmission external domain signal abstraction module merges and converts the multiple second signals received belonging to the same event signal to obtain the third signal suitable for processing by the autonomous driving domain controller of the vehicle to be adapted.
[0051] Optionally, the method further comprises:
[0052] Running a plurality of periodic performance monitoring tasks of different periods in sequence, each periodic performance monitoring task is used to collect statistics on time consumption information of running the functional module corresponding to the first signal, the time consumption information including a minimum time consumption value and a maximum time consumption value;
[0053] When the periodic performance monitoring task of the maximum period among the multiple different periods is executed, the time consumption information obtained by statistics in the maximum period is sent to the application transmission external domain signal abstraction module.
[0054] A third aspect of an embodiment of the present invention provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the autonomous driving domain controller adaptation method as described in the second aspect of an embodiment of the present invention.
[0055] A fourth aspect of an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the autonomous driving domain controller adaptation method as described in the second aspect of the embodiment of the present invention are implemented.
[0056] Through the automatic driving domain controller adaptation system provided by this embodiment, first, the chassis body signal interface abstract module can convert the original chassis body signal generated by the automatic driving domain controller of the vehicle to be adapted, obtain the first signal suitable for the platform interface, and send it to the platform application; then, the platform application receives the first signal through the platform interface, runs the function module corresponding to the first signal, obtains the second signal and sends it to the application transmission external domain signal abstract module; finally, the application transmission external domain signal abstract module converts the second signal to obtain the third signal suitable for the automatic driving domain controller of the vehicle to be adapted. In this embodiment, the automatic driving domain controllers of different EE architecture models, the different functions of the automatic driving domain controllers of the same EE architecture model, and the different models generated by the automatic driving domain controller can all be used through the automatic driving domain controller adaptation system provided by this embodiment to quickly develop and / or transplant the automatic driving domain controller adaptation application, thereby improving the efficiency of the adaptation of the automatic driving domain controllers of different models, the application function transplantation adaptation debugging, and shortening the product manpower investment and market launch time, bringing significant results. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0058] Figure 1 is a structural block diagram of an autonomous driving domain controller adaptation system shown in one embodiment of the present invention;
[0059] Figure 2 This is an overall architecture diagram of a multi-vehicle platform adaptation system of an autonomous driving domain controller MCU shown in an embodiment of the present invention;
[0060] Figure 3 It is a schematic diagram of configuration contents of a second-layer configuration word provided by an embodiment of the present invention;
[0061] Figure 4 is a data processing flow chart of an autonomous driving domain controller adaptation system based on interactive signal types shown in one embodiment of the present invention;
[0062] Figure 5 It is a flow chart of a method for performing performance analysis on an autonomous driving domain controller adaptation system provided by an embodiment of the present invention;
[0063] Figure 6 A flowchart of the steps of an autonomous driving domain controller adaptation method provided by an embodiment of the present invention is shown;
[0064] Figure 7 It is a schematic diagram of an electronic device shown in an embodiment of the present invention. DETAILED DESCRIPTION
[0065] 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 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.
[0066] Hereinafter, specific examples of the present solution will be described in more detail with reference to the accompanying drawings.
[0067] refer to Figure 1 , Figure 1 This is a structural block diagram of an autonomous driving domain controller adaptation system shown in an embodiment of the present invention. The autonomous driving domain controller adaptation system of this embodiment includes at least: a chassis body signal interface abstract module, a platform application with a platform interface, and an application transmission external domain signal abstract module.
[0068] The chassis-body signal interface abstract module is used to convert the original chassis-body signal generated by the autonomous driving domain controller of the adapted vehicle, obtain a first signal suitable for the platform interface, and send it to the platform application.
[0069] In this embodiment, the chassis body signal interface abstract module (vehInadptr) is a platform-based logic adaptation module for the chassis information and inter-chip communication information of the vehicle. The autonomous driving domain controller MCU of the vehicle to be adapted can generate relevant original chassis body signals, which are chassis signals and body signals related to the vehicle to be adapted generated by the autonomous driving domain controller. Then, after the autonomous driving domain controller MCU generates the original chassis body signal, it can send the original chassis body signal to the chassis body signal interface abstract module based on the CAN bus. The chassis body signal interface abstract module can convert the original chassis body signal to obtain a converted first signal, which is adapted to the platform interface of the platform application, thereby sending the converted first signal to the platform application through the platform interface.
[0070] Step S12: The platform application is used to receive the first signal through the platform interface, run the functional module corresponding to the first signal, obtain the second signal and send it to the application transmission external domain signal abstract module; wherein the functional module includes at least one of the following: driving function module, parking function module, active safety function module.
[0071] In this embodiment, the platformized application is an application that needs to be developed or ported for the autonomous driving domain controller of the vehicle to be adapted. The platformized application can be an application of an autonomous driving algorithm, such as an ADAS application. After the platformized application receives the first signal through the platformized interface, it can analyze the first signal, determine the functional module corresponding to the first signal, and run the functional module corresponding to the first signal to obtain the second signal, thereby sending the second signal obtained by running to the application transmission external domain signal abstraction module. Among them, the functional modules of the platformized application include at least one of the following: a driving function module, a parking function module, and an active safety function module. It can be understood that the platformized application at least includes a platformized interface for active safety of driving and parking.
[0072] The application transmits an external domain signal abstraction module, and is used to convert the second signal to obtain a third signal suitable for processing by the autonomous driving domain controller of the vehicle to be adapted.
[0073] In this embodiment, the application transmission external domain signal abstract module (vehOutadptr) is a platform-based logic adaptation module that adapts the platform-based application signal to the external domain. After receiving the second signal sent by the platform-based application, the application transmission external domain signal abstract module can convert the second signal to obtain a third signal suitable for processing by the autonomous driving domain controller of the vehicle to be adapted, so that the autonomous driving domain controller of the vehicle to be adapted can complete the corresponding function based on the third signal, and realize the development, configuration and transplantation of the application. It should be noted that the vehicle to be adapted in this embodiment can be a vehicle of a different EE architecture model, or it can be a vehicle of the same EE architecture model with different functions.
[0074] In this embodiment, through the autonomous driving domain controller adaptation system provided by this embodiment, it is possible to quickly develop and / or transplant autonomous driving domain controller adaptation applications for autonomous driving domain controllers of different EE architecture vehicle models, different functions of autonomous driving domain controllers of the same EE architecture vehicle models, and different models generated by autonomous driving domain controllers, thereby significantly improving the efficiency of adaptation of autonomous driving domain controllers of different vehicle models, application function transplantation, adaptation and debugging, and shortening product manpower investment and time to market.
[0075] In one embodiment, if Figure 2 As shown, Figure 2 This is an overall architecture diagram of a self-driving domain controller MCU multi-vehicle platform adaptation system shown in an embodiment of the present invention. Figure 2In the figure, 1 represents the APP self-driving algorithm, 2 and 3 represent the platform interface logic adaptation, and 4 represents the operating environment after the entire platform interface is abstracted. Specifically, 1 is the platform application (APP); 2 is the chassis body signal interface abstract module (vehInadptr), which is the platform logic adaptation module for film information and inter-chip communication information; 3 is the application transmission external domain signal abstract module (vehOutadptr), which is the logic adaptation module for the platform application output control signal, status signal, and fault DTC related signal; 4 is RTE (unified processing operating environment). From Figure 2 It can be obtained that after the self-driving domain controller MCU generates a signal, it is sent to the unified processing operating environment via CAN, and then sent to the chassis body signal interface abstract module for signal conversion. The converted signal is sent to the platform application for processing by the corresponding functional module, and then sent to the application transmission external domain signal abstract module for further signal conversion, and then sent to the unified processing operating environment, and finally returned to the self-driving domain controller. In this embodiment, for different signals and enumeration values of the same function on different platforms, logical platform mapping can be performed through the abstract layers vehInadptr and vehOutadptr.
[0076] In combination with the above embodiments, in one implementation, an embodiment of the present invention further provides an autonomous driving domain controller adaptation system. In the system, it may also include: a configuration module, which is deployed on the platform interface and is used to configure corresponding configuration words according to the functions carried by vehicles of different models.
[0077] In this embodiment, a configuration module may also be deployed in the platform interface to configure corresponding configuration words according to relevant functions required to be installed in vehicles of different models, thereby realizing the execution of relevant functional modules.
[0078] Among them, in this embodiment, the above-mentioned "running the functional module corresponding to the first signal" can specifically include the following steps: the platform application runs the functional module corresponding to the first signal based on the configuration word corresponding to the model of the vehicle to be adapted.
[0079] In this embodiment, the platform application can determine the configuration word corresponding to the model of the vehicle to be adapted based on the first signal, and then determine the functional module corresponding to the first signal based on the configuration word corresponding to the model of the vehicle to be adapted, and run the functional module corresponding to the first signal to obtain the second signal.
[0080] In combination with the above embodiments, in one implementation, an embodiment of the present invention further provides an autonomous driving domain controller adaptation system. In the system, the above-mentioned "configuring corresponding configuration words according to the functions carried by vehicles of different models" may specifically include the steps of: the configuration module constructs two layers of configuration words according to the functions carried by vehicles of different models; the first layer of configuration words in the two layers of configuration words is a product function configuration word, and the second layer of configuration words in the two layers of configuration words is a sub-function configuration word.
[0081] In this embodiment, in view of the functional differences between different models of vehicles with different EE architectures and different models of vehicles with the same EE architecture, the difference between equipped and unequipped functions can be reflected by using two layers of configuration words. Specifically, in this embodiment, the configuration module can construct two layers of configuration words according to the functions carried by vehicles of different models. The first layer of configuration words in the two layers of configuration words are product function configuration words, and the second layer of configuration words in the two layers of configuration words are sub-function configuration words. Among them, the sub-function configuration words corresponding to the same product function configuration words corresponding to different models are the same or different; the sub-function configuration words corresponding to different product function configuration words corresponding to the same vehicle are the same or different.
[0082] For example, for driving, parking, active safety and other functions, the configuration words are divided into two categories: product function configuration words and sub-function configuration words. The product function configuration words represent the functions of the vehicle, and the sub-function configuration words represent the specific sub-functions corresponding to the functions of the vehicle. Figure 3 As shown, Figure 3 FIG. 1 is a schematic diagram of the configuration content of a second-layer configuration word provided by an embodiment of the present invention. Figure 3 In FIG. 1, 3, 4, and 6 are the management contents of the product function configuration words, and FIG. 2 and FIG. 5 show the management contents of the sub-function configuration words corresponding to the product functions. Figure 3 The first-level name in the function indicates the function required by the product characteristics, and the second-level function indicates the specific functions that need to be installed in different models; in the platform-based first-level products and second-level functions, each function is represented by 1 bit, 0 means no installation, and 1 means installation. Figure 3 In the table, 1. indicates the functions of parking platform products, 2. indicates the sub-functions that need to be realized for parking, driving and other specific product functions, 3. indicates the functions of driving platform products, 4. indicates the functions of other products; 5. indicates the functions of active safety platform products; 6. indicates the sub-functions that need to be realized for specific product functions.
[0083] In combination with the above embodiments, in one implementation, an embodiment of the present invention further provides an autonomous driving domain controller adaptation system. In the system, the above-mentioned "converting the original chassis body signal generated by the autonomous driving domain controller of the vehicle to be adapted to obtain a first signal suitable for the platform interface, and sending it to the platform application" may specifically include the steps of: the chassis body signal interface abstract module converts multiple original chassis body signals generated by the autonomous driving domain controller of the vehicle to be adapted in the first cycle to obtain multiple first signals suitable for the platform interface, and merges the multiple first signals and sends them to the platform application.
[0084] In this embodiment, the signal type interacting between the chassis body signal interface abstract module, the platform application with a platform interface, and the application transmission external domain signal abstract module is a periodic signal, that is, the signal type interacting between the chassis body signal interface abstract module, the platform application with a platform interface, and the application transmission external domain signal abstract module includes: a periodic signal with a first period. Among them, the first period of operation transmission can be freely set, such as 25ms, 50ms, etc.
[0085] The chassis body signal interface abstract module can uniformly convert multiple original chassis body signals generated by the autonomous driving domain controller of the vehicle to be adapted in the first cycle to obtain multiple first signals suitable for the platform interface. In this embodiment, the signal conversion is no longer performed immediately after receiving an original chassis body signal. Instead, according to the first cycle sent by the operation, the multiple original chassis body signals received in the first cycle are uniformly converted to obtain multiple first signals, and then the multiple first signals are merged and sent to the platform application, thereby saving operation resources.
[0086] And, in this embodiment, the above-mentioned "converting the second signal to obtain a third signal suitable for processing by the autonomous driving domain controller of the vehicle to be adapted" may specifically include the steps: the application transmission external domain signal abstraction module merges and converts the multiple second signals received within the first cycle to obtain the third signal suitable for processing by the autonomous driving domain controller of the vehicle to be adapted.
[0087] In this embodiment, the application transmission external domain signal abstraction module can merge multiple second signals received in the first cycle to obtain a merged second signal, and then convert the merged second signal to obtain a third signal suitable for processing by the autonomous driving domain controller of the vehicle to be adapted. In this embodiment, the application transmission external domain signal abstraction module no longer receives a second signal and immediately converts the signal. Instead, according to the first cycle of operation transmission, multiple second signals received in the first cycle are merged and then uniformly converted to obtain the third signal, thereby saving operation resources.
[0088] In combination with the above embodiments, in one implementation, an embodiment of the present invention further provides an autonomous driving domain controller adaptation system. In the system, the above-mentioned "converting the original chassis body signal generated by the autonomous driving domain controller of the vehicle to be adapted to obtain a first signal suitable for the platform interface, and sending it to the platform application" may specifically include the steps of: the chassis body signal interface abstract module converts multiple original chassis body signals belonging to the same event signal generated by the autonomous driving domain controller of the vehicle to be adapted to obtain multiple first signals suitable for the platform interface, and merges the multiple first signals and sends them to the platform application.
[0089] In this embodiment, the signal type interacting between the chassis-body signal interface abstract module, the platform application with a platform interface, and the application transmission external domain signal abstract module is an event signal, that is, the signal type interacting between the chassis-body signal interface abstract module, the platform application with a platform interface, and the application transmission external domain signal abstract module includes: event signals.
[0090] The chassis body signal interface abstract module can uniformly convert multiple original negative body signals belonging to the same event signal generated by the autonomous driving domain controller of the vehicle to be adapted to obtain multiple first signals suitable for the platform interface. In this embodiment, the signal conversion is no longer performed immediately upon receiving an original chassis body signal. Instead, according to the type of the event signal, the multiple original chassis body signals belonging to the same event signal generated by the autonomous driving domain controller are uniformly converted to obtain multiple first signals, and then the multiple first signals are merged and sent to the platform application, thereby saving operating resources.
[0091] And, in this embodiment, the above-mentioned "converting the second signal to obtain a third signal suitable for processing by the autonomous driving domain controller of the vehicle to be adapted" may specifically include the steps of: the application transmission external domain signal abstraction module merges and converts the multiple second signals received belonging to the same event signal to obtain the third signal suitable for processing by the autonomous driving domain controller of the vehicle to be adapted.
[0092] In this embodiment, the application transmission external domain signal abstraction module can merge the received multiple second signals belonging to the same event signal to obtain a merged second signal, and then convert the merged second signal to obtain a third signal suitable for processing by the autonomous driving domain controller of the vehicle to be adapted. In this embodiment, the application transmission external domain signal abstraction module no longer receives a second signal and immediately converts the signal. Instead, according to the type of the event signal, it merges the received multiple second signals belonging to the same event signal and performs a unified signal conversion to obtain the third signal, thereby saving operating resources.
[0093] In this embodiment, for the problem of application development adaptation efficiency caused by the differences of different EE architecture models, different functions, different signal names, different CAN message sending cycles, different CAN message IDs, etc. on the MCU side of the autonomous driving domain controller, the use of the autonomous driving domain controller adaptation system of this embodiment can improve the efficiency of vehicle model adaptation, application function transplantation, adaptation and debugging, shorten product manpower investment and market launch time, and bring significant results.
[0094] In one embodiment, if Figure 4 As shown, Figure 4 This is a data processing flow chart of an autonomous driving domain controller adaptation system based on interactive signal types, shown in one embodiment of the present invention. Figure 4 Among them, 1 is the vehinadptr module, and its adaptation signal operation and sending cycle is divided into 50ms, 25ms and event signals (event). The platform-based signals processed one by one include driving, parking, chassis and body signals of active safety to the platform-based application (adas_app); 2 is adas_app, which is the self-driving algorithm application, including the driving and parking active safety platform-based interface; 3 is the vehOutadptr module, and its adaptation signal operation and sending cycle is divided into 50ms, 25ms and event signals. It receives the platform-based application layer signal logic adaptation processing and sends it to the external domain.
[0095] exist Figure 4 In the , the software function development and transplantation in the autonomous driving domain controller adaptation system can be configured according to different projects. Specifically, the data processing flow of the autonomous driving domain controller adaptation system based on the interactive signal type can be divided into the BSW processing layer (transmission of original signals and processed signals), the interface abstract processing layer (logical platform mapping of the vehinadptr module and the vehOutadptr module) and the self-driving application layer (functional configuration and execution of platform applications). Figure 4In the system, the platform-based abstract processing logic module (i.e., the vehinadptr module and the vehOutadptr module) transmits the relevant demand signals for signal processing and transmission to the inside and outside in three ways: 50ms cycle, 25ms cycle, and event-type signal.
[0096] In combination with the above embodiments, in one implementation, an embodiment of the present invention further provides an autonomous driving domain controller adaptation system. The system may also include a performance monitoring module.
[0097] A performance monitoring module is used to sequentially run multiple periodic performance monitoring tasks of different periods, each periodic performance monitoring task is used to count the time consumption information of running the functional module corresponding to the first signal, and the time consumption information includes a minimum time consumption and a maximum time consumption.
[0098] In this embodiment, after the function development or transplantation of the relevant application is performed based on the third signal, a plurality of periodic performance monitoring tasks of different periods will be run through the performance monitoring module. Among them, the periodic performance monitoring task is used to test whether the platform application developed or transplanted with the new function can be adapted to the autonomous driving domain controller of the vehicle to be adapted, and save the communication data transmission bandwidth. Specifically, each periodic performance monitoring task in this embodiment is used to count the time consumption information of running the functional module corresponding to the first signal, and the time consumption information includes the minimum time consumption and the maximum time consumption.
[0099] The performance monitoring module is further configured to send the time consumption information obtained by statistics in the maximum period to the application transmission external domain signal abstraction module when running the periodic performance monitoring task of the maximum period among the multiple different periods.
[0100] In this embodiment, the performance monitoring module will also run the functional modules corresponding to the first signal in sequence based on multiple different periodicities and perform statistical monitoring. When running the periodic performance monitoring task with the maximum period among multiple different periods, the performance monitoring module will send the time consumption information obtained within the maximum period to the application transmission external domain signal abstraction module to determine the operating status and transmission bandwidth.
[0101] In this embodiment, the accuracy of the collected data can be designed to be 100us first. In order to save the communication data transmission bandwidth, the maximum period of the transmitted data is controlled within a 100ms period. The time consumption information of the functional module corresponding to the first signal, the minimum and maximum values of the task cycle, and the minimum and maximum values of the algorithm module time consumption are determined. Finally, the corresponding collected data is transmitted externally according to the debugging interface provided by the autonomous driving domain controller.
[0102] In one embodiment, in terms of the application design and application of resources, the CPU_load for each core is strictly designed to monitor the minimum and maximum load values; the minimum and maximum task running time values; the minimum, maximum and average running time values of the self-driving algorithm, and the real-time monitoring of the running status of related functions in the ADAS application to unify the data solution for system optimization performance bottleneck analysis. Among them, the data collection cycle is 100ms. For example, in the 1.25ms, 2.5ms, 5ms, 10ms, 25ms, 50ms, and 100ms periodic tasks, the task scheduling interval cycle is collected, and the minimum and maximum scheduling cycle values within 100ms, as well as the minimum and maximum self-driving algorithm time are recorded, so that the time consumption information and load information obtained within the maximum cycle are sent to the application transmission external signal abstraction module. Figure 5 As shown, Figure 5 It is a flow chart of a method for performing performance analysis on an autonomous driving domain controller adaptation system provided by one embodiment of the present invention.
[0103] exist Figure 5 In the process, the performance monitoring parameter variables are first initialized, and then the performance monitoring task is created, and it is determined whether the task is created successfully. If it is not successful, the task creation continues until the task is created successfully. If the task is created successfully, the periodic setting of the periodic performance monitoring task is entered, and the current entry time T0 is recorded in the 1.25ms, 2.5ms, 5ms, 10ms, 25ms, 50ms, and 100ms periodic tasks respectively. Then it is determined whether it is the first time. If it is the first time, the entry timestamp T1=T0 is maintained; if it is not the first time, the time interval period of entering the task is obtained, and then the entry timestamp T1=T0 is maintained; then Then obtain the current time T2 of entering the self-driving algorithm, record the current time T3 when the algorithm exits, obtain the algorithm's time consumption T4 = T3-T2, then obtain the maximum and minimum values of the algorithm's time consumption, and obtain the maximum and minimum values of the task cycle; determine whether the maximum cycle of 100ms has been run. If it has not run for 100ms, continue to execute periodic tasks based on 1.25ms, 2.5ms, 5ms, 10ms, 25ms, 50ms, and 100ms; if it has run for 100ms, transmit the maximum and minimum values of the algorithm's time consumption and the maximum and minimum values of the task cycle collected within 100ms to vehOutadptr for transmission to the collection tool.
[0104] In addition, in one embodiment, a platform interface can be defined in the autonomous driving domain controller adaptation system according to the first and second level product functions, each vehicle model configures the corresponding configuration words according to its own functions, and the application runs and executes the relevant functional modules according to the configuration words. Finally, the functional platform interface configuration words that the whole vehicle needs to carry are written in when it is produced off the line. For example, the functional configuration words of the defined platform interface can be shown in Table 1 below.
[0105] Table 1 Functional configuration words of platform interface
[0106]
[0107]
[0108] In one embodiment, based on the autonomous driving domain controller adaptation system, the interface platformization implementation method adopted is: first, the similarities and differences of the chassis and body signals of each vehicle model are sorted out, and a unified platformization interface is sorted out according to the differences; secondly, the underlying software BSP performs logical difference adaptation on it according to the platformization interface, and performs platformization interface assignment processing through the chassis body signal interface abstract module and the application transmission external domain signal abstract module; finally, the application layer uniformly obtains the platformization interface data to solve the adaptation of the application to multiple vehicle platforms of the interface, thereby solving the cross-platform platformization problem and providing an efficient solution for the rapid transplantation of cross-platform EE architecture vehicles.
[0109] Based on the same inventive concept, Figure 6 As shown, Figure 6 A flowchart of the steps of an autonomous driving domain controller adaptation method provided by an embodiment of the present invention is shown. The autonomous driving domain controller adaptation method is applied to the autonomous driving domain controller adaptation system described in any of the above embodiments. The method at least includes steps S11 to S13:
[0110] Step S11: converting the original chassis body signal generated by the autonomous driving domain controller of the vehicle to be adapted to obtain a first signal suitable for the platform interface, and sending the first signal to the platform application;
[0111] Step S12: receiving the first signal through the platform interface, running the functional module corresponding to the first signal, obtaining the second signal and sending it to the application transmission external domain signal abstract module; wherein the functional module includes at least one of the following: a driving function module, a parking function module, and an active safety function module;
[0112] Step S13: Convert the second signal to obtain a third signal suitable for processing by the autonomous driving domain controller of the vehicle to be adapted.
[0113] Optionally, the method further comprises:
[0114] Configure the corresponding configuration words according to the functions carried by different models of vehicles;
[0115] The “operating the functional module corresponding to the first signal” in the above step S12 includes:
[0116] Based on the configuration word corresponding to the model of the vehicle to be adapted, the functional module corresponding to the first signal is run.
[0117] Optionally, configuring corresponding configuration words according to the functions carried by vehicles of different models includes:
[0118] According to the functions of vehicles of different models, two layers of configuration words are constructed; the first layer of configuration words in the two layers of configuration words are product function configuration words, and the second layer of configuration words in the two layers of configuration words are sub-function configuration words;
[0119] The sub-function configuration words corresponding to the same product function configuration words corresponding to different models are the same or different;
[0120] The sub-function configuration words corresponding to different product function configuration words corresponding to the same vehicle may be the same or different.
[0121] Optionally, the signal types interacted between the chassis body signal interface abstract module, the platform application with the platform interface and the application transmission external domain signal abstract module include: a periodic signal with a first period;
[0122] The converting of the original chassis body signal generated by the autonomous driving domain controller of the vehicle to be adapted to obtain a first signal suitable for the platform interface and sending the first signal to the platform application comprises:
[0123] The chassis-body signal interface abstraction module converts a plurality of original chassis-body signals generated by the autonomous driving domain controller of the to-be-adapted vehicle in the first cycle to obtain a plurality of first signals applicable to the platformized interface, and merges the plurality of first signals and sends them to the platformized application;
[0124] The converting the second signal to obtain a third signal suitable for processing by the autonomous driving domain controller of the vehicle to be adapted includes:
[0125] The application transmission external domain signal abstraction module merges and converts multiple second signals received in the first cycle to obtain the third signal suitable for processing by the autonomous driving domain controller of the vehicle to be adapted.
[0126] Optionally, the signal types interacted between the chassis body signal interface abstract module, the platform application with platform interface and the application transmission external domain signal abstract module include: event signals;
[0127] The converting of the original chassis body signal generated by the autonomous driving domain controller of the vehicle to be adapted to obtain a first signal suitable for the platform interface and sending the first signal to the platform application comprises:
[0128] The chassis-body signal interface abstraction module converts a plurality of original chassis-body signals belonging to the same event signal generated by the autonomous driving domain controller of the vehicle to be adapted to obtain a plurality of first signals suitable for the platform interface, and merges the plurality of first signals and sends them to the platform application;
[0129] The converting the second signal to obtain a third signal suitable for processing by the autonomous driving domain controller of the vehicle to be adapted includes:
[0130] The application transmission external domain signal abstraction module merges and converts the multiple second signals received belonging to the same event signal to obtain the third signal suitable for processing by the autonomous driving domain controller of the vehicle to be adapted.
[0131] Optionally, the method further comprises:
[0132] Running a plurality of periodic performance monitoring tasks of different periods in sequence, each periodic performance monitoring task is used to collect statistics on time consumption information of running the functional module corresponding to the first signal, the time consumption information including a minimum time consumption value and a maximum time consumption value;
[0133] When the periodic performance monitoring task of the maximum period among the multiple different periods is executed, the time consumption information obtained by statistics in the maximum period is sent to the application transmission external domain signal abstraction module.
[0134] Based on the same inventive concept, another embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps in the autonomous driving domain controller adaptation method as described in any of the above embodiments of the present invention are implemented.
[0135] Based on the same inventive concept, another embodiment of the present invention provides an electronic device 700, such as Figure 7 As shown, Figure 77 is a schematic diagram of an electronic device shown in an embodiment of the present invention. The electronic device includes a memory 702, a processor 701, and a computer program stored in the memory and executable on the processor, and when the processor executes, the steps in the autonomous driving domain controller adaptation method described in any of the above embodiments of the present invention are implemented.
[0136] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0137] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0138] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, embodiments of the present invention may take the form of complete hardware embodiments, complete software embodiments, or embodiments combining software and hardware. Furthermore, embodiments of the present invention may take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0139] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0140] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0141] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0142] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0143] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0144] The above is a detailed introduction to an autonomous driving domain controller adaptation system, method, electronic device and storage medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in the field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. An autonomous driving domain controller adaptation system, characterized in that: The system at least includes: a chassis body signal interface abstract module, a platform application with a platform interface, and an application transmission external domain signal abstract module; The chassis body signal interface abstraction module is used to convert the original chassis body signal generated by the autonomous driving domain controller of the vehicle to be adapted, obtain a first signal suitable for the platform interface, and send it to the platform application; The platform application is used to receive the first signal through the platform interface, run the functional module corresponding to the first signal, obtain the second signal and send it to the application transmission external domain signal abstract module; wherein the functional module includes at least one of the following: a driving function module, a parking function module, and an active safety function module; The application transmits an external domain signal abstraction module, and is used to convert the second signal to obtain a third signal suitable for processing by the autonomous driving domain controller of the vehicle to be adapted.
2. The system according to claim 1, characterized in that The system further comprises: A configuration module, deployed on the platform interface, configured to configure corresponding configuration words according to the functions carried by vehicles of different models; The function module corresponding to the running of the first signal includes: The platform application runs the functional module corresponding to the first signal based on the configuration word corresponding to the model of the vehicle to be adapted.
3. The system according to claim 2, characterized in that The configuration words are configured according to the functions of vehicles of different models, including: The configuration module constructs two layers of configuration words according to the functions carried by vehicles of different models; the first layer of configuration words in the two layers of configuration words are product function configuration words, and the second layer of configuration words in the two layers of configuration words are sub-function configuration words; The sub-function configuration words corresponding to the same product function configuration words corresponding to different models are the same or different; The sub-function configuration words corresponding to different product function configuration words corresponding to the same vehicle may be the same or different.
4. The system according to claim 1, characterized in that The signal types interacted between the chassis body signal interface abstract module, the platform application with platform interface and the application transmission external domain signal abstract module include: a periodic signal with a first period; The converting of the original chassis body signal generated by the autonomous driving domain controller of the vehicle to be adapted to obtain a first signal suitable for the platform interface and sending the first signal to the platform application comprises: The chassis-body signal interface abstraction module converts a plurality of original chassis-body signals generated by the autonomous driving domain controller of the to-be-adapted vehicle in the first cycle to obtain a plurality of first signals applicable to the platformized interface, and merges the plurality of first signals and sends them to the platformized application; The converting the second signal to obtain a third signal suitable for processing by the autonomous driving domain controller of the vehicle to be adapted includes: The application transmission external domain signal abstraction module merges and converts multiple second signals received in the first cycle to obtain the third signal processed by the autonomous driving domain controller suitable for the vehicle to be adapted.
5. The system according to claim 1, characterized in that The signal types interacting between the chassis body signal interface abstract module, the platform application with platform interface and the application transmission external domain signal abstract module include: event signals; The converting of the original chassis body signal generated by the autonomous driving domain controller of the vehicle to be adapted to obtain a first signal suitable for the platform interface and sending the first signal to the platform application comprises: The chassis-body signal interface abstraction module converts a plurality of original chassis-body signals belonging to the same event signal generated by the autonomous driving domain controller of the vehicle to be adapted to obtain a plurality of first signals suitable for the platform interface, and merges the plurality of first signals and sends them to the platform application; The converting the second signal to obtain a third signal suitable for processing by the autonomous driving domain controller of the vehicle to be adapted includes: The application transmission external domain signal abstraction module merges and converts the multiple second signals received belonging to the same event signal to obtain the third signal suitable for processing by the autonomous driving domain controller of the vehicle to be adapted.
6. The system according to any one of claims 1 to 5, characterized in that: The system further comprises: A performance monitoring module, used to sequentially run a plurality of periodic performance monitoring tasks of different periods, each periodic performance monitoring task is used to count the time consumption information of running the functional module corresponding to the first signal, the time consumption information including the minimum time consumption and the maximum time consumption; The performance monitoring module is further configured to send the time consumption information obtained by statistics in the maximum period to the application transmission external domain signal abstraction module when running the periodic performance monitoring task of the maximum period among the multiple different periods.
7. An autonomous driving domain controller adaptation method, characterized in that: Applied to the autonomous driving domain controller adaptation system according to any one of claims 1 to 6, the method at least comprising: Converting an original chassis body signal generated by an autonomous driving domain controller of the vehicle to be adapted to obtain a first signal suitable for the platform interface, and sending the first signal to the platform application; The first signal is received through the platform interface, and a functional module corresponding to the first signal is run to obtain a second signal and send the second signal to the application transmission external domain signal abstract module; wherein the functional module includes at least one of the following: a driving function module, a parking function module, and an active safety function module; The second signal is converted to obtain a third signal suitable for processing by the autonomous driving domain controller of the vehicle to be adapted.
8. The method according to claim 7, characterized in that The method further comprises: Configure the corresponding configuration words according to the functions carried by different models of vehicles; The function module corresponding to the running of the first signal includes: The platform application runs the functional module corresponding to the first signal based on the configuration word corresponding to the model of the vehicle to be adapted.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the computer program is executed by the processor, the autonomous driving domain controller adaptation method as described in claim 7 or 8 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the autonomous driving domain controller adaptation method as described in claim 7 or 8 is implemented.
