Remote upgrading method

By determining the upgrade priority according to the target vehicle's architecture network topology and upgrade requirements during the OTA upgrade, and implementing parallel upgrades, the problems of long flash time and high power consumption caused by serial flash are solved, and the OTA upgrade efficiency is improved. and system performance.

CN118642731APending Publication Date: 2024-09-13DONGFENG MOTOR GRP
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410809740.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-09-13

AI Technical Summary

Technical Problem

In the existing technology, OTA updates are performed through serial flashing methods, which results in long flashing time, high vehicle power consumption, and problems in improving OTA upgrade efficiency.

Method used

By obtaining the architecture network topology and upgrade requirements of the target vehicle, the upgrade priority is determined based on the information processing level, network segment, high and low voltage levels and upgrade package size of each target controller, and a remote upgrade strategy is generated to enable the same priority. Target controllers are upgraded in parallel.

Benefits of technology

It improves the efficiency and system performance of OTA upgrades, reduces vehicle power consumption, and prevents vehicle power feed-in.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118642731A
    Figure CN118642731A
Patent Text Reader

Abstract

The invention discloses a remote upgrading method, which is applied to a cloud platform, and comprises the following steps: acquiring a framework network topology and an upgrading demand of a target vehicle to be upgraded, and determining a plurality of target controllers needing to be upgraded in the framework network topology according to the upgrading demand; determining the upgrade priority of each target controller according to the information processing level, the belonging network segment, the high-low voltage level and the upgrade package size of each target controller; generating a remote upgrading strategy according to the upgrading priority of each target controller, and sending the remote upgrading strategy to the target vehicle, so that the target vehicle is remotely upgraded according to the remote upgrading strategy; the remote upgrading strategy comprises parallel upgrading of the target controllers belonging to the same upgrading priority. According to the invention, grade division of the upgrade priorities is carried out on the target controllers needing to be upgraded, so that the target controllers belonging to the same upgrade priority can be upgraded in parallel, the upgrade efficiency and the overall performance of the system are improved, the power consumption of the vehicle is reduced, and the vehicle is prevented from feeding.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of automobile upgrading, and in particular to a remote upgrading method. Background Art

[0002] Automotive OTA (Over-the-Air) is a technology for remote updates and upgrades via wireless networks, and is now widely used in the automotive industry. Automotive OTA can implement software updates, send security patch updates to vehicles, and fix potential vulnerabilities and weaknesses. The main purpose is to improve the functionality, performance, and safety of the vehicle, while providing users with a better experience. Automotive OTA can improve the security and stability of the system. However, in the related art, OTA updates are performed through a serial flashing method, which takes a long time to flash and consumes a lot of power. Therefore, how to improve the efficiency of vehicle OTA upgrades is an issue that needs to be solved urgently. Summary of the invention

[0003] The embodiment of the present application provides a remote upgrade method, which solves the technical problem in the prior art that OTA updates are performed through a serial flashing method, the flashing time is long, and the vehicle consumes a lot of power, thereby achieving the technical effect of improving the OTA upgrade efficiency of the vehicle.

[0004] In a first aspect, the present application provides a remote upgrade method, which is applied to a cloud platform, and the method includes:

[0005] Acquire the architecture network topology and upgrade requirements of the target vehicle to be upgraded, and determine multiple target controllers that need to be upgraded in the architecture network topology according to the upgrade requirements;

[0006] Determine the upgrade priority of each target controller according to its information processing level, network segment, high and low voltage levels, and upgrade package size;

[0007] A remote upgrade strategy is generated according to the upgrade priority of each target controller, and the remote upgrade strategy is sent to the target vehicle, so that the target vehicle is remotely upgraded according to the remote upgrade strategy; the remote upgrade strategy includes parallel upgrades of target controllers belonging to the same upgrade priority.

[0008] Furthermore, the upgrade priority of each target controller is determined according to the information processing level, network segment, high and low voltage level and upgrade package size of each target controller, including:

[0009] When the target controllers include a central controller, the central controller is placed at the lowest upgrade priority level, where the central controller refers to the controller in the target vehicle that communicates with the cloud platform;

[0010] The upgrade priority of each target controller except the central controller is positively correlated with the information processing level of each target controller;

[0011] The upgrade priorities of target controllers in different network segments are the same, and the upgrade priorities of target controllers in the same network segment are determined in the order of high voltage and low voltage intersection;

[0012] The upgrade priority of the target controllers that belong to the same network segment and have the same high and low voltage levels is negatively correlated with the size of the upgrade package corresponding to the target controller.

[0013] Furthermore, a remote upgrade strategy is generated according to the upgrade priority of each target controller, including:

[0014] Get the preset upgrade sub-duration of each target controller;

[0015] According to the preset upgrade sub-times of each target controller, determine the first target controller with the longest preset upgrade sub-time in each upgrade priority;

[0016] Using the preset upgrade sub-duration corresponding to the first target controller corresponding to each upgrade priority as the preset upgrade duration of the corresponding upgrade priority;

