CN112732301A - Vehicle upgrading method and device - Google Patents

Vehicle upgrading method and device Download PDF

Info

Publication number
CN112732301A
CN112732301A CN202110020620.1A CN202110020620A CN112732301A CN 112732301 A CN112732301 A CN 112732301A CN 202110020620 A CN202110020620 A CN 202110020620A CN 112732301 A CN112732301 A CN 112732301A
Authority
CN
China
Prior art keywords
area
target
upgrading
vehicle
identifier
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
CN202110020620.1A
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.)
Guangzhou Xiaopeng Motors Technology Co Ltd
Guangzhou Chengxingzhidong Automotive Technology Co., Ltd
Original Assignee
Guangzhou Xiaopeng Motors Technology Co Ltd
Guangzhou Chengxingzhidong Automotive 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 Guangzhou Xiaopeng Motors Technology Co Ltd, Guangzhou Chengxingzhidong Automotive Technology Co., Ltd filed Critical Guangzhou Xiaopeng Motors Technology Co Ltd
Priority to CN202110020620.1A priority Critical patent/CN112732301A/en
Publication of CN112732301A publication Critical patent/CN112732301A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides a vehicle upgrading method and a vehicle upgrading device, wherein the method comprises the following steps: acquiring an area identifier and target upgrading software of a preset backup area of the vehicle; determining a current operation area from the preset backup area according to the area identification, and determining a target upgrading area according to the current operation area; and writing the target upgrading software into the target upgrading area so as to upgrade the software to be upgraded in the target upgrading area and operate the target upgrading area. The normal functions of the vehicle are not influenced by the upgrading result by identifying the current running area of the ECU, upgrading the software of another area according to different running areas and correctly starting the running program according to the effective zone bit.

Description

Vehicle upgrading method and device
Technical Field
The invention relates to the technical field of vehicles, in particular to a vehicle upgrading method and a vehicle upgrading device.
Background
An Electronic Control Unit (Electronic Control Unit, abbreviated as ECU), also called a "traveling computer" or a "vehicle-mounted computer", is a Control core of an automobile engine and a main Control computer of a vehicle. And the optimized upgrading of each ECU of the whole vehicle is to update the program data of each ECU of the whole vehicle, so that the performance of each ECU can be improved. With the development of automobile intellectualization and interconnection, the automobile demands more and more for iteration and update of vehicle software, and the success rate of vehicle software upgrading and Over-the-Air Technology (OTA) directly influences the driving safety of the vehicle and the user experience.
At present, the vehicle software behavior of the whole automobile industry is more and more common, and the frequency of upgrading is more and more high, so that the problems of upgrading failure, upgrading failure and the like are brought to the essential part, and the function damage and even the vehicle safety problem of the vehicle to different degrees can be caused by the vehicle software upgrading failure at every time, so that the use and experience of a client are influenced.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a vehicle upgrade method and a corresponding vehicle upgrade apparatus that overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present invention discloses a vehicle upgrade method, including:
acquiring an area identifier and target upgrading software of a preset backup area of the vehicle;
determining a current operation area from the preset backup area according to the area identification, and determining a target upgrading area according to the current operation area;
and writing the target upgrading software into the target upgrading area so as to upgrade the software to be upgraded in the target upgrading area and operate the target upgrading area.
Optionally, the area identifier includes an operation area identifier; the determining a current operation area from the preset backup area according to the area identifier and determining a target upgrading area according to the current operation area includes:
and if the area identifier is an operating area identifier, determining that the backup area with the operating area identifier is a current operating area, and determining that another backup area in the preset backup area is a target upgrading area.
Optionally, the writing the target upgrade software into the target upgrade area further includes:
and setting the area identifier of the target upgrading area as an operation area identifier.
Optionally, the setting an area identifier of the target upgrade area as an operation area identifier includes:
judging whether the target upgrading area is upgraded successfully;
and if the target upgrading area is upgraded successfully, setting the area identifier of the target upgrading area as an operation area identifier.
Optionally, after writing the target upgrade software into the target upgrade area, the method further includes:
and determining a target operation area according to the area identification of the preset backup area of the vehicle, and operating the target operation area.
Optionally, the determining, by the area identifier of the preset backup area of the vehicle, a target operation area and operating the target operation area includes:
and determining a current operation area according to the operation area identification, and taking the current operation area as a target operation area.
Optionally, the vehicle is provided with running software for the preset backup area; the acquiring of the area identifier of the preset backup area of the vehicle includes:
and responding to the starting operation of the running software aiming at the preset backup area, and acquiring a preset area identifier aiming at the preset backup area.
The embodiment of the invention also discloses a vehicle upgrading device, which comprises:
the area identification acquisition module is used for acquiring an area identification of a preset backup area of the vehicle and target upgrading software;
the target upgrading area determining module is used for determining a current operation area from the preset backup area according to the area identification and determining a target upgrading area according to the current operation area;
and the target upgrading software writing module is used for writing the target upgrading software into the target upgrading area so as to upgrade the software to be upgraded in the target upgrading area and operate the target upgrading area.
Optionally, the area identifier includes an operation area identifier; the target upgrade area determination module includes:
and the target upgrading area determining submodule is used for determining the backup area with the operating area identifier as the current operating area and determining another backup area in the preset backup area as the target upgrading area if the area identifier is the operating area identifier.
Optionally, the apparatus further comprises:
and the operation area identification setting module is used for setting the area identification of the target upgrading area as the operation area identification.
Optionally, the operation area identifier setting module includes:
the upgrading judgment submodule is used for judging whether the target upgrading area is upgraded successfully;
and the operation area identifier setting submodule is used for setting the area identifier of the target upgrading area as the operation area identifier if the target upgrading area is upgraded successfully.
Optionally, after writing the target upgrade software into the target upgrade area, the apparatus further includes:
and the target operation area determining module is used for determining a target operation area according to the area identifier of the preset backup area of the vehicle and operating the target operation area.
Optionally, the area identifier includes an operating area identifier, and the target operating area determining module includes:
and the target operation area determining submodule is used for determining a current operation area according to the operation area identification and taking the current operation area as a target operation area.
Optionally, the vehicle is provided with running software for the preset backup area; the area identification acquisition module comprises:
and the area identifier acquisition submodule is used for responding to the starting operation of the running software aiming at the preset backup area and acquiring the preset area identifier aiming at the preset backup area.
The embodiment of the invention also discloses a vehicle, which comprises: the vehicle upgrade device, a processor, a memory and a computer program stored on the memory and operable on the processor, the computer program, when executed by the processor, implementing the steps of any of the vehicle upgrade methods.
The embodiment of the invention also discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the computer program is used for realizing the steps of any vehicle upgrading method when being executed by a processor.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the current operation area is determined from the ECU backup area of the vehicle according to the area identification, the target upgrading area is determined according to the current operation area, and then the target upgrading software is written into the determined target upgrading area, so that the software to be upgraded in the target upgrading area is upgraded and the upgraded target upgrading area is operated. Wherein the current operation area and the target upgrading area are different areas. The normal functions of the vehicle are not influenced by the upgrading result by identifying the current running area of the ECU, upgrading the software of another area according to different running areas and correctly starting the running program according to the effective zone bit.
Drawings
FIG. 1 is a flow chart of the steps of one embodiment of a vehicle upgrade method of the present invention;
FIG. 2 is a schematic flow chart of ECU upgrade logic in an embodiment of the present invention;
FIG. 3 is a flow chart of steps in another vehicle upgrade method embodiment of the present invention;
FIG. 4 is a flowchart of ECU operating region activation logic in an embodiment of the present invention;
fig. 5 is a block diagram of an embodiment of a vehicle upgrading apparatus according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The optimization and upgrade of each ECU of the whole vehicle are mainly realized by flashing the ECU, the existing ECU flashing is mainly processed by connecting external equipment or by a vehicle-mounted T-BOX, however, communication interruption can be caused when the external equipment or an external network is unstable, so that data transmission is interrupted, the function of the ECU is disabled, and the performance loss or the function failure of the whole vehicle is further caused; except for the problems that various functions of the vehicle cannot be started normally and even driving safety and the like due to failure of current vehicle software upgrading, poor user experience can be brought and the requirement on the success rate of vehicle software upgrading is extremely high if reliable backup software is not available, and a large amount of manpower and material resources of a host factory are lost and put into the guarantee of the success rate of vehicle upgrading and the coping of after-sales problems.
One of the core ideas of the embodiment of the invention is that the realization of the vehicle ECU software dual-area backup is a technical scheme which is effective and feasible for ensuring that the normal function of the vehicle is not influenced by the upgrading result on the premise that the success rate of vehicle software upgrading cannot be effectively solved or the reliability of the vehicle software upgrading cannot be ensured by 100%.
Specifically, a double-zone flashing function logic based on a vehicle ECU bootloader (referring to the development of a lower computer of the ECU and being used for guiding the start of an operating system) and a double-zone starting logic based on the vehicle ECU bootloader are provided, the current running area of the ECU is identified, software upgrading of another area is carried out according to different running areas, and the running program is correctly started according to an effective zone bit, namely the ECU double-zone upgrading is realized based on an ECU upper computer (such as a flashing tool or an OTA end) so as to ensure that the normal functions of the vehicle are not influenced by an upgrading result.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a vehicle upgrade method according to the present invention is shown, which may specifically include the following steps:
step 101, acquiring an area identifier and target upgrading software of a preset backup area of the vehicle;
in the embodiment of the invention, the proposed double-zone flash function logic based on the vehicle ECU bootloader is characterized in that the double zones are provided with two backup zones aiming at the vehicle ECU, the backup zones can be used for storing ECU software, the double-zone flash mainly refers to operating a certain backup zone and performing software upgrade on another backup zone (not the current operating zone) so as to ensure that the normal functions of the vehicle are not influenced by the upgrade result.
In an embodiment of the present invention, in order to implement the functional logic of the dual-zone flash, it is first required to identify the current operating area of the ECU, which may be mainly represented as identification according to the area identifier of the backup area.
In practical application, the vehicle may be provided with running software for a preset backup area, the started running software may be used to perform an upgrade operation on the vehicle ECU, and when a user responds to the start operation performed on the running software for the preset backup area, a preset area identifier for the preset backup area (that is, two backup areas that the vehicle ECU has) may be acquired.
Step 102, determining a current operation area from the preset backup area according to the area identification, and determining a target upgrading area according to the current operation area;
the area identifier of the backup area may include an operating area identifier, and the operating area identifier may be an identifier corresponding to the current operating area.
After the preset area identifier for the preset backup area is obtained, a first situation may occur, and if the area identifier of a certain backup area is the operating area identifier, the backup area with the operating area identifier is determined to be the current operating area, and another backup area in the preset backup area is determined to be the target upgrade area.
Step 103, writing the target upgrading software into the target upgrading area so as to upgrade the software to be upgraded in the target upgrading area and operate the target upgrading area.
In an embodiment of the present invention, after determining the current operating area and the target upgrading area from the two backup areas, the target upgrading software may be written into the determined target upgrading area (which is not the current operating area), and the ECU software to be upgraded in the target upgrading area may be upgraded, so as to identify the current operating area of the ECU and upgrade the software of another area according to a different operating area.
In a preferred embodiment, after the target upgrade area is upgraded, the target upgrade area may be subjected to identifier management, and set as a newer area (i.e., a current operating area), which may be mainly expressed as setting an area identifier of the target upgrade area as an operating area identifier corresponding to the current operating area.
It should be noted that the rule for setting the newer region is to use the region that was updated last time and was updated successfully as the newer region, where the precedence order and the success of the update are used as the judgment basis, rather than the version.
In the specific implementation, in the process of performing identifier management, whether the target upgrading area is successfully upgraded needs to be judged; if the target upgrading area is upgraded successfully, setting the area identification of the target upgrading area as the operation area identification, namely setting the target upgrading area after the upgrading is completed as the current operation area so as to operate the target upgrading area after the upgrading is completed when the ECU is subsequently started.
As an example, referring to fig. 2, a schematic flow chart of the ECU upgrading logic in the embodiment of the present invention is shown, assuming that the ECU Application is provided with dual-zone operating software, and an area identifier is to be set when the ECU Application is operated, where the dual zones may be referred to as zone a and zone B; the ECU Bootloader may set a newer zone flag (i.e., an operating zone flag), and set the zone as a newer operating zone after the downloading of the zone a or the zone B is completed.
Before software upgrading, an upper computer (OTA or a diagnostic instrument) can read an ECU identifier (namely an area identifier) and confirms that the current ECU operation area is an A (or B) area; the upper computer confirms that the current running area of the ECU is an area A (or an area B), and software upgrading can be carried out on the other backup area B (or the area A) of the ECU; the software upgrading is smoothly completed, and the ECU carries out identification management on the upgraded area B (or A) and sets the upgraded area B (or A) as a newer area; if the software upgrade fails, the ECU does not set the upgraded area as a newer area to satisfy at least one valid and operational application area.
In the embodiment of the invention, the current operation area is determined from the ECU backup area of the vehicle according to the area identification, the target upgrading area is determined according to the current operation area, and then the target upgrading software is written into the determined target upgrading area, so that the software to be upgraded in the target upgrading area is upgraded and the upgraded target upgrading area is operated. Wherein the current operation area and the target upgrading area are different areas. The normal functions of the vehicle are not influenced by the upgrading result by identifying the current running area of the ECU, upgrading the software of another area according to different running areas and correctly starting the running program according to the effective zone bit.
Referring to fig. 3, a flow chart of steps of another embodiment of a vehicle upgrade method of the present invention is shown, which may specifically include the following steps:
step 301, after writing the target upgrade software into the target upgrade area, determining a target operation area according to an area identifier of a preset backup area of the vehicle, and operating the target operation area.
In the embodiment of the invention, after the current running area of the ECU is identified and the software upgrading of another area is carried out according to different running areas according to the functional logic of the double-area flash based on the vehicle ECU bootloader, and the identification management is carried out on the target upgrading area after the upgrading is finished, the double-area starting logic based on the vehicle ECU bootloader can be mainly expressed as running the ECU running area according to the area identification to run the ECU.
In an embodiment of the present invention, to implement the dual-zone start logic, a target operating zone may be first determined in the dual-zone backup zone, where the zone identifier may include an operating zone identifier corresponding to the current operating zone, and at this time, the current operating zone may be determined according to the operating zone identifier, and the current operating zone is used as the target operating zone and the target operating zone is operated.
In practical cases, the determined target operation region may have the following two cases:
in one case, when the target upgrade area in step 103 is successfully upgraded, and the area identifier of the target upgrade area after successful upgrade is the operation area identifier, the target upgrade area with the target upgrade software may be operated to operate the vehicle ECU of the upgraded high ECU version;
in another case, when the target upgrade area in step 103 fails to be upgraded, and the area identifier of the target upgrade area after the failed upgrade does not have the operation area identifier, the target upgrade area is the original current operation area, and the target upgrade software is not written in the current operation area, so that when the ECU is restarted, the vehicle ECU of the original low ECU version is actually operated.
As an example, referring to fig. 4, a schematic flow chart of the ECU operating area starting logic in the embodiment of the present invention is shown, assuming that the ECU Application is provided with dual-area operating software and an area identifier is to be set when the ECU Application is operated, where the dual areas may be referred to as an area a and an area B; the ECU Bootloader may set a newer zone flag (i.e., an operating zone flag), and set the zone as a newer operating zone after the downloading of the zone a or the zone B is completed.
When the ECU is restarted, the running area can be verified, and if the area B (or A) is a newer area, a running program of the area B (or A) is started; if the software is not upgraded, the ECU cannot set the upgraded area as a newer area, and the ECU starts the area which is not upgraded when the running program is started, so that at least one effective and operable application area is met. It should be noted that the software in the currently operating area is not upgraded simultaneously with another backup area, so as to prevent the ECU function from failing due to the failure of the upgrade of the current operation.
In the embodiment of the invention, the normal functions of the vehicle are not influenced by the upgrading result by identifying the current running area of the ECU, upgrading the software of another area according to different running areas and correctly starting the running program according to the effective zone bit, so that the problem that the functions cannot be normally started due to the failure of the software upgrading of the vehicle ECU is solved and the safety problem possibly caused by the abnormal running of the vehicle ECU is avoided; and the after-sale problems such as user complaints and the like caused by the failure of the upgrading of the vehicle ECU are solved; and unnecessary investment of enterprises in upgrading vehicle ECU into power and cost loss in dealing with after-sales problems are reduced.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 5, a block diagram of a vehicle upgrade apparatus according to an embodiment of the present invention is shown, and may specifically include the following modules:
an area identifier obtaining module 501, configured to obtain an area identifier of a preset backup area of the vehicle and target upgrade software;
a target upgrade area determination module 502, configured to determine a current operating area from the preset backup area according to the area identifier, and determine a target upgrade area according to the current operating area;
a target upgrade software writing module 503, configured to write the target upgrade software into the target upgrade area, so as to upgrade the software to be upgraded in the target upgrade area and operate the target upgrade area.
In one embodiment of the invention, the zone identifier comprises a run zone identifier; the target upgrade area determination module 502 may include the following sub-modules:
and the target upgrading area determining submodule is used for determining the backup area with the operating area identifier as the current operating area and determining another backup area in the preset backup area as the target upgrading area if the area identifier is the operating area identifier.
In an embodiment of the present invention, the apparatus may further include the following modules:
and the operation area identification setting module is used for setting the area identification of the target upgrading area as the operation area identification.
In an embodiment of the present invention, the operation area identifier setting module may include the following sub-modules:
the upgrading judgment submodule is used for judging whether the target upgrading area is upgraded successfully;
and the operation area identifier setting submodule is used for setting the area identifier of the target upgrading area as the operation area identifier if the target upgrading area is upgraded successfully.
In an embodiment of the present invention, after writing the target upgrade software into the target upgrade area, the apparatus may further include:
and the target operation area determining module is used for determining a target operation area according to the area identifier of the preset backup area of the vehicle and operating the target operation area.
In an embodiment of the present invention, the area identifier includes an operating area identifier, and the target operating area determining module may include the following sub-modules:
and the target operation area determining submodule is used for determining a current operation area according to the operation area identification and taking the current operation area as a target operation area.
In one embodiment of the invention, the vehicle is provided with running software for the preset backup area; the area identification acquisition module 501 may include the following sub-modules:
and the area identifier acquisition submodule is used for responding to the starting operation of the running software aiming at the preset backup area and acquiring the preset area identifier aiming at the preset backup area.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
An embodiment of the present invention further provides a vehicle, including:
the vehicle upgrading method comprises the vehicle upgrading device, a processor, a memory and a computer program which is stored on the memory and can run on the processor, wherein when the computer program is executed by the processor, each process of the vehicle upgrading method embodiment is realized, the same technical effect can be achieved, and in order to avoid repetition, the details are not repeated.
The embodiment of the invention also provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program realizes each process of the vehicle upgrading method embodiment, and can achieve the same technical effect, and is not repeated here to avoid repetition.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The vehicle upgrade method and the vehicle upgrade apparatus provided by the present invention are described in detail above, and the principle and the implementation manner of the present invention are explained in this document by applying specific examples, and the description of the above examples is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A vehicle upgrade method, characterized in that the method comprises:
acquiring an area identifier and target upgrading software of a preset backup area of the vehicle;
determining a current operation area from the preset backup area according to the area identification, and determining a target upgrading area according to the current operation area;
and writing the target upgrading software into the target upgrading area so as to upgrade the software to be upgraded in the target upgrading area and operate the target upgrading area.
2. The method of claim 1, wherein the zone identification comprises a run zone identification; the determining a current operation area from the preset backup area according to the area identifier and determining a target upgrading area according to the current operation area includes:
and if the area identifier is an operating area identifier, determining that the backup area with the operating area identifier is a current operating area, and determining that another backup area in the preset backup area is a target upgrading area.
3. The method of claim 1, wherein writing the target upgrade software to the target upgrade area further comprises:
and setting the area identifier of the target upgrading area as an operation area identifier.
4. The method according to claim 3, wherein the setting of the area identifier of the target upgrade area as an operation area identifier comprises:
judging whether the target upgrading area is upgraded successfully;
and if the target upgrading area is upgraded successfully, setting the area identifier of the target upgrading area as an operation area identifier.
5. The method of claim 1, further comprising, after writing the target upgrade software to the target upgrade area:
and determining a target operation area according to the area identification of the preset backup area of the vehicle, and operating the target operation area.
6. The method of claim 5, wherein the zone identifier comprises an operating zone identifier, and the determining the target operating zone according to the zone identifier of the preset backup zone of the vehicle comprises:
and determining a current operation area according to the operation area identification, and taking the current operation area as a target operation area.
7. The method according to claim 1, characterized in that the vehicle is provided with running software for the preset backup area; the acquiring of the area identifier of the preset backup area of the vehicle includes:
and responding to the starting operation of the running software aiming at the preset backup area, and acquiring a preset area identifier aiming at the preset backup area.
8. A vehicle upgrade apparatus, characterized in that the apparatus comprises:
the area identification acquisition module is used for acquiring an area identification of a preset backup area of the vehicle and target upgrading software;
the target upgrading area determining module is used for determining a current operation area from the preset backup area according to the area identification and determining a target upgrading area according to the current operation area;
and the target upgrading software writing module is used for writing the target upgrading software into the target upgrading area so as to upgrade the software to be upgraded in the target upgrading area and operate the target upgrading area.
9. A vehicle, characterized by comprising: vehicle upgrade apparatus according to claim 8, a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when being executed by the processor, realizing the steps of the vehicle upgrade method according to any one of the claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the vehicle upgrade method according to any one of claims 1 to 7.
CN202110020620.1A 2021-01-07 2021-01-07 Vehicle upgrading method and device Pending CN112732301A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110020620.1A CN112732301A (en) 2021-01-07 2021-01-07 Vehicle upgrading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110020620.1A CN112732301A (en) 2021-01-07 2021-01-07 Vehicle upgrading method and device

Publications (1)

Publication Number Publication Date
CN112732301A true CN112732301A (en) 2021-04-30

Family

ID=75591090

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110020620.1A Pending CN112732301A (en) 2021-01-07 2021-01-07 Vehicle upgrading method and device

Country Status (1)

Country Link
CN (1) CN112732301A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113760332A (en) * 2021-08-30 2021-12-07 青岛信芯微电子科技股份有限公司 Software upgrading method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109358865A (en) * 2018-12-20 2019-02-19 合肥协力仪表控制技术股份有限公司 A kind of industrial vehicle car networking instrument and upgrade method with remote upgrade function
CN109445828A (en) * 2018-12-12 2019-03-08 上海伟世通汽车电子系统有限公司 The upgrade method of vehicle-mounted terminal system
CN110275726A (en) * 2019-06-27 2019-09-24 四川宜途汽车电子科技有限公司 A kind of onboard electronic control unit control program backup upgrade method
CN110413310A (en) * 2018-04-28 2019-11-05 深圳市优必选科技有限公司 Programme upgrade method and terminal device
CN111782234A (en) * 2019-04-04 2020-10-16 北京新能源汽车股份有限公司 Vehicle-mounted software flashing method, control device, central processing unit and automobile

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413310A (en) * 2018-04-28 2019-11-05 深圳市优必选科技有限公司 Programme upgrade method and terminal device
CN109445828A (en) * 2018-12-12 2019-03-08 上海伟世通汽车电子系统有限公司 The upgrade method of vehicle-mounted terminal system
CN109358865A (en) * 2018-12-20 2019-02-19 合肥协力仪表控制技术股份有限公司 A kind of industrial vehicle car networking instrument and upgrade method with remote upgrade function
CN111782234A (en) * 2019-04-04 2020-10-16 北京新能源汽车股份有限公司 Vehicle-mounted software flashing method, control device, central processing unit and automobile
CN110275726A (en) * 2019-06-27 2019-09-24 四川宜途汽车电子科技有限公司 A kind of onboard electronic control unit control program backup upgrade method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113760332A (en) * 2021-08-30 2021-12-07 青岛信芯微电子科技股份有限公司 Software upgrading method and electronic equipment

