CN114968304A - OTA (over the air) upgrading method and device, storage medium and electronic equipment - Google Patents

OTA (over the air) upgrading method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN114968304A
CN114968304A CN202210646543.5A CN202210646543A CN114968304A CN 114968304 A CN114968304 A CN 114968304A CN 202210646543 A CN202210646543 A CN 202210646543A CN 114968304 A CN114968304 A CN 114968304A
Authority
CN
China
Prior art keywords
upgrading
current
ota
electric quantity
condition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210646543.5A
Other languages
Chinese (zh)
Inventor
韩雷
邓鹏�
祝贵阳
倪子善
孙昊
高惠国
刘若娇
刘养颐
王天彤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FAW Group Corp
Original Assignee
FAW Group Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by FAW Group Corp filed Critical FAW Group Corp
Priority to CN202210646543.5A priority Critical patent/CN114968304A/en
Publication of CN114968304A publication Critical patent/CN114968304A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The embodiment of the invention discloses an OTA upgrading method, an OTA upgrading device, a storage medium and electronic equipment. The OTA upgrading method comprises the following steps: under the condition of receiving an OTA upgrading instruction, determining the expected upgrading duration of the current OTA upgrading, and acquiring the storage battery state parameters of the current vehicle, wherein the storage battery state parameters comprise the current residual electric quantity and the current consumption current; judging the current residual electric quantity before upgrading based on the current consumption current and the expected upgrading time; and starting OTA (over the air) upgrading of the current vehicle under the condition that the current residual electric quantity meets the upgrading condition. The problem of the long battery insufficient voltage that causes of upgrading process is solved, realized predicting the required upgrading time of different upgrading processes and required electric quantity consumption, reached the purpose of protection battery, extension battery life.

Description

