System and method for condition-based application logic shifting between a client and a server
First Claim
Patent Images
1. A computer system comprising:
- a client, including at least a processor and a memory, and a server that implement condition-based application logic shifting between the client and server, a stub generator and a function processor being located in the server, the function processor executing a function, and a client stub being generated by the stub generator,wherein the stub generator is programmed to configure the client stub to, in a condition shift cycle;
initially and dynamically determine whether a client shift condition (CSC) exists for shifting an application function'"'"'s execution from the client to the server;
package parameters for the application function'"'"'s execution on the client, and pass the packaged parameters to the server, when the CSC is initially determined to exist;
execute a remote call to the server, when the CSC is initially determined to exist, so that the function processor in the server executes the function with the packaged parameters; and
receive a result, returned from the server to the client, of the executed function which is executed with the packaged parameters by the function processor in the server;
when the CSC is initially determined to exist, secondly and dynamically determine if the CSC no longer exists or continues to exist; and
execute the function in the client, when it is secondly determined that the CSC no longer exists, andwherein the client stub is a piece of code injected by the stub generator at the beginning of the application function.
1 Assignment
0 Petitions
Accused Products
Abstract
A system for condition-based application logic shifting between a client and a server uses a stub generator, a function processor, and a client stub. Both the stub generator and the function processor are located in the server and the client stub is generated by the stub generator. Normally an application function'"'"'s execution occurs on the client. The client stub determines whether or not a client shift condition (CSC) exists for shifting an application function'"'"'s execution from the client to the server when the CSC does exist, and shifting the application'"'"'s function back to the client when it is determined that the CSC does not exist (or no longer exists).
24 Citations
21 Claims
-
1. A computer system comprising:
-
a client, including at least a processor and a memory, and a server that implement condition-based application logic shifting between the client and server, a stub generator and a function processor being located in the server, the function processor executing a function, and a client stub being generated by the stub generator, wherein the stub generator is programmed to configure the client stub to, in a condition shift cycle; initially and dynamically determine whether a client shift condition (CSC) exists for shifting an application function'"'"'s execution from the client to the server; package parameters for the application function'"'"'s execution on the client, and pass the packaged parameters to the server, when the CSC is initially determined to exist; execute a remote call to the server, when the CSC is initially determined to exist, so that the function processor in the server executes the function with the packaged parameters; and receive a result, returned from the server to the client, of the executed function which is executed with the packaged parameters by the function processor in the server; when the CSC is initially determined to exist, secondly and dynamically determine if the CSC no longer exists or continues to exist; and execute the function in the client, when it is secondly determined that the CSC no longer exists, and wherein the client stub is a piece of code injected by the stub generator at the beginning of the application function. - View Dependent Claims (2, 3, 10, 11, 12, 19)
-
-
4. A method implemented in a computer system comprising a client, including at least a processor and a memory, and a server, a stub generator and a function processor being located in the server, and a client stub being generated by the stub generator, the method comprising a condition shift cycle including:
-
initially and dynamically determining, by the client stub executing on the client, whether a client shift condition (CSC) exists for shifting an application function'"'"'s execution from the client to the server; packaging, by the client stub on the client, parameters for the application function'"'"'s execution on the client, and passing the packaged parameters to the server, when the CSC is initially determined to exist; executing, by the client stub on the client, a remote call to the server, when the CSC is initially determined to exist, so that a function processor, located in the server, executes on the server the function with the packaged parameters in response to the remote call; returning, from the server to the client, a result of the executed function which is executed with the packaged parameters by the function processor in the server; secondly and dynamically determining, when the CSC is initially determined to exist, if the CSC no longer exists or continues to exist; and executing the function in the client, when it is secondly determined that the CSC no longer exists, wherein the client stub is a piece of code injected by the stub generator at the beginning of the application function. - View Dependent Claims (5, 6, 13, 14, 15, 20)
-
-
7. A non-transitory computer readable medium comprising executable instructions for a method implemented in a computer system comprising a client, including at least a processor and a memory, and a server, a stub generator and a function processor being located in the server, and a client stub being generated by the stub generator, the instructions being executed in the computer system to perform a condition shift cycle including:
-
initially and dynamically determining, by the client stub executing on the client, whether a client shift condition (CSC) exists for shifting an application function'"'"'s execution from the client to the server; packaging, by the client stub on the client, parameters for the application function'"'"'s execution on the client, and passing the packaged parameters to the server, when the CSC is initially determined to exist; executing, by the client stub on the client, a remote call to the server, when the CSC is initially determined to exist, so that a function processor, located in the server, executes on the server the function with the packaged parameters in response to the remote call; returning, from the server to the client, a result of the executed function which is executed with the packaged parameters by the function processor in the server; secondly and dynamically determining, when the CSC is initially determined to exist, if the CSC no longer exists or continues to exist; and executing the function in the client, when it is secondly and dynamically determined that the CSC no longer exists, wherein the client stub is a piece of code injected by the stub generator at the beginning of the application function. - View Dependent Claims (8, 9, 16, 17, 18, 21)
-
Specification