
【技术领域】【Technical field】
本发明是关于一种分布式客户端计算机的程序自动更新系统及方法。The invention relates to a system and method for automatically updating programs of distributed client computers.
【背景技术】【Background technique】
现代企业的竞争越来越激烈,为了保证企业的市场竞争地位,如何提高工作效率已成为企业的一大关注焦点。为实现资源的高度关联与交叉应用,和信息的同步更新,必须保证客户端计算机中程序版本的统一。即每一次程序版本升级时都必须保证每一用户所用的都是最新版本。在传统的客户端程序版本更新时需要人为进行控制,每进行一次更新时就需要IT人员在每台客户端计算机上进行旧版本的删除及新版本的安装,客户端计算机数量较多并且分布范围广时会加大人为工作量,并且经常会漏掉一些计算机程序版本的更新造成新旧不同版本公用,显现系统的不统一,给系统的作业带来一定的困扰。The competition of modern enterprises is becoming more and more fierce. In order to ensure the market competitiveness of enterprises, how to improve work efficiency has become a major focus of attention of enterprises. In order to realize high correlation and cross-application of resources, and synchronous update of information, it is necessary to ensure the unity of the program version in the client computer. That is, every time the program version is upgraded, it must be ensured that each user is using the latest version. In the traditional client program version update, human control is required. Every time an update is performed, IT personnel need to delete the old version and install the new version on each client computer. The number of client computers is large and the distribution range is large. Guangshi will increase the human workload, and often miss the update of some computer program versions, causing the old and new versions to be shared, showing the inconsistency of the system, and bringing certain troubles to the operation of the system.
随着计算机的普及应用,客户端程序的版本更新工作变的更方便、快捷。如中国国家知识产权局公开的名称为“遥控程序下装系统”的专利申请案,其借助按照构成程序的多个模块间的依存关系的顺序配置模块,生成程序数据。然后,从各程序数据地址始端开始比较所生成两个版本的程序数据,提取数据最先不同的地址和该地址以后的数据,生成相差数据。还在中心保持最新程序的全部数据和至少一个相差数据,并且根据终端装置内的程序版本送程序的全部数据或相差数据,终端装置则用收到的数据更新程序。但该专利申请案存在以下缺点:它将同一程序的两个版本的数据进行比较,这样沿长了版本的比较时间。With the popularization and application of computers, the version update work of the client program becomes more convenient and faster. For example, the patent application titled "Remote Control Program Downloading System" published by the State Intellectual Property Office of China generates program data by arranging modules in the order of dependencies among multiple modules constituting a program. Then, the generated two versions of program data are compared from the beginning of each program data address, and the address at which the data differs first and the data after that address are extracted to generate difference data. Also keep all the data and at least one difference data of the latest program in the center, and send all the data or the difference data of the program according to the program version in the terminal device, and the terminal device then updates the program with the received data. But this patent application has the following shortcoming: it compares the data of two versions of the same program, so the comparison time of the versions is long.
为解决上述缺点,需要提供一种客户端程序自动更新系统及方法,特别需要提供一种只需对比版本号就能够自动更新分布式客户端计算机的程序版本的系统及方法,从而提升工作效率。In order to solve the above shortcomings, it is necessary to provide a system and method for automatically updating client programs, especially a system and method for automatically updating program versions of distributed client computers only by comparing version numbers, thereby improving work efficiency.
【发明内容】【Content of invention】
本发明的主要目的在于提供一种客户端程序自动更新系统及方法,其可自动更新分布式客户端程序版本。The main purpose of the present invention is to provide a client program automatic update system and method, which can automatically update distributed client program versions.
本发明提供一种客户端程序自动更新系统。该系统包括:一应用服务器、一数据库服务器、一网络、一FTP服务器、及多个客户端计算机。分布式客户端计算机通过网络与应用服务器相连,数据库服务器存储一数据表,该数据表包括程序最新版本号。FTP服务器通过网络与应用服务器相连,其存储有客户端最新版本的程序,当客户端程序版本与FTP服务器中的最新版本的程序不相符合时,用户可通过客户端计算机下载FTP服务器中的最新版本的程序并将客户端计算机中的当前版本的程序覆盖。其中,网络为一种电子网络,其可以为企业内部网(Intranet)、国际互联网(Internet)或其它类型网络;应用服务器包括多个软件功能模块,其相互协同工作用于当客户端计算机运行程序时,将客户端的当前程序版本号与该程序的最新版本号进行比对,若两版本号不相符合则获取FTP服务器中最新版本程序的数据并将客户端计算机中当前版本更新为最新版本。The invention provides a client program automatic update system. The system includes: an application server, a database server, a network, an FTP server, and multiple client computers. The distributed client computer is connected with the application server through the network, and the database server stores a data table, and the data table includes the latest version number of the program. The FTP server is connected to the application server through the network, and it stores the latest version of the program of the client. When the client program version does not match the latest version of the program in the FTP server, the user can download the latest version of the program in the FTP server through the client computer. version of the program and overwrites the current version of the program on the client computer. Wherein, the network is an electronic network, which can be an intranet (Intranet), the Internet (Internet) or other types of networks; the application server includes a plurality of software function modules, which work together to be used when the client computer runs the program , compare the current program version number of the client with the latest version number of the program, if the two version numbers do not match, obtain the data of the latest version of the program in the FTP server and update the current version in the client computer to the latest version.
本发明还提供一种客户端计算机程序版本更新方法。该方法包括以下步骤:(a)运行当前版本的程序;(b)获取客户端当前运行的程序的版本号;(c)将获取的当前版本号与最新版本号进行比对;(d)判断当前版本号与最新版本号是否相符合;(e)如果两个版本号不一致则连接至FTP服务器;(f)FTP服务器发送最新版本程序的数据;(g)接收FTP服务器发送的最新版本程序的数据,覆盖客户端计算机当前版本的程序以更新当前版本的程序。The invention also provides a client computer program version update method. The method comprises the following steps: (a) running the program of the current version; (b) obtaining the version number of the program currently running on the client; (c) comparing the acquired current version number with the latest version number; (d) judging Whether the current version number is consistent with the latest version number; (e) if the two version numbers are inconsistent, then connect to the FTP server; (f) the FTP server sends the data of the latest version of the program; (g) receives the latest version of the program sent by the FTP server Data, overwrite the current version of the program on the client computer to update the current version of the program.
利用本发明的系统及方法,可自动更新分布式分布的客户程序版本,从而提升工作效率。By using the system and method of the present invention, the distributed version of the client program can be automatically updated, thereby improving work efficiency.
【附图说明】【Description of drawings】
图1是本发明客户端程序自动更新系统的硬件架构图。FIG. 1 is a hardware architecture diagram of the client program automatic update system of the present invention.
图2是本发明客户端程序自动更新系统的应用服务器的模块图。Fig. 2 is a block diagram of the application server of the client program automatic update system of the present invention.
图3是本发明客户端程序自动更新方法的作业流程图。Fig. 3 is a flowchart of the operation of the method for automatically updating the client program of the present invention.
【具体实施方式】【Detailed ways】
如图1所示,是本发明客户端程序自动更新系统的硬件架构图。该系统包括:一应用服务器1、一数据库服务器2、一网络3、一FTP服务器8、及多个客户端计算机5。分布式分布的客户端计算机5通过网络3与应用服务器1相连,数据库服务器2通过一数据库连接(图中未画出)与应用服务器1相连,其存储一数据表,该数据表包括有程序最新版本号。FTP服务器8通过网络3与应用服务器1相连,其存储有最新版本的程序,当客户端当前程序的版本号与FTP服务器8中的最新程序的版本号不相符合时,FTP服务器8将最新版本的程序发送给客户端计算机5并将客户端计算机5中的当前版本的程序覆盖。As shown in FIG. 1 , it is a hardware architecture diagram of the client program automatic update system of the present invention. The system includes: an
其中,网络3为一种电子网络,其可以为企业内部网(Intranet)、国际互联网(Internet)或其它类型网络;客户端计算机5安装有多个程序,用户可根据需求运行相应的程序。应用服务器1包括多个软件功能模块(如图2所示),其相互协同工作用于当客户端计算机5运行程序时,将客户端计算机5中的当前程序版本号与该程序的最新版本号进行比对,若两版本号不相符合则接收FTP服务器8发送的最新版本程序的数据并将客户端计算机5中当前版本更新为最新版本。Wherein, network 3 is a kind of electronic network, and it can be intranet (Intranet), Internet (Internet) or other types of networks; Client computer 5 is installed with a plurality of programs, and user can run corresponding program according to demand. The
如图2所示,是本发明客户端程序自动更新系统的应用服务器的功能模块图。该应用服务器1包括:一版本号获取模块11、一比对模块12、一连接模块13及一程序更新模块15。其中,版本号获取模块11用于获取客户端计算机5运行程序的当前版本号。比对模块12将获取的当前版本号与数据库服务器2中程序的最新版本号进行比对,并判断两者是否相符合。连接模块13用于当前版本号与最新版本号不一致时自动连接至FTP服务器8。程序更新模块15用于接收FTP服务器8发送的最新版本的程序的数据并更新客户端计算机5的当前版本程序为最新版本。As shown in FIG. 2 , it is a functional block diagram of the application server of the client program automatic update system of the present invention. The
如图3所示,是本发明客户端程序自动更新方法的作业流程图。首先,用户登录系统即运行该系统当前版本的程序(步骤S300);版本号获取模块11获取客户端计算机5当前运行的程序的版本号(步骤S301);比对模块12将获取的当前版本号与数据库服务器5中最新版本号进行比对(步骤S302);判断当前版本号与最新版本号是否相符合(步骤S303);连接模块13连接至FTP服务器8(步骤S304);FTP服务器8发送最新版本程序的数据(步骤S305);程序更新模块13接收FTP服务器8中最新版本程序的数据,覆盖客户端计算机5当前版本的程序以更新当前版本(步骤S306)。As shown in FIG. 3 , it is a flow chart of the operation of the method for automatically updating the client program of the present invention. At first, the program (step S300) of the current edition of this system that the user logs into system promptly runs; Version
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200410027105CN1690961A (en) | 2004-04-30 | 2004-04-30 | Client program automatic update system and method |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200410027105CN1690961A (en) | 2004-04-30 | 2004-04-30 | Client program automatic update system and method |
| Publication Number | Publication Date |
|---|---|
| CN1690961Atrue CN1690961A (en) | 2005-11-02 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 200410027105PendingCN1690961A (en) | 2004-04-30 | 2004-04-30 | Client program automatic update system and method |
| Country | Link |
|---|---|
| CN (1) | CN1690961A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2006136060A1 (en)* | 2005-06-24 | 2006-12-28 | Zte Corporation | Multi-software system upgrading method |
| CN101795392A (en)* | 2009-12-25 | 2010-08-04 | 深圳市同洲电子股份有限公司 | Application data-downloading method, digital television receiving terminal and system |
| CN101110788B (en)* | 2006-07-20 | 2010-09-08 | 阿里巴巴集团控股有限公司 | Method and system for updating client software |
| CN101895872A (en)* | 2010-07-16 | 2010-11-24 | 南京烽火星空通信发展有限公司 | Method for conveniently downloading application program for mobile terminal |
| CN101136770B (en)* | 2006-10-13 | 2010-12-29 | 中兴通讯股份有限公司 | Automatically upgrading method and apparatus for telecom multi-branch network management system |
| CN101931647A (en)* | 2010-08-09 | 2010-12-29 | 福州星网视易信息系统有限公司 | Three-tier architecture based method for optimizing incremental update of system data |
| CN101964820A (en)* | 2010-10-08 | 2011-02-02 | 中兴通讯股份有限公司 | Method and system for keeping data consistency |
| CN102025778A (en)* | 2010-11-25 | 2011-04-20 | 成都勤智数码科技有限公司 | A Shell-based Software Version Upgrading Working Method |
| CN102110003A (en)* | 2009-12-29 | 2011-06-29 | 宏碁股份有限公司 | Automatic updating and checking system and automatic updating and checking method thereof |
| WO2011085631A1 (en)* | 2010-01-13 | 2011-07-21 | 腾讯科技(深圳)有限公司 | Method, system and server for collecting version of software |
| CN101437018B (en)* | 2007-11-14 | 2011-11-16 | 英业达股份有限公司 | Conditional Knowledge Instant Sharing System and Method |
| CN102420903A (en)* | 2011-11-28 | 2012-04-18 | 惠州Tcl移动通信有限公司 | Mobile phone-based software processing method and mobile phone |
| CN102681876A (en)* | 2012-05-17 | 2012-09-19 | 江苏中科梦兰电子科技有限公司 | Online distributed system updating method |
| CN101546269B (en)* | 2008-03-28 | 2013-07-03 | 鸿富锦精密工业(深圳)有限公司 | System and method capable of executing file version updating |
| CN101763577B (en)* | 2009-09-17 | 2013-08-07 | 国电浙江北仑第三发电有限公司 | EAM system for power plant |
| CN103412767A (en)* | 2013-06-09 | 2013-11-27 | 百度国际科技(深圳)有限公司 | Method and system for recognizing and upgrading application version |
| WO2013177925A1 (en)* | 2012-05-28 | 2013-12-05 | 腾讯科技(深圳)有限公司 | Data synchronization method, system and device |
| CN104281673A (en)* | 2014-09-22 | 2015-01-14 | 珠海许继芝电网自动化有限公司 | Cache building system and method for database |
| CN104331948A (en)* | 2014-10-28 | 2015-02-04 | 深圳市华宝电子科技有限公司 | Upgrade information sending method, receiving method, device and system for automobile data recorder |
| CN104639652A (en)* | 2015-03-04 | 2015-05-20 | 太仓市同维电子有限公司 | Method and system for automatically updating programs |
| CN104834550A (en)* | 2015-05-29 | 2015-08-12 | 北京京东尚科信息技术有限公司 | Method and device for updating distributed web crawlers |
| CN105095074A (en)* | 2015-07-10 | 2015-11-25 | 北京金山安全软件有限公司 | Upgrade test method and device for configuration file |
| CN105488709A (en)* | 2015-11-26 | 2016-04-13 | 中国建设银行股份有限公司 | Method for updating trading parameters of POS (Point of Sale), relevant equipment and system |
| CN105528205A (en)* | 2015-11-30 | 2016-04-27 | 用友优普信息技术有限公司 | Update control method and update control system |
| CN106293833A (en)* | 2016-08-09 | 2017-01-04 | 衣佳鑫 | The loading method of Internet of Things application program and system |
| CN107323280A (en)* | 2017-06-23 | 2017-11-07 | 北京新能源汽车股份有限公司 | Updating method, device and system of battery monitoring unit parameters and automobile |
| CN107453953A (en)* | 2017-08-30 | 2017-12-08 | 苏州朗动网络科技有限公司 | A kind of data update system and method based on httpclient |
| CN108888951A (en)* | 2018-06-25 | 2018-11-27 | 网易(杭州)网络有限公司 | Game resource treating method and apparatus |
| CN111736862A (en)* | 2020-05-22 | 2020-10-02 | 深圳市鸿合创新信息技术有限责任公司 | Multi-terminal collaborative upgrading method, device, terminal and storage medium |
| CN112306517A (en)* | 2020-03-30 | 2021-02-02 | 尼尔森网联媒介数据服务有限公司 | Method, apparatus, storage medium and electronic device for processing application data |
| CN115640302A (en)* | 2022-09-26 | 2023-01-24 | 上海汇付支付有限公司 | Local data updating method and device based on service increment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2006136060A1 (en)* | 2005-06-24 | 2006-12-28 | Zte Corporation | Multi-software system upgrading method |
| CN101110788B (en)* | 2006-07-20 | 2010-09-08 | 阿里巴巴集团控股有限公司 | Method and system for updating client software |
| CN101136770B (en)* | 2006-10-13 | 2010-12-29 | 中兴通讯股份有限公司 | Automatically upgrading method and apparatus for telecom multi-branch network management system |
| CN101437018B (en)* | 2007-11-14 | 2011-11-16 | 英业达股份有限公司 | Conditional Knowledge Instant Sharing System and Method |
| CN101546269B (en)* | 2008-03-28 | 2013-07-03 | 鸿富锦精密工业(深圳)有限公司 | System and method capable of executing file version updating |
| CN101763577B (en)* | 2009-09-17 | 2013-08-07 | 国电浙江北仑第三发电有限公司 | EAM system for power plant |
| CN101795392A (en)* | 2009-12-25 | 2010-08-04 | 深圳市同洲电子股份有限公司 | Application data-downloading method, digital television receiving terminal and system |
| CN101795392B (en)* | 2009-12-25 | 2013-02-13 | 深圳市龙视传媒有限公司 | Application data-downloading method, digital television receiving terminal and system |
| CN102110003A (en)* | 2009-12-29 | 2011-06-29 | 宏碁股份有限公司 | Automatic updating and checking system and automatic updating and checking method thereof |
| WO2011085631A1 (en)* | 2010-01-13 | 2011-07-21 | 腾讯科技(深圳)有限公司 | Method, system and server for collecting version of software |
| CN101895872A (en)* | 2010-07-16 | 2010-11-24 | 南京烽火星空通信发展有限公司 | Method for conveniently downloading application program for mobile terminal |
| CN101931647B (en)* | 2010-08-09 | 2013-02-06 | 福州星网视易信息系统有限公司 | Three-tier architecture based method for optimizing incremental update of system data |
| CN101931647A (en)* | 2010-08-09 | 2010-12-29 | 福州星网视易信息系统有限公司 | Three-tier architecture based method for optimizing incremental update of system data |
| CN101964820A (en)* | 2010-10-08 | 2011-02-02 | 中兴通讯股份有限公司 | Method and system for keeping data consistency |
| CN101964820B (en)* | 2010-10-08 | 2014-04-09 | 中兴通讯股份有限公司 | Method and system for keeping data consistency |
| CN102025778A (en)* | 2010-11-25 | 2011-04-20 | 成都勤智数码科技有限公司 | A Shell-based Software Version Upgrading Working Method |
| CN102420903A (en)* | 2011-11-28 | 2012-04-18 | 惠州Tcl移动通信有限公司 | Mobile phone-based software processing method and mobile phone |
| CN102681876A (en)* | 2012-05-17 | 2012-09-19 | 江苏中科梦兰电子科技有限公司 | Online distributed system updating method |
| WO2013177925A1 (en)* | 2012-05-28 | 2013-12-05 | 腾讯科技(深圳)有限公司 | Data synchronization method, system and device |
| CN103457905B (en)* | 2012-05-28 | 2015-09-09 | 腾讯科技(深圳)有限公司 | Method of data synchronization, system and equipment |
| CN103457905A (en)* | 2012-05-28 | 2013-12-18 | 腾讯科技(深圳)有限公司 | Data synchronizing method, data synchronizing system and data synchronizing device |
| CN103412767A (en)* | 2013-06-09 | 2013-11-27 | 百度国际科技(深圳)有限公司 | Method and system for recognizing and upgrading application version |
| CN104281673B (en)* | 2014-09-22 | 2018-10-02 | 珠海许继芝电网自动化有限公司 | A kind of caching structure system of database and corresponding construction method |
| CN104281673A (en)* | 2014-09-22 | 2015-01-14 | 珠海许继芝电网自动化有限公司 | Cache building system and method for database |
| CN104331948A (en)* | 2014-10-28 | 2015-02-04 | 深圳市华宝电子科技有限公司 | Upgrade information sending method, receiving method, device and system for automobile data recorder |
| CN104639652A (en)* | 2015-03-04 | 2015-05-20 | 太仓市同维电子有限公司 | Method and system for automatically updating programs |
| CN104834550A (en)* | 2015-05-29 | 2015-08-12 | 北京京东尚科信息技术有限公司 | Method and device for updating distributed web crawlers |
| CN105095074A (en)* | 2015-07-10 | 2015-11-25 | 北京金山安全软件有限公司 | Upgrade test method and device for configuration file |
| CN105095074B (en)* | 2015-07-10 | 2018-12-18 | 北京金山安全软件有限公司 | Upgrade test method and device for configuration file |
| CN105488709A (en)* | 2015-11-26 | 2016-04-13 | 中国建设银行股份有限公司 | Method for updating trading parameters of POS (Point of Sale), relevant equipment and system |
| CN105528205A (en)* | 2015-11-30 | 2016-04-27 | 用友优普信息技术有限公司 | Update control method and update control system |
| CN106293833A (en)* | 2016-08-09 | 2017-01-04 | 衣佳鑫 | The loading method of Internet of Things application program and system |
| CN107323280A (en)* | 2017-06-23 | 2017-11-07 | 北京新能源汽车股份有限公司 | Updating method, device and system of battery monitoring unit parameters and automobile |
| CN107453953A (en)* | 2017-08-30 | 2017-12-08 | 苏州朗动网络科技有限公司 | A kind of data update system and method based on httpclient |
| CN108888951A (en)* | 2018-06-25 | 2018-11-27 | 网易(杭州)网络有限公司 | Game resource treating method and apparatus |
| CN112306517A (en)* | 2020-03-30 | 2021-02-02 | 尼尔森网联媒介数据服务有限公司 | Method, apparatus, storage medium and electronic device for processing application data |
| CN111736862A (en)* | 2020-05-22 | 2020-10-02 | 深圳市鸿合创新信息技术有限责任公司 | Multi-terminal collaborative upgrading method, device, terminal and storage medium |
| CN115640302A (en)* | 2022-09-26 | 2023-01-24 | 上海汇付支付有限公司 | Local data updating method and device based on service increment |
| Publication | Publication Date | Title |
|---|---|---|
| CN1690961A (en) | Client program automatic update system and method | |
| US8407690B2 (en) | Method in a network of the delivery of files | |
| CN110196731B (en) | Operation and maintenance system, method and storage medium | |
| US9600264B2 (en) | Generating a customized set of tasks for migration of a deployed software solution | |
| US6615405B1 (en) | Method and system for distributing and maintaining software across a computer network | |
| US7003767B2 (en) | System and method for remotely updating software applications | |
| US8370828B2 (en) | Techniques to perform gradual upgrades | |
| US20050246702A1 (en) | System and method for automatically updating versions of software programs in client computers | |
| EP1014266A2 (en) | Method, apparatus and program storage device for a client and adaptive synchronization and transformation server | |
| JP2004533679A (en) | Method and system for direct server synchronization with a computing device | |
| CN101056280A (en) | An upgrade management method and system for instant message client | |
| CN106980493A (en) | Firmware management method and apparatus | |
| CN101051307A (en) | Applied file renewing system and method | |
| CN110187895A (en) | Operating system deployment method, apparatus, device, and computer-readable storage medium | |
| CN115809096A (en) | Batch self-adaptive upgrade method of operating system | |
| US20060129616A1 (en) | System and method for synchronizing computer files between a local computer and a remote server | |
| CN115629784A (en) | Method, system, equipment and computer readable storage medium for updating machine file | |
| CN113485720B (en) | Off-line upgrading method for micro-service system | |
| JP2003228498A (en) | History data collection system and history data collection program | |
| US9207928B2 (en) | Computer-readable medium, apparatus, and methods of automatic capability installation | |
| CN102281326A (en) | Data automatically synchronizing and updating method based on WEB server procedures | |
| CN101154161A (en) | Program downloading system and method | |
| CN114640687B (en) | Software upgrading method and device, storage medium and electronic equipment | |
| CN111049909B (en) | Software release method | |
| CN106357777A (en) | Method for automatically and synchronously updating program and data based on Web server |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C12 | Rejection of a patent application after its publication | ||
| RJ01 | Rejection of invention patent application after publication |