Over-the-air upgrading method and device, equipment and storage medium

Through intelligent prediction and dynamic adjustment of upgrade timing, combined with battery health status and flashing conditions, the OTA upgrade failure problem caused by insufficient battery power in traditional vehicles is solved, and the success rate and efficiency of OTA upgrades are improved.

CN119621111APending Publication Date: 2025-03-14VOYAH AUTOMOBILE TECH CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202411830041.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-12
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

In remote upgrades of traditional vehicles, insufficient battery power may lead to the inability to complete subsequent ECU flashing, which will affect the success rate of OTA upgrades.

Method used

By obtaining the vehicle's behavioral data, battery health status, upgrade conditions, flashing conditions and upgrade package, predict the initial upgrade time, and determine whether the ECU can be upgraded based on the battery health status and flashing conditions, ensuring that the over-the-air download upgrade is performed when the battery power and flashing conditions are met.

Benefits of technology

It effectively avoids upgrade failures caused by insufficient battery power or failure to meet the flashing conditions, and improves the success rate and efficiency of OTA upgrades.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119621111A_ABST
    Figure CN119621111A_ABST
Patent Text Reader

Abstract

The invention discloses an over-the-air upgrading method, device and equipment and a storage medium, relates to the technical field of vehicle remote upgrading, and discloses an over-the-air upgrading method which comprises the following steps: acquiring behavior data of a vehicle, a battery health state, an over-the-air upgrading condition, a flashing condition of an electronic control unit and an upgrading package of the electronic control unit; predicting initial upgrading time according to the behavior data, and obtaining target upgrading time based on the initial upgrading time and the upgrading package; when it is determined that the vehicle meets the upgrading condition and the current time is the target upgrading time, whether the electronic control unit can be upgraded or not is determined according to the battery health state and the flashing condition; and when it is determined that the electronic control unit can be upgraded, performing over-the-air upgrade according to the upgrade package. By combining the vehicle behavior data, the battery health state and the flashing condition, the upgrading time is predicted and dynamically adjusted, and efficient and reliable over-the-air downloading upgrading is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of vehicle remote upgrade, and in particular to an over-the-air download upgrade method, device, equipment and storage medium. Background Art

[0002] With the rapid development of intelligent connected vehicles, vehicle electronic control units (ECUs) have assumed more and more functions, such as power system control, autonomous driving, in-vehicle entertainment, etc. Software upgrades for these ECUs are essential for improving vehicle performance, adding new features, and fixing security vulnerabilities. With the application of Over-The-Air (OTA) technology, vehicle ECUs can be remotely upgraded through wireless communication.

[0003] Traditional vehicle remote upgrade technology usually performs OTA serial and parallel upgrades during the vehicle ECU upgrade process. However, in this process, since the high-voltage ECU needs to be upgraded with high voltage, the upgrade is supported by the battery, which may cause insufficient battery power and cause the subsequent ECUs that need to be upgraded to be unable to meet the requirements of the flashing pre-conditions due to insufficient battery power, thus stopping the upgrade of subsequent ECUs, which will cause the OTA task to fail and affect the success rate of OTA upgrades.

[0004] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0005] The main purpose of this application is to provide an over-the-air download upgrade method, device, equipment and storage medium, aiming to solve the technical problem that insufficient battery power may lead to the inability to complete subsequent ECU flashing during traditional vehicle remote upgrades, thereby affecting the success rate of OTA upgrades.

[0006] To achieve the above purpose, the present application proposes an over-the-air download upgrade method, the method comprising:

[0007] Obtain vehicle behavior data, battery health status, over-the-air download upgrade conditions, electronic control unit flashing conditions, and electronic control unit upgrade packages;

[0008] Predicting an initial upgrade time according to the behavior data, and obtaining a target upgrade time based on the initial upgrade time and the upgrade package;

[0009] When it is determined that the vehicle meets the upgrade condition and the current time is the target upgrade time, determining whether the electronic control unit can be upgraded according to the battery health state and the flashing condition;

[0010] When it is determined that the electronic control unit can be upgraded, an over-the-air download upgrade is performed according to the upgrade package.

[0011] In one embodiment, when it is determined that the vehicle meets the upgrade condition and the current time is the target upgrade time, the step of determining whether the electronic control unit can be upgraded according to the battery health status and the flashing condition includes:

[0012] When it is determined that the vehicle meets the upgrade condition and the current time is the target upgrade time, a battery power condition is obtained according to the flashing condition;

[0013] Determine whether the current battery power meets the upgrade power requirement according to the battery power condition;

[0014] When the current battery power does not meet the upgrade power requirement, determining the charging time according to the battery health status;

[0015] Charging is performed according to the charging time, and determining whether the power of the charged battery meets the upgrade power requirement according to the battery power condition;

[0016] When the power of the rechargeable battery meets the upgrade power requirement, it is determined whether the electronic control unit can be upgraded according to the flashing condition.

[0017] In one embodiment, when the current battery power does not meet the upgrade power requirement, the step of determining the charging time according to the battery health status includes:

[0018] When the current battery power does not meet the upgrade power requirement, obtain the initial charging time;

[0019] determining a charging efficiency based on the battery health status;

[0020] Calculating a target charging time difference according to the charging efficiency;

[0021] A target charging time is determined according to the target charging time difference and the initial charging time.

[0022] In one embodiment, before the step of determining whether the electronic control unit can be upgraded according to the battery health status and the flashing condition when it is determined that the vehicle meets the upgrade condition and the current time is the target upgrade time, the step further includes:

[0023] Checking the vehicle status according to the upgrade conditions;

[0024] When the vehicle state does not meet the upgrade condition, further checking the vehicle state according to a preset time interval within a preset determination period;

[0025] When it is further checked that the vehicle state meets the upgrade condition, it is determined that the vehicle meets the upgrade condition.

