CN116456327A - Vehicle OTA upgrading method and device, electronic equipment and storage medium - Google Patents

Vehicle OTA upgrading method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116456327A
CN116456327A CN202310099828.6A CN202310099828A CN116456327A CN 116456327 A CN116456327 A CN 116456327A CN 202310099828 A CN202310099828 A CN 202310099828A CN 116456327 A CN116456327 A CN 116456327A
Authority
CN
China
Prior art keywords
electronic control
control unit
upgrade
upgrading
upgraded
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
CN202310099828.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.)
Lantu Automobile Technology Co Ltd
Original Assignee
Lantu Automobile Technology Co 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 Lantu Automobile Technology Co Ltd filed Critical Lantu Automobile Technology Co Ltd
Priority to CN202310099828.6A priority Critical patent/CN116456327A/en
Publication of CN116456327A publication Critical patent/CN116456327A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/44Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for communication between vehicles and infrastructures, e.g. vehicle-to-cloud [V2C] or vehicle-to-home [V2H]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • H04W8/245Transfer of terminal data from a network towards a terminal

Abstract

The invention provides a vehicle OTA upgrading method, a device, electronic equipment and a storage medium. The method comprises the following steps: receiving upgrade task information issued by a cloud; based on the upgrade task information, each electronic control unit meeting the upgrade condition is upgraded in turn until the last electronic control unit in the electronic control units to be upgraded in the upgrade task is upgraded. The method and the device realize that in the upgrading process of the electronic control units, the electronic control units which fail to be upgraded are subjected to multiple special screening judgment, so that each electronic control unit is upgraded as much as possible, the upgrading efficiency and the upgrading completion rate of the electronic control units are improved, and the user experience is improved.

Description

