Vehicle OTA upgrade progress calculation method and system and vehicle

By receiving upgrade task metadata from the cloud at the vehicle end, dividing the upgrade groups and calculating the group duration and proportion, and combining the real-time progress to calculate the vehicle OTA upgrade progress, the problem of inaccurate upgrade progress calculation in the existing technology is solved, and a smoother and more predictable upgrade experience is achieved.

CN121636307APending Publication Date: 2026-03-10BEIJING CAVAN NEW ENERGY AUTOMOTIVE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-31
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

In existing technologies, the methods for calculating the progress of vehicle OTA upgrades ignore the constraints on the upgrade order between ECUs and the logic of parallel upgrades, resulting in calculation results that are seriously inconsistent with the actual situation and cannot provide accurate feedback on the upgrade progress.

Method used

By receiving upgrade task metadata from the cloud, multiple upgrade groups and their execution order are determined, and the group duration and proportion of each upgrade group are calculated. Combined with the real-time installation progress, the vehicle OTA upgrade progress is calculated, and the total progress weight is allocated according to the actual time consumed by each group to ensure the smoothness and accuracy of progress feedback.

Benefits of technology

It enables precise calculation of vehicle OTA upgrade progress, avoiding the phenomenon of fast progress in the early stage and lag in the later stage, providing users with smoother and more predictable progress feedback, and improving the safety and energy efficiency of the upgrade process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121636307A_ABST
    Figure CN121636307A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle OTA upgrade progress calculation method and system and a vehicle wherein the vehicle OTA upgrade progress calculation method is executed by a vehicle end of the vehicle and receives upgrade task metadata of an upgrade task from a cloud end; based on the upgrade task metadata, determining a plurality of upgrade groups and an execution sequence thereof, calculating the group duration of each upgrade group, and calculating the proportion of each group duration in the total estimated duration; sequentially executing the plurality of upgrading groups according to the execution sequence; in the upgrading process, calculating the in-group real-time progress of the upgrading group according to the real-time installation progress of each electronic control unit in the currently executed upgrading group; according to the proportion corresponding to the currently executed upgrade group and the in-group real-time progress, the vehicle OTA upgrade progress is calculated; therefore, the upgrading process is divided into a plurality of stages and groups, and the total progress weight is distributed according to the actual time consumption ratio of each group, so that the progress bar is highly matched with the real time consumption, and smoother and more predictable progress feedback can be provided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle technology, and in particular to a method, system, and vehicle for calculating vehicle OTA upgrade progress. Background Technology

[0002] With the rapid development of intelligent connected vehicles, the number and software complexity of on-board ECUs (Electronic Control Units) have increased dramatically. Over-the-Air (OTA) technology has become a standard function for the coordinated upgrading of multiple ECUs in a vehicle. Over-the-Air (OTA) upgrades are complex systems engineering projects that typically involve dozens of ECUs. To ensure the safety, reliability and efficiency of the upgrade process, the cloud needs to arrange a reasonable upgrade sequence, and the vehicle needs to accurately provide users with feedback on the upgrade progress.

[0003] Currently, most existing OTA upgrade progress calculation methods simply sum up the upgrade times of all ECUs and distribute the total time equally among each ECU. This method completely ignores the complex logic of upgrade order constraints and parallel upgrades between ECUs, resulting in a serious discrepancy between the progress calculation and the actual situation. Summary of the Invention

[0004] This invention aims to solve at least one of the technical problems existing in the prior art. Therefore, the purpose of this invention is to provide a method, system, vehicle, and storage medium for calculating vehicle OTA upgrade progress.

[0005] This invention proposes a method for calculating the OTA upgrade progress of a vehicle, executed by the vehicle's on-board unit. The method includes: receiving upgrade task metadata from the cloud, wherein the upgrade task metadata includes upgrade sequence information of multiple electronic control units (ECUs) and the estimated upgrade time for each ECU; based on the upgrade task metadata, determining multiple upgrade groups and their execution order, calculating the group duration of each upgrade group, and calculating the proportion of each group duration in the total estimated duration; executing multiple upgrade groups sequentially according to the execution order; during the upgrade process, calculating the real-time progress within the currently executing upgrade group based on the real-time installation progress of each ECU within the currently executing upgrade group; and calculating the vehicle OTA upgrade progress based on the proportion corresponding to the currently executing upgrade group and the real-time progress within the group.

[0006] According to the vehicle OTA upgrade progress calculation method of the present invention, the method is executed by the vehicle end. First, it receives upgrade task metadata from the cloud, which includes upgrade sequence information of multiple electronic control units and the estimated upgrade time of each electronic control unit. Then, based on the upgrade task metadata, it determines multiple upgrade groups and their execution order, calculates the group time of each upgrade group, and calculates the proportion of each group's time in the total estimated time. Next, it executes multiple upgrade groups sequentially according to the execution order. At the same time, during the upgrade process, it calculates the real-time progress within the upgrade group based on the real-time installation progress of each electronic control unit in the currently executed upgrade group. Finally, it calculates the vehicle OTA upgrade progress based on the proportion and real-time progress of the currently executed upgrade group. By dividing the upgrade process into multiple stages and groups and allocating the total progress weight according to the actual time consumption of each group, the progress bar's advancement is highly matched with the actual time consumption, avoiding phenomena such as fast progress in the early stage and lag in the later stage, which helps to provide users with smoother and more predictable progress feedback.

[0007] In addition, the vehicle OTA upgrade progress calculation method according to embodiments of the present invention may also have the following additional technical features: Furthermore, after calculating the vehicle OTA upgrade progress based on the proportion corresponding to the currently executing upgrade group and the real-time progress within the group, the method further includes: when the real-time progress within the currently executing upgrade group is detected to reach 100%, automatically switching to the next upgrade group for execution, and updating the real-time progress within the group and the vehicle OTA upgrade progress; thereby automatically advancing the upgrades of different groups sequentially and dynamically updating the vehicle OTA upgrade progress, which facilitates providing users with real and reliable progress feedback.

[0008] Furthermore, the upgrade task metadata also includes the high and low voltage attributes of each electronic control unit, and the upgrade sequence information includes a preset upgrade sequence and preset grouping information arranged in the cloud. Determining multiple upgrade groups and their execution order based on the upgrade task metadata includes: if there is no electronic control unit with a high voltage attribute, then multiple upgrade groups are determined according to the preset grouping information, and the execution order is determined according to the preset upgrade sequence. This allows for direct determination of upgrade groups and execution order based on the preset upgrade sequence and preset grouping information arranged in the cloud when there is no electronic control unit with a high voltage attribute, which helps improve the efficiency of the upgrade process.