[0017] A remote upgrade strategy is generated according to the upgrade priority of each target controller and the preset upgrade duration corresponding to each upgrade priority.

[0018] Furthermore, a remote upgrade strategy is generated according to the upgrade priority of each target controller, including:

[0019] Get the preset upgrade sub-duration of each target controller;

[0020] According to the preset upgrade sub-durations of each target controller and the flashing channels corresponding to each target controller, the sum of the preset upgrade sub-durations of each target controller belonging to the same flashing channel is used as the first preset upgrade duration of the corresponding flashing channel;

[0021] The longest first preset upgrade duration among the first preset upgrade durations corresponding to the flashing channels is used as the preset total upgrade duration;

[0022] A remote upgrade strategy is generated according to the upgrade priority of each target controller and the preset total upgrade duration.

[0023] In a second aspect, the present application provides a remote upgrade method, which is applied to a target vehicle, and the method includes:

[0024] Receive remote upgrade strategies sent by the cloud platform;

[0025] Determine multiple target controllers that need to be upgraded in the target vehicle and the upgrade priority of each target controller according to the remote upgrade strategy;

[0026] The target controllers corresponding to the respective upgrade priorities are controlled to be upgraded in sequence from high to low upgrade priorities, and the target controllers belonging to the same upgrade priority are controlled to be upgraded in parallel.

[0027] Further, the target controllers corresponding to the respective upgrade priorities are controlled to be upgraded in order from high to low upgrade priorities, including:

[0028] Each target controller belonging to the same flash channel is upgraded in sequence according to the corresponding upgrade priority from high to low.

[0029] Furthermore, in the process of controlling the target controllers corresponding to the respective upgrade priorities to be upgraded in order from high to low upgrade priorities, and controlling the target controllers with the same upgrade priority to be upgraded in parallel, the method further includes:

[0030] The central controller of the target vehicle receives the Ethernet upgrade package of each target controller sent by the cloud platform;

[0031] A domain controller connected to the central controller and having at least one target controller connected thereto receives an Ethernet upgrade package corresponding to each target controller connected thereto from the central controller via Ethernet;

[0032] After the domain controller converts the received Ethernet upgrade package into the protocol upgrade package corresponding to each of the downstream target controllers, it sends each of the protocol upgrade packages to each of the downstream target controllers so that each of the downstream target controllers can upgrade using the corresponding protocol upgrade package.

[0033] Furthermore, a domain controller connected to the central controller and having at least one target controller connected thereto receives an Ethernet upgrade package corresponding to each target controller connected thereto from the central controller via Ethernet, including:

[0034] Establish multiple sockets between the central controller and the domain controllers;

[0035] The central controller sends Ethernet upgrade packets to the domain controllers in parallel through multiple sockets.

[0036] Furthermore, in the process of upgrading each target controller under the domain controller using the corresponding protocol upgrade package, the method further includes:

[0037] The domain controller monitors the status progress information of each target controller under it using the protocol upgrade package for upgrading, and uploads the status progress information to the central controller.

[0038] Furthermore, in the process of controlling the target controllers corresponding to the respective upgrade priorities to be upgraded in order from high to low upgrade priorities, and controlling the target controllers with the same upgrade priority to be upgraded in parallel, the method further includes:

[0039] When it is detected that the target controller to be adjusted has an upgrade error, the target controller to be adjusted is controlled to be upgraded again;

[0040] When the target controller to be adjusted still has an upgrade error after being re-upgraded for more than a preset number of times, the upgrade of the target controller to be adjusted is terminated, and an upgrade error report is generated and output to the cloud platform.

[0041] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:

[0042] The cloud platform of this embodiment obtains the architecture network topology and upgrade requirements of the target vehicle to be upgraded, and determines the multiple target controllers that need to be upgraded in the architecture network topology according to the upgrade requirements; then determines the upgrade priority of each target controller according to the information processing level, network segment, high and low voltage level and upgrade package size of each target controller; finally, generates a remote upgrade strategy according to the upgrade priority of each target controller, and sends the remote upgrade strategy to the target vehicle, so that the target vehicle is remotely upgraded according to the remote upgrade strategy; the remote upgrade strategy includes parallel upgrades of target controllers with the same upgrade priority. It can be seen that this embodiment can classify the upgrade priority levels of each target controller that needs to be upgraded based on the architecture network topology and upgrade requirements, and formulate corresponding remote upgrade strategies, so that target controllers with the same upgrade priority can be flashed and upgraded in parallel, thereby improving the flashing efficiency and the overall performance of the system, reducing the power consumption of the vehicle, and preventing the vehicle from being fed back.

[0043] The target vehicle of this embodiment receives the remote upgrade strategy sent by the cloud platform; then, according to the remote upgrade strategy, multiple target controllers that need to be upgraded in the target vehicle and the upgrade priority of each target controller are determined; finally, the target controllers corresponding to each upgrade priority are controlled to be upgraded in order from high to low, and the target controllers with the same upgrade priority are controlled to be upgraded in parallel. It can be seen that this embodiment is based on the level division of the upgrade priority that has been formulated in the remote upgrade strategy, and the remote online upgrade of the target controller is performed in the order of the upgrade priority. The target controllers with the same upgrade priority can be flashed and upgraded in parallel, which improves the flashing efficiency and the overall performance of the system, reduces the power consumption of the vehicle, and prevents the vehicle from being fed. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0045] Figure 1 A flowchart of a remote upgrade method provided in this embodiment;

