CN102281326A - Data automatically synchronizing and updating method based on WEB server procedures - Google Patents

Data automatically synchronizing and updating method based on WEB server procedures Download PDF

Info

Publication number
CN102281326A
CN102281326A CN2011101976436A CN201110197643A CN102281326A CN 102281326 A CN102281326 A CN 102281326A CN 2011101976436 A CN2011101976436 A CN 2011101976436A CN 201110197643 A CN201110197643 A CN 201110197643A CN 102281326 A CN102281326 A CN 102281326A
Authority
CN
China
Prior art keywords
client
file
program
updating
procedure
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
Application number
CN2011101976436A
Other languages
Chinese (zh)
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.)
XI'AN HOLIDAY SOFTWARE CO Ltd
Original Assignee
XI'AN HOLIDAY SOFTWARE 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 XI'AN HOLIDAY SOFTWARE CO Ltd filed Critical XI'AN HOLIDAY SOFTWARE CO Ltd
Priority to CN2011101976436A priority Critical patent/CN102281326A/en
Publication of CN102281326A publication Critical patent/CN102281326A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a data automatically synchronizing and updating method based on WEB server procedures, which comprises the steps of: establishing a fixed name virtual route on a website with a procedure product server port as 80, copying a service updating configuration procedure to the virtual route and establishing a fixed sub-folder to place supporting software of a client procedure, copying all procedures required updating and data files to the virtual route to generate an updating configuration file; downloading the updating configuration file from a procedure product server via a client procedure, and updating an actual directory structure and the file information of the client procedure according to the directory structure and the file information analyzed according to the configuration file; dispatching a procedure updating module of the client, judging whether the supporting software has been installed, dispatching and implementing the downloaded supporting software installing procedure to install if the supporting software is not installed, and performing one by one if a plurality of supporting software is provided. The data automatically synchronizing and updating method, disclosed by the invention, can be automatically updated, so that the time of automatically downloading and installing the procedures for the users is saved to improve the work efficiency.

Description

Program and the automatically synchronous method for updating of data based on the WEB server
Technical field
The present invention relates to the automatically synchronous method for updating of a kind of program and data.
Background technology
Present in the software systems of exploitation C/S model, be in server and client difference configuration deployment program.System all can need to upgrade because of a variety of causes after operation a period of time, the following method of the general employing of the mode of upgrading: first kind, the specialty contact staff on-sites install program updates, this method will realize that in the official hour scope all clients all upgrade, need a large amount of professional contact staff, cause waste of manpower resource.Second kind, refresh routine is uploaded to FTP (or WEB) server, system user of service is down loading updating program and renewal voluntarily, this mode needs the user familiar to order or the ftp client software of FTP, operation and option to refresh routine are understood very much, will notify user's download one by one after server is placed new refresh routine.The third, adopt ftp server to realize the automatic renewal of client-side program, for example the patent No. is that the Chinese patent " method of software automatic upgrading and updating under a kind of Client/Server framework " of ZL02136574.1 and Chinese patent that application number is 200910233749.X " are realized the method for client-side program auto-update " with the FTP technology, the problem that adopts this kind method to exist: at first, must set up ftp server and the relevant FTP number of the account of management, manage more complicated, if do not want to manage number of the account, can adopt and set up anonymous FTP, but it is not suitable for all Internet main frames, and it only is applicable to the main frame that those provide this service; Secondly, set up ftp server, certainly will will allow server firewall open 20 and 21 ports, when bringing new hidden danger to server security like this, ftp client connects ftp server and equally also can be stopped by fire compartment wall under Passive Mode; The 3rd, two kinds of methods of this that exemplifies all adopt database to write down the related versions upgrade information of client, version with these information and client itself judges whether and should upgrade, but do not need in system under the situation of accessing database, require client's installation database, can add the cost that the large user uses software.
Summary of the invention
In order to overcome the deficiencies in the prior art, the purpose of this invention is to provide a kind of client-side program and data file automatically and the method for the synchronously renewing file on the WEB server, make the client user need not be concerned about the synchronous renewal of software, the issuing process of software is simplified simultaneously.
The technical solution adopted for the present invention to solve the technical problems may further comprise the steps:
Step 1: be the virtual route of setting up fixed name on 80 the website at program product server (WEB server) port, configuration makes it to read, Run Script, browse and can download the All Files type;
Step 2: on the program product server, will serve and upgrade the virtual route that configurator copies to step 1 foundation, set up fixing sub-folder and place the support software of client-side program under this path, support software comprises the software that the renewal upgrading of ActiveX control that client-side program is used and software is required or the installation procedure of assembly;
Step 3: the virtual route that on the program product server, all programs that need upgrade, data file is copied to step 1 foundation, if client-side program has used new support software, then new support software is copied in the stator file of depositing support software in the virtual route, directly generate more new configuration file by carrying out service renewal configurator.Bibliographic structure and the fileinfo under the path, configurator place upgraded in the service of described more new configuration file record, and fileinfo comprises title, size and the creation-time of file.
Step 4: the more new configuration file that client-side program generates from program product server download step 3, the bibliographic structure of configuration file parsing thus and the bibliographic structure and the fileinfo of fileinfo and client-side program reality are compared, if client-side program does not have corresponding catalogue then creaties directory; If do not have corresponding file under client-side program catalogue or the subdirectory then download this file from the program product server, if existing corresponding file and its creation-time be early than the creation-time that writes down in the new configuration file more then download this file, otherwise do not download this file.
Step 5: after file is downloaded and to be finished, call the program updates module of client, judge whether support software is installed,,, then carry out one by one if having a plurality ofly if installation is then called the support software installation procedure that execution downloaded and installed.
The invention has the beneficial effects as follows: program and the automatically synchronous method for updating of data based on the WEB server of the present invention, can be in the renewal process of software, guarantee that the client-side program version is unified, reduce contact staff's working strength, reduce the cost of going on business, utilize method of the present invention, client-side program is automatically updated, and the user downloads voluntarily and the time of installation procedure promotes operating efficiency thereby save.
The present invention is further described below in conjunction with embodiment.
Embodiment
The present invention includes at least one program product server, be used to issue the program file and the data file of latest edition; Configurator is upgraded in a service, is used to generate more new configuration file, and bibliographic structure and the fileinfo under the path, configurator place upgraded in this file logging service, and fileinfo comprises title, size, the creation-time of file; At least one FTP client FTP and program product server interconnect.FTP client FTP comprises an automatic download module and program updates module and client main program.
Now adopting Window 2003 IIS 6.0 WEB servers is that example is described embodiment as the program product server, may further comprise the steps:
Set-up procedure:
(1) open the IIS manager, the tcp port of the definite website that will operate is 80; At the website node right button of clicking the mouse, on popup menu, select " newly-built->virtual directory ", the virtual directory access rights are set for reading, browsing; Newly-built mime type, extension name input: *, type input: application/octet-stream guarantees to download from this website all types of files.
(2) will serve the renewal configurator at the program product server and copy to the virtual route that step (1) is set up, under this path, set up the support software that fixing sub-folder is placed client-side program.Support software comprises the ActiveX control that client-side program is used, the software that may use as Quest3D_AX, FlashPlayerAX and with the renewal of software upgrading or the installation procedure of assembly;
When each program product need upgrade:
At server end:
(3) at the program product server all programs that need upgrade, data file are copied to the virtual route that step 1 is set up, directly generate new more new configuration file by carrying out service renewal configurator.If client has been used new support software or assembly, then it is copied in the stator file of depositing support software.Bibliographic structure and the fileinfo under the path, configurator place upgraded in the service of described more new configuration file record, and fileinfo comprises title, size and the creation-time of file.
In client:
(4) by the file on the http protocol Download Server.
The automatic download module of client starts the following work of finishing:
I. new configuration file more;
Ii. the bibliographic structure of configuration file parsing and the bibliographic structure and the fileinfo of fileinfo and client-side program reality compare thus, if client-side program does not have corresponding catalogue then creaties directory; If do not have corresponding file under client-side program catalogue or the subdirectory then download this file, if existing corresponding file and its creation-time early than the creation-time that writes down in the new configuration file more then download this file, otherwise are not downloaded this file from the WEB server.
(5) after file is downloaded and finished, call the program updates module of client by the automatic download module of client.The program updates module of client judges whether support software is installed, if install, then calls the support software installation procedure that execution downloaded and installs, if having a plurality ofly, then carries out one by one.

Claims (1)

1. program and the automatically synchronous method for updating of data based on a WEB server is characterized in that comprising the steps:
Step 1: be the virtual route of setting up fixed name on 80 the website at the program product Service-Port, configuration makes it to read, Run Script, browse and can download the All Files type;
Step 2: on the program product server, will serve and upgrade the virtual route that configurator copies to step 1 foundation, set up fixing sub-folder and place the support software of client-side program under this path, support software comprises the software that the renewal upgrading of ActiveX control that client-side program is used and software is required or the installation procedure of assembly;
Step 3: the virtual route that on the program product server, all programs that need upgrade, data file is copied to step 1 foundation, if client-side program has used new support software, then new support software is copied in the stator file of depositing support software in the virtual route, directly generate more new configuration file by carrying out service renewal configurator; Bibliographic structure and the fileinfo under the path, configurator place upgraded in the service of described more new configuration file record, and fileinfo comprises title, size and the creation-time of file;
Step 4: the more new configuration file that client-side program generates from program product server download step 3, the bibliographic structure of configuration file parsing thus and the bibliographic structure and the fileinfo of fileinfo and client-side program reality are compared, if client-side program does not have corresponding catalogue then creaties directory; If do not have corresponding file under client-side program catalogue or the subdirectory then download this file from the program product server, if existing corresponding file and its creation-time be early than the creation-time that writes down in the new configuration file more then download this file, otherwise do not download this file;
Step 5: after file is downloaded and to be finished, call the program updates module of client, judge whether support software is installed,,, then carry out one by one if having a plurality ofly if installation is then called the support software installation procedure that execution downloaded and installed.
CN2011101976436A 2011-07-14 2011-07-14 Data automatically synchronizing and updating method based on WEB server procedures Pending CN102281326A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101976436A CN102281326A (en) 2011-07-14 2011-07-14 Data automatically synchronizing and updating method based on WEB server procedures

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101976436A CN102281326A (en) 2011-07-14 2011-07-14 Data automatically synchronizing and updating method based on WEB server procedures

Publications (1)

Publication Number Publication Date
CN102281326A true CN102281326A (en) 2011-12-14

Family

ID=45106495

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101976436A Pending CN102281326A (en) 2011-07-14 2011-07-14 Data automatically synchronizing and updating method based on WEB server procedures

Country Status (1)

Country Link
CN (1) CN102281326A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015062240A1 (en) * 2013-11-01 2015-05-07 小米科技有限责任公司 Application installation method, apparatus and device
CN105934759A (en) * 2015-10-13 2016-09-07 深圳还是威健康科技有限公司 Data updating method and device, terminal and server
CN106202176A (en) * 2016-06-27 2016-12-07 武汉斗鱼网络科技有限公司 A kind of method and system realizing website version heat upgrading
CN107391176A (en) * 2017-06-26 2017-11-24 上交所技术有限责任公司 A kind of efficient configuration data changing process method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1991757A (en) * 2005-12-28 2007-07-04 腾讯科技(深圳)有限公司 Method for realizing software updating
CN101110788A (en) * 2006-07-20 2008-01-23 阿里巴巴公司 Method and system for updating client software
CN101414926A (en) * 2007-10-16 2009-04-22 鸿富锦精密工业(深圳)有限公司 Pro/Engineer standard design environmental management system and method
US7594107B1 (en) * 1999-12-20 2009-09-22 Entrust, Inc. Method and apparatus for updating web certificates

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7594107B1 (en) * 1999-12-20 2009-09-22 Entrust, Inc. Method and apparatus for updating web certificates
CN1991757A (en) * 2005-12-28 2007-07-04 腾讯科技(深圳)有限公司 Method for realizing software updating
CN101110788A (en) * 2006-07-20 2008-01-23 阿里巴巴公司 Method and system for updating client software
CN101414926A (en) * 2007-10-16 2009-04-22 鸿富锦精密工业(深圳)有限公司 Pro/Engineer standard design environmental management system and method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015062240A1 (en) * 2013-11-01 2015-05-07 小米科技有限责任公司 Application installation method, apparatus and device
CN105934759A (en) * 2015-10-13 2016-09-07 深圳还是威健康科技有限公司 Data updating method and device, terminal and server
WO2017063143A1 (en) * 2015-10-13 2017-04-20 深圳还是威健康科技有限公司 Method and device for updating data, terminal and server
CN106202176A (en) * 2016-06-27 2016-12-07 武汉斗鱼网络科技有限公司 A kind of method and system realizing website version heat upgrading
CN107391176A (en) * 2017-06-26 2017-11-24 上交所技术有限责任公司 A kind of efficient configuration data changing process method
CN107391176B (en) * 2017-06-26 2020-07-07 上交所技术有限责任公司 Efficient configuration data change processing method

Similar Documents

Publication Publication Date Title
US9928041B2 (en) Managing a software appliance
US8935687B2 (en) Incrementally updating a software appliance
US8606765B2 (en) Systems and methods for updating software appliances
US8924920B2 (en) Providing a software appliance based on a role
CN108667809B (en) Method for realizing synchronous management of account information of WEB interface of multi-system DAS
US8584115B2 (en) Automated operating system device driver updating system
US9350623B2 (en) System and method for automated deployment of multi-component computer environment
EP2021937B1 (en) Techniques to perform gradual upgrades
US8943496B2 (en) Providing a hosted appliance and migrating the appliance to an on-premise environment
CN111027921B (en) Service processing method and device, electronic equipment and storage medium
US7085822B1 (en) Managing pervasive devices
US20120324376A1 (en) Apparatus for implementing web-based user interface for communication terminal and method thereof
EP2805233B1 (en) Installation engine and package format for parallelizable, reliable installations
CN106502713A (en) A kind of method for upgrading software and system
CN102281326A (en) Data automatically synchronizing and updating method based on WEB server procedures
CN114968406A (en) Plug-in management method and device, electronic equipment and storage medium
CN106970811A (en) A kind of patch file installation method and its equipment
CN106357777A (en) Method for automatically and synchronously updating program and data based on Web server
US9207928B2 (en) Computer-readable medium, apparatus, and methods of automatic capability installation
CN106100909A (en) The method that program based on WEB server updates with data automatic synchronization
CN107968794B (en) Virtual CD-ROM mounting method and system, server and terminal
Cisco Populating the Network Inventory
Cisco Populating the Network Inventory
JP2011258078A (en) Resource management system, resource management method, and resource management program
Röck et al. Nucleus–unified deployment and management for platform as a service

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: 20111214