WO2007118419A1 - Procédé et dispositif de mise à jour d'un logiciel - Google Patents

Procédé et dispositif de mise à jour d'un logiciel Download PDF

Info

Publication number
WO2007118419A1
WO2007118419A1 PCT/CN2007/001200 CN2007001200W WO2007118419A1 WO 2007118419 A1 WO2007118419 A1 WO 2007118419A1 CN 2007001200 W CN2007001200 W CN 2007001200W WO 2007118419 A1 WO2007118419 A1 WO 2007118419A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
software
downloaded
upgrade
terminal
Prior art date
Application number
PCT/CN2007/001200
Other languages
English (en)
Chinese (zh)
Inventor
Yantao Ren
Original Assignee
Beijing Rising International Software Co., Ltd
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 Beijing Rising International Software Co., Ltd filed Critical Beijing Rising International Software Co., Ltd
Publication of WO2007118419A1 publication Critical patent/WO2007118419A1/fr

Links

Classifications

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

Definitions

  • the present invention relates to a method and apparatus for software upgrade, and more particularly to a method and apparatus for upgrading antivirus software.
  • mobile terminals can install various software to provide users with rich multimedia services. Like the software in your computer, the various software installed in your mobile terminal are also subject to various viruses. In order to remove viruses from mobile terminals, anti-virus software is usually installed in the mobile terminal. Due to the emergence of new software viruses, anti-virus software needs to be continuously upgraded to remove existing viruses.
  • the mobile terminal can upgrade the anti-virus software through the method of synchronous upgrade of the PC host. This method has high upgrade efficiency, but the user needs to synchronize his mobile terminal with the PC host, and the operation is relatively complicated.
  • the commonly used method is that the mobile terminal downloads and upgrades the anti-virus software from the software upgrade server through the GPRS network.
  • the mobile terminal downloads the entire upgrade package of the new version of the anti-virus software from the software upgrade server via the GPRS network via the CMWAP or CMNET access method, and then upgrades the anti-virus software by reinstalling the downloaded upgrade package.
  • This method of upgrading anti-virus software via the GPRS network is also flawed.
  • This method upgrades the anti-virus software by downloading and reinstalling the entire upgrade package of the new version of the anti-virus software (that is, all the files of the new version), but, in some cases, for the anti-virus software, the new version of the upgrade package
  • Some of the files are not changed relative to the old version of the files that the mobile terminal has installed, so these files do not need to be downloaded from the software upgrade server. Downloading these files that do not need to be downloaded will waste network resources and increase The time required for 00 anti-virus software reduces the efficiency of the upgrade.
  • the GPRS network charges fees according to network data traffic, downloading these files that do not need to be downloaded will increase the user's large unnecessary network charges.
  • a method for software upgrade performed by a terminal includes steps -
  • an apparatus for software upgrade in a terminal includes:
  • a downloading module configured to download file information of a new version of the software from a software upgrade server
  • a determining module configured to determine, according to the downloaded file information and a file of an old version of the software installed in the terminal, a file to be downloaded in a file of a new version of the software
  • Downloading the module downloading the determined file from the software upgrade server
  • an upgrade module configured to use the downloaded file to upgrade a file of an old version of the software installed in the terminal.
  • FIG. 1 shows a block diagram of a system configuration in accordance with one embodiment of the present invention
  • Figure 2 illustrates an example of a configuration file in accordance with one embodiment of the present invention
  • Figure 3 shows a flow chart of the download process in the software upgrade method
  • Figure 4 is a flow chart showing the upgrade process in the software upgrade method
  • Fig. 5 is a block diagram showing an apparatus for software upgrade in a mobile terminal according to an embodiment of the present invention.
  • FIG. 1 shows a block diagram of a system configuration in accordance with one embodiment of the present invention.
  • the system includes a software upgrade server .10 and a mobile terminal 20.
  • the software upgrade server 10 stores all the files of the new version of the anti-virus software and a new version configuration file including the file information of the new version of the anti-virus software, and the file information includes at least the name and the name of each file of the new version of the anti-virus software. Inspection information, the verification information of each file is obtained by verifying the file by using a verification algorithm such as CRC32 or MD5, and the process of verifying the file by the verification algorithm is known. Therefore, the description thereof is omitted here.
  • the mobile terminal 20 has installed an old version of the anti-virus software and has a configuration file (hereinafter referred to as an old version configuration file) including file information of the old version of the anti-virus software.
  • the mobile terminal 20 can access from a normal gateway 30 (ie, CM ET access method) or WAP gateway 40 (ie, CMWAP access method) set in the GPRS network.
  • the software upgrade server 10 downloads the file that needs to be downloaded in the upgrade package of the new version of the anti-virus software, and then uses the downloaded file to upgrade the old version of the original installed anti-virus software.
  • Figure 2 illustrates an example of a configuration file in accordance with one embodiment of the present invention.
  • the configuration file refers to the new version configuration file and the old version configuration file.
  • the configuration file includes two parts: a header and a file information list.
  • the information header portion records the check type and the URL information, and the check type indicates a check algorithm for generating check information of the file. For example, "0" indicates no check, and "1" indicates a CRC32 check algorithm. "2" indicates the MD5 check algorithm; the URL information indicates the location information of the configuration file of the next version.
  • the file information list section records the names of the respective files of the anti-virus software version pointed to by the configuration file and their corresponding verification information, wherein the verification information of each file is indicated by the check type in the header portion of the information. The verification algorithm obtains the check processing of the file.
  • the configuration file may also include other content as needed.
  • the method for software upgrade of one embodiment of the present invention will be described in detail below with reference to FIGS. 3 and 4, taking the mobile terminal 20 and the software upgrade server 10 of FIG. 1 and the configuration file of FIG. 4 as an example.
  • 3 is a flow chart showing a download process in the software upgrade method
  • FIG. 4 is a flow chart showing an upgrade process in the software upgrade method.
  • step S1 the mobile terminal 20 initiates the download process directly or via the anti-virus software main program. If the startup download process fails (step S2: NO), the mobile terminal 20 displays an error message at step S3, and terminates the download process at step S4; if the startup is successful (step S2: YES), then at step S5, the mobile terminal 20 Load the old version configuration file that it currently has.
  • step S6 the mobile terminal 20 determines whether the old version configuration file is damaged. If the old version configuration file is not damaged (step S6: NO), the mobile terminal 20 uses the URL provided in the old version configuration file in step S7. Information, downloading a new version configuration file from the software upgrade server 10 via, for example, a GPRS network; if the old version configuration file is corrupted, the mobile terminal 20 upgrades the server 10 from the software using the default address information of the software upgrade server 10 in step S8. Download the new version of the configuration file.
  • step S9 the mobile terminal 20 determines whether the download of the new version configuration file is successful: If it fails (step S9: NO), then in step S3, the mobile terminal 20 displays The error message is terminated, and the download procedure is terminated in step S4; if successful (step S9: YES), then in step S10, the mobile terminal 20 loads the downloaded new version profile.
  • step S1 according to the name of the first file of the new version of the anti-virus software recorded in the new version configuration file, the mobile terminal 20 searches for the file with the same name from the file of the old version of the anti-virus software installed. If a file having the same name is not found (step S12: NO), it is determined that the first file needs to be downloaded, so the flow advances to step S15, and the mobile terminal 20 downloads the first file from the software upgrade server 10. If a file with the same name is found (step S12: YES), the flow advances to step S13, and the mobile terminal 20 calculates the school of the file having the same name using the verification algorithm specified by the check type included in the new version configuration file. Test information.
  • step S14 the mobile terminal 20 determines whether the calculated verification information of the file having the same name is the same as the verification information of the first file recorded in the new version configuration file: If the determination result is the same (step S14) : YES), it is determined that the first file does not need to be downloaded, the flow proceeds to step S17; if the result of the determination is not the same (step S14: NO), it is determined that the file needs to be downloaded, and then at step S15, the mobile terminal 20 The first file is downloaded in the software upgrade server 10, and the flow proceeds to step S17.
  • step S17 the mobile terminal 20 determines whether all the files of the new version of the anti-virus software listed in the new version configuration file have been found: if the determination result is no (step S17: NO), then proceeding to step S16, in step S16.
  • the mobile terminal 20 searches for a file with the same name from the file of the old version of the anti-virus software installed according to the name of the next file of the new version of the anti-virus software recorded in the new version configuration file. The flow then returns to step S12.
  • Steps S12 to S17 are repeated until it is determined in step S17 that all the files have been checked.
  • step S17: YES the mobile terminal 10 starts the upgrade process.
  • step S001 the mobile terminal 20 determines whether the program related to the downloaded file has been started. If the result of the determination in step S001 is NO, the flow advances to step S003, and the mobile terminal 20 replaces the corresponding file in the old version installed by it with the downloaded file. If step If the result of the determination in S001 is YES, then in step S002, the mobile terminal 20 exits the associated program, and then in step S003, the mobile terminal 20 replaces the corresponding file in the installed old version with the downloaded file. Then, the mobile terminal 20 ends the upgrade process.
  • the versions of the anti-virus software installed on different mobile terminals are not always the same, so the new version of the files that each mobile terminal really needs to download may also be different when upgrading the anti-virus software.
  • the mobile terminal only downloads the new version of the file that needs to be downloaded from the software upgrade server, and does not download the file already existing in the old version of the anti-virus software installed by the mobile terminal, thereby overcoming In the prior art, the entire upgrade package of the new version of the anti-virus software is downloaded regardless of the specific situation of the mobile terminal itself.
  • the new version configuration file and the old version configuration file respectively include a verification information indicating that the verification process is performed on itself using a corresponding verification algorithm.
  • the mobile terminal 20 After downloading the new version configuration file from the software upgrade server 10, the mobile terminal 20 first determines whether the verification information of the downloaded new version configuration file and the verification information of the old version configuration file that it already has are the same. If the result of the determination is no, the download process of FIG. 3 is continued. If the result of the determination is YES, the download process of Fig. 3 is ended.
  • the download process of FIG. 3 and the upgrade process of FIG. 4 are implemented as mutually independent download programs and upgrade programs, such that when one of the download process and the upgrade process requires an update upgrade, Downloading one of the programs and upgrades from the software upgrade server reduces unnecessary network traffic.
  • the method for software upgrade of the present invention can be implemented by means of software, hardware or a combination of software and hardware.
  • Figure 5 is a block diagram showing an apparatus for software upgrade in a mobile terminal of one embodiment of the present invention. Here, only the modules related to the present invention are shown in FIG. 5, and the modules not related to the present invention are not shown.
  • the apparatus for software upgrade in the mobile terminal of the present invention includes: a downloading module 100, configured to download file information of a new version of the software from a software upgrade server; and a determining module 110, configured to Deleting the downloaded file information and the file of the old version of the software installed in the mobile terminal, and determining a file to be downloaded in the file of the new version of the software; the downloading module 100, from the software upgrade server Downloading the determined file; and, an upgrade module 120, configured to use the downloaded file to upgrade a file of an old version of the software installed in the mobile terminal.
  • the method and apparatus for software upgrade of the present invention can be used not only for a mobile terminal but also for a fixed terminal; not only can the server be upgraded through a GPRS network, but also Other ways to connect to the software upgrade server; not only can be used for anti-virus software upgrades, but also for other software upgrades.

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

L'invention concerne un procédé et un dispositif de mise à jour d'un logiciel. Le procédé de mise à jour de logiciel exécuté par un terminal comporte les étapes suivantes : téléchargement des données fichier de la nouvelle version d'un logiciel à partir d'un serveur de mise à jour de logiciel; détermination des fichiers devant être téléchargés dans la nouvelle version de logiciel conformément aux données fichier téléchargées, et des fichiers de l'ancienne version du logiciel, installée dans le terminal; téléchargement des fichiers déterminés à partir du serveur de mise à jour de logiciel; mise à jour des fichiers de l'ancienne version du logiciel, installée dans le terminal à l'aide des fichiers téléchargés. Le procédé et le dispositif permettent au terminal de télécharger seulement les fichiers devant être téléchargés dans le progiciel de mise à jour de la nouvelle version du logiciel, ce qui permet d'épargner des ressources réseau, de raccourcir le temps nécessaire à la mise à jour du logiciel, d'améliorer l'efficacité de la mise à jour du logiciel et d'aider les utilisateurs à épargner les coûts de réseau.
PCT/CN2007/001200 2006-04-14 2007-04-13 Procédé et dispositif de mise à jour d'un logiciel WO2007118419A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNB2006100754413A CN100501675C (zh) 2006-04-14 2006-04-14 一种用于软件升级的方法及装置
CN200610075441.3 2006-04-14

Publications (1)

Publication Number Publication Date
WO2007118419A1 true WO2007118419A1 (fr) 2007-10-25

Family

ID=38609063

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/001200 WO2007118419A1 (fr) 2006-04-14 2007-04-13 Procédé et dispositif de mise à jour d'un logiciel

Country Status (2)

Country Link
CN (1) CN100501675C (fr)
WO (1) WO2007118419A1 (fr)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109639842A (zh) * 2019-02-26 2019-04-16 四川爱联科技有限公司 Nb-iot设备软件升级系统及方法
CN110086885A (zh) * 2019-05-10 2019-08-02 上海擎感智能科技有限公司 空间下载技术的升级包下载方法及装置、存储介质和终端
CN111367546A (zh) * 2020-02-26 2020-07-03 东风电子科技股份有限公司 软件升级过程中实现xml配置文件升级处理的方法

Families Citing this family (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101339594B (zh) * 2008-05-20 2011-12-21 北京深思洛克软件技术股份有限公司 一种提高软件保护装置安全性的方法
CN101753524B (zh) * 2008-12-15 2012-10-31 青岛海信传媒网络技术有限公司 一种软件升级方法及系统
US8892699B2 (en) 2008-12-31 2014-11-18 Schneider Electric USA, Inc. Automatic firmware updates for intelligent electronic devices
CN101482823A (zh) * 2009-01-19 2009-07-15 中兴通讯股份有限公司 一种单板应用版本的实现方法及系统
US9372784B2 (en) 2009-02-20 2016-06-21 International Business Machines Corporation Test system configuration method and system
CN101848188A (zh) * 2009-03-25 2010-09-29 上海聚力传媒技术有限公司 对数据块校验信息进行更新的方法和装置
CN101706727B (zh) * 2009-11-19 2014-12-10 中兴通讯股份有限公司 升级方法及装置
CN102012978B (zh) * 2010-06-29 2012-10-03 飞天诚信科技股份有限公司 Iso文件安全升级的方法及系统
CN101938737B (zh) * 2010-09-15 2015-06-03 中兴通讯股份有限公司 版本更新方法及终端
CN102479093A (zh) * 2010-11-25 2012-05-30 英业达股份有限公司 提供验证并更新原始文件与注册表的软件安装系统及方法
CN102693135A (zh) * 2011-03-21 2012-09-26 国基电子(上海)有限公司 具系统升级文件传送功能的计算机及方法
CN102609277B (zh) * 2011-08-26 2014-05-21 威海捷讯通信技术有限公司 一种移动终端应用软件升级方法
CN102999347B (zh) * 2011-09-15 2015-07-29 腾讯科技(深圳)有限公司 一种系统重装方法、系统以及客户端
CN102662700B (zh) * 2012-03-28 2016-02-03 广东欧珀移动通信有限公司 一种嵌入式软件版本的发布及升级方法
CN102736978B (zh) * 2012-06-26 2015-09-30 北京奇虎科技有限公司 一种检测应用程序的安装状态的方法及装置
CN106850842A (zh) * 2012-06-28 2017-06-13 北京奇虎科技有限公司 一种文件的下载、上传方法及装置
CN103577202B (zh) * 2012-07-23 2018-03-09 努比亚技术有限公司 软件升级方法与系统
CN102902555B (zh) * 2012-09-06 2016-09-21 华为终端有限公司 一种升级方法、装置及升级设备
CN103678032B (zh) * 2012-09-17 2017-10-31 腾讯科技(深圳)有限公司 系统文件的修复方法及装置
CN102831353B (zh) * 2012-09-18 2016-12-21 珠海市君天电子科技有限公司 一种针对带有计算机病毒的应用软件的处理方法及系统
CN103401867A (zh) * 2013-07-31 2013-11-20 珠海金山网络游戏科技有限公司 一种通过协议对打包文件进行更新的方法及系统
CN103699408A (zh) * 2013-12-12 2014-04-02 乐视网信息技术(北京)股份有限公司 一种软件升级的方法和设备
CN104915220B (zh) * 2014-03-13 2019-08-16 中国移动通信集团安徽有限公司 一种客户端应用程序的升级方法和系统、客户端
CN104298517B (zh) * 2014-07-08 2018-03-02 中标软件有限公司 一种软件更新方法及系统
CN104156244B (zh) * 2014-08-06 2018-09-04 北京奇虎科技有限公司 一种软件升级的方法和装置
CN105743984A (zh) * 2016-03-11 2016-07-06 中国建设银行股份有限公司 自动更新移动应用的方法、设备及系统
CN106250143A (zh) * 2016-07-27 2016-12-21 杭州联络互动信息科技股份有限公司 一种可穿戴设备的ota升级方法以及装置
CN108153537A (zh) * 2017-12-25 2018-06-12 北京车联天下信息技术有限公司 移动应用更新方法及装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5446888A (en) * 1994-01-14 1995-08-29 Pyne; Charles F. Remote file transfer method and apparatus
CN1241136C (zh) * 2001-09-14 2006-02-08 北京瑞星科技股份有限公司 软件升级的方法
CN1758220A (zh) * 2004-10-08 2006-04-12 华为技术有限公司 一种升级软件版本的方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5446888A (en) * 1994-01-14 1995-08-29 Pyne; Charles F. Remote file transfer method and apparatus
CN1241136C (zh) * 2001-09-14 2006-02-08 北京瑞星科技股份有限公司 软件升级的方法
CN1758220A (zh) * 2004-10-08 2006-04-12 华为技术有限公司 一种升级软件版本的方法

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109639842A (zh) * 2019-02-26 2019-04-16 四川爱联科技有限公司 Nb-iot设备软件升级系统及方法
CN110086885A (zh) * 2019-05-10 2019-08-02 上海擎感智能科技有限公司 空间下载技术的升级包下载方法及装置、存储介质和终端
CN111367546A (zh) * 2020-02-26 2020-07-03 东风电子科技股份有限公司 软件升级过程中实现xml配置文件升级处理的方法

Also Published As

Publication number Publication date
CN101017435A (zh) 2007-08-15
CN100501675C (zh) 2009-06-17

Similar Documents

Publication Publication Date Title
WO2007118419A1 (fr) Procédé et dispositif de mise à jour d'un logiciel
US9606791B2 (en) Controlled method and apparatus to securely install and update software
KR100915564B1 (ko) 실행하는 동안 애플리케이션을 업그레이드하기 위한 방법,소프트웨어 및 장치
US6493871B1 (en) Method and system for downloading updates for software installation
US9838461B2 (en) System and method for handling digital content delivery to portable devices
US8527978B1 (en) System, method, and computer program product for populating a list of known wanted data
EP1775913B1 (fr) Procédé de controle d'un appareil multimédia middleware controle par métadonnées
US20070033584A1 (en) Application update methods and mobile communication devices utilizing the same
WO2012037793A1 (fr) Procédé et système de mise à niveau pour un système de gadget logiciel
WO2015139246A1 (fr) Procédé et dispositif de synchronisation de données d'application
JP5248657B2 (ja) デバイス上におけるレジストリベースの自動インストール及びコンポーネントハンドリングのためのシステム
WO2012034471A1 (fr) Procédé, terminal mobile et serveur d'application pour traiter dynamiquement des applications
WO2009082906A1 (fr) Procédé, équipement et système de mise à niveau de logiciel
CN107256161B (zh) 基于electron技术的客户端升级方法
JP2010049703A (ja) 移動通信端末機用コンテンツ提供方法
JP2007528064A (ja) 無線装置オペレーティング環境における未検証プログラムの実行
WO2012051865A1 (fr) Procédé et système de gestion d'une application gadget
TW200425695A (en) Communication device and program
WO2011110097A1 (fr) Procédé et dispositif pour le téléchargement d'un logiciel
CN112416386A (zh) 软件升级的方法、装置、系统以及介质
KR100685314B1 (ko) 이동통신 단말기 소프트웨어 자동 업그레이드 시스템 및 방법
WO2023030142A1 (fr) Procédé de mise à niveau d'application, dispositif électronique, puce et support de stockage lisible
JP3686840B2 (ja) 交換システム、更新方法及びプログラム
CN116431170A (zh) 一种基于dag的生态多方协同的移动终端系统升级方法
TW200422869A (en) System for registry-based automatic installation and component handling on a device

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

Country of ref document: EP

Kind code of ref document: A1

DPE1 Request for preliminary examination filed after expiration of 19th month from priority date (pct application filed from 20040101)
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 07720773

Country of ref document: EP

Kind code of ref document: A1