[go: up one dir, main page]

CN101593118B - Software-upgrading method - Google Patents

Software-upgrading method Download PDF

Info

Publication number
CN101593118B
CN101593118B CN 200910014192 CN200910014192A CN101593118B CN 101593118 B CN101593118 B CN 101593118B CN 200910014192 CN200910014192 CN 200910014192 CN 200910014192 A CN200910014192 A CN 200910014192A CN 101593118 B CN101593118 B CN 101593118B
Authority
CN
China
Prior art keywords
patch
file
client
service
platform
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN 200910014192
Other languages
Chinese (zh)
Other versions
CN101593118A (en
Inventor
张照平
史艳庆
荆世华
赵立刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Group Shandong General Software Co Ltd
Original Assignee
Inspur Group Shandong General 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 Inspur Group Shandong General Software Co Ltd filed Critical Inspur Group Shandong General Software Co Ltd
Priority to CN 200910014192 priority Critical patent/CN101593118B/en
Publication of CN101593118A publication Critical patent/CN101593118A/en
Application granted granted Critical
Publication of CN101593118B publication Critical patent/CN101593118B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a software-upgrading method. An upgrading platform constructed by the method is independent of software and is independently applied in different products or projects, and when the upgrading platform is in use, a platform client automatically seeks a patch server and acquires a patch package from the patch server; the platform automatically checks the validity of patches, supports breakpoint continuous transmission, completes downloading and verification, and then executes patch-upgrading operation; the patches are automatically downloaded or manually downloaded in the platform according to defined tasks; and automatic upgrading and manual upgrading are executed according to defined tasks. The method has the advantages that the patch package is described by use of description language and analyzed; common compression processing used for the patches is rapid in transmission, safe and reliable, can eliminate the occurrence of network data blockage and other situations, and can discover problems when the patches are downloaded and installed in time; the method solves the problems of software updating, version management of different clients, automatic downloading-updating, and the like, and can meet the upgrading requirements of various types of software in different platforms.

Description

A kind of method of software upgrading
Technical field
The present invention relates to computer application field, the method for specifically a kind of software upgrading.
Background technology
Along with popularizing of infotech, software application is more and more extensive, system applies is also more and more huger, the field that the scope of business relates to is also more and more, to very difficult with the software product of safeguarding strange land distribution deployment, and the software runtime environment in the different operating system varies, the software and the windows platform that are installed in linux or the unix system are incompatible, its upgrading tool and upgrading mode are also different, after going wrong, specific service packs under a certain system need to be provided, and the operation that the running environment of different service packs or patch are carried out also is multifarious, therefore many softwares only provide service packs in escalation process, often by client's download patches bag and manually upgrading, need the own judgement of client should download which patch, and patch provides too much, and the dependence of not carrying out between the patch is related, is easy to occur upgrading the improper software upgrading failure that causes, application software or system crash; And after new version appears in software, only reinstall redaction, and use the upgrading tool upgrade software of redaction, can not be by system's auto-update.The limitation of this mode is that upgrading tool only is a certain edition upgrading instrument, does not satisfy the change of the large-scale maintenance of client and different editions.We adopt descriptive language to describe, resolve service packs, different operating system softwares can upgrade, and tight dependence and patch validation verification are arranged between the service packs, platform separates download patches with the upgrade patch operation, but separately isolated operation, platform can provide the operation that will carry out in advance, the operation that will carry out after the upgrading, both can be also scalable client self of application software upgrade in the service packs escalation process, and can support different operating system, linux, unix, software in the large operation systems such as windows all can adopt auto-update.
Summary of the invention
The method that the purpose of this invention is to provide a kind of software upgrading.
The objective of the invention is to realize in the following manner that make up the upgrade patch platform by service end and client, construction step comprises:
1) at first in the patch service end service catalogue that service end provides, issues service packs;
2) in patch service end service catalogue, set up the patch release index file, describe the MD5 check code of service packs title, path, service packs, the dependence of service packs in the patch release index file;
3) in the software systems that will upgrade patch client, pre-configured patch release index file download address and patch release index file during installation are installed;
4) use the operation interface of patch client to operate initialization patch platform;
5) the patch client is according to plan target, connects the patch service end, download patches version index file, and resolve download behind the patch release index file, upgrade patch;
6) the upgrade patch platform does not rely on OS Type, software, and platform is independent to be used in different product or project, and during use, the patch platform client is at first obtained service according to configuration
Figure GSB00000788269800021
Corresponding on the end
Figure GSB00000788269800022
The patch release record, and the colophon that will record with client compares, then according to poor
Figure GSB00000788269800023
Differently obtain the service packs that client need to be upgraded, download successively, adopt breakpoint transmission in the downloading process, platform client is verified patch validity, patch dependence according to the patch descriptor of service packs, is proved to be successful rear system and carries out the software upgrading operation according to plan target.
Construction step also comprises:
1) upgrade patch platform service end carries out unified operation or distributing information by long-range application software or the operating system to client of distribution patch;
2) comprise the description that needs the client executing operation in the patch package file and operated the information that needs in implementation with this;
3) index file is the version patch maintenance collection of a software, and a service end defines a plurality of index files, and a client has an index file;
4) the upgrade patch platform client is upgraded self with service packs.
The service end task of upgrade patch platform comprises:
1) is responsible for index file and the service packs of the version that definition will distribute;
2) operation information of reception client.
The client task of upgrade patch platform comprises:
1) plan target and the database setting that provide operating platform that patch is set easily;
2) adopt descriptive language, describe the operation that service packs will be carried out;
3) can receive from index file of service end the tabulation of patch, and compare with the local index file, judge the patch file that download;
4) Analytical Index file, the dependence of checking service packs validity, integrality and service packs;
5) resolve the operation that provides in the execution service packs, judge the patch type;
6) patch is downloaded and separated with patch upgrading, and is unaffected mutually;
7) safeguard the status information of local received patch file;
8) information in the patch process carried out in record.
The content of service packs comprises:
1) adopts descriptive language, describe the prefabricated operation that service packs will be carried out;
2) service packs is the set of software patch;
3) service packs comprises prefabricated actuating logic:
Carry out in advance: can carry out the operation that defines in the patch file by definition in advance;
Carry out: the operation that defines in the complete rear execution patch file of patch upgrading afterwards;
4) use general compress mode compression patch file;
5) patch package file structure:
File is replaced catalogue/catalogue file_update
Jar file update catalogue/catalogue jar_update
Database update sql file/file db_update.sql
Pre-service description document before.xml
Aftertreatment description document after.xml
Supporting paper/file readme.txtconfig.
Patch property file/catalogue properties.
The invention has the beneficial effects as follows and be that patch issue, download, execution etc. have all used descriptive language, its inner prefabricated information can self be safeguarded with the upgrade patch client, it is configurable that updating operation has been become, and greatly improved dirigibility and the speed of upgrading.
Description of drawings:
Fig. 1 is traditional patch upgrading process;
Fig. 2 is patch upgrading process of the present invention;
Fig. 3 is that patch of the present invention is resolved the process of carrying out.
Embodiment
Below in conjunction with accompanying drawing in addition detailed description of technical scheme of the present invention.
Upgrade method of the present invention, the upgrading platform that provides does not rely on OS Type, can be applied independently in different product or the project, the patch platform client is searched patch according to configuration from the patch server that is dynamically connected during use, and with patch server on the patch that provides compare, finding to have needs the patch that upgrades, then carries out the download request of patch, carry out the patch validation verification after having downloaded and check the dependence of patch, verify and carry out the patch upgrading operation after errorless.
Described method suitable software of the present invention is upgraded, system maintenance, is usually used in remote system, the applicating maintenance of management information system, also can be used for the system combination between heterogeneous system.
May further comprise the steps: the patch platform is divided into: service end and client two parts.
1) at first in file transfer services (HTTP or the File Transfer Protocol) catalogue that service end provides, issues service packs;
2) at the built-in vertical index file of patch service end service catalogue (can set up a plurality of), the MD5 check code of service packs title, path, service packs, the dependence of service packs are described in the index file.
3) in the software systems that will upgrade the patch client is installed, can pre-configured patch file download address during installation, and the patch release index file.
4) use the operation interface of patch client to operate initialization patch platform.
5) the patch client is according to plan target, connects the patch service end, download patches version index file, and resolve download behind the index file, upgrade patch.
The present invention can cross-platformly carry out upgrading and the maintenance of system; Adopt descriptive language management service packs and patch client, made things convenient for the patch maintenance, and the greatly flexible application scenarios of system mend upgrading; The patch client is resolved the version index file, analyzes the patch dependence, and binds service packs and service packs with MD5 checking patch validity, the relation between service packs and the software, the security that has strengthened the system mend upgrading and safeguarded.
Embodiment
The patch service end
1) at first issue service packs in file transfer services (HTTP or the FTP) catalogue that service end provides: the name of patch file has certain rule, can distinguish the priority of distribution.Current realization is to increase progressively by arabic numeral to name.
2) defined the required operation information that carries out of client in the patch package file:
The patch package file detailed content:
The file_update--file is replaced catalogue/catalogue: a describing method of the corresponding patch platform client of catalogue, carry out content in its catalogue by the method.
Jar_update---jar file update catalogue/catalogue: a describing method of the corresponding patch platform client of catalogue, carry out content in its catalogue by the method.
Db_update.sql---database update sql file/file.
Before.xml-pre-service description document: the instruction in operating system or the application software is described in definition in it.
3) after.xml-aftertreatment description document: the instruction in operating system or the application software is described in definition in it.
Supporting paper/the file of readme.txt-patch.
Config.properties-patch property file/catalogue.
At the built-in vertical index file of patch service end service catalogue (can set up a plurality of), the MD5 check code of service packs title, path, service packs, the dependence of service packs are described, for example in the index file
name:001.zip;md5:e5809ec66307aa99560b9efcc4e1158b;
name:002.zip;md5:35459ee24588ba42614c5299d8bba080;depends:001.zip;
The patch client
1) in the software systems that will upgrade the patch client is installed, can pre-configured patch file download address during installation, the acquiescence service packs resolution file identical with AKU, file type is XML, defined the order corresponding with the patch package file folder in it, for example accompanying drawing 4 is a description definition.
2) use the operation interface operation initialization patch platform of patch client, the order such as system provides menu initialization automatic updating system, database setting, timed task is set, whether test initialization is finished, withdrawed from.
3) the patch client is according to plan target, connect the patch service end, download patches version index file, and download behind the parsing index file, upgrade patch, the log information in the system record file renewal process therebetween, and the version index file of maintain customer end, as follows is state after the file update success.
name:001.zip;md5:e5809ec66307aa99560b9efcc4e1158b;
type:NULL;depends:NULL;
status:10;
name:002.zip;md5:35459ee24588ba42614c5299d8bba080;depends:001.zip;type:NULL;status:10。

Claims (5)

1. the method for a software upgrading is characterized in that making up the upgrade patch platform by service end and client, and construction step comprises:
1) at first in the patch service end service catalogue that service end provides, issues service packs;
2) in patch service end service catalogue, set up the patch release index file, describe the MD5 check code of service packs title, path, service packs, the dependence of service packs in the patch release index file;
3) in the software systems that will upgrade patch client, pre-configured patch release index file download address and patch release index file during installation are installed;
4) use the operation interface of patch client to operate initialization patch platform;
5) the patch client is according to plan target, connects the patch service end, download patches version index file, and resolve download behind the patch release index file, upgrade patch;
6) the upgrade patch platform does not rely on OS Type, software, platform is independent to be used in different product or project, during use, the patch platform client is according to configuration, at first obtain corresponding patch release record on the service end, and the colophon that will record with client compares, then obtain the service packs of client needs upgrading according to the difference between the colophon of patch release record and client, download successively, adopt breakpoint transmission in the downloading process, platform client according to the patch descriptor of service packs to patch validity, the patch dependence is verified, is proved to be successful rear system and carries out the software upgrading operation according to plan target.
2. method according to claim 1 is characterized in that, construction step also comprises:
1) upgrade patch platform service end carries out unified operation or distributing information by long-range application software or the operating system to client of distribution patch;
2) comprise the description that needs the client executing operation in the patch package file and operated the information that needs in implementation with this;
3) index file is the version patch maintenance collection of a software, and a service end defines a plurality of index files, and a client has an index file;
4) the upgrade patch platform client is upgraded self with service packs.
3. method according to claim 1 is characterized in that, the service end task of upgrade patch platform comprises:
1) is responsible for index file and the service packs of the version that definition will distribute;
2) operation information of reception client.
4. method according to claim 1 is characterized in that, the client task of upgrade patch platform comprises:
1) plan target and the database setting that provide operating platform that patch is set easily;
2) adopt descriptive language, describe the operation that service packs will be carried out;
3) can receive from index file of service end the tabulation of patch, and compare with the local index file, judge the patch file that download;
4) Analytical Index file, the dependence of checking service packs validity, integrality and service packs;
5) resolve the operation that provides in the execution service packs, judge the patch type;
6) patch is downloaded and separated with patch upgrading, and is unaffected mutually;
7) safeguard the status information of local received patch file;
8) information in the patch process carried out in record.
5. method according to claim 1 is characterized in that, the content of service packs comprises:
1) adopts descriptive language, describe the prefabricated operation that service packs will be carried out;
2) service packs is the set of software patch;
3) service packs comprises prefabricated actuating logic:
Carry out in advance: carry out the operation that defines in the patch file by definition in advance;
Carry out: the operation that defines in the complete rear execution patch file of patch upgrading afterwards;
4) use general compress mode compression patch file;
5) patch package file structure:
File is replaced catalogue/catalogue file_update
J ar file update catalogue/catalogue jar_update
Database update sql file/file db_update.sql
Pre-service description document before.xml
Aftertreatment description document after.xml
Supporting paper/file readme.txtconfig.
Patch property file/catalogue properties.
CN 200910014192 2009-02-24 2009-02-24 Software-upgrading method Active CN101593118B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910014192 CN101593118B (en) 2009-02-24 2009-02-24 Software-upgrading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910014192 CN101593118B (en) 2009-02-24 2009-02-24 Software-upgrading method

