Method and system for dynamically loading program logic into an application
First Claim
1. A method for dynamically loading program logic, comprising:
- (a) launching an application from client computer that issues a request;
(b) receiving the request at the server and transferring a configuration file to the client computer based on said request, wherein the configuration file comprises a program logic file name, and a program logic file address, and the program logic file address corresponds to a storage apparatus where the program logic file corresponding to the program logic file name is located, said program logic file comprises the program logic required to execute the application;
(c) receiving the configuration file at client computer;
(d) linking to the storage apparatus corresponding to the program logic file address and downloading the program logic file which corresponds to the program logic file name, according to the program logic file address corresponding to the program logic file name in the configuration file from client computer; and
(e) executing the application in accordance with program logic in the program logic file at the client computer.
2 Assignments
0 Petitions
Accused Products
Abstract
The present invention relates to a method and system for dynamically loading program logic into an application. The method comprises the following steps. The client computer launches an application to issue a request to a server. The server receives the request and transfers a configuration file to the client computer based on the request. The configuration file comprises a program logic file name and a program logic file address. The program logic file address corresponds to a storage apparatus where the program logic file corresponding to the program logic file name is located. The program logic file comprises the program logic required to execute the application. The client computer receives the configuration file, links to the storage apparatus corresponding to the program logic file address and downloads the program logic file. The client computer executes the application in accordance with program logic in the program logic file.
21 Citations
40 Claims
-
1. A method for dynamically loading program logic, comprising:
-
(a) launching an application from client computer that issues a request;
(b) receiving the request at the server and transferring a configuration file to the client computer based on said request, wherein the configuration file comprises a program logic file name, and a program logic file address, and the program logic file address corresponds to a storage apparatus where the program logic file corresponding to the program logic file name is located, said program logic file comprises the program logic required to execute the application;
(c) receiving the configuration file at client computer;
(d) linking to the storage apparatus corresponding to the program logic file address and downloading the program logic file which corresponds to the program logic file name, according to the program logic file address corresponding to the program logic file name in the configuration file from client computer; and
(e) executing the application in accordance with program logic in the program logic file at the client computer. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, 18, 19, 20)
-
-
12. A method for dynamically loading program logic comprising:
-
(a) launching an application and making a request from the client computer, wherein upon launch, a first program logic is executed and the client computer comprises a first program logic file comprising the first program logic and a first configuration file, comprising first version recognition code corresponding to the first program logic file;
(b) receiving the request at server and transferring a second configuration file to the client computer based on said request, and wherein the second configuration file comprises a program logic file name, a program logic file address and a second version recognition code, wherein the program logic file address corresponds to a storage apparatus where the second program logic file corresponding to the file name of program logic is located, and the second program logic file comprises a second program logic required for application execution, wherein the second version recognition code corresponds to the second program logic;
(c) receiving the second configuration file from client computer;
(d) determining whether the second version recognition code and the first version recognition code are identical at the client computer, if yes, the application execution proceeds in accordance with the first program logic, if not, executing step (e);
(e) linking to the storage apparatus corresponding to the program logic file address and downloading the second program logic file corresponding to program logic filename in the second configuration file from the client computer; and
(f) executing the application at the client computer according to the second program logic in the second program logic file.
-
-
21. A system for dynamically loading program logic comprising:
-
a server, comprising;
a plurality of configuration files, each configuration file comprising a program logic file name and a program logic file address, wherein the program logic file address corresponds to a storage apparatus, where the program logic file corresponding to the program logic file name is located, and the program logic file comprises the program logic required for application execution;
a client computer, comprising;
a client computer storage apparatus used to store the application;
a launch module used to launch the application;
a communication module used to receive the configuration files transferred from the server;
a download module used to link to the storage apparatus corresponding to the program logic file address and downloads the program logic file corresponding to the program logic file name in the configuration file from client computer; and
an executing module used for application execution according to program logic in the program logic file. - View Dependent Claims (22, 23, 24, 25, 26, 27, 28, 29, 30, 31)
-
-
32. A system for dynamically loading program logic comprising:
-
a server comprising;
a plurality of second configuration files, wherein each second configuration file comprises a program logic file name, a program logic file address, and a second version recognition code, and the program logic file address corresponds to a storage apparatus where the second program logic file corresponding to the program logic file name is located, and the second program logic file comprises program logic required for application execution, and the second version recognition code corresponds to the second program logic file;
a client computer comprising;
a client computer storage apparatus used to store the application, a first program logic file and a first configuration file, wherein the first program logic file comprise first program logic, the first configuration file comprises a first version recognition code, corresponding to the first program logic file;
a launch module used to launch the application and simultaneously execute first program logic when the application is launched;
a communication module used to receive the second configuration file from the server;
a download module used to link to the storage apparatus corresponding to the program logic file address and downloads the second program logic file corresponding to the program logic file name in the second configuration file at client computer;
an executing module used to execute an application in accordance with first or second program logic; and
a determining module used to determine whether the second version recognition code and the first version recognition code are identical, if yes, the execution module executes the application in accordance with the first program logic, if not, the download module downloads the second program logic file corresponding to the program logic file name, and the execution module is initialized to execute the application in accordance with the second program logic in the second program logic file. - View Dependent Claims (33, 34, 35, 36, 37, 38, 39, 40)
-
Specification