Data processing: database and file management or data structures – Database design – Data structure types
Reexamination Certificate
1998-11-06
2001-07-10
Choules, Jack (Department: 2177)
Data processing: database and file management or data structures
Database design
Data structure types
C707S793000, C707S793000
Reexamination Certificate
active
06260043
ABSTRACT:
TECHNICAL FIELD
The present invention relates generally to the detection of a file format of a computer file. More particularly, the present invention relates to the detection of a foreign file format and conversion from the foreign file format to a native file format.
BACKGROUND OF THE INVENTION
A file format is the internal structure of a file that defines the way in which the file is stored. Application program modules typically create files that have a unique native file format. A file format may include various types of control instructions and codes used by application program modules and hardware devices. As an example, Microsoft Corporation's WORD application program module creates word processing documents in a native file format commonly known as “WORD format.” Similarly, Novell Incorporated's WordPerfect application program module creates word processing documents in a native file format commonly known as “WordPerfect format.” The native file format of one application program is generally distinct from and incompatible with the native file formats of other application programs.
The end-user's desire for compatibility has given rise to the practice of file format conversion. Most modern application program modules, including WORD and WordPerfect, are equipped with program modules, functions or routines, generally known as “converters.” Converters provide functionality to enable an application program module to convert a file from a foreign format into a native file format. Converters are well known in the art for almost any type of application program module, including word processing programs, spreadsheet programs, graphic editing programs, desktop publishing programs, etc.
Converters may be operable to convert from a variety of foreign file formats. Converters thus provide an application program module with the ability to open files created by many different application program modules, including different versions of those applications. A converter will generally include a function or routine, referred to herein as a “recognition” function, that is operable to examine a foreign file to determine whether the converter is able to fully convert the foreign file format to a native file format, i.e. convert the foreign file without losing much, if any, of the style and presentation of its content. Generally, such a recognition function is called by the converter in response to the converter being called by the application program.
A typical recognition function may include the capability to examine the filename extension of a foreign file. A filename extension is often used to indicate that a file is of a particular format. As such, a recognition function may be able to determine that a file may be fully converted by a converter through examination of the foreign file's filename extension. Additionally, some recognition functions are able to examine the internal structure of a foreign file to determine whether the foreign file format may be fully converted. In any event, in order to determine whether a particular file format may be fully converted, an application program must be operated, a converter must be called by the application program, and a recognition function must be called by the converter.
When a recognition function does not recognize a foreign file format as one that can be fully converted, either a text-only conversion is performed or the user is prompted to manually identify the file format or terminate the conversion. Text-only conversion is often undesirable because it is not a full conversion. In a text-only conversion, almost all of the style and presentation of the content of the foreign file is usually lost. Manual interaction by the user is particularly undesirable with respect to a batch conversion of many files. A batch may contain hundreds or thousands of files in formats that are not recognized by the recognition function as being fully convertible. Required user interaction for each such file causes significant time and effort to be wasted.
Presently, in order to ensure a full and uninterrupted file conversion, the user must have advance knowledge that a particular foreign file format can be fully converted by an application program's converter. If the foreign file format is known to be fully convertible by the converter, the user can predict that the converter will not default to a text-only conversion or prompt the user for input. Therefore, with respect to a full and uninterrupted batch conversion, the user is presently forced to manually select a set of files from a directory that are known to be of a recognizable format. For directories of sufficient size, the selection of recognizable files can be tedious and time consuming.
Accordingly, there remains a need for determining, without user interaction, whether a file is in a particular file format. There also remains a need for accomplishing the automatic selection of files for a batch conversion. There further is a need for pre-determining whether a file is in a particular format, prior to the an attempted conversion of the file by an application program.
SUMMARY OF THE INVENTION
The present invention fulfills the needs in the art by determining, without user interaction, whether a file is in a particular file format. The present invention also supports automatic selection of files for a batch conversion. The present invention can also pre-determine whether a file is in a particular format, prior to an attempted conversion of the file by an application program.
The present invention converts a file between a foreign file format and a native file format of a host application program module. A file comprises an internal file structure, a filename and a filename extension. A native file format is a file format that is fully compatible with the host application program module. A native file is a file having the native file format. A foreign file format is any file format that is not fully compatible with the host application program module. A foreign file is a file having a foreign file format. Accordingly, a native file may be read more quickly and efficiently by the host application than a foreign file.
The host application program module includes one or more converters for performing file conversion. Prior to attempting a conversion of the file with the host application program module, the present invention determines, without user interaction, that a foreign file is in the foreign file format. Upon determining that the foreign file is in the foreign file format and that there is a converter for converting it to a native file format, the present invention commands the host application program module to access the file. The host application program module is operable to call the converter to convert the file from the foreign file format to the native file format.
The present invention provides a pre-recognition function which is operable to determine whether a foreign file format is fully convertible to a native file format by a converter of an application program module. Full conversion of a foreign file format means that the style and presentation of the content of the foreign file are substantially maintained in the native file. The pre-recognition function operates on the foreign file prior to an attempted conversion of the foreign file by the application program module. Subsequently, the application program module is only commanded to access and convert the foreign file if the pre-recognition function has determined that the foreign file is fully convertible by the converter of the application program module. In this way, the conversion of the foreign file by the application program module is ensured to proceed uninterrupted and not require user interaction.
The pre-recognition function is called once for each foreign file in a directory. The pre-recognition function is operable to examine the filename extension of each foreign file to attempt to determine whether the foreign file format is fully convertible by the application program module. If no determina
Elder James W.
Hunter William Clifford
Puri Sunil
Choules Jack
Kilpatrick & Stockton LLP
Lewis Cheryl
Microsoft Corporation
LandOfFree
Automatic file format converter does not yet have a rating. At this time, there are no reviews or comments for this patent.
If you have personal experience with Automatic file format converter, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Automatic file format converter will most certainly appreciate the feedback.
Profile ID: LFUS-PAI-O-2441243