Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Pending Publication Date: 2022-02-01
ULTIMATE IOT (SHANGHAI) TECH LTD +1
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of this application is to provide a technical solution of a firmware upgrade method and device to solve the problem of poor user experience in the existing firmware upgrade process

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
  • Firmware upgrading method and device
  • Firmware upgrading method and device
  • Firmware upgrading method and device

Examples

Experimental program
Comparison scheme
Effect test

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...

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 relates to a firmware upgrading method and device, and belongs to the technical field of computers. The firmware upgrading method comprises the following steps: acquiring an upgrading file, and storing the upgrading file into a first partition; copying the upgrading file of the first partition into a second partition, wherein the original file is stored in the second partition; enabling the name of the original file to be a first name; enabling the name of the upgrading file to be a second name, and using the second name as an upgrading identifier; and if the upgrading identifier is detected, renaming the name of the original file as a third name, and renaming the name of the upgrading file as the first name, so as to complete the starting of the application program. The operation of the original file does not need to be stopped in the upgrading file copying process, and although the operation of the original file needs to be stopped in the renaming process, the renaming process only needs 1 ms, so that the upgrading waiting time of a user is shortened, and the user experience effect is integrally improved.

Description

technical field [0001] The invention relates to a firmware upgrading method and device, belonging to the technical field of computers. Background technique [0002] Firmware (firmware) is generally stored in EEPROM (Electrically Erasable Programmable ROM) or FLASH chips (collectively referred to as flash memory) in the device. Usually, the programs stored in these hardware cannot be directly read or modified by the user. Generally, the program can be upgraded by the user through a specific refresh program, so as to improve performance, increase functions, or improve defects, etc., and then adapt to the constantly updated hardware environment. [0003] Generally, there is only one storage partition in the flash memory of the existing device. The firmware upgrade method in the device is as follows: first, the device downloads the firmware upgrade compressed package through the network, stores it in the flash memory and decompresses the upgrade compressed package to obtain the ...

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/654
CPCG06F8/654
Inventor 叶龙马涛姜红梅田涵朴孙红超
Owner ULTIMATE IOT (SHANGHAI) TECH LTD