Automotive system adaptive parallel upgrade method and system based on multi-domain control
By adopting the adaptive parallel upgrade method of multi-domain control in automotive systems, the download and upgrade process is completed in a distributed manner, solving the problems of low efficiency and high resource utilization in the existing technology, and achieving a more efficient upgrade process and reducing production costs.
Patent Information
- Application Number
- CN202410962026.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2025-06-06
- Estimated Expiration
- 2044-07-18
AI Technical Summary
The remote update efficiency of existing automotive ECU software is low, the software flashing takes a long time, and over-reliance on the multi-threading mechanism of the main control program, resulting in high requirements for the storage space and CPU of the main control host ECU and high pressure.
Adaptive parallel upgrade method of automotive systems based on multi-domain control is adopted. By configuring the components of the network architecture, including servers, gateways, master ECUs and multiple domain control ECUs, the download upgrade and upgrade process is achieved, dynamically switched and upgraded main control programs, and the download process is optimized.
The download process is optimized, download time is reduced, upgrade success rate is improved, space, memory and CPU requirements for ECUs are reduced, and production costs of automobile manufacturers are reduced.
Smart Images

Figure CN119088414B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of FOTA upgrade technology, and in particular to a method and system for adaptive parallel upgrade of an automobile system based on multi-domain control. Background Art
[0002] With the continuous improvement of vehicle intelligence and networking, in order to make smart cars always new, the intelligent system is constantly updated. Remote upgrading of vehicle-side software has become a common method for modern OEM software updates. Through over-the-air technology, the air interface of mobile communication is used to achieve remote management of mobile terminal devices; ECU (Electronic Control Unit) is an electronic control unit, which is a comprehensive control device of the engine. It calculates, processes, judges and outputs instructions for various information input by various sensors of the engine according to its own stored programs, and then controls the actions of relevant actuators to achieve the purpose of fast, accurate and automatic control of engine operation; Due to the diversity and complexity of ECU software and hardware data on the automotive terminal, there are problems such as low efficiency of remote updating of vehicle-side software and long software flashing time;
[0003] The patent with application number CN202311420350.9 proposes an adaptive vehicle OTA upgrade method and device, and the patent with application number CN202311042853.7 proposes a multi-domain parallel upgrade control method based on a domain architecture vehicle model. These two patents mention the process of parallel flashing of the vehicle's firmware under the multi-domain control architecture of the car, but they emphasize the generation of parallel upgrade tasks on the server side. After the tasks are issued, the main control on the vehicle side parses and flashes the vehicles in parallel in a multi-threaded manner. The parallel flashing solution in the solution reduces the overall upgrade time and improves the user experience; however, these solutions rely too much on the multi-threading mechanism of the main control program. Once the performance of the main control program host ECU reaches a bottleneck, it is not conducive to the subsequent flashing tasks; there are large requirements for storage space for the main control host ECU, which puts great pressure on the central gateway.
[0004] Therefore, it is necessary to provide an adaptive parallel upgrade method and system for automobile systems based on multi-domain control. Summary of the invention
[0005] The present invention provides an adaptive parallel upgrade method and system for automobile systems based on multi-domain control, which can enable download upgrades and upgrade processes to be completed in a distributed manner on different domain controllers, optimize the download process, reduce the download time, dynamically switch the upgrade master control program, improve the upgrade success rate, reduce the space, memory, and CPU requirements for a certain ECU, and reduce the production cost of automobile manufacturers.
[0006] The present invention provides an adaptive parallel upgrade method for an automobile system based on multi-domain control, comprising:
[0007] Configure the components of the network architecture for adaptive parallel upgrade of multiple domain controllers;
[0008] Perform functional settings and tests on component modules;
[0009] Perform adaptive parallel upgrades of vehicle systems based on component modules after setting up and testing functions.
[0010] Furthermore, the component modules in the network architecture for adaptive parallel upgrade of multiple domain controllers are configured, including:
[0011] Configure the components in the network architecture, including: servers, gateways, multiple ECUs, a master control ECU, and multiple domain control ECUs;
[0012] The connection relationship of the configuration component modules is as follows: the server is connected to the main control ECU and the domain control ECU respectively; the main control ECU is connected to the gateway, and the gateway is connected to the domain control ECU; the main control ECU is connected to multiple ECUs; and the domain control ECU is connected to multiple ECUs.
[0013] Furthermore, the components are functionally configured and tested, including:
[0014] Setting the first function of the domain control ECU, the first function includes: starting the execution program of the domain control ECU and registering the information of the domain control ECU to the main control ECU, the information including but not limited to the type of the domain control, storage space, whether it has the ability to communicate with the external network, and whether it has the ability to upgrade the ECU in the domain;
[0015] The second function in the server is set, and the second function includes: generating an ECU upgrade task, wherein the ECU upgrade task includes multiple ECU upgrade packages, and the ECU upgrade package has an attribution feature and a channel ID feature, wherein the attribution feature is: the ECU upgrade package belongs to the connected domain control ECU, and the channel ID is: ECU upgrade packages with different channel IDs can perform multi-threaded upgrade execution within the domain of the domain control ECU;
[0016] The third function of the master control ECU is set, and the third function includes: obtaining an upgrade task from a server, and the upgrade task includes upgrade task information of multiple ECUs.
[0017] Furthermore, the function setting and testing of the component modules also include:
[0018] Build a cloud platform for functional testing of component modules;
[0019] Based on the processor in the cloud platform, set test instructions for functional testing of component modules;
[0020] Perform functional tests on component modules according to test instructions to obtain test data;
[0021] Using the set test data evaluation model, the download speed and upgrade execution accuracy of the download process data and the upgrade execution process data in the test data are evaluated to obtain an evaluation result;
[0022] If the download speed in the evaluation result is within the set download speed range, or the upgrade execution accuracy is greater than the set accuracy threshold, the download and upgrade are executed based on the functional settings of the component modules; otherwise, the setting parameters that affect the download speed and upgrade execution accuracy are corrected and improved.
[0023] Further, based on the component modules after setting and testing functions, an adaptive parallel upgrade of the vehicle system is performed, including:
[0024] The main control ECU independently obtains the upgrade task, executes the download process, and distributes the downloaded execution tasks to obtain the first download task group;
[0025] The master control ECU and the domain control ECU obtain the upgrade task list in parallel, execute the download process, and obtain the second download task group;
[0026] Based on the first download task group and the second download task group, task upgrade is performed.
[0027] Furthermore, the master ECU independently obtains the upgrade task, executes the download process, and distributes the downloaded execution tasks, including:
[0028] The master control ECU determines whether the domain control ECU has the ability to communicate with the external network based on the acquired upgrade task. If the domain control ECU has the ability to communicate with the external network, the upgrade task is distributed to multiple domain control ECUs through the gateway based on the attribution characteristics of the ECU upgrade package in the upgrade task. If the domain control ECU does not have the ability to communicate with the external network, the master control ECU distributes the ECU upgrade package in the upgrade task to the master control ECU itself or the domain control ECU with the ability to communicate with the external network.
[0029] Furthermore, the master ECU and the domain control ECU obtain the upgrade task list in parallel and execute the download process, including: the master ECU and the domain control ECU respectively obtain the upgrade task from the server, and for the domain control ECU without the external network communication capability, after waiting for the domain control ECU with the external network communication capability to complete the download task, rely on the domain control ECU with the external network communication capability to obtain the ECU upgrade package through the intranet communication, so as to realize distributed download of different domain control ECUs, and dynamically adjust the download content of the domain control ECU according to the network quality of the intranet communication.
[0030] Further, based on the first download task group and the second download task group, performing task upgrade includes:
[0031] Whether the domain control ECU has the ability to upgrade the ECU within the domain is judged and classified. If the domain control ECU has the ability to upgrade the ECU within the domain, it is classified as the first domain control ECU; if the domain control ECU does not have the ability to upgrade the ECU within the domain, it is classified as the second domain control ECU;
[0032] If the domain control ECU has the ability to upgrade the ECUs in the domain, then based on the first download task group and the second download task group, perform parallel upgrades on the ECUs in the first domain control ECU;
[0033] If the domain control ECU does not have the ability to upgrade the ECU in the domain, the upgrade program of the ECU in the second domain control ECU is flashed based on the first domain control ECU.
[0034] Further, based on the first download task group and the second download task group, executing the task upgrade also includes: formulating several control process versions according to the download content of the ECU and the requirements of the adaptive parallel upgrade of the automobile system to control and implement the adaptive parallel upgrade process, and the specific steps are:
[0035] Based on the set cloud platform, obtain the download content of ECU and the demand for adaptive parallel upgrade of vehicle system;
[0036] According to the requirements of adaptive parallel upgrade of automobile systems, the upgrade duration data is obtained;
[0037] The number of ECU upgrade contents is clustered and divided based on a clustering algorithm to obtain several cluster combinations;
[0038] According to the cluster combination, combined with whether the first function of the domain control ECU has the ability to communicate with the external network and whether it has the ability to upgrade the ECU within the domain, a domain control execution combination of several domain control ECUs and the ECUs to which they belong is generated;
[0039] According to the upgrade duration data, combined with the parallel upgrade execution process of the main control ECU and the domain control execution combination, the BPM process engine and rule engine are used, and the microservice architecture is used as the basic architecture to generate several combined execution processes;
[0040] According to the combined execution process, several control process versions are formulated to carry out control implementation of the process for adaptive parallel upgrade.
[0041] The automotive system adaptive parallel upgrade system based on multi-domain control includes:
[0042] A configuration unit, configured to configure component modules in a network architecture for adaptive parallel upgrade of multiple domain controllers;
[0043] Setting and testing unit, to set and test the functions of component modules;
[0044] The upgrade execution unit performs adaptive parallel upgrade of the vehicle system based on the component modules after setting and testing the functions.
[0045] Compared with the prior art, the present invention has the following advantages and beneficial effects: the download upgrade and the upgrade process can be completed in a distributed manner on different domain controllers, the download process is optimized, the download time is reduced, the upgrade master program can be dynamically switched, the upgrade success rate is improved, the space, memory, and CPU requirements for a certain ECU are reduced, and the production cost of automobile manufacturers is reduced.
[0046] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description and the accompanying drawings.
[0047] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0049] Figure 1 A schematic diagram of the steps of an adaptive parallel upgrade method for an automobile system based on multi-domain control;
[0050] Figure 2 A schematic diagram of the steps of a method for performing an adaptive parallel upgrade of an automobile system;
[0051] Figure 3 Schematic diagram of the system structure for adaptive parallel upgrade of automotive systems based on multi-domain control. DETAILED DESCRIPTION
[0052] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0053] The present invention provides an adaptive parallel upgrade method for automobile systems based on multi-domain control, such as Figure 1 As shown, including:
[0054] Configure the components of the network architecture for adaptive parallel upgrade of multiple domain controllers;
[0055] Perform functional settings and tests on component modules;
[0056] Perform adaptive parallel upgrades of vehicle systems based on component modules after setting up and testing functions.
[0057] The working principle of the above technical solution is: in order to realize the method of adaptive parallel upgrade of automobile system based on multi-domain control, the present invention first configures the component modules in the network architecture for adaptive parallel upgrade of multi-domain control; then, the functions of the component modules are set and tested; finally, based on the component modules after setting and testing the functions, the adaptive parallel upgrade of the automobile system is executed.
[0058] The beneficial effects of the above technical solution are: by adopting the solution provided in this embodiment, the download upgrade and the upgrade process can be completed in a distributed manner on different domain controllers, optimizing the download process, reducing the download time, dynamically switching the upgrade master control program, improving the upgrade success rate, reducing the space, memory, and CPU requirements for a certain ECU, and reducing the production costs of automobile manufacturers.
[0059] In one embodiment, a component module in a network architecture configured for adaptive parallel upgrade of multiple domain controllers includes:
[0060] Configure the components in the network architecture, including: servers, gateways, multiple ECUs, a master control ECU, and multiple domain control ECUs;
[0061] The connection relationship of the configuration component modules is as follows: the server is connected to the main control ECU and the domain control ECU respectively; the main control ECU is connected to the gateway, and the gateway is connected to the domain control ECU; the main control ECU is connected to multiple ECUs; and the domain control ECU is connected to multiple ECUs.
[0062] The working principle of the above technical solution is: in order to obtain the necessary network architecture for adaptive parallel upgrading of multiple domain controls, it is necessary to configure the component modules and connection relationships in the network architecture. The component modules configured in the present invention include: server, gateway, multiple ECUs, one master control ECU and multiple domain control ECUs; the connection relationship is: the server is connected to the master control ECU and the domain control ECU respectively; the master control ECU is connected to the gateway, and the gateway is connected to the domain control ECU; the master control ECU is connected to multiple ECUs; and the domain control ECU is connected to multiple ECUs.
[0063] The beneficial effect of the above technical solution is: adopting the solution provided in this embodiment, by configuring the component modules in the network architecture for adaptive parallel upgrade of multiple domain controllers, a hardware condition foundation is provided to ensure adaptive parallel upgrade of multiple domain controllers.
[0064] In one embodiment, function setting and testing of component modules include:
[0065] Setting the first function of the domain control ECU, the first function includes: starting the execution program of the domain control ECU and registering the information of the domain control ECU to the main control ECU, the information including but not limited to the type of the domain control, storage space, whether it has the ability to communicate with the external network, and whether it has the ability to upgrade the ECU in the domain;
[0066] The second function in the server is set, and the second function includes: generating an ECU upgrade task, wherein the ECU upgrade task includes multiple ECU upgrade packages, and the ECU upgrade package has an attribution feature and a channel ID feature, wherein the attribution feature is: the ECU upgrade package belongs to the connected domain control ECU, and the channel ID is: ECU upgrade packages with different channel IDs can perform multi-threaded upgrade execution within the domain of the domain control ECU;
[0067] The third function of the master control ECU is set, and the third function includes: obtaining an upgrade task from a server, and the upgrade task includes upgrade task information of multiple ECUs.
[0068] The working principle of the above technical solution is: in order to realize the functions of the component modules, the functional settings of the component modules are required. The present invention first sets the first function of the domain control ECU, and the first function includes: starting the execution program of the domain control ECU and registering the information of the domain control ECU to the main control ECU. The information includes but is not limited to the type of domain control, storage space, whether it has the ability to communicate with the external network, and whether it has the ability to upgrade the ECU within the domain; then setting the second function in the server, the second function includes: generating an ECU upgrade task, the ECU upgrade task includes multiple ECU upgrade packages, and the ECU upgrade package has an attribution feature and a channel ID feature, wherein the attribution feature is: the ECU upgrade package belongs to the connected domain control ECU, and the channel ID is: ECU upgrade packages with different channel IDs can perform multi-threaded upgrades within the domain of the domain control ECU; finally, setting the third function of the main control ECU, the third function includes: obtaining an upgrade task from the server, and the upgrade task contains upgrade task information of multiple ECUs.
[0069] The beneficial effect of the above technical solution is: by adopting the solution provided in this embodiment, by setting the functions of the domain control ECU, the main control ECU and the server, the effective execution of the parallel upgrade tasks can be guaranteed.
[0070] In one embodiment, function setting and testing of the component modules further includes:
[0071] Build a cloud platform for functional testing of component modules;
[0072] Based on the processor in the cloud platform, set test instructions for functional testing of component modules;
[0073] Perform functional tests on component modules according to test instructions to obtain test data;
[0074] Using the set test data evaluation model, the download speed and upgrade execution accuracy of the download process data and the upgrade execution process data in the test data are evaluated to obtain an evaluation result;
[0075] If the download speed in the evaluation result is within the set download speed range, or the upgrade execution accuracy is greater than the set accuracy threshold, the download and upgrade are executed based on the functional settings of the component modules; otherwise, the setting parameters that affect the download speed and upgrade execution accuracy are corrected and improved.
[0076] The working principle of the above technical solution is as follows: in order to ensure that the functional settings of the constituent modules are scientific and reasonable, it is necessary to test the functional settings of the constituent modules. The present invention first constructs a cloud platform for performing functional testing on the constituent modules; then, based on the processor in the cloud platform, sets test instructions for performing functional testing on the constituent modules; performs functional testing on the constituent modules through the test instructions to obtain test data; then, using the set test data evaluation model, evaluates the download speed and upgrade execution accuracy of the download process data and the upgrade execution process data in the test data to obtain an evaluation result; if the download speed in the evaluation result is within the set download speed range, or the upgrade execution accuracy is greater than the set accuracy threshold, then based on the functional settings of the constituent modules, download and upgrade are executed; otherwise, the setting parameters that affect the download speed and upgrade execution accuracy are corrected and improved.
[0077] The beneficial effect of the above technical solution is: by adopting the solution provided by this embodiment, by testing the functional settings of the component modules, problems can be discovered and improved in time according to the test data, effectively ensuring the effective implementation of the functions of the component modules.
[0078] In one embodiment, Figure 2 As shown, based on the component modules after setting and testing functions, the vehicle system adaptive parallel upgrade is performed, including:
[0079] The main control ECU independently obtains the upgrade task, executes the download process, and distributes the downloaded execution tasks to obtain the first download task group;
[0080] The master control ECU and the domain control ECU obtain the upgrade task list in parallel, execute the download process, and obtain the second download task group;
[0081] Based on the first download task group and the second download task group, task upgrade is performed.
[0082] The working principle of the above technical solution is: in order to realize the adaptive parallel upgrade of the automobile system, the present invention first has the main control ECU independently obtain the upgrade task, execute the download process, and distribute the downloaded execution tasks to obtain the first download task group; then the main control ECU and the domain control ECU obtain the upgrade task list in parallel, execute the download process, and obtain the second download task group; finally, based on the first download task group and the second download task group, the task upgrade is executed.
[0083] The beneficial effect of the above technical solution is: by adopting the solution provided by this embodiment, the automobile system can be adaptively upgraded in parallel by downloading first and then upgrading.
[0084] In one embodiment, the master control ECU independently obtains the upgrade task, executes the download process, and distributes the downloaded execution task, including: the master control ECU determines whether the domain control ECU has the ability to communicate with the external network based on the obtained upgrade task. If the domain control ECU has the ability to communicate with the external network, the upgrade task is distributed to multiple domain control ECUs through the gateway based on the attribution characteristics of the ECU upgrade package in the upgrade task; if the domain control ECU does not have the ability to communicate with the external network, the master control ECU distributes the ECU upgrade package in the upgrade task to the master control ECU itself or the domain control ECU with the ability to communicate with the external network.
[0085] The working principle of the above technical solution is: in order to enable the main control ECU to obtain and distribute the upgrade task, it is first determined whether the domain control ECU has the ability to communicate with the external network. If the domain control ECU has the ability to communicate with the external network, the main control ECU distributes the upgrade task to multiple domain control ECUs through the gateway based on the attribution characteristics of the ECU upgrade package in the upgrade task; if the domain control ECU does not have the ability to communicate with the external network, the main control ECU distributes the ECU upgrade package in the upgrade task to the main control ECU itself or the domain control ECU with the ability to communicate with the external network.
[0086] The beneficial effect of the above technical solution is: by adopting the solution provided in this embodiment, by judging whether the domain control ECU has the ability to communicate with the external network, the distribution of the main control ECU can be distinguished to achieve different distribution methods, which is conducive to the efficient completion of the download process.
[0087] In one embodiment, the master ECU and the domain control ECU obtain the upgrade task list in parallel and execute the download process, including: the master ECU and the domain control ECU respectively obtain the upgrade task from the server, for the domain control ECU without external network communication capability, after waiting for the domain control ECU with external network communication capability to complete the download task, relying on the domain control ECU with external network communication capability, obtain the ECU upgrade package through the intranet communication method, so as to realize distributed downloading of different domain control ECUs, and dynamically adjust the download content of the domain control ECU according to the network quality of the intranet communication.
[0088] The working principle of the above technical solution is: the main control ECU and the domain control ECU respectively obtain the upgrade task from the server. For the domain control ECU without the external network communication capability, after waiting for the domain control ECU with the external network communication capability to complete the download task, relying on the domain control ECU with the external network communication capability, obtain the ECU upgrade package through the intranet communication method, so as to realize distributed download of different domain control ECUs, and dynamically adjust the download content of the domain control ECU according to the network quality of the intranet communication; by analyzing and judging whether the domain control ECU has the external network communication capability, and relying on the domain control ECU with the external network communication capability, distributed download is carried out in parallel, so that the download task can be completed flexibly and efficiently.
[0089] The beneficial effect of the above technical solution is: by adopting the solution provided in this embodiment, the main control ECU and the domain control ECU obtain the upgrade task list in parallel, and complete the download task flexibly and efficiently, thereby improving the download efficiency.
[0090] In one embodiment, based on the first download task group and the second download task group, performing task upgrade includes:
[0091] Whether the domain control ECU has the ability to upgrade the ECU within the domain is judged and classified. If the domain control ECU has the ability to upgrade the ECU within the domain, it is classified as the first domain control ECU; if the domain control ECU does not have the ability to upgrade the ECU within the domain, it is classified as the second domain control ECU;
[0092] If the domain control ECU has the ability to upgrade the ECUs in the domain, then based on the first download task group and the second download task group, perform parallel upgrades on the ECUs in the first domain control ECU;
[0093] If the domain control ECU does not have the ability to upgrade the ECU in the domain, the upgrade program of the ECU in the second domain control ECU is flashed based on the first domain control ECU.
[0094] The working principle of the above technical solution is: in order to distinguish different upgrade capabilities, the present invention first determines whether the domain control ECU has the ability to upgrade the ECU within the domain. If the domain control ECU has the ability to upgrade the ECU within the domain, it is classified as the first domain control ECU; if the domain control ECU does not have the ability to upgrade the ECU within the domain, it is classified as the second domain control ECU; through classification, different types of domain control ECUs can be effectively divided so as to implement upgrade tasks in a targeted manner. If the domain control ECU has the ability to upgrade the ECU within the domain, then based on the first download task group and the second download task group, the ECU within the first domain control ECU is upgraded in parallel; if the domain control ECU does not have the ability to upgrade the ECU within the domain, based on the first domain control ECU, the upgrade program of the ECU in the second domain control ECU is flashed.
[0095] The beneficial effect of the above technical solution is: by adopting the solution provided in this embodiment, by judging and classifying whether the domain control ECU has the ability to upgrade the ECU within the domain, different types of domain control ECUs can be effectively divided so as to implement the upgrade task in a targeted manner.
[0096] In one embodiment, based on the first download task group and the second download task group, executing the task upgrade also includes: formulating several control process versions according to the download content of the ECU and the requirements of the adaptive parallel upgrade of the automobile system to control and implement the adaptive parallel upgrade process, and the specific steps are:
[0097] Based on the set cloud platform, obtain the download content of ECU and the demand for adaptive parallel upgrade of vehicle system;
[0098] According to the requirements of adaptive parallel upgrade of automobile systems, the upgrade duration data is obtained;
[0099] The number of ECU upgrade contents is clustered and divided based on a clustering algorithm to obtain several cluster combinations;
[0100] According to the cluster combination, combined with whether the first function of the domain control ECU has the ability to communicate with the external network and whether it has the ability to upgrade the ECU within the domain, a domain control execution combination of several domain control ECUs and the ECUs to which they belong is generated;
[0101] According to the upgrade duration data, combined with the parallel upgrade execution process of the main control ECU and the domain control execution combination, the BPM process engine and rule engine are used, and the microservice architecture is used as the basic architecture to generate several combined execution processes;
[0102] According to the combined execution process, several control process versions are formulated to carry out control implementation of the process for adaptive parallel upgrade.
[0103] The working principle of the above technical solution is as follows: in order to effectively control and implement the adaptive parallel upgrade process of the automobile, the present invention formulates several control process versions according to the download content of the ECU and the needs of the adaptive parallel upgrade of the automobile system. First, based on the set cloud platform, the download content of the ECU and the needs of the adaptive parallel upgrade of the automobile system are obtained; according to the needs of the adaptive parallel upgrade of the automobile system, the upgrade time duration data is obtained; then the number of upgrade contents of the ECU is clustered and divided based on the clustering algorithm to obtain several cluster combinations; according to the cluster combinations, combined with whether the first function of the domain control ECU has the ability to communicate with the external network and whether it has the ability to upgrade the ECU within the domain, several domain control execution combinations of the domain control ECU and the ECU to which it belongs are generated; finally, according to the upgrade time duration data, combined with the parallel upgrade execution process of the main control ECU and the domain control execution combination, the BPM process engine and the rule engine are adopted, and the microservice architecture is adopted as the basic architecture method to generate several combined execution processes; according to the combined execution process, several control process versions are formulated to control and implement the process of adaptive parallel upgrade.
[0104] The beneficial effect of the above technical solution is: by adopting the solution provided by this embodiment, the quality of controlling and implementing the vehicle adaptive parallel upgrade process can be improved by adjusting the download content of the ECU and the requirements of the vehicle system adaptive parallel upgrade.
[0105] Adaptive parallel upgrade system for automotive systems based on multi-domain control, such as Figure 3 As shown, including:
[0106] A configuration unit, configured to configure component modules in a network architecture for adaptive parallel upgrade of multiple domain controllers;
[0107] Setting and testing unit, to set and test the functions of component modules;
[0108] The upgrade execution unit performs adaptive parallel upgrade of the vehicle system based on the component modules after setting and testing the functions.
[0109] The working principle of the above technical solution is: in order to realize an adaptive parallel upgrade system for automobile systems based on multi-domain control, the present invention sets a configuration unit to configure the component modules in the network architecture for adaptive parallel upgrade of multi-domain control; sets a setting and testing unit to perform function setting and testing on the component modules; sets an upgrade execution unit to execute the adaptive parallel upgrade of the automobile system based on the component modules after setting and testing the functions.
[0110] The beneficial effects of the above technical solution are: by adopting the solution provided in this embodiment, the download upgrade and the upgrade process can be completed in a distributed manner on different domain controllers, optimizing the download process, reducing the download time, dynamically switching the upgrade master control program, improving the upgrade success rate, reducing the space, memory, and CPU requirements for a certain ECU, and reducing the production costs of automobile manufacturers.
[0111] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. An adaptive parallel upgrade method for automobile systems based on multi-domain control, characterized in that: include: Configure the components of the network architecture for adaptive parallel upgrade of multiple domain controllers; including: Configure the components in the network architecture, including: servers, gateways, multiple ECUs, a master control ECU, and multiple domain control ECUs; The connection relationship of the configuration component modules; the connection relationship is: the server is connected to the main control ECU and the domain control ECU respectively; the main control ECU is connected to the gateway, and the gateway is connected to the domain control ECU; the main control ECU is connected to multiple ECUs; the domain control ECU is connected to multiple ECUs; Functional settings and testing of component modules, including: Setting a first function of the domain control ECU, the first function includes: starting an execution program of the domain control ECU and registering information of the domain control ECU to the master control ECU, the information including but not limited to the type of the domain control, storage space, whether it has external network communication capability, and whether it has the capability to upgrade the ECU within the domain; The second function in the server is set, and the second function includes: generating an ECU upgrade task, wherein the ECU upgrade task includes multiple ECU upgrade packages, and the ECU upgrade package has an attribution feature and a channel ID feature, wherein the attribution feature is: the ECU upgrade package belongs to the connected domain control ECU, and the channel ID is: ECU upgrade packages with different channel IDs perform multi-threaded upgrade execution in the domain of the domain control ECU; The third function of the master control ECU is set, and the third function includes: obtaining an upgrade task from a server, and the upgrade task includes upgrade task information of multiple ECUs; Perform adaptive parallel upgrades of vehicle systems based on component modules after setting and testing functions; Perform adaptive parallel upgrades of vehicle systems based on component modules after setting and testing functions, including: The main control ECU independently obtains the upgrade task, executes the download process, and distributes the downloaded execution tasks to obtain the first download task group; The master control ECU and the domain control ECU obtain the upgrade task list in parallel, execute the download process, and obtain the second download task group; Based on the first download task group and the second download task group, performing task upgrade; The master ECU independently obtains the upgrade task, executes the download process, and distributes the downloaded execution tasks, including: The master control ECU determines whether the domain control ECU has the ability to communicate with the external network based on the acquired upgrade task. If the domain control ECU has the ability to communicate with the external network, the upgrade task is distributed to multiple domain control ECUs through the gateway according to the attribution characteristics of the ECU upgrade package in the upgrade task; if the domain control ECU does not have the ability to communicate with the external network, the master control ECU distributes the ECU upgrade package in the upgrade task to the master control ECU itself or the domain control ECU with the ability to communicate with the external network; The master ECU and domain control ECU obtain the upgrade task list in parallel and execute the download process, including: the master ECU and domain control ECU obtain the upgrade task from the server respectively. For the domain control ECU without external network communication capability, after waiting for the domain control ECU with external network communication capability to complete the download task, the domain control ECU with external network communication capability is relied on to obtain the ECU upgrade package through the intranet communication to realize distributed download of different domain control ECUs, and dynamically adjust the download content of the domain control ECU according to the network quality of the intranet communication.
2. The method for adaptive parallel upgrading of automobile systems based on multi-domain control according to claim 1, characterized in that: Functional setting and testing of component modules, including: Build a cloud platform for functional testing of component modules; Based on the processor in the cloud platform, set test instructions for functional testing of component modules; Perform functional tests on component modules according to test instructions to obtain test data; Using the set test data evaluation model, the download speed and upgrade execution accuracy of the download process data and the upgrade execution process data in the test data are evaluated to obtain an evaluation result; If the download speed in the evaluation result is within the set download speed range, or the upgrade execution accuracy is greater than the set accuracy threshold, the download and upgrade are executed based on the functional settings of the component modules; otherwise, the setting parameters that affect the download speed and upgrade execution accuracy are corrected and improved.
3. The method for adaptive parallel upgrading of automobile systems based on multi-domain control according to claim 1, characterized in that: Based on the first download task group and the second download task group, performing task upgrade includes: Whether the domain control ECU has the ability to upgrade the ECU within the domain is judged and classified. If the domain control ECU has the ability to upgrade the ECU within the domain, it is classified as the first domain control ECU; if the domain control ECU does not have the ability to upgrade the ECU within the domain, it is classified as the second domain control ECU; If the domain control ECU has the ability to upgrade the ECUs in the domain, then based on the first download task group and the second download task group, perform parallel upgrades on the ECUs in the first domain control ECU; If the domain control ECU does not have the ability to upgrade the ECU in the domain, the upgrade program of the ECU in the second domain control ECU is flashed based on the first domain control ECU.
4. The method for adaptive parallel upgrading of automobile systems based on multi-domain control according to claim 1, characterized in that: Based on the first download task group and the second download task group, executing the task upgrade also includes: formulating several control process versions according to the download content of the ECU and the requirements of the adaptive parallel upgrade of the automobile system to control and implement the adaptive parallel upgrade process. The specific steps are: Based on the set cloud platform, obtain the download content of ECU and the demand for adaptive parallel upgrade of vehicle system; According to the requirements of adaptive parallel upgrade of automobile systems, the upgrade duration data is obtained; The number of ECU upgrade contents is clustered and divided based on a clustering algorithm to obtain several cluster combinations; According to the cluster combination, combined with whether the first function of the domain control ECU has the ability to communicate with the external network and whether it has the ability to upgrade the ECU within the domain, a domain control execution combination of several domain control ECUs and the ECUs to which they belong is generated; According to the upgrade duration data, combined with the parallel upgrade execution process of the main control ECU and the domain control execution combination, the BPM process engine and rule engine are used, and the microservice architecture is used as the basic architecture to generate several combined execution processes; According to the combined execution process, several control process versions are formulated to carry out control implementation of the process for adaptive parallel upgrade.
5. The automotive system adaptive parallel upgrade system based on multi-domain control is characterized by: include: A configuration unit is used to configure the component modules in the network architecture for adaptive parallel upgrade of multiple domain controllers; including: Configure the components in the network architecture, including: servers, gateways, multiple ECUs, a master control ECU, and multiple domain control ECUs; The connection relationship of the configuration component modules; the connection relationship is: the server is connected to the main control ECU and the domain control ECU respectively; the main control ECU is connected to the gateway, and the gateway is connected to the domain control ECU; the main control ECU is connected to multiple ECUs; the domain control ECU is connected to multiple ECUs; The setup and test unit performs functional setup and testing on the component modules, including: Setting a first function of the domain control ECU, the first function includes: starting an execution program of the domain control ECU and registering information of the domain control ECU to the master control ECU, the information including but not limited to the type of the domain control, storage space, whether it has external network communication capability, and whether it has the capability to upgrade the ECU within the domain; The second function in the server is set, and the second function includes: generating an ECU upgrade task, wherein the ECU upgrade task includes multiple ECU upgrade packages, and the ECU upgrade package has an attribution feature and a channel ID feature, wherein the attribution feature is: the ECU upgrade package belongs to the connected domain control ECU, and the channel ID is: ECU upgrade packages with different channel IDs perform multi-threaded upgrade execution in the domain of the domain control ECU; The third function of the master control ECU is set, and the third function includes: obtaining an upgrade task from a server, and the upgrade task includes upgrade task information of multiple ECUs; The upgrade execution unit performs adaptive parallel upgrade of the vehicle system based on the component modules after setting and testing functions; Perform adaptive parallel upgrades of vehicle systems based on component modules after setting and testing functions, including: The main control ECU independently obtains the upgrade task, executes the download process, and distributes the downloaded execution tasks to obtain the first download task group; The master control ECU and the domain control ECU obtain the upgrade task list in parallel, execute the download process, and obtain the second download task group; Based on the first download task group and the second download task group, performing task upgrade; The master ECU independently obtains the upgrade task, executes the download process, and distributes the downloaded execution tasks, including: The master control ECU determines whether the domain control ECU has the ability to communicate with the external network based on the acquired upgrade task. If the domain control ECU has the ability to communicate with the external network, the upgrade task is distributed to multiple domain control ECUs through the gateway according to the attribution characteristics of the ECU upgrade package in the upgrade task; if the domain control ECU does not have the ability to communicate with the external network, the master control ECU distributes the ECU upgrade package in the upgrade task to the master control ECU itself or the domain control ECU with the ability to communicate with the external network; The master ECU and domain control ECU obtain the upgrade task list in parallel and execute the download process, including: the master ECU and domain control ECU obtain the upgrade task from the server respectively. For the domain control ECU without external network communication capability, after waiting for the domain control ECU with external network communication capability to complete the download task, the domain control ECU with external network communication capability is relied on to obtain the ECU upgrade package through the intranet communication to realize distributed download of different domain control ECUs, and dynamically adjust the download content of the domain control ECU according to the network quality of the intranet communication.
Citation Information
Patent Citations
Multi-domain parallel upgrade control method based on domain architecture vehicle type
CN117193815A
Self-adaptive vehicle OTA upgrading method and device
CN117435221A
Brushing method, device, system and equipment of electronic control unit, and storage medium
CN115733849A
Vehicle-mounted OTA parallel upgrading method and system for multiple subnets and multiple ECUs
CN116860300A