[0009] Furthermore, determining multiple upgrade groups and their execution order based on the upgrade task metadata further includes: if there are electronic control units with high-voltage attributes, then dividing all electronic control units into a high-voltage stage electronic control unit set and a low-voltage stage electronic control unit set according to the high-voltage and low-voltage attributes; filtering and grouping within the high-voltage stage electronic control unit set and the low-voltage stage electronic control unit set according to the preset upgrade order and the preset grouping information to form a high-voltage stage upgrade group sequence and a low-voltage stage upgrade group sequence; determining the execution order as executing the high-voltage stage upgrade group sequence first, and then executing the low-voltage stage upgrade group sequence; thereby ensuring that the vehicle maintains a high-voltage power-on state during the high-voltage upgrade stage, and then enters the low-voltage upgrade stage after completion, which helps to ensure safety and improve energy efficiency.

[0010] Furthermore, the estimated upgrade time is determined by the cloud based on the version of the electronic control unit, the upgrade package type, and historical upgrade data; this allows the cloud's estimated upgrade time to be flexibly adjusted according to vehicle model and version, and the estimated time can be continuously optimized through cloud big data, enabling algorithm iteration without modifying the vehicle firmware, which helps to improve the intelligence of the upgrade.

[0011] Furthermore, the calculation of the group duration for each upgrade group includes: if the multiple electronic control units within the upgrade group are upgraded serially, then the group duration of the upgrade group is the sum of the upgrade durations corresponding to the serially upgraded multiple electronic control units; thus, the group duration of each upgrade group can be accurately calculated.

[0012] Furthermore, the calculation of the group duration for each upgrade group also includes: if there are multiple electronic control units that are being upgraded in parallel within the upgrade group, then the group duration of the upgrade group is the upgrade duration corresponding to the electronic control unit with the longest upgrade time among the multiple electronic control units being upgraded in parallel; this can avoid the problem of incorrect upgrade duration calculation caused by simply adding the upgrade durations when upgrading in parallel, and helps to accurately calculate the group duration for each upgrade group.

[0013] Further, calculating the vehicle OTA upgrade progress based on the percentage corresponding to the currently executing upgrade group and the real-time progress within the group includes: determining the cumulative percentage based on the percentages corresponding to all previous upgrade groups; determining the vehicle OTA upgrade progress as the sum of the product of the percentage corresponding to the currently executing upgrade group and the corresponding real-time progress within the group, and the cumulative percentage; thereby, the vehicle OTA upgrade progress can be accurately determined based on the cumulative percentage, the percentage corresponding to the currently executing upgrade group, and the corresponding real-time progress within the group.

[0014] To address the aforementioned problems, this invention also proposes a vehicle OTA upgrade progress calculation system, comprising: a receiving module for receiving upgrade task metadata from the cloud, wherein the upgrade task metadata includes upgrade sequence information of multiple electronic control units and the estimated upgrade time of each electronic control unit; a first processing module for determining multiple upgrade groups and their execution order based on the upgrade task metadata, calculating the group time of each upgrade group, and calculating the proportion of each group time in the total estimated time; a second processing module for executing multiple upgrade groups sequentially according to the execution order; a third processing module for calculating the real-time progress within the currently executed upgrade group based on the real-time installation progress of each electronic control unit within the currently executed upgrade group; and a calculation module for calculating the vehicle OTA upgrade progress based on the proportion corresponding to the currently executed upgrade group and the real-time progress within the group.

[0015] According to the vehicle OTA upgrade progress calculation system of the present invention, the vehicle OTA upgrade progress calculation method of the above embodiment is executed. First, upgrade task metadata from the cloud is received. The upgrade task metadata includes upgrade sequence information of multiple electronic control units and the estimated upgrade time of each electronic control unit. Then, based on the upgrade task metadata, multiple upgrade groups and their execution order are determined, and the group time of each upgrade group is calculated, as well as the proportion of each group time in the total estimated time. Next, multiple upgrade groups are executed sequentially according to the execution order. At the same time, during the upgrade process, the real-time progress within the upgrade group is calculated based on the real-time installation progress of each electronic control unit in the currently executed upgrade group. Finally, the vehicle OTA upgrade progress is calculated based on the proportion and real-time progress of the currently executed upgrade group. In this way, by dividing the upgrade process into multiple stages and groups and allocating the total progress weight according to the actual time consumption of each group, the progress bar is highly matched with the actual time consumption, avoiding phenomena such as fast progress in the early stage and lag in the later stage, which helps to provide users with smoother and more predictable progress feedback.

[0016] To address the aforementioned problems, the present invention also proposes a vehicle, comprising: a vehicle terminal; a cloud terminal; and a vehicle OTA upgrade progress calculation system as described in the second aspect embodiment of the present invention above. Alternatively, the vehicle may comprise: a vehicle terminal; a cloud terminal; a processor; a memory; and a vehicle OTA upgrade progress calculation program stored in the memory and executable on the processor. When the vehicle OTA upgrade progress calculation program is executed by the processor, it implements the vehicle OTA upgrade progress calculation method as described in the first aspect embodiment of the present invention above.

[0017] According to an embodiment of the present invention, a vehicle OTA upgrade progress calculation system as described in the above embodiment is provided. The vehicle OTA upgrade progress calculation method of the above embodiment is executed. First, upgrade task metadata from the cloud is received. The upgrade task metadata includes upgrade sequence information of multiple electronic control units and the estimated upgrade time of each electronic control unit. Then, based on the upgrade task metadata, multiple upgrade groups and their execution order are determined, and the group time of each upgrade group is calculated, as well as the proportion of each group's time in the total estimated time. Next, multiple upgrade groups are executed sequentially according to the execution order. Simultaneously, during the upgrade process, the real-time progress within the currently executed upgrade group is calculated based on the real-time installation progress of each electronic control unit. Finally, the vehicle OTA upgrade progress is calculated based on the proportion and real-time progress of the currently executed upgrade group. By dividing the upgrade process into multiple stages and groups and allocating the total progress weight according to the actual time consumption of each group, the progress bar's advancement is highly matched with the actual time consumption, avoiding phenomena such as fast progress in the early stages and lag in the later stages, thus helping to provide users with smoother and more predictable progress feedback.

[0018] To address the aforementioned problems, the present invention also proposes a computer-readable storage medium storing a vehicle OTA upgrade progress calculation program. When the vehicle OTA upgrade progress calculation program is executed by a processor, it implements the vehicle OTA upgrade progress calculation method as described in the first aspect embodiment of the present invention.

[0019] According to an embodiment of the present invention, when a computer-readable storage medium storing a vehicle OTA upgrade progress calculation program thereon is executed by a processor, the vehicle OTA upgrade progress calculation method of the above embodiment is executed. First, upgrade task metadata from the cloud is received. The upgrade task metadata includes upgrade sequence information of multiple electronic control units and the estimated upgrade time of each electronic control unit. Then, based on the upgrade task metadata, multiple upgrade groups and their execution order are determined, and the group time of each upgrade group is calculated, as well as the proportion of each group's time in the total estimated time. Next, multiple upgrade groups are executed sequentially according to the execution order. At the same time, during the upgrade process, the real-time progress within the currently executed upgrade group is calculated based on the real-time installation progress of each electronic control unit in the current upgrade group. Finally, the vehicle OTA upgrade progress is calculated based on the proportion and real-time progress of the currently executed upgrade group. In this way, by dividing the upgrade process into multiple stages and groups and allocating the total progress weight according to the actual time consumption of each group, the progress bar's advancement is highly matched with the actual time consumption, avoiding phenomena such as fast progress in the early stage and lag in the later stage, which helps to provide users with smoother and more predictable progress feedback.

[0020] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description

[0021] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which: Figure 1 This is a flowchart of a vehicle OTA upgrade progress calculation method according to an embodiment of the present invention; Figure 2 This is a flowchart of a vehicle OTA upgrade progress calculation method according to another embodiment of the present invention; Figure 3 This is a flowchart of a vehicle OTA upgrade progress calculation method according to a specific embodiment of the present invention; Figure 4 This is a structural block diagram of a vehicle OTA upgrade progress calculation system according to an embodiment of the present invention.

[0022] Figure label: 100 - Vehicle OTA upgrade progress calculation system; 110 - Receiving module; 120 - First processing module; 130 - Second processing module; 140 - Third processing module; 150 - Calculation module. Detailed Implementation

[0023] The embodiments of the present invention are described in detail below. The embodiments described with reference to the accompanying drawings are exemplary. The embodiments of the present invention are described in detail below.

[0024] The following is for reference. Figures 1-4 This invention describes a method, system, vehicle, and storage medium for calculating the progress of vehicle OTA (Over-the-Air Technology) upgrades according to embodiments of the present invention. In the following embodiments of the present invention, the vehicle can be any one of an electric vehicle, a gasoline vehicle, or a hybrid vehicle.

[0025] Figure 1 This is a flowchart of a vehicle OTA upgrade progress calculation method according to an embodiment of the present invention. Figure 1 As shown, a vehicle OTA upgrade progress calculation method according to an embodiment of the present invention is executed by the vehicle's terminal and includes the following steps: Step S1: Receive upgrade task metadata from the cloud. The upgrade task metadata includes upgrade sequence information for multiple electronic control units and the estimated upgrade time for each electronic control unit.

[0026] In a specific embodiment, the cloud server is responsible for storing and managing the upgrade duration data (including full-package upgrade duration and differential upgrade duration) of each ECU (Electronic Control Unit) software version, arranging the vehicle upgrade sequence and grouping strategy, and sending this information to the vehicle along with the upgrade task package. The vehicle is responsible for receiving and parsing the upgrade tasks and configuration information sent from the cloud. Specifically, each ECU may belong to a different hardware platform or communication network (such as CAN (Controller Area Network), CAN FD (Controller Area Network Flexible Data-Rate), Ethernet, etc.).

[0027] Specifically, according to the vehicle OTA upgrade progress calculation method of the present invention, the vehicle terminal first receives upgrade task metadata from the cloud. The upgrade task metadata includes upgrade sequence information of multiple electronic control units and estimated upgrade time of each electronic control unit. That is, the upgrade sequence information and estimated upgrade time of multiple electronic control units preset by the cloud are received first, which facilitates the subsequent determination of upgrade group division and upgrade execution order.

[0028] Step S2: Based on the upgrade task metadata, determine multiple upgrade groups and their execution order, calculate the group duration of each upgrade group, and calculate the proportion of each group duration in the total estimated duration.

[0029] In a specific embodiment, task grouping and reconstruction are then performed based on the upgrade task metadata, and the total duration and group progress percentage are calculated. Specifically, task grouping and reconstruction includes determining multiple upgrade groups and their execution order. For example, upgrade groups can be determined based on the high and low voltage status of each ECU, and the group duration can be determined based on the serial-parallel relationship of each ECU within the upgrade group.

[0030] Specifically, according to the vehicle OTA upgrade progress calculation method of the present invention, multiple upgrade groups and their execution order are determined based on upgrade task metadata, and the group duration of each upgrade group is calculated, and the proportion of each group duration in the total estimated duration is calculated. That is, task grouping is reconstructed based on upgrade task metadata, and the total duration and group progress proportion are calculated, which facilitates the determination of the actual upgrade grouping and upgrade order, and facilitates the accurate determination of the upgrade progress in the future.

[0031] Step S3: Execute multiple upgrade groups in sequence according to the execution order.

[0032] Specifically, according to the vehicle OTA upgrade progress calculation method of the present invention, the upgrade is then performed according to the upgrade group after task grouping and reconstruction and its execution order, so as to facilitate a unified and orderly upgrade according to preset rules and help improve the efficiency of the upgrade.

[0033] Step S4: During the upgrade process, calculate the real-time progress of the upgrade group based on the real-time installation progress of each electronic control unit in the currently executing upgrade group.

[0034] In a specific embodiment, during the upgrade process, the real-time progress of the upgrade group is calculated based on the real-time installation progress of each ECU within the currently executing upgrade group. Specifically, the real-time progress value is reported by the ECU itself.

[0035] Specifically, according to the vehicle OTA upgrade progress calculation method of the present invention, during the upgrade process, the real-time progress of the upgrade group is calculated based on the real-time installation progress of each ECU in the currently executed upgrade group. That is, the real-time progress of the upgrade group is determined based on the real-time progress value reported by the ECU itself, which helps to determine the upgrade progress based on the actual real-time progress of the group.

[0036] Step S5: Calculate the vehicle OTA upgrade progress based on the proportion of the currently executing upgrade group and the real-time progress within the group.

[0037] In a specific embodiment, the vehicle OTA upgrade progress is finally calculated based on the proportion corresponding to the currently executing upgrade group and the real-time progress within the group. Specifically, the cumulative proportion of upgrade groups before the currently executing upgrade group can be determined first, and then added to the product of the proportion corresponding to the currently executing upgrade group and the real-time progress within the group to obtain the vehicle OTA upgrade progress.

