# US 2014/0156594 A1 · Object-sharing system, method and non-transitory computer readable storage medium for storing the method for maintaining hierarchical naming contexts in object sharing system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2014/0156594 A1
- Document ID: US20140156594A1
- Status: Published application
- Kind: A1
- Application number: 13/705,188
- Filed: 2012-12-05
- Published: 2014-06-05
- Earliest claimed: 2012-12-05
- Assignees: Institute for Information Industry
- Applicants: Institute for Information Industry
- Inventors: Yen-Hung KUO
- Web page: https://patentgrep.com/patent/US20140156594A1

## CPC

- G06F 16/178: Techniques for file synchronisation in file systems
- G06F 16/10: File systems; File servers
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An object-sharing method used in a object sharing system is provided. The object-sharing method comprises the steps outlined below. An object-sharing request that intends to share an object in a first object storage to a second object storage is received. First and second object paths are compared. Whether a naming conflict condition occurs is determined. The second object storage receives the object and keeps the first object path when the naming conflict condition does not occur. The second object storage receives the object and merges the first and the second object paths when the naming conflict condition occurs and the first and the second object storages are from the same user. An alternative sharing destination is generated to receive the object when the naming conflict condition occurs and the first and the second object storages are not from the same user.

## Claims

### Claim 1

An object-sharing method for maintaining hierarchical naming contexts in an object sharing system, comprising:
receiving an object-sharing request that intends to share an object having a first object path in a first object storage to a second object storage, in which the second object storage has objects present that have second object paths;
comparing the first object path and the second object paths and comparing user ownership information of the first and the second object storage; and
determining whether a naming conflict condition occurs, in which the naming conflict condition occurs when the first object path is the same as the second object path or when a prefix of the first object path is the same as a prefix of the second object path;
controlling the second object storage to receive the object from the first object storage and keep the first object path when the naming conflict condition does not occur;
controlling the second object storage to receive the object from the first object storage and merging the overlapped (identical) prefix of the first object path and the second object path when the naming conflict condition occurs and the first object storage and the second object storage are owned by the same user;
generating an alternative sharing destination in the second object storage to receive the object from the first object storage to the alternative sharing destination and keeping the first object path in the alternative sharing destination when the naming conflict condition occurs and the first object storage and the second object storage are not from the same user.

### Claim 2 (depends on 1)

The object-sharing method of claim 1, wherein the step of comparing the first object path and the second object path further comprises comparing at least one level of first folder names of the first object path and at least one level of second folder names of the second object path.

### Claim 3 (depends on 1)

The object-sharing method of claim 1, further comprising a step of accessing a content of an upper level folder of the object in the second object storage to be shared according to an authority setting of the first object storage.

### Claim 4 (depends on 1)

The object-sharing method of claim 1, wherein the step of generating an alternative sharing destination further comprises renaming the object.

### Claim 5 (depends on 1)

The object-sharing method of claim 1, wherein the step of generating an alternative sharing destination further comprises generating a new folder to receive the object to be shared.

### Claim 6 (depends on 1)

The object-sharing method of claim 1, wherein the object is a file or a folder.

### Claim 7

A object sharing system for maintaining hierarchical naming contexts comprising:
a first object storage;
a second object storage;
a processing module for receiving an object-sharing request that intends to share an object having a first object path in the first object storage to a second object storage, in which the second object storage has a presented object having a second object path; and
a comparing module for comparing the first object path and the second object path and comparing a user information of the first and the second object storage to determine whether a naming conflict condition occurs, in which the naming conflict condition occurs when the first object path is the same as the second object path or when a first prefix of the first object path is the same as a second prefix of the second object path;
wherein when the naming conflict condition does not occur, the processing module controls the second object storage to receive the object from the first object storage and keep the first object path;
when the naming conflict condition occurs and the first object storage and the second object storage are from the same user, the processing module controls the second object storage to receive the object from the first object storage and merges an overlapped part of the first object path and the second object path;
when the naming conflict condition occurs and the first object storage and the second object storage are not from the same user, the processing module generates an alternative sharing destination in the second object storage to receive the object from the first object storage to the alternative sharing destination and keeps the first object path in the alternative sharing destination.

### Claim 8 (depends on 7)

The object sharing system of claim 7, wherein the comparing module compares the first object path and the second object path by comparing at least one level of first folder and object names in the first object path and at least one level of second folder and object names in the second object path.

### Claim 9 (depends on 7)

The object sharing system of claim 7, wherein a content of an upper level folder of the object in the second object storage is accessed according to an authority setting of the first object storage.

### Claim 10 (depends on 7)

The object sharing system of claim 7, wherein the processing module generates the alternative sharing destination by renaming the object.

### Claim 11 (depends on 7)

The object sharing system of claim 7, wherein the processing module generates the alternative sharing destination by generating a new folder to receive the object.

### Claim 12 (depends on 7)

The object sharing system of claim 7, wherein the object is a file or a folder.

### Claim 13 (depends on 7)

The object sharing system of claim 7, wherein the first object storage and the second object storage are disposed in a cloud storage server.

### Claim 14 (depends on 7)

The object sharing system of claim 7, wherein one of the first object storage and the second object storage is in a cloud storage server and the other one of the first object storage and the second object storage is in a mobile device.

### Claim 15

A non-transitory computer readable storage medium to store a computer program to execute an object-sharing method for maintaining hierarchical naming contexts in a object sharing system, wherein the object-sharing method comprises:
receiving an object-sharing request that intends to share an object having a first object path in a first object storage to a second object storage, in which the second object storage has a presented object having a second object path;
comparing the first object path and the second object path and comparing a user information of the first and the second object storage; and
determining whether a naming conflict condition occurs, in which the naming conflict condition occurs when the first object path is the same as the second object path or when a first prefix of the first object path is the same as a second prefix of the second object path;
controlling the second object storage to receive the object from the first object storage and keep the first object path when the naming conflict condition does not occur;
controlling the second object storage to receive the object from the first object storage and merging an overlapped part of the first object path and the second object path when the naming conflict condition occurs and the first object storage and the second object storage are from the same user;
generating an alternative sharing destination in the second object storage to receive the object from the first object storage to the alternative sharing destination and keeping the first object path in the alternative sharing destination when the naming conflict condition occurs and the first object storage and the second object storage are not from the same user.

### Claim 16 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein the step of comparing the first object path and the second object path further comprises comparing at least one level of first folder names of the first object path and at least one level of second folder names of the second object path.

### Claim 17 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein the object-sharing method further comprises a step of accessing a content of an upper level folder of the object in the second object storage to be shared according to an authority setting of the first object storage.

### Claim 18 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein the step of generating an alternative sharing destination further comprises renaming the object to be shared.

### Claim 19 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein the step of generating an alternative sharing destination further comprises generating a new folder to receive the object to be shared.

### Claim 20 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein the object is a file or a folder.