[0026] In one embodiment, the step of predicting the initial upgrade time according to the behavior data and obtaining the target upgrade time based on the initial upgrade time and the upgrade package includes:

[0027] Obtaining upgrade package capacity according to the upgrade package;

[0028] Obtaining vehicle usage patterns and vehicle owner usage data based on the behavior data;

[0029] Obtaining an idle time period of the vehicle according to the vehicle usage pattern and the vehicle owner usage data;

[0030] Predicting an initial upgrade time according to the idle time period, the upgrade package capacity, and the current vehicle status;

[0031] The initial upgrade time is sent to the user, so that the user returns to the target upgrade time based on the initial upgrade time.

[0032] In one embodiment, when it is determined that the electronic control unit can be upgraded, the step of performing an over-the-air upgrade according to the upgrade package includes:

[0033] When determining that the electronic control unit can be upgraded, obtaining a priority of the upgrade package, the priority including a first priority and a second priority, the first priority being greater than the second priority;

[0034] When the current battery power is less than the preset power threshold, the upgrade is performed according to the upgrade package of the first priority, and the upgrade of the upgrade package of the second priority is suspended;

[0035] When the current battery power is greater than or equal to a preset power threshold, an over-the-air download upgrade is performed according to the upgrade packages of the first priority and the second priority.

[0036] In one embodiment, after the step of performing over-the-air download upgrade according to the upgrade packages of the first priority and the second priority when the current battery power is greater than or equal to the preset power threshold, the method further includes:

[0037] When it is detected that the upgrade of the first upgrade package of the upgrade package is completed, determining again according to the battery health status and the flashing condition whether the electronic control unit can be upgraded;

[0038] When it is determined that the electronic control unit cannot be upgraded, stopping upgrading the second upgrade package of the upgrade package and obtaining an upgrade error record;

[0039] The upgrade error record is sent to the cloud, so that the cloud updates the upgrade initial charging time based on the upgrade error record.

[0040] In addition, to achieve the above purpose, the present application also proposes an over-the-air download upgrade device, the over-the-air download upgrade device comprising: an acquisition module, for acquiring vehicle behavior data, battery health status, over-the-air download upgrade conditions, electronic control unit flashing conditions, and an upgrade package of the electronic control unit;

[0041] A prediction module, configured to predict an initial upgrade time according to the behavior data, and obtain a target upgrade time based on the initial upgrade time and the upgrade package;

[0042] a determination module, configured to determine whether the electronic control unit can be upgraded according to the battery health status and the flashing condition when it is determined that the vehicle meets the upgrade condition and the current time is the target upgrade time;

[0043] The upgrade module is used to perform an over-the-air download upgrade according to the upgrade package when it is determined that the electronic control unit can be upgraded.

[0044] In addition, to achieve the above-mentioned purpose, the present application also proposes an over-the-air download upgrade device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the over-the-air download upgrade method as described above.

[0045] In addition, to achieve the above objectives, the present application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the over-the-air download upgrade method described above are implemented.

[0046] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps of the over-the-air download upgrade method described above are implemented.

[0047] One or more technical solutions proposed in this application have at least the following technical effects:

[0048] By obtaining the vehicle's behavior data, battery health status, upgrade conditions, flashing conditions and upgrade packages, and predicting the initial upgrade time based on the behavior data, the target upgrade time is obtained, and this method optimizes the upgrade at the right time. By combining the judgment of the battery health status and the flashing conditions, it ensures that the over-the-air download upgrade can be performed at the target upgrade time when the battery power and flashing conditions are met. Compared with the existing technology, intelligent prediction and dynamic adjustment of the upgrade timing effectively avoid upgrade failures caused by insufficient battery power or failure to meet the flashing conditions, thereby improving the success rate and efficiency of OTA upgrades. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0050] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0051] Figure 1 A flowchart of the first embodiment of the over-the-air upgrade method of the present application is provided;

[0052] Figure 2 A flowchart of the second embodiment of the over-the-air upgrade method of this application is provided;

[0053] Figure 3 This is a schematic diagram of the module structure of the over-the-air upgrade device according to an embodiment of the present application;

[0054] Figure 4 Schematic diagram of the device structure of the hardware operating environment involved in the over-the-air upgrade method in the embodiment of the present application.

[0055] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0056] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0057] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0058] The main solution of the embodiment of the present application is to obtain the vehicle's behavior data, battery health status, over-the-air download upgrade conditions, electronic control unit flashing conditions, and electronic control unit upgrade packages;

[0059] Predicting an initial upgrade time according to the behavior data, and obtaining a target upgrade time based on the initial upgrade time and the upgrade package;

[0060] When it is determined that the vehicle meets the upgrade condition and the current time is the target upgrade time, determining whether the electronic control unit can be upgraded according to the battery health state and the flashing condition;

[0061] When it is determined that the electronic control unit can be upgraded, an over-the-air download upgrade is performed according to the upgrade package.

[0062] In this embodiment, for the convenience of description, the following description is made by taking the identification of the over-the-air upgrade device as the execution subject.

[0063] Due to the fact that in the conventional vehicle remote upgrade of the prior art, insufficient battery power may lead to the inability to complete the subsequent ECU flashing, thereby affecting the success rate of the OTA upgrade, the present application provides a solution, which obtains the vehicle's behavior data, battery health status, upgrade conditions, flashing conditions and upgrade packages, and predicts the initial upgrade time based on the behavior data, thereby obtaining the target upgrade time. This method achieves the optimization of upgrading at the right time. By combining the judgment of the battery health status and the flashing conditions, it is ensured that the over-the-air download upgrade can be performed at the target upgrade time when the battery power and the flashing conditions are met. Compared with the prior art, the intelligent prediction and dynamic adjustment of the upgrade timing effectively avoids the upgrade failure caused by insufficient battery power or failure to meet the flashing conditions, thereby improving the success rate and efficiency of the OTA upgrade.

[0064] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a vehicle terminal, an over-the-air download upgrade device, etc. The following takes the over-the-air download upgrade device as an example to illustrate this embodiment and the following embodiments.

[0065] Based on this, the embodiment of the present application provides an over-the-air download upgrade method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the over-the-air upgrade method of the present application.

[0066] In this embodiment, the over-the-air download upgrade method includes steps S10 to S40:

[0067] Step S10, obtaining the vehicle's behavior data, battery health status, over-the-air download upgrade conditions, electronic control unit flashing conditions, and electronic control unit upgrade package;

[0068] It should be noted that the vehicle's behavioral data includes information such as the owner's driving habits, parking mode, charging frequency, etc., which can be collected in real time through on-board sensors, GPS positioning and vehicle networking systems. By analyzing this data, it is possible to understand the owner's usage habits and choose the most suitable time for OTA upgrades. The battery health state (State of Health, SOH) is an indicator of the current health of the battery, usually by comparing the battery's charging capacity with the rated capacity at the factory. The battery health determines the actual capacity and charging speed of the battery, which affects the charging time required during the OTA upgrade process and the upgrade success rate. When the SOH is low, the battery's charging efficiency decreases, and it may take more time to charge and support the upgrade task. For example, if the battery SOH of a vehicle is 80%, it means that its battery capacity has decreased by 20%. In this case, the upgrade may require a longer charging time, and the battery may be less efficient during the charging process. The upgrade package of the electronic control unit is a data package containing new firmware or software update content, usually provided by a cloud server. The upgrade package contains ECU firmware updates, repair patches, function enhancements, etc. The content of the upgrade package for different ECUs may be different. For example, the upgrade package for the power system ECU may include performance optimization, while the upgrade package for the entertainment system ECU may include function expansion or user interface improvement. The upgrade package needs to be transmitted to the vehicle via over-the-air download to ensure that the ECU can be upgraded as needed.

[0069] In addition, it should be noted that the upgrade conditions for over-the-air downloads refer to some prerequisites that must be met when performing OTA upgrades. These conditions include but are not limited to network connection status, charging status, and the idleness of on-board equipment. First, the vehicle needs to have a stable network connection, such as Wi-Fi or cellular data, to download the upgrade package. Secondly, the vehicle battery power should meet the minimum requirements for the upgrade to avoid upgrade failures due to insufficient battery power. Finally, the vehicle needs to be in a suitable state to ensure that the upgrade process does not interfere with the normal use of the owner. The flashing conditions of the electronic control unit refer to specific conditions that need to be met when upgrading the ECU. In addition, the upgrade conditions for over-the-air downloads and the flashing conditions for the electronic control unit can be configured in advance in the cloud.

[0070] Step S20, predicting an initial upgrade time according to the behavior data, and obtaining a target upgrade time based on the initial upgrade time and the upgrade package;

[0071] It should be noted that the initial upgrade time refers to a preliminary upgrade time predicted based on the vehicle's behavioral data and the owner's usage habits. This time point is usually based on the vehicle's idle period, charging status, and the appropriate time period of the owner's habits. By analyzing the vehicle's historical behavioral data, the system can predict a relatively accurate initial time for scheduling subsequent upgrade tasks. The target upgrade time refers to the final upgrade time obtained by dynamically adjusting the size of the upgrade package based on the initial upgrade time. The size and download time of the upgrade package are the key factors in determining the final upgrade timing. The target upgrade time is the final decision time to ensure that the vehicle is OTA upgraded at the appropriate time. Electronic Control Unit (ECU) refers to a hardware module that controls specific functions inside the vehicle. Each ECU is responsible for controlling a certain part of the system, such as the engine, brakes, in-vehicle entertainment, etc. ECUs usually contain firmware and software, and need to be upgraded regularly to fix vulnerabilities, improve performance, or add new features.

[0072] It is understandable that an initial upgrade time is predicted based on the vehicle's behavior data, which is usually estimated based on the owner's usage habits and the vehicle's idle time. Then, combined with the size of the upgrade package and the current network bandwidth, the target upgrade time is dynamically adjusted. In this way, it is possible to ensure that the time for downloading and installing the upgrade package matches the vehicle's idle time, thereby optimizing the timing of the OTA upgrade task.

[0073] In a feasible implementation, step S20 may include steps S21 to S25:

[0074] Step S21, obtaining the upgrade package capacity according to the upgrade package;

[0075] It should be noted that the upgrade package capacity refers to the size of the upgrade file transmitted during the OTA upgrade process, usually in bytes (Byte), kilobytes (KB), megabytes (MB) or gigabytes (GB). The size of the capacity directly affects the time and bandwidth requirements required for downloading.

[0076] Step S22, obtaining a vehicle usage pattern and vehicle owner usage data according to the behavior data;

[0077] It should be noted that vehicle usage patterns refer to the daily usage patterns of the vehicle by the owner, including the timing of driving, parking, charging, etc. These patterns help predict the idle time periods of the vehicle, so as to reasonably arrange the OTA upgrade tasks. Owner usage data refers to historical data that reflects the owner's vehicle usage habits, mainly including parking time, driving frequency, charging time, etc. These data help to estimate the idle time periods of the vehicle, and then reasonably arrange the upgrade tasks.

[0078] Step S23, obtaining an idle time period of the vehicle according to the vehicle usage pattern and the vehicle owner usage data;

[0079] It should be noted that the vehicle idle time period refers to the period when the vehicle is not used for a certain period of time, usually the period when the owner parks and charges the vehicle.

[0080] It is understandable that the idle time period of the vehicle is predicted based on the analyzed vehicle usage pattern and owner usage data. This time period is the best time to perform OTA upgrades when the vehicle is not in use by the owner and the battery is relatively sufficient. Accurate idle time period prediction can ensure that the OTA upgrade task will not interfere with the normal use of the owner and improve the user experience.

[0081] Step S24, predicting the initial upgrade time according to the idle time period, the upgrade package capacity and the current vehicle status;

[0082] It should be noted that the current vehicle status refers to the operation and use of the vehicle at a specific moment, including battery power, network connection, vehicle speed and other information, which will affect the timing and execution of the upgrade. If the vehicle battery power is low or the network connection is unstable, the upgrade time may be postponed until the battery is sufficient or the network is stable.

[0083] Step S25: sending the initial upgrade time to the user, so that the user returns to the target upgrade time based on the initial upgrade time.

[0084] It should be noted that the target upgrade time is the final upgrade time adjusted based on the initial upgrade time, vehicle status and owner feedback to ensure that the upgrade task is carried out during the owner's free time period.

[0085] It is understandable that the predicted initial upgrade time is sent to the car owner, and the car owner confirms whether the upgrade is appropriate based on this time point. The car owner can feedback whether to adjust the target upgrade time according to their needs. By providing preliminary predictions and then feeding back to the car owner, it ensures that the upgrade task can be carried out at the most appropriate time for the car owner, further optimizing the OTA upgrade process and avoiding interference from the car owner.

[0086] In a feasible implementation manner, step S30 may include steps S27 to S29:

[0087] Step S27, checking the vehicle status according to the upgrade condition;

[0088] It should be noted that the vehicle status refers to the operation and usage of the vehicle at a specific moment. The vehicle status includes but is not limited to factors such as battery power, charging status, vehicle speed, and network connection status.

[0089] It is understood that the vehicle status is checked according to the preset upgrade conditions to verify whether the vehicle meets all the requirements for starting the OTA upgrade. The vehicle status check includes but is not limited to ensuring that the battery is sufficient, whether the vehicle is parked, whether the network connection is stable, etc. If any of these conditions are not met, the OTA upgrade will not start and will continue to wait for the conditions to be met before upgrading.

[0090] Step S28, when the vehicle state does not meet the upgrade condition, further checking the vehicle state according to a preset time interval within a preset determination period;

[0091] It should be noted that the preset determination period refers to the time period for regularly checking the vehicle status when the vehicle status does not meet the upgrade conditions. Through this period, the vehicle status can be regularly checked within a certain period of time until all upgrade conditions are met. In this embodiment, the preset determination period is 5 minutes. The preset time interval refers to the time interval set between each inspection. The length of this interval determines the frequency of checking the vehicle status. The inspection interval can be set according to actual needs. In this embodiment, the preset time interval is 1 minute.

[0092] It is understandable that if the vehicle status does not meet the upgrade conditions, the vehicle status will continue to be checked according to the preset determination cycle. By setting a preset time interval, the system can re-evaluate the vehicle's battery power, network connection, etc. after each inspection cycle until the vehicle's status meets all upgrade conditions. For example, if the vehicle's battery power is less than 20%, the battery power will be checked every 1 minute within 5 minutes until the battery power is sufficient. In this embodiment, if none of the conditions are met within the preset determination cycle, then the upgrade cannot be made this time, and the upgrade will be automatically scheduled for the next day.

[0093] Step S29: When further checking that the vehicle status satisfies the upgrade condition, it is determined that the vehicle satisfies the upgrade condition.

[0094] It is understood that further inspection means that when the vehicle status does not meet the upgrade conditions for the first time, the status inspection will continue within the set period until it is determined that the vehicle meets or does not meet the upgrade conditions. Determining that the vehicle meets the upgrade conditions means that after further inspection, all conditions of the vehicle, such as battery power, parking status, network connection, etc., meet the requirements for starting OTA upgrade. At this time, it will be confirmed that the vehicle is ready for upgrade.

[0095] Step S30, when it is determined that the vehicle meets the upgrade condition and the current time is the target upgrade time, determining whether the electronic control unit can be upgraded according to the battery health status and the flashing condition;

[0096] It should be noted that the current time refers to the system time or real-time clock time when the OTA upgrade operation is performed. In this step, the current time is used to compare with the previously calculated target upgrade time to ensure that the upgrade task is started within the correct time window.

[0097] It is understandable that when the vehicle meets the preset upgrade conditions and the current time meets the previously determined target upgrade time, the next task is to determine whether the ECU can be upgraded based on the SOH and flashing conditions. By verifying the battery health status, ensure that the battery power is sufficient to support the entire upgrade process. If the battery health status is poor, it may take more time to charge to meet the upgrade power requirements. And it is necessary to check whether the vehicle meets the flashing conditions, which may include the vehicle's gear, speed, and temperature. If all the above conditions are met, it is confirmed that the ECU can be upgraded and the upgrade package will be downloaded over the air; if the conditions are not met, the upgrade task will be postponed until the conditions are met.

[0098] In a feasible implementation, step S30 may include steps S31 to S35:

[0099] Step S31, when it is determined that the vehicle meets the upgrade condition and the current time is the target upgrade time, obtaining the battery power condition according to the flashing condition;

[0100] It should be noted that the battery power condition refers to the minimum requirement that the vehicle battery power must meet in order to ensure the smooth progress of the OTA upgrade. If the battery power is insufficient, the upgrade will be suspended until the battery power reaches the required level.

[0101] It is understandable that the flashing conditions usually include but are not limited to vehicle battery power, vehicle speed, gear position and other conditions to ensure that the vehicle is in a stable state during the OTA upgrade. Based on these flashing conditions, a battery power condition can be derived, that is, to ensure that the battery power is sufficient to support the upgrade process.

[0102] Step S32, determining whether the current battery power meets the upgrade power requirement according to the battery power condition;

[0103] It should be noted that the upgrade power requirement refers to the minimum battery power required to ensure the success of the OTA upgrade process. Only when the battery power reaches this requirement can the OTA upgrade process be started. The current battery power refers to the battery power of the vehicle at the current moment, usually expressed as a percentage. This power is an important basis for determining whether the OTA upgrade can be started.

