Local terminal and synchronization system including the same
AssigneeAsd Korea
InventorsSun Ung LEE, Maksim AZAROV
Life of this patent
Estimating the term…
Abstract
In a synchronization system including a local terminal, latest metadata of a file in a local storage and latest metadata of a file in the server storage are managed in a first tree database, which is a virtual database in a local terminal, and each of the local terminals is allowed to upload or download a changed file on the basis of the metadata in the first tree database so that a conflict that may occur due to multiple users simultaneously changing files can be minimized.
Claims8
A local terminal having a local storage and performing file synchronization between a server storage and the local storage, the local terminal comprising:
- a first tree database to which latest metadata of a file in the local storage and latest metadata of a file in the server storage are updated in real time;
- a first calculator configured to compare the metadata of the file in the local storage with metadata stored in the first tree database;
- a first synchronizer comprising a first executor configured to, when from a comparison result of the first calculator it is determined that the file in the local storage has been changed, update the metadata of the file in the local storage in real time to the first tree database and an uploader configured to upload the changed file in the local storage to the server storage;
- a detector configured to monitor the file in the server storage and, when the file in the server storage is changed, update metadata of the changed file in the server storage to a second tree database in the local terminal;
- a second calculator configured to compare the metadata stored in the first tree database with metadata stored in the second tree database;
- and
- a second synchronizer comprising a second executor configured to, when from a comparison result of the second calculator it is determined that metadata newly updated to the second tree database is newer than the metadata stored in the first tree database, update the metadata newly updated to the second tree database in real time to the first tree database and a downloader configured to download the changed file in the server storage to the local storage.
A synchronization system comprising:
- a plurality of local terminals which each have a local storage and perform file synchronization between a set server storage and the local storage,
- wherein each of the plurality of local terminals includes:
- a first tree database to which latest metadata of a file in the local storage and latest metadata of a file in the server storage are updated in real time;
- a first calculator configured to compare the metadata of the file in the local storage with metadata stored in the first tree database;
- a first synchronizer comprising a first executor configured to, when from a comparison result of the first calculator it is determined that the file in the local storage has been changed, update the metadata of the file in the local storage in real time to the first tree database and an uploader configured to upload the changed file in the local storage to the server storage;
- a detector configured to monitor the file in the server storage and, when the file in the server storage is changed, update metadata of the changed file in the server storage to a second tree database in the local terminal;
- a second calculator configured to compare the metadata stored in the first tree database with metadata stored in the second tree database;
- and
- a second synchronizer comprising a second executor configured to, when from a comparison result of the second calculator it is determined that metadata newly updated to the second tree database is newer than the metadata stored in the first tree database, update the metadata newly updated to the second tree database in real time to the first tree database and a downloader configured to download the changed file in the server storage to the local storage, and
- the first tree database of each of the plurality of local terminals is updated in real time in the same form as each other.
Dependencies are inferred from the claim text.