CN1346087A - Method and system capable of dynamic loading one program logic in one applied program - Google Patents

Method and system capable of dynamic loading one program logic in one applied program Download PDF

Info

Publication number
CN1346087A
CN1346087A CN 00124649 CN00124649A CN1346087A CN 1346087 A CN1346087 A CN 1346087A CN 00124649 CN00124649 CN 00124649 CN 00124649 A CN00124649 A CN 00124649A CN 1346087 A CN1346087 A CN 1346087A
Authority
CN
China
Prior art keywords
programmed logic
file
application program
client computer
dynamically
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 00124649
Other languages
Chinese (zh)
Other versions
CN1141640C (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 CNB001246496A priority Critical patent/CN1141640C/en
Publication of CN1346087A publication Critical patent/CN1346087A/en
Application granted granted Critical
Publication of CN1141640C publication Critical patent/CN1141640C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

When a custoemr terminal computer starts an applied program and put forward a request, according to said request a server can transfer a state file into said customer computer, and said state file contains a program logical file name and a program logical file address; said customer terminal computer can download the program logical file correspondent to said program logical file name; finally, the customer terminal computer can execute said applied program according to the program logic being in the program logical file, therefore, when new data is increased, the user has no need of updating applied program, and can directly download required program logic, and can increase convenience for application.

Description

A kind ofly can dynamically be written into the method and system of a programmed logic in an application program
The present invention relates to a kind of method and system that in an application program, write a programmed logic, especially relate to and a kind ofly can dynamically be written into method and the system thereof of a programmed logic in an application program.
When an application program was unlocked, application program can be carried out according to a programmed logic.Programmed logic is to be used for the display logic of determination data, may be to show or the order of video data and at interval in the mode of drawing, so programmed logic can determine the execution result of application program.
In known techniques, the programmer can write on the programmed logic of an application program in the application program, and the user is once opening application program, and application program will be carried out according to the programmed logic in the application program, to finish particular job.
Under the framework of client and server end, the programmer can deposit in application program the client computer in network environment, and with the deposit data of the required access of application program in server.When application program begins to carry out, can come access data by network convention.Utilize such mechanism, the user can not worry the problem that data are expired, and can obtain the most instant up-to-date information.
Yet, because programmed logic is to write in the application program, therefore once the user obtains newly-increased data and when needing new display logic, the user just must download the application program of redaction again, and reinstalls and carry out the demonstration and the processing that just can increase data newly from server.
Once have newly-increased data or programmed logic to expand to some extent or when changing, the user just again the down load application program for the user, be a trouble and complicated thing to upgrade really.
Therefore the object of the present invention is to provide and a kind ofly can dynamically be written into the method and system of a programmed logic in an application program.In this system, programmed logic does not write in the application program, but in client computer executive utility, obtains required programmed logic by network convention from server.Therefore, once newly-increased data are arranged, the user need not to upgrade application program, but directly from the required programmed logic of downloaded.
For achieving the above object, the invention provides and a kind ofly can dynamically be written into the method for a programmed logic in an application program, it comprises following steps:
(a) a client launch computer one application program, and a requirement is proposed;
(b) server receives this requirement, and require transmission one status file to this client computer according to this, this status file comprises a programmed logic file name, an and programmed logic file address, wherein this programmed logic file address is corresponding to a storage device, this storage device has been deposited the pairing programmed logic file of this programmed logic file name, and this programmed logic file comprises the required programmed logic of this application program of execution;
(c) this client computer receives this status file;
(d) this client computer claims pairing programmed logic file address according to program logical file name in this status file, is connected to this pairing storage device in programmed logic file address, to download the pairing programmed logic file of this programmed logic file name; And
(e) this client computer can be carried out this application program according to the programmed logic in this programmed logic file.
Describedly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this storage device is an external server.
Describedly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this server comprises this storage device in addition.
Describedly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this client computer comprises a client storage device in addition, is used for storing this status file.
Describedly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this client computer comprises a client storage device in addition, is used for storing this programmed logic file.
Describedly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this client computer comprises a program interpreter in addition, and when this this application program of client launch computer, can carry out the original program logic in the original program logical file simultaneously, in step (e), this program interpreter can be carried out the following step:
Resolve the programmed logic of this programmed logic file;
Stop the original program logic of this original program logical file; And
Carry out the programmed logic of this programmed logic file, to finish the execution of this application program.
Describedly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this client computer can replace this original program logical file with the programmed logic file that is received.
Describedly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this client computer comprises a program interpreter in addition, and in step (e), this program interpreter can be carried out the following step:
Resolve the programmed logic of this programmed logic file; And
Carry out the programmed logic of this programmed logic file, to finish the execution of this application program.
Describedly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this status file comprises a timer in addition, is used for regularly driving this client computer, with execution in step (a) and (e).
Describedly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this status file comprises a timer in addition, is used for regularly driving this client computer, with execution in step (a), (d) and (e).
Describedly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this client computer comprises one in addition and drives module, is used for driving this client computer, with execution in step (a) and (e).
The present invention also provides a kind of can dynamically be written into the method for a programmed logic in an application program, and it comprises following steps:
(a) a client launch computer one application program, and a requirement is proposed, wherein when this this application program of client launch computer, can carry out one first programmed logic simultaneously, and this client computer comprises one first programmed logic file, and it comprises this first programmed logic, and one first status file, it comprises a first version identification code, corresponding to this first programmed logic file;
(b) server receives this requirement, and require transmission one second status file to this client computer according to this, this second status file comprises a programmed logic file name, one programmed logic file address, and one second version recognition code, wherein this programmed logic file address is corresponding to a storage device, this storage device has been deposited the pairing second programmed logic file of this programmed logic file name, and this second programmed logic file comprises the second required programmed logic of this application program of execution, and this second version recognition code is corresponding to this second programmed logic;
(c) this client computer receives this second status file;
(d) this client computer judges whether this second version recognition code is same as this first version identification code, if, then finish, and this client computer can be carried out this application program according to this first programmed logic, if not, execution in step (e) then;
(e) this client computer claims pairing programmed logic file address according to program logical file name in this second status file, be connected to this pairing storage device in programmed logic file address, to download the pairing second programmed logic file of this programmed logic file name; And
(f) this client computer can be carried out this application program according to second programmed logic in this second programmed logic file.
Describedly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this storage device is an external server.
Describedly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this server comprises this storage device in addition.
Describedly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this client computer can replace this second status file this first status file.
Describedly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this client computer comprises a program interpreter in addition, and in step (f), this program interpreter can be carried out the following step:
Resolve second programmed logic of this second programmed logic file;
Stop this first programmed logic; And
Carry out second programmed logic of this second programmed logic file, to finish the execution of this application program.
Describedly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this client computer replaces this first programmed logic file with this second programmed logic file.
Describedly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this status file comprises a timer in addition, is used for regularly driving this client computer, with execution in step (a) and (f).
Describedly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this status file comprises a timer in addition, is used for regularly driving this client computer, with execution in step (a), (e) and (f).
Describedly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this client computer comprises one in addition and drives module, is used for driving this client computer, with execution in step (a) and (f).
The present invention also provides a kind of can dynamically be written into the system of a programmed logic in an application program, and it comprises:
One server comprises:
A most status file, each status file comprises a programmed logic file name, an and programmed logic file address, wherein this programmed logic file address is corresponding to a storage device, this storage device has the pairing programmed logic file of this programmed logic file name, and this programmed logic file comprises the required programmed logic of execution one application program;
One client computer comprises:
One client storage device is used for depositing this application program;
One starts module, is used for starting this application program;
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 pairing programmed logic of this programmed logic file name file address in this status file, be connected to this pairing storage device in programmed logic file address, to download the pairing programmed logic file of this programmed logic file name; And
One carries out module, is used for carrying out this application program according to the programmed logic in this programmed logic file.
Describedly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: this storage device is an external server.
Describedly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: this server comprises this storage device in addition.
Describedly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: this client computer is that the status file that is received is deposited in this client storage device.
Describedly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: this client computer is in this client storage device with this programmed logic document storage.
Describedly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: this client computer comprises a program interpreter in addition, deposit in this client storage device, an and original program logical file, deposit in this client storage device, this original program logical file comprises an original program logic, and when the startup module of this client computer starts this application program, can carry out the original program logic in this original program logical file simultaneously, and this program interpreter is the programmed logic that is used for resolving the programmed logic file that is received, stop this original program logic, and carry out programmed logic in this programmed logic file, to finish the execution of this application program.
Describedly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: this client computer is to replace this original program logical file with the programmed logic file that is received.
Describedly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: this client computer comprises a program interpreter in addition, deposits in this client storage device, is used for resolving the programmed logic of this programmed logic file, and
Carry out the programmed logic of this programmed logic file, to finish the execution of this application program.
Describedly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: this status file comprises a timer in addition, is used for regularly driving the startup module of this client computer, and communication module group is downloaded module, and carries out module.
Describedly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: this status file comprises a timer in addition, is used for regularly driving the startup module of this client computer, downloads module, and carries out module.
Describedly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: this client computer comprises one in addition and drives module, is used for driving the startup module of this client computer, and communication module group is downloaded module, and carries out module.
The present invention also provides a kind of can dynamically be written into the system of a programmed logic in an application program, and it comprises:
One server comprises:
Most second status file, each second status file comprises a programmed logic file name, one programmed logic file address, and one second version recognition code, wherein this programmed logic file address is corresponding to a storage device, this storage device has the pairing second programmed logic file of this programmed logic file name, and this second programmed logic file comprises the second required programmed logic of execution one application program, and this second version recognition code is corresponding to the second programmed logic file;
One client computer comprises:
One client storage device is used for depositing this application program, one first programmed logic file, and one first status file, wherein this first programmed logic file comprises one first programmed logic, and this first status file, comprise a first version identification code, corresponding to this first programmed logic file;
One starts module, is used for starting this application program, when this application program launching, is to carry out this first programmed logic simultaneously wherein;
One communication module group is used for receiving second status file that transmits from this server;
One downloads module, be used for according to the pairing programmed logic of this programmed logic file name file address in this second status file, be connected to this pairing storage device in programmed logic file address, to download the pairing second programmed logic file of this programmed logic file name;
One carries out module, is used for carrying out this application program according to this first or second programmed logic; And
One judges module, be used for judging whether this second version recognition code is same as this first version identification code, if, then drive this execution module and carry out this application program according to this first programmed logic, if not, then drive this download module, to download the pairing second programmed logic file of this programmed logic file name, and drive this execution module, carry out this application program with second programmed logic in the second programmed logic file of being downloaded according to this.
Describedly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: this storage device is an external server.
Describedly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: this server comprises this storage device in addition.
Describedly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: when this first version identification code and this second version recognition code not simultaneously, this client computer can replace this first programmed logic file with the second programmed logic file of being downloaded.
Describedly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: when this first version identification code and this second version recognition code not simultaneously, this client computer can replace this first status file with second status file that is received.
Describedly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: this client computer comprises a program interpreter in addition, deposit in this client storage device, be used for resolving second programmed logic of this second programmed logic file, stop this first programmed logic, and second programmed logic of carrying out this second programmed logic file, to finish the execution of this application program.
Describedly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: this second status file comprises a timer in addition, is used for regularly driving the startup module of this client computer, communication module group, download module, judge module, and carry out module.
Describedly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: this second status file comprises a timer in addition, is used for regularly driving the startup module of this client computer, downloads module, and carries out module.
Describedly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: this client computer comprises one in addition and drives module, is used for driving the startup module of this client computer, communication module group, download module, judge module, and carry out module.
Compared to known techniques, of the present inventionly a kind ofly can dynamically be written into the method and system of a programmed logic in an application program, the client computer of this system dynamically the loader logic in application program, that is to say and do not comprise programmed logic in the application program, but download required programmed logic from server or external server, by downloading different programmed logics, make application program produce different execution results.Therefore, the client computer need not to upgrade application program because of the expansion of programmed logic or change, also need not to deposit a plurality of application programs with distinct program logic to produce different execution results, has brought convenience for the user thus.
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 of the present invention.
Fig. 2 is the synoptic diagram of the status file of Fig. 1 system.
Fig. 3 is the synoptic diagram of the programmed logic shelves of Fig. 1 system.
Fig. 4 is the process flow diagram of first embodiment of the inventive method.
Fig. 5 is the decipher process flow diagram of program interpreter.
Fig. 6 is another decipher process flow diagram of program interpreter.
Fig. 7 is second embodiment of system of the present invention.
Fig. 8 is the block schematic diagram of second status file of Fig. 7 system.
Fig. 9 is the process flow diagram of second embodiment of the inventive method.
In the present invention, the programmed logic of application program is to deposit in the server.When client computer executive utility, the client computer can propose a requirement to server, and server can provide the client computer required programmed logic according to this requirement.
Referring to figs. 1 to Fig. 3.Fig. 1 is first embodiment of system 10 of the present invention.Fig. 2 is the synoptic diagram of the status file 18 of system 10.Fig. 3 is the synoptic diagram of the programmed logic shelves 48 of system 10.System 10 comprises a server 12, one client computers 14, and most external servers 16.
Each external server 16 comprises a storage device 22.Client computer 14 comprises a client storage device 24, have a program interpreter 26, in it and drive module 28, one application programs 30, one startup modules 32, one communication module group 34 download modules 36, and one carries out module 38.Server 12 comprises most status files 18, deposits in storage device 20.Each status file 18 comprises a programmed logic file name 40, one programmed logic file addresses 42, one first timers 44, and a second timer 46.
Programmed logic file address 42 is the precalculated positions corresponding to storage device 20 or 22, and storage device 20 or 22 computer program stored logical file titles, 40 pairing programmed logic files 48, and programmed logic file 48 comprises the required programmed logic 49 of executive utility 30.
With reference to figure 4.Fig. 4 is first embodiment of the inventive method 50.Method 50 comprises the following step:
Step 401: the startup module 32 of client computer 14 starts application program 30, and proposes a requirement;
Step 402: server 12 receives this requirement, and requires transmission one status file 18 to client computer 14 according to this;
Step 403: the communication module group 34 accepting state files 18 of client computer 14;
Step 404: the download module 36 of client computer 14 is according to the programmed logic file address 42 in the status file 13, be connected to programmed logic file address 42 pairing storage devices 20 or 22, to download programmed logic file name 40 pairing programmed logic files 48; And
Step 405: the programmed logic 49 in the execution module 38 amenable to process logical files 48 of client computer 14 comes executive utility 30.
With reference to figure 5.Fig. 5 is the decipher process flow diagram of program interpreter 26.When client computer 14 has an original program logical file (not shown) and when starting module 32 and starting application programs 30, client computer 14 can come executive utility 30 according to the original program logic in the original program logical file earlier, and in step 405,26 of program interpreters can be carried out the following step:
Step 501: the programmed logic 49 of analysis program logical file 48:
Step 502: the original program logic that stops the original program logical file; And
Step 503: the programmed logic 49 of executive routine logical file 48 makes the execution module 38 of client computer 14 amenable to process logic 49 to come executive utility 30.
In addition, client computer 14 can be stored in client storage device 24 with status file 18, and programmed logic file 48 is stored in client storage device 24 to replace the original program logical file.
Program interpreter 26 can be contained in the operating system of client computer 14, perhaps is contained in the application program 30.
In the present invention, program interpreter 26 is a browser engine (HTML engine).Browser engine can be used for showing the data of html format, also can be used as the interpreter of Script language and DHTML language.Therefore, the programmed logic of application program 30 is to use the Script language to design, and uses the DHTML language to do presenting of object and content effect.
Browser engine can be the seeker Microsoft Explore of Microsoft, and the operating system of client computer 14 can be Microsoft windows.
With reference to figure 6.Fig. 6 is another decipher process flow diagram of program interpreter 26.When client computer 14 does not have any original program logical file and when downloading module 36 and having downloaded logical file 48, in step 405, program interpreter 26 can be carried out the following steps:
Step 601: the programmed logic 49 of analysis program logical file 48; And
Step 602: the programmed logic 49 of executive routine logical file 48 makes the execution module 38 of client computer 14 amenable to process logic 49 to come executive utility 30.
In addition, client computer 14 can be stored in client storage device 24 with status file 18 and programmed logic file 48.When client computer 14 once more during manner of execution 50, stored programmed logic file 48 can be taken as the original program logical file.Therefore, when starting module 32 startup application programs 30, client computer 14 can come executive utility 30 according to the programmed logics 49 in the stored programmed logic file 48 earlier.
Status file 18 can be a unique file and deposits in the client computer 14, also can be present in the registration shelves of operating system.
Most status files 18 of server 12 are to correspond respectively to different programmed logics can allow application program 30 produce different execution results.And server 12 can select to be sent to the status file 18 of client computer 14 voluntarily, with the execution result of controlling application program 30.That is to say that when 14 propositions one of client computer required, server 12 can come the execution result of controlling application program 30 via the status file that is transmitted.
The first timer 44 of status file 18 can regularly drive client computer 14 with manner of execution 50 once more.Server 12 can transmission one new status file to client computer 14, make client computer 14 to download a new programmed logic file, so application program 30 can be finished execution according to new programmed logic to another storage devices.
Server 12 can be controlled client computer 14 by setting first timer 44, regularly to be written into different programmed logics, makes application program can carry out out different results.For example, client computer 14 is downloaded a kind of programmed logic in the morning the time and is come executive utility 30, to produce a kind of stock handset that can show the stock immediate market information, server 12 can utilize first timer 44 to control client computer 14 then, download another kind of programmed logic when making it in the afternoon and come executive utility 30, to produce a kind of stock analysis machine that can show that the deep bid index is resolved.That is to say, the programmed logic that produces stock handset is to leave different storage devices in the programmed logic that produces the stock analysis machine, therefore server 12 can utilize first timer 44 to control client computer 14 and download new programmed logic in a schedule time to another storage device, to produce different execution results.In this example, client computer 14 can show stock handsets in the time of in the morning, and stock handset can be changed into the stock analysis machine automatically in the afternoon the time.
The second timer 46 of status file 18 can regularly drive the startup module 32 of client computer 14, downloads module 36, and carries out module.Client computer 14 can be downloaded a new programmed logic file to same storage device, so application program 30 can be finished execution according to new programmed logic.
Server 12 can regularly carry out version updating to the programmed logic file in the same storage device, so server 12 can control client computer 14 by setting second timer 46, makes it regularly be written into the programmed logic of new edition.For example, client computer 14 is downloaded first kind of programmed logic in the morning the time and is come executive utility 30, to produce a kind of stock handset, and server 12 can be changed into first kind of programmed logic second kind of programmed logic in the afternoon, and utilize second timer 46 to control client computer 14, the client computer can come executive utility 30 to second kind of programmed logic of same storage device download when making in the afternoon, to produce the stock analysis machine.That is to say, the programmed logic that produces stock handset is to leave identical storage device in the programmed logic that produces the stock analysis machine, and the programmed logic that server 12 meetings will produce stock handset in a schedule time is changed into the programmed logic that produces the stock analysis machine, therefore server 12 can utilize second timer 46 to control client computer 14 and download new programmed logic in a schedule time to identical storage device, to produce different execution results.In this example, client computer 14 can show stock handsets in the time of in the morning, and stock handset can be changed into the stock analysis machine automatically in the afternoon the time.
The driving module 28 of client computer 14 is to be used for driving client computer 14 with manner of execution 50 once more.When the user starts driving module 28, for example by next figure button, client computer 14 can occur one earlier and select picture, the user can select the execution result of application program 30, for example little artist (having drawing function), little writer (having the document processing capacity), computing machine (having computing function), stock handset, stock analysis machine, communication machine (be used for transmission electronic information), and constellation forum (being used to provide the constellation relevent information) machine or the like.Client computer 14 can start application program 30 afterwards, and proposes a requirement to server 12.And in 12 requirements of 14 pairs of servers of client computer, comprise the relevent information of this selection.Therefore, server 12 can transmit a particular state file to client computer 14 according to user's selection (not shown), make client computer 14 to download specific programmed logic file, to produce the required execution result of user to specific storage device.
That is to say that most status files 18 of server 12 are to correspond respectively to different programmed logics can allow application program 30 produce different execution results.Therefore, server 12 can transmit specific status file 18 to client computer 14, to meet user's demand according to 14 requirements of client computer.
With reference to figure 7 and Fig. 8.Fig. 7 is second embodiment of system 60 of the present invention.Fig. 8 is the synoptic diagram of second status file 66 of system 60.System 60 is that with the main difference part of system 10 client computer 64 comprises one first programmed logic file 68 in addition, and one first status file 70.The first programmed logic file 68 comprises one first programmed logic (not shown).First status file 70 comprises a first version identification code (not shown), corresponding to the first programmed logic file 68.Second status file 66 of server 62 comprises one second version recognition code 72 in addition.In addition, client computer 64 comprises one in addition and judges module 74, is used for judging whether second version recognition code 72 of second status file 66 that transmits from server 62 is same as the first version identification code of first status file 70.
With reference to figure 9.Fig. 9 is second embodiment of the inventive method 80.Method 80 comprises the following step:
Step 801: the startup module 32 of client computer 64 starts application program 30 and proposes a requirement, and at this moment, 64 meetings of client computer come executive utility 30 according to first programmed logic of the first programmed logic file 68 earlier;
Step 802: server 62 receives this requirement, and requires transmission one second status file 66 to client computer 64 according to this;
Step 803: the communication module group 34 of client computer 64 receives second status file 66;
Step 804: the module 74 of judging of client computer 64 judges whether second version recognition code 72 of second status file 66 that is received is same as the first version identification code of first status file 70 that is stored in client computer 64, if, then ending method 80, and client computer 64 can continue to come executive utility 30 according to first programmed logic, if not, then execution in step 805;
Step 805: the download module 36 of client computer 64 is according to the programmed logic file address 42 of second status file 66, be connected to programmed logic file address 42 pairing storage devices 20 or 22, to download the programmed logic file name 40 pairing second programmed logic file (not shown)s;
Step 806: the program interpreter 26 of client computer 64 is resolved second programmed logic of the second programmed logic file;
Step 807: the program interpreter 26 of client computer 64 stops first programmed logic; And
Step 808: second programmed logic that the program interpreter 26 of client computer 64 is carried out after resolving makes the execution module 38 of client computer 64 to come executive utility 30 according to second programmed logic.
Second version recognition code 72 also can be the update time of file except can being illustrated in figure 8 as a version number.And update time is late more, and the version of file is new more.The first version identification code also is like this.
Method 80 is with the main difference of method 50, method 80 can utilize version recognition code to judge whether the second programmed logic file is a newer version, only during newly in the first programmed logic file 68, just can download new programmed logic file at the second programmed logic file.If, the version of the second programmed logic file is not newly in the first programmed logic file 68, client computer 64 can continue to come executive utility 30 according to first programmed logic of the first programmed logic file 68 so, and can not download the second programmed logic file.
In addition, when second version recognition code is different from the first version identification code and has downloaded the second programmed logic file, client computer 64 can be stored in second status file 66 that is received in the client storage device 24, replacing first status file 70, and the second programmed logic file of being downloaded replaced the first programmed logic file of originally depositing in the client storage device 24 68.
In system 10 of the present invention and 60, server 12,62 can utilize timer to come the execution result of controlling application program 30, for example, server 12,62 can be controlled client computer 14,64 and show a stock handset in the morning, in the afternoon stock handset is changed into the stock analysis machine automatically then.
In addition, server 12,62 also can be controlled the application program 30 of client computer 14,64, to produce a stock analytical engine, and then utilize timer to come controlling application program 30 to produce computing machine and communication machine respectively, therefore the user not only can browse the shown information of stock analysis machine, can also utilize computing machine to carry out some financings simultaneously and calculate, and utilize communication machine and relatives and friends to get in touch with simultaneously and link up relevant stock information.That is to say, server 12,62 can utilize timer to control client computer 14,64, make application program 30 can produce multiple execution result, so the user of client computer 14,64 can use stock analysis machine, computing machine and communication machine simultaneously.
The user of client computer 14,64 also can utilize driving module 28 to select required application program 30 execution results.For example, in the time of in the afternoon, server 12,62 can produce the stock analysis machine by control client computer 14,64, and the user can utilize driving module 28 to select execution result, to produce computing machine and communication machine respectively, therefore the user not only can browse the shown information of stock analysis machine, can also utilize computing machine to carry out some financings simultaneously and calculate and utilize communication machine and relatives and friends to get in touch with the relevant stock information of communication simultaneously.
The above only is preferred embodiment of the present invention, and all equalizations of being done according to claim scope of the present invention change and modify, and all should belong to the covering scope of patent of the present invention.

Claims (40)

1. one kind can dynamically be written into the method for a programmed logic in an application program, and it comprises following steps:
(b) a client launch computer one application program, and a requirement is proposed;
(b) server receives this requirement, and require transmission one status file to this client computer according to this, this status file comprises a programmed logic file name, an and programmed logic file address, wherein this programmed logic file address is corresponding to a storage device, this storage device has been deposited the pairing programmed logic file of this programmed logic file name, and this programmed logic file comprises the required programmed logic of this application program of execution;
(c) this client computer receives this status file;
(d) this client computer claims pairing programmed logic file address according to program logical file name in this status file, is connected to this pairing storage device in programmed logic file address, to download the pairing programmed logic file of this programmed logic file name; And
(e) this client computer can be carried out this application program according to the programmed logic in this programmed logic file.
2. as claimed in claim 1ly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this storage device is an external server.
3. as claimed in claim 1ly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this server comprises this storage device in addition.
4. as claimed in claim 1ly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this client computer comprises a client storage device in addition, is used for storing this status file.
5. as claimed in claim 1ly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this client computer comprises a client storage device in addition, is used for storing this programmed logic file.
6. as claimed in claim 1ly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this client computer comprises a program interpreter in addition, and when this this application program of client launch computer, can carry out the original program logic in the original program logical file simultaneously, in step (e), this program interpreter can be carried out the following step:
Resolve the programmed logic of this programmed logic file;
Stop the original program logic of this original program logical file; And
Carry out the programmed logic of this programmed logic file, to finish the execution of this application program.
7. as claimed in claim 6ly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this client computer can replace this original program logical file with the programmed logic file that is received.
8. as claimed in claim 1ly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this client computer comprises a program interpreter in addition, and in step (e), this program interpreter can be carried out the following step:
Resolve the programmed logic of this programmed logic file; And
Carry out the programmed logic of this programmed logic file, to finish the execution of this application program.
9. as claimed in claim 1ly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this status file comprises a timer in addition, is used for regularly driving this client computer, with execution in step (a) and (e).
10. as claimed in claim 1ly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this status file comprises a timer in addition, is used for regularly driving this client computer, with execution in step (a), (d) and (e).
11. as claimed in claim 1ly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this client computer comprises one in addition and drives module, is used for driving this client computer, with execution in step (a) and (e).
12. one kind can dynamically be written into the method for a programmed logic in an application program, it comprises following steps:
(a) a client launch computer one application program, and a requirement is proposed, wherein when this this application program of client launch computer, can carry out one first programmed logic simultaneously, and this client computer comprises one first programmed logic file, and it comprises this first programmed logic, and one first status file, it comprises a first version identification code, corresponding to this first programmed logic file;
(b) server receives this requirement, and require transmission one second status file to this client computer according to this, this second status file comprises a programmed logic file name, one programmed logic file address, and one second version recognition code, wherein this programmed logic file address is corresponding to a storage device, this storage device has been deposited the pairing second programmed logic file of this programmed logic file name, and this second programmed logic file comprises the second required programmed logic of this application program of execution, and this second version recognition code is corresponding to this second programmed logic;
(c) this client computer receives this second status file;
(d) this client computer judges whether this second version recognition code is same as this first version identification code, if, then finish, and this client computer can be carried out this application program according to this first programmed logic, if not, execution in step (e) then;
(e) this client computer claims pairing programmed logic file address according to program logical file name in this second status file, be connected to this pairing storage device in programmed logic file address, to download the pairing second programmed logic file of this programmed logic file name; And
(f) this client computer can be carried out this application program according to second programmed logic in this second programmed logic file.
13. as claimed in claim 12ly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this storage device is an external server.
14. as claimed in claim 12ly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this server comprises this storage device in addition.
15. as claimed in claim 12ly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this client computer can replace this second status file this first status file.
16. as claimed in claim 12ly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this client computer comprises a program interpreter in addition, in step (f), this program interpreter can be carried out the following step:
Resolve second programmed logic of this second programmed logic file;
Stop this first programmed logic; And
Carry out second programmed logic of this second programmed logic file, to finish the execution of this application program.
17. as claimed in claim 12ly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this client computer replaces this first programmed logic file with this second programmed logic file.
18. as claimed in claim 12ly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this status file comprises a timer in addition, is used for regularly driving this client computer, with execution in step (a) and (f).
19. as claimed in claim 12ly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this status file comprises a timer in addition, is used for regularly driving this client computer, with execution in step (a), (e) and (f).
20. as claimed in claim 12ly can dynamically be written into the method for a programmed logic in an application program, it is characterized in that: this client computer comprises one in addition and drives module, is used for driving this client computer, with execution in step (a) and (f).
21. one kind can dynamically be written into the system of a programmed logic in an application program, it comprises:
One server comprises:
A most status file, each status file comprises a programmed logic file name, an and programmed logic file address, wherein this programmed logic file address is corresponding to a storage device, this storage device has the pairing programmed logic file of this programmed logic file name, and this programmed logic file comprises the required programmed logic of execution one application program;
One client computer comprises:
One client storage device is used for depositing this application program;
One starts module, is used for starting this application program;
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 pairing programmed logic of this programmed logic file name file address in this status file, be connected to this pairing storage device in programmed logic file address, to download the pairing programmed logic file of this programmed logic file name; And
One carries out module, is used for carrying out this application program according to the programmed logic in this programmed logic file.
22. as claimed in claim 21ly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: this storage device is an external server.
23. as claimed in claim 21ly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: this server comprises this storage device in addition.
24. as claimed in claim 21ly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: this client computer is that the status file that is received is deposited in this client storage device.
25. as claimed in claim 21ly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: this client computer is in this client storage device with this programmed logic document storage.
26. as claimed in claim 21ly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: this client computer comprises a program interpreter in addition, deposit in this client storage device, an and original program logical file, deposit in this client storage device, this original program logical file comprises an original program logic, and when the startup module of this client computer starts this application program, can carry out the original program logic in this original program logical file simultaneously, and this program interpreter is the programmed logic that is used for resolving the programmed logic file that is received, stop this original program logic, and carry out programmed logic in this programmed logic file, to finish the execution of this application program.
27. as claimed in claim 26ly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: this client computer is to replace this original program logical file with the programmed logic file that is received.
28. as claimed in claim 21ly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: this client computer comprises a program interpreter in addition, deposit in this client storage device, be used for resolving the programmed logic of this programmed logic file, and
Carry out the programmed logic of this programmed logic file, to finish the execution of this application program.
29. as claimed in claim 21ly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: this status file comprises a timer in addition, is used for regularly driving the startup module of this client computer, communication module group, download module, and carry out module.
30. as claimed in claim 21ly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: this status file comprises a timer in addition, is used for regularly driving the startup module of this client computer, downloads module, and carries out module.
31. as claimed in claim 21ly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: this client computer comprises one in addition and drives module, is used for driving the startup module of this client computer, communication module group, download module, and carry out module.
32. one kind can dynamically be written into the system of a programmed logic in an application program, it comprises:
One server comprises:
Most second status file, each second status file comprises a programmed logic file name, one programmed logic file address, and one second version recognition code, wherein this programmed logic file address is corresponding to a storage device, this storage device has the pairing second programmed logic file of this programmed logic file name, and this second programmed logic file comprises the second required programmed logic of execution one application program, and this second version recognition code is corresponding to the second programmed logic file;
One client computer comprises:
One client storage device is used for depositing this application program, one first programmed logic file, and one first status file, wherein this first programmed logic file comprises one first programmed logic, and this first status file, comprise a first version identification code, corresponding to this first programmed logic file;
One starts module, is used for starting this application program, when this application program launching, is to carry out this first programmed logic simultaneously wherein;
One communication module group is used for receiving second status file that transmits from this server;
One downloads module, be used for according to the pairing programmed logic of this programmed logic file name file address in this second status file, be connected to this pairing storage device in programmed logic file address, to download the pairing second programmed logic file of this programmed logic file name;
One carries out module, is used for carrying out this application program according to this first or second programmed logic; And
One judges module, be used for judging whether this second version recognition code is same as this first version identification code, if, then drive this execution module and carry out this application program according to this first programmed logic, if not, then drive this download module, to download the pairing second programmed logic file of this programmed logic file name, and drive this execution module, carry out this application program with second programmed logic in the second programmed logic file of being downloaded according to this.
33. as claimed in claim 32ly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: this storage device is an external server.
34. as claimed in claim 32ly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: this server comprises this storage device in addition.
35. as claimed in claim 32ly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: when this first version identification code and this second version recognition code not simultaneously, this client computer can replace this first programmed logic file with the second programmed logic file of being downloaded.
36. as claimed in claim 32ly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: when this first version identification code and this second version recognition code not simultaneously, this client computer can replace this first status file with second status file that is received.
37. as claimed in claim 32ly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: this client computer comprises a program interpreter in addition, deposit in this client storage device, be used for resolving second programmed logic of this second programmed logic file, stop this first programmed logic, and second programmed logic of carrying out this second programmed logic file, to finish the execution of this application program.
38. as claimed in claim 32ly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: this second status file comprises a timer in addition, is used for regularly driving the startup module of this client computer, communication module group, download module, judge module, and carry out module.
39. as claimed in claim 32ly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: this second status file comprises a timer in addition, be used for regularly driving the startup module of this client computer, download module, and carry out module.
40. as claimed in claim 32ly can dynamically be written into the system of a programmed logic in an application program, it is characterized in that: this client computer comprises one in addition and drives module, is used for driving the startup module of this client computer, communication module group, download module, judge module, and carry out module.
CNB001246496A 2000-09-26 2000-09-26 Method and system capable of dynamic loading one program logic in one applied program Expired - Fee Related CN1141640C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB001246496A CN1141640C (en) 2000-09-26 2000-09-26 Method and system capable of dynamic loading one program logic in one applied program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB001246496A CN1141640C (en) 2000-09-26 2000-09-26 Method and system capable of dynamic loading one program logic in one applied program

Publications (2)

Publication Number Publication Date
CN1346087A true CN1346087A (en) 2002-04-24
CN1141640C CN1141640C (en) 2004-03-10

Family

ID=4590564

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB001246496A Expired - Fee Related CN1141640C (en) 2000-09-26 2000-09-26 Method and system capable of dynamic loading one program logic in one applied program

Country Status (1)

Country Link
CN (1) CN1141640C (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100383738C (en) * 2005-02-28 2008-04-23 乐金电子(中国)研究开发中心有限公司 Programme dynamic loading device and method for portable terminal
CN100561921C (en) * 2005-04-22 2009-11-18 鸿富锦精密工业(深圳)有限公司 The system and method for client and server quick exchange data
CN101170675B (en) * 2007-11-21 2011-03-23 中兴通讯股份有限公司 Method and system for managing J2ME application in network TV system
CN103761126A (en) * 2014-01-07 2014-04-30 中国神华能源股份有限公司 Method and device for upgrading application program

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1329822C (en) * 2004-06-16 2007-08-01 华为技术有限公司 Soft wave renewing method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100383738C (en) * 2005-02-28 2008-04-23 乐金电子(中国)研究开发中心有限公司 Programme dynamic loading device and method for portable terminal
CN100561921C (en) * 2005-04-22 2009-11-18 鸿富锦精密工业(深圳)有限公司 The system and method for client and server quick exchange data
CN101170675B (en) * 2007-11-21 2011-03-23 中兴通讯股份有限公司 Method and system for managing J2ME application in network TV system
CN103761126A (en) * 2014-01-07 2014-04-30 中国神华能源股份有限公司 Method and device for upgrading application program
CN103761126B (en) * 2014-01-07 2017-03-15 中国神华能源股份有限公司 The upgrade method of application program and device

Also Published As

Publication number Publication date
CN1141640C (en) 2004-03-10

Similar Documents

Publication Publication Date Title
CN1171145C (en) Request dispatch sequence for automatic software configuration
CN1291313C (en) System and method for the automatic installation and configuration of an operating system
CN1302381C (en) Method and appts for automatic matching, setting and spreading small microsoft windows applied program for calculating equipment
CN1975672A (en) Information processing device and its download method
CN1781075A (en) Device memory management during electronic file updating
CN1852101A (en) Parallel downloading method and terminal
CN1573701A (en) Software image creation in a distributed build environment
CN1622055A (en) Application data management method for mobile terminal and mobile terminal used therein
CN1256668C (en) Operating system automatically installing method applying Linux
CN1749960A (en) Active content wizard execution with improved conspicuity
CN1773456A (en) Automatic mounting system and method for printer driving program
CN1653421A (en) Method for providing event to application, and electronic device using this method
CN1877526A (en) Image processing apparatus used in network environment
CN1975668A (en) System for supporting multi-language and method for inputting and reading multi-language data
CN1908894A (en) Brew-based dynamic user interface system structure and method for realization
CN1642105A (en) Method for realizing task management for network system
CN1374587A (en) Information management arrangement for obtaining data bank matching and medium for recording the same bank program
CN1787611A (en) Portable electronic apparatus, information processing method, and program
CN1501267A (en) Linking information making device, linking information making method, recording medium having recorded a linking information making program, and document processing system therewith
CN1617496A (en) Method for automaticall updating configuration for next generation network terminal
CN1141640C (en) Method and system capable of dynamic loading one program logic in one applied program
CN1940867A (en) Information processing device and method, recording medium and program
CN1698030A (en) Information processing device and method, recording medium, and program
CN1811709A (en) Infinite update method and apparatus for operating system in hand-held equipment
CN1896966A (en) Computer testing method

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