The invention relates to a method to realize automatic upgrade program using FTP technology, the application relates to the client program automatically upgraded technology in public security traffic management in the industry, in the system of C/S structure, the client program has been upgrading is a very troublesome thing, this method by giving each upgrade program a unique version of the FTP address information of new version, the new version of the program and the storage period of use and other information submitted to the relevant information table in the database before the upgrade, then use the valid version number of the other historical settings have not expired, when starting the client system when the system finds himself the current version of the program has expired will be based on FTP address information automatically to get the new version of the program to update the client program, through the above method to automatically update the client program.
【技术实现步骤摘要】
本专利技术涉及客户端程序自动升级的技术在公安交管行业内的实际应用,在C/S构架的系统中,客户端程序升级一直是很麻烦的事,本技术方法通过给每次升级的程序一个唯一版本号,在升级前把新的版本号、新程序存放的FTP地址信息以及该版本程序使用期限等信息提交到数据库相关信息表中,然后把历史其它版本号的使用有效期设置未过期,当客户端系统启动时系统发现自己当前版本的程序已过期就会根据FTP地址信息自动去获取新的版本程序来更新客户端程序,通过上述方法来实现客户端程序的自动升级。
技术介绍
C/S和B/S模式是目前两种主流的系统构架模式,两种模式的特性和优缺点如下:1、系统的性能在系统的性能方面,B/S占有优势的是其异地浏览和信息采集的灵活性。任何时间、任何地点、任何系统,只要可以使用浏览器上网,就可以使用B/S系统的终端。不过,采用B/S结构,客户端只能完成浏览、查询、数据输入等简单功能,绝大部分工作由服务器承担,这使得服务器的负担很重。采用C/S结构时,客户端和服务器端都能够处理任务,这虽然对客户机的要求较高,但因此可以减轻服务器的压力。而且,由于客户端使用浏览器,使得网上发布的信息必须是以HTML格式为主,其它格式文件多半是以附件的形式存放。而HTML格式文件(也就是Web页面)不便于编辑修改,给文件管理带来了许多不便。2、系统的开发C/S结构是建立在中间件产品基础之上的 ...
【技术保护点】
通过给每次升级的程序一个唯一版本号,在升级前把新的版本号、新程序存放的FTP地址信息以及该版本程序使用期限等信息提交到数据库相关信息表中,然后把历史其它版本号的使用有效期设置未过期,当客户端系统启动时系统发现自己当前版本的程序已过期就会根据FTP地址信息自动去获取新的版本程序来更新客户端程序,通过上述方法来实现客户端程序的自动升级。
【技术特征摘要】
1.通过给每次升级的程序一个唯一版本号,在升级前把新的版
本号、新程序存放的FTP地址信息以及该版本程序使用期限等信息提
交到数据库相关信息表中,然后把历史其它版本号的使用有效期设...
【专利技术属性】
技术研发人员:曾凡玉,
申请(专利权)人:镇江精英软件科技有限公司,
类型:发明
国别省市:江苏;32
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。