Publications (2)

Publication Number Publication Date
CN101593118A CN101593118A (en) 2009-12-02
CN101593118B true CN101593118B (en) 2013-01-16

Family

ID=41407788

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910014192 Active CN101593118B (en) 2009-02-24 2009-02-24 Software-upgrading method

Country Status (1)

Country Link
CN (1) CN101593118B (en)

Families Citing this family (47)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010198332A (en) * 2009-02-25 2010-09-09 Canon Inc Firmware update device, firmware update system, firmware update method, and firmware update program
CN101739278B (en) * 2009-12-17 2013-08-07 中国电力科学研究院 Enterprise-level application software updating method and system
CN102262544B (en) * 2010-05-24 2016-06-08 腾讯科技(深圳)有限公司 The method and apparatus of software upgrading
CN102479092A (en) * 2010-11-30 2012-05-30 中兴通讯股份有限公司 Method and device for updating patch of software system
CN102486736B (en) * 2010-12-06 2015-02-11 深圳市金蝶中间件有限公司 Method for automatically upgrading program and generating device for upgrading program
CN102118500B (en) * 2010-12-27 2013-08-21 清华大学 Software package-based online automatic updating method for open source operating system of mobile terminal
CN102110212B (en) * 2011-02-21 2013-01-30 北京奇虎科技有限公司 A method and device for implementing patch correction
CN102855442B (en) * 2011-02-21 2016-06-29 北京奇虎科技有限公司 A kind of realization installs method and the device that patch removes
CN102262549B (en) * 2011-03-02 2014-10-15 奇智软件(北京)有限公司 Method and system for installing patches
CN103955380A (en) * 2011-03-02 2014-07-30 北京奇虎科技有限公司 Patch treatment method
CN102325189A (en) * 2011-09-19 2012-01-18 江苏省邮电规划设计院有限责任公司 Embedded system data remote upgrading method
CN102624861A (en) * 2011-11-28 2012-08-01 苏州奇可思信息科技有限公司 Enterprise network-oriented operating system upgrade patch updating method
CN103186379A (en) * 2011-12-31 2013-07-03 鼎捷软件股份有限公司 Realization method for differentiation of software system
CN102662655B (en) * 2012-03-12 2018-09-25 南京中兴软件有限责任公司 The structure system and method for version
CN102902562B (en) * 2012-09-17 2018-04-27 中兴通讯股份有限公司 A kind of assembly type multimode webmaster service packs installation method and device
CN102868768B (en) * 2012-10-16 2014-10-08 北京奇虎科技有限公司 Application upgrade system
CN103838590A (en) * 2012-11-20 2014-06-04 联想(北京)有限公司 Software version upgrading method and electronic device
CN103973475B (en) * 2013-02-05 2018-07-06 腾讯科技(深圳)有限公司 Different patch packet generation method and method for down loading, server, client
CN104468153B (en) * 2013-09-13 2018-10-30 华为技术有限公司 Alarm method, equipment and group system in a kind of group system
CN103713926B (en) * 2013-12-27 2017-02-01 珠海金山网络游戏科技有限公司 Method and system for updating software of client in advance
CN103838609A (en) * 2014-03-10 2014-06-04 广州金山网络科技有限公司 Method and system for automatically monitoring software updating
CN104077160B (en) * 2014-05-12 2018-04-03 联动优势电子商务有限公司 A kind of method, apparatus and system for upgrading Android software
CN104239098A (en) * 2014-09-09 2014-12-24 北京金山安全软件有限公司 Automatic software upgrading method and device and mobile terminal
CN105740001A (en) * 2014-12-10 2016-07-06 中兴通讯股份有限公司 Method and apparatus for hot patch upgrading in process initialization stage, and terminal device
CN106708494B (en) * 2015-11-18 2020-11-27 北京神州泰岳软件股份有限公司 JAR upgrading method and device
CN105487894A (en) * 2015-11-27 2016-04-13 浪潮软件集团有限公司 Remote updating method of distributed software system
CN105677427A (en) * 2016-01-12 2016-06-15 浪潮通用软件有限公司 Module upgrading method and device
EP3441876B1 (en) * 2016-04-27 2023-02-15 Honor Device Co., Ltd. Patch upgrade-based file processing method and device, terminal, and storage medium
CN107463390B (en) * 2016-06-02 2020-12-01 阿里巴巴集团控股有限公司 Software upgrading method and upgrading server
CN106126271B (en) * 2016-06-15 2020-02-07 北京金山安全管理系统技术有限公司 Data upgrading method and device
CN106775865B (en) * 2016-12-14 2020-12-11 浪潮通用软件有限公司 Operation and maintenance method and tool supporting silent parallel patch updating
CN106878380A (en) * 2016-12-27 2017-06-20 北京五八信息技术有限公司 The method of bug, device and terminal on a kind of reparation APP lines
CN106878812A (en) * 2017-02-22 2017-06-20 深圳创维-Rgb电子有限公司 A method and device for upgrading a system
CN106897095B (en) * 2017-02-24 2020-10-13 网易(杭州)网络有限公司 Method and device for hot repairing application program, readable storage medium and computing equipment
CN107193611A (en) * 2017-05-31 2017-09-22 郑州云海信息技术有限公司 The method for upgrading software and system of a kind of group system
CN107562485B (en) * 2017-07-31 2021-03-02 北京北信源软件股份有限公司 Method and device for automatically collecting patch data
CN108132794A (en) * 2017-12-29 2018-06-08 普华基础软件股份有限公司 A kind of operating system update method and system
CN108551487B (en) * 2018-04-26 2021-02-09 Oppo广东移动通信有限公司 Application deployment method, device, server and storage medium of PaaS platform
CN108924152A (en) * 2018-07-23 2018-11-30 广州趣丸网络科技有限公司 A kind of control method and device of APP edition upgrading
CN109522042A (en) * 2018-12-27 2019-03-26 深信服科技股份有限公司 A kind of patch update method, system and associated component
CN110134412B (en) * 2019-03-25 2024-04-12 北京车和家信息技术有限公司 Software updating method, device, vehicle and computer readable storage medium
CN111459829B (en) * 2020-04-03 2023-05-09 成都安易迅科技有限公司 Configuration method for solving problem of using tools in work of testers
CN113900723B (en) * 2021-12-08 2022-04-08 深圳市明源云科技有限公司 Common platform updating method, network device and computer readable storage medium
CN114741102B (en) * 2022-04-13 2025-07-29 鼎捷数智股份有限公司 Development system with automatic upgrading function and automatic upgrading method of development system
CN114895943B (en) * 2022-05-30 2024-05-28 山东浪潮科学研究院有限公司 A method and device for implementing incremental distribution and automatic upgrade of application configuration
CN115543403B (en) * 2022-11-29 2023-03-21 紫光同芯微电子有限公司 System upgrading method and device
CN120029646A (en) * 2025-04-22 2025-05-23 紫光恒越技术有限公司 A method, device, equipment and storage medium for automatically upgrading device patches

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1737773A (en) * 2004-08-16 2006-02-22 上海华为技术有限公司 Method and system for online monitoring of embedded system
CN1925414A (en) * 2005-09-01 2007-03-07 腾讯科技(深圳)有限公司 Method for network service in-line upgrading
US20080168392A1 (en) * 2004-05-18 2008-07-10 International Business Machines Corporation Visualization of firewall rules in an auto provisioning environment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080168392A1 (en) * 2004-05-18 2008-07-10 International Business Machines Corporation Visualization of firewall rules in an auto provisioning environment
CN1737773A (en) * 2004-08-16 2006-02-22 上海华为技术有限公司 Method and system for online monitoring of embedded system
CN1925414A (en) * 2005-09-01 2007-03-07 腾讯科技(深圳)有限公司 Method for network service in-line upgrading

