CN1346086A - System and method capable of updating one program executing file being in process of excecution - Google Patents

System and method capable of updating one program executing file being in process of excecution Download PDF

Info

Publication number
CN1346086A
CN1346086A CN 00124642 CN00124642A CN1346086A CN 1346086 A CN1346086 A CN 1346086A CN 00124642 CN00124642 CN 00124642 CN 00124642 A CN00124642 A CN 00124642A CN 1346086 A CN1346086 A CN 1346086A
Authority
CN
China
Prior art keywords
program execute
execute file
file
program
storage location
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.)
Granted
Application number
CN 00124642
Other languages
Chinese (zh)
Other versions
CN1153134C (en
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.)
Kaiqi Digital Science & Technology Co Ltd
Original Assignee
Kaiqi Digital Science & Technology 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 Kaiqi Digital Science & Technology Co Ltd filed Critical Kaiqi Digital Science & Technology Co Ltd
Priority to CNB001246429A priority Critical patent/CN1153134C/en
Publication of CN1346086A publication Critical patent/CN1346086A/en
Application granted granted Critical
Publication of CN1153134C publication Critical patent/CN1153134C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The present invention relates to a system capable of updating a program execution file in execution and its method. The customer terminal computer executes first program execution file and puts forward a request to server, the server can transfer a state file to customer terminal computer, the first program execution file can receive state file and down-load second program execution file, then the second program execution file can be started and the first program exeuction file can be completed, then the second program execution file is copied to first storage position, and the second program execution file positioned in first storage position can be started by second program execution file, and said second program execution file can be completed so as to can update the program execution file in couse of execution.

Description

A kind of system of renewable one executory program execute file and method thereof
The present invention relates to a kind of system and method thereof of a renewable program execute file, especially relate to a kind of system and method thereof of renewable one executory program execute file.
In conventional system, when system will upgrade a program execute file, must stop this program implementation earlier, can replace old program execute file with new program execute file, and then start new program execute file to carry out.
Under the master-slave network system architecture, new program execute file is to deposit in the server of network, makes the client computer can download new program execute file to carry out the renewal of program.Therefore, when the program execute file in the server upgraded with change to some extent, server must notify the user of client computer that the program execute file of new edition is arranged at present.Carry out the version updating of program execute file when user's decision, if the client computer is being carried out the program execute file of old edition, the user must stop the execution of old edition program execute file earlier, the client computer just can be connected to the specific storage device on the network, to download the program execute file of new edition, and new edition program execute file is deposited in the position of depositing old edition program execute file in the client computer, to replace old edition program execute file.Then, the user must restart new edition program execute file.
Therefore, when the client computer is being carried out the program execute file of old edition and user when wanting the refresh routine execute file, the execution of the necessary first interrupt routine execute file of user, after treating that the program execute file upgrades, restart new program execute file again, with the rerun routine execute file.So in conventional system, the execution of program execute file can be forced to interrupt to upgrade.
Therefore, the object of the present invention is to provide a kind of system and method thereof of renewable one executory program execute file.The user need not stop the execution of old edition program execute file, can directly upgrade executory program execute file.After the program execute file upgraded, the client computer can continue to carry out the program execute file of new edition, so the execution of program execute file can not be forced to interrupt.That is to say that in the renewal process of program execute file, the user need not to stop old edition program execute file, also need not to open the program execute file of new edition with rerun routine.
For achieving the above object, the invention provides a kind of method of renewable one executory program execute file, it comprises:
One client computer is carried out one and is deposited in the first program execute file of one first storage location, and proposes a requirement;
One server receives this requirement, and require transmission one status file to this client computer according to this, this status file comprises a program execute file name, an and file address, this document address is corresponding to a storage device, and this storage device has one second program execute file corresponding to this program execute file name; This client computer is to carry out the following step:
(a) this first program execute file receives this status file;
(b) this first program execute file is connected to the pairing storage device in this document address according to the file address in this status file, downloading this second program execute file, and this second program execute file is deposited in one second storage location;
(c) this first program execute file starts this second program execute file;
(d) finish this first program execute file;
(e) this second program execute file second program execute file that will be positioned at this second storage location is copied to this first storage location;
(f) the second program execute file that is positioned at this second storage location starts the second program execute file be positioned at this first storage location; And
(g) end is positioned at the second program execute file of this second storage location.
The method of described renewable one executory program execute file is characterized in that: in step (d), this first program execute file can finish voluntarily.
The method of described renewable one executory program execute file is characterized in that: in step (d), this second program execute file can finish this first program execute file.
The method of described renewable one executory program execute file is characterized in that: in step (g), the second program execute file that is positioned at this second storage location can finish voluntarily.
The method of described renewable one executory program execute file is characterized in that: in step (g), the second program execute file that is positioned at this first storage location can finish to be positioned at the second program execute file of this second storage location.
The method of described renewable one executory program execute file is characterized in that: this storage device is an external server.
The method of described renewable one executory program execute file is characterized in that: this server comprises this storage device in addition.
The method of described renewable one executory program execute file is characterized in that: this client computer can store the status file that is received.
The present invention also provides a kind of method of renewable one executory program execute file, and it comprises:
One client computer is carried out one and is deposited in the first program execute file of one first storage location, and proposes a requirement;
One server receives this requirement, and requires transmission one second program execute file to this client computer according to this;
This client computer can be carried out the following step:
(a) this first program execute file receives this second program execute file, and this second program execute file is deposited in one second storage location;
(b) this first program execute file starts this second program execute file;
(c) finish this first program execute file;
(d) this second program execute file second program execute file that will be positioned at this second storage location is copied to this first storage location;
(e) the second program execute file that is positioned at this second storage location starts the second program execute file be positioned at this first storage location; And
(f) end is positioned at the second program execute file of this second storage location.
The method of described renewable one executory program execute file is characterized in that: in step (c), this first program execute file can finish voluntarily.
The method of described renewable one executory program execute file is characterized in that: in step (c), this second program execute file can finish this first program execute file.
The method of described renewable one executory program execute file is characterized in that: in step (f), the second program execute file that is positioned at this second storage location can finish voluntarily.
The method of described renewable one executory program execute file is characterized in that: in step (f), the second program execute file that is positioned at this first storage location can finish to be positioned at the second program execute file of this second storage location.
The present invention also provides a kind of method of renewable one executory program execute file, and it comprises:
One client computer is carried out one and is deposited in the first program execute file of one first storage location, and proposes a requirement, and wherein this client computer has one first status file, and it comprises one first program version identification code corresponding to this first program execute file;
One server receives this requirement, and require transmission one second status file to this client computer according to this, this second status file comprises a program execute file name, one file address, and one second version recognition code, this document address is corresponding to a storage device, and this storage device has one second program execute file corresponding to this program execute file name, and this second version recognition code is corresponding to this second program execute file;
This client computer can be carried out the following step:
(a) this first program execute file receives this status file;
(b) this first program execute file judges whether this second version recognition code is same as this first version identification code, if, then finish, if not, execution in step (c) then;
(c) this first program execute file is connected to the pairing storage device in this document address according to the file address in this second status file, downloading this second program execute file, and this second program execute file is deposited in one second storage location;
(d) this first program execute file starts this second program execute file;
(e) finish this first program execute file;
(f) this second program execute file second program execute file that will be positioned at this second storage location is copied to this first storage location;
(g) the second program execute file that is positioned at this second storage location starts the second program execute file be positioned at this first storage location; And
(h) end is positioned at the second program execute file of this second storage location.
The method of described renewable one executory program execute file is characterized in that: in step (e), this first program execute file finishes voluntarily.
The method of described renewable one executory program execute file is characterized in that: in step (e), this second program execute file can finish this first program execute file.
The method of described renewable one executory program execute file is characterized in that: in step (h), the second program execute file that is positioned at this second storage location can finish voluntarily.
The method of described renewable one executory program execute file is characterized in that: in step (h), the second program execute file that is positioned at this first storage location can finish to be positioned at the second program execute file of this second storage location.
The method of described renewable one executory program execute file is characterized in that: this storage device is an external server.
The method of described renewable one executory program execute file is characterized in that: this server comprises this storage device in addition.
The method of described renewable one executory program execute file is characterized in that: when this second version recognition code was different from this first version identification code, this client computer can replace this first status file with this second status file.
The present invention also provides a kind of method of renewable one executory program execute file, and it comprises:
The first program execute file of one first storage location is deposited in one client computer execution one, and a requirement is proposed, wherein this client computer comprises a download driving module, be used for driving this download module, and have one first status file, it comprises one first program version identification code corresponding to this first program execute file;
One server receives this requirement, and require transmission one second status file to this client computer according to this, this second status file comprises a program execute file name, a file address and one second version recognition code, this document address is corresponding to a storage device, and this storage device has one second program execute file corresponding to this program execute file name, and this second version recognition code is corresponding to this second program execute file;
This client computer can be carried out the following step:
(a) this first program execute file receives this status file;
(b) this first program execute file judges whether this second version recognition code is same as this first version identification code, if, then finish, if not, execution in step (c) then;
(c) this first program execute file judges that this download drives module and whether is driven, if, then carry out (d), if not, then finish;
(d) this first program execute file is connected to the pairing storage device in this document address according to the file address in this second status file, downloading this second program execute file, and this second program execute file is deposited in one second storage location;
(e) this first program execute file starts this second program execute file;
(f) finish this first program execute file;
(g) this second program execute file second program execute file that will be positioned at this second storage location is copied to this first storage location;
(h) the second program execute file that is positioned at this second storage location starts the second program execute file be positioned at this first storage location; And
(i) end is positioned at the second program execute file of this second storage location.
The method of described renewable one executory program execute file is characterized in that: in step (f), this first program execute file finishes voluntarily.
The method of described renewable one executory program execute file is characterized in that: in step (f), this second program execute file can finish this first program execute file.
The method of described renewable one executory program execute file is characterized in that: in step (i), the second program execute file that is positioned at this second storage location can finish voluntarily.
The method of described renewable one executory program execute file is characterized in that: in step (i), the second program execute file that is positioned at this first storage location can finish to be positioned at the second program execute file of this second storage location.
The method of described renewable one executory program execute file is characterized in that: this storage device is an external server.
The method of described renewable one executory program execute file is characterized in that: this server comprises this storage device in addition.
The method of described renewable one executory program execute file, it is characterized in that: when this second version recognition code was different from this first version identification code and this download and drives module and driven this download module, this client computer can replace this first status file with this second status file.
The present invention provides a kind of system of renewable one executory program execute file again, it is characterized in that: comprise:
One server, it comprises: most status files, each status file comprises a program execute file name, an and file address, this document address is corresponding to a storage device, and this storage device has one second program execute file corresponding to this program execute file name, and this second program execute file comprises:
One copy module is used for copying this second program execute file;
One starts module, is used for starting the second program execute file that is copied; And
One finishes module, is used for finishing the execution of this second program execute file; And
One client computer, it comprises:
One client storage device; And
One first program execute file be stored in one first storage location of this client storage device, and this first program execute file comprises:
One communication module group is used for receiving the status file that transmits from this server;
One downloads module, be used for according to the file address in this status file, be connected to the pairing storage device in this document address, downloading this second program execute file, and this second program execute file deposited in one second storage location of this client storage device;
One starts module, is used for starting this second program execute file; And
One finishes module, is used for finishing the execution of this first program execute file.
The system of described renewable one executory program execute file is characterized in that: the end module of this second program execute file is used for finishing the execution of this first program execute file.
The system of described renewable one executory program execute file is characterized in that: this storage device is an external server.
The system of described renewable one executory program execute file is characterized in that: this server comprises this storage device in addition.
The system of described renewable one executory program execute file is characterized in that: this client computer can store the status file that is received.
The present invention also provides a kind of system of renewable one executory program execute file, and it comprises:
One server, it comprises:
One second program execute file, it comprises:
One copy module is used for copying this second program execute file;
One starts module; Be used for starting the second program execute file that is copied; And
One finishes module, is used for finishing the execution of this second program execute file; And
One client computer, it comprises:
One client storage device; And
One first program execute file is stored in one first storage location of this client storage device, and wherein this first program execute file comprises:
One communication module group is used for receiving the second program execute file that transmits from this server, and this second program execute file is deposited in one second storage location of this client storage device;
One starts module, is used for starting this second program execute file; And
One finishes module, is used for finishing the execution of this first program execute file.
The system of described renewable one executory program execute file is characterized in that: the end module of this second program execute file is the execution that is used for finishing this first program execute file.
The present invention also provides a kind of system of renewable one executory program execute file, it is characterized in that: comprise:
One server, it comprises:
Most second status file, each second status file comprises a program execute file name, one file address, and one second version recognition code, this document address is corresponding to a storage device, and this storage device has one second program execute file corresponding to this program execute file name, and this second version recognition code is corresponding to this second program execute file, and wherein this second program execute file comprises:
One copy module is used for copying this second program execute file;
One starts module, is used for starting the second program execute file that is copied; And
One finishes module, is used for finishing the execution of this second program execute file; And
One client computer, it comprises:
One client storage device; And
One first status file is stored in this client storage device, and it comprises one first program version identification code;
One first program execute file is stored in one first storage location of this client storage device, and wherein this first program version identification code is corresponding to this first program execute file, and this first program execute file comprises:
One communication module group is used for receiving second status file that transmits from this server; One version is judged module, is used for judging whether this second version recognition code is same as this first version identification code;
One downloads module, be used for according to the file address in this second status file, be connected to the pairing storage device in this document address, downloading this second program execute file, and this second program execute file deposited in one second storage location of this client storage device;
One starts module, is used for starting this second program execute file; And
One finishes module, is used for finishing the execution of this first program execute file.
The system of described renewable one executory program execute file is characterized in that: the end module of this second program execute file is the execution that is used for finishing this first program execute file.
The system of described renewable one executory program execute file is characterized in that: this storage device is an external server.
The system of described renewable one executory program execute file is characterized in that: this server comprises this storage device in addition.
The system of described renewable one executory program execute file is characterized in that: when this second version recognition code was different from this first version identification code, this client computer was to replace this first status file with this second status file.
The system of described renewable one executory program execute file is characterized in that: this first program execute file comprises one in addition and downloads the driving module, is used for driving this download module.
The system of described renewable one executory program execute file, it is characterized in that: when this second version recognition code was different from this first version identification code and this download and drives module and driven this download module, this client computer was to replace this first status file with this second status file.
The system of described renewable one executory program execute file is characterized in that: this first program execute file comprises one in addition and downloads the judgement module, is used for judging that this download drives module and whether is driven.
Compared to known techniques, system of the present invention can upgrade an executory program execute file.When the program execute file in the server upgraded with change to some extent, the user need not to stop the execution of old edition program execute file, and can directly carry out version updating to executory program execute file.When program execute file case is not very big, when perhaps being in network wideband environment, system of the present invention then has best effect.
Therefore, in system of the present invention, for the user, the user can always have the program execute file of latest edition, and need not worry the problem of function upgrading.And, can guarantee that all users are employed at present all is program execute files of latest edition by automatic refresh routine execute file for the supplier of program execute file.In addition, when the supplier finds that wrong (bugs) appears in this program execute file, the program execute file is being carried out debug (debug) afterwards, and the supplier can utilize method of the present invention to come the employed program execute file of immediate updating user, to carry out the corrigendum of program.
Below, with embodiment the present invention is done further detailed description in conjunction with the accompanying drawings.
Fig. 1 is the block schematic diagram of first embodiment of system among the present invention.
Fig. 2 is the schematic flow sheet of first embodiment of the inventive method.
Fig. 3 is the synoptic diagram of the status file of system among the present invention.
Fig. 4 is the synoptic diagram of the first program execute file of system among the present invention.
Fig. 5 is the synoptic diagram of the second program execute file of system among the present invention.
Fig. 6 is the block schematic diagram of second embodiment of system of the present invention.
Fig. 7 is the schematic flow sheet of second embodiment of the inventive method.
Fig. 8 is the synoptic diagram of second status file of system among the present invention.
Fig. 9 is the synoptic diagram of the first program execute file of system among the present invention.
Figure 10 is the block schematic diagram of the 3rd embodiment of system of the present invention.
Figure 11 is the schematic flow sheet of the 3rd embodiment of the inventive method.
Figure 12 is the synoptic diagram of the first program execute file of system.
Figure 13 is the synoptic diagram of the 4th embodiment of system of the present invention.
Figure 14 is the schematic flow sheet of the 4th embodiment of the inventive method.
Figure 15 is the synoptic diagram of the first program execute file of system.
Consult Fig. 1 to Fig. 5.Fig. 1 is first embodiment of system 10 of the present invention.Fig. 2 is first embodiment of the inventive method 11.Fig. 3 is the synoptic diagram of the status file 18 of system 10.Fig. 4 is the synoptic diagram of the first program execute file 34 of system 10.Fig. 5 is the synoptic diagram of the second program execute file 44 of system 10.System 10 comprises a server 12, one client computers 14, and most external servers 16.
Server 12 comprises most status files 18, and a storage device 20.Client computer 14 comprises a client storage device 22, and one first program execute file 34, deposits in first storage location 30 of client storage device 22.Each external server 16 comprises a storage device 24.
As shown in Figure 3, each status file 18 comprises a program execute file name 26 and a file address 28.File address 28 is corresponding to storage device 20 or 24, and storage device 20 or 24 has the second program execute file 44 corresponding to program execute file name 26.
As shown in Figure 4, the first program execute file 34 comprises a communication module group 36, and downloads module 38, one startup modules 40, and one finishes module 42.As shown in Figure 5, the second program execute file 44 comprises a copy module 46, and starts module 48, and one finishes module 50.
As shown in Figure 2, in step 201, client computer 14 can be carried out the first program execute file 34, and server 12 is proposed a requirement.In step 202, server 12 can receive this requirement, and requires transmission one status file 18 to client computer 14 according to this.Then, client computer 14 can be carried out the following step:
Step 203: carry out the communication module group 36 of the first program execute file 34, to receive kenel shelves 18;
Step 204: the download module 38 of carrying out the first program execute file 34, with according to the file address in the status file 18 28, be connected to file address 28 pairing storage devices 20 or 24, downloading the second program execute file 44, and the second program execute file 44 is deposited in second storage location 32 of client storage device 22;
Step 205: carry out the startup module 40 of the first program execute file 34, to start the second program execute file 44;
Step 206: carry out the end module 42 of the first program execute file 34, to finish the first program execute file 34;
Step 207: carry out the copy module 46 of the second program execute file 44, be copied to first storage location 30 with the second program execute file 44 that will be positioned at second storage location 32;
Step 208: carry out the startup module 48 of the second program execute file 44 that is positioned at second storage location 32, live in the second program execute file 44 of first storage location 30 to start; And
Step 209: carry out the end module 50 of the second program execute file 44 that is positioned at second storage location 32, to finish to be positioned at the second program execute file 44 of second storage location 32.
Step 206 also can be the end module 50 of carrying out the second program execute file 44, to finish the first program execute file 34.And step 209 also can be the second program execute file 44 that execution is positioned at first storage location 30, to finish to be positioned at the second program execute file 44 of second storage location 32.
In addition, client computer 14 can be stored in the status file 18 that is received in the client storage device 22.Status file 18 can be an independent archiving in client computer 14, also can be present in the registration shelves of operating system.
Method 11 is to be used for the first program execute file 34 of system 10 is updated to the second program execute file 44.The startup module 48 of the second program execute file 44 has startup module 40 identical functions with the first program execute file 34, has identical functions and finish module 50 with end module 42.In addition, the second program execute file 44 comprises with the communication module group 36 of the first program execute file 34 in addition and downloads communication module group that module 38 has an identical function and download module, therefore when system 10 will upgrade the second program execute file 44, manner of execution 11 once more.
By above narration as can be known, when system 10 is carrying out the first program execute file 34, system 10 can be updated to the second program execute file 44 with the first program execute file 34, and continues to carry out the second program execute file 44 after upgrading, to finish execution work.System 10 can carry out the renewal of program automatically under the situation that the user does not discover, to reach better implementation effect.
Certainly, after system's 10 automatic refresh routine execute files 44, server 12 can send an information to client computer 14, has carried out renewal to inform user's program execute file 44.
With reference to figure 6 to Fig. 9.Fig. 6 is second embodiment of system 60 of the present invention.Fig. 7 is second embodiment of the inventive method 62.Fig. 8 is the synoptic diagram of second status file 64 of system 60.Fig. 9 is the synoptic diagram of the first program execute file 66 of system 60.System 60 is that with the difference of system 10 server 71 comprises most second status files 64, and each second status file 64 comprises one second version recognition code 68 in addition, corresponding to the second program execute file 44.
72 in client computer has one first kenel shelves (not shown), and it comprises one first program version identification code (not shown) corresponding to the first program execute file 66.66 of the first program execute files comprise a version in addition and judge module 70, are used for judging whether second version recognition code 68 is same as the first version identification code.
As shown in Figure 7, in step 701, client computer 72 can be carried out the first program execute file 66, and server 71 is proposed a requirement.In step 702, server 71 can receive this requirement, and requires transmission one third state file 64 to client computer 72 according to this.Then, client computer 72 can be carried out the following step:
Step 703: carry out the communication module group 36 of the first program execute file 66, to receive second status file 64;
Step 704: the version of carrying out the first program execute file 66 is judged module 70, whether is same as the first version identification code to judge second version recognition code 68, if, then ending method 62, and continue to carry out the first program execute file 66, if not, then execution in step 705;
Step 705: the download module 38 of carrying out the first program execute file 66, with according to the file address 28 in second status file 64, be connected to file address 28 pairing storage devices 20 or 24, downloading the second program execute file 44, and the second program execute file 44 is deposited in second storage location 32 of client storage device 22;
Step 706: carry out the startup module 40 of the first program execute file 66, to start the second program execute file 44;
Step 707: carry out the end module 42 of the first program execute file 66, to finish the first program execute file 66;
Step 708: carry out the copy module 46 of the second program execute file 44, be copied to first storage location 30 with the second program execute file 44 that will be positioned at second storage location 32;
Step 709: carry out the startup module 48 of the second program execute file 44 that is positioned at second storage location 32, be positioned at the second program execute file 44 of first storage location 30 with startup; And
Step 710: carry out the end module 50 of the second program execute file 44 that is positioned at second storage location 32, to finish to be positioned at the second program execute file 44 of second storage location 32.
Method 62 is with the main difference part of method 11, method 62 can utilize version recognition code to judge whether the second program execute file is a newer version, only during newly in the first program execute file 66, just can carry out the renewal of program version at the second program execute file 44.If the version of the second program execute file 44 is not newly in the first program execute file 66, client computer 72 can continue to finish the execution of the first program execute file 66 so, and can not carry out more new element.
In addition, version recognition code also can be the update time of program except can being illustrated in figure 8 as a version number, and update time is late more, and the version of program is new more.
Step 707 also can be the end module 50 of carrying out the second program execute file 44, to finish the first program execute file 66.And step 710 also can be the second program execute file 44 that execution is positioned at first storage location 30, to finish to be positioned at the second program execute file 44 of second storage location 32.
In addition, when second version recognition code is different from first version identification code and the first program execute file 66 and has been updated to the second program execute file 44, client computer 72 can be stored in second status file 64 that is received in the client storage device 22, to replace first status file.
Second status file 64 can be an independent archiving in client computer 72, also can be present in the registration shelves of operating system.
The startup module 48 of the second program execute file 44 has startup module 40 identical functions with the first program execute file 66, has identical functions and finish module 50 with end module 42.In addition, the second program execute file 44 comprises the communication module group 36 with the first program execute file 66 in addition, version is judged module 70, and download module 38, and having the communication module group of identical function, version is judged module, and download module, therefore, when system 60 will upgrade the second program execute file 44, manner of execution 62 once more.
By above narration as can be known, when system 60 is carrying out the first program execute file 60, system 60 can be updated to the second program execute file 44 with the first program execute file 66, and continues to carry out the second program execute file 44 after upgrading, to finish execution work.System 60 can carry out the renewal of program automatically under the situation that the user does not discover, to reach better implementation effect.
Certainly, after system's 60 automatic refresh routine execute files, server 71 can send an information to client computer 72, has carried out renewal to inform user's program execute file.
With reference to figures 10 to Figure 12.Figure 10 is the 3rd embodiment of system 80 of the present invention.Figure 11 is the 3rd embodiment of the inventive method 82.Figure 12 is the synoptic diagram of the first program execute file 84 of system 80.System 80 is with the difference of system 60, the first program execute file 84 of depositing in client computer 86 comprises one in addition and downloads driving module 88, be used for driving download module 38, and a download judgement module 90, be used for judging whether download driving module 88 is driven.
As shown in figure 11, in step 111, client computer 86 can be carried out the first program execute file 84, and server 71 is proposed a requirement.In step 112, server 71 can receive this requirement, and requires transmission one second status file 64 to client computer 86 according to this.Then, client computer 86 can be carried out the following step:
Step 113: carry out the communication module group 36 of the first program execute file 84, to receive second status file 64;
Step 114: the version of carrying out the first program execute file 84 is judged module 70, to judge that whether second version recognition code 68 is with identical corresponding to the first version identification code of the first program execute file 84, if, then ending method 82, and continue to carry out the first program execute file 84, if not, then execution in step 115;
Step 115: module 90 is judged in the download of carrying out the first program execute file 84, to judge whether download driving module 88 is driven, if then execution in step 116, if not, then ending method 82, and continue to carry out the first program execute file 84;
Step 116: the download module 38 of carrying out the first program execute file 84, with according to the file address 28 in second status file 64, be connected to file address 28 pairing storage devices 20 or 24, downloading the second program execute file 44, and the second program execute file 44 is deposited in second storage location 32 of client storage device 22;
Step 117: carry out the startup module 40 of the first program execute file 84, to start the second program execute file 44;
Step 118: carry out the end module 42 of the first program execute file 84, to finish the first program execute file 84;
Step 119: carry out the copy module 46 of the second program execute file 44, be copied to first storage location 30 with the second program execute file 44 that will be positioned at second storage location 32;
Step 120: carry out the startup module 48 of the second program execute file 44 that is positioned at second storage location 32, be positioned at the second program execute file 44 of first storage location 30 with startup; And
Step 121: carry out in the end module 50 of the second program execute file 44 of second storage location 32, to finish to be positioned at the second program execute file 44 of second storage location 32.
Method 82 is with the main difference part of method 62, when judging the second program execute file 44 and be a newer version, client computer 86 can be carried out the version of the first program execute file 84 and judge module 90, an inquiry picture to occur, the query user holds the user of computer 86 whether will carry out the renewal of program version.When version updating was carried out in user's decision, downloading driving module 88 can be driven, and then drove download module 38 with execution in step 116.When user's decision is not carried out version updating, download 88 of modules of driving and can not be driven, so client computer 86 can continue to carry out the first program execute file 84.So, only at the second program execute file 44 newly when the first program execute file 84 and user determine the refresh routine execute file, client computer 86 just can carry out the renewal of program version.
Step 118 also can be carried out the end module 50 of the second program execute file 44, to finish the first program execute file 84, step 121 also can be carried out the second program execute file 44 that is positioned at first storage location 30, to finish to be positioned at the second program execute file 44 of second storage location 32.
In addition, when second version recognition code 68 is different from first version identification code and the first program execute file 84 and has been updated to the second program execute file 44, client computer 86 can be stored in second status file 64 that is received in the client storage device 22, to replace first status file.
Second status file 64 can be an independent archiving in client computer 86, also can be present in the registration shelves of operating system.
When second version recognition code 68 is different from the first version identification code, but when user's decision is not carried out version updating, downloads and drive module 88 and can not drive and download module 38, so client computer 86 can not replace first status file with second status file 64.
The startup module 48 of the second program execute file 44 has startup module 40 identical functions with the first program execute file 84, has identical functions and finish module 50 with end module 42.In addition, the second program execute file 44 comprises the communication module group 36 with the first program execute file 84 in addition, version is judged module 70, download module 38, and download and judge that module 90 has the communication module group of identical function, version is judged module, download module, and download and judge module, therefore when system 80 will upgrade the second program execute file 44, manner of execution 82 once more.
By above narration as can be known, when system 80 is carrying out the first program execute file 84, system 80 can be updated to the second program execute file 44 with the first program execute file 84, and continues to carry out the second program execute file 44 after upgrading, to finish execution work.The demand that system 80 is understood according to the user, that is inquire whether the user will carry out program version and upgrade, and whether carries out the renewal of program execute file version with decision, to reach better implementation effect.
With reference to figures 13 to Figure 15.Figure 13 is the 4th embodiment of system 130 of the present invention.Figure 14 is the 4th embodiment of the inventive method 132.Figure 15 is the synoptic diagram of the first program execute file 134 of system 130.System 130 is that with the difference of system 10 server 138 of system 130 does not comprise any status file, but directly transmit new program execute file to client computer 136 to carry out program updates.Therefore, the first program execute file 134 of the client computer 136 of system 130 need not to comprise the download module.The second program execute file 44 then is to deposit in server 138.
As shown in figure 14, in step 141, client computer 136 can be carried out the first program execute file 134, and server 138 is proposed a requirement.In step 142, server 138 can receive this requirement, and requires transmission one second program execute file 44 to client computer 136 according to this.Then, client computer 136 can be carried out the following step:
Step 143: carry out the communication module group 36 of the first program execute file 134, receiving the second program execute file 44, and the second program execute file 44 is deposited in second storage location 32 of client storage device 22;
Step 144: carry out the startup module 40 of the first program execute file 134, to start the second program execute file 44;
Step 145: carry out the end module 42 of the first program execute file 134, to finish the first program execute file 134;
Step 146: carry out the copy module 46 of the second program execute file 44, be copied to first storage location 30 with the second program execute file 44 that will be positioned at second storage location 32;
Step 147: carry out the startup module 48 of the second program execute file 44 that is positioned at second storage location 32, be positioned at the second program execute file 44 of first storage location 30 with startup; And
Step 148: carry out the end module 50 of the second program execute file 44 that is positioned at second storage location 32, to finish to be positioned at the second program execute file 44 of second storage location 32.
Step 145 also can be carried out the end module 50 of the second program execute file 44, to finish the first program execute file 134.Step 148 also can be carried out the second program execute file 44 that is positioned at first storage location 30, to finish to be positioned at the second program execute file 44 of second storage location 32.
Method 132 is to be used for the first program execute file 134 of system 130 is updated to the second program execute file 44.The startup module 48 of the second program execute file 44 has startup module 40 identical functions with the first program execute file 134, and two finish module 50 has identical functions with end module 42.In addition, the second program execute file 44 comprises the communication module group that has identical function with the communication module group 36 of the first program execute file 34 in addition, and therefore when system 130 will upgrade the second program execute file 44, manner of execution 132 once more.
By above narration as can be known, when system 130 is carrying out the first program execute file 134, system 130 can be updated to the second program execute file 44 with the first program execute file 134, and continues to carry out the second program execute file 44 after upgrading, to finish execution work.System 130 can carry out the renewal of program version automatically under the situation that the user does not discover, to reach better implementation effect.
Certainly, after system's 130 automatic refresh routine execute files, server 138 can send an information to client computer 136, has carried out renewal to inform user's program execute file.

Claims (44)

1. the method for one kind renewable one executory program execute file, it comprises:
One client computer is carried out one and is deposited in the first program execute file of one first storage location, and proposes a requirement;
One server receives this requirement, and require transmission one status file to this client computer according to this, this status file comprises a program execute file name, an and file address, this document address is corresponding to a storage device, and this storage device has one second program execute file corresponding to this program execute file name; This client computer is to carry out the following step:
(h) this first program execute file receives this status file;
(i) this first program execute file is connected to the pairing storage device in this document address according to the file address in this status file, downloading this second program execute file, and this second program execute file is deposited in one second storage location;
(j) this first program execute file starts this second program execute file;
(k) finish this first program execute file;
(l) this second program execute file second program execute file that will be positioned at this second storage location is copied to this first storage location;
(m) the second program execute file that is positioned at this second storage location starts the second program execute file be positioned at this first storage location; And
(n) end is positioned at the second program execute file of this second storage location.
2. the method for renewable one executory program execute file as claimed in claim 1 is characterized in that: in step (d), this first program execute file can finish voluntarily.
3. the method for renewable one executory program execute file as claimed in claim 1 is characterized in that: in step (d), this second program execute file can finish this first program execute file.
4. the method for renewable one executory program execute file as claimed in claim 1 is characterized in that: in step (g), the second program execute file that is positioned at this second storage location can finish voluntarily.
5. the method for renewable one executory program execute file as claimed in claim 1 is characterized in that: in step (g), the second program execute file that is positioned at this first storage location can finish to be positioned at the second program execute file of this second storage location.
6. the method for renewable one executory program execute file as claimed in claim 1 is characterized in that: this storage device is an external server.
7. the method for renewable one executory program execute file as claimed in claim 1 is characterized in that: this server comprises this storage device in addition.
8. the method for renewable one executory program execute file as claimed in claim 1 is characterized in that: this client computer can store the status file that is received.
9. the method for one kind renewable one executory program execute file, it comprises:
One client computer is carried out one and is deposited in the first program execute file of one first storage location, and proposes a requirement;
One server receives this requirement, and requires transmission one second program execute file to this client computer according to this;
This client computer can be carried out the following step:
(g) this first program execute file receives this second program execute file, and this second program execute file is deposited in one second storage location;
(h) this first program execute file starts this second program execute file;
(i) finish this first program execute file;
(j) this second program execute file second program execute file that will be positioned at this second storage location is copied to this first storage location;
(k) the second program execute file that is positioned at this second storage location starts the second program execute file be positioned at this first storage location; And
(l) end is positioned at the second program execute file of this second storage location.
10. the method for renewable one executory program execute file as claimed in claim 9 is characterized in that: in step (c), this first program execute file can finish voluntarily.
11. the method for renewable one executory program execute file as claimed in claim 9 is characterized in that: in step (c), this second program execute file can finish this first program execute file.
12. the method for renewable one executory program execute file as claimed in claim 9 is characterized in that: in step (f), the second program execute file that is positioned at this second storage location can finish voluntarily.
13. the method for renewable one executory program execute file as claimed in claim 9, it is characterized in that: in step (f), the second program execute file that is positioned at this first storage location can finish to be positioned at the second program execute file of this second storage location.
14. the method for one kind renewable one executory program execute file, it comprises:
One client computer is carried out one and is deposited in the first program execute file of one first storage location, and proposes a requirement, and wherein this client computer has one first status file, and it comprises one first program version identification code corresponding to this first program execute file;
One server receives this requirement, and require transmission one second status file to this client computer according to this, this second status file comprises a program execute file name, one file address, and one second version recognition code, this document address is corresponding to a storage device, and this storage device has one second program execute file corresponding to this program execute file name, and this second version recognition code is corresponding to this second program execute file;
This client computer can be carried out the following step:
(i) this first program execute file receives this status file;
(j) this first program execute file judges whether this second version recognition code is same as this first version identification code, if, then finish, if not, execution in step (c) then;
(k) this first program execute file is connected to the pairing storage device in this document address according to the file address in this second status file, downloading this second program execute file, and this second program execute file is deposited in one second storage location;
(l) this first program execute file starts this second program execute file;
(m) finish this first program execute file;
(n) this second program execute file second program execute file that will be positioned at this second storage location is copied to this first storage location;
(o) the second program execute file that is positioned at this second storage location starts the second program execute file be positioned at this first storage location; And
(p) end is positioned at the second program execute file of this second storage location.
15. the method for renewable one executory program execute file as claimed in claim 14 is characterized in that: in step (e), this first program execute file finishes voluntarily.
16. the method for renewable one executory program execute file as claimed in claim 14 is characterized in that: in step (e), this second program execute file can finish this first program execute file.
17. the method for renewable one executory program execute file as claimed in claim 14 is characterized in that: in step (h), the second program execute file that is positioned at this second storage location can finish voluntarily.
18. the method for renewable one executory program execute file as claimed in claim 14, it is characterized in that: in step (h), the second program execute file that is positioned at this first storage location can finish to be positioned at the second program execute file of this second storage location.
19. the method for renewable one executory program execute file as claimed in claim 14 is characterized in that: this storage device is an external server.
20. the method for renewable one executory program execute file as claimed in claim 14 is characterized in that: this server comprises this storage device in addition.
21. the method for renewable one executory program execute file as claimed in claim 14, it is characterized in that: when this second version recognition code was different from this first version identification code, this client computer can replace this first status file with this second status file.
22. the method for one kind renewable one executory program execute file, it comprises:
The first program execute file of one first storage location is deposited in one client computer execution one, and a requirement is proposed, wherein this client computer comprises a download driving module, be used for driving this download module, and have one first status file, it comprises one first program version identification code corresponding to this first program execute file;
One server receives this requirement, and require transmission one second status file to this client computer according to this, this second status file comprises a program execute file name, a file address and one second version recognition code, this document address is corresponding to a storage device, and this storage device has one second program execute file corresponding to this program execute file name, and this second version recognition code is corresponding to this second program execute file;
This client computer can be carried out the following step:
(j) this first program execute file receives this status file;
(k) this first program execute file judges whether this second version recognition code is same as this first version identification code, if, then finish, if not, execution in step (c) then;
(l) this first program execute file judges that this download drives module and whether is driven, if, then carry out (d), if not, then finish;
(m) this first program execute file is connected to the pairing storage device in this document address according to the file address in this second status file, downloading this second program execute file, and this second program execute file is deposited in one second storage location;
(n) this first program execute file starts this second program execute file;
(o) finish this first program execute file;
(p) this second program execute file second program execute file that will be positioned at this second storage location is copied to this first storage location;
(q) the second program execute file that is positioned at this second storage location starts the second program execute file be positioned at this first storage location; And
(r) end is positioned at the second program execute file of this second storage location.
23. the method for renewable one executory program execute file as claimed in claim 22 is characterized in that: in step (f), this first program execute file finishes voluntarily.
24. the method for renewable one executory program execute file as claimed in claim 22 is characterized in that: in step (f), this second program execute file can finish this first program execute file.
25. the method for renewable one executory program execute file as claimed in claim 22 is characterized in that: in step (i), the second program execute file that is positioned at this second storage location can finish voluntarily.
26. the method for renewable one executory program execute file as claimed in claim 22, it is characterized in that: in step (i), the second program execute file that is positioned at this first storage location can finish to be positioned at the second program execute file of this second storage location.
27. the method for renewable one executory program execute file as claimed in claim 22 is characterized in that: this storage device is an external server.
28. the method for renewable one executory program execute file as claimed in claim 22 is characterized in that: this server comprises this storage device in addition.
29. the method for renewable one executory program execute file as claimed in claim 22, it is characterized in that: when this second version recognition code was different from this first version identification code and this download and drives module and driven this download module, this client computer can replace this first status file with this second status file.
30. the system of one kind renewable one executory program execute file is characterized in that: comprise:
One server, it comprises: most status files, each status file comprises a program execute file name, an and file address, this document address is corresponding to a storage device, and this storage device has one second program execute file corresponding to this program execute file name, and this second program execute file comprises:
One copy module is used for copying this second program execute file;
One starts module, is used for starting the second program execute file that is copied; And
One finishes module, is used for finishing the execution of this second program execute file; And
One client computer, it comprises:
One client storage device; And
One first program execute file be stored in one first storage location of this client storage device, and this first program execute file comprises:
One communication module group is used for receiving the status file that transmits from this server;
One downloads module, be used for according to the file address in this status file, be connected to the pairing storage device in this document address, downloading this second program execute file, and this second program execute file deposited in one second storage location of this client storage device;
One starts module, is used for starting this second program execute file; And
One finishes module, is used for finishing the execution of this first program execute file.
31. the system of renewable one executory program execute file as claimed in claim 30 is characterized in that: the end module of this second program execute file is used for finishing the execution of this first program execute file.
32. the system of renewable one executory program execute file as claimed in claim 30 is characterized in that: this storage device is an external server.
33. the system of renewable one executory program execute file as claimed in claim 30 is characterized in that: this server comprises this storage device in addition.
34. the system of renewable one executory program execute file as claimed in claim 30 is characterized in that: this client computer can store the status file that is received.
35. the system of one kind renewable one executory program execute file, it comprises:
One server, it comprises:
One second program execute file, it comprises:
One copy module is used for copying this second program execute file;
One starts module; Be used for starting the second program execute file that is copied; And
One finishes module, is used for finishing the execution of this second program execute file; And
One client computer, it comprises:
One client storage device; And
One first program execute file is stored in one first storage location of this client storage device, and wherein this first program execute file comprises:
One communication module group is used for receiving the second program execute file that transmits from this server, and this second program execute file is deposited in one second storage location of this client storage device;
One starts module, is used for starting this second program execute file; And
One finishes module, is used for finishing the execution of this first program execute file.
36. the system of renewable one executory program execute file as claimed in claim 35 is characterized in that: the end module of this second program execute file is the execution that is used for finishing this first program execute file.
37. the system of one kind renewable one executory program execute file is characterized in that: comprise:
One server, it comprises:
Most second status file, each second status file comprises a program execute file name, one file address, and one second version recognition code, this document address is corresponding to a storage device, and this storage device has one second program execute file corresponding to this program execute file name, and this second version recognition code is corresponding to this second program execute file, and wherein this second program execute file comprises:
One copy module is used for copying this second program execute file;
One starts module, is used for starting the second program execute file that is copied; And
One finishes module, is used for finishing the execution of this second program execute file; And
One client computer, it comprises:
One client storage device; And
One first status file is stored in this client storage device, and it comprises one first program version identification code;
One first program execute file is stored in one first storage location of this client storage device, and wherein this first program version identification code is corresponding to this first program execute file, and this first program execute file comprises:
One communication module group is used for receiving second status file that transmits from this server; One version is judged module, is used for judging whether this second version recognition code is same as this first version identification code;
One downloads module, be used for according to the file address in this second status file, be connected to the pairing storage device in this document address, downloading this second program execute file, and this second program execute file deposited in one second storage location of this client storage device;
One starts module, is used for starting this second program execute file; And
One finishes module, is used for finishing the execution of this first program execute file.
38. the system of renewable one executory program execute file as claimed in claim 37 is characterized in that: the end module of this second program execute file is the execution that is used for finishing this first program execute file.
39. the system of renewable one executory program execute file as claimed in claim 37 is characterized in that: this storage device is an external server.
40. the system of renewable one executory program execute file as claimed in claim 37 is characterized in that: this server comprises this storage device in addition.
41. the system of renewable one executory program execute file as claimed in claim 37, it is characterized in that: when this second version recognition code was different from this first version identification code, this client computer was to replace this first status file with this second status file.
42. the system of renewable one executory program execute file as claimed in claim 37 is characterized in that: this first program execute file comprises one in addition and downloads the driving module, is used for driving this download module.
43. the system of renewable one executory program execute file as claimed in claim 42, it is characterized in that: when this second version recognition code was different from this first version identification code and this download and drives module and driven this download module, this client computer was to replace this first status file with this second status file.
44. the system of renewable one executory program execute file as claimed in claim 42 is characterized in that: this first program execute file comprises one in addition and downloads the judgement module, is used for judging that this download drives module and whether is driven.
CNB001246429A 2000-09-26 2000-09-26 System and method capable of updating one program executing file being in process of excecution Expired - Fee Related CN1153134C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB001246429A CN1153134C (en) 2000-09-26 2000-09-26 System and method capable of updating one program executing file being in process of excecution

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB001246429A CN1153134C (en) 2000-09-26 2000-09-26 System and method capable of updating one program executing file being in process of excecution