[0038] In a specific embodiment, the calculated vehicle OTA upgrade progress can be displayed to the user interface in real time, allowing the user to clearly understand the progress. Specifically, the user interface may include, but is not limited to, the vehicle's infotainment screen or a mobile phone connected to the vehicle.

[0039] Specifically, according to the vehicle OTA upgrade progress calculation method of the present invention, the vehicle OTA upgrade progress is calculated based on the proportion of the currently executing upgrade group and the real-time progress within the group. Thus, based on the proportion of the upgrade group after task grouping and reconstruction and the real-time progress within the currently executing upgrade group, the vehicle OTA upgrade progress can be accurately obtained. By dividing the upgrade process into multiple stages and groups and allocating the total progress weight according to the actual time consumption of each group, the progress bar's advancement is highly matched with the actual time consumption, avoiding phenomena such as fast progress in the early stage and lag in the later stage, which helps to provide users with smoother and more predictable progress feedback.

[0040] Therefore, the vehicle OTA upgrade progress calculation method according to the present invention is executed by the vehicle end. First, it receives upgrade task metadata from the cloud, which includes upgrade sequence information of multiple electronic control units and the estimated upgrade time of each electronic control unit. Then, based on the upgrade task metadata, it determines multiple upgrade groups and their execution order, calculates the group time of each upgrade group, and calculates the proportion of each group's time in the total estimated time. Next, it executes multiple upgrade groups in the order of execution. At the same time, during the upgrade process, it calculates the real-time progress within the upgrade group based on the real-time installation progress of each electronic control unit in the currently executed upgrade group. Finally, it calculates the vehicle OTA upgrade progress based on the proportion and real-time progress of the currently executed upgrade group. By dividing the upgrade process into multiple stages and groups and allocating the total progress weight according to the actual time consumption of each group, the progress bar's advancement is highly matched with the actual time consumption, avoiding phenomena such as fast progress in the early stage and lag in the later stage, which helps to provide users with smoother and more predictable progress feedback.

[0041] Figure 2 This is a flowchart of a vehicle OTA upgrade progress calculation method according to another embodiment of the present invention. Figure 2 As shown, in one embodiment of the present invention, the vehicle OTA upgrade progress calculation method, after calculating the vehicle OTA upgrade progress in step S5 based on the proportion corresponding to the currently executed upgrade group and the real-time progress within the group, further includes: step S6: when it is detected that the real-time progress within the currently executed upgrade group reaches 100%, automatically switch to the next upgrade group for execution, and update the real-time progress within the group and the vehicle OTA upgrade progress.

[0042] In a specific embodiment, when it is detected that all ECUs in the current group have been installed, the process switches to the next upgrade group and repeats steps S4 and S5 until all groups have been upgraded.

[0043] Specifically, according to the vehicle OTA upgrade progress calculation method of the present invention, when the real-time progress of the currently executing upgrade group is detected to reach 100%, the system automatically switches to the next upgrade group and updates the real-time progress within the group and the vehicle OTA upgrade progress. In this way, the upgrades of different groups can be automatically advanced sequentially, and the vehicle OTA upgrade progress can be dynamically updated, which is convenient for providing users with real and reliable progress feedback.

[0044] In one embodiment of the present invention, the upgrade task metadata also includes the high and low voltage attributes of each electronic control unit, and the upgrade sequence information includes the preset upgrade sequence and preset group information arranged in the cloud; step S2 determines multiple upgrade groups and their execution order based on the upgrade task metadata, including: if there is no electronic control unit with high voltage attribute, then multiple upgrade groups are determined according to the preset group information, and the execution order is determined according to the preset upgrade sequence.

[0045] In a specific embodiment, the cloud server is also responsible for configuring the high and low voltage attributes of each ECU, arranging the vehicle upgrade sequence and grouping strategy, and sending this information to the vehicle along with the upgrade task package.

[0046] In a specific embodiment, if the upgrade task does not involve the high-voltage ECU, the preset upgrade order and preset grouping information issued by the cloud are directly used as the final execution order.

[0047] Specifically, according to the vehicle OTA upgrade progress calculation method of the present invention, the upgrade task metadata also includes the high and low voltage attributes of each electronic control unit, and the upgrade sequence information includes the preset upgrade sequence and preset grouping information arranged in the cloud. If there is no electronic control unit with high voltage attribute, multiple upgrade groups are determined according to the preset grouping information, and the execution sequence is determined according to the preset upgrade sequence. In this way, when there is no electronic control unit with high voltage attribute, the upgrade group and execution sequence are determined directly according to the preset upgrade sequence and preset grouping information arranged in the cloud, which helps to improve the efficiency of the upgrade.

[0048] In one embodiment of the present invention, step S2, based on upgrade task metadata, determines multiple upgrade groups and their execution order, and further includes: if there are electronic control units with high voltage attributes, then all electronic control units are divided into a high-voltage stage electronic control unit set and a low-voltage stage electronic control unit set according to high and low voltage attributes; within the high-voltage stage electronic control unit set and the low-voltage stage electronic control unit set, respectively, screening and grouping are performed according to a preset upgrade order and preset grouping information to form a high-voltage stage upgrade group order and a low-voltage stage upgrade group order; the execution order is determined to be to execute the high-voltage stage upgrade group sequence first, and then execute the low-voltage stage upgrade group sequence.

[0049] In a specific embodiment, if the upgrade task involves high-voltage ECUs, the vehicle first divides all ECUs into two sets: high-voltage stage ECUs and low-voltage stage ECUs. Then, the high-voltage stage ECU set is filtered and grouped according to a preset upgrade order to form a high-voltage stage upgrade group sequence. Similarly, the low-voltage stage ECU set is filtered and grouped according to a preset upgrade order to form a low-voltage stage upgrade group sequence. Finally, the vehicle restructures the task as follows: first execute all high-voltage stage upgrade groups, then execute all low-voltage stage upgrade groups.

[0050] Specifically, according to the vehicle OTA upgrade progress calculation method of the present invention, if there are electronic control units with high voltage attributes, all electronic control units are divided into a high-voltage stage electronic control unit set and a low-voltage stage electronic control unit set according to their high and low voltage attributes. Within the high-voltage stage electronic control unit set and the low-voltage stage electronic control unit set, filtering and grouping are performed according to a preset upgrade order and preset grouping information to form a high-voltage stage upgrade group sequence and a low-voltage stage upgrade group sequence. The execution order is determined to be to execute the high-voltage stage upgrade group sequence first, and then execute the low-voltage stage upgrade group sequence. This ensures that the vehicle maintains a high-voltage power-on state during the high-voltage upgrade stage, and then enters the low-voltage upgrade stage after completion, which helps to ensure safety and improve energy efficiency.

