CN1331045C - Software automatic upgrading and updating method under Client/Server frame - Google Patents

Software automatic upgrading and updating method under Client/Server frame Download PDF

Info

Publication number
CN1331045C
CN1331045C CNB021365741A CN02136574A CN1331045C CN 1331045 C CN1331045 C CN 1331045C CN B021365741 A CNB021365741 A CN B021365741A CN 02136574 A CN02136574 A CN 02136574A CN 1331045 C CN1331045 C CN 1331045C
Authority
CN
China
Prior art keywords
software
ftp
server
client
scripted code
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
CNB021365741A
Other languages
Chinese (zh)
Other versions
CN1477500A (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.)
WANDA INFORMATION CO Ltd
Original Assignee
WANDA INFORMATION 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 WANDA INFORMATION CO Ltd filed Critical WANDA INFORMATION CO Ltd
Priority to CNB021365741A priority Critical patent/CN1331045C/en
Publication of CN1477500A publication Critical patent/CN1477500A/en
Application granted granted Critical
Publication of CN1331045C publication Critical patent/CN1331045C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

The present invention provides a software automatic upgrading and updating method under a client/server frame. The traditional software upgrading and updating method needs a client software user to have certain professional knowledge, and the operation is complicated and easy to make mistakes. The method provided by the present invention obviously overcomes the defects of the traditional method; the application software does not need manual intervention of the user, and the application software automatically compares the currently used software version number with the latest version number; if necessary, the application software automatically downloads the latest software to automatically upgrade and update the software.

Description

The method of software automatic upgrading and updating under a kind of Client/Server framework
Technical field
The present invention relates to software upgrading method for updating in the field of computer technology, relate in particular to the method for software automatic upgrading and updating under a kind of Client/Server framework.
Background technology
In the client/server framework, the renewal of often need upgrading of the application software of client (client end), traditional method is that the user connects the ftp server by hand, utilize ftp that required software download is finished renewal to this locality, but this way has following shortcoming.
1. the client user is had relatively high expectations, the client user must be the personage that can use the comparison specialty of some conventional ftp orders:
2. operation more complicated is made mistakes easily;
3. to notify the client user to download which module before downloading, the one, waste time and energy, the 2nd, download wrong file easily or omit file.
Because the most of genus of client user non-computer professional, this method is all lacking feasibility in a lot of actual conditions.
Another kind of popular Oftware updating method is to set up the web website at server end (server end), the software that needs are upgraded is placed on the server and the link of this software of guiding is set on the web page or leaf, and the user only needs to click this link at this web website and can download.Compare with a last method, download simple to operate also do not need the too technology of specialty, but this method also exists following shortcoming.
1. to set up a web website, increase the expense of time and funds;
2. need before the software download to notify the user which website to download which software to, cumbersome;
3. be unfamiliar with the user of web operation for some, the also difficult operation of this method.
Summary of the invention
Some shortcomings at above classic method existence, the method that the purpose of this invention is to provide a kind of automatic software updating upgrading, this method makes the client user just can not carry out software upgrading easily by the step and the corresponding professional technique of complexity, new edition software publisher's software issuing steps is oversimplified, thereby raised the efficiency.
The present invention realizes by following method:
At first, set up two tables in the database of server end, a table is called the ip address that address table is used to preserve the ftp server, like this, even the ftp server has become, if the data in the modification database address table, and do not need update routine.And another table is called the version information table, is used to preserve the latest version information of software.
On the ftp server, place software and a plurality of individual ftp scripted code of latest edition.Each individual ftp scripted code is corresponding one by one with correlation subsystem, the information that wherein comprises is the title and the deposit path of this software at server end of the application software of needs download, it is fixed that content in the individual ftp scripted code is come by the software publisher, as the deposit path of required downloaded software at server end, and to download which file, can change flexibly according to software publisher's needs.
On client, comprised the version number of this software self in the application software that the client uses, this software can carry out the comparison of version number.An auto-update program and public ftp scripted code have also been put on the client.These two parts are public, and its code content is constant.Comprised the part of carrying out public ftp scripted code and individual ftp scripted code in the auto-update program.
System realizes that the concrete steps of automatic upgrading and updating are as follows:
A. the preparation before the auto-update: the application software of latest edition is placed on the ftp server, has comprised the latest edition this shop of self in the software; Simultaneously up-to-date individual ftp scripted code is also placed on the ftp server.In the version information table of database, deposit with the latest edition application software in the corresponding to software version number of version number that comprises;
B. version comparison process: the user moves application software after connecting server, system takes out latest edition this shop and current use software from the version information table of server in the software login process version number compares, if the version number of current use software is lower than described latest edition this shop, execution in step c then, otherwise execution in step f;
C: call the auto-update program process: system moves the auto-update program, obtains the title of correlation subsystem, obtains the ip address of ftp server from address table, and they are passed to the auto-update program as parameter; Simultaneity factor is closed described application software;
D: download individual ftp scripted code process: the auto-update program is carried out public ftp scripted code, downloads all up-to-date individual ftp scripted codes with ftp mode relevant position from the server;
E: downloading application software process: the auto-update program is carried out corresponding individual ftp scripted code according to the described correlation subsystem title that obtains among the step c, downloads corresponding application software with the ftp mode, thereby finishes software upgrading;
F: finish.
This method has successfully solved the upgrade function of client application software, and the software user of client does not need to be grasped the ftp technology, as long as operating software, all upgrade jobs are finished automatically by the client computer.In addition,, as long as software is placed on the ftp server, revise simultaneously that the version number in the version information table gets final product in the database, operate also fairly simple for the software publisher.
Description of drawings
Fig. 1: automatic software updating upgrading structural drawing
Embodiment
The present invention is described in detail below in conjunction with drawings and Examples, and the Client end has one 1.0 editions name to be called the software of app1 in this example, need be upgraded to 2.0 editions.
As shown in Figure 1, Server end 1 comprises server 2 and ftp server 3, sets up two tables in the database of server 2, and table one is an address table, and its name is called t_config, is used to preserve the ip address of ftp server; Table two is version information tables, its name is called t_version, be used to preserve the information of the latest edition this shop of software, comprising the title app_name of software to be updated and the latest version information Version of this software, version information table t_version comprises a record in the present embodiment, the content of its app_name is " app1 ", and the content of its Version is " 2.0 ".
On the ftp server 3 of server end 1, place app1 software and a up_app1.ftp file of 2.0 versions corresponding to app1 software, promptly individual ftp scripted code, the effect of this scripted code is to download app1 software.
On client end 4, the app1 software of 1.0 versions is arranged, also have an auto-update program up.bat and public ftp scripted code pub.ftp.Content among the up.bat is to call public ftp scripted code pub.ftp earlier, calls up_app1.ftp again.Content among the pub.ftp is to download individual ftp scripted code up_app1.ftp from server.
When the user connects server database, when moving the app1 software of 1.0 versions, in the software login process, the version number 1.0 that takes out the software of latest edition this shop 2.0 and current use in the version field from the version information table t_version of server compares.Because the version number of current use is littler than the latest edition this shop that takes out among the t_version on the server, so app1 software needs upgrading, at this moment will move auto-update program up.bat, also obtain book systematic name " app1 " simultaneously, and the ip address that from address table t_config, obtains the ftp server, and pass to up.bat as parameter with these two, close app1 software at last.
Up.hat calls public ftp scripted code pub.ftp earlier, utilizes ftp mode relevant position from the ftp server 3 to download all up-to-date individual ftp scripted codes (comprising up_app1.ftp).
After up.bat executes behind the pub.ftp scripted code, continue to carry out individual ftp scripted code, because this parameter of subsystem title " app1 " has been passed to up.bat, therefore only to call the individual ftp scripted code that is complementary with native system be up_app1.ftp to up.bat, simultaneously, up_app1.ftp is just-downloaded, so the content of the inside is up-to-date, the path of depositing that has comprised the app1 that will download, with required downloaded files (app1 of version 2 .0), by the app1 of the version 2 .0 on the ftp mode Download Server, covered the original app1 of this machine, thereby finished upgrade job.

Claims (5)

