Allocation and reassignment of unique identifiers for synchronization of content items
First Claim
1. A method comprising:
- adding a first content item at a first path on a client device, the first content item being associated with a user account at a content management system, wherein the first content item, when added at the first path on the client device, does not include any unique identifiers from the content management system that uniquely identify the first content item from other content items stored on the content management system;
determining the first content item does not have a first unique identifier from the content management system, the client application being associated with the content management system;
determining a second content item at a second path was previously associated with the first path corresponding to the first content item;
in response to determining the second content item was previously associated with the first path corresponding to the first content item, determining to allow the first content item to inherit a second unique identifier from the second content item;
in response to determining to allow the first content item to inherit the second unique identifier from the second content item, assigning the second unique identifier to the first content item;
adding a node representing the first content item to a local tree at the client device, the node comprising the second unique identifier and the local tree representing a local state of content items at the client device; and
uploading the first content item with the second unique identifier to the content management system.
2 Assignments
0 Petitions
Accused Products
Abstract
A client can allocate identifiers to local content items and ensure the identifiers are unique at a content management system. For example, a client can add a first content item at a first path and determine the first content item does not have a first unique identifier. The client can determine that a second content item at a second path was previously associated with the first path and determine that the first content item should inherit a second unique identifier from the second content item. The client can then assign the second unique identifier to the first content item and add a node representing the first content item to a local tree representing a local state of content items at the client, the node including the second unique identifier. The client can also upload the first content item with the second unique identifier to the content management system.
-
Citations
20 Claims
-
1. A method comprising:
-
adding a first content item at a first path on a client device, the first content item being associated with a user account at a content management system, wherein the first content item, when added at the first path on the client device, does not include any unique identifiers from the content management system that uniquely identify the first content item from other content items stored on the content management system; determining the first content item does not have a first unique identifier from the content management system, the client application being associated with the content management system; determining a second content item at a second path was previously associated with the first path corresponding to the first content item; in response to determining the second content item was previously associated with the first path corresponding to the first content item, determining to allow the first content item to inherit a second unique identifier from the second content item; in response to determining to allow the first content item to inherit the second unique identifier from the second content item, assigning the second unique identifier to the first content item; adding a node representing the first content item to a local tree at the client device, the node comprising the second unique identifier and the local tree representing a local state of content items at the client device; and uploading the first content item with the second unique identifier to the content management system. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A non-transitory computer readable medium comprising instructions, the instructions, when executed by one or more processors, cause a client device to:
-
add a first content item at a first path on the client device, the first content item being associated with a user account at a content management system, wherein the first content item, when added at the first path on the client device, does not include any unique identifiers from the content management system that uniquely identify the first content item from other content items stored on the content management system; determine the first content item does not have a first unique identifier from the content management system; determine a second content item at a second path was previously associated with the first path corresponding to the first content item; in response to determining the second content item was previously associated with the first path corresponding to the first content item, determine to allow the first content item to inherit a second unique identifier from the second content item; in response to determining to allow the first content item to inherit the second unique identifier from the second content item, assign the second unique identifier to the first content item; add a node representing the first content item to a local tree at the client device, the node comprising the second unique identifier and the local tree representing a local state of content items at the client device; and upload the first content item with the second unique identifier to the content management system. - View Dependent Claims (12, 13, 14, 15)
-
-
16. A computing device comprising:
-
one or more processors; and at least one non-transitory computer readable medium having stored therein instructions which, when executed by the one or more processors, cause the computing device to; add a first content item at a first path on the computing device, the content item being associated with a user account at a content management system, wherein the first content item, when added at the first path on the client device, does not include any unique identifiers from the content management system that uniquely identify the first content item from other content items stored on the content management system; determine the first content item does not have a first unique identifier from the content management system; determine a second content item at a second path was previously associated with the first path corresponding to the first content item; in response to determining the second content item was previously associated with the first path corresponding to the first content item, determine to allow the first content item to inherit a second unique identifier from the second content item; in response to determining to allow the first content item to inherit the second unique identifier from the second content item, assign the second unique identifier to the first content item; add a node representing the first content item to a local tree at the computing device, the node comprising the second unique identifier and the local tree representing a local state of content items at the computing device; and upload the first content item with the second unique identifier to the content management system. - View Dependent Claims (17, 18, 19, 20)
-
Specification