[0051] In one embodiment of the present invention, the estimated upgrade time is determined by the cloud based on the version of the electronic control unit, the upgrade package type, and historical upgrade data.

[0052] In a specific embodiment, the estimated upgrade time is determined by the cloud based on the version of the electronic control unit, the type of the upgrade package, and historical upgrade data. Specifically, for example, the estimated time can be continuously optimized through cloud-based big data analysis, enabling algorithm iteration.

[0053] Specifically, according to the vehicle OTA upgrade progress calculation method of the present invention, the estimated upgrade time is determined by the cloud based on the version of the electronic control unit, the upgrade package type and historical upgrade data; thus, the estimated upgrade time in the cloud can be flexibly adjusted according to the vehicle model and version, and the estimated time can be continuously optimized through big data in the cloud, and the algorithm iteration can be achieved without modifying the vehicle firmware, which helps to improve the intelligence of the upgrade.

[0054] In one embodiment of the present invention, step S2 calculates the group duration of each upgrade group, including: if multiple electronic control units in the upgrade group are upgraded serially, then the group duration of the upgrade group is the sum of the upgrade durations corresponding to the multiple electronic control units upgraded serially.

[0055] In a specific embodiment, for each final determined upgrade sequence group, if all ECUs in the group are upgraded sequentially, the group upgrade time is the sum of the upgrade times of each ECU in the group.

[0056] Specifically, according to the vehicle OTA upgrade progress calculation method of the present invention, if multiple electronic control units in an upgrade group are upgraded serially, the group duration of the upgrade group is the sum of the upgrade durations corresponding to the serially upgraded multiple electronic control units; thus, the group duration of each upgrade group can be accurately calculated.

[0057] In one embodiment of the present invention, step S2, which calculates the group duration of each upgrade group, further includes: if there are multiple electronic control units that are being upgraded in parallel within the upgrade group, then the group duration of the upgrade group is the upgrade duration corresponding to the electronic control unit with the longest time consumption among the multiple electronic control units being upgraded in parallel.

[0058] In a specific embodiment, for each final determined upgrade sequence group, if the group contains multiple network segments that can be upgraded in parallel, the group upgrade time is the longest among all parallel network segments, and the time of a single network segment is the sum of the times of its internal ECUs.

[0059] Specifically, according to the vehicle OTA upgrade progress calculation method of the present invention, if there are multiple electronic control units being upgraded in parallel within an upgrade group, the group duration of the upgrade group is the upgrade duration corresponding to the electronic control unit with the longest time among the multiple electronic control units being upgraded in parallel. This can avoid the problem of incorrect upgrade duration calculation caused by simply adding the upgrade durations when upgrading in parallel, and helps to accurately calculate the group duration of each upgrade group.

[0060] In one embodiment of the present invention, step S5 calculates the vehicle OTA upgrade progress based on the percentage corresponding to the currently executed upgrade group and the real-time progress within the group, including: determining the cumulative percentage based on the percentage corresponding to all previous upgrade groups; and determining the vehicle OTA upgrade progress as the sum of the product of the percentage corresponding to the currently executed upgrade group and the corresponding real-time progress within the group and the cumulative percentage.

[0061] In a specific embodiment, the real-time progress of the entire vehicle = the percentage of the cumulative progress of the current group + the percentage of the current group's progress × the progress within the current group. Specifically, the progress within the current group = the sum of the real-time progress of each ECU within the group / (100 × the total number of ECUs in the group).

[0062] Specifically, according to the vehicle OTA upgrade progress calculation method of the present invention, the cumulative percentage is first determined based on the percentage of all upgrade groups before the currently executed upgrade group; then the vehicle OTA upgrade progress is determined as the sum of the product of the percentage of the currently executed upgrade group and the real-time progress within the corresponding group and the cumulative percentage; thus, the vehicle OTA upgrade progress can be accurately determined based on the cumulative percentage, the percentage of the currently executed upgrade group and the real-time progress within the corresponding group.

[0063] The following describes the vehicle OTA upgrade progress calculation method of the above embodiments of the present invention in further detail with reference to a specific embodiment. In this specific embodiment, a vehicle OTA upgrade progress calculation method and system are provided.

[0064] In this specific embodiment, the vehicle OTA upgrade progress calculation system mainly includes a cloud server and a vehicle-side OTAMaster. Specifically, the cloud server is responsible for storing and managing the upgrade duration data of each ECU software version (including full package upgrade duration and differential upgrade duration), configuring the high and low voltage attributes of each ECU, arranging the vehicle upgrade sequence and grouping strategy, and sending this information to the vehicle-side along with the upgrade task package; the vehicle-side is responsible for receiving and parsing the upgrade task and configuration information sent from the cloud, and calculating and displaying the vehicle upgrade progress in real time during the upgrade process.

[0065] Figure 3 This is a flowchart of a vehicle OTA upgrade progress calculation method according to a specific embodiment of the present invention, such as... Figure 3 As shown in this specific embodiment, the method for calculating the vehicle OTA upgrade progress includes a preparation phase and a real-time calculation phase.

[0066] In this specific embodiment, the preparation phase includes receiving and parsing, task grouping and reconstruction, and calculating the total time and group progress percentage.

[0067] In this specific embodiment, receiving and parsing includes: the vehicle-side upgrade manager receiving the upgrade task package from the cloud and parsing the metadata contained therein. Specifically, the metadata includes: ecu_list: a list of ECUs involved in this upgrade; ecu_voltage: the high and low voltage attributes (True / False) of each ECU; ecu_time: the estimated upgrade time (in seconds) for each ECU in the current version; upgrade_sequence: the upgrade order and grouping information arranged by the cloud, allowing ECUs within the same sublist to be upgraded in parallel.

[0068] In this specific embodiment, the task grouping reconstruction includes: if the current upgrade task does not involve high-voltage ECUs (i.e., all ecu_voltage values ​​are False), the upgrade_sequence issued by the cloud is directly used as the final execution order; if the current upgrade task involves high-voltage ECUs, the vehicle first divides all ECUs into two sets: high-voltage stage ECUs and low-voltage stage ECUs. Then, the high-voltage stage ECU set is filtered and grouped according to the order defined in the upgrade_sequence to form a high-voltage stage upgrade group sequence. Similarly, the low-voltage stage ECU set is filtered and grouped according to the upgrade_sequence to form a low-voltage stage upgrade group sequence. Finally, the vehicle reconstructs the task as follows: first execute all high-voltage stage upgrade groups, then execute all low-voltage stage upgrade groups. This ensures that the vehicle maintains a high-voltage power-on state during the high-voltage upgrade stage, and then enters the low-voltage upgrade stage after completion, ensuring safety and energy efficiency.

[0069] In this specific embodiment, calculating the total time and group progress percentage includes: for each final determined upgrade sequence group (Group_i), calculating its group upgrade time T_i; if all ECUs in the group are upgraded serially, then T_i is the sum of the upgrade times of each ECU in the group; if the group contains multiple network segments that can be upgraded in parallel, then T_i is the longest upgrade time among all parallel network segments (i.e., T_i = max(network segment 1 time, network segment 2 time, ...)), and the time of a single network segment is the sum of the times of its internal ECUs; calculating the total estimated time of the entire upgrade task T_total = Σ(T_i) (i from 1 to the total number of groups); calculating the progress percentage of each group (Group_i) b_i = (T_i / T_total) × 100%; calculating the cumulative progress percentage of all groups before each group a_i = Σ(b_j) (j from 1 to i-1), for the first group, a_1 = 0.

[0070] In this specific embodiment, the real-time calculation phase includes: after the upgrade task is started, the vehicle-side upgrade manager executes each upgrade group in the reconstructed order, including executing the current group (Group_i), calculating the real-time progress within the group, calculating the real-time progress of the whole vehicle, and component switching.

[0071] In this specific embodiment, executing the current group (Group_i) includes: starting to upgrade the ECUs within the current group, which may be installed serially or in parallel.

[0072] In this specific embodiment, calculating the real-time progress within a group includes: for each ECU in the current group Group_i, its real-time progress value is reported by the ECU itself: if the ECU has not started installation, its progress value P_ecu = 0; if the ECU is being installed, its progress value P_ecu is a number between 0 and 100; if the ECU has completed installation, its progress value P_ecu = 100; and calculating the real-time progress Group_Progress_i within the current group. The formula is: Group_Progress_i = (Σ(P_ecu) / (100 × N)) × 100%, where N is the total number of ECUs in the current group Group_i, and Σ(P_ecu) is the sum of the real-time progress values ​​of all ECUs in the group. This formula means that the progress of each ECU in the group is evenly distributed with a weight of 100% within the group. For example, in a group containing 2 ECUs, each ECU contributing 50% of the group's progress upon completing its own installation.

[0073] In this specific embodiment, calculating the real-time progress of the whole vehicle includes: combining a_i (the cumulative percentage of the current group) and b_i (the percentage of the current group) calculated in the preparation stage, calculating the real-time upgrade progress Total_Progress of the whole vehicle, with the formula: Total_Progress = a_i + b_i × Group_Progress_i. This progress value will be fed back to the user interface (such as the vehicle screen) for display in real time.

[0074] In this specific embodiment, the inter-group switching includes: when it is detected that all ECUs in the current group have been installed (i.e., Group_Progress_i = 100%), the process switches to the next upgrade group (Group_i+1), and the above 3 steps are repeated until all groups have been upgraded.