[0104] It is understandable that the current battery power meets the upgrade power requirement based on the previously defined battery power condition. If the current battery power meets the requirement, the OTA upgrade can continue; if the battery power is insufficient, the system will suspend the upgrade and remind the owner to charge until the battery power meets the upgrade requirement.

[0105] Step S33, when the current battery power does not meet the upgrade power requirement, determining the charging time according to the battery health status;

[0106] It should be noted that charging time refers to the time required to charge the battery from the current power to the required power. This time depends on multiple factors, including but not limited to the battery health status, charging power and battery power requirements. For example, assuming that the current battery power is 40%, it takes 10 minutes to charge to reach the 50% power requirement. If the battery is in good health, the charging time may be shorter; if the battery is in poor health, the charging time may be longer.

[0107] It is understandable that the current battery charge is checked to see if it meets the requirements. If the battery charge is insufficient, the time required for charging is determined based on the battery health status. When the battery health status is low, the charging efficiency will be poor, and the actual charging time needs to be calculated. This process ensures the accuracy of the charging time so that the battery can reach the required charge within the predetermined time.

[0108] In a feasible implementation, step S33 may include steps S331 to S334:

[0109] Step S331, when the current battery power does not meet the upgrade power requirement, obtain the initial charging time;

[0110] It should be noted that the initial charging time refers to the time required to charge to the target power level based on the current battery power and the required power level. In this embodiment, the initial charging time can be preset according to the vehicle in the cloud, and when the current battery power does not meet the upgrade power requirement, the initial charging time is obtained from the cloud.

[0111] Step S332, determining charging efficiency according to the battery health status;

[0112] It should be noted that charging efficiency refers to the ratio between the amount of electrical energy that a battery can effectively store during charging and the total amount of electrical energy consumed during charging. When the battery is in poor health, the charging efficiency is usually low, resulting in more electrical energy being converted into heat or other forms of energy loss.

[0113] It is understandable that calculating the charging efficiency based on the battery's health status means that when the battery's health status is poor, the battery's charging efficiency is low, so the time required for charging will increase. It is necessary to adjust the estimation of the charging time according to the battery's health status to ensure that the charging process can be completed effectively without wasting too much time and energy. According to the battery's health status, a suitable charging curve can be selected, such as constant current charging, constant voltage charging, etc. to adjust the charging efficiency to avoid battery damage caused by too fast charging. For aging batteries, a milder charging curve will be preferred and the charging time will be appropriately extended. For example, when the battery health status is 90%, it means that the battery's charging capacity is only 90% of the original capacity. At this time, the charging efficiency may be 85%-90%, and when the battery health status is 70%, the charging efficiency may drop below 75%. In actual operation, the charging strategy will be adjusted based on the battery's health status, the actual charging efficiency will be calculated, and the time required for charging will be calculated accordingly, so as to ensure that the charging time can be reasonably predicted during the charging process and avoid delayed upgrade problems caused by reduced charging efficiency.

[0114] Step S333, calculating a target charging time difference according to the charging efficiency;

[0115] It should be noted that the target charging time difference refers to the remaining charging time difference calculated based on the current battery power, target power and charging efficiency. The time difference indicates the time required for additional charging, which is used to make up for the time loss caused by low charging efficiency during the charging process.

[0116] It is understood that the target charging time difference is calculated based on the previously calculated charging efficiency. If the charging efficiency is lower, the target charging time difference is calculated and the total charging time is adjusted based on this difference.

[0117] Step S334, determining a target charging time according to the target charging time difference and the initial charging time.

[0118] It should be noted that the target charging time refers to the total charging time calculated based on the target charging time difference and the initial charging time. This time is the estimated charging time from the current battery power to the required power.

[0119] It is understandable that the target charging time is obtained by adding the calculated target charging time difference to the initial charging time. This time ensures that the vehicle battery can be charged to the power required to meet the OTA upgrade. If the target charging time is longer, the charging strategy will be readjusted according to the battery health status and charging efficiency to ensure that the battery power is sufficient to support the upgrade when charging is completed.

[0120] Step S34, charging according to the charging time, and determining whether the power of the charged battery meets the upgrade power requirement according to the battery power condition;

[0121] It is understandable that charging starts according to the previously calculated charging time. When the charging process is completed, it will be checked again whether the battery power after charging meets the upgrade power requirement. If the battery power meets the requirement, the OTA upgrade will continue; if the battery power is still insufficient, the system will continue to charge until the required power is reached.

[0122] Step S35, when the power of the rechargeable battery meets the upgrade power requirement, determine whether the electronic control unit can be upgraded according to the flashing condition.

[0123] It should be noted that when the battery power meets the upgrade power requirement, it will check again whether all flashing conditions are met. If the vehicle meets the flashing conditions, the OTA upgrade task will be started; if the flashing conditions are not met, the upgrade will be paused or postponed until all conditions are met.

[0124] Step S40: When it is determined that the electronic control unit can be upgraded, an over-the-air upgrade is performed according to the upgrade package.

[0125] It is understandable that when it is determined that the vehicle meets all upgrade conditions, has sufficient battery power and meets the preset flashing conditions, the upgrade package containing the latest firmware or software will be transmitted to the vehicle's ECU and the upgrade will begin.

[0126] This embodiment provides an over-the-air upgrade method, which solves the technical problems of improper upgrade timing selection, low upgrade success rate and interference of the upgrade process to the car owner in the traditional OTA upgrade process by comprehensively analyzing vehicle behavior data, battery health status, over-the-air upgrade conditions, electronic control unit flashing conditions and upgrade package information, thereby achieving the beneficial effects of optimizing the upgrade timing, improving the upgrade success rate and reducing interference with the normal use of the car owner.

[0127] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 2 The step S40 of the air download upgrade method includes steps S41 to S46:

[0128] Step S41, when it is determined that the electronic control unit can be upgraded, obtaining the priority of the upgrade package, the priority including a first priority and a second priority, the first priority being greater than the second priority;

