Data synchronization based on file system activities
First Claim
1. A computer implemented method for data synchronization based on file system activities, the method comprising:
- monitoring, at a computing device, one or more file system operations for a file stored in the computing device;
recording, at the computing device, the file system operations to the file sequentially into a log data structure; and
synchronizing the file with a synchronization device by sending the log data structure to the synchronization device;
wherein the file system operations recorded in the log data structure are suitable to be applied to an instance of the file stored in the synchronization device such that data of the file stored in the computing device are consistent with data in the instance of the file stored in the synchronization device after the file system operations being applied;
wherein the log data structure includes an offset distance and a data checksum of new content data for a data write operation, and the data checksum is suitable to be used to determine whether another data write operation received by the synchronization device is the same operation as the data write operation.
4 Assignments
0 Petitions
Accused Products
Abstract
Technology is disclosed herein for data synchronization based on file system activities. According to at least one embodiment, a computing device monitors one or more file system operations for a file stored in the computing device. The computing device records the file system operations for the file sequentially into a log data structure. The computing device synchronizes the file with a server by sending the log data structure to the server. The server can apply the file system operations recorded in the log data to an instance of the file stored in the server such that data of the file stored in the computing device are consistent with data in the instance of the file stored in the server after the file system operations are applied.
12 Citations
30 Claims
-
1. A computer implemented method for data synchronization based on file system activities, the method comprising:
-
monitoring, at a computing device, one or more file system operations for a file stored in the computing device; recording, at the computing device, the file system operations to the file sequentially into a log data structure; and synchronizing the file with a synchronization device by sending the log data structure to the synchronization device; wherein the file system operations recorded in the log data structure are suitable to be applied to an instance of the file stored in the synchronization device such that data of the file stored in the computing device are consistent with data in the instance of the file stored in the synchronization device after the file system operations being applied; wherein the log data structure includes an offset distance and a data checksum of new content data for a data write operation, and the data checksum is suitable to be used to determine whether another data write operation received by the synchronization device is the same operation as the data write operation. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A method for synchronizing data based on file system activities in a client-server distributed storage system, the server comprising:
-
receiving, from a first computing device at a server, a log data structure recording one or more file system operations, wherein the file system operations are generated by the first computing device to be applied to a version of the data container stored in the first computing device; determining, at the server, whether a version of the data container stored in the server is the same as the version of the data container stored in the first computing device; synchronizing the data container by applying the file system operations to the version of the data container stored in the server, when the version of the data container stored in the server is not the same as the version of the data container stored in the first computing device; wherein a data write operation recorded in the log data structure includes an offset distance and a data checksum generated from new content data for the data write operation. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23)
-
-
24. A storage server, comprising:
-
a processor; a storage component configured to store a server version of a file; a networking component configured to receive from a first computing device a log data structure recording one or more file system operations, wherein the file system operations are generated by the first computing device to be applied to a device version of the file stored in the first computing device; a synchronization module which, when executed by the processor, apply the file system operations recorded in the log data structure to the server version of the file such that after the applying the file system operations, data of the file stored in the storage component of the storage server are the same as data of the file stored in the first computing device; wherein the file system operations recorded in the log data structure include a data write operation having an offset distance and a data checksum generated from new content data for the data write operation; and wherein the networking component is further configured to receive the new content data for the data write operation. - View Dependent Claims (25, 26, 27, 28, 29, 30)
-
Specification