Firmware upgrading method and device
A firmware upgrade and file upgrade technology, applied in the computer field, can solve problems such as poor experience effect, achieve the effect of short time, reduce waiting time for upgrade, and improve experience effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] The main idea of the present invention is to store the upgrade file in the first partition of the storage space of the flash memory (i.e. memory), store the original file in the second partition, copy the upgrade file to the second partition, and use the name of the upgrade folder as Upgrade logo; after the upgrade logo is identified, the original folder and the upgrade folder are renamed to ensure that the names of the original folder and the upgrade folder are different, and the startup of the application is completed.
[0040] Both the upgrade file and the original file are files of the application program, so the essential system programs in the flash memory can be stored in the second partition, or stored in other separate partitions. In this embodiment, the system program is stored by a separate system partition, so that the influence of the application program on the system program can be avoided.
[0041] In the following embodiments, work is used as the first...
Embodiment 2
[0056] The difference between the firmware upgrade method proposed in this embodiment and the firmware upgrade method proposed in Embodiment 1 is that after the upgrade file New is copied to the second partition, the upgrade file New is renamed to the upgrade file Update, and Update is used as the upgrade identifier To identify, if Update is detected, the original file work and the upgraded file Update will be renamed.
[0057] The reason for using Update as the upgrade logo is that 1. Update is a commonly used upgrade logo in the system and is applicable to various systems. Therefore, Update as an upgrade logo has a wide range of applications; 2. The upgrade file New is renamed to the upgrade file Update. The necessary condition is that the copy of the upgrade file New is completed. If the power is cut off during the process of copying the upgrade file New, the upgrade file New in the second partition is incomplete. At this time, if the New logo is recognized after restarting ...
Embodiment 3
[0068] The difference between the firmware upgrade method proposed in this embodiment and the firmware upgrade method proposed in Embodiment 1 is that the flash memory is divided into four partitions, which are respectively the first partition, the second partition, the third partition and the system partition. After the file New is copied to the second partition, write the upgrade logo eeprom in the third partition. After restarting the device, if eeprom is detected, the original file work and the upgrade file New will be renamed.
[0069] Writing the upgrade logo eeprom in the third partition is also a commonly used upgrade logo in different systems. Deliberately dividing a partition to write the upgrade logo can not only reduce the steps of renaming the upgrade file, but also apply to various systems. At the same time, the necessary condition for writing the upgrade identification eeprom is that the upgrade file New has been copied, which has the same function as Update in e...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


