WO2009079866A1 - Procédé et système srlatifs au processus de mise à niveau de micrologiciel de terminal mobile - Google Patents
Procédé et système srlatifs au processus de mise à niveau de micrologiciel de terminal mobile Download PDFInfo
- Publication number
- WO2009079866A1 WO2009079866A1 PCT/CN2007/003791 CN2007003791W WO2009079866A1 WO 2009079866 A1 WO2009079866 A1 WO 2009079866A1 CN 2007003791 W CN2007003791 W CN 2007003791W WO 2009079866 A1 WO2009079866 A1 WO 2009079866A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- mobile terminal
- firmware
- version
- backup
- upgrade
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1433—Saving, restoring, recovering or retrying at system level during software upgrading
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/654—Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
Definitions
- the present invention relates to over the air (OTA) in the field of communications, and in particular to a firmware upgrade of a mobile terminal based on the OMA-DM (Device Management) protocol. Processing method and system.
- a mobile terminal or wireless terminal is a general term for devices such as mobile phones, wireless local calls, modems, or wireless network cards.
- the operation closely related to the mobile terminal is the remote firmware upgrade of the mobile terminal.
- the original intention of the remote firmware upgrade operation is to tamper with or improve the original firmware program to achieve the purpose of "upgrade”.
- Closely related to remote firmware upgrades is Over The Air (OTA).
- OTA refers to the technology of uploading and downloading data over the air.
- FIG. 1 shows a ⁇ based wireless communication system.
- OMA-DM Device Management
- the OMA-DM server refers to the network-side device management device conforming to the OMA protocol.
- the OMA client can be a mobile phone or other mobile terminal that supports the OMA protocol.
- DM is a technology for remotely optimizing terminal related transactions on the network side through software solutions.
- the full name of the DM protocol is the Syncml Device Management Protocol, which is based on the Syncml Representation Protocol and the Syncml Synchronization Protocol. It is the specific application of the above protocol in the DM. In a nutshell, it defines how various device management commands are executed on the nodes of the device management tree.
- the OMA-DM specification consists of three components:
- MO Management Object
- OMA-DM uses XML files to describe the mechanism of device client management objects. It is called Device Description Framework (DDF for short). The DDF file references Syncml to represent the protocol as a structural description of the document.
- OMA DM defines functional management objects such as FUMO (Firmware Update Management Object), SCOMO (Software Component Management Object), and ConnMO (Connection Management Object). Among them, FUMO is designed to specify the management object of the air firmware update and the device management behavior supporting this process, for example, including how to use the DM protocol and the OMA DL protocol for firmware update downloading, and the interface between the server and the client. .
- a mobile terminal firmware upgrade processing method includes: the mobile terminal downloads the upgrade firmware version, and saves the backup of the current firmware version in its memory; the mobile terminal performs the firmware update, and updates the current firmware version to the upgrade firmware version.
- the method further includes: performing the rollback operation by the mobile terminal under predetermined conditions, wherein the backoff operation is specifically: the mobile terminal acquires the backup version in the memory, and overwrites the upgrade firmware version with the backup version.
- the foregoing predetermined condition includes any one of the following: the operation of the firmware update fails, the mobile terminal automatically performs the rollback operation; after the operation of the firmware update is completed, the user of the mobile terminal triggers the mobile terminal to perform the rollback operation; or, the operation of the firmware update After the completion, the mobile terminal reports the running status, and the device management server determines that the running status of the mobile terminal is abnormal, and instructs the mobile terminal to perform the rollback operation.
- the above method further includes the following processing: setting a firmware version backup area in a memory of the mobile terminal in advance, and saving the current firmware version in the firmware version backup area.
- the ⁇ version of the upgrade firmware version is one of the following: a backup of the current firmware version, a backup of the non-current firmware version specified by the mobile terminal or the device management server.
- the mobile terminal firmware upgrade processing method includes: setting a fallback operation management node in a firmware update management object related to the mobile terminal, and the fallback operation management node is configured to manage the mobile terminal's fallback operation;
- the state management node of the firmware update management object related to the mobile terminal sets the pre-provision data parameter, the retraction execution parameter, and the fallback success parameter; wherein, the pre-version data parameter indicates that the pre-execution data is performed.
- a mobile terminal firmware upgrade processing system includes: a download module for downloading an upgrade firmware version; a memory for saving a backup of the current firmware version; a firmware update module for performing a firmware update, updating the current firmware version to an upgrade firmware version; Module, used to perform the rollback operation under predetermined conditions, obtain the ⁇ version from the memory, and overwrite the upgrade firmware version with the ⁇ version.
- the predetermined condition includes the following: the operation of the firmware update fails, the mobile terminal automatically performs the rollback operation; after the firmware update operation is completed, the user of the mobile terminal triggers the mobile terminal to perform the rollback operation; the firmware update operation is completed.
- the device management server determines that the running status of the mobile terminal is abnormal, and instructs the mobile terminal to perform the rollback operation.
- a firmware version backup area is set in the memory, and the memory saves the current firmware version in the firmware version backup area.
- the user can roll back to the original backup version at any time, thereby preventing fatal problems such as the inability of the terminal to be upgraded after the upgrade, thereby ensuring the security upgrade of the firmware, and further, by the present invention, when the mobile terminal Firmware upgrade operation has failed a large area In this case, the user can be quickly rolled back to the backup version, which can avoid the high cost incurred by the operator's operation and maintenance department or the service department of the equipment manufacturer's customer service department, thereby reducing the operation and maintenance cost of the equipment.
- FIG. 1 is a schematic diagram of a wireless communication system according to the related art OMA DM protocol
- FIG. 2 is a schematic diagram of a FUMO management object of an OMA DM protocol according to the related art
- FIG. 3 is a OMA DM protocol according to an embodiment of the present invention.
- FIG. 4 is a flowchart of a firmware upgrade processing method of a mobile terminal according to an embodiment of the present invention
- FIG. 5 is a state transition diagram of a firmware upgrade upgrade of a mobile terminal according to an embodiment of the present invention
- DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The preferred embodiments of the present invention are described with reference to the accompanying drawings.
- Method Embodiments According to an embodiment of the present invention, a method for processing firmware upgrade of a mobile terminal is provided. In this method, security of firmware upgrade can be ensured by rolling back to the original version when the firmware upgrade fails.
- FIG. 2 shows a schematic diagram of a FUMO management object based on the OMA DM protocol according to the related art.
- FUMO_X 101 Indicates a management object node that conforms to the FUMO definition.
- the node can be a dynamic node or a static node. This is determined by the device vendor. The location of the node is described in the DDF file of the device. The type must also be described as a FUMO object.
- PkgName 102 The version name of the upgrade firmware package
- Pkg Version 103 The version number of the upgrade firmware package
- PkgURL 105 URL of the update package (Universal Resource Locator) download address
- Update 106 "Firmware update operation, management node, executed by Exec; (7) PkgData 107: upgrade firmware packet;
- DownloadAndUpdate 108 "Firmware Download and Update Operation Now" management node, which is executed by Exec;
- FIG. 3 shows a schematic diagram of a FUMO management object of the OMA DM protocol according to an embodiment of the present invention. As shown in Figure 3, compared to the structure shown in Figure 2, the following elements have been added:
- OldPkgData 112 Packet for the firmware version before the upgrade. Contains the version name, version number, and version data.
- Step S402 the mobile terminal downloads the upgrade firmware version, and saves the backup of the current firmware version in its memory; preferably, before the process, the mobile terminal sets the firmware version backup area in the memory of the mobile terminal in advance, and backs up in the firmware version.
- the backup of the current firmware version is saved in the area; in step S404, the mobile terminal performs a firmware update to update the current firmware version to the upgrade firmware version.
- the method further includes the following operations: the mobile terminal performs a rollback operation under the predetermined condition, where the rollback operation is specifically: the mobile terminal acquires the version in the memory, and overwrites with the backup version.
- the ⁇ version mentioned here may be a backup version of the current firmware version saved before the update operation, or may be a backup version specified by the mobile terminal or the server, that is, from the time of use of the version, it may be new
- the previous version of the version can also be other versions.
- the predetermined conditions mentioned above include but are not limited to any one of the following:
- the firmware update operation fails, and the mobile terminal automatically performs the rollback operation; (2) After the firmware update operation is completed, the user of the mobile terminal triggers the mobile terminal to perform the rollback operation; for example, the mobile terminal user is not satisfied with the firmware upgrade.
- the rollback operation can be initiated actively;
- the mobile terminal reports the running status, and the OMA DM server determines that the operating state of the mobile terminal is abnormal, and instructs the mobile terminal to perform the rollback operation.
- the processing method of the mobile terminal firmware upgrade according to the embodiment of the present invention can be described as follows:
- (1) Firmware upgrade initialization The client or the server notifies the mobile terminal that the firmware update is to be initiated by push or other means, and the mobile terminal reports the device information to the server;
- the mobile terminal reinstalls the original firmware and reports the current running status and device information of the OMA DM server.
- the entire firmware upgrade process contains the status of the FUMO management object as shown in the following table:
- FIG. 5 A state transition diagram of the mobile terminal firmware upgrade processing method in the embodiment of the present invention is shown in FIG.
- the above-mentioned "Backup Old Data” state (110) is a state between "Ready to Update” (50) and “Update Progressing” (60), that is, after the download is completed, the backup is performed. Operation, then update operation (50-110-60).
- the "Withdraw Processing” (120) and “Withdraw Complete” (130) states are automatically triggered after the update fails (processing path 80-120-130) or actively triggered by the user/OMA server (processing path 10-120-130).
- a mobile terminal firmware upgrade processing system is provided.
- Figure 6 shows a block diagram of the system.
- the OMA-DM protocol-based mobile terminal firmware upgrade processing system according to the embodiment of the present invention mainly includes: a downloading module 602, a memory 604, a firmware update module 606, and a fallback execution module 608.
- the download module 602 is configured to download an upgrade firmware version; the memory 604 is connected to the download module 602 for saving a backup of the current firmware version therein; the firmware update module 606 is connected to the download module 602 for performing a firmware update, and the current firmware version The update firmware version is updated; the fallback execution module 608 is configured to perform a fallback operation under predetermined conditions, obtain a ⁇ version from the memory 604, and overwrite the upgrade firmware version with the ⁇ version.
- the firmware version ⁇ area is set in the memory 604 in advance, and the current firmware version is saved in the firmware version backup area.
- the predetermined condition includes the following: The operation of the firmware update fails, and the mobile terminal automatically executes After the operation of the firmware update is completed, the user of the mobile terminal triggers the mobile terminal to perform the rollback operation; after the firmware update operation is completed, the mobile terminal reports the running status, and the device management server determines that the mobile terminal is in an abnormal state, indicating the mobile terminal Perform a rollback operation.
- the various details described in the above method embodiments are equally applicable to the system embodiment, and thus, repeated description of the same or similar parts is omitted. It should be noted that the mobile terminal firmware upgrade processing method according to the embodiment of the present invention can be applied to existing mobile communication and wireless communication systems, which can be used not only for remote firmware upgrade but also for application download and mobile phone failure. Online detection, even virus/malware protection.
- the rollback operation can be performed in the event of an upgrade failure or an accident, so that the user can fall back to the original backup version at any time, thereby preventing the upgraded terminal from appearing.
- the fatal problem can not be used, so that the firmware upgrade is safe and reliable.
- the present invention can ensure that the user quickly rolls back to the backup version when the mobile terminal firmware upgrade operation fails in a large area, thereby avoiding the operator's High costs incurred by the operations of the operations and maintenance department or the customer service department of the equipment manufacturer, thereby reducing the operation of the equipment Maintenance costs.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
L'invention concerne un procédé et un système relatifs au processus de mise à niveau de micrologiciel de terminal mobile. Le procédé est le suivant : le terminal mobile télécharge une version de micrologiciel améliorée et stocke la sauvegarde de la version de micrologiciel courante dans sa mémoire (S402). Le terminal mobile effectue une mise à jour du micrologiciel et met à jour la version courante du micrologiciel par rapport à la version améliorée (S404). Selon la présente invention, la version est sauvegardée, le retour à la version désuète pouvant être effectué lorsque surviennent des pannes et des accidents en relation avec la mise à niveau de sorte que les utilisateurs puissent revenir à la version de sauvegarde originale à tout moment afin d'éviter tout problème désastreux entraînant la non utilisation du terminal après la mise à niveau, ce qui permet de garantir une mise à niveau de micrologiciel sûre et fiable. En outre, lorsque l'opération de mise à niveau de micrologiciel a échoué en grande partie, l'utilisateur est assuré de pouvoir revenir rapidement à la version de sauvegarde de façon à éviter des coûts élevés générés par le département d'exploitation et de maintenance du fournisseur ou le département service client du fabricant et à réduire les coûts de fonctionnement et de maintenance du dispositif.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2007/003791 WO2009079866A1 (fr) | 2007-12-25 | 2007-12-25 | Procédé et système srlatifs au processus de mise à niveau de micrologiciel de terminal mobile |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2007/003791 WO2009079866A1 (fr) | 2007-12-25 | 2007-12-25 | Procédé et système srlatifs au processus de mise à niveau de micrologiciel de terminal mobile |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2009079866A1 true WO2009079866A1 (fr) | 2009-07-02 |
Family
ID=40800688
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2007/003791 WO2009079866A1 (fr) | 2007-12-25 | 2007-12-25 | Procédé et système srlatifs au processus de mise à niveau de micrologiciel de terminal mobile |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2009079866A1 (fr) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016131294A1 (fr) * | 2015-07-16 | 2016-08-25 | 中兴通讯股份有限公司 | Procédé et dispositif de traitement de mise à niveau de version |
CN108845814A (zh) * | 2018-06-14 | 2018-11-20 | 郑州云海信息技术有限公司 | 一种固件更新的保护方法、装置和计算机可读存储介质 |
CN112667266A (zh) * | 2021-01-22 | 2021-04-16 | 百度在线网络技术(北京)有限公司 | 固件升级方法、装置、设备和存储介质 |
EP3855306A4 (fr) * | 2018-10-26 | 2021-12-15 | GD Midea Air-Conditioning Equipment Co., Ltd. | Procédé de commande de mise à niveau en ligne pour un système d'appareils électroménagers, et système d'appareils électroménagers |
CN115460588A (zh) * | 2022-08-18 | 2022-12-09 | 青岛联众芯云科技有限公司 | 一种多类型终端固件升级的工作方法 |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040103340A1 (en) * | 2002-11-21 | 2004-05-27 | Texas Instruments Incorporated | Upgrading of firmware with tolerance to failures |
US20040123282A1 (en) * | 2000-11-17 | 2004-06-24 | Rao Bindu Rama | Mobile handset with a fault tolerant update agent |
US20040243991A1 (en) * | 2003-01-13 | 2004-12-02 | Gustafson James P. | Mobile handset capable of updating its update agent |
US20070022328A1 (en) * | 2005-06-30 | 2007-01-25 | Raghuveer Tarra | Firmware Update for Consumer Electronic Device |
CN1924821A (zh) * | 2005-08-31 | 2007-03-07 | 明基电通股份有限公司 | 固件更新系统与方法 |
CN101101553A (zh) * | 2006-07-05 | 2008-01-09 | 乐金电子(昆山)电脑有限公司 | 韧件升级恢复方法 |
CN101184301A (zh) * | 2007-12-14 | 2008-05-21 | 中兴通讯股份有限公司 | 移动终端远程固件升级方法及系统 |
CN101184309A (zh) * | 2007-12-21 | 2008-05-21 | 深圳国人通信有限公司 | 直放站设备嵌入式系统远程升级方法 |
-
2007
- 2007-12-25 WO PCT/CN2007/003791 patent/WO2009079866A1/fr active Application Filing
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040123282A1 (en) * | 2000-11-17 | 2004-06-24 | Rao Bindu Rama | Mobile handset with a fault tolerant update agent |
US20040103340A1 (en) * | 2002-11-21 | 2004-05-27 | Texas Instruments Incorporated | Upgrading of firmware with tolerance to failures |
US20040243991A1 (en) * | 2003-01-13 | 2004-12-02 | Gustafson James P. | Mobile handset capable of updating its update agent |
US20070022328A1 (en) * | 2005-06-30 | 2007-01-25 | Raghuveer Tarra | Firmware Update for Consumer Electronic Device |
CN1924821A (zh) * | 2005-08-31 | 2007-03-07 | 明基电通股份有限公司 | 固件更新系统与方法 |
CN101101553A (zh) * | 2006-07-05 | 2008-01-09 | 乐金电子(昆山)电脑有限公司 | 韧件升级恢复方法 |
CN101184301A (zh) * | 2007-12-14 | 2008-05-21 | 中兴通讯股份有限公司 | 移动终端远程固件升级方法及系统 |
CN101184309A (zh) * | 2007-12-21 | 2008-05-21 | 深圳国人通信有限公司 | 直放站设备嵌入式系统远程升级方法 |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016131294A1 (fr) * | 2015-07-16 | 2016-08-25 | 中兴通讯股份有限公司 | Procédé et dispositif de traitement de mise à niveau de version |
CN108845814A (zh) * | 2018-06-14 | 2018-11-20 | 郑州云海信息技术有限公司 | 一种固件更新的保护方法、装置和计算机可读存储介质 |
EP3855306A4 (fr) * | 2018-10-26 | 2021-12-15 | GD Midea Air-Conditioning Equipment Co., Ltd. | Procédé de commande de mise à niveau en ligne pour un système d'appareils électroménagers, et système d'appareils électroménagers |
CN112667266A (zh) * | 2021-01-22 | 2021-04-16 | 百度在线网络技术(北京)有限公司 | 固件升级方法、装置、设备和存储介质 |
CN112667266B (zh) * | 2021-01-22 | 2024-02-06 | 百度在线网络技术(北京)有限公司 | 固件升级方法、装置、设备和存储介质 |
CN115460588A (zh) * | 2022-08-18 | 2022-12-09 | 青岛联众芯云科技有限公司 | 一种多类型终端固件升级的工作方法 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102262544B (zh) | 软件升级的方法和装置 | |
EP1705872B1 (fr) | Dispositif client mobile et système supportant la gestion à distance de dispositif | |
US7991878B2 (en) | Method, system and terminal for maintaining capability management object and for managing capability | |
US11875143B2 (en) | Deploying device campaign updates to IoT devices | |
CN100525206C (zh) | 自动恢复设备故障的实现方法及系统 | |
WO2005076525A1 (fr) | Procede de mise a jour du dispositif de communication | |
US20060200658A1 (en) | Agent framework for mobile devices | |
WO2004049104A2 (fr) | Boite a outils d'autoreparation de logiciels pour dispositifs electroniques | |
TWI533216B (zh) | 作業系統更新方法 | |
WO2016090846A1 (fr) | Procédé et appareil de mise à niveau de version de réseau | |
CN101909282B (zh) | 终端操作的触发方法、装置及系统 | |
CN101610604A (zh) | 一种软件升级方法及系统 | |
WO2007065326A1 (fr) | Procede de gestion de dispositif terminal | |
WO2009079866A1 (fr) | Procédé et système srlatifs au processus de mise à niveau de micrologiciel de terminal mobile | |
CN101883139A (zh) | 外设设备软件升级的方法、计算机及系统 | |
WO2022142153A1 (fr) | Procédé et système de mise à niveau de compteur d'électricité, compteur intelligent et support de stockage | |
CN105260209A (zh) | 一种程序热更新解决方法 | |
WO2006122486A1 (fr) | Procede de mise a jour et de retour en arriere de donnees de dispositifs terminaux | |
WO2011153771A1 (fr) | Système et procédé de mise à niveau à distance d'un terminal de communication de machine à machine (m2m) | |
CN107766063A (zh) | 一种批量升级软件的方法及系统 | |
WO2012174899A1 (fr) | Procédé et dispositif de mise à jour d'un élément de réseau par l'intermédiaire d'une gestion de réseau | |
CN112732292B (zh) | 一种软件升级的方法、系统、设备及可读存储介质 | |
CN111769966B (zh) | 一种克隆升级方法、系统和应用 | |
CN101179804A (zh) | 移动终端的复位方法及系统 | |
CN100488129C (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: 07855795 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: 07855795 Country of ref document: EP Kind code of ref document: A1 |