OTA (over the air) upgrading method and device, storage medium and electronic equipment
Technical Field
The embodiment of the invention relates to a storage battery electric quantity prediction technology, in particular to an OTA upgrading method, device, storage medium and electronic equipment.
Background
As the basic power consumption of intelligent, electrified vehicles gets higher and higher, the demand of the vehicles for batteries increases due to the increase of power consumption in the upgrading process of OTA (Over-the-Air Technology). Therefore, when the OTA of the vehicle is upgraded, whether the electric quantity of the storage battery can meet the requirement of the OTA upgrading needs to be judged in advance.
At present, the battery capacity management in the OTA (over the air) upgrading process of the vehicle is basically a simple judgment strategy. For example, before the OTA upgrade is performed, the power of the storage battery is read, a power threshold is set, and whether the OTA upgrade is allowed or not is determined by comparing the values of the power and the power threshold.
However, the judgment mode in the prior art is too simple, and cannot adapt to different upgrading processes, so that the electric quantity of the storage battery in different upgrading processes is not accurately judged, and the normal upgrading process is influenced.
Disclosure of Invention
The invention provides an OTA upgrading method, an OTA upgrading device, a storage medium and electronic equipment, which aim to solve the problems of predicting the upgrading time and the required electric quantity consumption required by different upgrading processes and avoid the shortage of electricity of a storage battery.
According to an aspect of the invention, a vehicle OTA upgrading method is provided, which comprises the following steps:
under the condition of receiving an OTA upgrading instruction, determining the expected upgrading duration of the current OTA upgrading, and acquiring the storage battery state parameters of the current vehicle, wherein the storage battery state parameters comprise the current residual electric quantity and the current consumption current;
judging the current residual electric quantity before upgrading based on the current consumption current and the expected upgrading time;
and starting OTA (over the air) upgrading of the current vehicle under the condition that the current residual electric quantity meets the upgrading condition.
According to another aspect of the present invention, there is provided an OTA upgrading apparatus including:
the information acquisition module is used for determining the expected upgrading time of the current OTA upgrading under the condition of receiving the OTA upgrading instruction and acquiring the parameters of the current vehicle storage battery state;
the electric quantity judging module is used for judging the electric quantity before upgrading the current residual electric quantity;
and the OTA upgrading starting module is used for starting the current OTA upgrading under the condition that the current residual electric quantity meets the upgrading condition.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform a method for battery charge prediction management for a vehicle OTA upgrade process according to any one of the embodiments of the present invention.
According to another aspect of the present invention, a computer-readable storage medium is provided, which stores computer instructions for causing a processor to implement a method for battery charge prediction management for a vehicle OTA upgrade process according to any embodiment of the present invention when executed.
According to the technical scheme of the embodiment of the invention, the problem of storage battery power shortage caused by a long upgrading process is solved by providing the storage battery power prediction management method in the vehicle OTA upgrading process. The upgrading time and the required electric quantity consumption required by different upgrading processes are predicted, and the purposes of protecting the storage battery and prolonging the service life of the storage battery are achieved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of an OTA upgrading method according to an embodiment of the present invention;
fig. 2 is a flowchart of an OTA upgrading method according to a second embodiment of the present invention;
fig. 3 is a flowchart of an OTA upgrading method according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of an OTA upgrading apparatus according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example one
Fig. 1 is a flowchart of an OTA upgrading method according to an embodiment of the present invention, which is applicable to a battery power prediction situation. The method may be performed by an OTA upgrade device, which may be implemented by software and/or hardware, which may be configured on the in-vehicle electronic device. As shown in fig. 1, the method includes:
s110, under the condition that an OTA upgrading instruction is received, determining the expected upgrading time of the current OTA upgrading, and acquiring the storage battery state parameters of the current vehicle, wherein the storage battery state parameters comprise the current residual capacity and the current consumption current.
And under the condition of receiving the OTA upgrading instruction, acquiring the storage battery state parameter of the current vehicle, wherein the current storage battery state can be represented by the consumed degree of the storage battery and the related parameter of the current storage battery state. Optionally, the current battery state parameter includes a current remaining capacity and a current consumption current. The acquired current storage battery state information can be used as reference information for subsequent OTA upgrading. The current storage battery state parameters can be obtained through a sensor, for example, the current consumption current is obtained, the current information is detected in real time through installing a current sensor, and the current value is displayed at the same time.
The OTA upgrading process is applied to the vehicle and can be used for realizing online updating and upgrading of a system configured in any controller in the vehicle. The OTA upgrade instruction can be generated through operations such as manual triggering, or can be automatically identified by the system, and is generated when the upgrade condition is met, for example, the OTA upgrade instruction is generated when the current version is identified to be too low or a new version is identified. And receiving the OTA upgrading instruction, and responding to the OTA upgrading instruction to automatically upgrade. The OTA upgrade instruction may include an upgrade system identifier and upgrade version information, where the upgrade version information may be a version number to be upgraded or a current version number, which is not limited.
The expected upgrade duration may be the total time used by the upgrade process, including but not limited to the sum of the durations used by the sub-processes of downloading, installing, running, etc. In some embodiments, determining the expected upgrade duration for the current OTA upgrade may be accomplished by: generating an OTA upgrading judgment request based on the network state of the current vehicle, sending the OTA upgrading judgment request to an upgrading server, and receiving the expected upgrading time fed back by the upgrading server, wherein the upgrading server determines the expected upgrading time based on the data volume of the current OTA upgrading packet and the network state of the current vehicle.
The network state of the current vehicle can be any one of the network speed of the current vehicle at the current moment, the network speed average value of the current vehicle in a preset time period, the network speed grade of the current vehicle at the current moment and the network speed grade of the current vehicle in the preset time period, an OTA upgrading judgment request is generated based on the network state of the current vehicle by reading the network state of the current vehicle, and the generated upgrading judgment request is sent to the upgrading server. In some embodiments, before generating the OTA upgrade determination request, it may be further determined whether the network state of the current vehicle meets the upgrade condition, and if not, a prompt message is generated.
The upgrade server may determine the expected upgrade duration according to a preset calculation model for determining the upgrade duration, in some embodiments, the calculation model may be a mathematical model that performs calculation according to the data size of the OTA upgrade package, the current vehicle network state, and the like, and in some embodiments, the calculation model may also be a machine learning model that is trained by preset training data. The type and structure of the computational model is not limited herein. In the case that the OTA upgrade decision request is received, the network state in the OTA upgrade decision request is read, and the upgrade package corresponding to the OTA upgrade decision request is determined. And reading the data volume of the upgrade package, wherein the data volume of the upgrade package is positively correlated with the memory capacity of the application programs and the like contained in the upgrade package, and inputting the network state and the data volume of the upgrade package into a calculation model to obtain the expected upgrade time. The estimated upgrading time is positively correlated with the data size of the upgrading packet and negatively correlated with the network state.
In some embodiments, the determining the expected upgrade duration of the current OTA upgrade may be implemented by: and responding to the OTA upgrading instruction to generate an OTA upgrading information request, sending the OTA upgrading information request to an upgrading server, receiving the data volume of an OTA upgrading packet fed back by the upgrading server, and determining the expected upgrading time length based on the data volume of the OTA upgrading packet and the network state of the current vehicle.
Receiving and responding to the input OTA upgrading instruction, and generating an OTA upgrading information request which can include, but is not limited to, an upgrading system identification and upgrading version information. And sending the OTA upgrading information request to an upgrading server, feeding back the data volume of an OTA upgrading packet corresponding to the OTA upgrading information request by the upgrading server in response to the OTA upgrading information request, determining the upgrading packet corresponding to the OTA upgrading judgment request for example based on one or more items of upgrading system identification and upgrading version information, and reading the data volume of the upgrading packet.
And calling a preset calculation model to determine the expected upgrading time length based on the data volume of the OTA upgrading packet fed back by the upgrading server and the current network state of the vehicle.
In this embodiment, the step of determining the expected upgrade duration of the current OTA upgrade and the step of acquiring the battery state parameter of the current vehicle are not limited to the execution sequence, and may be executed sequentially or synchronously.
The current residual electric quantity is the electric quantity which is remained in the electric quantity consumption of the storage battery under the current running state of each vehicle-mounted device in the vehicle, and the electric quantity displayed by the storage battery can be provided for reading to obtain. The current consumption current is the integration of the current consumed by the operation of each vehicle-mounted device of the current vehicle, and can be determined according to the vehicle-mounted device in the operation state and the current consumed by each vehicle-mounted device in the operation state. Optionally, the current consumed by different vehicle-mounted devices in the running state is different.
And S120, judging the electric quantity before upgrading of the current residual electric quantity based on the current consumed current and the expected upgrading time.
According to the current consumption current and the estimated upgrading time, the electricity consumption in the upgrading process can be estimated. By comparing the electricity consumption for upgrading with the current remaining electricity quantity, whether the current remaining electricity quantity meets the upgrading requirement can be judged.
Optionally, the electric quantity before upgrading of the current remaining electric quantity is determined based on the current consumption current and the expected upgrading time, an expected consumed electric quantity may be determined based on the current consumption current and the expected upgrading time, and an expected remaining electric quantity after upgrading may be determined based on the current remaining electric quantity and the expected consumed electric quantity. And judging the estimated residual electric quantity based on a preset electric quantity threshold, and determining that the current residual electric quantity meets an upgrading condition under the condition that the estimated residual electric quantity is greater than or equal to the preset electric quantity threshold.
The estimated residual capacity after the upgrade is determined can be obtained through a preset calculation model, and the specific calculation model is as follows: and the predicted residual capacity after upgrading is the current residual capacity-the previous consumed current multiplied by the predicted upgrading time.
The upgrade condition of the current residual capacity may be that the predicted residual capacity after upgrade is greater than or equal to a capacity threshold, where the capacity threshold may be preset, and by comparing the predicted residual capacity after upgrade with the capacity threshold, it is determined that the current residual capacity satisfies the upgrade condition when the predicted residual capacity is greater than or equal to the capacity threshold, and correspondingly, it is determined that the current residual capacity does not satisfy the upgrade condition when the predicted residual capacity is less than the capacity threshold.
In some embodiments, the upgrade determination may be performed on the current remaining power by using an upgrade duration dimension supported by the current remaining power. Optionally, the electric quantity before the current remaining electric quantity is upgraded is determined based on the current consumed current and the expected upgrade duration, the consumable electric quantity of the storage battery in the OTA upgrade process can be determined based on the current remaining electric quantity and a preset electric quantity threshold, and the theoretical upgrade duration supported by the storage battery is determined based on the consumable electric quantity and the current consumed current. And judging the theoretical upgrading time length based on the expected upgrading time length, and determining that the current residual electric quantity meets the upgrading condition under the condition that the theoretical upgrading time length is greater than or equal to the expected upgrading time length.
The theoretical upgrade duration supported by the storage battery can be obtained through a preset calculation model, and the specific calculation model is as follows: and the theoretical upgrading time length is equal to (current residual capacity-capacity threshold)/current consumed current. Correspondingly, the upgrade condition of the current residual electric quantity can be that the theoretical upgrade duration is longer than or equal to the expected upgrade duration. By comparing the theoretical upgrading time length with the expected upgrading time length, when the theoretical upgrading time length is larger than or equal to the expected upgrading time length, the current residual electric quantity is determined to meet the upgrading conditions, and when the theoretical upgrading time length is smaller than the expected upgrading time length, the current residual electric quantity is determined not to meet the upgrading conditions.
On the basis of the above embodiment, the power threshold used for determining the current remaining power may be a preset fixed value, or may be changed in real time according to the health status information of the storage battery. The judgment accuracy of the current residual electric quantity is improved by determining the electric quantity threshold value in real time according to the health state information of the storage battery.
Correspondingly, before the electric quantity determination before upgrading the current remaining electric quantity based on the current consumption current and the expected upgrading time period, the method further includes: determining the charge threshold based on the battery state parameter, which may be battery state of health information; wherein the charge threshold is negatively correlated with the battery state of health information.
In some embodiments, the battery state of health information may be parameter information representing a state of health of the battery, for example, but not limited to, a length of time of use of the battery, a rate of power consumption of the battery, a power output, and the like, and the state of health of the battery is evaluated according to the battery state of health information, for example, the state of health of the battery may be determined by weighting the parameters. The state of health of the battery may be classified into a plurality of levels, and the charge threshold may be increased by one level for each decrease in the state of the battery. The state of health information of the battery may be expressed in percentage, with 100% representing the optimal state of health, sequentially decreasing.
In some embodiments, the battery state of health information may be numerical information characterizing the state of health of the battery. The storage battery can be internally provided with a health state monitoring component which is used for detecting the health state of the storage battery in real time or at regular intervals and recording the health state in a numerical form. The battery state of health information may be a value within 0-100% and may be read.
The correspondence between the electric quantity threshold and the state of health of the storage battery can be specifically expressed as: and M is equal to M + b (1-a%), wherein M is the current electric quantity threshold value, M is the original electric quantity threshold value, b is a preset coefficient, and a% represents the percentage corresponding to the current storage battery health state.
In the embodiment, the residual electric quantity of the storage battery before upgrading is judged by the determined expected upgrading time and the obtained current consumed current value, so that the electric quantity in the storage battery meets the electric quantity consumption in the OTA upgrading process.
And S130, starting OTA (over the air) upgrading of the current vehicle under the condition that the current residual electric quantity meets the upgrading condition.
And after judging that the current residual electric quantity meets the upgrading condition, generating an upgrading instruction and controlling OTA upgrading of the current vehicle.
According to the technical scheme, the storage battery electric quantity prediction management method for the OTA upgrading process of the vehicle is provided, and the problem of storage battery power shortage caused by a long upgrading process is solved. The upgrading time and the required electric quantity consumption required by different upgrading processes are predicted, and the purposes of protecting the storage battery and prolonging the service life of the storage battery are achieved.
Example two
Fig. 2 is a flowchart of an OTA upgrading method according to a second embodiment of the present invention, and the second embodiment of the present invention may be combined with various alternatives in the foregoing embodiments. After the expected upgrading duration is determined and the electric quantity before upgrading is judged on the current residual electric quantity, the current residual electric quantity does not meet the upgrading condition. Optionally, the method further includes: and under the condition that the current residual capacity does not meet the upgrading condition, closing the load which is not related to the OTA upgrading, and re-determining the current consumption current and judging the current residual capacity. As shown in fig. 2, the method of the embodiment of the present invention specifically includes the following steps:
s210, under the condition that an OTA upgrading instruction is received, determining the expected upgrading time of the current OTA upgrading, and acquiring the storage battery state parameters of the current vehicle, wherein the storage battery state parameters comprise the current residual capacity and the current consumption current.
And S220, judging the electric quantity before upgrading of the current residual electric quantity based on the current consumed current and the expected upgrading time.
And executing step S240 if the current remaining power meets the upgrade condition, and executing step S230 if the current remaining power does not meet the upgrade condition.
And S230, closing the load not related to the OTA upgrade, re-determining the current consumption current and judging the current residual capacity.
And executing the step S240 when the current remaining power meets the upgrade condition. And under the condition that the current residual capacity does not meet the upgrading condition, repeatedly executing the step S230 or generating prompt information.
In the embodiment, the load not associated with the OTA upgrade is closed when the current remaining power does not meet the upgrade condition, so that power consumption in the upgrade process is reduced, and the upgrade duration supported by the current remaining power is prolonged.
The load not related to the OTA upgrade refers to a load having no influence on the OTA upgrade process, and includes, but is not limited to, a car light, a sound device, an air conditioner, and the like. The current consumption current is monitored in real time through a current sensor, if the unassociated load is closed, new current consumption current is collected again, and the current residual capacity is judged again based on the current consumption current. And if the current residual capacity does not meet the upgrading condition, the step of closing the unrelated load is repeatedly executed. And closing the unassociated load, identifying the unassociated load through the system, automatically controlling the unassociated load to be closed, and generating prompt information, such as that the previous residual capacity does not meet the upgrading condition and please close the unassociated load, so as to prompt the user to manually select the closed load.
In some embodiments, the loads not associated with each load are sorted from large to small based on the current consumed by each load, and the load to be shut down is determined according to the sorting.
In some embodiments, a power difference value of the current remaining power relative to a theoretical power required by the OTA upgrade process may be determined, a reduction in the amount of current may be determined based on the power difference value, and a load to be shut down may be determined based on each of the unassociated current drains. The theoretical required electric quantity in the OTA upgrading process can be determined by the current consumed current multiplied by the expected upgrading duration and the electric quantity threshold, and the reduced current required in the upgrading process can be determined by: and (the theoretical required electric quantity-the current residual electric quantity) of the OTA upgrading process/the predicted upgrading time length is determined.
In the embodiment, the load which is not related to the OTA upgrading is closed, so that the current consumption current is reduced, the electric quantity theoretically required by the OTA upgrading process is reduced, and the OTA upgrading condition is met.
And S240, starting OTA upgrading of the current vehicle.
On the basis of the foregoing embodiment, after the determination of the current remaining power in step S220 or S230, the method further includes: and generating a power supplementing request to charge the storage battery under the condition that the current residual power does not meet the upgrading condition.
Optionally, after the step S220 determines the current remaining power, under the condition that the current remaining power does not satisfy the upgrade condition, the load may not be turned off, but a power supplement request may be directly generated to charge the storage battery.
Optionally, after the current remaining capacity is determined in step S230, a power supplement request is generated to charge the storage battery when the current remaining capacity does not satisfy the upgrade condition. If the residual electric quantity does not meet the upgrading condition before the judgment in the step 220, the load is closed, and if the electric quantity judgment is carried out again after the load is closed, the current residual electric quantity still does not meet the upgrading condition, at the moment, a power supplementing request is generated, and the storage battery is charged.
The form of the power supply is different according to different actual vehicle types. For example, the battery charging of a traditional fuel-powered vehicle needs to start the engine, and the battery charging of the electric vehicle is directly charged by a power battery.
In this embodiment, when current residual capacity does not satisfy the upgrading condition, directly mend the electricity to the battery to make the battery satisfy OTA upgrading condition, the executive process is convenient, can ensure moreover that the battery satisfies the upgrading condition after mending the electricity
On the basis of the above embodiment, the second embodiment of the present invention further provides a preferred example of a method for predicting and managing the battery capacity in the vehicle OTA upgrade process, which is shown in fig. 3. Fig. 3 is a flowchart of an OTA upgrading method according to a second embodiment of the present invention.
And the electric quantity and the current of the storage battery, the health state signal of the storage battery and the OTA upgrade time signal are sent to the electric quantity management control unit. The signal acquisition module acquires the current electric quantity of the storage battery, the current consumed current, the storage battery health state signal and the calculated expected OTA upgrading time, transmits the expected OTA upgrading time to the electric quantity management control unit, and calculates the electric quantity of the storage battery when the OTA upgrading is finished. The electric quantity management control unit belongs to a submodule of the electric quantity judgment module.
And correcting the preset threshold value of the electric quantity of the storage battery when the OTA upgrading is finished according to the health state signal of the storage battery. And detecting the health state of the storage battery in real time, and correcting the preset threshold value of the electric quantity of the storage battery when the OTA upgrade is finished at the current time based on the current signal of the health state of the storage battery. The preset threshold increases as the health state parameter decreases.
Executing a judgment condition of calculating the electric quantity of the storage battery at the OTA upgrading finishing moment: and the electric quantity of the storage battery is more than or equal to the preset threshold value at the end. Namely, whether the current OTA upgrade meets the judgment condition that the electric quantity of the storage battery is larger than or equal to the preset threshold value at the end is detected.
Optionally, when it is detected that the current OTA upgrade does not meet the judgment condition that the electric quantity of the storage battery is greater than or equal to the preset threshold at the end, the electric quantity management control unit executes a load closing function, that is, the electric quantity management control unit in the electric quantity judgment module controls the unrelated load in the OTA upgrade process to be closed.
After the unrelated load is closed, when the judgment condition that the electric quantity of the storage battery is larger than or equal to the preset threshold value at the end of the current OTA upgrading is detected again, the electric quantity management control unit in the electric quantity judgment module controls to send out a power supplementing instruction to supplement the power for the storage battery.
Optionally, when it is detected that the current OTA upgrade does not meet the judgment condition that the electric quantity of the storage battery is greater than or equal to the preset threshold at the end, the electric quantity management control unit requests to supplement charging, that is, the electric quantity management control unit in the electric quantity judgment module controls to send a power supplement instruction to supplement power to the storage battery.
And when the judgment condition that the electric quantity of the storage battery is larger than or equal to the preset threshold value at the end of the current OTA upgrade is detected, the OTA upgrade is allowed to be executed.
EXAMPLE III
Fig. 4 is a schematic structural diagram of an OTA upgrading apparatus according to a third embodiment of the present invention. As shown in fig. 4, the apparatus includes:
the first information acquisition module 410 is used for determining the expected upgrading time of the current OTA upgrading and acquiring the parameters of the current vehicle storage battery state under the condition of receiving the OTA upgrading instruction;
a first power determination module 420, configured to determine power before upgrading a current remaining power;
and the OTA upgrade starting module 430 is configured to start the current OTA upgrade if the current remaining power meets the upgrade condition.
A first information obtaining module 410, configured to:
generating an OTA upgrading judgment request based on the network state of the current vehicle, sending the OTA upgrading judgment request to an upgrading server, and receiving the expected upgrading time fed back by the upgrading server, wherein the upgrading server determines the expected upgrading time based on the data volume of the current OTA upgrading packet and the network state of the current vehicle;
or,
and responding to the OTA upgrading instruction to generate an OTA upgrading information request, sending the OTA upgrading information request to an upgrading server, receiving the data volume of an OTA upgrading packet fed back by the upgrading server, and determining the expected upgrading time length based on the data volume of the OTA upgrading packet and the network state of the current vehicle.
And acquiring parameters of the current vehicle storage battery state through a sensor, wherein the storage battery state parameters comprise the current residual capacity and the current consumption current.
A first power determination module 420 configured to:
determining a predicted power consumption amount based on the current power consumption and the predicted upgrading time, and determining a predicted residual power amount after upgrading based on the current residual power amount and the predicted power consumption amount;
and judging the estimated residual electric quantity based on a preset electric quantity threshold, and determining that the current residual electric quantity meets an upgrading condition under the condition that the estimated residual electric quantity is greater than or equal to the preset electric quantity threshold.
Or,
determining the consumable electric quantity of the storage battery in the OTA upgrading process based on the current residual electric quantity and a preset electric quantity threshold;
determining the theoretical upgrade duration supported by the storage battery based on the consumable electric quantity and the current consumption current;
and judging the theoretical upgrading time length based on the expected upgrading time length, and determining that the current residual electric quantity meets the upgrading condition under the condition that the theoretical upgrading time length is greater than or equal to the expected upgrading time length.
An OTA upgrade start module 430 configured to:
and under the condition that the current residual electric quantity meets the upgrading condition, starting the current OTA upgrading.
Optionally, the device further includes a second power determination module, and when it is determined that the current remaining power does not satisfy the upgrade condition, the load not associated with the OTA upgrade process is turned off, the current consumed is determined again, and the current remaining power is determined according to the current monitored in real time.
Optionally, the apparatus further includes a third power determining module, where when it is determined that the current remaining power does not meet the upgrade condition, the power supplementing request is directly generated without closing the unrelated load, so as to charge the storage battery.
Optionally, the apparatus further comprises: the second information obtaining module is configured to obtain the health status information of the storage battery, and the first power determining module 420 corrects the preset power threshold based on the obtained health status information of the storage battery.
The OTA upgrading device provided by the embodiment of the invention comprises a first information acquisition module, a second information acquisition module, a first electric quantity judgment module, a second electric quantity judgment module, a third electric quantity judgment module and an OTA upgrading starting module. The OTA upgrading method provided by any embodiment of the invention can be executed, and has the corresponding functional module and beneficial effect of executing the OTA upgrading method.
Example four
Fig. 5 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention. The electronic device 10 is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 5, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM)12, a Random Access Memory (RAM)13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM)12 or the computer program loaded from a storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to the bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. Processor 11 performs the various methods and processes described above, such as an OTA upgrade method.
In some embodiments, a battery charge prediction management method of a vehicle OTA upgrade process may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. One or more steps of an OTA upgrade method as described above can be performed when the computer program is loaded into RAM 13 and executed by processor 11. Alternatively, in other embodiments, the processor 11 may be configured to perform an OTA upgrade method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
EXAMPLE five
An embodiment of the present invention further provides a computer-readable storage medium, where a computer instruction is stored, where the computer instruction is used to enable a processor to execute an OTA upgrading method, where the method includes:
under the condition of receiving an OTA upgrading instruction, determining the expected upgrading duration of the current OTA upgrading, and acquiring the storage battery state parameters of the current vehicle, wherein the storage battery state parameters comprise the current residual electric quantity and the current consumption current;
judging the current residual electric quantity before upgrading based on the current consumption current and the expected upgrading time;
and starting OTA (over the air) upgrading of the current vehicle under the condition that the current residual electric quantity meets the upgrading condition.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. An OTA upgrade method, comprising:
under the condition of receiving an OTA upgrading instruction, determining the expected upgrading duration of the current OTA upgrading, and acquiring the storage battery state parameters of the current vehicle, wherein the storage battery state parameters comprise the current residual electric quantity and the current consumption current;
judging the current residual electric quantity before upgrading based on the current consumption current and the expected upgrading time;
and starting OTA (over the air) upgrading of the current vehicle under the condition that the current residual electric quantity meets the upgrading condition.
2. The method of claim 1, wherein determining the expected upgrade duration for the current OTA upgrade comprises:
generating an OTA upgrading judgment request based on the network state of the current vehicle, sending the OTA upgrading judgment request to an upgrading server, and receiving the expected upgrading time fed back by the upgrading server, wherein the upgrading server determines the expected upgrading time based on the data volume of the current OTA upgrading packet and the network state of the current vehicle;
or,
and responding to the OTA upgrading instruction to generate an OTA upgrading information request, sending the OTA upgrading information request to an upgrading server, receiving the data volume of an OTA upgrading packet fed back by the upgrading server, and determining the expected upgrading time length based on the data volume of the OTA upgrading packet and the network state of the current vehicle.
3. The method of claim 1, wherein the pre-upgrade power determination of the current remaining power based on the current consumption current and the expected upgrade duration comprises:
determining a predicted power consumption amount based on the current power consumption and the predicted upgrading time, and determining a predicted residual power amount after upgrading based on the current residual power amount and the predicted power consumption amount;
and judging the estimated residual electric quantity based on a preset electric quantity threshold, and determining that the current residual electric quantity meets an upgrading condition under the condition that the estimated residual electric quantity is greater than or equal to the preset electric quantity threshold.
4. The method of claim 1, wherein determining the current remaining capacity before the upgrade based on the current consumption current and the expected upgrade duration comprises:
determining the consumable electric quantity of the storage battery in the OTA upgrading process based on the current residual electric quantity and a preset electric quantity threshold value;
determining the theoretical upgrade duration supported by the storage battery based on the consumable electric quantity and the current consumption current;
and judging the theoretical upgrading time length based on the expected upgrading time length, and determining that the current residual electric quantity meets the upgrading condition under the condition that the theoretical upgrading time length is greater than or equal to the expected upgrading time length.
5. The method of any of claims 1-4, wherein the battery state parameters further include battery state of health information;
the method further comprises the following steps:
determining the charge threshold based on the battery state of health information, wherein the charge threshold is negatively correlated with the battery state of health information.
6. The method of claim 1, further comprising:
and under the condition that the current residual capacity does not meet the upgrading condition, closing the load which is not related to the OTA upgrading, and re-determining the current consumption current and judging the current residual capacity.
7. The method of claim 1 or 6, further comprising:
and generating a power supplementing request to charge the storage battery under the condition that the current residual power does not meet the upgrading condition.
8. An OTA upgrade apparatus, comprising:
the first information acquisition module is used for determining the expected upgrading time of the current OTA upgrading under the condition of receiving an OTA upgrading instruction and acquiring the parameters of the current vehicle storage battery state;
the first electric quantity judging module is used for judging the electric quantity before upgrading the current residual electric quantity;
and the OTA upgrading starting module is used for starting the current OTA upgrading under the condition that the current residual electric quantity meets the upgrading condition.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform a method of battery charge prediction management for a vehicle OTA upgrade process as claimed in any one of claims 1-5.
10. A computer readable storage medium having stored thereon computer instructions for causing a processor to implement a battery charge prediction management method of a vehicle OTA upgrade process as claimed in any one of claims 1-5.
CN202210646543.5A 2022-06-08 2022-06-08 OTA (over the air) upgrading method and device, storage medium and electronic equipment Pending CN114968304A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210646543.5A CN114968304A (en) 2022-06-08 2022-06-08 OTA (over the air) upgrading method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210646543.5A CN114968304A (en) 2022-06-08 2022-06-08 OTA (over the air) upgrading method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN114968304A true CN114968304A (en) 2022-08-30

