Upgrading rollback method and system and terminal equipment

A technology for upgrading files and backups, applied to hardware redundancy for data error detection, instrumentation, error detection/correction, etc., can solve problems such as low efficiency and operational errors

Active Publication Date: 2019-08-02
江西猛犸电动科技有限公司
View PDF8 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiment of the present invention provides an upgrade rollback method, system and terminal equipment to solve the problem that the current upgrade rollback process needs to be performed by operation and maintenance technicians, which has low efficiency and is prone to human error. question

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Upgrading rollback method and system and terminal equipment
  • Upgrading rollback method and system and terminal equipment
  • Upgrading rollback method and system and terminal equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] Such as figure 1 As shown, this embodiment provides an upgrade rollback method, which specifically includes:

[0044] Step S101: Receive an upgrade rollback request.

[0045] In a specific application, when it is detected that a version rollback is required, the Bootloader will send an upgrade rollback request to the vehicle gateway device, and the vehicle gateway device will receive the upgrade rollback request and respond to the upgrade rollback request.

[0046] In specific applications, such as figure 2 As shown, a car includes a plurality of electronic control units (ECUs), and the vehicle gateway device is connected to a plurality of electronic control units, and the firmware of each ECU in the vehicle is uniformly stored in the vehicle gateway device. Expensive resources, the built-in NorFlash generally cannot store the active image and backup image of multiple ECUs at the same time, so the active image and backup image of each ECU are stored by using cheap Na...

Embodiment 2

[0079] Such as Figure 4 As shown, in this embodiment, step S102 in Embodiment 1 specifically includes:

[0080] Step S201: Obtain the ECU type of the target ECU according to the upgrade rollback request.

[0081] In a specific application, the upgrade rollback request includes the target ECU to perform the rollback, and the ECU type is determined according to the target ECU in the upgrade rollback request.

[0082] Step S202: Search the upgrade file structure table according to the ECU type to determine the memory address and partition of the backup image file of the target EUC.

[0083] In specific applications, such as Figure 5 As shown, the above upgrade file structure table includes: ECU type, firmware storage address 1, firmware length 1, CRC1, firmware storage address 2, firmware length 2, CRC2, active partition flag and synchronization flag.

[0084] In a specific application, the above ECU type identifier is used to identify the device to which the firmware belong...

Embodiment 3

[0092] Such as Figure 6 As shown, this embodiment provides an upgrade rollback control system 100 for performing the method steps in Embodiment 1, which includes a receiving module 101, a search module 102, a download transmission module 103, a verification module 104, and a marking module 105 .

[0093] The receiving module 101 is configured to receive an upgrade rollback request.

[0094] The search module 102 is configured to search for a backup image address according to the upgrade rollback request.

[0095] The download transmission module 103 is used to start the upgrade rollback program, downloads the backup image file according to the backup image address, and transmits the backup image file to the target ECU.

[0096] Checking module 104 is used for carrying out cyclic redundancy check according to backup image file, and judges whether cyclic redundancy check passes.

[0097]The marking module 105 is configured to modify the storage record, mark the active partit...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention is applicable to the technical field of automobiles, and provides an upgrade rollback method and system and terminal equipment, and the method comprises the steps: receiving an upgrade rollback request; searching a backup mirror image address according to the upgrade rollback request; starting an upgrade rollback program, downloading a backup mirror image file according to the backupmirror image address, and transmitting the backup mirror image file to a target ECU; performing cyclic redundancy check according to the backup mirror image file, and judging whether the cyclic redundancy check is passed or not; if the cyclic redundancy check is passed, determining that the cyclic redundancy check is passed; modifying storage records if so, marking active partitions, finishing rollback operations, searching, downloading and transmitting a backup mirror image file through the vehicle-mounted gateway equipment; transmitting the backup mirror image file to the target ECU for version recovery, after rollback, marking the active partition and modifying the storage record An automobile can recover the previous version locally, operation and maintenance personnel do not need tocarry out rollback operation, the version recovery efficiency is improved, and cost is reduced.

Description

technical field [0001] The invention belongs to the technical field of automobiles, and in particular relates to an upgrade rollback method, system and terminal equipment. Background technique [0002] Vehicle upgrades may unexpectedly encounter many failures. For example, when multiple ECUs (Electronic Control Units) of the vehicle need to be upgraded at the same time, it is possible that only one or some ECUs (Electronic Control Units) have been successfully upgraded without Cause the whole vehicle to break down; the firmware of all ECUs (Electronic Control Units) has been upgraded successfully, but after the upgrade, it runs abnormally, cannot pass the self-test, and even loads a new image and causes a crash. All ECUs have been upgraded successfully, but the experience or compatibility of the new version is not as good as that of the previous version, so it is necessary to roll back to the previous version. When the above situation occurs, it is necessary to roll back th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/65G06F11/14G06F11/20
CPCG06F8/65G06F11/1433G06F11/2056
Inventor 吴岱伟
Owner 江西猛犸电动科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products