WO2014161339A1 - 固件升级方法及装置 - Google Patents

固件升级方法及装置 Download PDF

Info

Publication number
WO2014161339A1
WO2014161339A1 PCT/CN2013/088342 CN2013088342W WO2014161339A1 WO 2014161339 A1 WO2014161339 A1 WO 2014161339A1 CN 2013088342 W CN2013088342 W CN 2013088342W WO 2014161339 A1 WO2014161339 A1 WO 2014161339A1
Authority
WO
WIPO (PCT)
Prior art keywords
new
backup area
module
partition table
upgrade
Prior art date
Application number
PCT/CN2013/088342
Other languages
English (en)
French (fr)
Inventor
杜金芳
范光辉
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2014161339A1 publication Critical patent/WO2014161339A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Definitions

  • the present invention relates to the field of mobile communications, and in particular, to a firmware upgrade method and apparatus.
  • user terminal devices for example, mobile phones, data cards, CPE, etc.
  • Communication and information sharing play an important role.
  • the manufacturer changes the version of the fault or adds a new application, it is often necessary to upgrade it.
  • Many of the current products have the device upgrade function. However, if the user terminates abnormally or encounters an abnormal situation such as power failure during the upgrade process, the version update fails and the device is abnormal.
  • the current upgrade method has the following defects in terms of performance: 1. It does not contain an upgrade protection mechanism. If the upgrade fails, it must be returned to the factory or contact after-sales repair. 2. If the upgrade fails, the calibration information and user information cannot be restored, and the device performance is degraded. 3. When the upgrade is time-consuming, the full version will be upgraded regardless of the version difference. 4. It has strong dependence on the network. It must be upgraded normally if the network is good. Otherwise, the upgrade will fail easily. SUMMARY OF THE INVENTION The present invention provides a firmware upgrade method and apparatus, in order to solve the problem that the device cannot be reused in the prior art.
  • a firmware upgrade method including: backing up a partition table of a system and a minimum startup item of the system in a preset backup area, and starting a minimum partition table in the backup area.
  • the address of the item partition is changed to the address of the smallest boot entry partition in the backup area, and the system index value is modified to the backup area; downloading the new partition table and the new minimum boot entry, failing to download the new partition table and/or downloading the new minimum boot entry
  • the backup area is found according to the system index value, and according to the partition table and the minimum startup item backed up in the backup area, the boot device is booted according to the old version, and the repair firmware upgrade is performed again.
  • the method further includes: after successfully downloading the new partition table and the new minimum startup item, modifying the system index value to the new version of the system partition according to the new partition table, and downloading a new version of each module of the system, after the download succeeds Restart the device and erase the partition table and minimum startup items of the backup area when starting the new minimum startup item.
  • the method further includes: backing up user information and calibration information of the device in the backup area; after erasing the partition table and the minimum startup item of the backup area when starting the new minimum startup item, the method further includes: restoring user information and calibrating Information, and erase user information and calibration information in the backup area.
  • the method further includes: recovering the user information and the calibration information according to the user information and the calibration information backed up in the backup area after the device performs the repair upgrade in the case that the firmware upgrade fails.
  • the method further includes: recording, in the backup area, a digest value of each file in the current version of the device and a digest value of the data packet in each file; downloading a new version of each module of the system specifically includes: downloading each module of the system In the new version, the preset new version summary value is obtained from the new version file, and compared with the corresponding summary value of the backup area record. If the two summary values are the same, the corresponding file or data package is not updated, otherwise, the download is performed.
  • Corresponding files or data packets and modify the corresponding digest value in the backup area.
  • the method further includes: when the new version of each module of the download system fails, finding a new version of the system partition according to the system index value, booting the device according to the new version, and repairing the new version of each module of the system.
  • a firmware upgrading apparatus including: a backup module, configured to back up a partition table of the system and a minimum startup item of the system in a preset backup area, and back up the backup area
  • the address of the minimum boot entry partition in the partition table is changed to the address of the smallest boot entry partition in the backup area, and the system index value is modified to the backup area; the upgrade module is set to download the new partition table and the new minimum boot entry, and the new download is downloaded.
  • the upgrade module is further configured to: after successfully downloading the new partition table and the new minimum startup item, modify the system index value to the new version of the system partition according to the new partition table, and download the new version of each module of the system, and the download succeeds.
  • the partition table and minimum startup items of the backup area are erased when the new minimum startup item is started.
  • the backup module is further configured to: back up the user information and the calibration information of the device in the backup area; the upgrade module is further configured to: restore the user information and the calibration information, and erase the user information and the calibration information in the backup area.
  • the upgrade module is further configured to: after the firmware upgrade fails, after the device performs the repair upgrade, the user information and the calibration information are restored according to the user information and calibration information backed up in the backup area.
  • the backup module is further configured to: record, in the backup area, a digest value of each file in the current version of the device and a digest value of the data packet in each file;
  • the upgrade module is specifically configured to: download each module of the system In the new version, the pre-set new version digest value is obtained from the new version file, and compared with the corresponding digest value of the backup area record. If the two digest values are the same, the corresponding file or data packet is not updated, otherwise, the download corresponding File or packet, and modify the corresponding digest value in the backup area.
  • the upgrade module is further configured to: when the new version of each module of the download system fails, find a new version of the system partition according to the system index value, boot the device according to the new version, and repair the new version of each module of the download system.
  • the beneficial effects of the embodiment of the present invention are as follows: By backing up the partition table and the minimum startup item, the problem that the device cannot be reused due to the upgrade failure of the user terminal device in the prior art is solved, and the system firmware can still be normal if the system firmware upgrade fails. Start the system.
  • FIG. 1 is a flowchart of a firmware upgrade method according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a memory allocation structure of a device according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of storage information of a backup area according to an embodiment of the present invention
  • 4 is a specific flowchart of the firmware upgrade of the embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of the firmware upgrade apparatus according to the embodiment of the present invention.
  • the embodiment of the present invention provides a firmware upgrade method and device.
  • the embodiment of the present invention mainly guarantees the following three aspects.
  • user information and calibration information backup User information backup and recovery during the upgrade process, generally divided into two ways in the prior art, local backup and device self-backup, both methods are defective, if the backup is local
  • the upgrade fails the user must save the file and copy the file to the repaired PC, which is troublesome.
  • the technical solution of the embodiment of the present invention backs up the user information and the calibration information to a selectively erasable area, and erases only when such information is successfully restored. In this way, even if the upgrade fails, the user information can be restored back to the next upgrade, so that no useful information will be lost regardless of the upgrade result.
  • the minimum startup item security upgrade wherein the minimum startup item refers to the minimum system unit that can satisfy the device and PC communication (data interaction) needs to be loaded.
  • the current upgrade method is generally to start the system, upgrade the minimum startup item, and upgrade the module version with the minimum startup item.
  • the embodiment of the present invention needs to back up the partition table and the minimum startup item, and modify the address of the minimum startup item partition in the partition table, and change the system index value to the backup area. Subsequently, download the new partition table and the minimum startup item, change the system index value to the new version of the system partition, and finally download the module version.
  • the device is restarted, and the minimum startup item and the partition table of the backup are erased when the minimum startup item is started.
  • the upgrade method in the prior art is generally divided into two versions: full version download and FOTA upgrade.
  • full version download and FOTA upgrade For the full version upgrade, regardless of whether the new and old versions of the files are different, the new version of the files are downloaded to the device one by one; and the FOTA upgrade is based on the difference between the two versions to upgrade the difference, but the method needs to be good in the network environment. In case of upgrade, and the size of the differential packet is limited, it cannot exceed the specified range, otherwise it cannot be upgraded.
  • the technical solution of the embodiment of the present invention sets a file in the version, records the MD5 sequence value of each data packet of each version file and the file, and adds a partition in the device, and records each file and file in the current version of the device.
  • the MD5 sequence value of the data packet is protected during the upgrade process. It is not erased.
  • the MD5 sequence value is read from the new version file and device before downloading, and compared. If the two MD5 values are the same, the file or The data packet is not updated, otherwise the file or data packet is downloaded, and the MD5 value of the backup area is modified.
  • the specific implementation process is as follows: 1. Read the MD5 sequence value from the file to obtain the sequence 1; 2. Read the device version from the device.
  • FIG. 1 is a flowchart of a firmware upgrade method according to an embodiment of the present invention. As shown in FIG. 1, a firmware upgrade method according to an embodiment of the present invention includes the following processing: 101.
  • Step 102 download the new partition table and the new minimum startup item, and when the new partition table is downloaded and/or the new minimum startup item fails to be downloaded, when the device is restarted, it is found according to the system index value.
  • the backup area according to the partition table and minimum startup items backed up in the backup area, boot the device according to the old version, and re-install the repair firmware.
  • the system index value is modified to the new version of the system partition according to the new partition table, and the new version of each module of the system is downloaded, and the system restarts after the download succeeds.
  • the device when starting the new minimum boot entry, erases the partition table and minimum boot entry for the backup region. In order to be able to not lose important information of the system in case of failure of the upgrade, you can also back up the user information and calibration information of the device in the backup area; after erasing the partition table and the minimum startup item of the backup area when starting the new minimum startup item, Restore user information and calibration information, and erase user information and calibration information in the backup area.
  • the user information and calibration information can be restored according to the user information and calibration information backed up in the backup area.
  • the summary value of each file in the current version of the device and the digest value of the data packet in each file are recorded in the backup area; when downloading a new version of each module of the system, the new version file is obtained.
  • the preset new version summary value is compared with the corresponding summary value of the backup area record. If the two summary values are the same, the corresponding file or data package is not updated. Otherwise, the corresponding file or data package is downloaded, and the backup is modified.
  • the corresponding summary value in the zone is compared with the corresponding summary value of the backup area record.
  • FIG. 2 is a schematic diagram of a device memory allocation structure according to an embodiment of the present invention. As shown in FIG. 2, the method includes: a primary partition and a backup area.
  • FIG. 3 is a schematic diagram of storage information of a backup area according to an embodiment of the present invention, as shown in FIG.
  • the information that needs to be stored in the backup area includes: user information and calibration information, where the calibration information refers to -
  • the parameters of the device are adjusted to meet certain performance indicators (signal strength, call quality, etc.) due to differences in individual devices. These parameters include frequency difference, crystal oscillator XO, power, and so on. Minimum startup item, partition table, and MD5 sequence value.
  • 4 is a specific flowchart of firmware upgrade according to an embodiment of the present invention. As shown in FIG. 4, when the user starts, whether the upgrade mode is determined to be a normal download mode according to whether the system is normally started or according to command values of various modes. Fix the download mode.
  • Step 1-17 If the current mode is the normal download mode, the steps to be performed are as follows: Step 1-17; If the download mode is repaired, repair it in the corresponding place according to the failure.
  • Step 1 Back up user information and calibration information; back up the useful information in the backup area of the device. Even if the upgrade fails, the device can still operate normally without affecting the use of the device.
  • Step 2 Determine whether the backup of the user information and calibration information is successful. If successful, go to step 3. Otherwise, end the operation; Step 3, back up the partition table and the minimum startup item; back it up in the backup area, only restart the device after the upgrade is successful, if the backup fails, the old partition And the minimum startup item is not erased, the system can still boot from the old version.
  • Step 4 Determine whether the partition table and the minimum startup item backup are successful. If successful, perform step 5, otherwise, end the operation; Step 5, modify the address of the minimum startup item partition in the partition table, and change the system index value to the backup area; If the upgrade fails, the system can still boot from the old partition; Step 6, determine whether the operation of step 5 is successful, if successful, perform step 7, otherwise, end the operation; Step 7, download the new partition table and the minimum startup item; This process fails, the system boots from the backup area, and the repair is upgraded.
  • Step 8 Determine whether the operation of step 7 is successful.
  • Step 9 change the system index value to the new version of the system partition; from this step, regardless of whether the upgrade is successful, the system You can start from the new version of the partition, if it fails, start from the new version, start the repair upgrade.
  • Step 10 Determine whether the operation of step 9 is successful. If successful, perform step 11, otherwise, end the operation; step 11, compare the difference parts of the two version sequences, upgrade the difference part, and modify the MD5 sequence value of the backup area; For the image upgrade process, after using this method, you only need to upgrade the difference, if If the data packet does not change, the original data packet is maintained, which effectively saves the upgrade time. If this process fails, the next time you boot the system from the new version, re-download the package.
  • Step 12 Determine whether the operation of step 11 is successful. If successful, perform step 13, otherwise, end the operation; Step 13, restart the device, and erase the minimum startup item when the minimum startup item is started; the version upgrade has been completed, only the remaining To restore the user's valid data, this step can be done manually.
  • Step 14 it is judged whether the operation of step 13 is successful, if successful, step 15 is performed, otherwise, the operation is ended; step 15, the user information and the calibration information are restored, and the user information of the backup area is erased; specifically, the useful information previously backed up Write to the device from the backup area, the device can be used normally. At this point, you can erase the information in the backup area and save memory. If it fails, you can try to recover the data again.
  • step 16 it is judged whether the operation of step 15 is successful. If successful, step 17 is performed, otherwise, the operation is ended; step 17, the upgrade is successful.
  • the backup of the partition table and the minimum startup item solves the problem that the device cannot be reused due to the upgrade failure of the user terminal device in the prior art, and the system firmware upgrade fails. In the case, the system can still be started normally. By backing up the user information and the calibration information, the system can ensure that the system does not lose important information during the upgrade process.
  • the rapid upgrade method of the embodiment of the present invention can speed up the upgrade and improve the efficiency of the upgrade.
  • a firmware upgrading apparatus is provided. FIG.
  • the firmware upgrading apparatus includes: a backup module 50. And the upgrade module 52.
  • the backup module 50 is configured to back up the partition table of the system and the minimum startup item of the system in the preset backup area, and modify the address of the minimum startup item partition in the partition table of the backup area to the minimum startup item partition in the backup area.
  • the backup module 50 is further configured to: back up user information and device calibration information in the backup area; record the summary value and each file of each file in the current version of the device in the backup area a summary value of a packet in a file;
  • the upgrade module 52 is configured to download a new partition table and a new minimum startup item. When the new partition table is downloaded and/or the new minimum startup item fails to be downloaded, when the device is restarted, the backup area is found according to the system index value, and according to the backup. The partition table and minimum startup items backed up in the zone, boot the device according to the old version, and re-synchronize the firmware upgrade.
  • the upgrade module 52 is further configured to: after successfully downloading the new partition table and the new minimum boot entry, modify the system index value of the new version according to the new partition table, and download a new version of each module of the system, and restart the device after the download succeeds. , the partition table and minimum startup items of the backup area are erased when the new minimum startup item is started. Restore user information and calibration information, and erase user information and calibration information in the backup area. In the case of a firmware upgrade failure, after the device is undergoing a probabilistic upgrade, the user information and calibration information are restored according to the user information and calibration information backed up in the backup area.
  • the upgrade module 52 is further configured to: when downloading a new version of each module of the system, obtain a preset new version summary value from the new version file, and compare it with a corresponding summary value of the backup area record, if the two summary values are the same, The corresponding file or data packet is not updated. Otherwise, the corresponding file or data packet is downloaded, and the corresponding digest value in the backup area is modified.
  • the upgrade module 52 is further configured to: when the new version of each module of the download system fails, find a new version of the system partition according to the system index value, boot the device according to the new version, and repairably download a new version of each module of the system.
  • the processing of each module in the embodiment of the present invention may be understood by referring to the corresponding description in the foregoing method embodiments, and details are not described herein.
  • the backup of the partition table and the minimum startup item solves the problem that the device cannot be reused due to the upgrade failure of the user terminal device in the prior art, and the system firmware upgrade fails. In the case, the system can still be started normally. By backing up the user information and the calibration information, the system can ensure that the system does not lose important information during the upgrade process.
  • the rapid upgrade method of the embodiment of the present invention can speed up the upgrade and improve the efficiency of the upgrade.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