Also Published As

Publication number Publication date
CN101593118A (en) 2009-12-02

Similar Documents

Publication Publication Date Title
CN101593118B (en) Software-upgrading method
CN106991035B (en) Host monitoring system based on micro-service architecture
US11561784B2 (en) Versioning of pipeline templates for continuous delivery of services on datacenters configured in cloud platforms
KR101238511B1 (en) Publishing the status of and updating firmware components
US8863114B2 (en) Managing software packages using a version control system
US8438559B2 (en) Method and system for platform-agnostic software installation
US7457831B2 (en) Peripheral device driver maintenance scheme for networked peripheral device clients
US6493871B1 (en) Method and system for downloading updates for software installation
US20110138374A1 (en) Downtime reduction for enterprise manager patching
US8225292B2 (en) Method and system for validating a knowledge package
US20060080651A1 (en) Update package for offline synchronization of software updates
US20130346964A1 (en) OSGi PROGRAM, OSGi SYSTEM
US10516526B2 (en) Data transmitting method, server and client
US11392366B1 (en) Optimized compilation of pipelines for continuous delivery of services on datacenters configured in cloud platforms
CN101453550A (en) Automatic updating method for set-top box software
WO2014164893A2 (en) Remote transfer of electronic images to a vehicle
US20090265586A1 (en) Method and system for installing software deliverables
CN108021427A (en) Information system deployment and updating management method based on Docker
US20070118507A1 (en) Managing software configuration of a wireless device
US20120096453A1 (en) Software Package Management Mechanism
US20140201643A1 (en) System and method for manipulating user-interface display items for web widgets
US20180075048A1 (en) Algorithm to check compatibility of business object types to prevent business catalog corruption on resource update
CN111078252A (en) Application publishing and automatic updating method based on terminal application
CN102419712A (en) Method and device for upgrading user side software
CN117270915A (en) Software upgrading method and system based on information security

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant