IDENTIFICATION OF MOVED OR RENAMED FILES IN FILE SYNCHRONIZATION
First Claim
1. At least one computer storage device storing computer-executable instructions that, when executed by a computing device, cause the computing device:
- create current metadata for a synchronized folder, wherein the synchronized folder includes a plurality of files that are replicated at a second computing device, wherein the created current metadata includes a filename and a hash identifier for each file of the plurality of files, wherein the hash identifier is calculated based on the contents of a respective file of the plurality of files, wherein the created current metadata further includes a parent folder name for each file of the plurality of files;
compare the created current metadata to previous metadata created for the synchronized folder;
based on the comparison, identify a first file added to the synchronized folder after creation of the previous metadata;
based on the comparison, identify a second file deleted from the synchronized folder after creation of the previous metadata;
compare the hash identifier of the identified first file to the hash identifier of the identified second file;
compare the filename of the identified first file to the filename of the identified second file when the hash identifier of the identified first file matches the hash identifier of the identified second file;
identify the first file as a renamed file when the filename of the identified first file does not match the filename of the identified second file;
compare the parent folder name of the identified first file to the parent folder name of the identified second file when the hash identifier of the identified first file matches the hash identifier of the identified second file;
identify the first file as a moved file and send the filename and the parent folder name of the identified first file to the second computing device when the parent folder name of the identified first file does not match the parent folder name of the identified second file; and
send the parent folder name and the filename of the identified first file to the second computing device when the parent folder name of the identified first file does not match the parent folder name of the identified second file.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for synchronizing files is provided. Current metadata including a filename and a hash identifier for each file of the synchronized folder is created. The current metadata is compared to previous metadata. Based on the comparison, a first file and a first folder added to the synchronized folder and a second file and a second folder deleted from the synchronized folder are identified. The hash identifiers of the first and second files are compared. If the hash identifiers match, the filenames of the first and second files are compared. If the filenames do not match, the first file is identified as a renamed file. Metadata is sent to a synchronized device with information related to the first folder sent before information related to the first file, which is sent before information related to the second folder.
-
Citations
20 Claims
-
1. At least one computer storage device storing computer-executable instructions that, when executed by a computing device, cause the computing device:
-
create current metadata for a synchronized folder, wherein the synchronized folder includes a plurality of files that are replicated at a second computing device, wherein the created current metadata includes a filename and a hash identifier for each file of the plurality of files, wherein the hash identifier is calculated based on the contents of a respective file of the plurality of files, wherein the created current metadata further includes a parent folder name for each file of the plurality of files; compare the created current metadata to previous metadata created for the synchronized folder; based on the comparison, identify a first file added to the synchronized folder after creation of the previous metadata; based on the comparison, identify a second file deleted from the synchronized folder after creation of the previous metadata; compare the hash identifier of the identified first file to the hash identifier of the identified second file; compare the filename of the identified first file to the filename of the identified second file when the hash identifier of the identified first file matches the hash identifier of the identified second file; identify the first file as a renamed file when the filename of the identified first file does not match the filename of the identified second file; compare the parent folder name of the identified first file to the parent folder name of the identified second file when the hash identifier of the identified first file matches the hash identifier of the identified second file; identify the first file as a moved file and send the filename and the parent folder name of the identified first file to the second computing device when the parent folder name of the identified first file does not match the parent folder name of the identified second file; and send the parent folder name and the filename of the identified first file to the second computing device when the parent folder name of the identified first file does not match the parent folder name of the identified second file. - View Dependent Claims (2, 3, 6, 7)
-
-
4-5. -5. (canceled)
-
8. At least one computer storage device storing computer-executable instructions that, when executed by a computing device, cause the computing device to perform a method comprising:
-
identify a first file as a renamed file in a synchronized folder, wherein the synchronized folder includes a file that is replicated at a second computing device; identify a first folder added to the synchronized folder, wherein the synchronized folder further includes a plurality of folders that are replicated at the second computing device; identify a second folder deleted from the synchronized folder; send a filename of the identified first file to the second computing device when the filename does not match that of an identified another file; send first metadata associated with the identified first folder to a third computing device, wherein the first metadata includes a first folder name of the identified first folder; after sending the first metadata, send second metadata associated with the identified first file to the third computing device, wherein the second metadata includes a first filename of the identified first file and an identifier to identify the renamed file at the second computing device; and after sending the second metadata, send third metadata associated with the identified second folder to the third computing device, wherein the third metadata includes a second folder name of the identified second folder. - View Dependent Claims (9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. At least one computer storage device storing computer-executable instructions that, when executed by a computing device, cause the computing device to perform a method comprising:
-
create current metadata for a synchronized folder, wherein the synchronized folder includes a plurality of files that are replicated at a second computing device, wherein the created current metadata includes a filename and a hash identifier for each file of the plurality of files, wherein the hash identifier is calculated based on the contents of a respective file of the plurality of files; compare the created current metadata to previous metadata created for the synchronized folder; based on the comparison, identify a first file added to the synchronized folder after creation of the previous metadata; based on the comparison, identify a second file deleted from the synchronized folder after creation of the previous metadata; compare the hash identifier of the identified first file to the hash identifier of the identified second file; compare the filename of the identified first file to the filename of the identified second file when the hash identifier of the identified first file matches the hash identifier of the identified second file; identify a first folder added to the synchronized folder, wherein the synchronized folder further includes a plurality of folders that are replicated at the second computing device; identify a second folder deleted from the synchronized folder; send a filename of the identified first file to the second computing device when the filename does not match that of an identified another file; send first metadata associated with the identified first folder to a third computing device, wherein the first metadata includes a first folder name of the identified first folder; after sending the first metadata, send second metadata associated with the identified first file to the third computing device when the filename of the identified first file does not match the filename of the identified second file, wherein the second metadata includes a first filename of the identified first file and an identifier to identify the renamed file at the second computing device; and after sending the second metadata, send third metadata associated with the identified second folder to the third computing device, wherein the third metadata includes a second folder name of the identified second folder. - View Dependent Claims (18, 19, 20)
-
Specification