[go: up one dir, main page]

CN100337200C - Software upgrading method for use in computer systems - Google Patents

Software upgrading method for use in computer systems Download PDF

Info

Publication number
CN100337200C
CN100337200C CNB2005100343055A CN200510034305A CN100337200C CN 100337200 C CN100337200 C CN 100337200C CN B2005100343055 A CNB2005100343055 A CN B2005100343055A CN 200510034305 A CN200510034305 A CN 200510034305A CN 100337200 C CN100337200 C CN 100337200C
Authority
CN
China
Prior art keywords
server
upgrade
software
client
version
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.)
Expired - Lifetime
Application number
CNB2005100343055A
Other languages
Chinese (zh)
Other versions
CN1700173A (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.)
Zhuhai Kingsoft Software Co Ltd
Original Assignee
Zhuhai Kingsoft 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 Zhuhai Kingsoft Software Co Ltd filed Critical Zhuhai Kingsoft Software Co Ltd
Priority to CNB2005100343055A priority Critical patent/CN100337200C/en
Publication of CN1700173A publication Critical patent/CN1700173A/en
Application granted granted Critical
Publication of CN100337200C publication Critical patent/CN100337200C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种在计算机系统中使用的软件升级方法,所述方法可以在尽量少占用用户系统资源与升级服务器资源的情况下,使用户客户端程序能够在尽可能短的时间内获得最新升级数据以与升级服务器保持同步。所述方法既可以在正常情况下对软件的客户端程序进行定时查询升级,又可以在紧急情况下通过在服务器设置软件的应急预警升级信息,并缩短客户端程序对服务器的访问时间以尽快获得升级软件所需的最新升级数据。本发明可广泛应用于具有多个用户的分布式应用软件系统。

Figure 200510034305

The invention discloses a software upgrading method used in a computer system. The method can enable the user client program to obtain the latest version in the shortest possible time while occupying as little user system resources and upgrading server resources as possible. Upgrade data to keep in sync with the upgrade server. The method can not only regularly query and upgrade the client program of the software under normal circumstances, but also can set the emergency warning upgrade information of the software on the server in an emergency, and shorten the access time of the client program to the server to obtain the information as soon as possible. The latest upgrade data required to upgrade the software. The present invention can be widely applied to distributed application software systems with multiple users.

Figure 200510034305

Description

A kind of method for upgrading software that in computer system, uses
Technical field
The present invention relates to a kind of method for upgrading software that in computer system, uses.
Background technology
The a lot of application software that are installed at present in the subscriber computer need often to upgrade by network, keep synchronous to realize improvement and the lifting of software on function by upgrading upgrade file and upgrade server, the relatively more typical example of the application software of this respect has antivirus software, online game software etc.Network upgrade mode commonly used at present has: the user manually upgrades, timing automatic is upgraded, at first upgrade when software brings into operation etc., these upgrading modes mostly are to realize by such process: local file information in the comparison subscriber computer and the up-to-date information of upgrade file in the upgrade server, and judge whether thereby difference need determines whether upgrading for the two, and upgrading is then downloaded up-to-date upgrade file and taked the upgrading measure if desired.Some software especially antivirus software often needs frequent upgrading, and several days even several hrs just need updating file to upgrade.Present most antivirus software has by the function of Fixed Time Interval from the upgrade server that is dynamically connected, but the shortcoming below existing: if the Fixed Time Interval of the upgrade server that is dynamically connected certainly that is provided with in the one side subscriber computer is shorter, client-side program will frequently connect upgrade server, not only can waste the custom system resource, also can cause network congestion even obstruction and increase the weight of the burden of upgrade server; If the Fixed Time Interval of the upgrade server that is dynamically connected certainly that is provided with in the subscriber computer on the other hand is longer, then can not guarantee upgrading in time of client-side program, cause the delay that some key is upgraded even may cause user machine system beyond thought fault to occur, such as when certain malignant virus outburst back software upgrade service provider is carrying out the virus analysis processing and is not completing upgrade file as yet, just there is not upgrade file on the upgrade server, the user connects upgrade server at this moment just can not obtain upgrade information, just can upgrade when connect upgrade server next time behind described Fixed Time Interval, because viral outburst subscriber computer just may cause poisoning owing in time upgrading, make troubles during this to the user.
Summary of the invention
Technical matters to be solved by this invention is the deficiency that overcomes on the prior art, a kind of method for upgrading software that uses in computer system is provided, described method can take under the situation of custom system resource and upgrade server resource as far as possible less, makes user's client-side program can obtain up-to-date upgrade data to keep synchronously with upgrade server in the short as far as possible time.
The technical solution adopted in the present invention is: the invention provides a kind of method for upgrading software that uses in computer system, described computer system comprises version server, the document upgrading server, client computer, described version server, described document upgrading server, described client computer is connected to each other, described version server is provided with the latest version information data of software, described document upgrading server is provided with software upgrade data, described client computer is provided with the client-side program that is used to upgrade, said method comprising the steps of: step is set, Connection Step, comparison step, upgrade step, determining step, promptly
Step is set, it is initial value N=n from the default Fixed Time Interval of described version server of being dynamically connected that described client-side program is set, and software latest version information data in the described version server and the software upgrade data in the described document upgrading server are set;
Connection Step is connected once described client-side program every one section described time interval N automatically with described version server, obtain the software latest version information on the described version server;
Comparison step, be used for the current version information of more described client-side program and the software latest version information on the described version server, the version information more current than described client-side program as if the software latest version information on the described version server is new, then carry out described upgrade step, carry out described determining step then, otherwise carry out described determining step;
Upgrade step, described client-side program connect described document upgrading server, downloaded software upgrade data;
Determining step, be used to judge and whether have the emergency advance warning upgrade information on the described version server, if there is the emergency advance warning upgrade information on the described version server, then the above default Fixed Time Interval N value of client is turned down and be N=m, carry out described Connection Step, described comparison step then, otherwise, detect current N value and the described size that the described default Fixed Time Interval initial value n of step setting is set, if N ≠ n, then current N value is adjusted into N=n automatically, carries out described Connection Step, described comparison step then.
The invention has the beneficial effects as follows: because the method for the invention is connected once described client-side program with N at set intervals automatically with described version server, obtain the software latest version information on the described version server, and it is new by relatively determining the whether current version information of software latest version information on the described version server than described client-side program, when upgrading, needs carry out upgrade step, so the present invention is a suitable value by adjusting client-side program from the default Fixed Time Interval N of the version server that is dynamically connected, under normal timing inquiry upgrade status, can take custom system resource and upgrade server resource less as far as possible; Again since the method for the invention in case of emergency, need described client-side program to obtain as early as possible to upgrade and upgrade data that software is up-to-date is provided with the emergency advance warning upgrade information when still unripe in described version server, the default Fixed Time Interval N of client adjustment Automatic Program connection version server is a value also littler than initial value when described client-side program is connected with described version server, to accelerate the frequency that described client-side program is connected with described version server, guarantee to obtain up-to-date upgrade data immediately in the ready back of the up-to-date upgrade data of software client, so the present invention is by being provided with the emergency advance warning upgrade information in version server, described client-side program can obtain the up-to-date upgrade data of software as early as possible under the emergency advance warning upgrade status, to guarantee upgrading in time of client-side program.
Description of drawings
Fig. 1 is the upgrading schematic flow sheet of client-side program of the present invention.
Embodiment
Computer system of the present invention comprises version server, document upgrading server, client computer, described version server, described document upgrading server, described client computer are connected to each other, described version server is provided with the latest version information data of software, described document upgrading server is provided with software upgrade data, and described client computer is provided with the client-side program that is used to upgrade.In case of emergency, need described client-side program to obtain as early as possible to upgrade and upgrade data that software is up-to-date when still unripe, described version server also is provided with the emergency advance warning upgrade information of software temporarily, and at the up-to-date upgrade data of described software in emergency circumstances ready and be arranged at described document upgrading server after, cancel described emergency advance warning upgrade information, described emergency advance warning upgrade information comprises emergent zone bit, and described version information comprises version number.
After the described client-side program of present embodiment connected described version server, request obtained the latest version information of the software on the described version server; Described version server knows after the request at first whether the checking client program has legal mandate version information, return the latest version information of software to client-side program if client-side program is legal, if under emergency rating, also be provided with the emergency advance warning upgrade information of software on the described version server, then described emergency advance warning upgrade information is returned to described client-side program in the lump, do not refuse the request of described client-side program and return bomp information if client-side program conforms to rule, use legal program to supervise described client to described client-side program; If the software latest version information of returning on the described version server version information more current than described client-side program is new, such as the software latest edition this shop that returns on the described version server version number height more current than described client-side program, then described client-side program is connected with described document upgrading server, request obtains the up-to-date upgrade data of software, and described document upgrading server returns up-to-date upgrade file data to described client-side program after knowing this request.
Present embodiment is included in the upgrading under the normal timing inquiry upgrade status, and at this moment, the customary flow process that software upgrade service provider is provided with upgrade data may further comprise the steps:
At first, start described version server and described document upgrading server;
Then, up-to-date software upgrade data file is arranged in the described document upgrading server;
At last, the latest version information data of software are arranged in the described version server, upgrade the software version number in the described version server.
Present embodiment also is included in the upgrading under the emergency advance warning upgrade status, such as when certain malignant virus outburst back upgrading antivirus software service provider is carrying out the virus analysis processing and is not completing upgrade file as yet, just can start this emergency advance warning upgrade status, under this emergency advance warning upgrade status, the flow process that software upgrade service provider is provided with upgrade data may further comprise the steps:
At first, start described version server;
Secondly, the emergency advance warning upgrade information of software is arranged in the described version server, an emergent zone bit promptly is set in described version server, make described version server enter the emergency advance warning upgrade status;
Then, prepare up-to-date software upgrade data;
Once more, after up-to-date software upgrade data is ready to complete, described upgrade data is arranged in the described document upgrading server;
Then, the latest version information data of software are arranged in the described version server, upgrade the software version number in the described version server;
At last, cancellation is arranged at the emergency advance warning upgrade information of the software in the described version server, makes described version server return normal timing inquiry upgrade status.
As shown in Figure 1, the upgrading flow process of present embodiment client-side program may further comprise the steps: step, Connection Step, comparison step, upgrade step, determining step are set, are described below respectively:
Step is set, it is initial value N=n from the default Fixed Time Interval of the described version server that is dynamically connected that described client-side program is set, with guarantee client in the longest N chronomere with described document upgrading server sync, described initial value n user can determine voluntarily, also can determine, not only can obtain the up-to-date upgrade information of software faster but also do not cause the custom system resource and the anxiety of upgrade server resource from the default Fixed Time Interval of the described version server that is dynamically connected to guarantee described client-side program according to software developer's recommendation;
Connection Step is connected once with described version server to make described client-side program every one section described time N, automatically to obtain the software latest version information on the described version server;
Comparison step, the current version information of more described client-side program and the software latest version information on the described version server, the version information more current than described client-side program as if the software latest version information on the described version server is new, then carry out described upgrade step, carry out described determining step then, otherwise carry out described determining step;
Upgrade step, described client-side program connect described document upgrading server, and the up-to-date upgrade data of downloaded software is upgraded;
Determining step, be used to judge and whether have the emergency advance warning upgrade information on the described version server, whether promptly emergent zone bit is opened, if emergent zone bit is opened on the described version server, there is the emergency advance warning upgrade information, then client is adjusted into N=m with described default Fixed Time Interval N value, m<n, carry out described Connection Step then, described comparison step, otherwise, detect current N value and the described size that the described default Fixed Time Interval initial value n of step setting is set, if N ≠ n, then current N value is adjusted into automatically the big or small N=n of initial value n, carries out described Connection Step then, described comparison step, wherein, the m value is according to the urgency level of emergency rating, expectation setup time of upgrade data and determining, generally speaking, if the expectation setup time weak point of the urgency level height of emergency rating and/or upgrade data, then the m value is set to less value.
Version server of the present invention separates in logic with described document upgrading server, can be implemented in same the physical computer in reality realizes.
The present invention can be widely used in having a plurality of users' Distributed Application software systems, such as antivirus software and online game.
Under the situation that does not break away from inventive concept, all application instructions of the present invention and accompanying drawing content and the various equivalences of being done change, and all reason is with being contained in the claim scope of the present invention.