1. the method for software automatic upgrading and updating under the Client/Server framework is characterized in that, said method comprising the steps of:
At first set up two tables in the data in server storehouse, one is address table, is used to preserve ftp server ip address, and another is the version information table, is used to preserve the information that comprises software latest edition this shop; Its subsystem is realized software automatic upgrading and updating, and concrete steps are as follows:
A: at first the application software with latest edition leaves on the ftp server, comprises its latest edition this shop in the software; Described latest edition this shop is left in the version information table of database; Up-to-date individual ftp scripted code is also left on the ftp server;
B: the user moves application software after connecting server, system takes out described latest edition this shop from described database version information table in the software login process, if the version number of current use software is lower than described latest edition this shop, execution in step c then, otherwise execution in step f;
C: system moves the auto-update program, obtains the title of correlation subsystem, obtains the ip address of ftp server from address table, and they are passed to the auto-update program as parameter; Simultaneity factor is closed described application software;
D: the auto-update program is carried out public ftp scripted code, downloads all up-to-date individual ftp scripted codes with ftp mode relevant position from the server;
E: the auto-update program is carried out corresponding individual ftp scripted code according to the described correlation subsystem title that obtains among the step c, downloads corresponding application software with the ftp mode, thereby finishes software upgrading;
F: finish.
2. the method for software automatic upgrading and updating under a kind of Client/Server framework as claimed in claim 1, it is characterized in that, place software and a plurality of individual ftp scripted code of latest edition on the ftp server in advance, each individual ftp scripted code is corresponding one by one with correlation subsystem, comprises application software title that needs download and this software in path that server end is deposited.
3. the method for software automatic upgrading and updating is characterized in that under a kind of Client/Server framework as claimed in claim 1, and on client, the application software that the client uses has comprised described version number, and can contrast version number; Also have an auto-update program and public ftp scripted code on the client.
4. the method for software automatic upgrading and updating is characterized in that under a kind of Client/Server framework as claimed in claim 3, has comprised the individual ftp scripted code that needs are downloaded in the described public ftp scripted code.
5. the method for software automatic upgrading and updating is characterized in that under a kind of Client/Server framework as claimed in claim 3, and described auto-update program has comprised the part of carrying out described public ftp scripted code and individual ftp scripted code.
CNB021365741A 2002-08-19 2002-08-19 Software automatic upgrading and updating method under Client/Server frame Expired - Lifetime CN1331045C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB021365741A CN1331045C (en) 2002-08-19 2002-08-19 Software automatic upgrading and updating method under Client/Server frame

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB021365741A CN1331045C (en) 2002-08-19 2002-08-19 Software automatic upgrading and updating method under Client/Server frame

Publications (2)

Publication Number Publication Date
CN1477500A CN1477500A (en) 2004-02-25
CN1331045C true CN1331045C (en) 2007-08-08

Family

ID=34146549

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB021365741A Expired - Lifetime CN1331045C (en) 2002-08-19 2002-08-19 Software automatic upgrading and updating method under Client/Server frame

Country Status (1)

Country Link
CN (1) CN1331045C (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102331942A (en) * 2011-07-07 2012-01-25 曙光信息产业股份有限公司 Method for automatically upgrading BIOS (basic input/output system) and Linux core
WO2014063461A1 (en) * 2012-10-24 2014-05-01 北京网秦天下科技有限公司 Automatic download method and system
US10970064B1 (en) 2020-07-28 2021-04-06 Bank Of America Corporation Dynamically updating a software program to resolve errors

Families Citing this family (46)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100373861C (en) * 2004-04-21 2008-03-05 华为技术有限公司 Software upgrade device in communication network management system and method thereof
CN1320801C (en) * 2004-10-09 2007-06-06 中国工商银行股份有限公司 Computer auxilary security method and system
CN100365571C (en) * 2004-10-29 2008-01-30 英业达股份有限公司 Software updating apparatus and method
US9201641B2 (en) * 2004-12-24 2015-12-01 Telecom Italia S.P.A. Method and system for upgrading the software of a telecommunication terminal, in particular of a video telephone, and related computer program product
CN100337200C (en) * 2005-04-22 2007-09-12 珠海金山软件股份有限公司 Software upgrading method for use in computer systems
CN100407650C (en) * 2005-11-10 2008-07-30 中国工商银行股份有限公司 Software edition updating system in distributed service system and its method
CN100451965C (en) * 2005-12-07 2009-01-14 英业达股份有限公司 Dynamic updating programe method
CN100395707C (en) * 2006-02-07 2008-06-18 华为技术有限公司 Method of upgrading sequence
CN100385855C (en) * 2006-03-31 2008-04-30 华为技术有限公司 System and its method for central remote automatic upgrading software
CN101119143B (en) * 2006-08-01 2012-04-18 华为技术有限公司 Tower amplifier software updating method and system and tower amplifier
CN100442230C (en) * 2006-08-04 2008-12-10 华为技术有限公司 Method and system for software multi-version upgrading
CN100403263C (en) * 2006-08-16 2008-07-16 华为技术有限公司 Method for loading equipment software according to allocation
CN101136770B (en) * 2006-10-13 2010-12-29 中兴通讯股份有限公司 Automatically upgrading method and apparatus for telecom multi-branch network management system
CN100414498C (en) * 2006-10-26 2008-08-27 山东浪潮齐鲁软件产业股份有限公司 SERVER edition code generation system capable of realizing code reutilizization
CN100550780C (en) * 2007-06-13 2009-10-14 华为技术有限公司 The method of Control Software edition upgrading, equipment and system
WO2009086681A1 (en) * 2007-12-29 2009-07-16 Zte Corporation Method for updating wimax system network card
CN101262684B (en) * 2008-04-18 2011-07-13 中兴通讯股份有限公司 A version upgrade detection method for mobile communication system
CN101383821B (en) * 2008-05-28 2012-07-04 腾讯数码(深圳)有限公司 Updating method and system for game service installation packet
CN101656623B (en) * 2008-08-21 2012-01-11 华为技术有限公司 Software installing method, sever and system
CN101770375A (en) * 2008-12-26 2010-07-07 新奥特(北京)视频技术有限公司 Method for realizing automatic update of software as well as system and device therefor
CN101594390A (en) * 2009-06-17 2009-12-02 中兴通讯股份有限公司 A kind of ftp client and its implementation
CN101610449B (en) * 2009-07-07 2011-12-28 中兴通讯股份有限公司 Method for upgrading and rolling back configuration data and system thereof
CN101694626B (en) * 2009-09-30 2013-03-20 曙光信息产业(北京)有限公司 Script execution system and method
CN102043650A (en) * 2009-10-23 2011-05-04 镇江精英软件科技有限公司 Method for automatically upgrading client program by FTP (file transfer protocol) technology
CN101895872A (en) * 2010-07-16 2010-11-24 南京烽火星空通信发展有限公司 Method for conveniently downloading application program for mobile terminal
CN102025778A (en) * 2010-11-25 2011-04-20 成都勤智数码科技有限公司 Software version upgrading work method based on Shell
CN102096772B (en) * 2011-01-30 2012-11-21 北京恒华伟业科技股份有限公司 Smart client system of power transmission and transformation project
CN102541593A (en) * 2011-12-20 2012-07-04 福建星网视易信息系统有限公司 Rapid comparison method of versions of remote files
CN102546629B (en) * 2011-12-31 2015-07-08 北京金山软件有限公司 File transmission system and method
CN102611581B (en) * 2012-04-09 2015-03-25 上海市共进通信技术有限公司 System and method for performing self-service upgrade on firmware of network terminal equipment
CN102799448A (en) * 2012-06-27 2012-11-28 惠州华阳通用电子有限公司 Intelligent software upgrading method for vehicle-mounted terminal equipment
CN103024026A (en) * 2012-12-07 2013-04-03 康佳集团股份有限公司 Multi-screen interactive software auto update method and system based on Android
CN103136027B (en) * 2013-03-01 2016-08-24 畅捷通信息技术股份有限公司 Immediate updating device and immediate updating method
CN103092665B (en) * 2013-03-01 2016-08-03 畅捷通信息技术股份有限公司 Immediate updating device and immediate updating method
CN103150185A (en) * 2013-03-15 2013-06-12 汉柏科技有限公司 Method for automatic upgrading of virtual machine Agent
CN105812404A (en) * 2014-12-29 2016-07-27 罗伯特·博世有限公司 Data upgrading method and device for vehicle diagnosis equipment and vehicle diagnosis equipment
CN105099780A (en) * 2015-08-12 2015-11-25 北京思特奇信息技术股份有限公司 Automatic file publishing or upgrading method and system thereof
CN105071971A (en) * 2015-08-26 2015-11-18 广州云宏信息科技股份有限公司 Method for automatically upgrading server side
CN105183529A (en) * 2015-10-29 2015-12-23 浪潮(北京)电子信息产业有限公司 Method for refreshing server firmware, target server, source server and system
CN105867941A (en) * 2016-04-18 2016-08-17 深圳市永兴元科技有限公司 Software upgrading system and realization method thereof
CN106293833A (en) * 2016-08-09 2017-01-04 衣佳鑫 The loading method of Internet of Things application program and system
CN107483591A (en) * 2017-08-22 2017-12-15 中国银行股份有限公司 A kind of script file synchronous method and device
CN107623603A (en) * 2017-10-20 2018-01-23 泸州北方化学工业有限公司 Client software automatic update method, client and storage medium
CN108495196A (en) * 2018-03-13 2018-09-04 刘伟 data processing method and device for video game
CN110459022A (en) * 2019-08-13 2019-11-15 杭州有赞科技有限公司 A kind of Small Ticket Printing System and method
CN112612693A (en) * 2020-12-11 2021-04-06 广州朗国电子科技有限公司 Method, device and storage medium for automatically checking application software version

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1201190A (en) * 1997-04-11 1998-12-09 三星电子株式会社 Method for managing portable information terminal file
US6167407A (en) * 1998-06-03 2000-12-26 Symantec Corporation Backtracked incremental updating
CN1288199A (en) * 1999-09-09 2001-03-21 日本电气株式会社 Method for updating customer's mounting data respons costomer raising events
US6405219B2 (en) * 1999-06-22 2002-06-11 F5 Networks, Inc. Method and system for automatically updating the version of a set of files stored on content servers

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1201190A (en) * 1997-04-11 1998-12-09 三星电子株式会社 Method for managing portable information terminal file
US6167407A (en) * 1998-06-03 2000-12-26 Symantec Corporation Backtracked incremental updating
US6405219B2 (en) * 1999-06-22 2002-06-11 F5 Networks, Inc. Method and system for automatically updating the version of a set of files stored on content servers
CN1288199A (en) * 1999-09-09 2001-03-21 日本电气株式会社 Method for updating customer's mounting data respons costomer raising events

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102331942A (en) * 2011-07-07 2012-01-25 曙光信息产业股份有限公司 Method for automatically upgrading BIOS (basic input/output system) and Linux core
WO2014063461A1 (en) * 2012-10-24 2014-05-01 北京网秦天下科技有限公司 Automatic download method and system
US10970064B1 (en) 2020-07-28 2021-04-06 Bank Of America Corporation Dynamically updating a software program to resolve errors

Also Published As

Publication number Publication date
CN1477500A (en) 2004-02-25

Similar Documents

Publication Publication Date Title
CN1331045C (en) Software automatic upgrading and updating method under Client/Server frame
US8606765B2 (en) Systems and methods for updating software appliances
CN102195802B (en) Terminal software transmission method, server and terminal
EP2021937B1 (en) Techniques to perform gradual upgrades
CN101770515B (en) Data block comparison based data updating method
CN101136770B (en) Automatically upgrading method and apparatus for telecom multi-branch network management system
CN100442712C (en) Method and system for realizing network terminal equipment configuration automatic updating
US6370646B1 (en) Method and apparatus for multiplatform migration
CN102231163B (en) System and method for synchronously and preferentially updating specified file
US20030225927A1 (en) Method and apparatus for multiplatform migration
US20150220245A1 (en) Branded computer devices and apparatus to connect user and enterprise
CN101212336A (en) Automatic software update method for client, auxiliary method and related device
CN101154156A (en) Wallpaper updating device and method thereof
CN105094964A (en) Virtual machine migration method and system
CN101546269A (en) System and method capable of executing file version updating
CN101483556A (en) Automatic upgrading method and system for switch remote target terminal
CN108037937A (en) A kind of method of dynamic more new resources
CN106020896A (en) Automated program issuing method based on private cloud
CN103049283A (en) Automatic updating method for setting version numbers for every software file
CN101848430B (en) Device and method for service request authentication, service request authentication system and method of service request authentication system
CN101833463A (en) Method and system for updating data card firmware
CN110533181A (en) A kind of quick training method and system of deep learning model
CN101482883A (en) Method and system for on-line updating characteristic character library
CN104123160A (en) Element level updating method for navigation equipment
CN1218246C (en) Automatic upgrading method for business management access point in intelligent network

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
CX01 Expiry of patent term

Granted publication date: 20070808

CX01 Expiry of patent term