Resynchronization of folders shared among multiple client devices over a network is provided. Metadata and hash values stored on the client device are moved from a metadata database to a resynchronization database, and the data in the metadata database is deleted. Metadata is created for locally sto
Resynchronization of folders shared among multiple client devices over a network is provided. Metadata and hash values stored on the client device are moved from a metadata database to a resynchronization database, and the data in the metadata database is deleted. Metadata is created for locally stored synchronized files. For each file, the created metadata is compared to the metadata stored in the resynchronization database. If the metadata matches, hash values are retrieved from the resynchronization database and stored with the created metadata in the metadata database. If the metadata does not match, hashes for the file are created and stored with the created metadata in the metadata database. A synchronization operation may be performed which consists of comparing the files stored on the client to the synchronized versions on a host server and updating or adding files that are not present or not up to date.
대표청구항▼
1. A method comprising: creating new metadata for locally stored synchronized files;for each of the synchronized files, comparing the new metadata to stored metadata;responsive to the new metadata and the stored metadata matching: retrieving, from a resynchronization database, stored hashes correspo
1. A method comprising: creating new metadata for locally stored synchronized files;for each of the synchronized files, comparing the new metadata to stored metadata;responsive to the new metadata and the stored metadata matching: retrieving, from a resynchronization database, stored hashes corresponding to the synchronized file; andstoring the retrieved hashes and the new metadata in a metadata database; andresponsive to the new metadata and the stored metadata not matching: creating hashes for the synchronized file; andstoring the created hashes and the new metadata in the metadata database. 2. The method of claim 1 wherein the metadata and the hashes are deleted from the metadata database before the new metadata is stored in the metadata database. 3. The method of claim 1 wherein each of the synchronized files is comprised of file blocks of a fixed size. 4. The method of claim 1 further comprising performing a synchronization operation such that each synchronized file is synchronized with a version of the file stored on a host system. 5. The method of claim 4 wherein the synchronization operation comprises: receiving, for each of a plurality of files on the host server, host metadata corresponding to a plurality of file blocks that constitute the file;for each one of the plurality of file blocks, determining whether the file block is stored in a client database;responsive to determining that the file block is not stored in the client database, receiving, from the host server, the file block. 6. The method of claim 4 wherein the synchronization operation comprises: receiving, for each of a plurality of files on the host server, host metadata corresponding to a plurality of file blocks that constitute the file;for each one of the plurality of file blocks, determining whether the file block is stored in a client database;responsive to determining that an outdated version of the file block is stored in the client database, receiving, from the host server, a patch for updating the outdated version of the file block to a current version. 7. The method of claim 1 wherein the metadata comprises at least one of file path, modification time, size, and file attributes. 8. A computer program product for rehashing synchronized files, the computer program product stored on a non-transitory computer readable medium and including instructions that when loaded into memory cause a computer processor to carry out the steps of: maintaining metadata and hashes corresponding to synchronized files;storing the metadata and the hashes in a resynchronization database;creating new metadata for locally stored synchronized files;for each of the synchronized files, comparing the new metadata to the stored metadata;responsive to the new metadata and the stored metadata matching: retrieving, from the resynchronization database, the stored hashes corresponding to the synchronized file; andstoring the retrieved hashes and the new metadata in the metadata database; andresponsive to the new metadata and the stored metadata not matching: creating hashes for the synchronized file; andstoring the created hashes and the new metadata in the metadata database. 9. The computer program product of claim 8 wherein the metadata and the hashes are deleted from the metadata database before the new metadata is stored in the metadata database. 10. The computer program product of claim 8 wherein each of the synchronized files is comprised of file blocks of a fixed size. 11. The computer program product of claim 8 further comprising performing a synchronization operation such that each synchronized file is synchronized with a version of the file stored on a host system. 12. The computer program product of claim 11 wherein the synchronization operation comprises: receiving, for each of a plurality of files on the host server, host metadata corresponding to a plurality of file blocks that constitute the file;for each one of the plurality of file blocks, determining whether the file block is stored in a client database;responsive to determining that the file block is not stored in the client database, receiving, from the host server, the file block. 13. The computer program product of claim 11 wherein the synchronization operation comprises: receiving, for each of a plurality of files on the host server, host metadata corresponding to a plurality of file blocks that constitute the file;for each one of the plurality of file blocks, determining whether the file block is stored in a client database;responsive to determining that an outdated version of the file block is stored in the client database, receiving, from the host server, a patch for updating the outdated version of the file block to a current version. 14. The computer program product of claim 11 wherein the synchronization operation comprises: receiving, for each of a plurality of files on the host server, host metadata corresponding to a plurality of file blocks that constitute the file;for each one of the plurality of file blocks, determining whether the file block is stored in a client database;responsive to determining that an outdated version of the file block is stored in the client database, receiving, from the host server, a patch for updating the outdated version of the file block to a current version. 15. The computer program product of claim 8 wherein the metadata comprises at least one of file path, modification time, size, and file attributes. 16. A device for rehashing synchronized files, the device comprising: a processor configured to execute modules; anda memory storing the modules, the modules comprising: a metadata engine configured to maintain metadata and hashes corresponding to synchronized files;a resync engine configured to store the metadata and the hashes in a resynchronization database;a hash engine configured to create new metadata for locally stored synchronized files;the resync engine further configured to: for each of the synchronized files, compare the new metadata to the stored metadata;responsive to the new metadata and the stored metadata matching: retrieving, from the resynchronization database, the stored hashes corresponding to the synchronized file; andstoring the retrieved hashes and the new metadata in the metadata database; andresponsive to the new metadata and the stored metadata not matching: creating hashes for the synchronized file; andstoring the created hashes and the new metadata in the metadata database. 17. The device of claim 16 wherein the resync engine is further configured to delete the metadata and the hashes from the metadata database before the new metadata is stored in the metadata database. 18. The device of claim 16 wherein each of the synchronized files is comprised of file blocks of a fixed size. 19. The device of claim 16 further comprising a sync engine configured to perform a synchronization operation such that each synchronized file is synchronized with a version of the file stored on a host system. 20. The device of claim 19 wherein the synchronization operation comprises: receiving, for each of a plurality of files on the host server, host metadata corresponding to a plurality of file blocks that constitute the file;for each one of the plurality of file blocks, determining whether the file block is stored in a client database;responsive to determining that the file block is not stored in the client database, receiving, from the host server, the file block.
연구과제 타임라인
LOADING...
LOADING...
LOADING...
LOADING...
LOADING...
이 특허에 인용된 특허 (6)
Drummond Shattuck Reed ; Peter Earnshaw Heymann ; Steven Mark Mushero ; Kevin Benard Jones ; Jeffrey Todd Oberlander ; Dan Banay, Computer-based communication system and method using metadata defining a control-structure.
Reed Drummond Shattuck ; Heymann Peter Earnshaw ; Mushero Steven Mark ; Jones Kevin Benard ; Oberlander Jeffrey Todd, Computer-based communication system and method using metadata defining a control-structure.
※ AI-Helper는 부적절한 답변을 할 수 있습니다.