CN112428878A - Software refreshing control method and device and Internet of vehicles equipment - Google Patents

Software refreshing control method and device and Internet of vehicles equipment Download PDF

Info

Publication number
CN112428878A
CN112428878A CN201910792571.6A CN201910792571A CN112428878A CN 112428878 A CN112428878 A CN 112428878A CN 201910792571 A CN201910792571 A CN 201910792571A CN 112428878 A CN112428878 A CN 112428878A
Authority
CN
China
Prior art keywords
software
refreshing
storage battery
target
refreshed
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
CN201910792571.6A
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.)
SAIC Motor Corp Ltd
Original Assignee
SAIC Motor Corp Ltd
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 SAIC Motor Corp Ltd filed Critical SAIC Motor Corp Ltd
Priority to CN201910792571.6A priority Critical patent/CN112428878A/en
Publication of CN112428878A publication Critical patent/CN112428878A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L58/00Methods or circuit arrangements for monitoring or controlling batteries or fuel cells, specially adapted for electric vehicles
    • B60L58/10Methods or circuit arrangements for monitoring or controlling batteries or fuel cells, specially adapted for electric vehicles for monitoring or controlling batteries
    • B60L58/12Methods or circuit arrangements for monitoring or controlling batteries or fuel cells, specially adapted for electric vehicles for monitoring or controlling batteries responding to state of charge [SoC]
    • B60L58/14Preventing excessive discharging
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L58/00Methods or circuit arrangements for monitoring or controlling batteries or fuel cells, specially adapted for electric vehicles
    • B60L58/10Methods or circuit arrangements for monitoring or controlling batteries or fuel cells, specially adapted for electric vehicles for monitoring or controlling batteries
    • B60L58/12Methods or circuit arrangements for monitoring or controlling batteries or fuel cells, specially adapted for electric vehicles for monitoring or controlling batteries responding to state of charge [SoC]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • 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
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/70Energy storage systems for electromobility, e.g. batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Sustainable Development (AREA)
  • Sustainable Energy (AREA)
  • Power Engineering (AREA)
  • Transportation (AREA)
  • Life Sciences & Earth Sciences (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 method obtains a target data packet and a current SOC value of a storage battery after a refresh command is obtained, further calculates and refreshes target software corresponding to the target data packet according to the target data packet, compares the magnitude relation between the current SOC value of the storage battery and the electric quantity threshold value of the storage battery, and refreshes the target software if the current SOC value is not less than the electric quantity threshold value of the storage battery. According to the software refreshing control method, the software refreshing control device and the Internet of vehicles, the electric quantity of the storage battery is checked before each piece of software is refreshed, and the target software is refreshed on the premise that the current SOC value of the storage battery is not smaller than the electric quantity threshold value of the storage battery, so that deep discharging of the storage battery caused by software upgrading is avoided, and the storage battery is guaranteed to have normal service life.

Description

Software refreshing control method and device and Internet of vehicles equipment
Technical Field
The invention belongs to the technical field of automobiles, and particularly relates to a software refreshing control method and device and an Internet of vehicles device.
Background
FOTA (Firmware Over-The-Air software upgrade) refers to providing software upgrade service for devices with networking functions through a cloud upgrade technology to complete system repair and optimization. For vehicle-mounted Electronic devices, such as T-BOX (Telematics BOX), vehicle-mounted infotainment system, or other Electronic Control Unit (ECU) with upgrading requirement, the FOTA technology can be used for software refreshing and upgrading after networking.
In the prior art, when a vehicle starts the FOTA technology to refresh software, a control network of the whole vehicle is in an awakening state, and a storage battery supplies power to each vehicle-mounted electronic device to support the software refreshing process. The software refreshing process lasts for a long time, so that the deep discharge of the storage battery is possibly caused, and the service life of the storage battery is greatly shortened after the deep discharge of the storage battery.
Disclosure of Invention
In view of this, the present invention aims to provide a software refreshing control method, device and vehicle networking equipment, which control a software refreshing process, avoid deep discharge of a storage battery due to software upgrade, and ensure that the storage battery has a normal service life, and the specific scheme is as follows:
in a first aspect, the present invention provides a software refresh control method, including:
obtaining a refreshing instruction;
responding to the refreshing instruction, and acquiring a target data packet and a current state of charge (SOC) value of the storage battery;
calculating a storage battery electric quantity threshold corresponding to refreshing target software according to the target data packet, wherein the target software is to-be-refreshed software corresponding to the target data packet;
and if the current SOC value is not less than the electric quantity threshold value of the storage battery, refreshing the target software.
Optionally, the software refresh control method provided in the first aspect of the present invention further includes:
and if the current SOC value is smaller than the electric quantity threshold value of the storage battery, stopping responding to the refreshing instruction.
Optionally, the calculating, according to the target data packet, a storage battery power threshold corresponding to the refresh target software includes:
calculating the refreshing time required by refreshing the target software according to the size of the target data packet;
substituting the refresh duration into a formula
SOCthreshold=(I*tn/C+SOCmin+Q*24*N/1000/C)/μ
Calculating to obtain a storage battery electric quantity threshold corresponding to the refreshed target software, wherein,
SOCthresholdrepresenting the battery charge threshold;
i represents the output current of the storage battery when the whole vehicle control network is in an awakening state;
tnrepresenting the refresh duration;
c represents the capacity of the storage battery;
SOCminrepresenting the minimum amount of battery charge required to satisfy a preset starting condition of the vehicle;
q represents the output current of the storage battery when the vehicle control network is in a dormant state;
n represents the preset parking days after the target software is refreshed;
mu represents a preset coefficient, and the value of mu is 0-1.
Optionally, the software refresh control method provided in the first aspect of the present invention further includes:
after the target software is refreshed, acquiring a residual SOC value of the storage battery;
if the residual SOC value is smaller than the lowest electric quantity SOC of the storage batteryminOr the current SOC value is smaller than the electric quantity threshold value of the storage battery, and charging information prompting a user to charge the storage battery is sent.
Optionally, the obtaining the refresh command includes:
under the condition that the software to be refreshed exists, controlling a human-computer interaction interface to display software refreshing mode selection information to a user, wherein the software refreshing mode at least comprises immediate refreshing and reserved refreshing;
receiving a software refreshing mode selected by the user;
if the software refreshing mode is immediate refreshing, a refreshing instruction is generated immediately;
and if the software refreshing mode is the reserved refreshing, timing is started, and a refreshing instruction is generated when the timing duration reaches the preset reserved duration.
Optionally, in the software refresh control method provided by any one of the above aspects of the present invention, further includes:
constructing a refreshing queue, wherein the refreshing queue at least comprises a data packet to be refreshed;
and taking the data packets to be refreshed in the refreshing queue as the target data packets in sequence.
In a second aspect, the present invention provides a software refresh control apparatus, comprising:
the first acquisition unit is used for acquiring a refresh command;
the second acquisition unit is used for responding to the refreshing instruction and acquiring a target data packet and the current state of charge (SOC) value of the storage battery;
the computing unit is used for computing a storage battery electric quantity threshold corresponding to the refreshing target software according to the target data packet, wherein the target software is the software to be refreshed corresponding to the target data packet;
and the refreshing unit is used for refreshing the target software if the current SOC value is not less than the electric quantity threshold of the storage battery.
Optionally, the software refresh control apparatus provided in the second aspect of the present invention further includes:
and the prohibiting unit is used for stopping responding to the refreshing instruction if the current SOC value is smaller than the electric quantity threshold value of the storage battery.
Optionally, the calculating unit, when calculating the battery power threshold corresponding to the target software according to the target data packet, specifically includes:
calculating the refreshing time required by refreshing the target software according to the size of the target data packet;
substituting the refresh duration into a formula
SOCthreshold=(I*tn/C+SOCmin+Q*24*N/1000/C)/μ
Calculating to obtain a storage battery electric quantity threshold corresponding to the refreshed target software, wherein,
SOCthresholdrepresenting the battery charge threshold;
i represents the output current of the storage battery when the whole vehicle control network is in an awakening state;
tnrepresenting the refresh duration;
c represents the capacity of the storage battery;
SOCminrepresenting the minimum amount of battery charge required to satisfy a preset starting condition of the vehicle;
q represents the output current of the storage battery when the vehicle control network is in a dormant state;
n represents the preset parking days after the target software is refreshed;
mu represents a preset coefficient, and the value of mu is 0-1.
In a third aspect, the present invention provides a vehicle networking device, comprising: a memory and a processor; the memory stores a program adapted to be executed by the processor to implement the steps of the software refresh control method according to any one of the first aspect of the present invention.
Based on the technical scheme, the software refreshing control method, the device and the Internet of vehicles provided by the invention have the advantages that after the refreshing instruction is obtained, the target data packet and the current SOC value of the storage battery are obtained, the electric quantity threshold value of the storage battery is further calculated according to the target data packet when the target software corresponding to the target data packet is refreshed, the size relation between the current SOC value of the storage battery and the electric quantity threshold value of the storage battery is compared, and if the current SOC value is not smaller than the electric quantity threshold value of the storage battery, the target software is refreshed. According to the software refreshing control method, the software refreshing control device and the Internet of vehicles, the electric quantity of the storage battery is checked before each piece of software is refreshed, and the target software is refreshed on the premise that the current SOC value of the storage battery is not smaller than the electric quantity threshold value of the storage battery, so that deep discharging of the storage battery caused by software upgrading is avoided, and the storage battery is guaranteed to have normal service life.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flow chart of a software refresh control method according to an embodiment of the present invention;
fig. 2 is a block diagram of a software refresh control apparatus according to an embodiment of the present invention;
FIG. 3 is a block diagram of another software refresh control apparatus according to an embodiment of the present invention;
fig. 4 is a block diagram of a car networking device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. 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.
Referring to fig. 1, fig. 1 is a flowchart of a software refresh control method provided in an embodiment of the present invention, where the method is applicable to a vehicle-mounted electronic device, and the vehicle-mounted electronic device may be a vehicle-mounted electronic device with data processing capability, such as a vehicle networking device T-BOX, a vehicle computer, and the like, and obviously, the vehicle-mounted electronic device may also be implemented by a server on a network side in some cases; referring to fig. 1, a software refresh control method provided in an embodiment of the present invention may include:
step S100, a refresh command is acquired.
In the FOTA system for a vehicle, the FOTA system can be roughly divided into two parts, namely a vehicle end and a back end. The vehicle-mounted intelligent entertainment system mainly comprises a 12V power supply management unit, a vehicle networking device T-BOX, an entertainment system with a human-computer interaction function and controllers to be refreshed, wherein the 12V power supply management unit is responsible for power supply and monitoring management of the whole vehicle, the T-BOX is a main unit for executing controller software refreshing, and the entertainment system is mainly used for realizing human-computer interaction; the control system mainly comprises a software storage platform, an FOTA server and an after-sales information system at a background end, wherein the latest version of the controller software to be refreshed is formally released and is often stored in the software storage platform, the after-sales information system regularly sends version upgrade and software storage address information to the FOTA server, and the FOTA server automatically issues a refreshing task to a vehicle after receiving corresponding information.
After the vehicle is powered on, the T-BOX is connected with the FOTA server to automatically acquire a refreshing task, and if the refreshing task does exist, corresponding software is downloaded to refresh the data packet. When the power supply of the vehicle is switched to the OFF mode, the whole vehicle is powered OFF, but the vehicle is not locked, and if software to be refreshed exists under the vehicle condition, namely the T-BOX downloads a refreshing data packet from the FOTA server, a refreshing instruction sent by a user is obtained.
Optionally, the human-computer interface of the entertainment system is controlled to display software refreshing mode selection information to the user, wherein the software refreshing mode selection information at least comprises two selection modes of immediate refreshing and scheduled refreshing. Then receiving a software refreshing mode selected by a user, and if the user selects immediate refreshing, immediately generating a refreshing instruction; and if the user selects the reserved refreshing, timing is started, and a refreshing instruction is generated when the timing duration reaches the preset reserved duration.
Step S110, responding to the refresh command, acquiring a target data packet and a current SOC (State of Charge) value of the battery.
After the refresh command is obtained, the target data packet and the current SOC value of the vehicle battery need to be obtained. It is conceivable that the T-BOX already downloads the data packet of the software to be refreshed from the FOTA server before performing the refresh task, and therefore, the target data packet obtained in this step may be specifically obtained from the local storage. Of course, corresponding program improvement can be carried out, and the target data packet can be directly obtained from the FOTA server.
Optionally, if there are multiple data packets, that is, there are multiple software to be refreshed, a refresh queue may be constructed, the data packets to be refreshed are stored in the constructed refresh queue, the data packets to be refreshed in the constructed refresh queue are sequentially used as target data packets according to the queue order, subsequent refresh operations are executed, and after the refresh operation of each software is completed, the corresponding data packets to be refreshed in the refresh queue are removed until the refresh queue is emptied.
And step S120, calculating a storage battery electric quantity threshold corresponding to the refreshed target software according to the target data packet.
Specifically, the target software is the software to be refreshed corresponding to the target data packet.
After the target data packet is obtained, the storage battery electric quantity threshold corresponding to the target software needs to be further calculated and refreshed. In order to prevent the storage battery from deeply discharging due to overlong software refreshing time, the storage battery can still be normally started after the vehicle needs to be ensured to be parked for a certain time after parking is considered, and therefore the setting of the electric quantity threshold value of the storage battery at least needs to comprise: the electric quantity of the storage battery consumed by the target software, the electric quantity of the storage battery required to be consumed when the vehicle is parked for a preset number of days after refreshing is completed, and the minimum electric quantity of the storage battery meeting the vehicle starting requirement are refreshed. The sum of the three can be used as the storage battery electric quantity threshold value which needs to be set before the target software is refreshed.
Optionally, the electric quantity threshold of the storage battery may be set according to experience of use, or may be set according to design parameters of the storage battery. The embodiment of the invention provides a method for calculating an electric quantity threshold of a storage battery, which specifically comprises the following steps:
before a target data packet is obtained, namely target software is refreshed, the refreshing time required by refreshing the target software is calculated according to the size of the target data packet. It should be noted that the refresh duration may be obtained by using a calculation method in the prior art and converting according to the size of the target data packet, and the embodiment of the present invention does not limit the calculation process of the refresh duration.
After the refresh duration is calculated, substituting the obtained result into the following formula:
SOCthreshold=(I*tn/C+SOCmin+Q*24*N/1000/C)/μ
calculating to obtain a storage battery electric quantity threshold corresponding to the refreshed target software, wherein,
SOCthresholdrepresenting the battery charge threshold;
i represents the output current of the storage battery when the whole vehicle control network is in an awakening state;
tnrepresenting the refresh duration;
c represents the capacity of the storage battery;
SOCminrepresenting the minimum amount of battery charge required to satisfy a preset starting condition of the vehicle;
q represents the output current of the storage battery when the vehicle control network is in a dormant state;
n represents the preset parking days after the target software is refreshed;
mu represents a preset coefficient, and the value of mu is 0-1.
Will refresh for a time period tnAnd substituting the formula to obtain the storage battery electric quantity threshold corresponding to the refreshing target software.
Step S130, determining whether the current SOC value is not less than the battery capacity threshold, if so, performing step S140, and if not, performing step S150.
After the electric quantity threshold value of the storage battery is obtained through calculation, the size relation between the current SOC value of the storage battery and the electric quantity threshold value of the storage battery corresponding to the refreshing target software can be judged, if the current SOC value is not smaller than the electric quantity threshold value of the storage battery, the electric quantity of the current storage battery can finish the refreshing process, deep discharging of the storage battery cannot be caused, and the step S140 is executed to refresh the target software; correspondingly, if the current SOC value is smaller than the battery capacity threshold, the target software cannot be refreshed, and step S150 is executed to stop responding to the refresh command.
Step S140, the target software is refreshed.
And under the condition that the current SOC value is not less than the battery electric quantity threshold value, refreshing the target software.
Step S150, stopping responding to the refresh command.
And under the condition that the current SOC value is smaller than the electric quantity threshold value of the storage battery, stopping responding to the refreshing instruction and not refreshing the target software.
In summary, according to the software refreshing control method provided by the embodiment of the invention, before each software is refreshed, the electric quantity of the storage battery is checked, and the target software is refreshed on the premise that the current SOC value of the storage battery is not less than the electric quantity threshold of the storage battery, so that deep discharge of the storage battery caused by software upgrade is avoided, and the storage battery is ensured to have normal service life.
Furthermore, the electric quantity of the storage battery is checked before the software refreshing, so that the refreshing failure caused by the power shortage of the storage battery in the software refreshing process can be effectively avoided, the conditions that the vehicle cannot be started and the function cannot be used due to the fact that the version of the target software which fails to be refreshed cannot be returned at present are further avoided, the software refreshing safety is improved, and the use experience of a user is effectively improved.
Optionally, in order to avoid the abnormal wake-up condition during the software refreshing process, after the target software is refreshed, the remaining SOC value of the storage battery, that is, the remaining electric quantity value of the storage battery after the refreshing process is completed, may be further obtained, and if the remaining SOC value is smaller than the set minimum electric quantity SOC of the storage batteryminAnd charging information needs to be sent to remind the user to charge the storage battery. Specifically, the charging information can be displayed by controlling a human-computer interaction interface.
Optionally, if the current SOC value of the storage battery is smaller than the calculated electric quantity threshold of the storage battery before the target software is refreshed, charging information may also be sent to remind the user to charge the storage battery.
Note that, the remaining SOC value of the battery and the minimum battery SOCminThe judgment of the size relationship can be performed after the refreshing of each payment of software to be refreshed is finished, or can be performed after all the software to be refreshed in the refreshing queue is completely refreshed, which is optional.
The software refresh control device described below may be regarded as a functional module architecture that needs to be set in the central device to implement the software refresh control method provided by the embodiment of the present invention; the following description may be cross-referenced with the above.
Fig. 2 is a block diagram of a software refresh control apparatus according to an embodiment of the present invention, and referring to fig. 2, the apparatus may include:
a first obtaining unit 10 configured to obtain a refresh command;
the second obtaining unit 20 is configured to respond to the refresh instruction and obtain a target data packet and a current state of charge SOC value of the storage battery;
the calculating unit 30 is configured to calculate, according to the target data packet, a storage battery electric quantity threshold corresponding to a refresh target software, where the target software is to-be-refreshed software corresponding to the target data packet;
and the refreshing unit 40 is used for refreshing the target software if the current SOC value is not less than the electric quantity threshold of the storage battery.
Optionally, the calculating unit 30 is configured to, when calculating the battery capacity threshold corresponding to the target software according to the target data packet, specifically include:
calculating the refreshing time required by refreshing the target software according to the size of the target data packet;
substituting the refresh duration into a formula
SOCthreshold=(I*tn/C+SOCmin+Q*24*N/1000/C)/μ
Calculating to obtain a storage battery electric quantity threshold corresponding to the refreshed target software, wherein,
SOCthresholdrepresenting the battery charge threshold;
i represents the output current of the storage battery when the whole vehicle control network is in an awakening state;
tnrepresenting the refresh duration;
c represents the capacity of the storage battery;
SOCminrepresenting the minimum amount of battery charge required to satisfy a preset starting condition of the vehicle;
q represents the output current of the storage battery when the vehicle control network is in a dormant state;
n represents the preset parking days after the target software is refreshed;
mu represents a preset coefficient, and the value of mu is 0-1.
Optionally, fig. 3 is a block diagram of another software refresh control apparatus provided in the embodiment of the present invention, where the apparatus may further include, on the basis of the embodiment shown in fig. 2:
and the prohibiting unit 50 is configured to stop responding to the refresh command if the current SOC value is smaller than the battery capacity threshold.
Optionally, fig. 4 is a block diagram of a structure of a car networking device provided in an embodiment of the present invention, which is shown in fig. 4, and may include: at least one processor 100, at least one communication interface 200, at least one memory 300, and at least one communication bus 400;
in the embodiment of the present invention, the number of the processor 100, the communication interface 200, the memory 300, and the communication bus 400 is at least one, and the processor 100, the communication interface 200, and the memory 300 complete the communication with each other through the communication bus 400; it is clear that the communication connections shown by the processor 100, the communication interface 200, the memory 300 and the communication bus 400 shown in fig. 4 are merely optional;
optionally, the communication interface 200 may be an interface of a communication module, such as an interface of a GSM module;
the processor 100 may be a central processing unit CPU or an application Specific Integrated circuit asic or one or more Integrated circuits configured to implement embodiments of the present invention.
The memory 300, which stores application programs, may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
The processor 100 is specifically configured to execute an application program in the memory to implement any embodiment of the software refresh control method described above.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A software refresh control method, comprising:
obtaining a refreshing instruction;
responding to the refreshing instruction, and acquiring a target data packet and a current state of charge (SOC) value of the storage battery;
calculating a storage battery electric quantity threshold corresponding to refreshing target software according to the target data packet, wherein the target software is to-be-refreshed software corresponding to the target data packet;
and if the current SOC value is not less than the electric quantity threshold value of the storage battery, refreshing the target software.
2. The software refresh control method of claim 1, further comprising:
and if the current SOC value is smaller than the electric quantity threshold value of the storage battery, stopping responding to the refreshing instruction.
3. The software refreshing control method according to claim 1, wherein the calculating of the battery power threshold corresponding to the refreshing target software according to the target data packet includes:
calculating the refreshing time required by refreshing the target software according to the size of the target data packet;
substituting the refresh duration into a formula
SOCthreshold=(I*tn/C+SOCmin+Q*24*N/1000/C)/μ
Calculating to obtain a storage battery electric quantity threshold corresponding to the refreshed target software, wherein,
SOCthresholdrepresenting the battery charge threshold;
i represents the output current of the storage battery when the whole vehicle control network is in an awakening state;
tnrepresenting the refresh duration;
c represents the capacity of the storage battery;
SOCminrepresenting the minimum amount of battery charge required to satisfy a preset starting condition of the vehicle;
q represents the output current of the storage battery when the vehicle control network is in a dormant state;
n represents the preset parking days after the target software is refreshed;
mu represents a preset coefficient, and the value of mu is 0-1.
4. The software refresh control method of claim 3, further comprising:
after the target software is refreshed, acquiring a residual SOC value of the storage battery;
if the residual SOC value is smaller than the lowest electric quantity SOC of the storage batteryminOr the current SOC value is smaller than the electric quantity threshold value of the storage battery, and charging information prompting a user to charge the storage battery is sent.
5. The software refresh control method of claim 1, wherein the obtaining a refresh command comprises:
under the condition that the software to be refreshed exists, controlling a human-computer interaction interface to display software refreshing mode selection information to a user, wherein the software refreshing mode at least comprises immediate refreshing and reserved refreshing;
receiving a software refreshing mode selected by the user;
if the software refreshing mode is immediate refreshing, a refreshing instruction is generated immediately;
and if the software refreshing mode is the reserved refreshing, timing is started, and a refreshing instruction is generated when the timing duration reaches the preset reserved duration.
6. The software refresh control method of any one of claims 1-5, further comprising:
constructing a refreshing queue, wherein the refreshing queue at least comprises a data packet to be refreshed;
and taking the data packets to be refreshed in the refreshing queue as the target data packets in sequence.
7. A software refresh control apparatus, comprising:
the first acquisition unit is used for acquiring a refresh command;
the second acquisition unit is used for responding to the refreshing instruction and acquiring a target data packet and the current state of charge (SOC) value of the storage battery;
the computing unit is used for computing a storage battery electric quantity threshold corresponding to the refreshing target software according to the target data packet, wherein the target software is the software to be refreshed corresponding to the target data packet;
and the refreshing unit is used for refreshing the target software if the current SOC value is not less than the electric quantity threshold of the storage battery.
8. The software refresh control apparatus of claim 7, wherein said apparatus further comprises:
and the prohibiting unit is used for stopping responding to the refreshing instruction if the current SOC value is smaller than the electric quantity threshold value of the storage battery.
9. The software refresh control device according to claim 7, wherein the calculating unit, when calculating the battery power threshold corresponding to the refresh target software according to the target data packet, specifically includes:
calculating the refreshing time required by refreshing the target software according to the size of the target data packet;
substituting the refresh duration into a formula
SOCthreshold=(I*tn/C+SOCmin+Q*24*N/1000/C)/μ
Calculating to obtain a storage battery electric quantity threshold corresponding to the refreshed target software, wherein,
SOCthresholdrepresenting the battery charge threshold;
i represents the output current of the storage battery when the whole vehicle control network is in an awakening state;
tnrepresenting the refresh duration;
c represents the capacity of the storage battery;
SOCminrepresenting the minimum amount of battery charge required to satisfy a preset starting condition of the vehicle;
q represents the output current of the storage battery when the vehicle control network is in a dormant state;
n represents the preset parking days after the target software is refreshed;
mu represents a preset coefficient, and the value of mu is 0-1.
10. A vehicle networking device, comprising: a memory and a processor; the memory stores a program adapted to be executed by the processor to implement the steps of the software refresh control method of any of claims 1-6.
CN201910792571.6A 2019-08-26 2019-08-26 Software refreshing control method and device and Internet of vehicles equipment Pending CN112428878A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910792571.6A CN112428878A (en) 2019-08-26 2019-08-26 Software refreshing control method and device and Internet of vehicles equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910792571.6A CN112428878A (en) 2019-08-26 2019-08-26 Software refreshing control method and device and Internet of vehicles equipment

Publications (1)

Publication Number Publication Date
CN112428878A true CN112428878A (en) 2021-03-02

Family

ID=74690368

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910792571.6A Pending CN112428878A (en) 2019-08-26 2019-08-26 Software refreshing control method and device and Internet of vehicles equipment

Country Status (1)

Country Link
CN (1) CN112428878A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113696781A (en) * 2021-08-10 2021-11-26 岚图汽车科技有限公司 New energy automobile OTA upgrade storage battery capacity detection method and system
WO2023168953A1 (en) * 2022-03-10 2023-09-14 广州汽车集团股份有限公司 Ota power-on refresh control method and system for vehicle

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070005276A1 (en) * 2005-06-13 2007-01-04 Il Cho Apparatus and method for testing state of charge in battery
US20090195219A1 (en) * 2006-11-30 2009-08-06 Mitsubishi Heavy Industries, Ltd. Battery soc estimation program, wireless transit system, and method of charging the battery
CN103052539A (en) * 2010-08-03 2013-04-17 本田技研工业株式会社 Vehicle program rewriting system
CN104569829A (en) * 2013-10-22 2015-04-29 通用汽车环球科技运作有限责任公司 Battery SOC estimation with automatic correction
CN104978217A (en) * 2014-04-01 2015-10-14 福特全球技术公司 Smart vehicle reflash with battery SOC estimator
CN105717460A (en) * 2016-02-19 2016-06-29 深圳大学 Power battery SOC estimation method and system based on nonlinear observer
CN106945533A (en) * 2016-01-07 2017-07-14 现代自动车株式会社 The relevant method and apparatus for preventing boosting battery deep discharge of reprogramming with ECU
CN108710499A (en) * 2018-05-23 2018-10-26 苏州艾普乐思新能源动力系统科技有限公司 The vehicle-mounted ECU software of electric vehicle writes with a brush dipped in Chinese ink method and device
CN109643253A (en) * 2016-08-30 2019-04-16 株式会社自动网络技术研究所 Vehicle-mounted updating device and vehicle-mounted more new system
CN110139789A (en) * 2017-01-05 2019-08-16 雷诺股份公司 Method for optimizing the energy consumption of hybrid vehicle

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070005276A1 (en) * 2005-06-13 2007-01-04 Il Cho Apparatus and method for testing state of charge in battery
US20090195219A1 (en) * 2006-11-30 2009-08-06 Mitsubishi Heavy Industries, Ltd. Battery soc estimation program, wireless transit system, and method of charging the battery
CN103052539A (en) * 2010-08-03 2013-04-17 本田技研工业株式会社 Vehicle program rewriting system
CN104569829A (en) * 2013-10-22 2015-04-29 通用汽车环球科技运作有限责任公司 Battery SOC estimation with automatic correction
CN104978217A (en) * 2014-04-01 2015-10-14 福特全球技术公司 Smart vehicle reflash with battery SOC estimator
CN106945533A (en) * 2016-01-07 2017-07-14 现代自动车株式会社 The relevant method and apparatus for preventing boosting battery deep discharge of reprogramming with ECU
CN105717460A (en) * 2016-02-19 2016-06-29 深圳大学 Power battery SOC estimation method and system based on nonlinear observer
CN109643253A (en) * 2016-08-30 2019-04-16 株式会社自动网络技术研究所 Vehicle-mounted updating device and vehicle-mounted more new system
CN110139789A (en) * 2017-01-05 2019-08-16 雷诺股份公司 Method for optimizing the energy consumption of hybrid vehicle
CN108710499A (en) * 2018-05-23 2018-10-26 苏州艾普乐思新能源动力系统科技有限公司 The vehicle-mounted ECU software of electric vehicle writes with a brush dipped in Chinese ink method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113696781A (en) * 2021-08-10 2021-11-26 岚图汽车科技有限公司 New energy automobile OTA upgrade storage battery capacity detection method and system
WO2023168953A1 (en) * 2022-03-10 2023-09-14 广州汽车集团股份有限公司 Ota power-on refresh control method and system for vehicle

Similar Documents

Publication Publication Date Title
CN108710499B (en) Method and device for flashing vehicle-mounted ECU software of electric vehicle
CN111769240A (en) Electric automobile remote thermal management control method, device and system and storage medium
EP3266641A1 (en) Battery charging system and battery charging method for electrically driven vehicle
CN111032439B (en) Control apparatus, control method, and non-transitory computer-readable storage medium
WO2018078456A1 (en) Control device, program updating method, and computer program
CN106160065A (en) Safeguard Vehicular battery
GB2528216A (en) Estimating and enhancing residual performance in an energy storage system
CN112297754B (en) Power control method of parking air conditioner, storage medium and device
CN112428878A (en) Software refreshing control method and device and Internet of vehicles equipment
CN113364867A (en) Vehicle upgrading method, device, equipment, vehicle and storage medium
CN113043914B (en) Battery heating method and device and electric automobile
CN114291015B (en) Vehicle control method and device, vehicle and storage medium
CN115416533A (en) Method for reserving direct current charging, finished automobile and external charging device
CN113085621A (en) Control method and device for charging reservation, charging pile and vehicle
CN114590241A (en) Vehicle idle charging method and device
JP6477513B2 (en) Charger
JP5857798B2 (en) Control device
KR20140031500A (en) System and method for controlling charging of electric vehicles
CN115995839A (en) Method, device, equipment and medium for determining working state of multifunctional mobile energy storage vehicle
CN116126368A (en) Whole-vehicle OTA upgrading method and device, electronic equipment and vehicle
CN115036596A (en) Battery pack low-temperature charging heating control method and device and electronic equipment
CN111987769A (en) Storage battery charging method, power automobile and readable storage medium
CN112448436A (en) Electric energy management method and device for vehicle software update
CN113734071B (en) Control method and device for reducing energy consumption of pure electric vehicle and electronic equipment
JP5791019B2 (en) Control device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210302

RJ01 Rejection of invention patent application after publication