Computer method and apparatus for a table driven file interface
First Claim
1. In a digital processor having (i) a storage memory holding a plurality of files of different file formats and (ii) a multiplicity of different applications executable in main memory, a method of accessing files of different formats comprising the steps of;
- providing a single table stored in working memory of the digital processor for indicating component parts of different file formats, the table having a different entry for each of different file formats but a set of common representations used in each entry for indicating component parts of respective file formats;
coupling processor means to the table for interfacing between at least one application and files of different formats in the storage memory; and
for a desired file having a respective file format foreign to a subject application, operating the processor means including (a) accessing the entry of the table corresponding to the file format of the desired file, (b) parsing the desired file into the component parts indicated in the table entry according to the set of common representations used for indicating the component parts of the file format of the desired file, and (c) assembling the component parts into the file format of the subject application as indicated in the table in terms of the set of common representations to provide access of the desired file by the subject application, for different file formats, the processor means accessing the same table but different entries thereto, but a set of common representations used in each entry for indicating component parts of respective file formats.
7 Assignments
0 Petitions
Accused Products
Abstract
An interface between different file formats employs a table for parsing component parts of each file format. The table cross references or categorizes each of the different file formats according to file type from a predefined set of file types. For each file type, the table provides an indication and description of each component part of a file of that type. Each component part description of the table is in a common format. Thus, the present invention method and apparatus employs a table driven parser which utilizes a common form of representation for defining multiple file formats.
71 Citations
6 Claims
-
1. In a digital processor having (i) a storage memory holding a plurality of files of different file formats and (ii) a multiplicity of different applications executable in main memory, a method of accessing files of different formats comprising the steps of;
-
providing a single table stored in working memory of the digital processor for indicating component parts of different file formats, the table having a different entry for each of different file formats but a set of common representations used in each entry for indicating component parts of respective file formats; coupling processor means to the table for interfacing between at least one application and files of different formats in the storage memory; and for a desired file having a respective file format foreign to a subject application, operating the processor means including (a) accessing the entry of the table corresponding to the file format of the desired file, (b) parsing the desired file into the component parts indicated in the table entry according to the set of common representations used for indicating the component parts of the file format of the desired file, and (c) assembling the component parts into the file format of the subject application as indicated in the table in terms of the set of common representations to provide access of the desired file by the subject application, for different file formats, the processor means accessing the same table but different entries thereto, but a set of common representations used in each entry for indicating component parts of respective file formats. - View Dependent Claims (2, 3)
-
-
4. In a digital processor having (i) a storage memory holding a plurality of files of different file formats and (ii) a multiplicity of different applications executable in main memory, computer apparatus comprising:
-
a single table stored in working memory of the digital processor for indicating component parts of different file formats, the table having a different entry for each of different file formats but a set of common representations used in each entry for indicating component parts of respective file formats; and processor means coupled to the table for interfacing between at least one application and files of different formats in the storage memory, for a desired file having a respective file format foreign to a subject application, the processor means (a) accessing the entry of the table corresponding to the file format of the desired file, (b) parsing the desired file into the component parts indicated in the table entry according to the set of common representations used for indicating the component parts of the file format of the desired file, and (c) assembling the component parts into the file format of the subject application as indicated in the table in terms of the set of common representations to provide access of the desired file by the subject application, the processor means accessing the same table but different entries to the table for different file formats, each entry using the set of common representations for indicating component parts of respective file formats. - View Dependent Claims (5, 6)
-
Specification