Systems and methods of directory entry encodings
First Claim
Patent Images
1. A method for filename lookup which supports multiple character encodings, the method comprising:
- receiving, at a computer system, one or more requests to store one or more names into a data structure, each name represented by a byte value based on one of a plurality of character encodings;
converting, by the computer system, each of the names of the one or more requests into a key;
for each name of the one or more requests, storing, by the computer system, a data element indexed by the name'"'"'s key into the data structure, the data element comprising the name'"'"'s byte value, an identifier of the name'"'"'s character encoding, and address data for locating file data associated with the name;
receiving, at the computer system, a request to retrieve a data element associated with a requested name comprising a request byte value according to a request character encoding;
converting, by the computer system, the requested name into a request key; and
searching, by the computer system, the data structure for a data element related to the requested name using at least the request key.
12 Assignments
0 Petitions
Accused Products
Abstract
In general, the invention relates to supporting multiple different character encodings in the same file system. In one embodiment, a method is provided for filename lookup that supports multiple character encodings. The method comprises storing filename data in a first character encoding into an indexed data structure. The method further comprises receiving filename data in a second encoding. The method also comprises looking up filename data in the indexed data structure using the second encoding.
-
Citations
20 Claims
-
1. A method for filename lookup which supports multiple character encodings, the method comprising:
-
receiving, at a computer system, one or more requests to store one or more names into a data structure, each name represented by a byte value based on one of a plurality of character encodings; converting, by the computer system, each of the names of the one or more requests into a key; for each name of the one or more requests, storing, by the computer system, a data element indexed by the name'"'"'s key into the data structure, the data element comprising the name'"'"'s byte value, an identifier of the name'"'"'s character encoding, and address data for locating file data associated with the name; receiving, at the computer system, a request to retrieve a data element associated with a requested name comprising a request byte value according to a request character encoding; converting, by the computer system, the requested name into a request key; and searching, by the computer system, the data structure for a data element related to the requested name using at least the request key. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A system for filename lookup which supports multiple character encodings, the system comprising:
-
a computer processor; a memory; a data structure stored on the memory; and at least one executable software module executed by the computer processor and configured to; receive one or more requests to store one or more names into the data structure, each name represented by a byte value based on one of a plurality of character encodings; convert each of the names of the one or more requests into a key; for each name of the one or more requests, store a data element indexed by the name'"'"'s key into the data structure, the data element comprising the name'"'"'s byte value, an identifier of the name'"'"'s character encoding, and address data for locating file data associated with the name; receive a request to retrieve a data element associated with a requested name comprising a request byte value according to a request character encoding; convert the requested name into a request key; and search the data structure for a data element related to the requested name using at least the request key. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification