METHOD AND APPARATUS FOR UPDATING AND SYNCHRONIZING INFORMATION BETWEEN A CLIENT AND A SERVER
0 Assignments
0 Petitions
Accused Products
Abstract
The present invention provides a method and apparatus for integrating applets running on a client with the application logic for applications running on a server. The mechanism of the present invention provides two significant advantages over the prior art: the synchronization of state, and the recognition of user actions in the browser including the invocation of the appropriate application logic in the server. Instead of using the FORM element available in HTML, individual active applets are available and may be created that obtain user input (e.g. a checkbox, textbox, button, etc.). A hidden applet called the Applet Group Controller is created which handles communication between the applets on the browser and the application logic on the server. The Applet Group Controller maintains an association with each applet that maintains the keys and values of any parameters and variables for the applet. In a preferred embodiment, upon the invocation of an event, the association instructs an Action Coordinator to invoke an action. The Action Coordinator obtains and transmits a list of all of the keys and their values to the server. The server invokes the appropriate application logic and transmits the keys and their values (as updated during the execution of the application logic) back to the Action Coordinator. The Action Coordinator then pushes the updated values out to the applets (through their Associations) at which time the browser'"'"'s display is updated with the new values.
10 Citations
21 Claims
-
1. (canceled)
-
2. A method of synchronizing information between a client and a server comprising:
-
receiving at a server from a client via a communication interface (a) an action data indicating an action to be performed and (b) a key and a value corresponding to the key; and using the value corresponding to the key to perform an action associated with the action data; wherein one or more of the action, the key, and the value are associated with a display page being rendered at the client; and
using the value corresponding to the key to perform the action synchronizes the server with a corresponding value associated with the display page prior to the action being performed. - View Dependent Claims (3, 4, 5, 6, 7, 8)
-
-
9. A method of synchronizing information between a client and a server comprising:
-
receiving at the client an indication that an event has occurred; determining at the client in response to the event whether a value associated with a key has changed from a last reported value to a current value that is different than the last reported value; and if it is determined that the value has changed, reporting the current value to a remote server; wherein the value is associated with a display page being rendered at the client; and
the server is configured to use the reported current value to update at the server a variable corresponding to the key. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A computer system comprising:
-
a communication interface; and a processor coupled to the communication interface and configured to; receive from a client via the communication interface (a) an action data indicating an action to be performed and (b) a key and a value corresponding to the key; and use the value corresponding to the key to perform an action associated with the action data; wherein one or more of the action, the key, and the value are associated with a display page being rendered at the client; and
use the value corresponding to the key to perform the action synchronizes the server with a corresponding value associated with the display page prior to the action being performed. - View Dependent Claims (16)
-
-
17. A computer system comprising:
-
a communication interface; and a processor coupled to the communication interface and configured to; receive an indication that an event has occurred; determine in response to the event whether a value associated with a key has changed from a last reported value to a current value that is different than the last reported value; and if it is determined that the value has changed, reporting the current value to a remote server; wherein the value is associated with a display page being rendered at the client; and
the server is configured to use the reported current value to update at the server a variable corresponding to the key. - View Dependent Claims (18, 19, 20)
-
-
21. A computer program product for synchronizing information between a client and a server, the computer program product being embodiment in a non-transitory computer readable medium and comprising computer instructions for:
-
receiving an indication that an event has occurred; determining in response to the event whether a value associated with a key has changed from a last reported value to a current value that is different than the last reported value; and if it is determined that the value has changed, reporting the current value to a remote server; wherein the value is associated with a display page; and
the server is configured to use the reported current value to update at the server a variable corresponding to the key.
-
Specification