×

Hosted file sync with direct access to hosted files

  • US 10,019,460 B2
  • Filed: 09/14/2015
  • Issued: 07/10/2018
  • Est. Priority Date: 09/14/2015
  • Status: Active Grant
First Claim
Patent Images

1. A cloud service for synchronizing files between a client device of a plurality of client devices and a file store through a sync role of the cloud service, the cloud service comprising:

  • at least one client device;

    memory that is coupled to the at least one computing device and that includes computer-readable instructions that, based on execution by at least one computing device, configure the cloud service to perform actions comprising;

    receiving, by the cloud service from the client device, a request to synchronize a set of files with a namespace in the file store, where the each of the plurality of client devices has direct access to the file store where the direct access is not through the sync role;

    locking, by the cloud service in response to the received request, access through the sync role by the plurality of client devices to the namespace, where the locked namespace blocks read and write access through the sync role but where the locked namespace can still be directly accessed by any of the plurality of client devices;

    uploading, by the cloud service from the client device, the set of files to a staging folder;

    receiving, by the cloud service via the sync role from the client device in connection with the uploading a set of file metadata for each file in the staged set of files;

    applying, by the cloud service, each received set of file metadata to its corresponding file of in the staged set of files;

    first obtaining, by the cloud service subsequent to the applying, an exclusive handle for each of at least a portion of the files in the namespace that corresponds to a file in the staged set of files, where each obtained handle effectively blocks changes to the corresponding file in the namespace by direct access from any of the plurality of client devices;

    second obtaining, by the cloud service subsequent to the applying, an exclusive handle for each of at least a portion of the files in the staged set of files; and

    replacing, by the cloud server subsequent to the first and second obtainings, each file in the namespace for which an exclusive handle was obtained with the corresponding file in the staged set of files for which an exclusive handle was obtained.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×