本发明公开了一种固件升级方法及装置。该方法包括:在预先设置的备份区中对系统的分区表、以及系统的最小启动项进行备份,将备份区的分区表中最小启动项分区的地址修改为备份区中最小启动项分区的地址,并将系统索引值修改为备份区;下载新分区表和新最小启动项,在下载新分区表和/或下载新最小启动项失败的情况下,在重启设备时,根据系统索引值找到备份区,并根据备份区中备份的分区表和最小启动项,按照旧版本引导设备启动,并重新进行修复性的固件升级。借助于本发明的技术方案,在系统固件升级失败的情况下,依然能够正常启动系统。

Description

固件升级方法及装置 技术领域 本发明涉及移动通讯领域, 特别是涉及一种固件升级方法及装置。 背景技术 随着通信技术的不断发展, 用户终端设备 (例如, 手机、 数据卡、 CPE等) 在人 们的日常生活中得以普及, 已成为现代人生活中不可缺少的通讯工具, 它为用户实现 快速交流及信息共享发挥了重要作用。 在实际应用过程中, 由于生产厂商修改版本故 障或者增加新的应用, 经常需要对其进行升级。 目前的许多产品已具备设备升级功能, 但在升级过程中, 如果用户异常终止或者 遇到断电等异常情况, 会导致版本更新失败, 设备异常。 目前的升级方法, 从性能上 来说, 有如下缺陷: 1、 不含有升级保护机制, 若升级失败, 必须返厂或者联系售后修 理。 2、 如果升级失败, 校准信息及用户信息不能恢复, 设备性能降低。 3、 升级费时, 不论版本差异大小, 都对全版本进行升级。 4、 对网络依赖性较强, 必须在网络良好的 情况才能正常升级, 否则容易升级失败。 发明内容 为了解决现有技术中用户终端设备升级失败导致设备不能再使用的问题, 本发明 实施例提供了一种固件升级方法及装置。 根据本发明实施例的一方面, 提供了一种固件升级方法, 包括: 在预先设置的备 份区中对系统的分区表、 以及系统的最小启动项进行备份, 将备份区的分区表中最小 启动项分区的地址修改为备份区中最小启动项分区的地址, 并将系统索引值修改为备 份区; 下载新分区表和新最小启动项, 在下载新分区表和 /或下载新最小启动项失败的 情况下, 在重启设备时, 根据系统索引值找到备份区, 并根据备份区中备份的分区表 和最小启动项, 按照旧版本引导设备启动, 并重新进行修复性的固件升级。 优选地, 上述方法还包括: 在成功下载新分区表与新最小启动项后, 根据新分区 表将系统索引值修改为新版本的系统分区, 并下载系统各个模块的新版本, 在下载成 功后重启设备, 在启动新最小启动项时擦除备份区的分区表和最小启动项。 优选地, 上述方法还包括: 在备份区中备份用户信息和设备的校准信息; 在启动 新最小启动项时擦除备份区的分区表和最小启动项之后, 方法还包括: 恢复用户信息 及校准信息, 并擦除备份区中的用户信息和校准信息。 优选地, 上述方法还包括: 在固件升级失败的情况下, 在设备进行修复性升级后, 根据备份区中备份的用户信息和校准信息, 对用户信息和校准信息进行恢复。 优选地, 上述方法还包括: 在备份区记录设备当前版本中的每一个文件的摘要值 和每一个文件中的数据包的摘要值; 下载系统各个模块的新版本具体包括: 在下载系 统各个模块的新版本时, 从新版本文件中获取预先设置的新版本摘要值, 与备份区记 录的相应的摘要值进行比较, 如果两个摘要值相同, 则对应的文件或者数据包不更新, 否则, 下载对应的文件或者数据包, 并修改备份区中相应的摘要值。 优选地, 上述方法还包括: 在下载系统各个模块的新版本失败的情况下, 根据系 统索引值找到新版本的系统分区, 按照新版本引导设备启动, 并修复性下载系统各个 模块的新版本。 根据本发明实施例另一方面, 还提供了一种固件升级装置, 包括: 备份模块, 设 置为在预先设置的备份区中对系统的分区表、 以及系统的最小启动项进行备份, 将备 份区的分区表中最小启动项分区的地址修改为备份区中最小启动项分区的地址, 并将 系统索引值修改为备份区; 升级模块, 设置为下载新分区表和新最小启动项, 在下载 新分区表和 /或下载新最小启动项失败的情况下, 在重启设备时, 根据系统索引值找到 备份区, 并根据备份区中备份的分区表和最小启动项, 按照旧版本引导设备启动, 并 重新进行修复性的进行固件升级。 优选地, 升级模块还设置为: 在成功下载新分区表与新最小启动项后, 根据新分 区表将系统索引值修改为新版本的系统分区, 并下载系统各个模块的新版本, 在下载 成功后重启设备, 在启动新最小启动项时擦除备份区的分区表和最小启动项。 优选地, 备份模块还设置为: 在备份区中备份用户信息和设备的校准信息; 升级 模块还设置为: 恢复用户信息及校准信息, 并擦除备份区中的用户信息和校准信息。 优选地, 升级模块还设置为: 在固件升级失败的情况下, 在设备进行修复性升级 后, 根据备份区中备份的用户信息和校准信息, 对用户信息和校准信息进行恢复。 优选地, 备份模块还设置为: 在备份区记录设备当前版本中的每一个文件的摘要 值和每一个文件中的数据包的摘要值; 升级模块具体设置为: 在下载系统各个模块的 新版本时, 从新版本文件中获取预先设置的新版本摘要值, 与备份区记录的相应的摘 要值进行比较, 如果两个摘要值相同, 则对应的文件或者数据包不更新, 否则, 下载 对应的文件或者数据包, 并修改备份区中相应的摘要值。 优选地, 升级模块还设置为: 在下载系统各个模块的新版本失败的情况下, 根据 系统索引值找到新版本的系统分区, 按照新版本引导设备启动, 并修复性下载系统各 个模块的新版本。 本发明实施例有益效果如下: 通过对分区表和最小启动项进行备份, 解决了现有技术中用户终端设备升级失败 导致设备不能再使用的问题,在系统固件升级失败的情况下, 依然能够正常启动系统。 上述说明仅是本发明实施例技术方案的概述, 为了能够更清楚了解本发明实施例 的技术手段, 而可依照说明书的内容予以实施, 并且为了让本发明实施例的上述和其 它目的、 特征和优点能够更明显易懂, 以下特举本发明的具体实施方式。 附图说明 通过阅读下文优选实施方式的详细描述, 各种其他的优点和益处对于本领域普通 技术人员将变得清楚明了。 附图仅用于示出优选实施方式的目的, 而并不认为是对本 发明的限制。 而且在整个附图中, 用相同的参考符号表示相同的部件。 在附图中: 图 1是本发明实施例的固件升级方法的流程图; 图 2是本发明实施例的设备内存分配结构示意图; 图 3是本发明实施例的备份区存放信息的示意图; 图 4是本发明实施例的固件升级的具体流程图; 图 5是本发明实施例的固件升级装置的结构示意图。 具体实施方式 下面将参照附图更详细地描述本公开的示例性实施例。 虽然附图中显示了本公开 的示例性实施例, 然而应当理解, 可以以各种形式实现本公开而不应被这里阐述的实 施例所限制。 相反, 提供这些实施例是为了能够更透彻地理解本公开, 并且能够将本 公开的范围完整的传达给本领域的技术人员。 为了解决现有技术中用户终端设备升级失败导致设备不能再使用的问题, 本发明 实施例提供了一种固件升级方法及装置, 为达到上述目的, 本发明实施例主要从如下 三个方面进行保证: 一、 用户信息及校准信息备份: 升级过程中用户信息的备份和恢复, 在现有技术 中一般分为两种方式, 本地备份和设备自备份, 两种方法各有缺陷, 如果备份在本地, 升级失败时, 用户必须保存好文件, 且需要把文件拷到修复的 PC上, 比较麻烦; 如 果采用设备自备份, 前提是分区表不能变化, 若分区表变化, 所有的有用信息均会丢 失。 考虑到上述两种方法的缺陷, 本发明实施例的技术方案将用户信息和校准信息备 份到一块选择性擦除的区域, 只有当这类信息成功恢复的时候才擦除。 这样, 即使升 级失败, 下次升级还可以把用户信息恢复回去, 这样不论升级结果如何, 都不会丢掉 有用信息。 二、 最小启动项的安全升级, 其中, 最小启动项是指能满足设备与 PC通信 (数 据交互)需加载的最小系统单元。 目前的升级方法一般为启动系统, 升级最小启动项, 采用最小启动项升级模块版本, 在升级最小启动项的过程中, 如果断电或者用户异常 终止, 将会导致设备无法启动, 也没办法继续升级或修复, 为解决这一问题, 本发明 实施例需要备份分区表及最小启动项, 并修改分区表中最小启动项分区的地址, 将系 统索引值改为备份区。 随后, 下载新的分区表与最小启动项, 将系统索引值改为新版 本的系统分区, 最后下载模块版本。 在上述处理完成后, 重启设备, 启动最小启动项 时擦除备份的最小启动项及分区表。 这样即使最小启动项下载失败, 设备重启后仍可 以从备份的最小启动项启动旧的系统, 执行修复升级的操作升级设备。 三、 快速下载: 现有技术中的升级方式一般分为全版本下载和 FOTA升级两种方 式。 对于全版本升级, 不论新旧版本各文件是否有差异, 都将新版本的文件逐一下载 到设备中; 而 FOTA升级则是根据两个版本的差异升级差异部分, 但该方法需要在网 络环境良好的情况下升级, 且对差分包大小有限制, 不能超出规定范围, 否则无法升 级。 本发明实施例的技术方案在版本中设置一个文件, 记录每个版本文件及文件的每 个数据包的 MD5 序列值, 同时设备中增加一个分区, 记录设备中当前版本每个文件 及文件的每个数据包的 MD5 序列值, 升级过程中对这部分进行保护, 不擦除, 下载 前从新版文件及设备分别读取 MD5序列值, 并进行比较, 如果两个 MD5值一样, 则 该文件或该数据包不更新, 否则下载文件或数据包, 并修改备份区的 MD5 值, 具体 实现过程如下: 1、 从文件中读取 MD5序列值, 得到序列 1 ; 2、 从设备中读取设备版 本的 MD5序列值, 得到序列 2; 3、 比较序列 1和序列 2, 如果两个序列对应的部分 相同, 则不更新相应分区的数据, 否则更新数据, 并更新设备中版本的序列值。 以下结合附图以及实施例, 对本发明进行进一步详细说明。 应当理解, 此处所描 述的具体实施例仅仅用以解释本发明, 并不限定本发明。 根据本发明的实施例, 提供了一种固件升级方法, 图 1是本发明实施例的固件升 级方法的流程图, 如图 1所示, 根据本发明实施例的固件升级方法包括如下处理: 步骤 101, 在预先设置的备份区中对系统的分区表、 以及系统的最小启动项进行 备份, 将备份区的分区表中最小启动项分区的地址修改为备份区中最小启动项分区的 地址, 并将系统索引值修改为备份区; 步骤 102, 下载新分区表和新最小启动项, 在下载新分区表和 /或下载新最小启动 项失败的情况下, 在重启设备时, 根据系统索引值找到备份区, 并根据备份区中备份 的分区表和最小启动项, 按照旧版本引导设备启动, 并重新进行修复性的固件升级。 在本发明实施例中, 在成功下载新分区表与新最小启动项后, 根据新分区表将系 统索引值修改为新版本的系统分区, 并下载系统各个模块的新版本, 在下载成功后重 启设备, 在启动新最小启动项时擦除备份区的分区表和最小启动项。 为了能够在升级失败的情况下不丢失系统的重要信息, 还可以在备份区中备份用 户信息和设备的校准信息; 在启动新最小启动项时擦除备份区的分区表和最小启动项 之后, 恢复用户信息及校准信息, 并擦除备份区中的用户信息和校准信息。 在固件升 级失败的情况下, 在设备进行修复性升级后, 可以根据备份区中备份的用户信息和校 准信息, 对用户信息和校准信息进行恢复。 为了能够快速的进行版本升级, 在备份区记录设备当前版本中的每一个文件的摘 要值和每一个文件中的数据包的摘要值; 在下载系统各个模块的新版本时, 从新版本 文件中获取预先设置的新版本摘要值, 与备份区记录的相应的摘要值进行比较, 如果 两个摘要值相同, 则对应的文件或者数据包不更新, 否则, 下载对应的文件或者数据 包, 并修改备份区中相应的摘要值。 在下载系统各个模块的新版本失败的情况下, 根据系统索引值找到新版本的系统 分区, 按照新版本引导设备启动, 并修复性下载系统各个模块的新版本。 以下结合附图, 对本发明实施例的上述技术方案进行举例说明。 图 2是本发明实施例的设备内存分配结构示意图, 如图 2所示, 包括: 主分区和 备份区, 图 3是本发明实施例的备份区存放信息的示意图, 如图 3所示, 在本发明实 施例中, 备份区需要存储的信息包括: 用户信息及校准信息, 其中, 校准信息是指- 由于设备个体的差异, 为满足某些性能指标 (信号强度, 通话质量等) 而对设备进行 的参数调整, 这些参数包括频差、 晶振 XO、功率等。最小启动项、分区表、 以及 MD5 序列值。 图 4是本发明实施例的固件升级的具体流程图, 如图 4所示, 在用户启动时, 可 以根据系统是否正常启动或者根据各种模式的指令值进行判断升级的模式为正常下载 模式还是修复下载模式, 若当前模式为正常下载模式, 执行的步骤为: 步骤 1-17; 若 为修复下载模式, 则根据失败情况, 在对应的地方进行修复即可。 步骤 1, 备份用户信息及校准信息; 将有用信息备份在设备的备份区, 即使升级 失败, 设备仍可正常运行, 不影响设备的使用; 步骤 2, 判断用户信息及校准信息备份是否成功, 如果成功, 执行步骤 3, 否则, 结束操作; 步骤 3, 备份分区表及最小启动项; 将其备份在备份区, 只有升级成功后重新启 动设备才会擦除, 如果备份失败, 此时旧的分区和最小启动项均未擦除, 系统仍可从 按照旧版本的方式引导启动。 步骤 4, 判断分区表及最小启动项备份是否成功, 如果成功, 执行步骤 5, 否则, 结束操作; 步骤 5, 修改分区表中最小启动项分区的地址, 将系统索引值改为备份区; 如果 升级失败, 系统仍可从旧的分区引导启动; 步骤 6, 判断步骤 5的操作是否成功, 如果成功, 执行步骤 7, 否则, 结束操作; 步骤 7, 下载新的分区表与最小启动项; 如果这个过程失败, 系统从备份区引导 启动, 进行修复升级。 步骤 8, 判断步骤 7的操作是否成功, 如果成功, 执行步骤 9, 否则, 结束操作; 步骤 9, 将系统索引值改为新版本的系统分区; 从这一步开始, 不论是否成功升 级, 系统均可以从新版本的分区启动, 如果失败, 从新版本启动, 启动修复升级。 步骤 10, 判断步骤 9的操作是否成功, 如果成功, 执行步骤 11, 否则, 结束操作; 步骤 11, 比较两个版本序列的差异部分, 升级差异部分, 并修改备份区的 MD5 序列值; 上述过程为镜像升级过程, 采用该方法后, 只需要升级有差异的部分, 如果 数据包没有变化, 则保持原来的数据包, 有效的节省了升级时间。 如果在这个过程失 败, 下次从新版本启动系统, 重新下载数据包。 步骤 12, 判断步骤 11的操作是否成功, 如果成功, 执行步骤 13, 否则, 结束操 作; 步骤 13, 重启设备, 启动最小启动项时擦除备份的最小启动项; 至此版本升级已 经完成, 只剩下恢复用户的有效数据了, 此步骤可以手动完成。 步骤 14, 判断步骤 13的操作是否成功, 如果成功, 执行步骤 15, 否则, 结束操 作; 步骤 15, 恢复用户信息及校准信息, 擦除备份区的用户信息; 具体地, 将之前备 份的有用信息从备份区写入设备, 设备可以正常使用, 此时可以把备份区的这些信息 擦除掉, 节约内存, 此时如果失败, 可以重新尝试恢复数据。 步骤 16, 判断步骤 15的操作是否成功, 如果成功, 执行步骤 17, 否则, 结束操 作; 步骤 17, 升级成功。 综上所述, 借助于本发明实施例的技术方案, 通过对分区表和最小启动项进行备 份, 解决了现有技术中用户终端设备升级失败导致设备不能再使用的问题, 在系统固 件升级失败的情况下, 依然能够正常启动系统。通过对用户信息和校准信息进行备份, 能够保证系统在升级过程中不丢失重要信息, 通过本发明实施例的快速升级方法, 能 够加快升级的速度, 提高升级的效率。 根据本发明的实施例, 提供了一种固件升级装置, 图 5是本发明实施例的固件升 级装置的结构示意图, 如图 5所示, 根据本发明实施例的固件升级装置包括: 备份模 块 50、 以及升级模块 52, 以下对本发明实施例的各个模块进行详细的说明。 备份模块 50, 设置为在预先设置的备份区中对系统的分区表、 以及系统的最小启 动项进行备份, 将备份区的分区表中最小启动项分区的地址修改为备份区中最小启动 项分区的地址, 并将系统索引值修改为备份区; 备份模块 50还设置为: 在备份区中备份用户信息和设备的校准信息; 在备份区记 录设备当前版本中的每一个文件的摘要值和每一个文件中的数据包的摘要值; 升级模块 52,设置为下载新分区表和新最小启动项,在下载新分区表和 /或下载新 最小启动项失败的情况下, 在重启设备时, 根据系统索引值找到备份区, 并根据备份 区中备份的分区表和最小启动项, 按照旧版本引导设备启动, 并重新进行修复性的固 件升级。 升级模块 52还设置为: 在成功下载新分区表与新最小启动项后,根据新分区表将 系统索引值修改新版本的系统分区, 并下载系统各个模块的新版本, 在下载成功后重 启设备, 在启动新最小启动项时擦除备份区的分区表和最小启动项。 恢复用户信息及 校准信息, 并擦除备份区中的用户信息和校准信息。 在固件升级失败的情况下, 在设 备进行修复性升级后, 根据备份区中备份的用户信息和校准信息, 对用户信息和校准 信息进行恢复。 升级模块 52还设置为: 在下载系统各个模块的新版本时, 从新版本文件中获取预 先设置的新版本摘要值, 与备份区记录的相应的摘要值进行比较, 如果两个摘要值相 同, 则对应的文件或者数据包不更新, 否则, 下载对应的文件或者数据包, 并修改备 份区中相应的摘要值。 升级模块 52还设置为: 在下载系统各个模块的新版本失败的情况下,根据系统索 引值找到新版本的系统分区, 按照新版本引导设备启动, 并修复性下载系统各个模块 的新版本。 需要说明的, 本发明实施例中各个模块的处理可以参照上述方法实施例中相应的 描述进行理解, 在此不再赘述。 综上所述, 借助于本发明实施例的技术方案, 通过对分区表和最小启动项进行备 份, 解决了现有技术中用户终端设备升级失败导致设备不能再使用的问题, 在系统固 件升级失败的情况下, 依然能够正常启动系统。通过对用户信息和校准信息进行备份, 能够保证系统在升级过程中不丢失重要信息, 通过本发明实施例的快速升级方法, 能 够加快升级的速度, 提高升级的效率。 显然, 本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精 神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的 范围之内, 则本发明也意图包含这些改动和变型在内。 工业实用性 本发明实施例提供的技术方案可以应用于移动通讯领域, 通过对分区表和最小启 动项进行备份,解决了现有技术中用户终端设备升级失败导致设备不能再使用的问题, 在系统固件升级失败的情况下, 依然能够正常启动系统。

Claims

权 利 要 求 书 、 一种固件升级方法, 包括:
在预先设置的备份区中对系统的分区表、以及系统的最小启动项进行备份, 将备份区的所述分区表中最小启动项分区的地址修改为所述备份区中最小启动 项分区的地址, 并将系统索引值修改为所述备份区;
下载新分区表和新最小启动项,在下载所述新分区表和 /或下载新最小启动 项失败的情况下, 在重启设备时, 根据所述系统索引值找到所述备份区, 并根 据所述备份区中备份的所述分区表和所述最小启动项, 按照旧版本引导设备启 动, 并重新进行修复性的固件升级。 、 如权利要求 1所述的方法, 其中, 所述方法还包括:
在成功下载新分区表与新最小启动项后, 根据所述新分区表将所述系统索 引值修改为新版本的系统分区, 并下载系统各个模块的新版本, 在下载成功后 重启设备, 在启动新最小启动项时擦除所述备份区的分区表和最小启动项。 、 如权利要求 2所述的方法, 其中, 所述方法还包括:
在所述备份区中备份用户信息和设备的校准信息;
在启动新最小启动项时擦除所述备份区的分区表和最小启动项之后, 所述 方法还包括:
恢复用户信息及校准信息, 并擦除所述备份区中的所述用户信息和所述校 准信息。 、 如权利要求 3所述的方法, 其中, 所述方法还包括: 在固件升级失败的情况下, 在设备进行修复性升级后, 根据所述备份区中 备份的所述用户信息和所述校准信息, 对用户信息和校准信息进行恢复。 、 如权利要求 2所述的方法, 其中, 所述方法还包括:
在所述备份区记录设备当前版本中的每一个文件的摘要值和每一个文件中 的数据包的摘要值;
下载系统各个模块的新版本具体包括: 在下载系统各个模块的新版本时, 从新版本文件中获取预先设置的新版本 摘要值, 与所述备份区记录的相应的摘要值进行比较, 如果两个摘要值相同, 则对应的文件或者数据包不更新, 否则, 下载对应的文件或者数据包, 并修改 所述备份区中相应的摘要值。 、 如权利要求 2所述的方法, 其中, 所述方法还包括: 在下载系统各个模块的新版本失败的情况下, 根据所述系统索引值找到所 述新版本的系统分区, 按照新版本引导设备启动, 并修复性下载系统各个模块 的新版本。 、 一种固件升级装置, 包括:
备份模块, 设置为在预先设置的备份区中对系统的分区表、 以及系统的最 小启动项进行备份, 将备份区的所述分区表中最小启动项分区的地址修改为所 述备份区中最小启动项分区的地址, 并将系统索引值修改为所述备份区;
升级模块, 设置为下载新分区表和新最小启动项, 在下载所述新分区表和 / 或下载新最小启动项失败的情况下, 在重启设备时, 根据所述系统索引值找到 所述备份区, 并根据所述备份区中备份的所述分区表和所述最小启动项, 按照 旧版本引导设备启动, 并重新进行修复性的固件升级。 、 如权利要求 7所述的装置, 其中,
所述升级模块还设置为: 在成功下载新分区表与新最小启动项后, 根据所 述新分区表将所述系统索引值修改为新版本的系统分区, 并下载系统各个模块 的新版本, 在下载成功后重启设备, 在启动新最小启动项时擦除所述备份区的 分区表和最小启动项。 、 如权利要求 8所述的装置, 其中,
所述备份模块还设置为:在所述备份区中备份用户信息和设备的校准信息; 所述升级模块还设置为: 恢复用户信息及校准信息, 并擦除所述备份区中 的所述用户信息和所述校准信息。 0、 如权利要求 9所述的装置, 其中,
所述升级模块还设置为: 在固件升级失败的情况下, 在设备进行修复性升 级后, 根据所述备份区中备份的所述用户信息和所述校准信息, 对用户信息和 校准信息进行恢复。 、 如权利要求 8所述的装置, 其中,
所述备份模块还设置为: 在所述备份区记录设备当前版本中的每一个文件 的摘要值和每一个文件中的数据包的摘要值;
所述升级模块具体设置为: 在下载系统各个模块的新版本时, 从新版本文 件中获取预先设置的新版本摘要值, 与所述备份区记录的相应的摘要值进行比 较, 如果两个摘要值相同, 则对应的文件或者数据包不更新, 否则, 下载对应 的文件或者数据包, 并修改所述备份区中相应的摘要值。 、 如权利要求 8所述的装置, 其中,
所述升级模块还设置为: 在下载系统各个模块的新版本失败的情况下, 根 据所述系统索引值找到所述新版本的系统分区, 按照新版本引导设备启动, 并 修复性下载系统各个模块的新版本。
PCT/CN2013/088342 2013-08-12 2013-12-02 固件升级方法及装置 WO2014161339A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310350145.X 2013-08-12
CN201310350145.XA CN104375844A (zh) 2013-08-12 2013-08-12 固件升级方法及装置

