Vehicle wireless upgrading method, device and equipment, storage medium and computer program product
By calculating the current battery power, power consumption efficiency and energy density of the vehicle battery, determining the endurance time, solving the problem of insufficient endurance time caused by vehicle battery loss, and achieving the successful completion of wireless upgrades.
Patent Information
- Application Number
- CN202510394792.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-31
- Publication Date
- 2025-08-01
AI Technical Summary
In the prior art, the battery life of the vehicle battery under the power threshold cannot support wireless upgrade completion due to loss during use.
By obtaining the current battery power, power consumption efficiency and energy density of the vehicle battery, calculate the endurance time, and perform wireless upgrades when the endurance time reaches the upgrade time.
Ensure that the vehicle's power can support the completion of wireless upgrades and avoid upgrade interruptions or vehicle failures caused by insufficient power.
Smart Images

Figure CN120416033A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of automobiles, and particularly relates to a vehicle wireless upgrade method, device, equipment, storage medium and computer program product. Background Art
[0002] In recent years, with the development of automotive intelligence and networking, the application of Over-the-Air Technology (OTA) in the automotive industry has become increasingly widespread, becoming an important means for automotive software iteration and function update.
[0003] In the existing methods for determining whether a vehicle can complete wireless upgrade, generally a fixed power threshold set by the factory at the time of battery production is used as a configuration item. When wireless upgrade is required, it is judged whether the current vehicle battery power reaches the power threshold. If the current vehicle battery power reaches the power threshold, wireless upgrade is performed. However, due to battery loss during the use of the vehicle battery, when the vehicle battery power reaches the power threshold, the battery life of the battery after loss cannot support the completion of the upgrade at this power threshold.
[0004] The above content is only used to assist in understanding the technical solution of the present application, and does not represent an admission that the above content is prior art. Summary of the Invention
[0005] The main purpose of the present application is to provide a vehicle wireless upgrade method, device, equipment, storage medium and computer program product, aiming to solve the technical problem that the existing technology uses a fixed power threshold, resulting in the battery life of the battery with loss unable to support the completion of the upgrade at the fixed power threshold.
[0006] To achieve the above purpose, the present application proposes a vehicle wireless upgrade method, and the method includes:
[0007] When receiving an upgrade task sent from the cloud, determine the upgrade duration required for the upgrade task;
[0008] Obtain the current power, current battery power consumption efficiency and current battery energy density of the vehicle battery, and obtain the sustainable battery life of the vehicle battery according to the current battery power consumption efficiency, the current battery energy density and the current power;
[0009] When the sustainable battery life reaches the upgrade duration, perform vehicle wireless upgrade based on the upgrade task.
[0010] In one embodiment, the step of obtaining the current power, current battery power consumption efficiency and current battery energy density of the vehicle battery includes:
[0011] Obtain the battery discharge amount of the vehicle battery within a preset duration, and obtain the current battery power consumption efficiency of the vehicle battery based on the battery discharge amount and the preset duration;
[0012] Obtain the current battery level of the vehicle battery and the battery charging record, and obtain the current battery energy density of the vehicle battery according to the battery charging record.
[0013] In one embodiment, the step of obtaining the current battery energy density of the vehicle battery according to the battery charging record includes:
[0014] Obtain the battery energy increase amount and the battery level increase amount when the vehicle battery was last charged according to the battery charging record;
[0015] Obtain the current battery energy density of the vehicle battery based on the battery energy increase amount and the battery level increase amount.
[0016] In one embodiment, the step of obtaining the battery discharge amount of the vehicle battery within a preset duration includes:
[0017] When the vehicle is powered on with the vehicle battery, record the current power-on duration;
[0018] When the current power-on duration reaches the preset duration, obtain the discharge amount of the vehicle battery within the preset duration.
[0019] In one embodiment, before the step of recording the current power-on duration when the vehicle is powered on with the vehicle battery, further include:
[0020] Judge the current usage status of the vehicle;
[0021] When the current vehicle usage status is the idle status, power on the vehicle and execute the step of recording the current power-on duration when the vehicle is powered on with the vehicle battery.
[0022] In one embodiment, before the step of determining the upgrade duration required for the upgrade task, further include:
[0023] Obtain the current power supply status of the vehicle;
[0024] When the current power supply status of the vehicle is the on state, execute the step of determining the upgrade duration required for the upgrade task.
[0025] In addition, to achieve the above object, the present application further proposes a vehicle wireless upgrade device, and the device includes:
[0026] A receiving module, configured to determine the upgrade duration required for the upgrade task when receiving an upgrade task sent from the cloud;
[0027] An evaluation module, configured to obtain the current power of the vehicle battery, the current battery power consumption efficiency, and the current battery energy density, and obtain the available endurance duration of the vehicle battery according to the current battery power consumption efficiency, the current battery energy density, and the current power;
[0028] An upgrade module, configured to perform wireless upgrade of the vehicle based on the upgrade task when the available endurance duration reaches the upgrade duration.
[0029] In addition, to achieve the above object, the present application further provides a vehicle wireless upgrade device, which includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, and the computer program is configured to implement the steps of the vehicle wireless upgrade method as described above.
[0030] In addition, to achieve the above object, the present application further provides a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium, and when the computer program is executed by a processor, it implements the steps of the vehicle wireless upgrade method as described above.
[0031] In addition, to achieve the above object, the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the vehicle wireless upgrade method as described above.
[0032] The present application provides a vehicle wireless upgrade method, device, equipment, storage medium, and computer program product. The method includes: when receiving an upgrade task sent from the cloud, determining the upgrade duration required for the upgrade task; obtaining the current power of the vehicle battery, the current battery power consumption efficiency, and the current battery energy density, and obtaining the available endurance duration of the vehicle battery according to the current battery power consumption efficiency, the current battery energy density, and the current power; when the available endurance duration reaches the upgrade duration, performing wireless upgrade of the vehicle based on the upgrade task. Since the battery loss of the vehicle battery during use causes the vehicle battery power to not guarantee the completion of vehicle upgrade even when reaching the power threshold, the present application analyzes the upgrade task to obtain the endurance duration threshold required for the upgrade when receiving the upgrade task sent from the cloud, and determines the available endurance duration that the current vehicle battery can support for the upgrade through the historical charging data of the vehicle battery and the discharge amount of the battery within a preset duration. By comparing the available endurance duration with the endurance duration threshold, when the available endurance duration reaches the endurance duration threshold, wireless upgrade of the vehicle is performed to ensure that the current vehicle power can support the vehicle to complete the wireless upgrade. Description of the Drawings
[0033] The accompanying drawings here are incorporated into the specification and form a part of this specification, showing embodiments consistent with this application, and are used together with the specification to explain the principles of this application.
[0034] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the following will briefly introduce the accompanying drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0035] Figure 1 Flowchart of the first embodiment of the vehicle wireless upgrade method proposed in the embodiment of this application;
[0036] Figure 2 Flowchart of the second embodiment of the vehicle wireless upgrade method proposed in the embodiment of this application;
[0037] Figure 3 Diagram of the vehicle wireless upgrade device provided in the embodiment of this application;
[0038] Figure 4 Structural schematic diagram of the vehicle wireless upgrade device suitable for implementing the embodiment of this application.
[0039] The realization of the purpose of this application, functional features and advantages will be further described in combination with the embodiments with reference to the accompanying drawings. Detailed implementation manners
[0040] It should be understood that the specific embodiments described here are only used to explain the technical solutions of this application and are not used to limit this application.
[0041] The following will clearly and completely describe the technical solutions in the embodiments of this application with reference to the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all of them. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of this application without creative efforts belong to the scope protected by this application.
[0042] It should be noted that all directional indications (such as up, down, left, right, front, back...) in the embodiments of this application are only used to explain the relative positional relationship and movement conditions between components in a specific posture (as shown in the accompanying drawings). If this specific posture changes, then the directional indications will also change accordingly.
[0043] It is understandable that in recent years, with the development of automotive intelligence and networking, the application of OTA upgrade technology in the automotive industry has shown explosive growth and has become an important engine for promoting the rapid iteration of automotive software and function updates. The traditional automotive software development model has a long cycle and a slow update and iteration speed, making it difficult to meet the growing needs of users. The emergence of OTA upgrade technology has broken this limitation and brought the possibility of continuous update and rapid iteration to automotive software. Through OTA upgrade, automotive manufacturers can remotely repair software vulnerabilities and improve performance. More importantly, they can bring more new functions and services to users, such as intelligent driving functions, vehicle networking functions, and personalized customization.
[0044] In the existing methods for judging whether a vehicle can complete OTA upgrade, generally, a fixed power threshold set by the vehicle factory at the time of battery production is used as a configuration item. When wireless upgrade is required, it is judged whether the current vehicle battery power reaches the power threshold. If the current vehicle battery power reaches the power threshold, wireless upgrade is performed. However, due to battery loss during the use of the vehicle battery, when the vehicle battery power reaches this power threshold, the remaining battery life at this power threshold after loss cannot support the completion of the upgrade.
[0045] Therefore, in order to solve the technical problem that the existing technology uses a fixed power threshold, resulting in the remaining battery life at the fixed power threshold of the damaged battery being unable to support the completion of the upgrade, this embodiment proposes a vehicle wireless upgrade method, device, equipment, storage medium, and computer program product. The method includes: when receiving an upgrade task sent from the cloud, determining the upgrade duration required for the upgrade task; obtaining the current power, current battery power consumption efficiency, and current battery energy density of the vehicle battery, and obtaining the remaining battery life of the vehicle battery based on the current battery power consumption efficiency, current battery energy density, and current power; when the remaining battery life reaches the upgrade duration, performing vehicle wireless upgrade based on the upgrade task. Since the vehicle battery loss during the use of the vehicle battery results in the inability to ensure the completion of vehicle upgrade even when the vehicle battery power reaches this power threshold, this embodiment analyzes the upgrade task to obtain the remaining battery life threshold required for the upgrade when receiving the upgrade task sent from the cloud, and determines the remaining battery life that the current vehicle battery can support for the upgrade based on the historical charging data of the vehicle battery and the discharge amount of the battery within a preset duration. By comparing the remaining battery life with the remaining battery life threshold, when the remaining battery life reaches the remaining battery life threshold, vehicle wireless upgrade is performed to ensure that the current vehicle power can support the vehicle to complete wireless upgrade.
[0046] For the sake of easy understanding, the following combination Figures 1 to 4Specific introductions are made to the vehicle wireless upgrade method provided by the embodiments of the present application and the vehicle wireless upgrade methods, devices, equipment, storage media, and computer program products provided by the following embodiments.
[0047] An embodiment of the present application provides a vehicle wireless upgrade method. Refer to Figure 1 , Figure 1 which is a flowchart of the first embodiment of the vehicle wireless upgrade method proposed by the embodiment of the present application.
[0048] As Figure 1 shown, the method includes:
[0049] Step S10: When receiving an upgrade task sent from the cloud, determine the upgrade duration required for the upgrade task.
[0050] It should be noted that the execution subject of this embodiment can be a computing service device with functions of vehicle wireless upgrade, network communication, and program operation, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of implementing the above functions. The following takes a device with vehicle wireless upgrade function (hereinafter referred to as the device) as an example to illustrate this embodiment and the following embodiments.
[0051] In addition, it should also be noted that the above vehicle wireless upgrade task may refer to a software update task sent from the cloud to the vehicle. The above upgrade duration may be the duration that the upgrade task requires power support.
[0052] In specific implementation, when the above device receives an upgrade task sent from the cloud, it will first determine the upgrade duration required for the upgrade task. In this embodiment, it can be achieved in various ways. For example: According to historical data: If the device has performed a similar upgrade task before, historical data can be referred to estimate the time required for this upgrade. For example, assume that the device has performed a similar software update before, which took 30 minutes, then the device can preliminarily estimate that this upgrade also requires about 30 minutes. According to the file size: The upgrade task usually includes software update files, and the device can estimate the time required for downloading and installation according to the size of the file. For example, assume that the device needs to download a 500MB software update file, and the current network speed is 5MB / s, then the device can estimate that it takes 100 seconds to download this file. According to the network condition: The upgrade task needs to perform data transmission through the network, and the device can estimate the time required for data transmission according to the current network condition, such as network speed and stability.
[0053] Furthermore, in order to ensure that the vehicle can be used normally for vehicle wireless upgrade, before the step of determining the upgrade duration required for the upgrade task, it further includes:
[0054] Obtain the current power status of the vehicle;
[0055] When the current power status of the vehicle is the on state, execute the step of determining the upgrade duration required for the upgrade task.
[0056] It should be noted that the above-mentioned current battery status of the vehicle can be the current working status of the vehicle's battery. In this embodiment, the current power status of the vehicle can be classified into the on state and the off state, but this embodiment is not specifically limited.
[0057] In a specific implementation, the above device needs to evaluate the status of the vehicle battery, analyze and obtain whether there is battery margin in the vehicle battery, and send a start signal to the vehicle battery. The current power status of the vehicle is determined by the working status or power output of the vehicle battery after receiving the start signal. When there is power margin in the vehicle battery and the power is normally output, it is determined that the current power of the vehicle is in the on state, and the step of determining the upgrade duration required for the upgrade task is executed.
[0058] Step S20: Obtain the current power of the vehicle battery, the current battery power consumption efficiency, and the current battery energy density, and obtain the available endurance duration of the vehicle battery according to the current battery power consumption efficiency, the current battery energy density, and the current power.
[0059] It should be noted that the above-mentioned current power can be the remaining power of the vehicle battery, usually expressed as a percentage. The above-mentioned current battery power consumption efficiency refers to the energy utilization efficiency during the battery discharge process. In this embodiment, the device can evaluate the power consumption efficiency by measuring the power consumed by the vehicle within a certain period of time and calculating the ratio of it to the driving mileage. The above-mentioned current battery energy density can be the energy contained per unit volume or unit mass of the battery. The above-mentioned available endurance duration can be the duration that the vehicle battery can support the upgrade.
[0060] In addition, it should also be noted that in order to ensure that there is enough power in the vehicle battery to maintain the normal use of the vehicle after the upgrade, a preset power threshold can be set as the standby power of the vehicle to ensure the normal use of the vehicle. The preset power threshold needs to be considered when calculating the available endurance duration of the vehicle battery. In this embodiment, 10% is used as the preset power threshold for explanation, but this embodiment is not specifically limited. Therefore, this embodiment also proposes a formula for calculating the preset available endurance duration:
[0061] Available endurance duration = (Current power - 10%) * Current battery energy density / Current battery power consumption efficiency;
[0062] In a specific implementation, first, the above-mentioned device extracts the current battery level from the vehicle's battery management system, that is, the percentage of the remaining battery level. For example, if the State-of-Charge (SOC) of an electric vehicle's battery is 80%, it means that the battery still has 80% of its charge remaining. This step is the basis of the evaluation process because it directly relates to how much energy the battery can still provide.
[0063] Secondly, the above-mentioned device calculates the current power consumption efficiency of the battery, which refers to the rate at which the vehicle consumes power under specific conditions. The power consumption efficiency is usually measured in terms of the power consumed per kilometer (such as kWh / km). For example, if a vehicle's power consumption efficiency is 0.15 kWh / km, then under optimal conditions, it will consume 0.15 kilowatt-hours of electricity per kilometer traveled. This value is affected by various factors such as vehicle load, driving habits, and road conditions. The device provides a real-time power consumption efficiency value by integrating these factors.
[0064] Finally, the above-mentioned device also takes into account the current energy density of the battery, which refers to the amount of electrical energy that can be stored per unit volume or per unit mass of the battery, usually expressed in kWh / L or kWh / kg. For example, if the energy density of the battery is 200 Wh / kg, then each kilogram of the battery can store 200 watt-hours of electrical energy. By combining the current battery level, power consumption efficiency, and energy density, the device calculates the remaining driving duration of the vehicle's battery through a complex algorithm. This duration can be the specific number of kilometers traveled or the estimated driving time. For example, if the device's calculation result shows that the vehicle can still travel 150 kilometers, then the driver can decide whether to perform an OTA upgrade based on this information, or whether to charge the battery first before upgrading. Such an evaluation not only improves the success rate of the upgrade but also provides more reliable information for the driver.
[0065] Furthermore, in order to obtain the current battery level, the current power consumption efficiency of the battery, and the current energy density of the battery, step S20 further includes:
[0066] Step S21: Obtain the battery discharge amount of the vehicle's battery within a preset duration, and obtain the current power consumption efficiency of the vehicle's battery based on the battery discharge amount and the preset duration;
[0067] Step S22: Obtain the current battery level of the vehicle's battery and the battery charging record, and obtain the current energy density of the vehicle's battery according to the battery charging record.
[0068] It should be noted that the above-mentioned battery discharge amount can be the power output by the vehicle's battery within a preset duration, and the above-mentioned battery charging record can be the historical charging data of the battery, such as the number of charging times, charging time, charging amount, etc. In addition, in order to obtain the power consumption efficiency, this embodiment also proposes a preset power consumption efficiency formula:
[0069]
[0070] In a specific implementation, the above-mentioned device, through advanced data acquisition technology, first measures and records the battery discharge of the vehicle within a preset duration. This step involves monitoring the energy output of the battery within a specific time period. For example, the device may record the power consumption of the vehicle in the past 24 hours. The battery discharge is a key indicator for evaluating the battery power consumption efficiency, which reflects the energy consumption of the battery within a certain time. Then, the above-mentioned device uses the obtained battery discharge and the preset duration to calculate the current power consumption efficiency of the battery. The power consumption efficiency refers to the rate of battery discharge per unit time, usually expressed in kilowatt-hours per hour (kWh / h) or watt-hours per kilometer (Wh / km). For example, if the device records that the vehicle discharges 25 kWh in 2 hours, then the power consumption efficiency is 12.5 kWh / h.
[0071] In addition, the above-mentioned device also collects the current battery level and the battery charging records of the vehicle. The current battery level is the remaining battery percentage at present, while the charging records include the historical charging data of the battery, such as the number of charging times, charging time, charging amount, etc. By analyzing these charging records, the device can calculate the current energy density of the battery, that is, the amount of electrical energy that the battery can store per unit mass or volume, usually expressed in watt-hours per kilogram (Wh / kg) or watt-hours per liter (Wh / L).
[0072] Step S30: When the available endurance duration reaches the upgrade duration, perform wireless upgrade on the vehicle based on the upgrade task.
[0073] It should be noted that after the above-mentioned device confirms that the available endurance duration of the vehicle battery is sufficient to cover the required upgrade duration, it will start the wireless upgrade process. The upgrade duration refers to the time required to complete the OTA upgrade, which usually depends on the size of the upgrade data packet and the wireless communication speed of the vehicle. For example, if the upgrade task takes 30 minutes to complete and the available endurance duration of the vehicle battery exceeds this duration, the above-mentioned device will automatically perform the wireless upgrade to ensure that the vehicle battery maintains sufficient power throughout the upgrade process and avoid upgrade interruption or vehicle failure caused by insufficient power.
[0074] This embodiment proposes a vehicle wireless upgrade method, device, equipment and storage medium. Due to battery loss during the use of the vehicle battery, the vehicle battery power cannot ensure the completion of vehicle upgrade even when reaching the power threshold. Therefore, in this embodiment, when obtaining the upgrade task sent from the cloud, the endurance duration threshold required for the upgrade is obtained by analyzing the upgrade task, and the sustainable endurance duration that the current vehicle battery can support for the upgrade is determined by analyzing the historical charging data of the vehicle battery and the discharge amount of the battery within a preset duration. By comparing the sustainable endurance duration with the endurance duration threshold, vehicle wireless upgrade is performed when the sustainable endurance duration reaches the endurance duration threshold, ensuring that the current vehicle power can support the vehicle to complete the wireless upgrade.
[0075] Based on the first embodiment, in the second embodiment, the same or similar content as in the above-mentioned first embodiment can be referred to the above introduction and will not be elaborated hereinafter. On this basis, please refer to Figure 2 , Figure 2 is the flowchart of the second embodiment of the vehicle wireless upgrade method proposed by the embodiment of the present application. The step of obtaining the current battery energy density of the vehicle battery according to the battery charging record includes:
[0076] Step S221: Obtain the battery energy increase amount and the battery power increase amount when the vehicle battery was last charged according to the battery charging record;
[0077] It should be noted that the above battery energy can be the total energy obtained by the battery during the last charging process, and the above battery power increase amount can be the percentage increase in battery power after charging.
[0078] In specific implementation, the above device can calculate the battery energy increase amount and the battery power increase amount when the vehicle battery was last charged by analyzing the charging record of the vehicle battery. The battery energy increase amount refers to the total energy obtained by the battery during the last charging process, usually in kilowatt-hours (kWh), while the battery power increase amount refers to the percentage increase in battery power after charging. For example, if the charging record shows that the last charging increased the battery power from 30% to 80%, the device will calculate that the power increased by 50% accordingly, as well as the corresponding energy increase amount, providing important data for evaluating the health status of the battery and upgrade decision-making.
[0079] Step S222: Obtain the current battery energy density of the vehicle battery based on the battery energy increase amount and the battery power increase amount.
[0080] It should be noted that this embodiment also provides a preset energy density formula. Obtain the last battery energy increase amount (kWh) and the battery power increase amount (%) of the vehicle battery, then
[0081]
[0082] In a specific implementation, the above-mentioned device calculates the current battery energy density of the vehicle battery using the above-mentioned preset energy density formula and the battery energy increase and battery power increase recorded during the last charge. Battery energy density refers to the energy stored per unit mass or volume of the battery, usually expressed in watt-hours per kilogram (Wh / kg) or watt-hours per liter (Wh / L). For example, if the last charge increased the battery's energy by 10kWh and the power increased from 30% to 80%, the device will calculate the battery's energy density from this data. Assuming the total battery capacity is 50kWh, the energy density is approximately 125Wh / kg. This calculation result is critical for evaluating battery performance and determining whether the battery is suitable for OTA upgrades.
[0083] Furthermore, in order to obtain the battery discharge capacity, the step of obtaining the battery discharge capacity of the vehicle battery within a preset time period includes:
[0084] When the vehicle battery is powered on, recording the current power-on duration;
[0085] When the current power-on duration reaches a preset duration, the discharge amount of the vehicle battery within the preset duration is obtained.
[0086] It should be noted that the above-mentioned current power-on duration may be the duration during which the vehicle is powered on, and the above-mentioned preset duration may be any duration predetermined by the user.
[0087] In a specific implementation, the above-mentioned device automatically starts recording the current power-on duration when the vehicle is started and powered on. This process ensures continuous monitoring of battery usage. For example, when the vehicle key is turned to the ignition position, the device immediately starts the timing function. Once the current power-on duration reaches a preset threshold, such as the vehicle has been running for 30 minutes, the device will immediately collect and record the discharge amount of the vehicle battery during these 30 minutes. The discharge amount refers to the total amount of electrical energy released by the battery during this period, measured in kilowatt-hours (kWh). This data is crucial for analyzing the battery's power consumption rate and endurance.
[0088] Furthermore, before the step of recording the current power-on duration when the vehicle battery is powered on, the method further includes:
[0089] Determine the current usage status of the vehicle;
[0090] When the current vehicle usage state is an idle state, the vehicle is powered on, and the step of recording the current power-on duration when the vehicle battery is powered on is performed.
[0091] In a specific implementation, the above device uses advanced sensors and algorithms to determine the current usage status of the vehicle, so as to ensure that battery parameters are recorded and monitored at an appropriate time. For example, the device analyzes data such as the vehicle's acceleration, speed, and engine status to determine whether the vehicle is in a driving state, a charging state, or an idle state. When the judgment result shows that the current usage status of the vehicle is the idle state, that is, the vehicle is parked and no operation is being performed, the device will automatically execute the instruction to power on the vehicle. At this time, the device starts recording the current power-on duration. This step is to accurately obtain the discharge amount of the battery within a specific time later, so as to evaluate the performance of the battery. For example, if the vehicle stays in the parking lot for 10 minutes without being used, the device will record the power-on duration during this period, providing data support for subsequent battery performance analysis.
[0092] This embodiment also provides a first embodiment of a vehicle wireless upgrade device. Please refer to Figure 3 , Figure 3 which is the diagram of the vehicle wireless upgrade device provided by the embodiment of the present application. The vehicle wireless upgrade device includes:
[0093] A receiving module, which is used to determine the upgrade duration required for the upgrade task when receiving an upgrade task sent from the cloud.
[0094] An evaluation module, which is used to obtain the current power of the vehicle battery, the current battery power consumption efficiency, and the current battery energy density, and obtain the sustainable driving duration of the vehicle battery based on the current battery power consumption efficiency, the current battery energy density, and the current power.
[0095] An upgrade module, which is used to perform wireless upgrade of the vehicle based on the upgrade task when the sustainable driving duration reaches the upgrade duration.
[0096] The receiving module is further used to obtain the current power state of the vehicle; when the current power state of the vehicle is the on state, execute the step of determining the upgrade duration required for the upgrade task.
[0097] The evaluation module is further used to obtain the battery discharge amount of the vehicle battery within a preset duration, and obtain the current battery power consumption efficiency of the vehicle battery based on the battery discharge amount and the preset duration; obtain the current power of the vehicle battery and the battery charging record, and obtain the current battery energy density of the vehicle battery according to the battery charging record.
[0098] Based on the first embodiment of the above vehicle wireless upgrade device, this embodiment also proposes a second embodiment of the vehicle wireless upgrade device. In the second embodiment, the content that is the same as or similar to the above-mentioned first embodiment can be referred to the above introduction and will not be repeated hereinafter.
[0099] The evaluation module is further configured to obtain the battery energy increase amount and the battery power increase amount when the vehicle battery was last charged according to the battery charging record; and obtain the current battery energy density of the vehicle battery based on the battery energy increase amount and the battery power increase amount.
[0100] The evaluation module is further configured to record the current power-on duration when the vehicle is powered on with the vehicle battery; and obtain the discharge amount of the vehicle battery within the preset duration when the current power-on duration reaches the preset duration.
[0101] The evaluation module is further configured to determine the current usage state of the vehicle; when the current vehicle usage state is an idle state, power on the vehicle and execute the step of recording the current power-on duration when the vehicle is powered on with the vehicle battery.
[0102] The vehicle wireless upgrade device provided in this embodiment adopts the vehicle wireless upgrade method in the above embodiment, and can solve the technical problem in the prior art that a fixed power threshold is adopted, resulting in the fact that the battery with losses cannot support the upgrade completion with the cruising range at the fixed power threshold. Compared with the prior art, the beneficial effects of the vehicle wireless upgrade device provided in this embodiment are the same as those of the vehicle wireless upgrade method provided in the above embodiment, and other technical features in the vehicle wireless upgrade device are the same as the features disclosed in the method of the above embodiment, and will not be elaborated here.
[0103] This embodiment provides a vehicle wireless upgrade device, which includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, and the computer program is configured to perform the steps of the vehicle wireless upgrade method described above.
[0104] Next, refer to Figure 4 , Figure 4 FIG. is a schematic structural diagram of a vehicle wireless upgrade device suitable for implementing the embodiments of the present application. Among them, the storage device in the figure is the register in this embodiment, and the vehicle wireless upgrade device in the embodiments 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: tablet computers), PMPs (Portable Media Players), in-vehicle terminals (such as in-vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The vehicle wireless upgrade device shown is only an example and should not impose any limitations on the functions and usage scope of the embodiments of the present application.
[0105] As Figure 4 shown, the vehicle wireless upgrade device may include a processing device 1001 (such as a central processing unit, a graphics processing unit, etc.), which may 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 into a random access memory (RAM: Random Access Memory) 1004. In the RAM 1004, various programs and data required for the operation of the vehicle wireless upgrade device are also stored. The processing device 1001, the ROM 1002, and the RAM 1004 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 may be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touchpad, 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 may allow the vehicle wireless upgrade device to communicate with other devices wirelessly or wiredly to exchange data. Although the figure shows a vehicle wireless upgrade device having various systems, it should be understood that it is not required to implement or have all the shown systems. More or fewer systems may be alternatively implemented or had.
[0106] Specifically, according to this embodiment, the process described above with reference to the flowchart may be implemented as a computer software program. For example, this embodiment includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program codes for performing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication device, or installed from the storage device 1003, or installed from the ROM 1002. When the computer program is executed by the processing device 1001, the above functions defined in the method of the disclosed embodiment of this embodiment are performed.
[0107] The vehicle wireless upgrade device provided in this embodiment, adopting the vehicle wireless upgrade method in the above embodiment, can solve the technical problem that the existing technology uses a fixed power threshold, resulting in the battery with loss unable to support the completion of the upgrade under the fixed power threshold in terms of the battery life. Compared with the existing technology, the beneficial effects of the vehicle wireless upgrade device provided in this embodiment are the same as those of the vehicle wireless upgrade method provided in the above embodiment, and other technical features in this vehicle wireless upgrade device are the same as those disclosed in the method of the previous embodiment, and will not be elaborated here.
[0108] It should be understood that each part disclosed in this embodiment 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 a suitable manner in any one or more embodiments or examples.
[0109] As described above, it is only the specific implementation manner of this embodiment, but the protection scope of this embodiment is not limited thereto. Any person skilled in the art within the technical scope disclosed in this embodiment can easily think of changes or substitutions, which should all be covered within the protection scope of this embodiment. Therefore, the protection scope of this embodiment should be subject to the protection scope of the claims.
[0110] This embodiment provides a computer-readable storage medium having computer-readable program instructions (i.e., computer programs) stored thereon, and the computer-readable program instructions are used to execute the vehicle wireless upgrade method in the above embodiment.
[0111] The computer-readable storage medium provided in this embodiment can be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination of the above. More specific examples of the computer-readable storage medium can include, but are not limited to: an electrical connection having 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 a 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 can be any tangible medium that contains or stores a program, and this program 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 can be transmitted by any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0112] The above computer-readable storage medium can be included in the vehicle wireless upgrade device; it can also exist separately and not be assembled into the vehicle wireless upgrade device.
[0113] The above computer-readable storage medium carries one or more programs, and when the one or more programs are executed by the vehicle wireless upgrade device, the vehicle wireless upgrade device is caused to: perform vehicle wireless upgrade.
[0114] Computer program code for performing the operations of this embodiment can be written in one or more programming languages or combinations thereof. The above-mentioned programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, executed as an independent 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 can 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 it can be connected to an external computer (for example, by connecting through the Internet using an Internet service provider).
[0115] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of the systems, methods, and computer program products according to various embodiments of this embodiment. In this regard, each block in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and this module, program segment, or part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than that marked in the accompanying drawings. For example, two consecutively represented blocks can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, as well as the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.
[0116] The modules described in this embodiment can be implemented in software or in hardware. Among them, the name of the module does not constitute a limitation on the unit itself in some cases.
[0117] The readable storage medium provided in this embodiment is a computer-readable storage medium, and the computer-readable storage medium stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned vehicle wireless upgrade method, aiming to solve the technical problem that in the prior art, a fixed power threshold is adopted, resulting in the battery life of a damaged battery at the fixed power threshold being unable to support the completion of the upgrade. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this embodiment are the same as those of the vehicle wireless upgrade method provided in the above embodiment, and will not be elaborated here.
[0118] This embodiment also provides a computer program product, including a computer program, and when the computer program is executed by a processor, it implements the steps of the vehicle wireless upgrade method as described above.
[0119] The computer program product provided in this embodiment can solve the technical problem that in the prior art, a fixed power threshold is adopted, resulting in the battery life of a damaged battery at the fixed power threshold being unable to support the completion of the upgrade. Compared with the prior art, the beneficial effects of the computer program product provided in this embodiment are the same as those of the vehicle wireless upgrade method provided in the above embodiment, and will not be elaborated here.
[0120] The above is only a partial embodiment, and thus does not limit the patent scope of this embodiment. Any equivalent structural transformation made under the technical concept of this application by using the content of the specification and drawings of this application, or any direct / indirect application in other related technical fields, is included in the patent protection scope of this application.
Claims
1. A vehicle wireless upgrade method, characterized in that, The method includes: When receiving an upgrade task sent from the cloud, determining the upgrade duration required for the upgrade task; Obtaining the current power of the vehicle battery, the current battery power consumption efficiency, and the current battery energy density, and obtaining the sustainable driving duration of the vehicle battery according to the current battery power consumption efficiency, the current battery energy density, and the current power; When the sustainable driving duration reaches the upgrade duration, performing wireless upgrade of the vehicle based on the upgrade task.
2. The method according to claim 1, characterized in that, The step of obtaining the current power of the vehicle battery, the current battery power consumption efficiency, and the current battery energy density includes: Obtaining the battery discharge amount of the vehicle battery within a preset duration, and obtaining the current battery power consumption efficiency of the vehicle battery based on the battery discharge amount and the preset duration; Obtaining the current power of the vehicle battery and the battery charging record, and obtaining the current battery energy density of the vehicle battery according to the battery charging record.
3. The method according to claim 2, characterized in that The step of obtaining the current battery energy density of the vehicle battery according to the battery charging record includes: Obtaining the battery energy increase amount and the battery power increase amount when the vehicle battery was last charged according to the battery charging record; Obtaining the current battery energy density of the vehicle battery based on the battery energy increase amount and the battery power increase amount.
4. The method according to claim 2, wherein The step of obtaining the battery discharge amount of the vehicle battery within a preset duration includes: When the vehicle battery is powered on, recording the current power-on duration; When the current power-on duration reaches the preset duration, obtaining the discharge amount of the vehicle battery within the preset duration.
5. The method according to claim 4, wherein Before the step of recording the current power-on duration when the vehicle battery is powered on, it further includes: Judging the current usage state of the vehicle; When the current vehicle usage state is an idle state, powering on the vehicle and executing the step of recording the current power-on duration when the vehicle battery is powered on.
6. The method according to claim 1, characterized in that, Before the step of determining the upgrade duration required for the upgrade task, it further includes: Obtaining the current power supply state of the vehicle; When the current power supply state of the vehicle is an on state, executing the step of determining the upgrade duration required for the upgrade task.
7. A vehicle wireless upgrade device, characterized in that, The device includes: A receiving module, configured to determine the upgrade duration required for the upgrade task when receiving an upgrade task sent from the cloud; An evaluation module, configured to obtain the current power of the vehicle battery, the current battery power consumption efficiency, and the current battery energy density, and obtain the sustainable driving duration of the vehicle battery according to the current battery power consumption efficiency, the current battery energy density, and the current power; An upgrade module, configured to perform wireless upgrade of the vehicle based on the upgrade task when the sustainable driving duration reaches the upgrade duration.
8. A vehicle wireless upgrade device, characterized in that, The device includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, and the computer program is configured to implement the steps of the vehicle wireless upgrade method according to any one of claims 1 to 6.
9. 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 vehicle wireless upgrade method according to any one of claims 1 to 6 are implemented.
10. A computer program product, characterized in that, The computer program product includes a computer program. When the computer program is executed by a processor, the steps of the vehicle wireless upgrade method according to any one of claims 1 to 6 are implemented.