This application is a Reissue Application of U.S. Pat. No. 7,468,481B2 issued on Dec. 23, 2008, which claims foreign priority benefits of Korean Patent Application No. 10-2000-0079905 filed Dec. 21, 2000 in the Republic of Korea.
BACKGROUND OF THE INVENTION1. Field of the Invention
The present invention relates to a method of displaying directories differently in accordance with attributes of files included therein.
2. Description of the Related Art
In these days, a disk recording medium has a large storage capacity, so that a disk recording medium storing ‘MP3’ music files may include different attribute files, for example, text files in a hierarchical directory structure.
If a user wants to reproduce music files stored on such a disk recording medium, he or she must open many directories, one by one, and examine attributes of files under each directory. However, this task is very cumbersome. Moreover, it takes a relatively long time for ‘MP3’ music files written on a disk containing mixed-attribute files to be reproduced.
SUMMARY OF THE INVENTIONIt is an object of the present invention to provide a method of providing information on whether a directory has a file with a certain attribute, in order to inform a user of directories having files having an attribute desired by a user.
A method of displaying a directory structure of a recording medium according to the present invention, examines the directory structure, and the attributes of data files recorded in the recording medium, generates a mark for visually differentiating between directories to show directories including at least one file of a pre-specified attribute, based on the examined attribute information, and displays the generated mark along with the examined directory's structure information.
Another method of displaying the directory structure of a recording medium according to the present invention examines directory structure and attributes of data files recorded in the recording medium, selects a file of a pre-specified attribute based on the examined attribute information, and displays a hierarchical directory structure for the selected file.
BRIEF DESCRIPTION OF THE DRAWINGSThe accompanying drawings, which are included to provide a further understanding of the invention, illustrate the preferred embodiments of the invention, and together with the description, serve to explain the principles of the present invention.
In the drawings.
FIG. 1 is a block diagram of an optical disk device, which a directory displaying method according to the present invention is applicable to;
FIG. 2 is a flow chart of a directory displaying method embodying the present invention illustratively;
FIG. 3 is an example of directories created on a disk, and files under each directory;
FIGS. 4 to 6 illustrate directory display formats according to the present invention.
DETAILED DESCRIPTION OF THE PREFFERRED EMBODIMENTIn order that the invention may be fully understood, a preferred embodiment thereof will now be described with reference to the accompanying drawings.
Shown inFIG. 1 is an optical disk device, which a directory displaying method according to the present invention is applied to, comprising an optical pickup20 for detecting recorded signals from an optical disk10, such as a digital versatile disk (DVD), an R/F unit50 for outputting binary signals and TE (Tracking Error) and FE (Focussing Error) signals through combining signals detected from the disk10 by the optical pickup20, adriving unit70 for driving thespindle motor11 for rotating the disk10, aservo unit60 for providing control input to the driving70 based on the TE and FE signal and rotation speed of the disk10, a digital signal processing (DSP)unit30 for restoring audio or compressed moving-picture digital data from the binary signals by processing them with an internal clock phase-locked with them, anMPEG decoder90 for decoding the audio or compressed moving-picture digital data into a video and/or audio signal, avideo encoder91 for converting the video signal from theMPEG decoder90 to a television signal, an OSD (On Screen Display)unit92 for displaying characters or text on a screen, amicrocomputer80 for supervising overall operations of all elements, especially, examining attributes of files written in the disk10 and their directory structure, and controlling display of information obtained from the examination, and amemory81 for storing temporary data.
FIG. 2 is a flow chart of a directory displaying method embodying the present invention illustratively. The method ofFIG. 2 employed by the disk device configured asFIG. 1 is described below in detail.
For the sake of convenient explanation, it is assumed that the disk10 loaded into the disk device ofFIG. 1 has non-MP3 files, for example, text files as well as MP3 files with the hierarchical directory structure given inFIG. 3.
If a user inserts the disk10 into the disk device (S10), themicrocomputer80 rotates the disk10 by controlling theservo unit60 and thedriving unit70 and moves the pickup20 to the file system area of the disk10 at the same time. Then, the pickup20 reads out recorded signals constituting file system data (S11) and the read signals are restored into data through the processes of the R/F unit50 and theDSP unit30. The restored file system data is stored in thememory81.
Themicrocomputer80 examines the file system data stored in thememory81, and recognizes the file structure given inFIG. 3, and respective attributes of files under each directory (S12). File attributes can be identified from file extensions such as ‘.txt’ and ‘.MP3’.
After the examination of the directory structure and the attributes of files included in each directory, every directory including at least one specific-attribute file, for example, ‘MP3’ file is flagged by the microcomputer80 (S13).
If the disk device has a disk-writing mechanism, and the inserted disk10 is writable, all information obtained from the examination can be stored in the disk10 as a file of pre-specified name, or in a user-information area located between lead-in area and program area of the disk10.
On the condition that information on directory structure and files of the inserted disk10 has been obtained, if a user requests that directories are displayed differently in accordance with attributes of files included therein (S14), themicrocomputer80 provides directory information for the user based on the stored information in thememory81. To do this, themicrocomputer80 composes directory-display information which differentiates flag-set directories and their parent directories, if any, from other directories by adding a specific mark such as ‘O’ to the flag-set directories and their parent directories (as shown inFIG. 4), and it appends the number of files under the other directories, whose flag is not set, to their directory names (S20). Themicrocomputer80 also computes x-y coordinate values of each directory, based on the examined directory's structure, taking into consideration that the examined directory structure will be displayed on a screen, and stores the x-y coordinate values in connection with the directory-display information.
The directory-display information is organized such that it is to be displayed horizontally from the upper directory, lower directory, and file names as shown inFIG. 4. Such-constructed directory-display information is converted into corresponding OSD characters by theOSD unit92, and is mixed with a background picture, which is provided from a memory or a disk, outputted by thevideo encoder91. The mixed video signal is presented to an external displaying apparatus such as a television set (S21).
Therefore, a user can recognize with ease, directories including at least one ‘MP3’ file, and the number of other attribute files under directories, not including any ‘MP3’ file from the directory screen displayed as given inFIG. 4, without opening and checking all directories individually.
In the meantime, while a user moves a screen pointer on the directory-displayed screen with a remote controller, themicrocomputer80 continues to track the moving pointer and continues computing the x-y coordinate value of the pointer. If a user presses an ‘enter’ key on a certain directory which he or she wants detailed information about, themicrocomputer80 identifies a selected directory by comparing the stored coordinate value of each directory with the coordinate value of the pointer at the time the ‘enter’ key is pressed, and it assembles additional information such as filename, about files under the identified directory, and displays the additional information onto the displaying apparatus through theOSD unit92.
Because the identified directory may include non-MP3 files, themicrocomputer80 may assemble the additional information such that the aforementioned specific mark is appended to filenames of ‘MP3’ files.
In addition, themicrocomputer80 can provide the directory information stored in thememory81 in different formats. For example, only flag-set directories, which include at least one ‘MP3’ file, among all directories of the disk10 may be displayed with filenames of ‘MP3’ files under each flag-set directory as shown inFIG. 5. Therefore, a user can easily identify detailed ‘MP3’ files including directories.
Themicrocomputer80 can also provide the directory information stored in thememory81 in the reverse displaying format ofFIG. 4, namely, from each filename, lower directory, and upper directory as shown inFIG. 6. To do this, themicrocomputer80 analyzes the file system data stored in thememory81 first, then it classifies the files according to their attributes and provides each classified file with its bottom-up directories. Therefore, a user can recognize file types, and each directory scheme for each file at a glance.
In the display format ofFIG. 6, files of a pre-specified attribute, namely, ‘MP3’ music files, are displayed before other attribute files on a screen, or a screen area may be divided for each file attribute so that files having the same attribute are listed in the same divided window. Instead of displaying bottom-up directories for a certain file, only the uppermost directory may be displayed in connection with each file.
In this file display format, instead of the bottom-up display scheme shown inFIG. 6, a top-down display scheme may be used for each file, namely, a file and its directory path may be displayed from its uppermost directory, lower directory, next lower directory, . . . , and that file.
Based on the above, all directories are displayed according to whether each directory has an ‘MP3’ file (as shown inFIG. 4) when a user requests a distinguishable directory display. However, directory information for only the directory which a user selects may be provided. For example, if a directory selected through an input device such as a remote controller has at least one ‘MP3’ file, that is, the selected directory is flagged in the process of the file system examination, a specific mark is added to the name of that directory to notify a user that at least one ‘MP3’ file is included therein.
If the selected directory includes no ‘MP3’ file, namely, if the selected directory is unflagged, the number of files under that directory is displayed instead of the specific mark in order to notify a user of how many non-MP3 files the selected directory includes.
In the embodiments explained above, directories including at least one file of pre-specified attribute are displayed differently from those including files having other attributes. However, it is also possible to display vice versa, namely, directories not including any file of pre-specified attribute can be displayed differently from those including at least one file having that attribute. When this occurs, a mark for visually differentiating a directory, for example, a mark ‘X’ is preferable to designate no inclusion.
The method of displaying a directory structure according to the present invention enables a user to recognize directories including at least one file having a desired attribute at a glance. Owing to the present invention, reproduction, selection, or copy for a file having a desirable attribute can be conducted very quickly.
The invention may be embodied in other specific forms without departing from the sprit or essential characteristics thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein.