System upgrading method and device

System upgrading method and device

  • CN 106,020,865 B
  • Filed: 05/10/2016
  • Issued: 07/10/2020
  • Est. Priority Date: 05/10/2016
  • Status: Active Grant
First Claim
Patent Images

1. A system upgrading method is characterized in that an embedded device at least comprises a first system partition and a second system partition, and the method comprises the following steps:

  • before upgrading, backing up the starting parameter of the last normal starting, and setting an upgrading zone bit, wherein the starting parameter and the upgrading zone bit are used as environment variables in a starting code;

    according to the running system information, judging that a system partition where a running system is located is a first system partition, and performing data erasing and new system mirror image writing on a second system partition;

    if the new system image is successfully written, modifying the starting parameters and clearing the upgrading flag bit aiming at the second system partition;

    when the embedded device is started, if the upgrading flag bit is set, starting is carried out by using the backup starting parameter, and the first system partition is used as the running system partition.

View all claims

    Thank you for your feedback