Method and system for accessing a file using file names having different file name formats
First Claim
1. A method in a computer system for accessing a file using a tree structure, the computer system having a memory, the tree structure having a plurality of file entries, each file entry for storing a file name identifying a file and a file storage indicator indicating a location of the file in the memory, the file name being either a long file name in a long file name format or a short file name in a short file name format, the method comprising:
- when creating a file,receiving a long file name in a long file name format;
storing the received long file name in a first file entry of the tree structure along with a file storage indicator indicating the location of the file in the memory;
automatically generating a short file name in a short file name format; and
storing the generated short file name in a second file entry of the tree structure along with the file storage indicator indicating the location of the file in the memory, the second file entry being different from the first file entry; and
when accessing the file,upon receiving the long file name,locating the first file entry in the tree structure in which the received long file name is stored;
retrieving the file storage indicator stored in the located first file entry; and
accessing the file in the memory using the retrieved file storage indicator; and
upon receiving the short file name,locating the second file entry in the tree structure in which the received short file name is stored;
retrieving the file storage indicator stored in the located second file entry; and
accessing the file in the memory using the retrieved file storage indicator.
2 Assignments
0 Petitions
Accused Products
Abstract
A multiple file name referencing system stores multiple file names in a file. These multiple file names include an operating system formatted file name and an application formatted file name. When an operating system formatted file name is created or renamed, the multiple file name referencing system automatically generates an application formatted file name having a potentially different format from, but preserving the extension of, the operating system formatted name. The multiple file name referencing system similarly generates an operating system formatted name upon creation or renaming of an application formatted name. A B-tree is provided which contains an operating system entry for the operating system formatted name and an application entry for the application formatted name, each entry containing the address of the same file to which both names refer. The multiple file name referencing system converts the operating system formatted file name to the application formatted file name by accessing the B-tree with reference to the operating system entry, and vice versa. As a result, either file name can be used to directly reference the file without requiring additional file name translation.
179 Citations
24 Claims
-
1. A method in a computer system for accessing a file using a tree structure, the computer system having a memory, the tree structure having a plurality of file entries, each file entry for storing a file name identifying a file and a file storage indicator indicating a location of the file in the memory, the file name being either a long file name in a long file name format or a short file name in a short file name format, the method comprising:
-
when creating a file, receiving a long file name in a long file name format; storing the received long file name in a first file entry of the tree structure along with a file storage indicator indicating the location of the file in the memory; automatically generating a short file name in a short file name format; and storing the generated short file name in a second file entry of the tree structure along with the file storage indicator indicating the location of the file in the memory, the second file entry being different from the first file entry; and when accessing the file, upon receiving the long file name, locating the first file entry in the tree structure in which the received long file name is stored; retrieving the file storage indicator stored in the located first file entry; and accessing the file in the memory using the retrieved file storage indicator; and upon receiving the short file name, locating the second file entry in the tree structure in which the received short file name is stored; retrieving the file storage indicator stored in the located second file entry; and accessing the file in the memory using the retrieved file storage indicator. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method in a computer system for accessing a file using a tree structure, the computer system having a memory, the tree structure having a plurality of file entries, each file entry for storing a file name identifying a file and a file storage indicator indicating a location of the file in the memory, the file name being either a long file name in a long file name format or a short file name in a short file name format, the method comprising:
when creating a file, receiving a long file name in a long file name format; storing the received long file name in a first file entry of the tree structure along with a file storage indicator indicating the location of the file in the memory; automatically generating a short file name in a short file name format; and storing the generated short file name in a second file entry of the tree structure along with the file storage indicator indicating the location of the file in the memory, the second file entry being different from the first file entry, whereby the file can be accessed using either file name by locating in the tree structure the file entry corresponding to the file name. - View Dependent Claims (9, 10, 11, 12)
-
13. A method in a computer system for accessing a file using a tree structure, the computer system having a memory, the tree structure having a plurality of file entries, each file entry for storing a file name identifying a file and a file storage indicator indicating a location of the file in the memory, the tree structure including a long file name in a long file name format identifying the file to be accessed and a short file name in a short file name format identifying the file to be accessed, the method comprising:
upon receiving a request to access the file with a requested file name, locating the file entry in the tree structure in which the requested file name is stored, wherein the requested file name can be either the short file name or the long file name; retrieving the file storage indicator stored in the located file entry; and accessing the file in the memory using the retrieved file storage indicator. - View Dependent Claims (14, 15)
-
16. A computer system for accessing a file using a B-tree, the computer system having a memory, the B-tree having a plurality of file entries, each file entry for storing a file name identifying a file and a file storage indicator indicating a location of the file in the memory, the file name being either a long file name in a long file name format or a short file name in a short file name format, the computer system comprising:
-
means, when creating a file, for; receiving a long file name in a long file name format; storing the received long file name in a first file entry of the B-tree along with a file storage indicator indicating the location of the file in the memory; automatically generating a short file name in a short file name format; and storing the generated short file name in a second file entry of the B-tree along with the file storage indicator indicating the location of the file in the memory, the second file entry being different from the first file entry; and means, when accessing the file, for; upon receiving the long file name, locating the first file entry in the B-tree in which the long file name is stored; retrieving the file storage indicator stored in the located first file entry; and accessing the file in the memory using the retrieved file storage indicator; and upon receiving the short file name, locating the second file entry in the B-tree in which the short file name is stored; retrieving the file storage indicator stored in the located second file entry; and accessing the file in the memory using the retrieved file storage indicator. - View Dependent Claims (17)
-
-
18. A computer storage medium containing instructions that cause a computer system to:
when creating a file, receive a first file name in a first file name format; store the received first file name in a first file entry of a file referencing system along with a file storage indicator indicating the location of the file in a memory, the file referencing system having a plurality of file entries, each file entry for storing a file name identifying a file and a file storage indicator; automatically generate a second file name in a second file name format; and store the generated second file name in a second file entry of the file referencing system along with the file storage indicator indicating the location of the file in the memory, the second file entry being different from the first file entry, whereby the file can be accessed using either file name by locating in the file referencing system the file entry corresponding to the file name. - View Dependent Claims (19, 20, 21, 22)
-
23. A computer storage medium containing instructions that cause a computer system to:
-
upon receiving a first file name, locate a file entry in a file referencing system in which the first file name is stored, the file referencing system having a plurality of file entries, each file entry for storing a file name identifying a file and a file storage indicator indicating a location of the file, the file referencing system including a first file name in a first file name format identifying the file to be accessed and a second file name in a second file name format identifying the file to be accessed; retrieve the file storage indicator stored in the located file entry; and access the file in the memory using the retrieved file storage indicator; and upon receiving a second file name, locate the file entry in the file referencing system in which the second file name is stored; retrieve the file storage indicator stored in the located file entry; and access the file in the memory using the retrieved file storage indicator. - View Dependent Claims (24)
-
Specification