Method and apparatus for incremental download from server to client
First Claim
1. A method for transferring at least a portion of a group of objects to a first computer from a second computer, said first computer having a central processing unit, random access memory and a persistent storage means, said first and second computers connected by a communication medium, said method comprising the steps of:
- interrogating said first computer for configuration information;
determining required objects for transfer based on an operation that considers, at least in part, said configuration information and said group of objects;
packaging said required objects into an archive;
transferring said archive to said random access memory;
setting an archive-commit flag on;
committing said archive to said persistent storage;
setting said archive commit flag off;
setting a list-commit flag on;
committing a list of said required objects to said persistent storage;
setting said list-commit flag off; and
activating said required objects in said random access memory.
5 Assignments
0 Petitions
Accused Products
Abstract
A method and system for transferring objects between computers, especially a server and a device in a Java environment, is provided. A server connected to the device interrogates the device to determine whether the device has the available resources to accept a download, and to determine if any of objects included in the download are already resident on the device. Using a gateway object on the device, and a gateway managed-object on the server, the server passes an archive of the necessary objects, not presently available on the device, to the gateway via the gateway managed-object. The gateway then instructs a persistent storage repository on the device to commit the archive to persistent storage. A flag is set at the start of the archive-committing process, such that if the device loses power during the archive-committing process, upon re-initialization of the device, the device can determine that the archive-committing process failed and will instruct the persistent storage to free-up storage area used during the archive-committing process. The transferal of objects can then be recommenced once the server and device reestablish communication.
42 Citations
14 Claims
-
1. A method for transferring at least a portion of a group of objects to a first computer from a second computer, said first computer having a central processing unit, random access memory and a persistent storage means, said first and second computers connected by a communication medium, said method comprising the steps of:
-
interrogating said first computer for configuration information;
determining required objects for transfer based on an operation that considers, at least in part, said configuration information and said group of objects;
packaging said required objects into an archive;
transferring said archive to said random access memory;
setting an archive-commit flag on;
committing said archive to said persistent storage;
setting said archive commit flag off;
setting a list-commit flag on;
committing a list of said required objects to said persistent storage;
setting said list-commit flag off; and
activating said required objects in said random access memory. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A system for transferring at least a portion of a group of objects between computers, comprising:
-
a first computer having a central processing unit, random access memory, a persistent storage repository for storing archives of objects, a persistent storage registry for storing a list of said objects, and a first network interface means, said first computer operable to execute said objects, and operable to execute a gateway object having privileges to interact with said repository and said register;
a second computer having a second interface means connectable to said first computer via a communication medium, said second computer having a file storage means for storing a group of objects, said second computer being operable to execute an application and a gateway managed object, said gateway managed object being a proxy for said gateway object so that said application can interrogate said gateway object for configuration information of said device and transfer an archive of at least a portion of said group via said gateway managed object to said gateway object, said archive packaged based on an operation that considers, at least in part, said configuration information;
such that when said gateway object receives said archive, said gateway object instructs said repository to commit said archive to said repository and a list of objects in said archive to said registry, said device setting at least one flag during said commission of said archive and said list to allow device recovery upon initialization if said device loses power during said commission. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13, 14)
-
Specification