Method and apparatus for reconciling different versions of a file
First Claim
1. In a computer system not utilizing a global database, but rather utilizing a collection of local databases, none of which serve as a central collection point, in which files are stored and modified at memory devices at multiple locations, apparatus for permitting the creation of new versions of a file at one location without knowledge of whether conflicting versions are created at another location, comprising:
- a portable memory device transportable between locations on which a file version is stored; and
,means for safely permitting reconciling different versions of a file transported from location to location on said portable memory device, said reconciling means includingmeans at first and second locations for generating a log entry at its respective location, each of said log entries including a time stamp for the version of said file on said portable memory device at said location, said timestamp serving as a unique identifier regardless of the time indicated thereby, thus to create a history of version creation and modification for said file at said first and second locations;
means at said first location for entering said log entry into said portable memory device;
means at said second location for reading out the log entry on said portable memory device and for combining the log entry from said portable memory device and a log entry at said second location so as to compare both modified versions and respective timestamps to indentify missing entries or confliction updates represented by different timestamps and thus the existence of different versions of said file;
means at said second location and upon said identification of different versions of said file for determining actions necessary to synchronize said different versions; and
,means at said second location for determining if such synchronizing action would result in loss of information, whereby combination of all versions of said file may be safely accomplished at said second location.
3 Assignments
0 Petitions
Accused Products
Abstract
In a distributed file environment, a system for safely updating a file wiut risk of losing work performed at one site due to work performed on the file at another site uses a journal or log at each site which is updated after a file is modified. This log is compared with the logs from other sites before a file is used at any one site, so that new versions can be propogated automatically and safely to out-of-date sites, with the user immediately alerted if conflicting versions of the file exist at different sites. The reconciliation can be applied to collections of files, automatically updating only those files for which it is safe to and necessary do so. Since reconciliation occurs at times selected by the user, inconsistent or partially completed versions of files need not be propogated to other sites. Additionally, logs may be built incrementally by occasionally observing the state of the systems in terms of the files and their time stamps and creating additional log entries reflecting appearance, disappearance and changes of files. Furthermore, logs may be purged of obsolete entries by including additional log entries indicating the most recent time each site has participated in a reconciliation and deleting obsolete entries that all sites have seen.
494 Citations
4 Claims
-
1. In a computer system not utilizing a global database, but rather utilizing a collection of local databases, none of which serve as a central collection point, in which files are stored and modified at memory devices at multiple locations, apparatus for permitting the creation of new versions of a file at one location without knowledge of whether conflicting versions are created at another location, comprising:
-
a portable memory device transportable between locations on which a file version is stored; and
,means for safely permitting reconciling different versions of a file transported from location to location on said portable memory device, said reconciling means including means at first and second locations for generating a log entry at its respective location, each of said log entries including a time stamp for the version of said file on said portable memory device at said location, said timestamp serving as a unique identifier regardless of the time indicated thereby, thus to create a history of version creation and modification for said file at said first and second locations; means at said first location for entering said log entry into said portable memory device; means at said second location for reading out the log entry on said portable memory device and for combining the log entry from said portable memory device and a log entry at said second location so as to compare both modified versions and respective timestamps to indentify missing entries or confliction updates represented by different timestamps and thus the existence of different versions of said file; means at said second location and upon said identification of different versions of said file for determining actions necessary to synchronize said different versions; and
,means at said second location for determining if such synchronizing action would result in loss of information, whereby combination of all versions of said file may be safely accomplished at said second location. - View Dependent Claims (2, 3, 4)
-
Specification