Vehicle OTA upgrading method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of OTA upgrade technologies, and in particular, to a vehicle OTA upgrade method, a vehicle OTA upgrade apparatus, an electronic device, and a storage medium.
Background
Currently, with the improvement of the entire car OTA upgrading capability, the number of Electronic Control Units (ECUs) in a single OTA upgrading task is gradually increased. In the prior art, in the upgrading process of an electronic control unit, if a certain electronic control unit fails to upgrade, the whole vehicle upgrading task can be terminated, and meanwhile, the electronic control unit which fails to upgrade can not be upgraded any more, so that the upgrading completion rate of the whole vehicle electronic control unit is low, and further, the problem of poor user experience and the like is caused.
Therefore, a new solution is needed to solve the above technical problems.
Disclosure of Invention
In the summary, a series of concepts in a simplified form are introduced, which will be further described in detail in the detailed description. The summary of the invention is not intended to define the key features and essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.
In a first aspect, the present invention provides a vehicle OTA upgrading method, including: the method comprises the steps of receiving upgrading task information issued by a cloud, wherein the upgrading task information comprises an upgrading sequence, an upgrading mode, an upgrading strategy of an electronic control unit and corresponding software packages to be downloaded; based on the upgrade task information, sequentially upgrading each electronic control unit meeting the upgrade condition until the last electronic control unit in the electronic control units to be upgraded in the upgrade task is upgraded; judging whether the non-updated electronic control unit is a high-risk electronic control unit or not according to the updating failure or the non-updated electronic control unit which does not meet the updating condition, if so, ending the updating task, if not, judging whether the non-updated electronic control unit is the last electronic control unit in the updating task, and if so, ending the updating task, and if not, judging whether the next non-updated electronic control unit is the high-risk electronic control unit again based on the updating sequence until the updating task is ended.
Optionally, the method further comprises: uploading upgrade failure information corresponding to the un-upgraded electronic control unit to the cloud end so as to update the upgrade record by the cloud end.
Optionally, the method further comprises: and judging whether the electronic control unit which is not upgraded meets the upgrading conditions again, if so, skipping over the current electronic control unit which is not upgraded, upgrading the next electronic control unit based on the upgrading sequence, and if not, ending the upgrading task.
Optionally, after the upgrade task ends, the method further comprises: returning upgrade task information to the cloud end so as to enable the cloud end to update an upgrade record, wherein the upgrade task information comprises upgrade success information of the electronic control unit and upgrade failure information of the electronic control unit; and deleting the software package corresponding to the electronic control unit which is successfully upgraded based on the upgrade task information, and storing the software package corresponding to the electronic control unit which is failed to upgrade.
Optionally, the upgrade condition includes that the current software version of the at least one electronic control unit is inconsistent with the target version of the cloud deployment.
Optionally, the method further comprises: under the condition that the upgrading condition is met, downloading the software package from the cloud; in the downloading process, if the vehicle end is disconnected with the content distribution network, the vehicle end automatically records the downloading breakpoint of the software package so as to continue to download the software package from the breakpoint after the downloading condition is met again.
Optionally, after the software package is downloaded, the method further includes: and (3) performing signature verification operation on the software package, starting upgrading operation of the electronic control unit if the signature verification is passed, and re-downloading a new software package if the signature verification is failed.
In a second aspect, a vehicle OTA upgrading device is provided, including: the task receiving module is used for receiving upgrade task information issued by the cloud, wherein the upgrade task information comprises an upgrade sequence, an upgrade mode, an upgrade strategy and a corresponding software package to be downloaded of the electronic control unit; the upgrade module is used for sequentially upgrading each electronic control unit meeting the upgrade conditions based on the upgrade task information until the last electronic control unit in the electronic control units to be upgraded in the upgrade task is upgraded; the judging module is used for judging whether the non-updated electronic control unit is a high-risk electronic control unit or not according to the updating failure or the non-updated electronic control unit which does not meet the updating condition, if so, ending the updating task, if not, judging whether the non-updated electronic control unit is the last electronic control unit in the updating task, and if so, ending the updating task, and if not, judging whether the next non-updated electronic control unit is the high-risk electronic control unit again based on the updating sequence until the updating task is ended.
In a third aspect, there is also provided an electronic device comprising a processor and a memory, wherein the memory has stored therein computer program instructions that, when executed by the processor, are operable to perform a vehicle OTA upgrade method as described above.
In a fourth aspect, a storage medium is also presented, on which program instructions are stored, which program instructions, when executed, are for performing a vehicle OTA upgrade method as described above.
According to the vehicle OTA upgrading method, upgrading task information issued by a cloud is received, wherein the upgrading task information comprises an upgrading sequence, an upgrading mode, an upgrading strategy and a corresponding software package to be downloaded of an electronic control unit; based on the upgrade task information, sequentially upgrading each electronic control unit meeting the upgrade condition until the last electronic control unit in the electronic control units to be upgraded in the upgrade task is upgraded; for the un-upgraded electronic control units which fail to upgrade or do not meet the upgrade conditions, judging whether the un-upgraded electronic control units are high-risk electronic control units, if so, ending the upgrade task, if not, judging whether the un-upgraded electronic control units are the last electronic control units in the upgrade task, and if not, ending the upgrade task, and if so, judging whether the next un-upgraded electronic control unit is the high-risk electronic control unit again based on the upgrade sequence until the upgrade task is ended, thereby realizing multiple special screening judgment on the electronic control units which fail to upgrade in the upgrade process of the electronic control units, upgrading each electronic control unit as much as possible, improving the upgrade efficiency and upgrade completion rate of the electronic control units, and improving the user experience.
Additional advantages, objects, and features of the invention will be set forth in part in the description which follows and in part will become apparent to those having ordinary skill in the art upon examination of the following or may be learned from practice of the invention.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the specification. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
FIG. 1 shows a schematic flow chart of a vehicle OTA upgrade method according to one embodiment of the invention;
FIG. 2 shows a schematic flow chart of a vehicle OTA upgrade method according to another embodiment of the present invention;
fig. 3 shows a schematic block diagram of a vehicle OTA upgrade apparatus according to one embodiment of the invention; and
fig. 4 shows a schematic block diagram of an electronic device according to an embodiment of the invention.
Detailed Description
According to the technical scheme, upgrade task information issued by the cloud is received, wherein the upgrade task information comprises an upgrade sequence, an upgrade mode, an upgrade strategy and a corresponding software package to be downloaded of the electronic control unit; based on the upgrade task information, sequentially upgrading each electronic control unit meeting the upgrade condition until the last electronic control unit in the electronic control units to be upgraded in the upgrade task is upgraded; for the un-upgraded electronic control units which fail to upgrade or do not meet the upgrade conditions, judging whether the un-upgraded electronic control units are high-risk electronic control units, if so, ending the upgrade task, if not, judging whether the un-upgraded electronic control units are the last electronic control units in the upgrade task, and if not, ending the upgrade task, and if so, judging whether the next un-upgraded electronic control unit is the high-risk electronic control unit again based on the upgrade sequence until the upgrade task is ended, thereby realizing multiple special screening judgment on the electronic control units which fail to upgrade in the upgrade process of the electronic control units, upgrading each electronic control unit as much as possible, improving the upgrade efficiency and upgrade completion rate of the electronic control units, and improving the user experience.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims of this application and in the above-described figures, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments described herein may be implemented in other sequences than those illustrated or otherwise 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. The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application.
The invention provides a vehicle OTA upgrading method. Fig. 1 shows a schematic flow chart of a vehicle OTA upgrade method 100 according to one embodiment of the invention. As shown in fig. 1, the method 100 may include the following steps.
Step S110, upgrade task information issued by the cloud is received, wherein the upgrade task information comprises an upgrade sequence, an upgrade mode, an upgrade strategy and a corresponding software package to be downloaded of the electronic control unit.
For example, the upgrade order of the electronic control units may be determined according to the dependency relationship between the upgrade packages of the electronic control units, which is not additionally limited herein. The software package obtaining manner may specifically be obtained by the vehicle to be upgraded from the link address according to the electronic control unit identifier, which is not limited herein. Specifically, whether the electronic control units at the vehicle end need to execute upgrading actions or not can be judged by comparing whether the current version of the electronic control units at the vehicle end is consistent with the target version of the cloud electronic control unit, and whether software packages of the corresponding electronic control units need to be downloaded or not is further judged. And receiving an upgrade task issued by the cloud under the condition that the current version of at least one electronic control unit at the vehicle end is inconsistent with the task version in the upgrade task information issued by the cloud, wherein the upgrade task information comprises an upgrade sequence, an upgrade mode, an upgrade strategy and a corresponding software package to be downloaded of the electronic control unit. Specifically, the intervals may be within a preset time, for example: the download conditions of the electronic control unit package were checked within 1 minute.
Step S120, based on the upgrade task information, sequentially upgrading each electronic control unit meeting the upgrade condition until the last electronic control unit in the electronic control units to be upgraded in the upgrade task is upgraded.
For example, the upgrade condition may be a difference between a current version of each electronic control unit at the vehicle end and a target version of the cloud electronic control unit. Specifically, under the condition that the current version of the vehicle-end electronic control unit and the target version of the cloud electronic control unit are different, the electronic control unit is judged to be the electronic control unit to be upgraded which meets the upgrading conditions. The difference between the current version of each electronic control unit and the target version of the cloud electronic control unit may be a quantity difference, and is not specifically limited herein.
After each electronic control unit is successfully upgraded in step S120, step S130 is executed: and judging whether the current updated electronic control unit is the last electronic control unit in the updating task. In the case that it is determined that the currently upgraded electronic control unit is the last electronic control unit, step S160 is executed to end the upgrade task. Otherwise, if the current updated electronic control unit is not the last electronic control unit in the updating task, the subsequent electronic control units are continuously updated in sequence until the last electronic control unit in the updating task is updated, and then the updating task is ended.
In the process of upgrading the electronic control unit, there may be an upgrade failure or an un-upgraded electronic control unit that cannot be upgraded because the upgrade condition is not satisfied. For such electronic control units, step S140 is performed to determine, for an un-upgraded electronic control unit that fails to upgrade or does not meet the upgrade condition, whether the current un-upgraded electronic control unit is a high-risk electronic control unit.
In particular, the high-risk electronic control unit may be an electronic control unit that affects the anchoring of the vehicle or the starting or closing of the vehicle. If the current un-upgraded electronic control unit is a high-risk electronic control unit, step S160 is executed to end the upgrade task. Otherwise, if the current non-upgraded electronic control unit is not the high-risk electronic control unit, step S150 is executed to determine whether the current non-upgraded electronic control unit is the last electronic control unit in the upgrade task. If yes, step S160 is executed to end the upgrade task. Otherwise, if the current un-upgraded electronic control unit is not the last electronic control unit in the upgrade task, step S140 is executed again to determine whether the next un-upgraded electronic control unit is a high-risk electronic control unit again based on the upgrade order, and the above steps are repeated until the upgrade task is completed.
According to the vehicle OTA upgrading method, upgrading task information issued by a cloud is received, wherein the upgrading task information comprises an upgrading sequence, an upgrading mode, an upgrading strategy and a corresponding software package to be downloaded of an electronic control unit; based on the upgrade task information, sequentially upgrading each electronic control unit meeting the upgrade condition until the last electronic control unit in the electronic control units to be upgraded in the upgrade task is upgraded; for the un-upgraded electronic control units which fail to upgrade or do not meet the upgrade conditions, judging whether the un-upgraded electronic control units are high-risk electronic control units, if so, ending the upgrade task, if not, judging whether the un-upgraded electronic control units are the last electronic control units in the upgrade task, and if not, ending the upgrade task, and if so, judging whether the next un-upgraded electronic control unit is the high-risk electronic control unit again based on the upgrade sequence until the upgrade task is ended, thereby realizing multiple special screening judgment on the electronic control units which fail to upgrade in the upgrade process of the electronic control units, upgrading each electronic control unit as much as possible, improving the upgrade efficiency and upgrade completion rate of the electronic control units, and improving the user experience.
Optionally, the method further comprises: uploading upgrade failure information corresponding to the un-upgraded electronic control unit to the cloud end so as to update the upgrade record by the cloud end.
Illustratively, the upgrade failure information may include: all present and future information which can distinguish the non-upgraded electronic control unit from other electronic control units in the whole vehicle, including version information, function information, name information, risk degree information and the like of the non-upgraded electronic control unit, is not limited in any way. Preferably, when the current non-upgraded electronic control unit is a high-risk electronic control unit, the electronic control unit can be marked, and when the whole vehicle electronic control unit is upgraded again, the high-risk electronic control unit can be skipped directly, so that the upgrading operation of the whole vehicle electronic control unit can be completed rapidly. According to the method, the upgrading failure information corresponding to the un-upgraded electronic control unit is uploaded to the cloud end, so that the cloud end updates the upgrading record, the upgrading condition of the whole vehicle electronic control unit and the version information of the current electronic control unit of the whole vehicle are controlled and recorded in real time, and convenience is brought to the future re-upgrading of the electronic control unit of the whole vehicle.
Optionally, the method further comprises: and judging whether the electronic control unit which is not upgraded meets the upgrading conditions again, if so, skipping over the current electronic control unit which is not upgraded, upgrading the next electronic control unit based on the upgrading sequence, and if not, ending the upgrading task.
For example, in the case that the non-updated electronic control unit satisfies the update condition, that is, in the case that the version of the non-updated electronic control unit differs from the target version and the non-updated electronic control unit is not the high-risk electronic control unit or the last electronic control unit to be updated, skipping the current non-updated electronic control unit, and updating the next electronic control unit based on the update sequence; and ending the upgrading task under the condition that the non-upgrading electronic control unit does not meet the upgrading condition, namely that the version of the non-upgrading electronic control unit is not different from the target version. According to the method, whether the electronic control unit which is not upgraded meets the upgrading conditions is judged secondarily, so that the electronic control unit which is failed to upgrade is screened for multiple times in the upgrading process of the electronic control unit, and the upgrading completion rate of the electronic control unit is improved.
Fig. 2 shows a schematic flow chart of a vehicle OTA upgrade method according to another embodiment of the invention.
As shown in fig. 2, after the upgrade task is completed, the method 100 may further include the steps of:
step S170, the upgrade task information is returned to the cloud end so that the cloud end updates the upgrade record, wherein the upgrade task information comprises upgrade success information of the electronic control unit and upgrade failure information of the electronic control unit.
Illustratively, the electronic control unit upgrade success information may include: latest version information, function information, name information, upgrade completion time-consuming information and the like of the electronic control unit for which upgrade has been completed; the electronic control unit upgrade failure information may include: current version information, function information, name information, upgrade failure cause information, and the like of the electronic control unit that fails in upgrade. According to the method, the cloud end is returned with the upgrade task information so that the cloud end can update the upgrade record, wherein the upgrade task information comprises the upgrade success information of the electronic control unit and the upgrade failure information of the electronic control unit, so that the upgrade condition of the upgrade of the electronic control unit of the whole vehicle is accurately controlled, a foundation is laid for upgrading the electronic control unit of the whole vehicle again, and further the operation steps and time of the subsequent upgrade process of the electronic control unit of the whole vehicle are saved.
Step S180, deleting the software package corresponding to the electronic control unit which is successfully upgraded based on the upgrade task information, and storing the software package corresponding to the electronic control unit which is failed to upgrade.
For example, the vehicle-end component may delete the software package corresponding to the electronic control unit that is successfully upgraded currently based on the upgrade task information, and store the electronic control unit software package that fails to upgrade in the storage area. According to the method, the software package corresponding to the electronic control unit which is successfully upgraded is deleted based on the upgrading task information, the software package corresponding to the electronic control unit which is failed to upgrade is stored, the storage space of the whole vehicle is saved, meanwhile, material conditions are provided for upgrading the electronic control unit which is failed to upgrade again, and time and steps for upgrading the electronic control unit again are saved.
Optionally, the upgrade condition includes that the current software version of the at least one electronic control unit is inconsistent with the target version of the cloud deployment.
Specifically, when the current version of at least one electronic control unit at the vehicle end is inconsistent with the task version in the upgrade task information issued by the cloud end, the upgrade task issued by the cloud end is received. According to the method, the upgrading state of the electronic control unit is judged through comparison of the cloud version information, so that the downloading time of the software package of the electronic control unit which is not upgraded is shortened, the loss of flow is reduced, and the upgrading time of the electronic control unit of the whole vehicle is saved.
Optionally, the method further comprises: under the condition that the upgrading condition is met, downloading the software package from the cloud; in the downloading process, if the vehicle end is disconnected with the content distribution network, the vehicle end automatically records the downloading breakpoint of the software package so as to continue to download the software package from the breakpoint after the downloading condition is met again.
For example, in the case that the upgrade condition is satisfied, the vehicle end may request to download the software package of the electronic control unit from the content distribution network, and store the software package in the OTA cache area in the TBOX. In the downloading process, if the content distribution network of the vehicle is disconnected due to the occurrence of power-down or other abnormal conditions, the vehicle end component can automatically record the latest breakpoint of the software package downloading, and after the vehicle meets the downloading condition again, the software package can be continuously downloaded according to the recorded power-down of the vehicle end component. According to the method, under the condition that the upgrading condition is met, the software package is downloaded from the cloud; in the downloading process, if the vehicle end is disconnected with the content distribution network, the vehicle end automatically records the downloading breakpoint of the software package so as to continue to download the software package from the breakpoint after the downloading condition is met again, thereby realizing breakpoint continuous transmission of the software package of the electronic control unit, avoiding the situation of restarting downloading the software package due to sudden network interruption in the downloading process, and reducing the loss of flow.
Optionally, after the software package is downloaded, the method further includes: and (3) performing signature verification operation on the software package, starting upgrading operation of the electronic control unit if the signature verification is passed, and re-downloading a new software package if the signature verification is failed.
For example, whether the software package of the target version is stored in the vehicle storage space can be judged according to the software version cache information of the electronic control unit reported by the vehicle side. If yes, the software package is subjected to signature verification operation, if the signature verification is passed, the electronic control unit upgrading operation is started, and if the signature verification is failed, the new software package is downloaded again. Preferably, if there is no target version package in the vehicle storage space, it may be marked for download. According to the method, the situation that the upgrade of the electronic control unit fails due to the fact that the file software package is tampered or the software package is damaged is avoided through the verification of the software package, and the upgrade efficiency of the electronic control unit and the upgrade experience of a user are improved.
According to a second aspect of the present invention, a vehicle OTA upgrade apparatus is provided. Fig. 3 shows a schematic block diagram of a vehicle OTA upgrade apparatus 300 according to one embodiment of the invention. As shown in fig. 3, the apparatus 300 may include: task receiving module 310, upgrade module 320, and determination module 330.
The task receiving module 310 is configured to receive upgrade task information sent by the cloud, where the upgrade task information includes an upgrade order, an upgrade mode, an upgrade policy, and a corresponding software package to be downloaded of the electronic control unit.
The upgrade module 320 is configured to upgrade each electronic control unit that meets the upgrade condition in turn based on the upgrade task information, until the last electronic control unit in the electronic control units that need to be upgraded in the upgrade task is upgraded.
The judging module 330 is configured to judge whether the un-upgraded electronic control unit is a high-risk electronic control unit for the un-upgraded electronic control unit that fails to upgrade or does not meet the upgrade condition, if yes, end the upgrade task, if not, judge whether the un-upgraded electronic control unit is the last electronic control unit in the upgrade task, and if the un-upgraded electronic control unit is the last electronic control unit in the upgrade task, end the upgrade task, and if the un-upgraded electronic control unit is not the last electronic control unit in the upgrade task, judge whether the next un-upgraded electronic control unit is the high-risk electronic control unit again based on the upgrade order until the upgrade task ends.
According to a third aspect of the present invention, there is also provided an electronic device. Fig. 4 shows a schematic block diagram of an electronic device 400 according to an embodiment of the invention. As shown in fig. 4, electronic device 400 may include a processor 410 and a memory 420. Wherein the memory 420 has stored therein computer program instructions that when executed by the processor 410 are for performing the vehicle OTA upgrade method as described above.
According to a fourth aspect of the present invention there is also provided a storage medium having stored thereon program instructions for performing, at run-time, a vehicle OTA upgrade method as described above. The storage medium may include, for example, a storage component of a tablet computer, a hard disk of a computer, read-only memory (ROM), erasable programmable read-only memory (EPROM), portable compact disc read-only memory (CD-ROM), USB memory, or any combination of the foregoing storage media. The computer-readable storage medium may be any combination of one or more computer-readable storage media.
Those skilled in the art will understand the specific details and advantages of the vehicle OTA upgrading device, the electronic device and the storage medium from reading the above description about the vehicle OTA upgrading method, and the details and advantages will not be repeated herein for brevity.
In several embodiments provided herein, it should be understood that the disclosed apparatus and/or device may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of elements is merely a logical functional division, and there may be additional divisions of actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.