[0075] As can be seen in this specific embodiment, the vehicle OTA upgrade progress calculation method and system distinguishes between cloud and vehicle-side modules. The cloud configuration module is used to distribute ECU upgrade duration, high and low voltage attributes, and upgrade order grouping information. The vehicle-side calculation module is used to reconstruct the upgrade queue and calculate the progress in real time based on the information. The reconstruction logic of the vehicle-side calculation module is as follows: if the upgrade task includes high and low voltage switching, the ECUs are first partitioned according to high and low voltage attributes, then grouped according to the cloud order within each partition, and finally the final execution queue is formed according to the order of high voltage area first and low voltage area last. The progress calculation logic is as follows: the total task duration (T_total) is the sum of the durations of each upgrade group (T_i), where the group duration T_i is the maximum value among the upgrade durations of each parallel network segment within the group. The real-time progress calculation logic is as follows: the real-time progress of the whole vehicle = the cumulative progress percentage of the current group (a_i) + the progress percentage of the current group (b_i) × the progress within the current group (Group_Progress_i); where the progress within the current group (Group_Progress_i) = the sum of the real-time progress of each ECU within the group / (100 × (Total number of ECUs in the group).

[0076] Therefore, in this specific embodiment, the vehicle OTA upgrade progress calculation method and system have the following significant advantages compared with the prior art: 1. Accurate progress and smooth experience: By dividing the upgrade process into multiple stages and groups, and allocating the total progress weight according to the actual time consumption of each group, the progress bar's advancement is highly matched with the actual time consumption, avoiding the phenomenon of fast progress in the early stage and lag in the later stage, providing users with smoother and more predictable progress feedback; 2. Model fits reality: The method fully considers the real constraints in the vehicle upgrade process, such as high and low voltage management and parallel / serial upgrades, making the calculation model more complex, intelligent, and more in line with engineering reality; 3. Cloud-configurable and highly flexible: Core parameters (duration, sequence, attributes) are all issued from the cloud, and the vehicle end calculates based on general rules. This allows the strategy to be flexibly adjusted according to vehicle model and version, and the estimated duration can be continuously optimized through cloud big data. Algorithm iteration can be achieved without modifying the vehicle end firmware; 4. Good robustness: Even if an ECU upgrade within a group fails or times out, the calculation method can accurately reflect the actual position of the current progress, providing a reliable basis for fault diagnosis and user prompts.

[0077] In summary, the vehicle OTA upgrade progress calculation method according to embodiments of the present invention is executed by the vehicle's end. First, it receives upgrade task metadata from the cloud, including upgrade sequence information for multiple electronic control units (ECUs) and the estimated upgrade time for each ECU. Then, based on the upgrade task metadata, it determines multiple upgrade groups and their execution order, calculates the group duration for each upgrade group, and calculates the proportion of each group's duration in the total estimated duration. Next, it executes multiple upgrade groups sequentially according to the execution order. Simultaneously, during the upgrade process, it calculates the real-time progress within the currently executing upgrade group based on the real-time installation progress of each ECU. Finally, it calculates the vehicle OTA upgrade progress based on the proportion corresponding to the currently executing upgrade group and the real-time progress within the group. By dividing the upgrade process into multiple stages and groups and allocating the total progress weight according to the actual time consumption of each group, the progress bar's advancement is highly matched with the actual time consumption, avoiding phenomena such as fast progress in the early stages and subsequent lag, thus helping to provide users with smoother and more predictable progress feedback.

[0078] A further embodiment of the present invention discloses a vehicle OTA upgrade progress calculation system. Figure 4 This is a structural block diagram of a vehicle OTA upgrade progress calculation system according to an embodiment of the present invention, such as... Figure 4 As shown, the vehicle OTA upgrade progress calculation system 100 includes: a receiving module 110, a first processing module 120, a second processing module 130, a third processing module 140, and a calculation module 150.

[0079] Specifically, the receiving module 110 receives upgrade task metadata from the cloud, which includes upgrade sequence information of multiple electronic control units and the estimated upgrade time of each electronic control unit; the first processing module 120 determines multiple upgrade groups and their execution order based on the upgrade task metadata, calculates the group time of each upgrade group, and calculates the proportion of each group's time in the total estimated time; the second processing module 130 executes multiple upgrade groups sequentially according to the execution order; the third processing module 140 calculates the real-time progress within the currently executing upgrade group based on the real-time installation progress of each electronic control unit within the currently executing upgrade group; and the calculation module 150 calculates the vehicle OTA upgrade progress based on the proportion corresponding to the currently executing upgrade group and the real-time progress within the group.

[0080] In one embodiment of the present invention, after calculating the vehicle OTA upgrade progress based on the proportion corresponding to the currently executed upgrade group and the real-time progress within the group, the calculation module 150 is further configured to: automatically switch to the next upgrade group for execution when it is detected that the real-time progress within the currently executed upgrade group reaches 100%, and update the real-time progress within the group and the vehicle OTA upgrade progress.

[0081] In one embodiment of the present invention, the upgrade task metadata also includes the high and low voltage attributes of each electronic control unit, and the upgrade sequence information includes a preset upgrade sequence and preset grouping information arranged in the cloud; the first processing module 120 determines multiple upgrade groups and their execution order based on the upgrade task metadata, including: if there is no electronic control unit with high voltage attribute, then multiple upgrade groups are determined according to the preset grouping information, and the execution order is determined according to the preset upgrade sequence.

[0082] In one embodiment of the present invention, the first processing module 120 determines multiple upgrade groups and their execution order based on upgrade task metadata, and further includes: if there are electronic control units with high voltage attributes, then all electronic control units are divided into a high-voltage stage electronic control unit set and a low-voltage stage electronic control unit set according to high and low voltage attributes; within the high-voltage stage electronic control unit set and the low-voltage stage electronic control unit set, respectively, filtering and grouping are performed according to a preset upgrade order and preset grouping information to form a high-voltage stage upgrade group order and a low-voltage stage upgrade group order; the execution order is determined to be to execute the high-voltage stage upgrade group sequence first, and then execute the low-voltage stage upgrade group sequence.

[0083] In one embodiment of the present invention, the estimated upgrade time is determined by the cloud based on the version of the electronic control unit, the upgrade package type, and historical upgrade data.

[0084] In one embodiment of the present invention, the first processing module 120 calculates the group duration of each upgrade group, including: if the multiple electronic control units in the upgrade group are upgraded serially, the group duration of the upgrade group is the sum of the upgrade durations corresponding to the multiple electronic control units upgraded serially.

[0085] In one embodiment of the present invention, the first processing module 120 calculates the group duration of each upgrade group, and further includes: if there are multiple electronic control units that are upgraded in parallel within the upgrade group, then the group duration of the upgrade group is the upgrade duration corresponding to the electronic control unit with the longest time consumption among the multiple electronic control units that are upgraded in parallel.

[0086] In one embodiment of the present invention, the calculation module 150 calculates the vehicle OTA upgrade progress based on the percentage corresponding to the currently executed upgrade group and the real-time progress within the group, including: determining the cumulative percentage based on the percentage corresponding to all upgrade groups before the currently executed upgrade group; and determining the vehicle OTA upgrade progress as the sum of the product of the percentage corresponding to the currently executed upgrade group and the corresponding real-time progress within the group and the cumulative percentage.

[0087] The vehicle OTA upgrade progress calculation system 100 according to an embodiment of the present invention executes the vehicle OTA upgrade progress calculation method of the above embodiment. First, it receives upgrade task metadata from the cloud, which includes upgrade sequence information of multiple electronic control units and the estimated upgrade time of each electronic control unit. Then, based on the upgrade task metadata, it determines multiple upgrade groups and their execution order, calculates the group time of each upgrade group, and calculates the proportion of each group's time in the total estimated time. Next, it executes multiple upgrade groups in the order of execution. At the same time, during the upgrade process, it calculates the real-time progress within the upgrade group based on the real-time installation progress of each electronic control unit in the currently executed upgrade group. Finally, it calculates the vehicle OTA upgrade progress based on the proportion and real-time progress of the currently executed upgrade group. In this way, by dividing the upgrade process into multiple stages and groups and allocating the total progress weight according to the actual time consumption of each group, the progress bar's advancement is highly matched with the actual time consumption, avoiding phenomena such as fast progress in the early stage and lag in the later stage, which helps to provide users with smoother and more predictable progress feedback.

[0088] A further embodiment of the present invention also discloses a vehicle.

[0089] In some embodiments, the vehicle includes: a vehicle-mounted terminal; a cloud-based terminal; and a vehicle OTA upgrade progress calculation system 100 as described in any of the above embodiments of the present invention.

[0090] In other embodiments, the vehicle includes: a vehicle-mounted unit; a cloud; and a processor, a memory, and a vehicle OTA upgrade progress calculation program stored in the memory and executable on the processor, wherein the vehicle OTA upgrade progress calculation program, when executed by the processor, implements the vehicle OTA upgrade progress calculation method as described in any of the above embodiments of the present invention.

[0091] In a specific embodiment, the vehicle can be any one of an electric vehicle, a gasoline-powered vehicle, or a hybrid vehicle.

[0092] According to an embodiment of the present invention, a vehicle OTA upgrade progress calculation system 100 is configured to execute the vehicle OTA upgrade progress calculation method described in the above embodiment. First, it receives upgrade task metadata from the cloud, which includes upgrade sequence information for multiple electronic control units (ECUs) and the estimated upgrade time for each ECU. Then, based on the upgrade task metadata, it determines multiple upgrade groups and their execution order, calculates the group duration for each upgrade group, and calculates the proportion of each group's duration in the total estimated duration. Next, it executes multiple upgrade groups sequentially according to the execution order. Simultaneously, during the upgrade process, it calculates the real-time progress within the currently executing upgrade group based on the real-time installation progress of each ECU. Finally, it calculates the vehicle OTA upgrade progress based on the proportion and real-time progress of the currently executing upgrade group. By dividing the upgrade process into multiple stages and groups and allocating the total progress weight according to the actual time consumption of each group, the progress bar's advancement is highly matched with the actual time consumption, avoiding phenomena such as rapid initial progress followed by later lag, thus helping to provide users with smoother and more predictable progress feedback.

[0093] A further embodiment of the present invention discloses a computer-readable storage medium storing a vehicle OTA upgrade progress calculation program, which, when executed by a processor, implements the vehicle OTA upgrade progress calculation method as described in any of the above embodiments of the present invention.

[0094] According to an embodiment of the present invention, when a computer-readable storage medium storing a vehicle OTA upgrade progress calculation program thereon is executed by a processor, the vehicle OTA upgrade progress calculation method of the above embodiment is executed. First, upgrade task metadata from the cloud is received. The upgrade task metadata includes upgrade sequence information of multiple electronic control units and the estimated upgrade time of each electronic control unit. Then, based on the upgrade task metadata, multiple upgrade groups and their execution order are determined, and the group time of each upgrade group is calculated, as well as the proportion of each group's time in the total estimated time. Next, multiple upgrade groups are executed sequentially according to the execution order. At the same time, during the upgrade process, the real-time progress within the currently executed upgrade group is calculated based on the real-time installation progress of each electronic control unit in the current upgrade group. Finally, the vehicle OTA upgrade progress is calculated based on the proportion and real-time progress of the currently executed upgrade group. In this way, by dividing the upgrade process into multiple stages and groups and allocating the total progress weight according to the actual time consumption of each group, the progress bar's advancement is highly matched with the actual time consumption, avoiding phenomena such as fast progress in the early stage and lag in the later stage, which helps to provide users with smoother and more predictable progress feedback.

[0095] In the description of this specification, references to terms such as "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example.

[0096] Although embodiments of the invention have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims

1. A vehicle OTA upgrade progress calculation method, characterized in that, The vehicle OTA upgrade progress calculation method is executed by a vehicle end, and the vehicle OTA upgrade progress calculation method comprises: Receiving upgrade task metadata from the cloud, wherein the upgrade task metadata comprises upgrade sequence information of a plurality of electronic control units and estimated upgrade time length of each electronic control unit; Based on the upgrade task metadata, a plurality of upgrade groups and their execution sequence are determined, and the group time length of each upgrade group is calculated, and the proportion of each group time length in the total estimated time length is calculated; According to the execution sequence, a plurality of upgrade groups are executed in turn; During the upgrade process, the real-time progress of each electronic control unit in the currently executed upgrade group is calculated according to the real-time installation progress of each electronic control unit in the currently executed upgrade group; According to the proportion corresponding to the currently executed upgrade group and the real-time progress in the group, the vehicle OTA upgrade progress is calculated.

2. The vehicle OTA upgrade progress calculation method according to claim 1, characterized in that, After calculating the vehicle OTA upgrade progress according to the proportion corresponding to the currently executed upgrade group and the real-time progress in the group, the method further comprises: When it is monitored that the real-time progress in the group of the currently executed upgrade group reaches 100%, the next upgrade group is automatically switched to execute, and the real-time progress in the group and the vehicle OTA upgrade progress are updated.

3. The vehicle OTA upgrade progress calculation method of claim 1, wherein, The upgrade task metadata further comprises high and low voltage attributes of each electronic control unit, and the upgrade sequence information comprises a preset upgrade sequence and preset grouping information arranged by the cloud; The determination of a plurality of upgrade groups and their execution sequence based on the upgrade task metadata comprises: If there is no electronic control unit with high voltage attribute, a plurality of upgrade groups are determined according to the preset grouping information, and the execution sequence is determined according to the preset upgrade sequence.

4. The vehicle OTA upgrade progress calculation method according to claim 3, characterized in that, The determination of a plurality of upgrade groups and their execution sequence based on the upgrade task metadata further comprises: If there is an electronic control unit with high voltage attribute, all electronic control units are divided into a high-voltage-stage electronic control unit set and a low-voltage-stage electronic control unit set according to the high and low voltage attributes; The high-voltage-stage electronic control unit set and the low-voltage-stage electronic control unit set are screened and grouped according to the preset upgrade sequence and the preset grouping information to form a high-voltage-stage upgrade group sequence and a low-voltage-stage upgrade group sequence; The execution sequence is determined as executing the high-voltage-stage upgrade group sequence first and then executing the low-voltage-stage upgrade group sequence.

5. The vehicle OTA upgrade progress calculation method of claim 1, wherein, The estimated upgrade time length is determined by the cloud according to the version of the electronic control unit, the type of upgrade package and historical upgrade data.

6. The vehicle OTA upgrade progress calculation method of claim 1, wherein, The calculation of the group time length of each upgrade group comprises: If a plurality of electronic control units in the upgrade group are serially upgraded, the group time length of the upgrade group is the sum of the upgrade time lengths corresponding to the plurality of electronic control units.

7. The vehicle OTA upgrade progress calculation method of claim 6, wherein, The calculation of the group time length of each upgrade group further comprises: If there are a plurality of electronic control units in the upgrade group that are upgraded in parallel, the group time length of the upgrade group is the upgrade time length corresponding to the electronic control unit with the longest time length among the plurality of electronic control units upgraded in parallel.

8. The vehicle OTA upgrade progress calculation method of claim 1, wherein, The vehicle OTA upgrade progress is calculated according to the proportion corresponding to the upgrade group currently being executed and the real-time progress within the group. The cumulative proportion is determined according to the proportions corresponding to all the upgrade groups before the upgrade group currently being executed. The vehicle OTA upgrade progress is determined as the sum of the product of the proportion corresponding to the upgrade group currently being executed and the real-time progress within the group and the cumulative proportion. 9.A vehicle OTA upgrade progress calculation system, characterized in that, It comprises: a receiving module configured to receive upgrade task metadata from the cloud, wherein the upgrade task metadata comprises upgrade sequence information of a plurality of electronic control units and estimated upgrade time length of each electronic control unit; a first processing module configured to determine a plurality of upgrade groups and their execution sequence based on the upgrade task metadata, calculate group time length of each upgrade group, and calculate proportion of each group time length in total estimated time length; a second processing module configured to execute the plurality of upgrade groups in sequence according to the execution sequence; a third processing module configured to calculate real-time progress within the upgrade group currently being executed according to real-time installation progress of each electronic control unit in the upgrade group during the upgrade process; a calculating module configured to calculate vehicle OTA upgrade progress according to the proportion corresponding to the upgrade group currently being executed and the real-time progress within the group.

10. A vehicle characterized by comprising: It comprises: a vehicle end; a cloud end; and the vehicle OTA upgrade progress calculation system of claim 9; or a processor, a memory, and a vehicle OTA upgrade progress calculation program stored on the memory and executable on the processor, wherein the vehicle OTA upgrade progress calculation program, when executed by the processor, implements the vehicle OTA upgrade progress calculation method of any one of claims 1-8.