Family

ID=82962419

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210646543.5A Pending CN114968304A (en) 2022-06-08 2022-06-08 OTA (over the air) upgrading method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114968304A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115499315A (en) * 2022-09-14 2022-12-20 北京百度网讯科技有限公司 OTA (over the air) upgrading task execution method and device and electronic equipment
CN117240645A (en) * 2023-11-15 2023-12-15 广州斯沃德科技有限公司 OTA upgrading method and device of intelligent home system, electronic equipment and medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115499315A (en) * 2022-09-14 2022-12-20 北京百度网讯科技有限公司 OTA (over the air) upgrading task execution method and device and electronic equipment
CN117240645A (en) * 2023-11-15 2023-12-15 广州斯沃德科技有限公司 OTA upgrading method and device of intelligent home system, electronic equipment and medium
CN117240645B (en) * 2023-11-15 2024-02-09 广州斯沃德科技有限公司 OTA upgrading method and device of intelligent home system, electronic equipment and medium

Similar Documents

Publication Publication Date Title
CN114968304A (en) OTA (over the air) upgrading method and device, storage medium and electronic equipment
CN112666464A (en) Battery health state prediction method and device, electronic equipment and readable storage medium
EP3510688B1 (en) Apparatus and method for battery management
CN101206246A (en) Method for preestimating battery residual capacity
US10637247B2 (en) System and method for minimizing storage demand charges by weight assignments to different demand categories
US20170338653A1 (en) Demand control apparatus, group generation apparatus, and group generation method
CN114954105A (en) Battery replacement method and device, electronic equipment and storage medium
CN107202958B (en) Method and apparatus for testing condition of battery
CN117394330A (en) Energy scheduling method, device, equipment and medium based on power distribution network energy storage
CN115499315A (en) OTA (over the air) upgrading task execution method and device and electronic equipment
CN115742781A (en) Battery charging method and device, electronic equipment and storage medium thereof
CN115952351A (en) Battery replacement station recommendation method and device, electronic equipment and storage medium
CN115169925A (en) Battery swap station resource configuration method and device, electronic equipment and storage medium
CN118040794B (en) Optical storage and charging integrated power conversion method and system
CN113835733B (en) Cloud application updating method and device, electronic equipment and storage medium
CN116718933A (en) Storage battery residual capacity prediction method and device, electronic equipment and storage medium
CN115313552A (en) Method, device, equipment and medium for determining charging strategy of power consumption terminal
CN115465141A (en) Electric vehicle charging and discharging control method and device, electronic equipment and storage medium
CN115320451A (en) Current guiding method and device for battery replacement station, storage medium and electronic equipment
CN118288853A (en) Vehicle-mounted fuel cell management method and device, electronic equipment and storage medium
CN115313553A (en) Method, device, equipment and medium for determining charging strategy of power utilization terminal
CN118732561A (en) Dormancy method and device of vehicle controller, vehicle and medium
CN118144639A (en) Method, device, medium and equipment for predicting residual service life of storage battery
CN115330252A (en) Driving parameter adjusting method and device, electronic equipment and storage medium
CN116627853A (en) Storage space recovery method, training device, training equipment and training medium for model

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination