CN101212336A - Automatic software update method for client, auxiliary method and related device - Google Patents
Automatic software update method for client, auxiliary method and related device Download PDFInfo
- Publication number
- CN101212336A CN101212336A CNA2006101482524A CN200610148252A CN101212336A CN 101212336 A CN101212336 A CN 101212336A CN A2006101482524 A CNA2006101482524 A CN A2006101482524A CN 200610148252 A CN200610148252 A CN 200610148252A CN 101212336 A CN101212336 A CN 101212336A
- Authority
- CN
- China
- Prior art keywords
- client
- software
- information
- file
- update
- 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
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides a method for a client to automatically update software, which comprises a step to receive an updating indication file sent by a or a plurality of servers, a step to judge whether the client needs to update the software according to the updating indication file and a step to execute operation of software update when the client needs to update the software. The method can be automatically initiated by the client and also can be automatically initiated by the server; the judging step can be accomplished either by the client or by the server. The invention also provides a device used in the client for automatically updating the software, an auxiliary method for the client to automatically update the software and a corresponding auxiliary device thereof. Though the invention, update of the client software can be flexibly and conveniently accomplished, thereby alleviating working pressure of the maintainers and greatly reducing impact on normal work of ordinary users.
Description
Technical field
The present invention relates to a kind of management tool of computer software, especially client software is carried out automatic method for updating and corresponding device thereof.
Background technology
In the production in modern times, management process, computer has become indispensable instrument.Simultaneously, because the personnel that involve in production, the management process are numerous, so employed management software also often relates to numerous personnel, therefore cause a computer system often need on (many) server and Duo Tai client, distinguish build-in services device software and client software, the software of for example usually said client/server (C/S) structure, the perhaps computer software of browser/server (B/S) structure.
Under above-mentioned client terminal/server structure, if after server end carries out the contents of program renewal, generally all need all clients to upgrade and to make that these client and server ends are synchronous.Generally use manual operation that every client is upgraded, but such mode has increased human cost, all the more so when especially having a large amount of client, and can have a strong impact on user's operate as normal to a certain extent.Therefore, people's expectation can be carried out auto-update to client, for example the software of all client terminal/server structures is upgraded to client software by the mode of auto-update, even software all on the client is carried out auto-update.
At present, existed some computer software to be carried out the method for auto-update, for example application number has proposed a kind of method of carrying out auto-update by ftp server for the Chinese patent application (method of software automatic upgrading and updating under a kind of Client/Server framework) of " 02136574.1 ", but this method must be used ftp server on the one hand, automatically the process of upgrading must be initiated from client on the other hand, and update mode is dumb.
So the present invention is desirable to provide a kind of convenient and mode automatic method for updating of client software flexibly.
Summary of the invention
At above-mentioned defective of the prior art, the purpose of this invention is to provide the automatic method for updating of a kind of client software.
According to an aspect of the present invention, provide a kind of method of client automatic software update, wherein, comprise the steps: that b. receives the renewal indication file that one or more servers send; C. judge whether needs update software of client according to described renewal indication file; And d. then carries out the update software operation if client needs update software.
Preferably, said method before described step b, also comprise step: a. according to predetermined condition to sending update inquiry information with the corresponding server of this client.
Preferably, described steps d comprises the steps: that d1. downloads the program file and/or the required data updated file of required renewal; D2. replace described original program file and/or replace described former data file with described refresh routine file with described updated data file.
Preferably, before described steps d 2, also comprise the steps: to back up described original program file and/or described former data file.
According to a further aspect of the invention, provide a kind of device that is used for the client automatic software update, comprising: first receiving device is used to receive the renewal indication file that one or more servers send; First judgment means is used for judging whether needs update software of client according to described renewal indication file; And first updating device is used for carrying out the update software operation when client needs update software.
Preferably, described device also comprises: first dispensing device is used for according to predetermined condition to sending update inquiry information with the corresponding server of this client.
According to another aspect of the present invention, provide a kind of householder method that is used for the client automatic software update in server, it comprises the steps: that ii. generates one or more renewal indication files; Iii. in the described one or more renewals indication files each is sent to a specific client.
Preferably, described method also comprised step before described step I i: receive the update inquiry information from one or more clients.
According to a further aspect of the invention, provide a kind of servicing unit that is used for the client automatic software update in server, comprising: generating apparatus is used to generate one or more renewal indication files; And, the 3rd dispensing device, each that is used for described one or more renewal indication files sends to a specific client.
Preferably, described servicing unit also comprises: second receiving system, be used to receive the update inquiry information from one or more clients, wherein, described generating apparatus is used for one or more renewal indication files are handled and generated accordingly to described update inquiry information.
The invention provides a kind of mode of easily and flexibly client software being upgraded, the user can select whether to upgrade the software of its employed client, for example initiate update request, also can after client is sent update request, confirm whether upgrade at server end by described user by clicking a button.Use the present invention can save the work of maintenance personnel time, and can reduce influence greatly the client user.
Description of drawings
By reading the detailed description of non-limiting example being done with reference to the following drawings, it is more obvious that other features, objects and advantages of the present invention will become:
Fig. 1 has described the flow chart according to the client automatic software update of the first embodiment of the present invention;
Fig. 2 has described the flow chart of client automatic software update according to a second embodiment of the present invention;
Fig. 3 has described and has been used for flow chart to the householder method of client automatic software update according to the first embodiment of the present invention in server;
Fig. 4 described according to a second embodiment of the present invention in server, be used for flow chart to the householder method of client automatic software update;
Fig. 5 has described the schematic diagram according to the renewal indication file of the first embodiment of the present invention;
Fig. 6 has described the structure chart according to the device that is used for the client automatic software update of the first embodiment of the present invention;
Fig. 7 has described the structure chart of the device that is used for the client automatic software update of a third embodiment in accordance with the invention;
Fig. 8 has described the structure chart of first dispensing device shown in Figure 7;
Fig. 9 has described the structure chart of the device that is used for the client automatic software update of a third embodiment in accordance with the invention;
Figure 10 has described the structure chart that is used for the updating device in the device of client automatic software update according to the first embodiment of the present invention described;
Figure 11 has described and has been used for structure chart to the servicing unit of client automatic software update according to the first embodiment of the present invention in server;
What Figure 12 had described a third embodiment in accordance with the invention is used for structure chart to the servicing unit of client automatic software update in server;
Figure 13 described according to a second embodiment of the present invention in server, be used for structure chart to the servicing unit of client automatic software update;
Figure 14 has described the structure chart of generating apparatus shown in Figure 13; And
Figure 15 has described the operation principle schematic diagram of the first embodiment of the present invention.
Embodiment
With reference to figure 1, it has described the flow chart according to the client automatic software update of the first embodiment of the present invention.At first, execution in step S11, before operating software to sending update inquiry information with the corresponding service of this client; Enter step S12 then, receive the renewal indication file that one or more servers send; Does execution in step S13 then judge whether needs update software of client according to described renewal indication file? if do not need update software, then this place of mistake finishes; If need to upgrade one or more softwares, then enter step S14, download the program file and/or the required data updated file of required renewal; Enter step S15 then, back up described original program file and/or described former data file; Last execution in step S15 replaces described original program file and/or replaces described former data file with described updated data file with described refresh routine file.
Those skilled in the art understand, in described step S11, a client can be sent different requests to a plurality of servers, for example, the content that all stores the renewal version of the employed different software of this client and these servers when a plurality of servers respectively is not exclusively overlapping, needs so to send update inquiry information to a plurality of servers.Following Figure 15 will elaborate this.
Those skilled in the art understand, in the present embodiment, can comprise one section program that is specifically designed to the software upgrading operation in one or more softwares in the described client, and before the maim body of these softwares of operation, must move this software upgrading operation sequence, thereby be implemented in the operating software purpose of execution in step S11 before; And change in the example at one, in described client, there is a third party software (or third party's device), is used to upgrade all softwares in this client, at this moment, also can be implemented in all softwares of operation purpose of execution in step S11 before by this third party software, do not give unnecessary details at this.
In another variation example of the foregoing description, described step S11 can otherwise realize, for example can for example send one time update request automatically every 15 days at predetermined instant to sending update inquiry information with the corresponding server of this client.In such variation example, can monitor constantly by opening a resident program (not pent program) or process, in case satisfy above-mentioned predetermined instant condition, then can execution in step S11.
Those skilled in the art understand, the purpose of above-mentioned steps S15 is for the software of preserving last revision on client or the software of older version more, can preserve the software of all versions under the opposite extreme situations, but generally speaking do not need to preserve the software of all versions, because generally can deposit the software of all versions on the server.And in a variation example of present embodiment, described step S15 can omit.In such variation example, do not consider to return to the problem of software version before being updated, upgrade failure in case will cause like this, the software that then is updated possibly can't normally move.Certainly, those skilled in the art also understand, in another variation example of present embodiment, in described step S16, can increase by one and judge upgrade the whether successful substep of operation, and set if get nowhere and then do not upgrading, and program file or data file before recovering to upgrade, no matter can guarantee so whether the software that is updated upgrades success and can normally move.
In the present embodiment, if having program file to be updated and data file on the server, then in step S14, can download this file of two types simultaneously and this file of two types is upgraded operation; Be appreciated that similarly as if a kind of file that only exists on the server wherein, then can only upgrade this a kind of file.Dual mode all can be realized purpose of the present invention, does not influence flesh and blood of the present invention.For example change in the example at one, described source program is regrouped, and must produce a new program file this moment, thus need to download and upgrade should (etc.) program file; And in another changed example, described source program was not changed, but is updated by the data file that these source programs read, only need this moment to download and upgrade should (etc.) data file; In another variation example of present embodiment, only the parameter that program file is provided with is modified (for example the parameter of " being to grow up more than 14 years old " is modified to " being to grow up more than 18 years old "), at such variation example, when these parameters are written in the source code, with regard to necessary refresh routine file; When these parameters read, then can finish automatic renewal by updated data file from data file (for example database) in the each run process.Certainly, it will be understood by those skilled in the art that the modification for this type of parameter also can be provided with by manual mode in program, but such update mode has not belonged to the category of the automatic renewal that the present invention relates to, and does not repeat them here.
With reference to figure 1, it will be appreciated by those skilled in the art that the order of described step S14, step S15 can be exchanged in a variation example of present embodiment again, first file in download or first backup file do not influence flesh and blood of the present invention, do not repeat them here.
With reference to figure 2, it has described the flow chart of client automatic software update according to a second embodiment of the present invention.At first, execution in step S11 ' receives the renewal indication file that one or more servers send; Then, does execution in step S12 ' judge whether needs update software of client according to this Newest Directive information of upgrading the included one or more softwares of the included described server of indication file? if do not need update software, then this processing procedure finishes; If need to upgrade one or more softwares, then enter step S13 ', carry out the update software operation; At last, execution in step S14 ' sends the renewal response message to described one or more servers.
It will be appreciated by those skilled in the art that the step S13 ' in the present embodiment can realize according to above-mentioned step S14 shown in Figure 1, S15, S16, also can otherwise realize, do not give unnecessary details at this.
With reference to figure 2, those skilled in the art understand, described step S14 ' sends to the server that this software upgrading version is provided in software upgrading success back and upgrades successful message, can confirm the latest version information (being this version information that is updated) of this client by this this server of renewal response message, thus can be in these information of use in (comprising update software) work of safeguarding from now on; Similarly, can when upgrading failure, send the renewal failure to corresponding server.And in the variation example of present embodiment, also can only when upgrading successfully, just send this renewal response message, and in such variation example,, server do not upgrade response message (comprising the situation of sending this message but losing) if receiving, then all confirm to upgrade failure.Simultaneously, it will be appreciated by those skilled in the art that among the embodiment as shown in Figure 1 do not send this response message no matter whether upgrade success, this does not influence flesh and blood of the present invention.
Those skilled in the art understand, described renewal indication file among the step S11 ' in the present embodiment comprises the Newest Directive information of one or more softwares that described server is included, therefore, in step S12 ', judge the software that whether exists needs to upgrade in the client according to the Newest Directive information of these softwares.Those skilled in the art further are appreciated that, in the present embodiment, described the Newest Directive information is respectively current (up-to-date) version number of these softwares, therefore, if the version number of corresponding software is lower than this version number or different with this current version number on the client, can determine to need to upgrade this software so; And in another changed example, described the Newest Directive information was respectively the up-to-date timestamp of these softwares, similarly, if on the client time of the timestamp of corresponding software can determine to need to upgrade this software early than described up-to-date timestamp.
Again with reference to figure 1, Fig. 2, at two embodiment and change accordingly in the example, need all to judge whether client needs update software, and then carry out the operation of update software.Directly carry out the operation of update software although can ignore this operation in some variation example, such variation regular meeting causes meaningless renewal, even may cause software normally to move owing to the failure of unnecessary renewal.In the embodiment shown in Figure 2, its essence is the up-to-date information of obtaining the software on the server, by client software information on the server and the software information on this client are judged to determine whether to upgrade the corresponding software on this client then.And change in the example at one, then can change such execution mode fully, for example can finish this judgement by server, send update inquiry information to server among the step S11 for example shown in Figure 1, when the indication information that comprises the one or more softwares on the described client in this update inquiry information (version number for example, timestamp for example again) time, then described server can be finished the judgement whether this client needs to upgrade one or more softwares similarly.In such variation example, then this server directly comprises one or more softwares on this client to renewal that this client is returned indication file and whether needs the indication information that upgrades, at this moment, then client needs only according to this information and executing renewal operation or does not carry out any operation.The difference of two embodiment like this is bigger, and in embodiment illustrated in fig. 2, each client all needs to finish above-mentioned judgement, and in another embodiment, and then server is made judgement and got final product, and does not give unnecessary details at this.
With reference to figure 3, it has been described and has been used for flow chart to the householder method of client automatic software update according to the first embodiment of the present invention in server.It will be appreciated by those skilled in the art that this flow process carries out in server.At first, execution in step S21 receives the update inquiry information from one or more clients; Then, enter step S22, described one or more update inquiry information are handled; Then, execution in step S23 generates one or more renewal indication files accordingly corresponding to client; At last, enter step S24, in the described one or more renewals indication files each is sent to a specific client.Those skilled in the art understand, the renewal indication file clients corresponding that specific client described in the step S24 refers to be generated among the step S23, for example upgrade indication file 1 and generate at customer end A, this document should be sent to customer end A so, does not repeat them here.
It will be appreciated by those skilled in the art that among the described step S22 that server can be judged with the corresponding software information in this server according to one or more information of software of the client that comprises in this update inquiry information, enter step S23 then.In the step S23 of present embodiment, all generate one at each client and upgrade the indication file, no matter and the software whether this client exists needs to upgrade.One at present embodiment changes in the example, then only generates at the client that needs update software and upgrades the indication file.Those skilled in the art are appreciated that this and do not repeat them here.
With reference to figure 4, its described according to a second embodiment of the present invention in server, be used for flow chart to the householder method of client automatic software update.At first, execution in step S21 ', do you judge according to the Newest Directive information of the one or more softwares on client release recorded information and the server whether needs upgrade one or more softwares to one or more clients? if do not need update software, then this processing procedure finishes; If need to upgrade one or more softwares, then enter step S22 ', correspondingly generate one or more renewal indication files at these one or more clients; Execution in step S23 ' then sends to corresponding client with in described one or more renewals indication files each; And then enter step S24 ', receive renewal response message from one or more clients; Last execution in step S25 ' upgrades the client release recorded information according to described renewal response message.
Those skilled in the art understand, in above-mentioned steps S21 ', the present invention effective initial (when for example client and corresponding server all just have been mounted one or more software), the version information (for example version 1.0.1) of the corresponding software on the version information of each client that is write down in this client release recorded information and the corresponding server is consistent, under these circumstances can execution in step S22 ' and follow-up step; Equally, when server end does not have software to be updated, the software version information of the client that is write down in the Newest Directive information of the software on the described server and the above-mentioned client release recorded information is also identical, under these circumstances also can execution in step S22 ' and follow-up step.Have only when there is software to be updated (for example version 1.0.2) in server end, the software version information of the client that is write down in the Newest Directive information of the software on the described server and the above-mentioned client release recorded information not simultaneously just can not execution in step S22 ' and follow-up step.Similarly, those skilled in the art also are appreciated that, in the present embodiment, because the version information to the client software on the corresponding server upgrades in last step S25 ', version 1.0.2 for example, so,, thereby can realize purpose of the present invention as long as server end exists the version to be updated (for example version 1.0.3) will be in this execution in step S22 ' and follow-up step when execution in step next time S21 ' time.
Those skilled in the art understand, in the step S21 ' of present embodiment, whenever server update behind one or more softwares, execution in step S21 ' then, in such embodiments, can judge that can come execution in step S21 ' at all software, this does not influence flesh and blood of the present invention yet at these one or more softwares that are updated.But in such embodiments, because existing client to upgrade unsuccessful situation (may be that the corresponding transaction file of client downloads is unsuccessful, also may be that client has successfully been downloaded corresponding transaction file, but in the process of the inner execution of client update software mistake has appearred), so after this step S21 ' process of execution, exist the situation that client reality is not updated.At such situation, one at present embodiment changes in the example, can be set in client does not return when upgrading successful response message, server just re-execute step S21 ' or to this (etc.) do not return the server that upgrades successful response message and send once more and upgrade the indication file, until this (etc.) client returns and upgrades successful response message; And in another changes example, can be at predetermined instant execution in step S21 ', for example every 2 working days, thereby even in client this do not upgrade also can guarantee under the case of successful this (etc.) client will be upgraded as soon as possible.
Those skilled in the art also are appreciated that, in step S22 ', if determine that one or more clients need update software, then will generate respectively and upgrade the indication file at these clients, owing to initiatively initiate to upgrade operation by server end in the present embodiment, be appreciated that as mentioned above then these renewal indication files comprise the information of software whether this client exists needs to upgrade, therefore, as shown in Figure 2, receive this renewal indication file in client, then the information of software that directly whether exists needs to upgrade according to this client that comprises in this indication file can determine whether needs execution renewal operation, and further sends the renewal response message to described server.Then, server can reach subsequent step by execution in step S24 ', does not repeat them here.
With reference to figure 5, it has described the schematic diagram according to the renewal indication file of the first embodiment of the present invention.In the present embodiment, described renewal indication file comprises two information of software to be updated, is respectively the software that is numbered " 10011 ", " 10013 ".It will be appreciated by those skilled in the art that, in such renewal indication file, the content that limits by " AvailableVersion " has indicated the version number (for example 1.0.0.100) of the software to be updated of server end storage, indicated the download message of this software to be updated by " UpdateUrl ", for example can pass through http: // 10.1.10.30/Update/10011/1.0.0.100 network path is downloaded relevant program file or data file.In the present embodiment, also indicate the associated documents that to download by " ForbidUpdateUrl ", for example the file under " Directory1 ", " Directory2 ", " Directory3 " does not need to download or cannot download, these files can be the files that existed of client and do not need to upgrade, and also can be that those may cause software that client software can't operate as normal and the download that is under an embargo.
It will be appreciated by those skilled in the art that in different embodiment the content of described renewal indication file can have multiple realization, for example at present embodiment changes in the example, also can not comprise above-mentioned " ForbidUpdateUrl ", those skilled in the art can realize, will not give unnecessary details.
With reference to figure 6, it has described the structure chart according to the device that is used for the client automatic software update of the first embodiment of the present invention.In the present embodiment, the described device 3 that is used for the client automatic software update comprises: first receiving device 31, first judgment means 32 and first updating device 33, wherein this first judgment means 32 all is connected with first receiving device 31, first updating device 33.Wherein, this first receiving device 31 is used to receive the renewal indication file that one or more servers send; This first judgment means 32 is used for judging whether needs update software of client according to described renewal indication file; This first updating device 33 is used for carrying out the update software operation when client needs update software.
With reference to figure 7, it has described the structure chart of the device that is used for the client automatic software update of a third embodiment in accordance with the invention.With above-mentioned embodiment illustrated in fig. 6 comparing, present embodiment has increased by first dispensing device 34, and it is used for according to predetermined condition to sending update inquiry information with the corresponding server of this client.It will be appreciated by those skilled in the art that and at first send update inquiry information in the present embodiment that server sends above-mentioned renewal indication file to this client more then by user end to server.Can be achieved with reference to embodiment illustrated in fig. 1 for Fig. 6, the device that provides embodiment illustrated in fig. 7, for example when described renewal indication file comprises the Newest Directive information of one or more softwares that described server is included, then described first judgment means correspondingly is used for judging whether needs update software of client according to the Newest Directive information of the included one or more softwares of described server; Again for example, the Newest Directive information of described software comprises the version number of this software or the timestamp of this software.Those skilled in the art are appreciated that this and do not repeat them here.
With reference to figure 8, it has described the structure chart of first dispensing device shown in Figure 7.In the present embodiment, described first dispensing device 34 comprises that first sends processing unit 341, and it was used for before each run software to sending update inquiry information with the corresponding server of this client.It will be appreciated by those skilled in the art that first dispensing device can also comprise that second sends the processing unit (not shown) in a variation example of present embodiment, it is used at predetermined instant to sending update inquiry information with the corresponding service of this client.These two transmission processing unit all can be realized purpose of the present invention, thereby make the dispensing device of winning to send update inquiry information to corresponding server in the manner described above under certain conditions, and change in the example at one, this first dispensing device 34 can comprise these two devices simultaneously and select to use one of them, this does not influence flesh and blood of the present invention, does not repeat them here.Similarly, can be achieved with reference to embodiment illustrated in fig. 1 for the first transmission processing unit that present embodiment provided.
With reference to figure 9, it has described the structure chart of the device that is used for the client automatic software update according to a second embodiment of the present invention.Present embodiment is compared with the described embodiment of above-mentioned Fig. 8, has increased by second dispensing device 35, and it is used for sending the renewal response message to described server.It will be appreciated by those skilled in the art that this device 35 can send the successful message of renewal to described server in client update software success back, also can send other and upgrade response message under other conditions.Similarly, can not repeat them here with reference to above-mentioned embodiment illustrated in fig. 2 being achieved for the transmission processing unit that present embodiment provided.
With reference to Figure 10, it has described the structure chart that is used for the updating device in the device of client automatic software update according to the first embodiment of the present invention described.In the present embodiment, above-mentioned first updating device 33 comprises download apparatus 331, back-up device 332 and alternative 333, and wherein back-up device 332 all is connected with this download apparatus 331, alternative 333.Wherein, described download apparatus 331 is used to download the program file and/or the required data updated file of required renewal; Described alternative 333 is used for replacing described original program file and/or replacing described former data file with described updated data file with described refresh routine file; Described back-up device 332 is used to back up described original program file and/or described former data file.It will be appreciated by those skilled in the art that above-mentioned first updating device 33 can not comprise described back-up device 332 in a variation example of present embodiment, this also influences flesh and blood of the present invention.Can be achieved with reference to embodiment illustrated in fig. 1 for the device that present embodiment provided, not repeat them here.
With reference to Figure 11, it has been described and has been used for structure chart to the servicing unit of client automatic software update according to the first embodiment of the present invention in server.In the present embodiment, described being used in server comprises generating apparatus 51 and the 3rd dispensing device 52 to the servicing unit 5 of client automatic software update, and wherein said generating apparatus 51 is used to generate one or more renewal indication files; Described the 3rd dispensing device 52 is used for described one or more renewals indication files each is sent to a specific client.It will be appreciated by those skilled in the art that the device that present embodiment provides can be achieved with reference to embodiment illustrated in fig. 3, will not give unnecessary details.
With reference to Figure 12, what it had described a third embodiment in accordance with the invention is used for structure chart to the servicing unit of client automatic software update in server.In the present embodiment, this servicing unit 5 ' on above-mentioned basis embodiment illustrated in fig. 11, also comprise second receiving system 53, it is used to receive the update inquiry information from one or more clients, correspondingly described generating apparatus 51 ' be used for one or more renewal indication files are handled and generated accordingly to described update inquiry information.Similarly, it will be appreciated by those skilled in the art that this renewal indication file comprises whether one or more softwares on the described client need the indication information that upgrades.It will be appreciated by those skilled in the art that the device that provides for present embodiment can be achieved with reference to embodiment illustrated in fig. 3, does not repeat them here.
With reference to Figure 13, its described according to a second embodiment of the present invention in server, be used for structure chart to the servicing unit of client automatic software update.Present embodiment is compared with embodiment illustrated in fig. 12, this servicing unit 5, and " increased the 3rd receiving system 54 and second updating device 55, wherein second updating device 55 " is connected with described generating apparatus 51.The 3rd receiving system 54 is used to receive the renewal response message from one or more clients; This second updating device 55 is used for upgrading the client release recorded information according to described renewal response message.The device that those skilled in the art can be provided with reference to above-mentioned at least realization present embodiment embodiment illustrated in fig. 4 does not repeat them here.
With reference to Figure 14, it has described generating apparatus 51 shown in Figure 13 again " structure chart.Wherein, this generating apparatus 51 " comprises second judgment means 511 and generates processing unit 512.This second judgment means 511 is used for judging according to the Newest Directive information of the one or more softwares on described client release recorded information and this server whether needs upgrade one or more softwares to described one or more client; This generation processing unit 512 is used for correspondingly generating one or more renewal indication files at these one or more clients when one or more clients need be upgraded one or more software.It will be appreciated by those skilled in the art that in the present embodiment correspondingly described the 3rd dispensing device is used for described one or more renewals indication files each is sent to corresponding client.It will be appreciated by those skilled in the art that the device that provides for present embodiment can be achieved with reference to embodiment illustrated in fig. 4, does not repeat them here.
With reference to Figure 15, it has described the operation principle schematic diagram of the first embodiment of the present invention.In the present embodiment, there are a plurality of servers 71,72...7n, also have many clients 61,62...6m, wherein, comprise above-mentioned device 3 (or 3 ' etc.) in the described client 6m, comprise in the described server 7n above-mentioned servicing unit 5 (or 5 ', 5 " etc.).In the present embodiment, described client can only be sent update inquiry information to a server, and receives renewal indication file and download corresponding transaction file (for example program file and data file) from a server; And in the variation example of present embodiment, any client also can or be appointed a plurality of servers to receive and upgrade the indication file and download corresponding transaction file from any, this depends on the corresponding relation and the administrative relationships of server and client, and influences flesh and blood of the present invention.
In present embodiment shown in Figure 15, client/server (C/S) software that is complementary with server end that has only on the client to be moved need use content of the present invention to upgrade.That is, after the software of server end upgrades, correspondingly adopt content of the present invention and embodiment that client software is upgraded.And in a variation example of present embodiment, except these client/server software, other common software also adopt content of the present invention and embodiment that client software is upgraded, such situation also within the scope of the invention, thereby can improve maintenance efficiency.
It will be appreciated by those skilled in the art that the server and client side can be connected by local area network (LAN) among the above-mentioned embodiment shown in Figure 15, also can be connected, even can be connected that this does not influence flesh and blood of the present invention by wireless Internet by the Internet.
More than specific embodiments of the invention are described.It will be appreciated that the present invention is not limited to above-mentioned specific implementations, those skilled in the art can make various distortion or modification within the scope of the appended claims.
Claims (41)
1. the method for a client automatic software update wherein, comprises the steps:
B. receive the renewal indication file that one or more servers send;
C. judge whether needs update software of client according to described renewal indication file;
D. if client needs update software, then carry out the update software operation.
2. method according to claim 1 wherein, also comprised step before described step b:
A. according to predetermined condition to sending update inquiry information with the corresponding server of this client;
Wherein, the indication of the renewal among described step b file is associated with this update inquiry information.
3. method according to claim 2, wherein, described step a comprises the steps:
-before each run software to sending update inquiry information with the corresponding service of this client.
4. method according to claim 2, wherein, described step a comprises the steps:
-at predetermined instant to sending update inquiry information with the corresponding service of this client.
5. according to each described method in the claim 2 to 4, wherein, described update inquiry information comprises the Newest Directive information of the one or more softwares on the described client.
6. according to each described method in the claim 1 to 5, wherein, described renewal indication file comprises the Newest Directive information of one or more softwares that described server is included;
Wherein, described step c comprises the steps: to judge whether needs update software of client according to the Newest Directive information of the included one or more softwares of described server.
7. according to claim 5 or 6 described methods, wherein, the Newest Directive information of described software comprises any in the following information:
The version number of-this software; Perhaps
The timestamp of-this software.
8. according to each described method in the claim 1 to 5, wherein, described renewal indication file comprises whether one or more softwares on the described client need the indication information that upgrades;
Wherein, described step c comprise the steps: according to one or more softwares on the described client whether the indication information that upgrades of needs judge whether needs update software of client.
9. according to the described method of claim 2 to 8, wherein, described renewal indication file also comprises one or more related download information that need update software.
10. method according to claim 9, wherein, described related download information comprises following information:
Program file and/or data file that-needs are downloaded; And/or
-do not need program file and/or the data file downloaded.
11. according to each described method in the claim 1 to 10, wherein, described steps d comprises the steps:
D1. download the program file and/or the required data updated file of required renewal;
D2. replace described original program file and/or replace described former data file with described refresh routine file with described updated data file.
12. method according to claim 11 wherein, also comprised the steps: before described steps d 2
Described original program file of-backup and/or described former data file.
13., wherein, also comprise the steps: according to claim 11 or 12 described methods
D3. send to described one or more servers and upgrade response message.
14. a device that is used for the client automatic software update wherein, comprising:
First receiving device is used to receive the renewal indication file that one or more servers send;
First judgment means is used for judging whether needs update software of client according to described renewal indication file; And
First updating device is used for carrying out the update software operation when client needs update software.
15. device according to claim 14 wherein, also comprises:
First dispensing device is used for according to predetermined condition to sending update inquiry information with the corresponding server of this client.
16. device according to claim 15, wherein, described first dispensing device comprises that first sends processing unit, and it was used for before each run software to sending update inquiry information with the corresponding server of this client.
17. device according to claim 15, wherein, described first dispensing device comprises that second sends processing unit, and it is used at predetermined instant to sending update inquiry information with the corresponding service of this client.
18. according to each described device in the claim 15 to 17, wherein, described update inquiry information comprises the Newest Directive information of the one or more softwares on the described client.
19. according to each described device in the claim 14 to 18, wherein, described renewal indication file comprises the Newest Directive information of one or more softwares that described server is included;
Wherein, described first judgment means is used for judging whether needs update software of client according to the Newest Directive information of the included one or more softwares of described server.
20. according to claim 18 or 19 described devices, wherein, the Newest Directive information of described software comprises any in the following information:
The version number of-this software; Perhaps
The timestamp of-this software.
21. according to each described device in the claim 14 to 18, wherein, described renewal indication file comprises whether one or more softwares on the described client need the indication information that upgrades, wherein, described judgment means be used for according to one or more softwares on the described client whether the indication information that upgrades of needs judge whether needs update software of client.
22. according to the described device of claim 15 to 21, wherein, described renewal indication file also comprises one or more related download information that need update software.
23. according to each described device in the claim 14 to 22, wherein, described first updating device comprises:
Download apparatus is used to download the program file and/or the required data updated file of required renewal;
Alternative is used for replacing described original program file and/or replacing described former data file with described updated data file with described refresh routine file.
24. device according to claim 23 wherein, also comprises:
Back-up device is used to back up described original program file and/or described former data file.
25., wherein, also comprise according to claim 23 or 24 described devices:
Second dispensing device is used for sending the renewal response message to described server.
26. a householder method that is used in server the client automatic software update wherein, comprises the steps:
Ii. generate one or more renewal indication files;
Iii. in the described one or more renewals indication files each is sent to a specific client.
27. method according to claim 26, wherein, described renewal indication file comprises the Newest Directive information of one or more softwares that described server is included.
28. method according to claim 26 wherein, also comprises step before the described step I i:
Reception is from the update inquiry information of one or more clients;
Wherein, described step I i comprises the steps:
-described update inquiry information is handled;
-generate one or more renewals accordingly to indicate files.
29. according to claim 26 or 28 described methods, wherein, described renewal indication file comprises whether one or more softwares on the described client need the indication information that upgrades.
30., wherein, also comprise step according to each described method in the claim 26 to 29:
Iv. receive renewal response message from one or more clients;
V. upgrade the client release recorded information according to described renewal response message.
31. method according to claim 30, wherein, described step I i comprises the steps:
Ii1. after the one or more softwares on the server are updated, judge according to the Newest Directive information and the described client release recorded information of described one or more softwares whether needs upgrade one or more softwares to described one or more client;
Ii2. if one or more clients need be upgraded one or more softwares, then correspondingly generate one or more renewal indication files at these one or more clients;
Wherein, described step I ii comprises the steps: in the described one or more renewals indication files each is sent to corresponding client.
32. method according to claim 31, wherein, described step I i1 comprises the steps:
Ii1 '. judge according to the Newest Directive information of the one or more softwares on described client release recorded information and this server whether needs upgrade one or more softwares to described one or more client at predetermined instant.
33. according to each described method in the claim 26 to 32, wherein, described renewal indication file also comprises described one or more related download information that needs update software.
34. a servicing unit that is used in server the client automatic software update wherein, comprising:
Generating apparatus is used to generate one or more renewal indication files;
The 3rd dispensing device, each that is used for described one or more renewal indication files sends to a specific client.
35. servicing unit according to claim 33, wherein, described renewal indication file comprises the Newest Directive information of one or more softwares that described server is included.
36. servicing unit according to claim 33 wherein, also comprises:
Second receiving system is used to receive the update inquiry information from one or more clients, and wherein, described generating apparatus is used for one or more renewal indication files are handled and generated accordingly to described update inquiry information.
37. according to claim 33 or 35 described servicing units, wherein, described renewal indication file comprises whether one or more softwares on the described client need the indication information that upgrades.
38., wherein, also comprise according to each described servicing unit in the claim 33 to 36;
The 3rd receiving system is used to receive the renewal response message from one or more clients; And
Second updating device is used for upgrading the client release recorded information according to described renewal response message.
39. according to the described servicing unit of claim 38, wherein, described second updating device comprises:
Second judgment means, be used for after the one or more softwares on the server are updated, judge according to the Newest Directive information and the described client release recorded information of described one or more softwares whether needs upgrade one or more softwares to described one or more client; And
Generate processing unit, be used for when one or more clients need be upgraded one or more software, correspondingly generating one or more renewal indication files at these one or more clients;
Wherein, described the 3rd dispensing device is used for described one or more renewals indication files each is sent to corresponding client.
40. according to the described servicing unit of claim 39, wherein, described second judgment means also is used for judging according to the Newest Directive information of the one or more softwares on described client release recorded information and this server whether needs upgrade one or more softwares to described one or more client at predetermined instant.
41. according to each described servicing unit in the claim 34 to 40, wherein, described renewal indication file also comprises described one or more related download information that needs update software.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2006101482524A CN101212336A (en) | 2006-12-28 | 2006-12-28 | Automatic software update method for client, auxiliary method and related device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2006101482524A CN101212336A (en) | 2006-12-28 | 2006-12-28 | Automatic software update method for client, auxiliary method and related device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101212336A true CN101212336A (en) | 2008-07-02 |
Family
ID=39612037
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2006101482524A Pending CN101212336A (en) | 2006-12-28 | 2006-12-28 | Automatic software update method for client, auxiliary method and related device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101212336A (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103118060A (en) * | 2012-11-19 | 2013-05-22 | 苏州亿倍信息技术有限公司 | Self-synchronizing upgrade method and system |
CN103235904A (en) * | 2013-04-26 | 2013-08-07 | 中国联合网络通信集团有限公司 | Application software digital right management method, device and system |
CN103457620A (en) * | 2013-09-09 | 2013-12-18 | 深圳市富斯遥控模型技术有限公司 | Method and updating system for achieving system updating of model remote controller receiving machine |
CN103544033A (en) * | 2013-09-30 | 2014-01-29 | 小米科技有限责任公司 | Method, device and associated equipment for rolling back application program |
CN103955385A (en) * | 2014-04-22 | 2014-07-30 | 北京联时空网络通信设备有限公司 | Updating control method and device for web spiders |
CN103995894A (en) * | 2011-09-29 | 2014-08-20 | 北京奇虎科技有限公司 | Terminal file updating management method and system |
WO2016000137A1 (en) * | 2014-06-30 | 2016-01-07 | 北京新媒传信科技有限公司 | Method, client and system for multi-site automatic update |
CN105468395A (en) * | 2014-09-10 | 2016-04-06 | 阿里巴巴集团控股有限公司 | Updating method, device and system |
CN107220086A (en) * | 2017-05-31 | 2017-09-29 | 北京京东尚科信息技术有限公司 | information updating method, device and server |
CN107623603A (en) * | 2017-10-20 | 2018-01-23 | 泸州北方化学工业有限公司 | Client software automatic update method, client and storage medium |
CN107908406A (en) * | 2017-11-24 | 2018-04-13 | 四川文轩教育科技有限公司 | The method that web project penetrability automatically updates deployment |
CN109542488A (en) * | 2018-11-30 | 2019-03-29 | 深圳市元征科技股份有限公司 | A kind of software version configuration method and relevant apparatus, system |
CN110325962A (en) * | 2017-02-27 | 2019-10-11 | 株式会社自动网络技术研究所 | Method for updating program |
CN111666086A (en) * | 2020-05-08 | 2020-09-15 | 广州微算互联信息技术有限公司 | Method, system and storage medium for updating application software |
CN111796842A (en) * | 2020-06-10 | 2020-10-20 | 云南电网有限责任公司 | Remote upgrading method and device for log client software |
CN113821525A (en) * | 2021-11-24 | 2021-12-21 | 北京金堤科技有限公司 | Data updating system and method, storage medium and electronic device |
-
2006
- 2006-12-28 CN CNA2006101482524A patent/CN101212336A/en active Pending
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103995894B (en) * | 2011-09-29 | 2017-09-29 | 北京奇虎科技有限公司 | A kind of terminal file updating management method and system |
CN103995894A (en) * | 2011-09-29 | 2014-08-20 | 北京奇虎科技有限公司 | Terminal file updating management method and system |
CN103118060A (en) * | 2012-11-19 | 2013-05-22 | 苏州亿倍信息技术有限公司 | Self-synchronizing upgrade method and system |
CN103235904B (en) * | 2013-04-26 | 2016-02-03 | 中国联合网络通信集团有限公司 | Application software digital literary property protection method, Apparatus and system |
CN103235904A (en) * | 2013-04-26 | 2013-08-07 | 中国联合网络通信集团有限公司 | Application software digital right management method, device and system |
CN103457620A (en) * | 2013-09-09 | 2013-12-18 | 深圳市富斯遥控模型技术有限公司 | Method and updating system for achieving system updating of model remote controller receiving machine |
CN103544033B (en) * | 2013-09-30 | 2017-02-08 | 小米科技有限责任公司 | Method, device and associated equipment for rolling back application program |
CN103544033A (en) * | 2013-09-30 | 2014-01-29 | 小米科技有限责任公司 | Method, device and associated equipment for rolling back application program |
CN103955385A (en) * | 2014-04-22 | 2014-07-30 | 北京联时空网络通信设备有限公司 | Updating control method and device for web spiders |
CN105765908B (en) * | 2014-06-30 | 2019-07-19 | 北京新媒传信科技有限公司 | A kind of multi-site automatic update method, client and system |
CN105765908A (en) * | 2014-06-30 | 2016-07-13 | 北京新媒传信科技有限公司 | Method, client and system for multi-site automatic update |
WO2016000137A1 (en) * | 2014-06-30 | 2016-01-07 | 北京新媒传信科技有限公司 | Method, client and system for multi-site automatic update |
CN105468395A (en) * | 2014-09-10 | 2016-04-06 | 阿里巴巴集团控股有限公司 | Updating method, device and system |
CN110325962A (en) * | 2017-02-27 | 2019-10-11 | 株式会社自动网络技术研究所 | Method for updating program |
CN107220086A (en) * | 2017-05-31 | 2017-09-29 | 北京京东尚科信息技术有限公司 | information updating method, device and server |
CN107623603A (en) * | 2017-10-20 | 2018-01-23 | 泸州北方化学工业有限公司 | Client software automatic update method, client and storage medium |
CN107908406A (en) * | 2017-11-24 | 2018-04-13 | 四川文轩教育科技有限公司 | The method that web project penetrability automatically updates deployment |
CN109542488A (en) * | 2018-11-30 | 2019-03-29 | 深圳市元征科技股份有限公司 | A kind of software version configuration method and relevant apparatus, system |
CN111666086A (en) * | 2020-05-08 | 2020-09-15 | 广州微算互联信息技术有限公司 | Method, system and storage medium for updating application software |
CN111666086B (en) * | 2020-05-08 | 2023-09-05 | 广州微算互联信息技术有限公司 | Method, system and storage medium for updating application software |
CN111796842A (en) * | 2020-06-10 | 2020-10-20 | 云南电网有限责任公司 | Remote upgrading method and device for log client software |
CN113821525A (en) * | 2021-11-24 | 2021-12-21 | 北京金堤科技有限公司 | Data updating system and method, storage medium and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101212336A (en) | Automatic software update method for client, auxiliary method and related device | |
CN100481005C (en) | System and method for updating a software program | |
US9485134B2 (en) | Managing configurations of system management agents in a distributed environment | |
US10282191B2 (en) | Updating web resources | |
CN100498719C (en) | Method and device for executing batch processing job | |
US9116776B2 (en) | Updating software objects | |
EP2021937B1 (en) | Techniques to perform gradual upgrades | |
CN101321187B (en) | System, method and program product for backing up data | |
CN107193607B (en) | Method and apparatus for updating code file, storage medium, processor, and terminal | |
CN100421072C (en) | Method for realizing software updating | |
CN103019757A (en) | Method, device and system for synchronizing software among multiple clients | |
CN110162334B (en) | Code management method, device and storage medium | |
CN102203779A (en) | Method for updating data and control apparatus thereof | |
CN102652306A (en) | A method of updating versioned software using a shared cache | |
CN102625156B (en) | information synchronization method and system | |
CN104486393A (en) | Resource configuration and recycling method and resource configuration and recycling system | |
CN1296220A (en) | Method and system for installing and/or updating software of self-aid financial business terminal | |
CN111949311B (en) | Gray level release method and system | |
CN101739406A (en) | Method for synchronizing file service operations on double-controller | |
JP2001325140A (en) | File transfer device | |
CN117291517A (en) | Method and device for constructing approval process | |
JP5052472B2 (en) | Program setting information switching system and switching method | |
US10360010B1 (en) | Method and system for implementing an ATM management and software policy tool | |
CN105653341A (en) | Method, device and system for upgrading network invoice client | |
CN116069859A (en) | Incremental data synchronization method of database, storage medium and computer equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20080702 |