Methods and systems for copying and moving across virtual namespaces
First Claim
1. In a computer system having access to resources identified by corresponding physical namespaces, a method of copying or moving a collection of resources from a source virtual namespace to a destination virtual namespace without requiring a requester of a move or copy operation to indicate the physical namespaces associated with the virtual namespaces, the method comprising the following:
- a specific act of receiving a request to copy or move a collection of resources from a source virtual namespace associated with one or more physical namespaces to a destination virtual namespace associated with one or more destination physical namespaces; and
a step for copying or moving the collection from the source virtual namespace associated with the one or more source physical namespaces to the destination virtual namespace associated with the one or more destination physical namespaces.
2 Assignments
0 Petitions
Accused Products
Abstract
A method is described for moving a collection of resources from a source virtual namespace to a destination virtual namespace. For example, the method could copy or move the files within a URI directory “http://server/dir1/” to a new URI directory “http://server/newdir1” using a single copy or move request. In response to an appropriate request, the computer system the computer system performs the following acts for the parent directory and then for those subdirectories at any level underneath the parent directory. For each directory, the computer system determines the physical namespace (e.g., file system path) that corresponds to the virtual namespace of that directory. This is performed for both the directory in the source virtual namespace and the corresponding directory in the destination virtual namespace. Next, the files are copied from the directory of the source physical namespace to the directory of the destination physical directory. In a move operation, the files within that source directory are deleted at some point after being copied. The method allows a user to treat the Internet as a readable and writable medium organized in a tree-like directory structure and allows copying or moving in a single request across the directory structure.
-
Citations
28 Claims
-
1. In a computer system having access to resources identified by corresponding physical namespaces, a method of copying or moving a collection of resources from a source virtual namespace to a destination virtual namespace without requiring a requester of a move or copy operation to indicate the physical namespaces associated with the virtual namespaces, the method comprising the following:
-
a specific act of receiving a request to copy or move a collection of resources from a source virtual namespace associated with one or more physical namespaces to a destination virtual namespace associated with one or more destination physical namespaces; and
a step for copying or moving the collection from the source virtual namespace associated with the one or more source physical namespaces to the destination virtual namespace associated with the one or more destination physical namespaces. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
the one or more destination physical namespaces are non-contiguous; and
the one or more source physical namespaces are non-contiguous.
-
-
3. The method according to claim 1, wherein:
-
the one or more destination physical namespaces are non-contiguous; and
the one or more source physical namespaces are contiguous.
-
-
4. The method according to claim 1, wherein:
-
the one or more destination physical namespaces are contiguous; and
the one or more source physical namespaces are non-contiguous.
-
-
5. The method according to claim 1, wherein:
-
the one or more destination physical namespaces are contiguous; and
the one or more source physical namespaces are contiguous.
-
-
6. The method according to claim 1, wherein:
the source and destination virtual namespaces are organized in a tree-like directory structure.
-
7. The method according to claim 6, wherein:
the source and destination virtual namespaces are each a uniform resource identifier.
-
8. The method according to claim 1, wherein:
the source and destination physical namespaces are organized in a tree-like directory structure.
-
9. The method according to claim 8, wherein:
the source and destination physical namespaces are each a file system path.
-
10. The method according to claim 1, wherein:
the request complies with a request/response protocol.
-
11. The method according to claim 1, wherein:
the source virtual namespace contains a plurality of source virtual subdirectory namespaces.
-
12. The method according to claim 11, wherein the step for copying or moving further comprises the following for the source virtual namespace and for each source virtual subdirectory namespace of the source virtual namespace:
-
a specific act of determining a source physical namespace corresponding to the source virtual namespace;
a specific act of determining a destination physical namespace corresponding to a destination virtual namespace; and
a specific act of copying files from the source physical namespace to the destination physical namespace.
-
-
13. The method according to claim 12, wherein the step for copying or moving further comprises the following for the source virtual namespace and for each source virtual subdirectory namespace of the source virtual namespace:
if the request is for a move operation, a specific act of deleting the source physical namespace.
-
14. A computer-readable medium having computer executable instructions for performing the specific act and step recited in claim 1.
-
15. In a computer system having access to resources identified by corresponding physical namespaces, a method of copying or moving a collection of resources from a source virtual namespace to a destination virtual namespace without requiring a requester of a move or copy operation to indicate the physical namespaces associated with the virtual namespaces, the method comprising the following:
-
a specific act of receiving a request to copy or move a collection of resources from a source virtual namespace associated with one or more physical namespaces to a destination virtual namespace associated with one or more destination physical namespaces;
a specific act of determining the source physical namespace corresponding to the source virtual namespace;
a specific act of determining the destination physical namespace corresponding to the destination virtual namespace;
a specific act of copying files from the source physical namespace to the destination physical namespace; and
a specific act of repeating the specific act of determining the source physical namespace, determining the destination physical namespace, and copying files from the source physical namespace to the destination physical namespace for at least some of the source virtual subdirectory namespaces within the source virtual namespace. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28)
the one or more destination physical namespaces are non-contiguous; and
the one or more source physical namespaces are non-contiguous.
-
-
17. The method according to claim 15, wherein:
-
the one or more destination physical namespaces are non-contiguous; and
the one or more source physical namespaces are contiguous.
-
-
18. The method according to claim 15, wherein:
-
the one or more destination physical namespaces are contiguous; and
the one or more source physical namespaces are non-contiguous.
-
-
19. The method according to claim 15, wherein:
-
the one or more destination physical namespaces are contiguous; and
the one or more source physical namespaces are contiguous.
-
-
20. The method according to claim 15, wherein:
the source and destination virtual namespaces are organized in a tree-like directory structure.
-
21. The method according to claim 20, wherein:
the source and destination virtual namespaces are each a uniform resource identifier.
-
22. The method according to claim 15, wherein:
the source and destination physical namespaces are organized in a tree-like directory structure.
-
23. The method according to claim 22, wherein:
the source and destination physical namespaces are each a file system path.
-
24. The method according to claim 15, wherein:
the request complies with a request/response protocol.
-
25. The method according to claim 15, wherein the step for copying or moving further comprises the following for the source virtual namespace and for each source virtual subdirectory namespace of the source virtual namespace:
if the request is for a move operation, a specific act of deleting the source physical namespace.
-
26. The method according to claim 15, wherein the specific act of repeating comprising the following:
a specific act of repeating the specific act of determining the source physical namespace, determining the destination physical namespace, and copying files from the source physical namespace to the destination physical namespace for all of the source virtual subdirectory namespaces within the source virtual namespace.
-
27. The method according to claim 15, wherein the at least some of the source virtual subdirectory namespace include those subdirectory namespace for which the requester has permission to move or copy.
-
28. A computer-readable medium having computer executable instructions for performing the specific acts recited in claim 15.
Specification