[0046] Figure 2 A schematic diagram of the structure of the network topology provided in this embodiment;

[0047] Figure 3 A flowchart of another remote upgrade method provided in this embodiment;

[0048] Figure 4 A schematic diagram of the structure of establishing multiple sockets between the OTA Master and the domain controller provided in this embodiment. DETAILED DESCRIPTION

[0049] The embodiment of the present application provides a remote upgrade method to solve the technical problem in the prior art that OTA update is performed through a serial flashing method, the flashing time is long, and the vehicle consumes a lot of power.

[0050] The technical solution of the embodiment of the present application is to solve the above technical problems, and the overall idea is as follows:

[0051] A remote upgrade method is applied to a cloud platform, and the method includes: obtaining an architecture network topology and upgrade requirements of a target vehicle to be upgraded, and determining multiple target controllers that need to be upgraded in the architecture network topology according to the upgrade requirements; determining the upgrade priority of each target controller according to the information processing level, network segment, high and low voltage level, and upgrade package size of each target controller; generating a remote upgrade strategy according to the upgrade priority of each target controller, and sending the remote upgrade strategy to the target vehicle, so that the target vehicle is remotely upgraded according to the remote upgrade strategy; the remote upgrade strategy includes parallel upgrades of target controllers with the same upgrade priority.

[0052] The cloud platform of this embodiment obtains the architecture network topology and upgrade requirements of the target vehicle to be upgraded, and determines the multiple target controllers that need to be upgraded in the architecture network topology according to the upgrade requirements; then determines the upgrade priority of each target controller according to the information processing level, network segment, high and low voltage level and upgrade package size of each target controller; finally, generates a remote upgrade strategy according to the upgrade priority of each target controller, and sends the remote upgrade strategy to the target vehicle, so that the target vehicle is remotely upgraded according to the remote upgrade strategy; the remote upgrade strategy includes parallel upgrades of target controllers with the same upgrade priority. It can be seen that this embodiment can classify the upgrade priority levels of each target controller that needs to be upgraded based on the architecture network topology and upgrade requirements, and formulate corresponding remote upgrade strategies, so that target controllers with the same upgrade priority can be flashed and upgraded in parallel, thereby improving the flashing efficiency and the overall performance of the system, reducing the power consumption of the vehicle, and preventing the vehicle from being fed back.

[0053] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0054] First of all, the term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0055] This embodiment provides Figure 1 A remote upgrade method shown is applied to a cloud platform, which can communicate with multiple vehicles. When any target vehicle among the multiple vehicles has an upgrade requirement, the cloud platform can execute steps S11 to S13, so that the target vehicle can be remotely upgraded online.

[0056] Step S11, obtaining the architecture network topology and upgrade requirements of the target vehicle to be upgraded, and determining multiple target controllers that need to be upgraded in the architecture network topology according to the upgrade requirements;

[0057] Step S12, determining the upgrade priority of each target controller according to the information processing level, network segment, high and low voltage level and upgrade package size of each target controller;

[0058] Step S13, generating a remote upgrade strategy according to the upgrade priority of each target controller, and sending the remote upgrade strategy to the target vehicle, so that the target vehicle is remotely upgraded according to the remote upgrade strategy; the remote upgrade strategy includes parallel upgrades of target controllers with the same upgrade priority.

[0059] Regarding step S11, the architecture network topology and upgrade requirements of the target vehicle to be upgraded are obtained, and multiple target controllers that need to be upgraded in the architecture network topology are determined according to the upgrade requirements.

[0060] The vehicle's architecture network topology can be determined based on actual conditions. Figure 2 As shown, the architecture network topology of the target vehicle provided in this embodiment includes an intelligent cockpit platform, an intelligent vehicle control platform (with an OTA Master component deployed inside), an intelligent driving platform and its subordinate ECU (Electronic Control Unit), a left area controller and its subordinate ECU, and a right area controller and its subordinate ECU.

[0061] When the design of the automobile system changes or the functions need to be expanded and updated, the architecture network topology can be modified, that is, the controller required by the vehicle system design is changed accordingly. For example, a fuel vehicle is equipped with an engine controller, but the pure electric vehicle does not need an engine controller. Then the architecture network topology of the pure electric vehicle needs to subtract the engine controller ECU and its related communication channels. In addition, the architecture network topology of the pure electric vehicle needs to add a power battery management system controller and corresponding communication channels, and deploy it under the corresponding network segment to complete the change of the network topology diagram. For another example, compared with model A, model B has added an intelligent driving assistance system, so it is necessary to add controllers, sensors and other components related to the intelligent driving assistance system, including but not limited to camera controllers, radar controllers, lidar controllers, GPS controllers, etc., and deploy the controllers, sensors and other components related to the intelligent driving assistance system under the corresponding intelligent driving domain control platform, and add communication channels so that it can receive data from other ECUs to complete the change of the network topology diagram.