Publications (1)

Publication Number Publication Date
WO2014161339A1 true WO2014161339A1 (zh) 2014-10-09

Family

ID=51657526

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/088342 WO2014161339A1 (zh) 2013-08-12 2013-12-02 固件升级方法及装置

Country Status (2)

Country Link
CN (1) CN104375844A (zh)
WO (1) WO2014161339A1 (zh)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108322341A (zh) * 2018-01-30 2018-07-24 上海康斐信息技术有限公司 一种更新路由器配置数据库的方法及系统
CN109002317A (zh) * 2018-06-27 2018-12-14 上海有个机器人有限公司 一种pcba固件升级方法及系统、pcba
CN109814908A (zh) * 2019-01-17 2019-05-28 深圳忆联信息系统有限公司 固件稳定升级的方法、装置、计算机设备及存储介质
CN109947445A (zh) * 2019-02-21 2019-06-28 广州小鹏汽车科技有限公司 一种固件升级方法及系统
CN110580167A (zh) * 2018-06-11 2019-12-17 海能达通信股份有限公司 一种系统升级方法、智能设备及服务器
CN111273918A (zh) * 2020-01-15 2020-06-12 深圳英飞拓科技股份有限公司 一种嵌入式摄像机的远程升级方法
CN111552491A (zh) * 2020-04-22 2020-08-18 北京小马智行科技有限公司 移动载体的中转设备的固件升级的方法、装置与存储介质
CN112118280A (zh) * 2020-06-19 2020-12-22 上海汉枫电子科技有限公司 一种wi-fi设备ota升级失败后的恢复方法
CN113297011A (zh) * 2021-06-09 2021-08-24 北京经纬恒润科技股份有限公司 一种主从mcu升级失败的自恢复方法及系统
CN113495746A (zh) * 2021-05-31 2021-10-12 杭州华橙软件技术有限公司 一种程序升级方法、装置、介质和电子设备
CN115098145A (zh) * 2022-07-04 2022-09-23 北京展跃芯智科技有限公司 嵌入式设备软件在线升级更新的方法和装置

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104778101B (zh) * 2015-05-06 2018-01-23 广东欧珀移动通信有限公司 移动终端系统备份和还原方法、移动终端、计算机及系统
CN106610840A (zh) * 2015-10-22 2017-05-03 深圳市中兴微电子技术有限公司 一种无线固件升级方法及系统
CN105630548B (zh) * 2015-12-22 2019-06-21 小米科技有限责任公司 系统更新方法及装置
CN108271054A (zh) * 2017-01-03 2018-07-10 中国移动通信有限公司研究院 一种固件升级备份方法及装置
CN107247603A (zh) * 2017-04-18 2017-10-13 深圳市广和通无线股份有限公司 支持固件自动恢复功能的远程升级方法与系统
DE102018123311A1 (de) * 2017-09-21 2019-03-21 Western Digital Technologies, Inc. Hintergrund-Firmware-Aktualisierung
CN107844312A (zh) * 2017-11-06 2018-03-27 深圳市新国都技术股份有限公司 一种软件更新监控方法和系统
CN108170456B (zh) * 2017-12-25 2020-09-08 长沙联远电子科技有限公司 电子设备的固件升级方法及装置
CN109032632B (zh) * 2018-07-13 2021-11-09 高新兴物联科技有限公司 一种fota升级方法、无线通信终端及存储介质
CN109343873A (zh) * 2018-08-28 2019-02-15 九阳股份有限公司 一种智能家电远程升级控制方法
CN109597639B (zh) * 2018-12-04 2022-07-05 深圳市创维软件有限公司 一种软件升级方法、装置、设备及介质
CN111045709B (zh) * 2019-12-26 2021-12-24 联想(北京)有限公司 固件升级方法和固件升级装置
CN113050960B (zh) * 2019-12-27 2024-07-16 惠州比亚迪电子有限公司 Ota升级方法、装置、车载终端及存储介质
CN112860291B (zh) * 2021-02-08 2023-05-12 杭州涂鸦信息技术有限公司 固件升级方法及装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1940878A (zh) * 2005-09-27 2007-04-04 三星电子株式会社 引导和自动更新软件和从更新错误中恢复的方法和系统
CN101192161A (zh) * 2006-11-23 2008-06-04 英业达股份有限公司 更新影像文件的方法
CN103019892A (zh) * 2012-12-29 2013-04-03 盛耀无线通讯科技(北京)有限公司 一种基于高通平台的nv数据备份与恢复方法

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622280B (zh) * 2011-01-06 2014-10-15 苏州科达科技股份有限公司 一种基于双文件系统的软件版本升级的控制方法及装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1940878A (zh) * 2005-09-27 2007-04-04 三星电子株式会社 引导和自动更新软件和从更新错误中恢复的方法和系统
CN101192161A (zh) * 2006-11-23 2008-06-04 英业达股份有限公司 更新影像文件的方法
CN103019892A (zh) * 2012-12-29 2013-04-03 盛耀无线通讯科技(北京)有限公司 一种基于高通平台的nv数据备份与恢复方法

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108322341A (zh) * 2018-01-30 2018-07-24 上海康斐信息技术有限公司 一种更新路由器配置数据库的方法及系统
CN110580167A (zh) * 2018-06-11 2019-12-17 海能达通信股份有限公司 一种系统升级方法、智能设备及服务器
CN109002317A (zh) * 2018-06-27 2018-12-14 上海有个机器人有限公司 一种pcba固件升级方法及系统、pcba
CN109814908A (zh) * 2019-01-17 2019-05-28 深圳忆联信息系统有限公司 固件稳定升级的方法、装置、计算机设备及存储介质
CN109947445A (zh) * 2019-02-21 2019-06-28 广州小鹏汽车科技有限公司 一种固件升级方法及系统
CN111273918B (zh) * 2020-01-15 2023-09-15 深圳英飞拓仁用信息有限公司 一种嵌入式摄像机的远程升级方法
CN111273918A (zh) * 2020-01-15 2020-06-12 深圳英飞拓科技股份有限公司 一种嵌入式摄像机的远程升级方法
CN111552491A (zh) * 2020-04-22 2020-08-18 北京小马智行科技有限公司 移动载体的中转设备的固件升级的方法、装置与存储介质
CN112118280A (zh) * 2020-06-19 2020-12-22 上海汉枫电子科技有限公司 一种wi-fi设备ota升级失败后的恢复方法
CN113495746A (zh) * 2021-05-31 2021-10-12 杭州华橙软件技术有限公司 一种程序升级方法、装置、介质和电子设备
CN113495746B (zh) * 2021-05-31 2024-02-02 杭州华橙软件技术有限公司 一种程序升级方法、装置、介质和电子设备
CN113297011A (zh) * 2021-06-09 2021-08-24 北京经纬恒润科技股份有限公司 一种主从mcu升级失败的自恢复方法及系统
CN113297011B (zh) * 2021-06-09 2024-04-12 北京经纬恒润科技股份有限公司 一种主从mcu升级失败的自恢复方法及系统
CN115098145A (zh) * 2022-07-04 2022-09-23 北京展跃芯智科技有限公司 嵌入式设备软件在线升级更新的方法和装置

