Firmware online upgrading method, embedded device, medium and product

By adopting a hierarchical bootloader architecture and a method of real-time monitoring of image running status, the problem of device dead loop caused by insufficient static verification during embedded device firmware upgrades is solved, thereby improving the stability and reliability of the device.

CN121879804APending Publication Date: 2026-04-17SUZHOU DEGASTORAGE TECHNOLOGY CO LTD
0 Cites 2 Cited by

Patent Information

Application Number
CN202610006300.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-01-05
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

In the existing technology, during the firmware upgrade process of embedded devices, the bootloader only performs static data integrity verification and cannot predict the stability of the firmware during operation. This can cause the device to get stuck in an infinite loop when the new firmware has logical defects, making it difficult to recover remotely.

Method used

A hierarchical bootloader architecture is adopted, with the first-level bootloader prioritizing the update requests of the second-level bootloader. The upgrade process is triggered in an orderly manner by combining dual-flag status, and the image running status is monitored in real time to perform abnormal recovery operations, ensuring the independence and controllability of the upgrade process.

Benefits of technology

It improves the stability and reliability of embedded device firmware upgrades, reduces the risk of device failure, and enables rapid fault response and device fault tolerance.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention provides a firmware online upgrading method, embedded equipment, a medium and a product, and relates to the technical field of intelligent terminals. The method comprises the following steps: after the embedded equipment is powered on, running a primary bootstrap program, and checking a first mark state: if the state is a state of updating a secondary bootstrap program, executing online updating of the program and resetting a system; and if the state is the default state, loading and running the secondary bootstrap program. Checking a second mark state; if the second mark state is an updating mirror image state, executing firmware mirror image online updating and resetting; and if the state is the default state, determining a target mirror image, copying the target mirror image from the nonvolatile memory to the random access memory, and skipping to run. And the equipment simultaneously monitors the running state of the target mirror image in real time, and executes successful confirmation or abnormal recovery operation according to the state. In this way, quick response of faults is achieved through running state feedback, the stability and reliability of firmware upgrading of the embedded device are effectively improved, and the risk of device paralysis in the upgrading process is reduced.
Need to check novelty before this filing date? Find Prior Art