[0062] This embodiment only Figure 2 The architecture network topology shown is used as an example for subsequent explanation.

[0063] The upgrade requirements of the target vehicle may include the target controllers that need to be upgraded, the number of target controllers, the size of the upgrade packages corresponding to each target controller, etc., which can be set and adjusted according to the actual situation. In this embodiment, the controllers that need to be upgraded in the architecture network topology of the target vehicle are recorded as target controllers. Figure 2 Each controller shown needs to be upgraded, that is Figure 2 Each controller in is a target controller.

[0064] Regarding step S12, the upgrade priority of each target controller is determined according to the information processing level, the network segment, the high and low voltage levels, and the size of the upgrade package of each target controller.

[0065] First, explain the information processing level, network segment, high and low voltage levels, and upgrade package size.

[0066] The information processing level of the target controller may refer to the authority level of the controller to process information, which may be determined from the architecture network topology of the target vehicle. Figure 2 In the architecture network topology of the target vehicle shown, the target vehicle communicates with the cloud platform through its own intelligent vehicle control platform, so the authority level of the intelligent vehicle control platform can be considered as the controller with the highest authority level for processing information in the target vehicle; and the intelligent cockpit platform, intelligent driving platform, left area controller and right area controller that directly communicate with the intelligent vehicle control platform in the architecture network topology can be considered as the controllers in the target vehicle whose authority level for processing information is second only to the intelligent vehicle control platform; and the information processing authority level of the ECU under the left area controller is lower than the authority level of the left area controller for processing information, and the information processing authority level of the ECU under the right area controller is lower than the authority level of the right area controller for processing information.

[0067] As shown in Table 1, Figure 2 The information processing level division of each target controller.

[0068] Table 1

[0069]

[0070] The network segment to which the target controller belongs is determined based on the actual network topology of the architecture. Figure 2 The network segment identifiers on the connection lines between the target controllers can be determined Figure 2 The types of network segments to which each target controller belongs shown in include Ethernet segment, CAN1, CAN2, CAN3, CAN4, CANFD1, CANFD2, and LIN segment.

[0071] High and low voltage levels mainly refer to the high and low voltage control levels between various ECUs in the same network segment. The high and low voltage levels can be determined based on the actual high and low voltage control levels of each ECU in each network segment.

[0072] The upgrade package size can be determined from the upgrade requirements of the target vehicle.

[0073] Then, the upgrade priority of each target controller is determined according to the information processing level, network segment, high and low voltage level and upgrade package size of each target controller. This process may include steps S1211 to S1214.

[0074] Step S1211, when the target controllers include a central controller, the central controller is placed at the lowest level of upgrade priority, and the central controller refers to the controller in the target vehicle that communicates with the cloud platform.

[0075] Regarding step S1211, this embodiment records the controller in the target vehicle that communicates with the cloud platform as the central controller. When the central controller is also in need of an upgrade of the target vehicle, this embodiment places the upgrade priority of the central controller at the lowest level. That is, the central controller can only be upgraded after all other target controllers in the architecture network topology have completed the upgrade.

[0076] Control other target controllers to upgrade first and the central controller to upgrade last. This can ensure that the stability of the central controller is high during the upgrade of other target controllers. Then, the upgrade process of other target controllers will not be affected or even interrupted due to the upgrade error of the central controller.

[0077] If the central controller is upgraded first and then other target controllers are upgraded, if the central controller fails to upgrade, then other target controllers cannot be upgraded normally, because other target controllers can only be upgraded when the central controller is working normally. In addition, if the central controller is upgraded first and then other target controllers are upgraded, even if the central controller is upgraded successfully, there may be communication failures or inability to communicate and coordinate normally with other target controllers before the upgrade, resulting in poor stability between the central controller and other target controllers, which will prolong the upgrade time of the remote upgrade process of the target vehicle, reduce efficiency, and increase the risk of upgrade failure.

[0078] Therefore, upgrading the central controller last can ensure a smoother upgrade process, improve upgrade efficiency, and reduce the risk of upgrade failure of other target controllers. Figure 2 The central controller in the system is the intelligent vehicle control platform.

[0079] Step S1212: the upgrade priority of each target controller except the central controller is positively correlated with the information processing level of each target controller.

[0080] Regarding step S1212, when there is a central controller among the target controllers, the upgrade priority of each target controller except the central controller is positively correlated with the information processing level of each target controller. That is, the higher the information processing level of other target controllers except the central controller, the higher the upgrade priority.

