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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com