CN102043650A - Method for automatically upgrading client program by FTP (file transfer protocol) technology - Google Patents
Method for automatically upgrading client program by FTP (file transfer protocol) technology Download PDFInfo
- Publication number
- CN102043650A CN102043650A CN200910233749XA CN200910233749A CN102043650A CN 102043650 A CN102043650 A CN 102043650A CN 200910233749X A CN200910233749X A CN 200910233749XA CN 200910233749 A CN200910233749 A CN 200910233749A CN 102043650 A CN102043650 A CN 102043650A
- Authority
- CN
- China
- Prior art keywords
- program
- client
- version
- ftp
- upgrading
- 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.)
- Pending
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to a practical application of a client program automatic upgrading technology in police traffic management industry. In a C/S (client/server) architecture system, the upgrading of a client program is always troublesome. The method comprises the following steps: giving a unique version number to each upgraded program; before upgrading, submitting the new version number, the FTP (file transfer protocol) address information on which the new program is stored, the service life of the version of the program and the like to a relevant information table in a database; setting the service lives of other version numbers in history as being unexpired; and when the client system starts, automatically acquiring the new version of the program to update the client program by the system according to the FTP address information if detecting that the current version has expired, thereby realizing the automatic upgrading of the client program.
Description
Technical field
The present invention relates to the practical application of technology in public security traffic control industry of client-side program auto-update, in the system of C/S framework, the client-side program upgrading is pretty troublesome thing always, the present technique method is by giving unique version number of program of each upgrading, before upgrading new version number, information such as the FTP address information that new procedures is deposited and this version program term of life are submitted in the database relevant information table, be provided with the use term of validity of historical other version number not out of date then, the program of the own current version of system discovery is out of date when client starts will remove to obtain new version program automatically according to the FTP address information and upgrade client-side program, realizes the auto-update of client-side program by said method.
Background technology
C/S and B/S pattern are the system architecture patterns of present two kinds of main flows, and the characteristic and the relative merits of two kinds of patterns are as follows:
1, the performance of system
Aspect of performance in system, B/S take advantage is that the dirigibility with information acquisition is browsed in its strange land.Any time, any place, any system, as long as can use the browser online, just can use the terminal of B/S system.But, adopt the B/S structure, simple functions such as client can only be finished and browse, inquiry, data input, overwhelming majority work is born by server, and this makes load of server very heavy.When adopting the C/S structure, the client and server end can both Processing tasks, though therefore this can alleviate the pressure of server to the having relatively high expectations of client computer.And, because client is used browser, making that online information releasing must be based on html format, other formatted file is to deposit with the form of annex mostly.And html format file (the Web page just) is not easy to edit-modify, has brought many inconvenience to file management.
2, the exploitation of system
The C/S structure is based upon on the middleware product basis, require that the own place to go director of application developer is engaged in managing, message queue, data duplicate and synchronously, system-level problem such as communication security.This has proposed higher requirement to using the developer, and forces a lot of energy of application developer input to solve application program problem in addition.This makes maintenance, transplanting and the interoperability of application program become complicated.If client is on different operating system, the software of C/S structure need be developed the client software of different editions.But, to compare with the B/S structure, C/S technical development history is " long " more.From technology maturity and software design, developer's grasp level, the C/S technology should be more ripe, more reliable.
3, the upgrade maintenance of system
Some changes in the each several part module of C/S system, will be associated with the change of other module, makes the system upgrade cost bigger.B/S compares with the C/S tupe, has then simplified client greatly, as long as client machine can be surfed the Net and just can.For B/S, nearly all work such as exploitation, maintenance also all concentrate on server end, when enterprise upgrades to network application, the software that only needs update service device end just can, this has alleviated the strange land custom system and has safeguarded and the cost of upgrading.If the software system updating of client is more frequent, the product advantage of B/S framework is obvious so---and all updating operation only need be carried out at server, this is of great value to those multi-point and wide-ranging application, for example some recruitment websites just need to adopt the B/S pattern, client is disperseed, and use simply, only need simply browse typing with a little information.
4, the merits and demerits of C/S model
The advantage of ★ C/S model
Because client realizes linking to each other with the direct of server, do not have intermediate link, so response speed is fast.
Operation interface is beautiful, various informative, can fully satisfy client's self personalized requirement.
The management information system of C/S structure has stronger transaction capabilities, can realize the complicated service flow process.
The shortcoming of ★ C/S model
Need special installation program of client, a little less than the distributed function,, can not realize disposing fast and install and configuration at multi-point and wide-ranging and do not possess the user group of network condition.
Poor compatibility for different developing instruments, has bigger limitation.If adopt different instruments, need rewrite program again.
Cost of development is higher, and the technician that need have certain professional level just can finish.
5, the merits and demerits of B/S pattern
The advantage of ★ B/S pattern
Have the distributivity characteristics, business processing such as can inquire about, browse whenever and wherever possible.
Professional expansion is simple and convenient, can increase server capability by increasing webpage.
Safeguard simple and conveniently, only need to change webpage, can realize all users' synchronous renewal.
Exploitation is simple, and sharing is strong.
The shortcoming of ★ B/S pattern
Personalization features obviously reduces, and can't realize having personalized functional requirement.
Operation is to be the most basic mode of operation with mouse, can't satisfy quick operating requirement.
Page dynamic refresh, response speed obviously reduces.
Can't realize Pagination Display, cause bigger pressure to database access.
Function reduction is difficult to realize the specific function requirement under the traditional mode.
Summary of the invention
The objective of the invention is to: the client-side program upgrading troublesome problem that solves the C/S construction system, by giving unique version number of program of each upgrading, before upgrading new version number, information such as the FTP address information that new procedures is deposited and this version program term of life are submitted in the database, be provided with the use term of validity of historical other version number not out of date then, the program of the own current version of system discovery is out of date when client starts will remove to obtain new version program automatically according to the FTP address information and upgrade client-side program, realizes the auto-update of client-side program by said method.
Embodiment
Embodiment one
Emphasis vehicle source security control infosystem, this system adopts the development mode of C/S, mainly each cities and counties uses in Jiangsu Province, because the native system place to use is many, and the program of considering will often be revised at the use initial stage, if do not solve the problem of client-side program auto-update, will bring great inconvenience to the user of service.Add background system by the FTP technology and solved this problem.
The process of present embodiment is:
At first give unique version number of program of each upgrading, information such as the FTP address information of before upgrading new version number, new procedures being deposited and this version program term of life are submitted in the database and simultaneously the program of latest edition are put among the corresponding ftp, are provided with the use term of validity of historical other version number not out of date then.
System can be saved in the FTP address information that new procedures is deposited in the local configuration file when secondly the program of the own current version of system discovery was out of date when client starts, start the automatic refresh routine in backstage and close oneself then, refresh routine is downloaded to close after the new procedures success oneself to open then and is removed to obtain new version program automatically and upgrade client-side program, realizes the auto-update of client-side program by said method.It is intervention that whole process does not need the very important person, and all system finishes automatically.
Claims (1)
1. by giving unique version number of program of each upgrading, information such as the FTP address information of before upgrading new version number, new procedures being deposited and this version program term of life are submitted in the database relevant information table, be provided with the use term of validity of historical other version number not out of date then, the program of the own current version of system discovery is out of date when client starts will remove to obtain new version program automatically according to the FTP address information and upgrade client-side program, realizes the auto-update of client-side program by said method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910233749XA CN102043650A (en) | 2009-10-23 | 2009-10-23 | Method for automatically upgrading client program by FTP (file transfer protocol) technology |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910233749XA CN102043650A (en) | 2009-10-23 | 2009-10-23 | Method for automatically upgrading client program by FTP (file transfer protocol) technology |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102043650A true CN102043650A (en) | 2011-05-04 |
Family
ID=43909808
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910233749XA Pending CN102043650A (en) | 2009-10-23 | 2009-10-23 | Method for automatically upgrading client program by FTP (file transfer protocol) technology |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102043650A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103049278A (en) * | 2011-10-11 | 2013-04-17 | 镇江精英软件科技有限公司 | Method for achieving automatic updating of client program of client/server (C/S) framework through file transfer protocol (FTP) technology |
CN103838598A (en) * | 2012-11-27 | 2014-06-04 | 镇江精英软件科技有限公司 | Method for automatically upgrading programs through FTP technology |
CN104424001A (en) * | 2013-09-06 | 2015-03-18 | 镇江精英软件科技有限公司 | Method for realizing automatic upgrading of CS (client/server) architecture program through version control |
CN104793970A (en) * | 2015-04-02 | 2015-07-22 | 安徽四创电子股份有限公司 | Online upgrade method based on FTP |
CN109901860A (en) * | 2019-02-21 | 2019-06-18 | 华数传媒网络有限公司 | A kind of Android phone software version control method |
Citations (2)
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 |
CN101179429A (en) * | 2007-12-03 | 2008-05-14 | 中兴通讯股份有限公司 | Remote exhibition and real-time edition method of configuration file |
-
2009
- 2009-10-23 CN CN200910233749XA patent/CN102043650A/en active Pending
Patent Citations (2)
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 |
CN101179429A (en) * | 2007-12-03 | 2008-05-14 | 中兴通讯股份有限公司 | Remote exhibition and real-time edition method of configuration file |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103049278A (en) * | 2011-10-11 | 2013-04-17 | 镇江精英软件科技有限公司 | Method for achieving automatic updating of client program of client/server (C/S) framework through file transfer protocol (FTP) technology |
CN103838598A (en) * | 2012-11-27 | 2014-06-04 | 镇江精英软件科技有限公司 | Method for automatically upgrading programs through FTP technology |
CN104424001A (en) * | 2013-09-06 | 2015-03-18 | 镇江精英软件科技有限公司 | Method for realizing automatic upgrading of CS (client/server) architecture program through version control |
CN104793970A (en) * | 2015-04-02 | 2015-07-22 | 安徽四创电子股份有限公司 | Online upgrade method based on FTP |
CN109901860A (en) * | 2019-02-21 | 2019-06-18 | 华数传媒网络有限公司 | A kind of Android phone software version control method |
CN109901860B (en) * | 2019-02-21 | 2022-07-01 | 华数传媒网络有限公司 | Android mobile phone software version control method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2021937B1 (en) | Techniques to perform gradual upgrades | |
CN101496000B (en) | Two-way and multi-master synchronization over web syndications | |
CN102567539B (en) | Intelligent WEB report implementation method and intelligent WEB report implementation system | |
CN101388911B (en) | Off-line data collecting method for network application program | |
CN101388904B (en) | GIS service aggregating method, device and system | |
CN102043650A (en) | Method for automatically upgrading client program by FTP (file transfer protocol) technology | |
CN1591445A (en) | Generic method for defining resource configuration profiles in provisioning systems | |
CN102722439B (en) | Method, device and system for improving running stability of FLASH assembly | |
CN103279509A (en) | Fast inquiring method using dynamic inquiring language | |
CN106371874A (en) | Plug-in data loading method and equipment | |
CN102333108A (en) | Distributed cache synchronization system and method | |
CN102044075A (en) | Method for comparing frame number with engine number by using double-layer semitransparent drag | |
CN101729562A (en) | Reliable data transmission method under unreliable network connection | |
CN106648917B (en) | A kind of method and system that difference update is data cached | |
CN104219295A (en) | Server-side configuration based information display method and system for mobile equipment | |
CN101299854B (en) | Mobile terminal and data maintenance method thereof | |
US20060015867A1 (en) | Business productivity pack | |
CN103049278A (en) | Method for achieving automatic updating of client program of client/server (C/S) framework through file transfer protocol (FTP) technology | |
CN103049899A (en) | Method for realizing vehicle identification code comparison by using double-layer semitransparent dragging | |
CN104424001A (en) | Method for realizing automatic upgrading of CS (client/server) architecture program through version control | |
CN103838598A (en) | Method for automatically upgrading programs through FTP technology | |
CN101458628A (en) | Program edition management method | |
CN114579596B (en) | Method and system for updating index data of search engine in real time | |
CN102281326A (en) | Data automatically synchronizing and updating method based on WEB server procedures | |
CN102044074A (en) | Method for comparing steel seal integrity by comparing pixels in point-to-point |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20110504 |