Distributing and synchronizing objects
First Claim
1. A method for synchronizing distributed software objects comprising:
- sending to a client from a server, in response to a request received via a network from the client to the server, a first object comprising one or more methods and one or more data values;
sending to the client a synchronization policy that requires the one or more data values of the first object to be sent to the server for synchronization upon occurrence at the client of a prescribed interaction;
receiving from the client a network communication comprising a data value of the first object; and
sending to the client from the server, in response to the network communication, a response data that includes an update to a data value of a second object sent previously by the server to the client, wherein the response data is determined at the server at least in part by using the data value of the second object associated with the first object to perform an action, and the response data updates the one or more data values of the first object based on the synchronization policy.
0 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus for distributing and synchronizing objects. One or more embodiments of the invention provide for distributing copies of the objects locally. By copying objects (including the data and behavior for the object) into local address space, the object'"'"'s methods may be executed locally thereby avoiding excessive network traffic. The state of the various object copies across a network may not be synchronized due to local changes and modifications. To synchronize the objects, one or more embodiments of the invention provide for the use of a policy that specifies conditions as to when objects are synchronized. Embodiments of the invention provide flexibility in setting the policy to accommodate varying applications. For example, a policy may provide for synchronization that is based temporally (e.g., every 10 minutes or daily at 10:00 P.M.). Alternatively, a policy may provide for synchronization based on the type or number of messages transmitted. In one or more embodiments, a default policy may be utilized that provides for the synchronization of local objects whenever a client issues a request from the remote server. In such an embodiment, the remote server transmits any updated object information when it responds to the local object request. The updated object information may be utilized to synchronize the objects.
-
Citations
11 Claims
-
1. A method for synchronizing distributed software objects comprising:
-
sending to a client from a server, in response to a request received via a network from the client to the server, a first object comprising one or more methods and one or more data values; sending to the client a synchronization policy that requires the one or more data values of the first object to be sent to the server for synchronization upon occurrence at the client of a prescribed interaction; receiving from the client a network communication comprising a data value of the first object; and sending to the client from the server, in response to the network communication, a response data that includes an update to a data value of a second object sent previously by the server to the client, wherein the response data is determined at the server at least in part by using the data value of the second object associated with the first object to perform an action, and the response data updates the one or more data values of the first object based on the synchronization policy. - View Dependent Claims (2, 3, 4)
-
-
5. A server system comprising:
-
a network communication interface; and a processor coupled to the network communication interface and configured to; send to a client, in response to a request received via the network communication interface, a first object comprising one or more methods and one or more data values; sending to the client a synchronization policy that requires the one or more data values of the first object to be sent to the server for synchronization upon occurrence at the client of a prescribed interaction; receiving from the client via the network communication interface a network communication comprising a data value of the first object; and sending to the client, in response to the network communication, a response data that includes an update to a data value of a second object sent previously by the server to the client, wherein the response data is determined at the server at least in part by using the data value of the second object associated with the first object to perform an action, and the response data updates the one or more data values of the first object based on the synchronization policy. - View Dependent Claims (6, 7, 8, 9)
-
-
10. A computer program product comprising:
-
a non-transitory computer usable medium having computer readable program code embodied therein which when executed by a computer causes the computer to synchronize distributed software objects, said computer program product comprising computer readable code which when executed by a computer causes the computer to perform the steps of; sending to a client from a server, in response to a request received via a network from the client to the server, a first object comprising one or more methods and one or more data values; sending to the client a synchronization policy that requires the one or more data values of the first object to be sent to the server for synchronization upon occurrence at the client of a prescribed interaction; receiving from the client a network communication comprising a data value of the first object; and sending to the client from the server, in response to the network communication, a response data that includes an update to a data value of a second object sent previously by the server to the client, wherein the response data is determined at the server at least in part by using the data value of the second object associated with the first object to perform an action, and the response data updates the one or more data values of the first object based on the synchronization policy. - View Dependent Claims (11)
-
Specification