WO2016026329A1 - Procédé et appareil de mise à niveau de terminal - Google Patents

Procédé et appareil de mise à niveau de terminal Download PDF

Info

Publication number
WO2016026329A1
WO2016026329A1 PCT/CN2015/078615 CN2015078615W WO2016026329A1 WO 2016026329 A1 WO2016026329 A1 WO 2016026329A1 CN 2015078615 W CN2015078615 W CN 2015078615W WO 2016026329 A1 WO2016026329 A1 WO 2016026329A1
Authority
WO
WIPO (PCT)
Prior art keywords
upgrade
terminal
identifier
server
package
Prior art date
Application number
PCT/CN2015/078615
Other languages
English (en)
Chinese (zh)
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 WO2016026329A1 publication Critical patent/WO2016026329A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Definitions

  • the present invention relates to the field of device upgrade management, and in particular to a method and device for upgrading a terminal.
  • OMA Open Mobile Alliance
  • DM Device Management
  • FOTA Firmware Over-The-Air
  • a standard set of FUMO (Firmware Upgrade) processes is provided for the FOTA DM protocol.
  • the server assigns the upgrade package download address to the Uniform Resource Locator (referred to as Uniform Resource Locator in the terminal x/Pkg file (that is, the installation package configuration file) by the Replace command. URL) node, then the server sends an Exec asynchronous execution command, the terminal downloads the upgrade package, and performs the upgrade. After the upgrade is completed, the upgrade result is reported.
  • Uniform Resource Locator Uniform Resource Locator in the terminal x/Pkg file (that is, the installation package configuration file) by the Replace command. URL) node
  • This standard process has the following drawbacks: For the same model terminal, either an optional upgrade (the user can confirm the upgrade or cancel the upgrade) or an enforcement (direct) upgrade is provided during the upgrade. Obviously, the standard process cannot meet the requirements in practical applications. For example, if a software version does not have a fatal bug, an optional upgrade is performed. If the software version has a fatal bug, a forced upgrade is performed.
  • the main purpose of the embodiments of the present invention is to provide a method and an apparatus for upgrading a terminal, so as to solve the problem that the upgrade type of the software upgrade is uncontrollable.
  • a method for upgrading a terminal including: receiving, by the terminal, an upgrade identifier sent by a server, where the upgrade identifier is used to indicate that an upgrade type of the current upgrade package is optional. Upgrade or force upgrade; the terminal upgrades according to the upgrade type indicated by the upgrade identifier.
  • the terminal receives the upgrade identifier sent by the server, and the method further includes: the terminal receiving the replacement replace command sent by the server, where the replace command carries the upgrade identifier, and the replace command The downloading address of the current upgrade package is sent; the terminal acquires the upgrade identifier from the replace command.
  • the method before the terminal receives the upgrade identifier sent by the server, the method further includes: the terminal defines a management object that can be used for the forced upgrade in the management tree.
  • the terminal performs the upgrade according to the upgrade type indicated by the upgrade identifier, and includes at least one of the following: when the upgrade identifier indicates an optional upgrade, the terminal prompts the user to select an upgrade or The selection interface is not upgraded; the selection instruction of the user is received on the selection interface; and the upgrade is performed according to the selection instruction; when the upgrade identifier indicates a forced upgrade, the terminal directly downloads the current upgrade package and performs the upgrade.
  • a method for upgrading a terminal including: obtaining, by the server, an upgrade identifier of a current upgrade package, where the upgrade identifier is used to indicate that the upgrade type of the current upgrade package is an optional upgrade or a mandatory upgrade.
  • the server sends the upgrade identifier to the terminal.
  • the server sends the upgrade identifier to the terminal, and the server sends a replace command to the terminal, where the replace command carries the upgrade identifier and The download address of the current upgrade package.
  • the method further includes: the terminal defines a management object that can be used for the forced upgrade in the management tree.
  • an apparatus for upgrading a terminal which is applied to a terminal, and includes: a receiving module, configured to receive an upgrade identifier delivered by a server, where the upgrade identifier is used to indicate an upgrade of the current upgrade package.
  • the type is optional upgrade or forced upgrade; the upgrade module is set to upgrade according to the upgrade type indicated by the upgrade ID.
  • the apparatus further includes: a configuration module, configured to define a management object that can be used for the forced upgrade in the management tree.
  • an apparatus for upgrading a terminal which is applied to a server, comprising: an obtaining module, configured to obtain an upgrade identifier of a current upgrade package, wherein the upgrade identifier is used to indicate an upgrade of the current upgrade package.
  • the type is an optional upgrade or a forced upgrade; the sending module is configured to deliver the upgrade identifier to the terminal.
  • the method for upgrading the upgrade type indicated by the upgrade identifier sent by the server solves the problem that the upgrade type of the software upgrade in the related technology is uncontrollable, and thus implements the upgrade type of the terminal on the server. control.
  • FIG. 1 is a flow chart of FOTA in a DM protocol according to the related art
  • FIG. 2 is a flowchart of a method for upgrading a terminal according to an embodiment of the present invention
  • FIG. 3 is a structural block diagram of an apparatus for upgrading a terminal according to an embodiment of the present invention.
  • FIG. 4 is a block diagram showing another structure of an apparatus for upgrading a terminal according to an embodiment of the present invention.
  • FIG. 5 is another flowchart of a method for upgrading a terminal according to an embodiment of the present invention.
  • FIG. 6 is a structural block diagram of an upgrading apparatus for a terminal for implementing the method shown in FIG. 5;
  • FIG. 7 is a flow chart of a method for upgrading a terminal in accordance with a preferred embodiment of the present invention.
  • FIG. 2 is a flowchart of a method for upgrading a terminal according to an embodiment of the present invention. As shown in Figure 2, the method includes:
  • step S202 the terminal receives the upgrade identifier sent by the server, where the upgrade identifier is used to indicate that the upgrade type of the current upgrade package is an optional upgrade or a mandatory upgrade.
  • Step S204 The terminal performs the upgrade according to the upgrade type indicated by the upgrade identifier.
  • the server can control the terminal upgrade type.
  • the step S202 is implemented in various manners, for example, the above-mentioned upgrade identifier can be received by using a dedicated message or signaling.
  • the terminal can also be implemented by: receiving the replacement replace from the server.
  • the replacement command carries the upgrade identifier, and the replace command is used to deliver the download address of the current upgrade package.
  • the terminal obtains the upgrade identifier from the replace command.
  • the terminal In order to support the server to control the upgrade type of the terminal, before receiving the upgrade identifier sent by the server, the terminal needs to define a management object that can be used for the forced upgrade in the management tree.
  • step S204 may be at least one of the following:
  • the terminal prompts the user to select a selection interface for upgrading or not upgrading; receiving a selection instruction of the user on the selection interface; and performing an upgrade according to the above selection instruction;
  • an apparatus for upgrading a terminal is further provided, and is applied to the terminal.
  • the device includes:
  • the receiving module 30 is configured to receive an upgrade identifier sent by the server, where the upgrade identifier is used to indicate that the upgrade type of the current upgrade package is an optional upgrade or a mandatory upgrade.
  • the upgrade module 32 is configured to be upgraded according to the upgrade type indicated by the above upgrade identifier.
  • the upgrading apparatus of the foregoing terminal may further include: a configuration module 34 configured to define a management object that can be used for the forced upgrade in the management tree.
  • the server side is further improved.
  • another method for upgrading the terminal is provided in the embodiment. As shown in FIG. 5, the method includes:
  • Step S502 The server obtains an upgrade identifier of the current upgrade package, where the upgrade identifier is used to indicate that the upgrade type of the current upgrade package is an optional upgrade or a mandatory upgrade.
  • Step S504 the server sends the upgrade identifier to the terminal.
  • the step S504 is implemented in various manners, for example, the foregoing upgrade identifier may be sent by using a dedicated message.
  • the server may send the replacement replace command to the terminal, where the replace command carries the foregoing The upgrade ID and the download address of the current upgrade package.
  • the method for upgrading the terminal provided in this embodiment further includes: the terminal defines a management object that can be used for the forced upgrade in the management tree.
  • an apparatus for upgrading the terminal is further provided to the server for implementing the method shown in FIG. 5.
  • the apparatus includes:
  • the obtaining module 60 is configured to obtain an upgrade identifier of the current upgrade package, where the upgrade identifier is used to indicate that the upgrade type of the current upgrade package is an optional upgrade or a mandatory upgrade.
  • the sending module 62 is connected to the obtaining module 60, and configured to deliver the upgrade identifier to the terminal.
  • each of the above modules may be implemented by software or hardware.
  • the following forms may be implemented, but are not limited thereto: each of the above modules is located in the same processor, or each of the above modules is located Different processors.
  • Step 1 The DM terminal defines a management object that can be used for forced upgrade, and adds a corresponding definition./FOTA/Mandatory in the management tree (DDF), and sets an initial value (such as an initial value) 0).
  • Step 2 The server decides whether to issue the upgrade package address and whether to issue the mandatory upgrade ID.
  • Step 3. The terminal determines whether it is a forced upgrade or an optional upgrade according to the value of the forced upgrade node./FOTA/Mandatory (such as 0 for optional upgrade and 1 for forced upgrade).
  • Step 0 more than the original process
  • step 4 the server not only has to deliver the upgrade package address, but also issues the value of the upgrade option.
  • step 9 the terminal determines whether it is a forced upgrade or an optional upgrade according to the upgrade option value sent by the server.
  • Step 0 Add the corresponding definition ./FOTA/Mandatory node in the terminal management tree (can be set at the factory when the terminal is shipped);
  • Step 1 The terminal initiates a connection to the OMA DM Server request.
  • Step 2 The server initiates a Get command request for obtaining the terminal software version
  • Step 3 The terminal reports the current software version information of the terminal to the server.
  • Step 4 The server matches the upgrade package according to the version of the terminal software. After the upgrade package is matched, the upgrade package download address and the upgrade option node value are sent through the Replace command.
  • Upgrade option value 0 is optional upgrade 1 is mandatory upgrade, which can be defined separately in actual application.
  • Step 5 The terminal reports the result of the Replace command execution.
  • Step 6 The server sends an asynchronous execution command Exec
  • Step 7 The terminal reports the execution result of the Exec command.
  • Step 8 The server ends the session
  • Step 9 The terminal determines whether it is an optional upgrade or a mandatory upgrade according to the upgrade option identifier value. If the upgrade is optional, the terminal pops up a dialog box containing the “OK” and “Cancel” buttons for the user to select. If the upgrade is mandatory, the terminal directly Download the upgrade package;
  • the upgrade is performed after the end user's current task is completed;
  • Step 10 The terminal performs an upgrade after downloading the upgrade package.
  • Step 11 The terminal reports the upgrade result.
  • Step 12 The server ends the session.
  • a storage medium is further provided, wherein the software includes the above-mentioned software, including but not limited to: an optical disk, a floppy disk, a hard disk, an erasable memory, and the like.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the foregoing technical solution provided by the embodiment of the present invention solves the problem that the upgrade type of the software upgrade in the related technology is uncontrollable according to the technical means for upgrading the upgrade type indicated by the upgrade identifier sent by the server, thereby implementing the problem in the server. Control of the terminal upgrade type.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (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 appareil de mise à niveau de terminal. Le procédé comprend les étapes suivantes : un terminal reçoit un identifiant de mise à niveau fourni par un serveur, l'identifiant de mise à niveau étant utilisé pour indiquer qu'un type de mise à niveau d'un progiciel de mise à niveau actuel est une mise à niveau facultative ou obligatoire (S202) ; et le terminal effectue la mise à niveau en fonction du type de mise à niveau indiqué par l'identifiant de mise à niveau (S204). La présente solution technique permet de résoudre le problème selon lequel un type de mise à niveau incontrôlable pour la mise à niveau d'un logiciel conformément à l'état actuel de la technique, de façon à contrôler au niveau du serveur le type de mise à niveau du terminal.
PCT/CN2015/078615 2014-08-20 2015-05-08 Procédé et appareil de mise à niveau de terminal WO2016026329A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410413700.3 2014-08-20
CN201410413700.3A CN105354043A (zh) 2014-08-20 2014-08-20 终端的升级方法及装置

Publications (1)

Publication Number Publication Date
WO2016026329A1 true WO2016026329A1 (fr) 2016-02-25

Family

ID=55330019

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/078615 WO2016026329A1 (fr) 2014-08-20 2015-05-08 Procédé et appareil de mise à niveau de terminal

Country Status (2)

Country Link
CN (1) CN105354043A (fr)
WO (1) WO2016026329A1 (fr)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648769A (zh) * 2016-12-09 2017-05-10 武汉斗鱼网络科技有限公司 一种升级应用的方法、服务器和用户设备
CN107391207A (zh) * 2017-08-01 2017-11-24 深信服科技股份有限公司 一种基于云平台的终端更新系统及方法
CN109526017B (zh) * 2018-12-31 2022-06-03 超讯通信股份有限公司 一种分布式小基站的升级方法及系统
CN112085604A (zh) * 2020-09-10 2020-12-15 北京金山云网络技术有限公司 一种升级智能合约的方法及装置
CN112527363A (zh) * 2021-02-10 2021-03-19 北京声智科技有限公司 软件包版本更新方法、装置、系统、设备及介质
CN115794185B (zh) * 2021-09-10 2023-11-07 中兴通讯股份有限公司 数据增量升级方法、电源设备系统、网管及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102082965A (zh) * 2010-10-15 2011-06-01 福建新大陆通信科技股份有限公司 一种保障机顶盒升级成功的方法
CN102932778A (zh) * 2012-10-29 2013-02-13 东莞宇龙通信科技有限公司 一种实现手机终端无线升级的方法和系统
US20130247023A1 (en) * 2002-09-12 2013-09-19 Harry Aderton System and Method for Updating Network Computer Systems
CN103945264A (zh) * 2014-04-29 2014-07-23 丹阳市广播电视台 一种机顶盒应用程序更新方法

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100442901C (zh) * 2005-10-25 2008-12-10 华为技术有限公司 在设备管理中监控和升级软件的方法及装置
CN101778376A (zh) * 2009-12-31 2010-07-14 中兴通讯股份有限公司 一种实现固件无线更新的方法及装置
CN102215118B (zh) * 2010-04-01 2013-08-28 华为技术有限公司 实现设备管理业务的方法、装置及系统
CN102136934B (zh) * 2010-10-21 2015-01-21 华为技术有限公司 实现Zigbee设备远程升级的方法、装置及网络系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130247023A1 (en) * 2002-09-12 2013-09-19 Harry Aderton System and Method for Updating Network Computer Systems
CN102082965A (zh) * 2010-10-15 2011-06-01 福建新大陆通信科技股份有限公司 一种保障机顶盒升级成功的方法
CN102932778A (zh) * 2012-10-29 2013-02-13 东莞宇龙通信科技有限公司 一种实现手机终端无线升级的方法和系统
CN103945264A (zh) * 2014-04-29 2014-07-23 丹阳市广播电视台 一种机顶盒应用程序更新方法

Also Published As

Publication number Publication date
CN105354043A (zh) 2016-02-24

Similar Documents

Publication Publication Date Title
WO2016026329A1 (fr) Procédé et appareil de mise à niveau de terminal
US8285864B2 (en) Service delivery system using intermediary application management subsystem for managing setup provisioning delivery and updating of services
JP6834033B2 (ja) ネットワークスライス管理方法、ユニット、及びシステム
WO2015117527A1 (fr) Procédé et dispositif de mise à niveau
CN102006333B (zh) 安装软件组件的方法、系统及装置
WO2016015558A1 (fr) Procédé et appareil permettant de demander une licence
EP3163975A1 (fr) Procédé de gestion d'informations de configuration, dispositif, système de gestion d'élément de réseau et support de stockage
US9696977B2 (en) Method and system for allocating ID of software component
WO2017121153A1 (fr) Procédé et dispositif de mise à niveau de logiciel
WO2018033094A1 (fr) Plateforme de publication de suite de communication riche, procédé et système de mise à jour de version, et terminal mobile
CN104852971B (zh) 一种插件式协议装置及基于插件式协议的数据通信方法
CN110716734B (zh) 一种软件升级的方法、装置、电子设备及介质
EP3883183A1 (fr) Procédé et dispositif de gestion de virtualisation
CN105072398B (zh) 一种设备升级方法和装置
CN104811979A (zh) 基于fota升级的压力测试方法和装置
CN106569863B (zh) 基于资源和代码模块化的安卓app资源更新和修复的方法
US20170351503A1 (en) Method and system for installing software
WO2017124741A1 (fr) Procédé et dispositif permettant de synchroniser une version d'appareil
CN104104701A (zh) 在线服务的配置更新的方法和系统
CN109408091A (zh) 一种应用升级的方法及设备
CN102215118A (zh) 实现设备管理业务的方法、装置及系统
WO2023020071A1 (fr) Procédé d'acquisition de package de mise à niveau et dispositif intelligent
CN104714856A (zh) 一种软件修复方法及终端设备
WO2015184904A1 (fr) Procédé, dispositif et système pour mettre à niveau un agent de collecte de données
WO2016206437A1 (fr) Procédé et dispositif de génération de progiciel de mémoire morte (rom)

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: 15834581

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: 15834581

Country of ref document: EP

Kind code of ref document: A1