Similar Documents

Publication Publication Date Title
CN106802813B (en) Method and device for upgrading aerial firmware and vehicle
US10162625B2 (en) Vehicle control storage methods and systems
CN110083374B (en) Upgrade rollback method, system and terminal equipment
US20190278588A1 (en) Vehicle control system and software compatibility checking method
CN111782234A (en) Vehicle-mounted software flashing method, control device, central processing unit and automobile
CN111142911A (en) Embedded system with abnormal recovery function and upgrading method thereof
CN115061713A (en) Method and device for upgrading electronic equipment
CN106095474A (en) For the method and apparatus updating the software in means of transport
CN112015447A (en) System updating method and device for electronic equipment, electronic equipment and storage medium
CN114895947A (en) Software upgrading method, device, equipment and storage medium of vehicle-mounted controller
CN112732301A (en) Vehicle upgrading method and device
CN111352764B (en) Chip repairing method, device, equipment and storage medium
CN113093694A (en) Vehicle-mounted electronic control unit data flashing method and system based on UDS
CN113220319A (en) Data updating method and device and vehicle
CN116755737A (en) OTA (over the air) upgrading method, device, equipment, storage medium and program for automobile software
CN108595292B (en) System optimization method, mobile terminal and computer storage medium
CN116257270A (en) Vehicle, upgrading method and device of vehicle
CN111143181A (en) Server maintenance method, system, equipment and computer readable storage medium
CN116088914A (en) Multi-core heterogeneous system-on-chip upgrading method and device
CN116909609B (en) Software upgrading method and device of vehicle-mounted intelligent equipment and vehicle-mounted intelligent equipment
CN110618824A (en) Software upgrading method, device, medium and equipment
CN113297011B (en) Master-slave MCU upgrade failure self-recovery method and system
CN113064608A (en) OTA (over the air) upgrading method, device, equipment and medium
CN114153481A (en) Driving system updating method and device and computer equipment
CN114064086A (en) Multi-stage processor system and upgrading method thereof

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