[0129] It should be noted that priority refers to the level of determining which tasks need to be executed first among multiple upgrade tasks or operations, and the setting of priority is usually based on the urgency, importance or impact of the task on the system. In this embodiment, the priority of the upgrade package can be preset in the cloud, and it can be obtained from the cloud when needed.

[0130] In addition, it should be noted that the first priority refers to the most urgent or important tasks or upgrade packages. These tasks are usually directly related to the safety or core functions of the vehicle. The first priority tasks will be given priority to ensure that the core functions of the vehicle are upgraded and repaired in a timely manner. The second priority refers to tasks or upgrade packages that are less important and less urgent than the first priority. The second priority tasks usually involve non-critical functional updates or optimizations, which can be upgraded in parallel with the first priority tasks or after the first priority tasks are completed. For example, the upgrade package of the brake system control unit is usually given the first priority because it involves the basic safety of the vehicle. Upgrade packages for the vehicle's infotainment system or air conditioning system may be given the second priority because they have no direct impact on the basic safety and functions of the vehicle.

[0131] Step S42, when the current battery power is less than a preset power threshold, performing an over-the-air upgrade according to the upgrade package of the first priority, and suspending the upgrade of the upgrade package of the second priority;

[0132] It should be noted that the preset power threshold refers to the minimum battery power requirement set by the system. When the vehicle's battery power is lower than this threshold, the system will limit or adjust the execution of the OTA upgrade task to avoid excessive battery depletion.

[0133] It is understandable that when the current battery power is lower than the preset power threshold, the download and installation of the first priority upgrade package will be prioritized. This means that the system will prioritize the most critical and urgent upgrade tasks, such as ECU upgrades involving safety functions, to ensure that these important tasks can be completed with limited battery power. The first priority upgrade package may include software updates related to the vehicle's safety system, such as brake control, power system, ABS, etc. These functions are directly related to the vehicle's operational safety. At the same time, the system will suspend the download and installation of the second priority upgrade package. The second priority upgrade package usually includes updates to non-core functions, such as infotainment systems, in-vehicle navigation, etc. These functions have no direct impact on the basic operation and safety of the vehicle. Therefore, when the battery power is low, the system will delay the execution of these tasks to avoid battery exhaustion affecting the normal use of the vehicle.

[0134] Step S43, when the current battery power is greater than or equal to a preset power threshold, performing an over-the-air download upgrade according to the upgrade packages of the first priority and the second priority.

[0135] It is understandable that when the current battery power is higher than or equal to the preset power threshold, the over-the-air download upgrade of the upgrade packages of the first priority and the second priority can be started at the same time. This step is performed when the battery power is sufficient to support the entire OTA upgrade process, ensuring that there is enough energy to complete all scheduled upgrade tasks, regardless of their priority.

[0136] In a feasible implementation manner, after step S43, steps S44 to S46 are further included:

[0137] Step S44, when it is detected that the upgrade of the first upgrade package of the upgrade package is completed, determining again based on the battery health status and the flashing condition whether the electronic control unit can be upgraded;

[0138] It should be noted that the first upgrade package refers to the first software package that needs to be upgraded in sequence during the OTA upgrade process.

[0139] It is understandable that after detecting that the first upgrade package has been successfully upgraded, it will re-evaluate whether the OTA upgrade can continue based on the battery health status and the flashing conditions. First, the current battery health status will be checked to confirm whether the battery has sufficient capacity to support the next upgrade. If the battery health is poor, the charging efficiency may be low and more charging time may be required. Next, the system will verify whether the vehicle's status meets the flashing conditions, such as battery power, vehicle speed, whether the vehicle is in a parked state, etc., to ensure that subsequent upgrade tasks can proceed smoothly. If all conditions are met, the system will proceed to the next upgrade, otherwise the upgrade will be suspended until the conditions are met.

[0140] Step S45, when it is determined that the electronic control unit cannot be upgraded, stopping upgrading the second upgrade package of the upgrade package, and obtaining an upgrade error record;

[0141] It should be noted that the second upgrade package refers to the second upgrade package that is carried out immediately after the first upgrade package is completed during the OTA upgrade process. The upgrade error record is a detailed log generated when a problem occurs during the OTA upgrade process, recording the specific reasons for the upgrade failure and related operation steps. These records provide key data for troubleshooting, subsequent optimization and adjustment.

[0142] It is understandable that if it is found that the conditions for continuing the upgrade are not met during the evaluation process of step S44, the upgrade operation of the second upgrade package in progress will be stopped. At this time, an upgrade error record will be generated, which includes the reason why the upgrade cannot continue, such as insufficient battery power, failure to meet a certain flashing condition, etc. This error record will provide detailed data for subsequent analysis, help optimize the upgrade process, and avoid similar problems from recurring.

[0143] Step S46, sending the upgrade error record to the cloud, so that the cloud updates the upgrade initial charging time based on the upgrade error record.

[0144] It is understandable that when an upgrade error occurs, the upgrade error record needs to be sent to the cloud so that the cloud can analyze the cause of the upgrade failure and adjust the initial charging time for the upgrade based on the error record. For example, if the error record indicates that the upgrade cannot continue due to insufficient battery power, the cloud will re-evaluate the charging strategy and adjust the initial charging time before the next upgrade task begins. This adjustment helps ensure that the battery can be charged to a sufficient level during the next OTA upgrade to avoid upgrade failures due to insufficient battery power.

[0145] This embodiment provides an over-the-air upgrade method, which solves the technical problem of how to reasonably allocate battery resources to prioritize upgrades of key electronic control units under power constraints by introducing technical means for upgrade package priority management, thereby achieving the beneficial effect of optimizing battery usage efficiency and upgrade process while ensuring the core functions and safety of the vehicle.