Publications (2)

Publication Number Publication Date
CN1346086A true CN1346086A (en) 2002-04-24
CN1153134C CN1153134C (en) 2004-06-09

Family

ID=4590560

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB001246429A Expired - Fee Related CN1153134C (en) 2000-09-26 2000-09-26 System and method capable of updating one program executing file being in process of excecution

Country Status (1)

Country Link
CN (1) CN1153134C (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100412803C (en) * 2003-03-17 2008-08-20 精工爱普生株式会社 Method and system for acquiring particular data upon start of a particular program
CN101111032B (en) * 2007-08-31 2010-12-29 中兴通讯股份有限公司 Method and system for downloading software
CN105302602A (en) * 2015-10-27 2016-02-03 浪潮电子信息产业股份有限公司 Smooth online upgrade method for cloud platform application
CN105653328A (en) * 2015-12-29 2016-06-08 百度在线网络技术(北京)有限公司 Multi-version program coexistence method and apparatus for big memory service
CN105808283A (en) * 2014-12-31 2016-07-27 海洋王照明科技股份有限公司 Program updating method and device applicable to intelligent illumination equipment
CN107158705A (en) * 2017-05-18 2017-09-15 腾讯科技(深圳)有限公司 The update method and device of service

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100412803C (en) * 2003-03-17 2008-08-20 精工爱普生株式会社 Method and system for acquiring particular data upon start of a particular program
CN101111032B (en) * 2007-08-31 2010-12-29 中兴通讯股份有限公司 Method and system for downloading software
CN105808283A (en) * 2014-12-31 2016-07-27 海洋王照明科技股份有限公司 Program updating method and device applicable to intelligent illumination equipment
CN105302602A (en) * 2015-10-27 2016-02-03 浪潮电子信息产业股份有限公司 Smooth online upgrade method for cloud platform application
CN105653328A (en) * 2015-12-29 2016-06-08 百度在线网络技术(北京)有限公司 Multi-version program coexistence method and apparatus for big memory service
CN105653328B (en) * 2015-12-29 2019-01-25 百度在线网络技术(北京)有限公司 The multi version program of big memory service and deposit method and apparatus
CN107158705A (en) * 2017-05-18 2017-09-15 腾讯科技(深圳)有限公司 The update method and device of service
CN107158705B (en) * 2017-05-18 2018-09-18 腾讯科技(深圳)有限公司 The update method and device of service

Also Published As

Publication number Publication date
CN1153134C (en) 2004-06-09

Similar Documents

Publication Publication Date Title
CN1257465C (en) Method and apparatus for new device driver installation by operating system
CN1134741C (en) Network system, printer and information storage media
CN1279440C (en) Down loading system
CN1282552C (en) Power management apparatus, file server, printing system and computer software
CN1932776A (en) Automatic operating method for interface test in embedded operating system
CN101046812A (en) Method of data base table recording structure and detection and its device
CN1612122A (en) Service provision device, service provision program, recording medium, and service provision method
CN1729442A (en) Method and arrangement for use of shared resources in a network
CN1532753A (en) Sevice processer and service processing method
CN1795434A (en) Program execution control device, program execution control method, control program and recording medium
CN1630329A (en) Information processing device and control method for the same, control program, computer-readable storage medium
CN101040240A (en) Portable terminal
CN1637739A (en) Information processing apparatus and storage medium in which information processing program is stored
CN1794647A (en) Method and its system upload terminal information in equipment management
CN1925438A (en) Information processing apparatus, network device, control method therefor
CN1838642A (en) Method and system for realizing ask-answer service using instantaneous message system
CN1613061A (en) Program execution terminal device, program execution method, and program
CN1145876C (en) Network system and network interface card
CN100347682C (en) Automatic detection building method
CN1870028A (en) Work flow system, work flow processing method and work flow processing program
CN1153134C (en) System and method capable of updating one program executing file being in process of excecution
CN1862511A (en) Method for testing software unit
CN1700201A (en) Image processing device, image processing system and image processing method
CN1754704A (en) Multiple function image formation device and method thereof
CN1267830C (en) Network system, information processor and information storage media

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C14 Grant of patent or utility model
GR01 Patent grant
C19 Lapse of patent right due to non-payment of the annual fee
CF01 Termination of patent right due to non-payment of annual fee