Also Published As

Publication number Publication date
CN104375844A (zh) 2015-02-25

Similar Documents

Publication Publication Date Title
WO2014161339A1 (zh) 固件升级方法及装置
US8539471B2 (en) Updating firmware of an electronic device
WO2017067448A1 (zh) 一种无线固件升级方法、系统及计算机存储介质
JP4944686B2 (ja) ソフトウェア更新方法および携帯端末装置
US20110004871A1 (en) Embedded electronic device and firmware updating method thereof
CN106325929B (zh) 一种固件升级方法、固件升级装置、冰箱和服务端
CN101329631B (zh) 一种嵌入式系统自动检测和恢复启动的方法及装置
CN102521289B (zh) 一种文件同步方法、装置及系统
JP2009134692A (ja) 単一キー制御を使用するシステム構成の自動修復方法
JP2009187134A (ja) 情報処理装置、情報処理装置の起動制御方法、プログラム及び記録媒体
JP2010170197A (ja) ファームウェア管理プログラム、記憶装置およびファームウェア管理方法
CN112416411B (zh) 升级方法及装置、设备端、服务器、计算机可读介质
JP6861739B2 (ja) 組み込み装置及びファームウェア更新方法
CN112433739B (zh) 一种固件升级方法
WO2015176346A1 (zh) 一种手持终端系统切换方法及装置
CN113032183A (zh) 系统管理方法、装置、计算机设备和存储介质
JP2009009391A (ja) 更新処理ソフトウェア自己更新方法および携帯端末装置
WO2013097095A1 (zh) 一种备份存储装置的启动信息的方法
CN116382753A (zh) 一种基于网络的设备固件高可靠性远程升级方法
KR100832269B1 (ko) 무선 통신 단말의 프로그램 갱신 방법 및 시스템
TW201617861A (zh) 韌體更新方法及其電子裝置
TWI489390B (zh) 電子裝置及其系統更新方法
CN113190244A (zh) 无线模组升级的方法、装置、计算机设备和存储介质
CN117270914B (zh) 一种终端设备的系统升级方法、装置、设备和介质
CN113805946B (zh) 用于安卓系统的非易失属性的处理方法、装置及电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13880887

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13880887

Country of ref document: EP

Kind code of ref document: A1