[0146] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the over-the-air download upgrade method of the present application. More simple transformations based on this technical concept are all within the protection scope of the present application.

[0147] This application also provides an over-the-air download upgrade device, please refer to Figure 3 , the air download upgrade device comprises:

[0148] The acquisition module 10 is used to acquire the vehicle's behavior data, battery health status, over-the-air download upgrade conditions, electronic control unit flashing conditions, and electronic control unit upgrade packages;

[0149] A prediction module 20, configured to predict an initial upgrade time according to the behavior data, and obtain a target upgrade time based on the initial upgrade time and the upgrade package;

[0150] A determination module 30, configured to determine whether the electronic control unit can be upgraded according to the battery health status and the flashing condition when it is determined that the vehicle meets the upgrade condition and the current time is the target upgrade time;

[0151] The upgrade module 40 is used to perform an over-the-air download upgrade according to the upgrade package when it is determined that the electronic control unit can be upgraded.

[0152] The over-the-air upgrade device provided by the present application adopts the over-the-air upgrade method in the above-mentioned embodiment, which can solve the technical problem that insufficient battery power may lead to the inability to complete subsequent ECU flashing in traditional vehicle remote upgrades, thereby affecting the success rate of OTA upgrades. Compared with the prior art, the beneficial effects of the over-the-air upgrade device provided by the present application are the same as the beneficial effects of the over-the-air upgrade method provided by the above-mentioned embodiment, and other technical features in the over-the-air upgrade device are the same as the features disclosed in the above-mentioned embodiment method, which will not be repeated here.

[0153] In one embodiment, the determination module 30 is further configured to obtain a battery power condition according to the flashing condition when it is determined that the vehicle meets the upgrade condition and the current time is the target upgrade time;

[0154] Determine whether the current battery power meets the upgrade power requirement according to the battery power condition; when the current battery power does not meet the upgrade power requirement, determine the charging time according to the battery health status; charge according to the charging time, and determine whether the charged battery power meets the upgrade power requirement according to the battery power condition; when the charged battery power meets the upgrade power requirement, determine whether the electronic control unit can be upgraded according to the flashing condition.

[0155] In one embodiment, the determination module 30 is also used to obtain an initial charging time when the current battery power does not meet the upgrade power requirement; determine the charging efficiency according to the battery health status; calculate the target charging time difference according to the charging efficiency; and determine the target charging time according to the target charging time difference and the initial charging time.

[0156] In one embodiment, the determination module 30 is further used to check the vehicle status according to the upgrade condition; when the vehicle status does not meet the upgrade condition, further check the vehicle status according to a preset time interval within a preset determination period; when further checking that the vehicle status meets the upgrade condition, determine that the vehicle meets the upgrade condition.

[0157] In one embodiment, the prediction module 20 is further used to obtain the upgrade package capacity based on the upgrade package; obtain the vehicle usage pattern and the owner usage data based on the behavior data; obtain the idle time period of the vehicle based on the vehicle usage pattern and the owner usage data; predict the initial upgrade time based on the idle time period, the upgrade package capacity and the current vehicle status; and send the initial upgrade time to the user so that the user returns to the target upgrade time based on the initial upgrade time.

[0158] In one embodiment, the upgrade module 40 is also used to obtain the priority of the upgrade package when determining that the electronic control unit can be upgraded, the priority including a first priority and a second priority, the first priority being greater than the second priority; when the current battery power is less than a preset power threshold, the upgrade package of the first priority is downloaded over the air, and the upgrade package of the second priority is suspended; when the current battery power is greater than or equal to the preset power threshold, the upgrade package of the first priority and the second priority are downloaded over the air.

[0159] In one embodiment, the upgrade module 40 is further used to determine whether the electronic control unit can be upgraded again based on the battery health status and the flashing condition when it is detected that the upgrade of the first upgrade package of the upgrade package is completed; when it is determined that the electronic control unit cannot be upgraded, stop upgrading the second upgrade package of the upgrade package and obtain an upgrade error record; send the upgrade error record to the cloud, so that the cloud updates the upgrade initial charging time based on the upgrade error record.

[0160] The present application provides an over-the-air upgrade device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the over-the-air upgrade method in the above-mentioned embodiment 1.

[0161] Reference below Figure 4 , which shows a schematic diagram of the structure of an over-the-air upgrade device suitable for implementing the embodiment of the present application. The over-the-air upgrade device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The air download upgrade device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0162] like Figure 4As shown, the over-the-air upgrade device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the over-the-air upgrade device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the over-the-air upgrade device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows an over-the-air upgrade device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided instead.

[0163] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0164] The over-the-air upgrade device provided by the present application adopts the over-the-air upgrade method in the above embodiment, which can solve the technical problem that insufficient battery power may lead to the inability to complete subsequent ECU flashing in traditional vehicle remote upgrades, thereby affecting the success rate of OTA upgrades. Compared with the prior art, the beneficial effects of the over-the-air upgrade device provided by the present application are the same as the beneficial effects of the over-the-air upgrade method provided by the above embodiment, and other technical features in the over-the-air upgrade device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0165] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0166] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0167] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the over-the-air download upgrade method in the above-mentioned embodiment.

[0168] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0169] The computer-readable storage medium may be included in the over-the-air upgrade device; or may exist independently without being assembled into the over-the-air upgrade device.

[0170] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the over-the-air download upgrade device, the over-the-air download upgrade device: obtains the vehicle's behavior data, battery health status, over-the-air upgrade conditions, electronic control unit flashing conditions and electronic control unit upgrade package; predicts the initial upgrade time according to the behavior data, and obtains the target upgrade time based on the initial upgrade time and the upgrade package; when it is determined that the vehicle meets the upgrade conditions and the current time is the target upgrade time, determines whether the electronic control unit can be upgraded according to the battery health status and the flashing conditions; when it is determined that the electronic control unit can be upgraded, performs an over-the-air download upgrade according to the upgrade package.

[0171] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0172] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0173] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0174] The readable storage medium provided in this application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned over-the-air download upgrade method, and can solve the technical problem that insufficient battery power may lead to the inability to complete subsequent ECU flashing in traditional vehicle remote upgrades, thereby affecting the success rate of OTA upgrades. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the over-the-air download upgrade method provided in the above-mentioned embodiment, and will not be repeated here.

[0175] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned over-the-air download upgrade method when executed by a processor.

[0176] The computer program product provided by this application can solve the technical problem that insufficient battery power may lead to the inability to complete subsequent ECU flashing in traditional vehicle remote upgrades, thereby affecting the success rate of OTA upgrades. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as the beneficial effects of the over-the-air download upgrade method provided in the above embodiment, and will not be repeated here.

[0177] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. An over-the-air download upgrade method, characterized in that: The method comprises: Obtain vehicle behavior data, battery health status, over-the-air download upgrade conditions, electronic control unit flashing conditions, and electronic control unit upgrade packages; Predicting an initial upgrade time according to the behavior data, and obtaining a target upgrade time based on the initial upgrade time and the upgrade package; When it is determined that the vehicle meets the upgrade condition and the current time is the target upgrade time, determining whether the electronic control unit can be upgraded according to the battery health state and the flashing condition; When it is determined that the electronic control unit can be upgraded, an over-the-air download upgrade is performed according to the upgrade package.

2. The method according to claim 1, characterized in that The step of determining whether the electronic control unit can be upgraded according to the battery health status and the flashing condition when it is determined that the vehicle meets the upgrade condition and the current time is the target upgrade time includes: When it is determined that the vehicle meets the upgrade condition and the current time is the target upgrade time, a battery power condition is obtained according to the flashing condition; Determine whether the current battery power meets the upgrade power requirement according to the battery power condition; When the current battery power does not meet the upgrade power requirement, determining the charging time according to the battery health status; Charging is performed according to the charging time, and determining whether the power of the charged battery meets the upgrade power requirement according to the battery power condition; When the power of the rechargeable battery meets the upgrade power requirement, it is determined whether the electronic control unit can be upgraded according to the flashing condition.

3. The method according to claim 2, characterized in that When the current battery power does not meet the upgrade power requirement, the step of determining the charging time according to the battery health status includes: When the current battery power does not meet the upgrade power requirement, obtain the initial charging time; determining a charging efficiency based on the battery health status; Calculating a target charging time difference according to the charging efficiency; A target charging time is determined according to the target charging time difference and the initial charging time.

4. The method according to claim 1, characterized in that Before the step of determining whether the electronic control unit can be upgraded according to the battery health status and the flashing condition when it is determined that the vehicle meets the upgrade condition and the current time is the target upgrade time, the step further includes: Checking the vehicle status according to the upgrade conditions; When the vehicle state does not meet the upgrade condition, further checking the vehicle state according to a preset time interval within a preset determination period; When it is further checked that the vehicle state meets the upgrade condition, it is determined that the vehicle meets the upgrade condition.

5. The method according to claim 1, characterized in that The step of predicting the initial upgrade time according to the behavior data and obtaining the target upgrade time based on the initial upgrade time and the upgrade package includes: Obtaining upgrade package capacity according to the upgrade package; Obtaining vehicle usage patterns and vehicle owner usage data based on the behavior data; Obtaining an idle time period of the vehicle according to the vehicle usage pattern and the vehicle owner usage data; Predicting an initial upgrade time according to the idle time period, the upgrade package capacity, and the current vehicle status; The initial upgrade time is sent to the user, so that the user returns to the target upgrade time based on the initial upgrade time.

6. The method according to claim 1, characterized in that When it is determined that the electronic control unit can be upgraded, the step of performing an over-the-air upgrade according to the upgrade package comprises: When determining that the electronic control unit can be upgraded, obtaining a priority of the upgrade package, the priority including a first priority and a second priority, the first priority being greater than the second priority; When the current battery power is less than the preset power threshold, the upgrade is performed according to the upgrade package of the first priority, and the upgrade of the upgrade package of the second priority is suspended; When the current battery power is greater than or equal to a preset power threshold, an over-the-air download upgrade is performed according to the upgrade packages of the first priority and the second priority.

7. The method according to claim 6, characterized in that After the step of performing over-the-air download upgrade according to the upgrade packages of the first priority and the second priority when the current battery power is greater than or equal to the preset power threshold, the method further includes: When it is detected that the upgrade of the first upgrade package of the upgrade package is completed, determining again according to the battery health status and the flashing condition whether the electronic control unit can be upgraded; When it is determined that the electronic control unit cannot be upgraded, stopping upgrading the second upgrade package of the upgrade package and obtaining an upgrade error record; The upgrade error record is sent to the cloud, so that the cloud updates the upgrade initial charging time based on the upgrade error record.

8. An over-the-air download upgrade device, characterized in that: The device comprises: The acquisition module is used to obtain the vehicle's behavior data, battery health status, over-the-air download upgrade conditions, electronic control unit flashing conditions, and electronic control unit upgrade packages; A prediction module, configured to predict an initial upgrade time according to the behavior data, and obtain a target upgrade time based on the initial upgrade time and the upgrade package; a determination module, configured to determine whether the electronic control unit can be upgraded according to the battery health status and the flashing condition when it is determined that the vehicle meets the upgrade condition and the current time is the target upgrade time; The upgrade module is used to perform an over-the-air download upgrade according to the upgrade package when it is determined that the electronic control unit can be upgraded.

9. An over-the-air download upgrade device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the over-the-air upgrade method according to any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the over-the-air download upgrade method according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Software upgrading method and device and electronic equipment

    CN120675876A

  • New energy automobile communication controller software upgrading method and system

    CN121187618A

  • Vehicle-mounted software non-inductive appointment upgrading optimization method and system based on T-BOX and OTA

    CN121579046A