Claims (1)

1, a kind of method for upgrading software that in computer system, uses, described computer system comprises version server, the document upgrading server, client computer, described version server, described document upgrading server, described client computer is connected to each other, described version server is provided with the latest version information data of software, described document upgrading server is provided with software upgrade data, described client computer is provided with the client-side program that is used to upgrade, it is characterized in that said method comprising the steps of: step is set, Connection Step, comparison step, upgrade step, determining step, promptly
Step is set, it is initial value N=n from the default Fixed Time Interval of described version server of being dynamically connected that described client-side program is set, and software latest version information data in the described version server and the software upgrade data in the described document upgrading server are set;
Connection Step is connected once described client-side program every one section described time interval N automatically with described version server, obtain the software latest version information on the described version server;
Comparison step, be used for the current version information of more described client-side program and the software latest version information on the described version server, the version information more current than described client-side program as if the software latest version information on the described version server is new, then carry out described upgrade step, carry out described determining step then, otherwise carry out described determining step;
Upgrade step, described client-side program connect described document upgrading server, downloaded software upgrade data;
Determining step, be used to judge and whether have the emergency advance warning upgrade information on the described version server, if there is the emergency advance warning upgrade information on the described version server, then the above default Fixed Time Interval N value of client is turned down and be N=m, carry out described Connection Step, described comparison step then, otherwise, detect current N value and the described size that the described default Fixed Time Interval initial value n of step setting is set, if N ≠ n, then current N value is adjusted into N=n automatically, carries out described Connection Step, described comparison step then.
CNB2005100343055A 2005-04-22 2005-04-22 Software upgrading method for use in computer systems Expired - Lifetime CN100337200C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100343055A CN100337200C (en) 2005-04-22 2005-04-22 Software upgrading method for use in computer systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100343055A CN100337200C (en) 2005-04-22 2005-04-22 Software upgrading method for use in computer systems

Publications (2)

Publication Number Publication Date
CN1700173A CN1700173A (en) 2005-11-23
CN100337200C true CN100337200C (en) 2007-09-12

Family

ID=35476248

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100343055A Expired - Lifetime CN100337200C (en) 2005-04-22 2005-04-22 Software upgrading method for use in computer systems

Country Status (1)

Country Link
CN (1) CN100337200C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546246A (en) * 2011-12-28 2012-07-04 创新科存储技术(深圳)有限公司 Method and system for automatic upgrade of software

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594613A (en) * 2009-06-22 2009-12-02 中兴通讯股份有限公司 The method of terminal equipment and upgrading thereof, system
CN101594253B (en) * 2009-06-23 2011-12-28 中兴通讯股份有限公司 Method and system for single board upgrading
CN101715191B (en) * 2009-11-05 2013-07-03 中兴通讯股份有限公司 Method and system for registering tour guide navigation terminal
CN102096772B (en) * 2011-01-30 2012-11-21 北京恒华伟业科技股份有限公司 Smart client system of power transmission and transformation project
CN102624771B (en) * 2011-08-05 2015-10-28 小米科技有限责任公司 A kind of method of client upgrading
CN103379129B (en) * 2012-04-12 2016-12-14 阿里巴巴集团控股有限公司 A kind of method of data synchronization, server and distributed system
CN104350476B (en) * 2014-04-22 2017-06-27 华为终端有限公司 A version detection cycle adjustment method and device
CN107317830B (en) * 2016-04-26 2021-05-18 中兴通讯股份有限公司 Method and device for processing service discovery
CN106990948B (en) * 2016-10-14 2020-12-11 深圳大宇无限科技有限公司 Application upgrading processing method and device
JP6904135B2 (en) * 2017-07-26 2021-07-14 京セラドキュメントソリューションズ株式会社 Electronic device and setting value change program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1477500A (en) * 2002-08-19 2004-02-25 万达信息股份有限公司 Software automatic upgrading and updating method under Client/Server frame
US6725377B1 (en) * 1999-03-12 2004-04-20 Networks Associates Technology, Inc. Method and system for updating anti-intrusion software
US20040237079A1 (en) * 2000-03-24 2004-11-25 Networks Associates Technology, Inc. Virus detection system, method and computer program product for handheld computers
CN1584865A (en) * 2003-08-21 2005-02-23 珠海金山软件股份有限公司 Comptuer software updating method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6725377B1 (en) * 1999-03-12 2004-04-20 Networks Associates Technology, Inc. Method and system for updating anti-intrusion software
US20040237079A1 (en) * 2000-03-24 2004-11-25 Networks Associates Technology, Inc. Virus detection system, method and computer program product for handheld computers
CN1477500A (en) * 2002-08-19 2004-02-25 万达信息股份有限公司 Software automatic upgrading and updating method under Client/Server frame
CN1584865A (en) * 2003-08-21 2005-02-23 珠海金山软件股份有限公司 Comptuer software updating method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
常见杀毒软件升级之道 韩韶辉,电脑知识与技术 2000 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546246A (en) * 2011-12-28 2012-07-04 创新科存储技术(深圳)有限公司 Method and system for automatic upgrade of software

Also Published As

Publication number Publication date
CN1700173A (en) 2005-11-23

Similar Documents

Publication Publication Date Title
US12020014B1 (en) Security patch update processor
CN100337200C (en) Software upgrading method for use in computer systems
US9116776B2 (en) Updating software objects
US7003767B2 (en) System and method for remotely updating software applications
EP2021937B1 (en) Techniques to perform gradual upgrades
US20090328026A1 (en) Update system, program execution device, and computer program
WO2021227677A1 (en) Scene pushing method, scene executing method, scene pushing device, scene executing device, terminal, server, and system
CN101017435A (en) Method and apparatus used for upgrading software
CN102682242A (en) Security enforcement in virtualized systems
CN101346714B (en) Method for guaranteeing execution of content image in computer system
WO2022267677A1 (en) Version updating method, apparatus, and device based on entire site grayscale, and storage medium
CN1684427A (en) A software upgrade and rollback method
CN102546246A (en) Method and system for automatic upgrade of software
CN1690961A (en) Client program automatic update system and method
US7216344B2 (en) Side-by-side drivers
JP2002007129A (en) Method for updating software and system for the same
CN105141608B (en) The safety i.e. system and method for service are provided in a kind of cloud operating system
CN113326052B (en) Business component upgrade method, device, computer equipment and storage medium
CN105447383B (en) Browser execution environment detection method, client, server and system
CN112954040A (en) Method, system, device and storage medium for embedding application release server
CN101051307A (en) Applied file renewing system and method
CN104111862A (en) Method and system for obtaining IP (Internet Protocol) address of virtual machine in cloud computing platform
CN117891470A (en) Software silence installation method, device, computer equipment and storage medium
CN116743762A (en) Service registration cluster flow switching method, flow switching device and storage medium
WO2015061613A1 (en) Methods and systems for automatic configuration of algorithms in a system based on self aware algorithms

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
C56 Change in the name or address of the patentee

Owner name: ZHUHAI KINGSOFT SOFTWARE CO., LTD.

Free format text: FORMER NAME: ZHUHAI JINSHAN SOFTWARE CO. LTD.

CP01 Change in the name or title of a patent holder

Address after: Jinshan computer Building No. 8 Jingshan Hill Road, Lane 519000 Lianshan Jida Zhuhai city in Guangdong Province

Patentee after: Zhuhai Kingsoft Software Co.,Ltd.

Address before: Jinshan computer Building No. 8 Jingshan Hill Road, Lane 519000 Lianshan Jida Zhuhai city in Guangdong Province

Patentee before: Zhuhai Kingsoft Software Co.,Ltd.

EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20051123

Assignee: BEIJING KINGSOFT INTERNET SECURITY SOFTWARE Co.,Ltd.

Assignor: Zhuhai Kingsoft Software Co.,Ltd.

Contract record no.: 2014990000718

Denomination of invention: Software upgrading method for use in computer systems

Granted publication date: 20070912

License type: Common License

Record date: 20140826

LICC Enforcement, change and cancellation of record of contracts on the licence for exploitation of a patent or utility model
CX01 Expiry of patent term

Granted publication date: 20070912

CX01 Expiry of patent term