CN104793970A - Online upgrade method based on FTP - Google Patents
Online upgrade method based on FTP Download PDFInfo
- Publication number
- CN104793970A CN104793970A CN201510153607.8A CN201510153607A CN104793970A CN 104793970 A CN104793970 A CN 104793970A CN 201510153607 A CN201510153607 A CN 201510153607A CN 104793970 A CN104793970 A CN 104793970A
- Authority
- CN
- China
- Prior art keywords
- file
- ftp
- version number
- oracle database
- server
- 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
Abstract
The invention relates to an online upgrade method based on an FTP. The method includes the steps that an FTP file server and an Oracle database are built on a server side; a system administrator uploads a file to be issued to the FTP file server on a client side and meanwhile writes the version number and storage address of the file to be issued into the Oracle database; when a user starts the client side, a system compares the version number of a local file stored in the client side with the version number, stored in the Oracle database, of the file to be issued; when the version number of the local file stored in the client side is lower than the version number, stored in the Oracle database, of the file to be issued, the system extracts the storage address of the file to be issued from the Oracle database and downloads the file from the FTP file server from the storage address. By means of the online upgrade method based on the FTP, software upgrade time is greatly shortened, operation and maintenance working efficiency is improved, the problem that online upgrade of client sides is difficult is solved, software can be updated in an online upgrade mode after being installed and deployed once, and maintainability of the software is improved.
Description
Technical field
The present invention relates to client terminal software updating technical field, especially a kind of online upgrading method based on FTP.
Background technology
Along with the continuous renewal of computer technology, client software with new regenerate and become more and more faster, software upgrading is also more and more important, the upgrading of some current softwares is all the field deployment by operation maintenance personnel, adopts artificial mode to carry out system upgrade, if software client One's name is legion, once upgrading will waste a lot of time, so not only have impact on work efficiency, too increase the work of O&M, be also easy to make operation maintenance personnel feel tired loaded down with trivial details.
Summary of the invention
A kind of automatic on-line is the object of the present invention is to provide to upgrade, without the need to artificial participation, the online upgrading method based on FTP of increasing work efficiency.
For achieving the above object, present invention employs following technical scheme: a kind of online upgrading method based on FTP, the method comprises the step of following order:
(1) in service end, ftp file server and oracle database is built;
(2) system manager in client by files passe to be released to ftp file server, simultaneously by the version number of file to be released, memory address write oracle database;
(3) when user opens client, the version number of the file to be released stored in the local file version number stored in client and oracle database compares by system, when the former version number is lower than the latter, system takes out the memory address of file to be released automatically from oracle database, downloads this file according to this memory address from ftp file server.
First on system server, build ftp file server, and configure FTP user's name, password and user resources access rights table; Then, then oracle database is built on system server, the version number of its storage inside file to be released, download address, file model, whether mandatory upgrade and the time of uploading.
System manager on the client transmitting file time, client adopts RSA cryptographic algorithms to treat upload file information and be encrypted, and adopts MD5 value as unique identifier to each file to be uploaded.
Record user ID, password in described user resources access rights table, and whether have permission upload, download, deleted file.
Add normal user permission and system manager's authority of ftp server according to user resources access rights table, domestic consumer has read-only authority, and system manager has access limit.
As shown from the above technical solution, the invention has the advantages that: the first, the present invention adopts FTP online upgrading method, multithreading detects, and retractility is strong, and cpu busy percentage is high, shorten the update time of software greatly, reduce the complicacy of software upgrading, improve the work efficiency of O&M; Second, the invention solves the problem of client online upgrading difficulty, after installation and deployment software can being solved by FTP mode of upgrading, by online upgrading mode update software, improve software maintainability, decrease the workload of operation maintenance personnel installation and deployment.
Accompanying drawing explanation
Fig. 1 is network architecture diagram of the present invention.
Fig. 2,3 is respectively upload file of the present invention, download file method flow diagram.
Embodiment
As shown in Figure 1, 2, 3, a kind of online upgrading method based on FTP, comprising: (1) builds ftp file server and oracle database in service end; (2) system manager in client by files passe to be released to ftp file server, simultaneously by the version number of file to be released, memory address write oracle database; (3) when user opens client, the version number of the file to be released stored in the local file version number stored in client and oracle database compares by system, when the former version number is lower than the latter, system takes out the memory address of file to be released automatically from oracle database, downloads this file according to this memory address from ftp file server.Local file version number and oracle database file version number compare by client, be saved in a list by needing the file downloaded, and obtain the FTP routing information needing download file, then, client removes corresponding ftp file server downloading files according to download list information, upgrade client local file, reach the object of system upgrade.
As shown in Figure 1, first on system server, ftp file server is built, and configure FTP user's name, password and user resources access rights table, the user ensuring corresponding authority can normal upload and download file, the storage of ftp file network in charge file, be responsible for FTP user's upload and download function, the place that when being released version, actual file is deposited simultaneously; Then, oracle database is built again on system server, the version number of its storage inside file to be released, download address, file model, whether mandatory upgrade and the time of uploading, install in oracle database and there is more than 10g, and configuration database service, oracle database is responsible for the fileinfo record user uploaded in a database, as file path, version information, MD5 value etc.
As shown in Figure 1, record user ID, password in described user resources access rights table, and whether have permission upload, download, deleted file.Add normal user permission and system manager's authority of ftp server according to user resources access rights table, domestic consumer has read-only authority, and system manager has access limit.System manager on the client transmitting file time, client adopts RSA cryptographic algorithms to treat upload file information and be encrypted, and adopts MD5 value as unique identifier to each file to be uploaded.
In sum, the present invention mainly adopts File Transfer Protocol to realize client terminal software updating function, and File Transfer Protocol is file transfer protocol (FTP), so be efficient, stable for file transfer; The present invention adopts FTP online upgrading method, and multithreading detects, and retractility is strong, and cpu busy percentage is high, shortens the update time of software greatly, reduces the complicacy of software upgrading, improves the work efficiency of O&M; The invention solves the problem of client online upgrading difficulty, after installation and deployment software can being solved by FTP mode of upgrading, by online upgrading mode update software, improve software maintainability, decrease the workload of operation maintenance personnel installation and deployment.
Claims (5)
1., based on an online upgrading method of FTP, it is characterized in that the method comprises the step of following order:
(1) in service end, ftp file server and oracle database is built;
(2) system manager in client by files passe to be released to ftp file server, simultaneously by the version number of file to be released, memory address write oracle database;
(3) when user opens client, the version number of the file to be released stored in the local file version number stored in client and oracle database compares by system, when the former version number is lower than the latter, system takes out the memory address of file to be released automatically from oracle database, downloads this file according to this memory address from ftp file server.
2. the online upgrading method based on FTP according to claim 1, is characterized in that: first on system server, build ftp file server, and configures FTP user's name, password and user resources access rights table; Then, then oracle database is built on system server, the version number of its storage inside file to be released, download address, file model, whether mandatory upgrade and the time of uploading.
3. the online upgrading method based on FTP according to claim 1, it is characterized in that: system manager on the client transmitting file time, client adopts RSA cryptographic algorithms to treat upload file information and is encrypted, and adopts MD5 value as unique identifier to each file to be uploaded.
4. the online upgrading method based on FTP according to claim 2, is characterized in that: record user ID, password in described user resources access rights table, and whether have permission upload, download, deleted file.
5. the online upgrading method based on FTP according to claim 2, it is characterized in that: normal user permission and system manager's authority of adding ftp server according to user resources access rights table, domestic consumer has read-only authority, and system manager has access limit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510153607.8A CN104793970A (en) | 2015-04-02 | 2015-04-02 | Online upgrade method based on FTP |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510153607.8A CN104793970A (en) | 2015-04-02 | 2015-04-02 | Online upgrade method based on FTP |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104793970A true CN104793970A (en) | 2015-07-22 |
Family
ID=53558786
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510153607.8A Pending CN104793970A (en) | 2015-04-02 | 2015-04-02 | Online upgrade method based on FTP |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104793970A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105426403A (en) * | 2015-10-30 | 2016-03-23 | 努比亚技术有限公司 | Bookmark synchronization method and apparatus |
CN105450987A (en) * | 2015-11-12 | 2016-03-30 | 北京弘恒科技有限公司 | Intelligent recognition platform video monitoring early warning system |
CN105511889A (en) * | 2016-01-15 | 2016-04-20 | 珠海金山网络游戏科技有限公司 | General game version incremental updating system and method |
CN105847402A (en) * | 2016-04-26 | 2016-08-10 | 乐视控股(北京)有限公司 | Document publishing method and device |
CN106502883A (en) * | 2016-10-09 | 2017-03-15 | 武汉斗鱼网络科技有限公司 | The database synchronization method and system of client and service end during automatic test |
CN107203395A (en) * | 2017-05-19 | 2017-09-26 | 北京京东尚科信息技术有限公司 | Resource graded method, device and computer-readable recording medium and electronic equipment |
CN107704278A (en) * | 2016-08-08 | 2018-02-16 | 北京京东尚科信息技术有限公司 | Application upgrade method and apparatus |
CN108763471A (en) * | 2018-05-29 | 2018-11-06 | 郑州云海信息技术有限公司 | The method and system of HTTP file servers in a kind of deployment cluster |
CN111459829A (en) * | 2020-04-03 | 2020-07-28 | 成都安易迅科技有限公司 | Configuration method for solving tool used in work of tester |
CN111582842A (en) * | 2020-06-16 | 2020-08-25 | 中电科华云信息技术有限公司 | Government affair file approval process management method and system |
CN114339103A (en) * | 2021-12-31 | 2022-04-12 | 广东泓胜科技股份有限公司 | Method and system for triggering law enforcement recorder in real time by checking and monitoring video management system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6401239B1 (en) * | 1999-03-22 | 2002-06-04 | B.I.S. Advanced Software Systems Ltd. | System and method for quick downloading of electronic files |
US20050246702A1 (en) * | 2004-04-30 | 2005-11-03 | Hon Hai Precision Industry Co., Ltd. | System and method for automatically updating versions of software programs in client computers |
CN101090204A (en) * | 2007-07-16 | 2007-12-19 | 王飚舵 | USB interface charger with network download function and download applied network system |
CN101098456A (en) * | 2007-07-17 | 2008-01-02 | 包国君 | System for implementing internet narrow-band channel based addressable multimedia broadcast and its broadcasting method |
CN101136770A (en) * | 2006-10-13 | 2008-03-05 | 中兴通讯股份有限公司 | Automatically updating method and apparatus for telecom multi-branch network management system |
CN101635640A (en) * | 2009-09-04 | 2010-01-27 | 江苏天智互联科技有限公司 | Method for automatically releasing terminal program version of WEB network station system server |
CN102043650A (en) * | 2009-10-23 | 2011-05-04 | 镇江精英软件科技有限公司 | Method for automatically upgrading client program by FTP (file transfer protocol) technology |
-
2015
- 2015-04-02 CN CN201510153607.8A patent/CN104793970A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6401239B1 (en) * | 1999-03-22 | 2002-06-04 | B.I.S. Advanced Software Systems Ltd. | System and method for quick downloading of electronic files |
US20050246702A1 (en) * | 2004-04-30 | 2005-11-03 | Hon Hai Precision Industry Co., Ltd. | System and method for automatically updating versions of software programs in client computers |
CN101136770A (en) * | 2006-10-13 | 2008-03-05 | 中兴通讯股份有限公司 | Automatically updating method and apparatus for telecom multi-branch network management system |
CN101090204A (en) * | 2007-07-16 | 2007-12-19 | 王飚舵 | USB interface charger with network download function and download applied network system |
CN101098456A (en) * | 2007-07-17 | 2008-01-02 | 包国君 | System for implementing internet narrow-band channel based addressable multimedia broadcast and its broadcasting method |
CN101635640A (en) * | 2009-09-04 | 2010-01-27 | 江苏天智互联科技有限公司 | Method for automatically releasing terminal program version of WEB network station system server |
CN102043650A (en) * | 2009-10-23 | 2011-05-04 | 镇江精英软件科技有限公司 | Method for automatically upgrading client program by FTP (file transfer protocol) technology |
Non-Patent Citations (1)
Title |
---|
周志强: "客户机/服务器系统自动升级的方法和技术", 《铁路计算机应用》 * |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105426403A (en) * | 2015-10-30 | 2016-03-23 | 努比亚技术有限公司 | Bookmark synchronization method and apparatus |
CN105426403B (en) * | 2015-10-30 | 2020-06-23 | 北京数科网维技术有限责任公司 | Bookmark synchronization method and device |
CN105450987A (en) * | 2015-11-12 | 2016-03-30 | 北京弘恒科技有限公司 | Intelligent recognition platform video monitoring early warning system |
CN105511889A (en) * | 2016-01-15 | 2016-04-20 | 珠海金山网络游戏科技有限公司 | General game version incremental updating system and method |
WO2017185649A1 (en) * | 2016-04-26 | 2017-11-02 | 乐视控股(北京)有限公司 | Document release method, device, and electronic apparatus |
CN105847402A (en) * | 2016-04-26 | 2016-08-10 | 乐视控股(北京)有限公司 | Document publishing method and device |
CN107704278A (en) * | 2016-08-08 | 2018-02-16 | 北京京东尚科信息技术有限公司 | Application upgrade method and apparatus |
CN106502883A (en) * | 2016-10-09 | 2017-03-15 | 武汉斗鱼网络科技有限公司 | The database synchronization method and system of client and service end during automatic test |
CN106502883B (en) * | 2016-10-09 | 2019-03-15 | 武汉斗鱼网络科技有限公司 | The database synchronization method and system of client and server-side when automatic test |
CN107203395A (en) * | 2017-05-19 | 2017-09-26 | 北京京东尚科信息技术有限公司 | Resource graded method, device and computer-readable recording medium and electronic equipment |
CN108763471A (en) * | 2018-05-29 | 2018-11-06 | 郑州云海信息技术有限公司 | The method and system of HTTP file servers in a kind of deployment cluster |
CN108763471B (en) * | 2018-05-29 | 2021-10-22 | 郑州云海信息技术有限公司 | Method and system for deploying HTTP file server in cluster |
CN111459829A (en) * | 2020-04-03 | 2020-07-28 | 成都安易迅科技有限公司 | Configuration method for solving tool used in work of tester |
CN111582842A (en) * | 2020-06-16 | 2020-08-25 | 中电科华云信息技术有限公司 | Government affair file approval process management method and system |
CN114339103A (en) * | 2021-12-31 | 2022-04-12 | 广东泓胜科技股份有限公司 | Method and system for triggering law enforcement recorder in real time by checking and monitoring video management system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104793970A (en) | Online upgrade method based on FTP | |
CN103841155B (en) | A kind of method for downloading software and software download device | |
CN105471969B (en) | Electric network data handles cloud platform system | |
CN107566165B (en) | Method and system for discovering and deploying available resources of power cloud data center | |
CN103412768A (en) | Zookeeper cluster automatic-deployment method based on script program | |
CN109495532A (en) | Client update method and device | |
CN105099739A (en) | Plug-in type software deployment method and apparatus, and application server | |
US20150026125A1 (en) | System and method for synchronizing data between communication devices in a networked environment without a central server | |
CN103853585A (en) | Method for implementing centralized management of versions through cloud | |
CN106911729A (en) | A kind of operating system remote installation method suitable for domestic processor | |
CN105653329A (en) | Application management method, apparatus and system | |
CN106713053A (en) | Method and device for batch updating server firmware based on Linux | |
CN110673938B (en) | Task processing method, system, server and storage medium | |
CN104219329A (en) | Method for deploying service through content distribution in cluster server | |
CN105357048A (en) | Method and system for data synchronization of network equipment | |
CN102833101B (en) | Software upgrading method and equipment of distributed network system | |
CN104639648A (en) | Remote upgrading method for intelligent cabinet | |
CN111817874A (en) | Remote maintenance system and method for electric power internet of things terminal equipment | |
CN105808274A (en) | Software upgrading method and system as well as corresponding clients and servers | |
CN102761599A (en) | Scalable file distribution method used in distributed system | |
CN105635216A (en) | Distributed application upgrade method, device and distributed system | |
CN104461693A (en) | Virtual machine updating method and virtual machine updating system under desktop cloud computing environment | |
CN108322329A (en) | Network collocating method, device and equipment are issued based on SDN network | |
WO2015043407A1 (en) | Method, system, and apparatus for online service inspection | |
CN106685723A (en) | Remote upgrading method and system for embedded network devices |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150722 |
|
WD01 | Invention patent application deemed withdrawn after publication |