[0081] For example, Figure 2The information processing level in is as shown in the above Table 1, then the upgrade priority determined according to step S1211 and step S1212 should be as shown in Table 2, the target controller with medium information processing level has the highest upgrade priority, the target controller with the lowest information processing level has the second highest upgrade priority, and the central controller with the highest information processing level (i.e., the intelligent vehicle control platform) has the lowest upgrade priority according to step S1211. For example, for the intelligent driving platform and its ECU1-ECU4, the intelligent driving platform has control over the ECUs, and ECU1-ECU4 need to be upgraded and updated under the control of the intelligent driving platform. Therefore, the intelligent driving platform needs to be upgraded first, and then the ECUs can be upgraded. Such upgrade efficiency is relatively high.

[0082] Table 2

[0083]

[0084] Step S1213: the target controllers in different network segments have the same upgrade priority, and the target controllers in the same network segment determine the upgrade priority in the order of high voltage and low voltage intersection.

[0085] Regarding step S1213, it is mainly aimed at each ECU (also belonging to the target controller) hanging under some target controllers, for example, Figure 2 The ECUs connected to the CAN1, CAN2, CAN3, CAN4, CANFD1, CANFD2 and LIN network segments. The upgrade priorities of target controllers in different network segments are the same. For example, the ECUs connected to CANFD1 and CANFD2 belong to different network segments, so the upgrade priorities of the ECUs in the two network segments are the same. Furthermore, for target controllers in the same network segment, the upgrade priority is determined according to the order of high voltage and low voltage crossover. In CANFD1, ECU1 is high voltage and ECU2 is low voltage, so the upgrade priority of ECU1 is higher than that of ECU2. Cross-upgrade of high-voltage and low-voltage ECUs can reduce the probability of low-voltage ECUs failing to complete the upgrade due to power outage after all high-voltage ECUs have been upgraded.

[0086] Therefore, combining steps S1211 to S1213, Figure 2 The upgrade priority of each target controller of the architecture network topology shown in is shown in Table 3. Among them, the high and low voltage levels of the CAN3 network segment are set as ECU9>ECU10>ECU11>ECU12.

[0087] Table 3

[0088]

[0089] Step S1214 , the upgrade priority of the target controllers that belong to the same network segment and have the same high and low voltage levels is negatively correlated with the size of the upgrade package corresponding to the target controller.

[0090] Regarding step S1214, when there are at least two target controllers in the same network segment with the same high and low voltage levels, the upgrade priority is determined according to the upgrade package sizes of the at least two target controllers, and the upgrade priority of the target controller with a smaller upgrade package is higher. For example, when the high and low voltage levels of the CAN3 network segment are set to ECU9=ECU10=ECU11=ECU12, and the upgrade package sizes are ECU9>ECU10>ECU11>ECU12, the corresponding upgrade priority is ECU12>ECU11>ECU10>ECU9.

[0091] Regarding step S13, a remote upgrade strategy is generated according to the upgrade priority of each target controller, and the remote upgrade strategy is sent to the target vehicle, so that the target vehicle is remotely upgraded according to the remote upgrade strategy; the remote upgrade strategy includes parallel upgrades of target controllers with the same upgrade priority.

[0092] Generate a remote upgrade strategy according to the upgrade priority of each target controller. The remote upgrade strategy may include the order of the upgrade priorities of each target controller, the upgrade packages of each target controller, the upgrade duration of each target controller, the total duration of the target vehicle to complete the upgrade, etc. The cloud platform sends the remote upgrade strategy to the target vehicle so that the target vehicle can perform remote online upgrades according to the remote upgrade strategy. During the upgrade process, target controllers with the same upgrade priority can be upgraded in parallel. For example, as shown in Table 3, ECU6, ECU8, ECU11, ECU14, and ECU16 of the third priority can be upgraded in parallel during the same period.

[0093] In summary, the cloud platform of this embodiment obtains the architecture network topology and upgrade requirements of the target vehicle to be upgraded, and determines the multiple target controllers that need to be upgraded in the architecture network topology according to the upgrade requirements; then determines the upgrade priority of each target controller according to the information processing level, network segment, high and low voltage level and upgrade package size of each target controller; finally, generates a remote upgrade strategy according to the upgrade priority of each target controller, and sends the remote upgrade strategy to the target vehicle, so that the target vehicle is remotely upgraded according to the remote upgrade strategy; the remote upgrade strategy includes parallel upgrades of target controllers with the same upgrade priority. It can be seen that this embodiment can classify the upgrade priority levels of each target controller that needs to be upgraded based on the architecture network topology and upgrade requirements, and formulate corresponding remote upgrade strategies, so that target controllers with the same upgrade priority can be flashed and upgraded in parallel, thereby improving the flashing efficiency and the overall performance of the system, reducing the power consumption of the vehicle, and preventing the vehicle from being fed back.

[0094] Furthermore, the total time required to complete the upgrade of the target vehicle in the remote upgrade strategy can be calculated using the following method 1 or method 2.

[0095] [Method 1] includes steps S1311 to S1314.

[0096] Step S1311, obtaining the preset upgrade sub-duration of each target controller;

[0097] Step S1312, determining the first target controller with the longest preset upgrade sub-time length among the upgrade priorities according to the preset upgrade sub-time lengths of the target controllers;

[0098] Step S1313, using the preset upgrade sub-duration corresponding to the first target controller corresponding to each upgrade priority as the preset upgrade duration of the corresponding upgrade priority;

[0099] Step S1314: Generate a remote upgrade strategy according to the upgrade priority of each target controller and the preset upgrade duration corresponding to each upgrade priority.

[0100] The preset upgrade sub-duration of each target controller itself can be determined according to its upgrade volume. In combination with the upgrade priority and preset upgrade sub-duration of each target controller, the first target controller with the longest preset upgrade sub-duration in each upgrade priority can be determined. All target controllers in the upgrade priority can be upgraded in parallel at the same time. The first target controller takes the longest time to upgrade. Then, usually when the upgrade of the first target controller is completed, it is theoretically considered that all other target controllers in the upgrade priority have been upgraded. Therefore, the preset upgrade sub-duration of the first target controller can be simply used as the upgrade time required for the upgrade priority.

[0101] The preset upgrade sub-durations of the first target controllers corresponding to each upgrade priority are added together to obtain the total upgrade duration (i.e., preset upgrade duration) completed by all target controllers in the target vehicle. Then, a remote upgrade strategy is generated according to the upgrade priority of each target controller and the preset upgrade duration corresponding to each upgrade priority.

[0102] It can be seen that the first method is to upgrade in order according to each upgrade priority. When all target controllers of the previous upgrade priority have completed the upgrade, all target controllers of the next upgrade priority will be upgraded. However, in the actual operation process, each flashing channel can continue to flash and upgrade as long as it is idle. In order to further improve the flashing efficiency, after the upgrade of some target controllers of the previous upgrade priority has been completed, the idle flashing channel can be used to start the upgrade process of some target controllers of the next upgrade priority (these target controllers refer to the target controllers belonging to the idle flashing channel). In this case, the total duration of the upgrade completed by the corresponding target vehicle can be calculated using the second method.

[0103] [Method 2] includes steps S1321 to S1324.

[0104] Step S1321, obtaining the preset upgrade sub-duration of each target controller;

[0105] Step S1322, according to the preset upgrade sub-durations of each target controller and the flashing channels corresponding to each target controller, the sum of the preset upgrade sub-durations of each target controller belonging to the same flashing channel is used as the first preset upgrade duration of the corresponding flashing channel;

[0106] Step S1323, taking the longest first preset upgrade duration among the first preset upgrade durations corresponding to the flashing channels as the preset total upgrade duration;

[0107] Step S1324: Generate a remote upgrade strategy according to the upgrade priority of each target controller and the preset total upgrade duration.

[0108] For example, Figure 2 As shown, ECU5 and ECU6 are flashed using the same flashing channel. When ECU5 is flashed, the flashing channel is not idle. After ECU5 finishes flashing, its flashing channel is idle, and the flashing of ECU6 can continue.

[0109] Therefore, in this embodiment, the preset upgrade sub-durations of each target controller belonging to the same flashing channel are added together as the first preset upgrade duration of the flashing channel. Since each flashing channel can be flashed in parallel at the same time, the longest first preset upgrade duration among the first preset upgrade durations in each flashing channel can be used as the preset total upgrade duration. Then, a remote upgrade strategy is generated according to the upgrade priority of each target controller and the preset total upgrade duration.

[0110] It can be seen that the calculation method of method 2 is more in line with the actual upgrade process, and the calculated duration is more accurate. In actual operation, you can choose the appropriate method from method 1 and method 2 for calculation according to the accuracy requirement of the upgrade duration.

[0111] Based on the same inventive concept, this embodiment provides Figure 3 A remote upgrade method is shown, which is applied to a target vehicle, and includes steps S31 to S33.

[0112] Step S31, receiving a remote upgrade strategy sent by a cloud platform;

[0113] Step S32, determining multiple target controllers that need to be upgraded in the target vehicle and the upgrade priority of each target controller according to the remote upgrade strategy;

[0114] Step S33 , controlling the target controllers corresponding to the respective upgrade priorities to be upgraded in order from high to low upgrade priorities, and controlling the target controllers with the same upgrade priority to be upgraded in parallel.

[0115] The central controller of the target vehicle receives the remote upgrade strategy sent by the cloud platform, and then the central controller can determine the multiple target controllers that need to be upgraded in the target vehicle and the upgrade priority of each target controller according to the remote upgrade strategy. Then the central controller and / or other target controllers with higher information processing levels can control the target controllers corresponding to each upgrade priority to be upgraded in order from high to low upgrade priority, and control the target controllers with the same upgrade priority to be upgraded in parallel.

[0116] Specifically, each target controller belonging to the same flashing channel can be controlled to be upgraded in descending order of corresponding upgrade priorities. When an idle channel is detected in each flashing channel, the target controller with the next upgrade priority where the idle channel is located is controlled to continue upgrading.

[0117] For example, Figure 2 As shown, ECU5 and ECU6 are flashed using the same flashing channel. When ECU5 is flashing, the flashing channel is not idle. After ECU5 finishes flashing, the left area controller detects that the flashing channel is idle and can continue to control ECU6 to flash.

[0118] Specifically, the central controller of the target vehicle receives the Ethernet upgrade package of each target controller sent by the cloud platform. A domain controller (e.g. Figure 2 The domain controller receives the Ethernet upgrade packages corresponding to the target controllers from the central controller via Ethernet. After the domain controller converts the received Ethernet upgrade packages into the protocol upgrade packages corresponding to the target controllers, the domain controller sends the protocol upgrade packages to the target controllers, so that the target controllers can upgrade using the corresponding protocol upgrade packages.

[0119] For example, the left area controller converts the Ethernet DoIP message of ECU5 to be flashed into a CAN message through the protocol stack, and then forwards it to ECU5 for upgrading. This eliminates the need to forward it through a gateway, reducing data frame loss. The intelligent driving platform converts the Ethernet DoIP message of ECU1 to be flashed into a LIN message through the protocol stack, and then forwards it to ECU1 for upgrading. This eliminates the need to forward it through a gateway, reducing data frame loss.

[0120] Among them, a domain controller connected to the central controller and having at least one target controller hung thereon receives Ethernet upgrade packages corresponding to each target controller hung thereon from the central controller via Ethernet, including: establishing multiple sockets between the central controller and the domain controller; the central controller sends the Ethernet upgrade packages to the domain controller in parallel via multiple sockets.

[0121] For example, Figure 4 As shown in the figure, the OTA Master deployed inside the intelligent vehicle control platform establishes a connection with the domain controller in the car by establishing 4 sockets. The logical address is the unique identifier of the domain controller in the vehicle network and is used to communicate with the OTA Master. The OTA Master can distribute different data to different sockets to send them to the domain controller in the car at the same time, so as to transmit data in parallel, which can reduce the overall communication time and improve the response speed of the system. The priority of sending data in parallel through the socket is determined by the order of the upgrade priority, and the ECU data is transmitted in the order of the upgrade priority.

[0122] During the process of upgrading each target controller under the domain controller using the corresponding protocol upgrade package, the domain controller monitors the status progress information of the upgrade of each target controller under the domain controller using the protocol upgrade package, and uploads the status progress information to the central controller so that the user can understand the upgrade progress in time.

[0123] In the process of controlling the target controllers corresponding to each upgrade priority to be upgraded in order from high to low upgrade priority, and controlling the target controllers with the same upgrade priority to be upgraded in parallel, when an upgrade error is detected in the target controller to be adjusted, the target controller to be adjusted is controlled to be upgraded again; when the target controller to be adjusted is re-upgraded more than the preset number of times and still has an upgrade error, the upgrade update of the target controller to be adjusted is terminated, and an upgrade error report is generated and output to the cloud platform. When an upgrade error occurs, it is automatically re-upgraded, so that the upgrade error can be handled in time, the waiting time during the upgrade error process is reduced, and the probability of human intervention is reduced. When the number of re-upgrades is large, the upgrade is stopped, and an upgrade error report is generated and output to the cloud platform to wait for human intervention and solve the upgrade error in time, so as to successfully upgrade as soon as possible.

[0124] In summary, the target vehicle of this embodiment receives the remote upgrade strategy sent by the cloud platform; then, according to the remote upgrade strategy, multiple target controllers that need to be upgraded in the target vehicle and the upgrade priority of each target controller are determined; finally, the target controllers corresponding to each upgrade priority are controlled to be upgraded in order from high to low, and the target controllers with the same upgrade priority are controlled to be upgraded in parallel. It can be seen that this embodiment is based on the hierarchical division of the upgrade priority that has been formulated in the remote upgrade strategy, and the remote online upgrade of the target controller is performed in the order of the upgrade priority. The target controllers with the same upgrade priority can be flashed and upgraded in parallel, which improves the flashing efficiency and the overall performance of the system, reduces the power consumption of the vehicle, and prevents the vehicle from being fed.

[0125] Since the electronic device introduced in this embodiment is an electronic device used to implement the information processing method in the embodiment of the present application, based on the information processing method introduced in the embodiment of the present application, a person skilled in the art can understand the specific implementation of the electronic device of the present embodiment and its various variations, so how the electronic device implements the method in the embodiment of the present application is not described in detail here. As long as a person skilled in the art implements the electronic device used by the information processing method in the embodiment of the present application, it belongs to the scope of protection of this application.

[0126] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product 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 code.

[0127] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to 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 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 device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing 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.

[0128] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising 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.

[0129] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0130] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other 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 present invention.

[0131] 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. A remote upgrade method, characterized in that: Applied to a cloud platform, the method includes: Acquire an architecture network topology and an upgrade requirement of a target vehicle to be upgraded, and determine a plurality of target controllers that need to be upgraded in the architecture network topology according to the upgrade requirement; Determine the upgrade priority of each target controller according to the information processing level, network segment, high and low voltage level and upgrade package size of each target controller; A remote upgrade strategy is generated according to the upgrade priority of each target controller, and the remote upgrade strategy is sent to the target vehicle, so that the target vehicle is remotely upgraded according to the remote upgrade strategy; the remote upgrade strategy includes parallel upgrades of the target controllers belonging to the same upgrade priority.

2. The method according to claim 1, characterized in that Determining the upgrade priority of each target controller according to the information processing level, network segment, high and low voltage level and upgrade package size of each target controller includes: When each of the target controllers includes a central controller, placing the central controller at the lowest level of the upgrade priority, the central controller being a controller in the target vehicle that communicates with the cloud platform; The upgrade priority of each of the target controllers except the central controller is positively correlated with the information processing level of each of the target controllers; The upgrade priorities of the target controllers in different network segments are the same, and the upgrade priorities of the target controllers in the same network segment are determined in the order of high voltage and low voltage intersection; The upgrade priority of the target controller that belongs to the same network segment and has the same high and low voltage levels is negatively correlated with the size of the upgrade package corresponding to the target controller.

3. The method according to claim 1, characterized in that Generating a remote upgrade strategy according to the upgrade priority of each target controller includes: Obtaining a preset upgrade sub-duration of each of the target controllers; According to the preset upgrade sub-time lengths of the respective target controllers, determining a first target controller having the longest preset upgrade sub-time length among the respective upgrade priorities; Using the preset upgrade sub-duration corresponding to the first target controller corresponding to each of the upgrade priorities as the preset upgrade duration corresponding to the upgrade priority; The remote upgrade strategy is generated according to the upgrade priority of each target controller and the preset upgrade duration corresponding to each upgrade priority.

4. The method according to claim 1, characterized in that Generating a remote upgrade strategy according to the upgrade priority of each target controller includes: Obtaining a preset upgrade sub-duration of each of the target controllers; According to the preset upgrade sub-durations of each of the target controllers and the flashing channels respectively corresponding to each of the target controllers, the sum of the preset upgrade sub-durations of each of the target controllers belonging to the same flashing channel is used as the first preset upgrade duration of the corresponding flashing channel; The longest of the first preset upgrade durations respectively corresponding to the flashing channels is used as the preset total upgrade duration; The remote upgrade strategy is generated according to the upgrade priority of each target controller and the preset total upgrade duration.

5. A remote upgrade method, characterized in that: Applied to a target vehicle, the method comprises: Receive remote upgrade strategies sent by the cloud platform; Determine, according to the remote upgrade strategy, a plurality of target controllers in the target vehicle that need to be upgraded and an upgrade priority of each of the target controllers; The target controllers corresponding to the respective upgrade priorities are controlled to be upgraded in sequence according to the upgrade priorities from high to low, and the target controllers belonging to the same upgrade priority are controlled to be upgraded in parallel.

6. The method according to claim 5, characterized in that The controlling the target controllers corresponding to the upgrade priorities to be upgraded in sequence according to the upgrade priorities from high to low includes: The target controllers belonging to the same flashing channel are controlled to be upgraded in sequence according to the corresponding upgrade priorities from high to low.

7. The method according to claim 5, characterized in that In the process of controlling the target controllers corresponding to the upgrade priorities to be upgraded in order from high to low upgrade priorities, and controlling the target controllers of the same upgrade priority to be upgraded in parallel, the method further includes: The central controller of the target vehicle receives the Ethernet upgrade package of each target controller sent by the cloud platform; A domain controller connected to the central controller and having at least one of the target controllers connected thereto receives an Ethernet upgrade package corresponding to each of the target controllers connected thereto from the central controller via Ethernet; After the domain controller converts the received Ethernet upgrade package into a protocol upgrade package corresponding to each of the target controllers hanging down, each of the protocol upgrade packages is sent to each of the target controllers hanging down, so that each of the target controllers hanging down can use the corresponding protocol upgrade package to upgrade.

8. The method according to claim 7, characterized in that The domain controller connected to the central controller and having at least one of the target controllers connected thereto receives an Ethernet upgrade package corresponding to each of the target controllers connected thereto from the central controller via Ethernet, including: establishing a plurality of sockets between the central controller and the domain controllers; The central controller sends the Ethernet upgrade packets to the domain controllers in parallel through the multiple sockets.

9. The method according to claim 7, characterized in that In the process of upgrading each of the target controllers under the domain controller using the corresponding protocol upgrade package, the method further includes: The domain controller monitors the status progress information of each of the target controllers connected thereto for upgrading using the protocol upgrade package, and uploads the status progress information to the central controller.

10. The method according to claim 5, characterized in that In the process of controlling the target controllers corresponding to the upgrade priorities to be upgraded in order from high to low upgrade priorities, and controlling the target controllers of the same upgrade priority to be upgraded in parallel, the method further includes: When an upgrade error occurs in the target controller to be adjusted, controlling the target controller to be adjusted to be upgraded again; When the target controller to be adjusted still has an upgrade error after being re-upgraded for more than a preset number of times, the upgrade of the target controller to be adjusted is terminated, and an upgrade error report is generated and output to the cloud platform.

Citation Information

Cited By

  • OTA upgrading method, device and equipment, medium and vehicle

    CN120568312A