Claims (10)

1. A method for upgrading an OTA of a vehicle, comprising:
receiving upgrade task information issued by a cloud, wherein the upgrade task information comprises an upgrade sequence, an upgrade mode, an upgrade strategy and a corresponding software package to be downloaded of an electronic control unit;
based on the upgrade task information, sequentially upgrading each electronic control unit meeting the upgrade conditions until the last electronic control unit in the electronic control units to be upgraded in the upgrade task is upgraded;
judging whether the un-upgraded electronic control unit is a high-risk electronic control unit or not according to the upgrading failure or the un-upgraded electronic control unit which does not meet the upgrading condition, if so, ending the upgrading task, if not, judging whether the un-upgraded electronic control unit is the last electronic control unit in the upgrading task, and if so, ending the upgrading task, and if not, judging whether the next un-upgraded electronic control unit is the high-risk electronic control unit again based on the upgrading sequence until the upgrading task is ended.
2. The vehicle OTA upgrade method of claim 1, wherein the method further comprises:
uploading upgrade failure information corresponding to the un-upgraded electronic control unit to a cloud end so that the cloud end updates an upgrade record.
3. The vehicle OTA upgrade method of claim 1, wherein the method further comprises:
and judging whether the un-upgraded electronic control unit meets the upgrading conditions again, if so, skipping over the current un-upgraded electronic control unit, upgrading the next electronic control unit based on the upgrading sequence, and if not, ending the upgrading task.
4. A vehicle OTA upgrade method according to any one of claims 1 to 3 wherein after the upgrade task is completed, the method further comprises:
returning the upgrade task information to a cloud end so that the cloud end updates an upgrade record, wherein the upgrade task information comprises upgrade success information of an electronic control unit and upgrade failure information of the electronic control unit;
and deleting the software package corresponding to the electronic control unit which is successfully upgraded based on the upgrading task information, and storing the software package corresponding to the electronic control unit which is failed to upgrade.
5. A vehicle OTA upgrade method according to any one of claims 1 to 3 wherein the upgrade conditions include that a current software version of at least one electronic control unit is inconsistent with a target version of the cloud deployment.
6. The vehicle OTA upgrade method of claim 5, wherein the method further comprises:
downloading a software package from the cloud under the condition that the upgrading condition is met;
in the downloading process, if the vehicle end is disconnected with the content distribution network, the vehicle end automatically records a software package downloading breakpoint so as to continuously download the software package from the breakpoint after the downloading condition is met again.
7. The vehicle OTA upgrade method of claim 6 wherein after the software package is downloaded, the method further comprises:
and performing signature verification operation on the software package, starting the upgrading operation of the electronic control unit if the signature verification is passed, and re-downloading a new software package if the signature verification is failed.
8. A vehicle OTA upgrade apparatus, comprising:
the task receiving module is used for receiving upgrading task information issued by the cloud, wherein the upgrading task information comprises an upgrading sequence, an upgrading mode, an upgrading strategy and a corresponding software package to be downloaded of the electronic control unit;
the upgrade module is used for sequentially upgrading each electronic control unit meeting the upgrade conditions based on the upgrade task information until the last electronic control unit in the electronic control units to be upgraded in the upgrade task is upgraded;
the judging module is used for judging whether the un-upgraded electronic control unit is a high-risk electronic control unit or not according to the upgrading failure or the un-upgraded electronic control unit which does not meet the upgrading condition, if so, ending the upgrading task, if not, judging whether the un-upgraded electronic control unit is the last electronic control unit in the upgrading task, and if so, ending the upgrading task, and if not, judging whether the next un-upgraded electronic control unit is the high-risk electronic control unit again based on the upgrading sequence until the upgrading task is ended.
9. An electronic device comprising a processor and a memory, wherein the memory has stored therein computer program instructions that, when executed by the processor, are configured to perform the vehicle OTA upgrade method of any one of claims 1 to 7.
10. A storage medium having stored thereon program instructions for performing the vehicle OTA upgrade method of any one of claims 1 to 7 when run.
CN202310099828.6A 2023-02-03 2023-02-03 Vehicle OTA upgrading method and device, electronic equipment and storage medium Pending CN116456327A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310099828.6A CN116456327A (en) 2023-02-03 2023-02-03 Vehicle OTA upgrading method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310099828.6A CN116456327A (en) 2023-02-03 2023-02-03 Vehicle OTA upgrading method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116456327A true CN116456327A (en) 2023-07-18

Family

ID=87119020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310099828.6A Pending CN116456327A (en) 2023-02-03 2023-02-03 Vehicle OTA upgrading method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116456327A (en)

Similar Documents

Publication Publication Date Title
CN106843957B (en) System firmware upgrading method and device
US20080133922A1 (en) File Update Availability Checking In a Hierarchal File Store
CN109062598A (en) A kind of safe OTA upgrade method and system
CN112416406B (en) Terminal equipment upgrading method, device, terminal equipment and medium
CN103024782B (en) A kind of method and system of base station software version management
CN105718268A (en) Method and device for verifying OTA multi-pack upgrading
CN101091158A (en) Use loader for signaling the system software update service
CN111291000A (en) Block chain-based file acquisition method, equipment and storage medium
CN105468393B (en) Module release upgrade method and terminal installation
CN109908585B (en) File processing method and system, computing device and storage medium
CN110597545B (en) Hot patch Ding Zhineng upgrading method and system based on OTA component
CN104007992A (en) Methods and devices for program updating and starting
CN101639785A (en) Method and device for software updating
CN111221682B (en) Method for mirroring storage system
CN106843947B (en) Method and device for processing code defects
CN111522562B (en) Dishwasher software burning method, device and equipment thereof
CN104991796B (en) A kind of method and device continuously upgraded
KR20080083512A (en) Firmware over the air system
CN117056115B (en) Application program repairing method and device, storage medium and electronic equipment
CN106708494B (en) JAR upgrading method and device
CN106775874B (en) System upgrading method of terminal equipment
CN116456327A (en) Vehicle OTA upgrading method and device, electronic equipment and storage medium
CN116257270A (en) Vehicle, upgrading method and device of vehicle
CN115495460A (en) Map data updating method, map data updating system, electronic equipment and storage medium
CN110569088A (en) client plug-in management method and device, electronic equipment and storage medium

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