Patent Document

CROSS-REFERENCE TO RELATED APPLICATIONS  
         [0001]    Not applicable.  
         STATEMENT REGARDING FEDERALLY SPONSORED RESEARCH OR DEVELOPMENT  
         [0002]    Not applicable.  
         BACKGROUND OF THE INVENTION  
         [0003]    1. Field of the Invention  
           [0004]    The present invention generally relates to a system for sorting digital audio files. More particularly, the invention relates to creating a metadata presort file which can be used by an audio player to permit a user to sort audio files according to different sort criteria with minimal sorting logic in the player itself.  
           [0005]    2. Background Information  
           [0006]    Audio electronics have long included devices that permit a user to listen to music or other types of audio. An example of such devices includes a cassette tape player. More recently, compact disk (“CD”) audio players have become extremely popular. A CD disk is a relatively flat, round disk that is approximately 4.5 inches in diameter. The information stored on a CD is stored in a digital format, not analog as for the larger vinyl records used in conjunction with record players.  
           [0007]    CDs have several advantages over records. For example, many audiophiles believe the audio quality from a CD is superior to that of records. Further, CDs are smaller than records. Further still, unlike records which are relatively fragile and must be treated with much care to keep them clean, CDs are less fragile and susceptible to dirt and other contaminants. Also, CDs can be played using battery operated, portable CD players, whereas records cannot be played in this fashion.  
           [0008]    Conventional audio CDs include audio tracks (e.g., songs) in which the audio has been digitized and stored in digital form. A typical audio CD includes 15-20 songs. A user can scroll forward or backward through the various track numbers shown on a display to select a desired track number to play. Because of the nature of conventional audio CDs, a conventional CD player does not permit the user to see any information, other than the track number, on the player&#39;s display.  
           [0009]    More recently, compressed audio technology has increased in popularity. An audio compression standard that has become widely used was promulgated by the Motion Picture Experts Group (“MPEG”). This group has introduced a variety of standards for compressing video and associated audio. Of these various standards the MPEG-1/2 Layer-3 standard (“MP3”) has become widely used for compressing audio data for use in consumer products. Application of the MP3 standard can result in a compression ratio of 10:1 or greater. That is, with a 10:1 compression ratio ten times more information can be stored on a CD having the same capacity as with the conventional audio CDs for which the data is not compressed. With MP3 technology, a user can copy compressed audio files to a CD (a process typically referred to as “burning” the CD) and then play the audio files via an MP3-compliant player. The MP3 player retrieves a compressed file from the disk, decompresses the file, and plays the file through speakers or headphones connected to the player. Some MP3 players decompress and play audio stored on a CD as noted above, while other MP3 players decompress and play audio stored in solid state memory in the player. In the latter type of player, the user downloads MP3-compressed audio files directly into the MP3 player&#39;s memory.  
           [0010]    As is typically the case, as shown in FIG. 1 each MP3 audio file (represented by file  20 ) generally contains a metadata field  22  and a compressed audio data payload  24 . Other information may be included as well and the metadata field  22  may be located at the beginning of the file as shown or at the end of the file. The audio data payload  24  contains a compressed version of the audio information (e.g., song) to be played. The metadata field  22  contains information regarding the audio file. Exemplary types of information contained in the metadata field include: song name, file length, genre (e.g., rock and roll, classical, jazz, etc.), track number and other, or different, types of information that may be useful to the user.  
           [0011]    Because many more audio files can be placed on an MP3 disk than a conventional audio CD, and because the user can select which files to place on the disk, the user can create a disk having hundreds of songs by different artists and in different genres of music. Because of the potentially voluminous amount of audio data that can be placed on an MP3 disk, it is highly preferable to provide a mechanism by which the user can efficiently select which audio files to play and the order in which they should be played. Such a mechanism is fairly straightforward to implement on a standard computer. The MP3 files can be stored on the computer&#39;s hard disk drive and a software interface can permit a user to use the computer&#39;s keyboard, mouse and display to sort the MP3 files in a user-desired manner and play a selected subset of the files in a desired order. For example, the user could decide to play all of the jazz files in alphabetical order according to artist name. Alternatively, the user could decide to play all of the songs by a particular artist in title order.  
           [0012]    As noted, sorting the MP3 files on a standard personal computer is fairly straightforward. The process generally requires access to the metadata associated with each MP3 and uses one or more pieces of information in the metadata (e.g., artist name, genre) of each file to perform the search. Thus, when a user wants to sort the files in accordance with a certain criteria, the computer scans the metadata associated with each file and sorts the files in the order specified by the user. This process is inherently time consuming and requires a great deal of random access memory (“RAM”).  
           [0013]    In a standard computer time and amount of memory are not generally limiting factors. Standard personal computers typically include state of the art microprocessors operating at gigahertz or faster clock rates and large amounts of RAM (e.g., 128 megabytes). In a portable MP3 player, however, processing time and memory can indeed be limiting. The performance of a portable player is generally constrained by cost which generally means that the portable device has a slower microprocessor and much less memory than a desktop computer. Further, for MP3 players that can read audio files from a CD, it takes a significant amount of time for the player to move the laser beam to the correct spot on the disk to access a particular file. This time can be on the order of a few seconds. Thus, it would take an annoyingly long period of time for a portable player to access and sort through the metadata of hundreds of audio files stored on the CD. For these reasons and others, portable MP3 players generally do not provide the user the ability to sort through the files contained in the player. Instead, the user interface is limited to simply scrolling sequentially through the titles one at a time.  
           [0014]    Accordingly, a mechanism is needed by which an operator of a CD player (e.g., an MP3 player) can efficiently sort through the files contained in memory in the player or on a CD. Such a mechanism would be particularly useful for portable CD players, but also useful for non-portable equipment such as personal computers, non-portable CD players, etc.  
         BRIEF SUMMARY OF THE PREFERRED EMBODIMENTS OF THE INVENTION  
         [0015]    The preferred embodiments of the present invention solve the deficiencies noted above by storing presort information with the audio files. The presort information contains one or more lists of the audio files presorted according to different sorting criteria. The presort information permits a user the ability to play the audio files according to one or more of the presorted lists without the player itself having to include logic to sort the files. Broadly, the user selects one of the presorted list of audio files and the player plays the files in the specified order.  
           [0016]    In accordance with one preferred embodiment of the invention, an electronic system (e.g., a personal computer) creates a metadata presort file before or while burning a CD. The metadata presort file includes one or more pieces of information from the audio files&#39; metadata (discussed above). The presort file includes one or more presort segments. Each presort segment includes metadata information that specifies an audio file according to a particular sorting criteria. For example, one presort segment might include metadata pertaining to all of the jazz files in order by artist, while another presort segments includes metadata pertaining to all of audio files in alphabetical order by artist, then song name. Each presort segment includes those items of metadata relevant to the sorting criteria used to create that particular segment. The metadata presort file also includes a vector sort table which includes a list of the sorting criteria used to create the various presort segments.  
           [0017]    The electronic system is used to create the metadata presort file which is stored on the CD with the audio data. Once inserted into a player, the user can select one of the sorting criteria in the presort file&#39;s vector sorting table. The player will then play the songs in the order specified by the selected sorting criteria. Thus, the audio files on the CD can be played in a desired order, but the player need not include much logic to actively sort the files itself.  
           [0018]    The principles discussed herein apply broadly to any type of media files including audio files, video files, graphics files, files containing a combination of audio and video, text files, etc. The electronic system that creates the presort information preferably is a desktop or laptop personal computer, but can be any type of electronic system capable of performing the functions described herein such as a consumer device dedicated for just this purpose. Further, the player preferably is a portable or non-portable CD or MP3 player, but in general is any type of device capable of performing the functions described herein. The player may access the media files and presort information from a disk, such as a CD, or other type of removable medium or any type of solid state storage (e.g., random access memory).  
           [0019]    These and other aspects of the present invention will become apparent upon analyzing the drawings, detailed description and claims, which follow.  
       
    
    
     DESCRIPTION OF THE DRAWINGS  
       [0020]    For a detailed description of the preferred embodiments of the invention, reference will now be made to the accompanying drawings in which:  
         [0021]    [0021]FIG. 1 is a representation of a single audio file containing metadata and a compressed audio payload;  
         [0022]    [0022]FIG. 2 shows an electronic system usable to create a metadata presort file;  
         [0023]    [0023]FIG. 3 shows a functional block diagram of the electronic system of FIG. 2;  
         [0024]    [0024]FIG. 4 shows a metadata presort file used by the player to sort audio files;  
         [0025]    [0025]FIG. 5 shows an exemplary arrangement of directories and files of audio data;  
         [0026]    [0026]FIG. 6 shows a portable CD player through which a user can sort audio files using the metadata presort file contained on the CD; and  
         [0027]    [0027]FIG. 7 is a block diagram of the portable CD player of FIG. 6. 
     
    
     NOTATION AND NOMENCLATURE  
       [0028]    Certain terms are used throughout the following description and claims to refer to particular system components. As one skilled in the art will appreciate, processor and computer companies may refer to a component and sub-components by different names. This document does not intend to distinguish between components that differ in name but not function. In the following discussion and in the claims, the terms “including” and “comprising” are used in an open-ended fashion, and thus should be interpreted to mean “including, but not limited to . . . ”. Also, the term “couple” or “couples” is intended to mean either a direct or indirect electrical connection. Thus, if a first device couples to a second device, that connection may be through a direct electrical connection, or through an indirect electrical connection via other devices and connections. The term “proxy” is used in one preferred embodiment below. This term is simply meant to refer to any type of value that can be used in place of another value. To the extent that any term is not specially defined in this specification, the intent is that the term is to be given its plain and ordinary meaning.  
       DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS  
       [0029]    In accordance with a preferred embodiment of the invention, an audio system presorts a plurality of audio files according to one or more sorting criteria. Presorting information associated with the results of each of the sorts is written to a presort file which is stored with the audio files. For example, if the audio files are burned on to a CD, the presort is also burned on to the CD. The presorting information contained in the presort file indicates how the audio files are to be sorted according to various criteria. Using an audio player, a user can readily play some or all of the audio files contained on the disk according to any of the presorted criteria contained in the presort file. The presort criteria may include genre alphabetical order (e.g., classical, country, jazz, rock &amp; roll), artist alphabetical order, genre order with the songs in each genre sorted in alphabetical artist order and, in general, any desired ordering criteria. The user simply picks the sorting criteria and requests the player to play the songs in that order. Any one of a variety of embodiments is possible to implement a system embodying this presorting feature. One suitable, but not limiting, embodiment is described below.  
         [0030]    In accordance with one preferred embodiment, the presort file is created using a personal computer. The computer burns a CD with a plurality of audio files and also the metadata presort file. Once burned, the CD can then be played using a suitable player. FIG. 2 shows a computer system  60  which can be used to create the presort file and burn a CD. As shown, the computer system  60  comprises a processor unit  62  coupled to a display  64 , a keyboard  66 , a mouse  68  and a CD burner  70 . As is well known, an operator controls the computer using the keyboard  66  and/or mouse  68  and display  64 . The CD burner  70  accepts a CD  71  via a slot or tray  73 . The burner  70  accepts data from the processor unit  62  to format and write to the CD. CD burners are well known in the art.  
         [0031]    As shown in the block diagram of FIG. 3, the processor unit  62  includes a one or more central processing units (“CPUs”)  72 , volatile system memory  74 , a bridge device  76 , a hard disk drive  78 , an input/output controller  80 , and a graphics controller  82 . Additional components may be included as well as would be known to one of ordinary skill in the art. The bridge device  76  in the processor unit  62  operatively couples together the CPUs  72 , system memory  74  and the graphics controller  82 . The graphics controller  82  receives graphics data from, for example, the CPUs  72  which it converts to suitable signals for driving display  64 . Through the bridge  76 , the CPUs  72  can read data from and write data to system memory  74  and the graphics controller  82 . Similarly, the graphics controller  82  can read graphics related data from system memory  74  and, if desired, display such data on display  64 . The hard disk drive  78  couples to the system via the I/O controller  80  which can be any controller suitable for operating a hard drive. The I/O controller  80  may also include connections for the keyboard  66  and mouse  68 , or a separate control unit may be used to interface to the keyboard and mouse. In general, software stored on the hard disk drive  78  can be executed by one or more of the CPUs  72 . As is commonly the case, a software program to be executed is copied from the hard drive  78  to system memory  74  and executed by a CPU  72  from system memory.  
         [0032]    Referring still to FIG. 3, at least one of the applications that preferably is executed by computer system  60  is an application  84  that functions to create the presort file noted above. The application that creates the presort file and the resulting presort file itself both can be stored on hard drive  78  as, respectively, application  84  and file  86 . The application  84  that creates the presort file may be part of an application (not shown) that burns the CD or a separate application.  
         [0033]    As discussed previously, an MP3 audio file includes metadata which contains information regarding the audio data. Exemplary types of information contained in the metadata field of an MP3 include: song name, file length, genre (e.g., rock and roll, classical, jazz, etc.), track number and other, or different, types of information that may be useful to the user. Application  84  uses the metadata from each audio file to create presort information which the application stores in presort file  84 . For that reason, the presort file is referred to as the “metadata presort file.” 
         [0034]    One suitable format for the metadata presort file  86  is shown in FIG. 4. As shown, the preferred presort file  86  comprises a vector sort table  88  and one or more presort segments  90 . The presort segments  90  comprise information the CPU  72  extracts taken from the audio files&#39; metadata. Each presort segment  90  corresponds to a sorting criteria which may vary between presort segments. Each presort segment  90  contains information that is indicative of a particular order for the audio files. Exemplary sorting criteria include, without limitation:  
         [0035]    Genre-artist: the files are arranged first according to genre (country, jazz, rock and roll, etc.) and then, within each genre, the files are ordered according to artist name.  
         [0036]    Artist-song name: the files are arranged first according to an alphabetical listing of artists and then, for each artist, the files are arranged alphabetically by song name  
         [0037]    Many other criteria for sorting audio files are possible and are included within the scope of this disclosure. FIG. 4 shows an exemplary presort segment  90  in which the audio files are sorted by genre, and then by artist within each genre. Each entry  92  in segments  90  corresponds to an audio file and includes the genre (e.g., GENRE1, GENRE2, etc.), the artist name (e.g., ARTIST1, ARTIST2, etc.) and audio track name (SONG1, SONG2, etc.). Each entry  92  may also include the name of the file containing the audio data and metadata. The file name may be the same as, or different from, the audio track name.  
         [0038]    The vector sort table  88  includes a listing of the various sorting criteria  94  that are used to create the presort segments  90 . Exemplary sorting criteria are shown in FIG. 4 as “genre-artist” and “artist-title.” As explained above, each presort segment  90  includes a plurality of entries, each entry corresponding to an audio file and the entries are arranged in order according to the particular sorting criteria for that segment. As such, each sorting criterion  94  contained in vector table  88  corresponds to the information in one of the presort segments  90 .  
         [0039]    The CPU  72  preferably creates the metadata presort file  86  before or while burning a CD and stores the presort file  86  on the CD at a predetermined location along with the compressed audio files. As will be explained in detail below, the audio files on the CD then can be played in the order associated with any of the presorted segments  90  without a player having to sort the audio files while the user waits. That is, the audio files have already been sorted and the player uses the presorted file information to permit a user to efficiently sort through and play the audio files in a desired order. In addition to the presort file  86  and the various audio files, “file system” information is also assembled and stored on the disk during the burn process at a predetermined location. The file system information is commonly found on MP3 disks. The file system information contains standardized information regarding each audio file on the CD. Such information includes a name (e.g., name of a song, name of file), total size of the file (i.e., number of bytes), and the starting address of the file on the CD. Other information may included as part of the file system information as well. The file system information preferably is stored on the CD at a predetermined standard location and extracted from the disk after the disk is inserted into a player.  
         [0040]    Instead of storing the names of the audio files as part of each entry  92  in the presort segments  90 , a “proxy” value can be used in its place. One embodiment of a proxy value is a one or two byte number. Each unique proxy value corresponds to an audio file. As a one byte number, the range of proxy values is large enough to correspond to 256 audio files. If the ability to accommodate more than 256 files is desired, then the proxy value can be expanded by an additional byte or bytes as is needed. Proxy values, which generally require fewer bits of storage than file names, may be preferred to reduce the demand for disk and player memory capacity.  
         [0041]    The correspondence between the proxy values and the file names preferably is according to an algorithm that assigns a proxy value to each file name in a predetermined manner. Many different embodiments of such an algorithm are possible. Without limitation, the following described algorithm is presented as one such possible algorithm. Referring to FIG. 5, an exemplary directory structure is shown representing a plurality of audio files, F11-F22. The exemplary embodiment shown includes three directories—one root directory and two sub-directories, DIR1 and DIR2. The root directory includes information regarding the location of the sub-directories and each sub-directory DIR1 and DIR2 includes information regarding the location of the files contained within the sub-directories. The audio files are F11 and F12, which are contained within directory DIR1, and F21 and F22, which are contained within directory DIR2.  
         [0042]    In accordance with the embodiment in which proxy values are included in the metadata presort file  86 , each proxy value is assigned by the CPU  72  scanning through the files in the directory structure in a predetermined manner and assigning sequential proxy values. One suitable scanning technique includes scanning the files F11-F22in alphabetical order by directory and file name and assigning sequential proxy values in that order. In this way, a proxy value of “1” can be assigned to file F11, “2” to file F12, “3” to file F21, “4”. to file F22, and so on. For the purpose of assigning proxy values, the directories and files within the directories can be scanned in alphabetical order, reverse alphabetical order, or in other desired order. Any other technique for assigning proxy values to audio files is part of this disclosure as well.  
         [0043]    Once the metadata presort file is created and stored on the CD  71  (FIG. 2), the CD is ready to be played on a player, such as that shown in FIG. 6. As shown, the exemplary embodiment of a player system  100  comprises a disk drive and control mechanism  102  coupled to a speaker unit  104 , which preferably comprises a pair of headphones. A block diagram of the player system  100  is shown in FIG. 7. The disk drive and control mechanism  102  includes a CPU  110 , memory  114 , and a CD loader  118 , as well as input controls and  106  and display  108  (also shown in FIG. 6). The CPU  110  couples to the memory  114 , CD loader  118 , input controls  106 , display  108  and via audio drive circuitry such as an amplifier (not shown) to speaker  104 . The CD loader  118  functions to position the laser beam in the correct place on the CD  71  to read the compressed audio data files, metadata presort file and file system information from the CD and transfer the data to the CPU  110 . The CPU  110  may store some or all of this data in memory  114  and then read the audio data from the memory, decompress the audio data and generate and provide suitable analog audio signals to the speaker  104 . The CPU  110  also provides status and other information on the display  108  and receives input control signals from the input controls  106 . The status information may include an identification of the music being played, length of the track, operational mode (e.g., play, pause, etc.), and other desired information. The CPU  110  responds to control signals from the input controls  106  and causes the CD loader  118  to retrieve the user-desired audio files from the CD  71 .  
         [0044]    To use the system  100 , a user opens the disk drive and control mechanism  102  in accordance with conventional techniques and places a CD containing audio files, the metadata presort file, and file system information therein. Using controls  106  and display  108 , the user can select a specific file to play or, as discussed below, select a presorted arrangement of files to play.  
         [0045]    Referring still to FIG. 7, in accordance with a preferred embodiment of the invention, the user can use input controls  106  to cause the CPU  110  transmit the listing of the various sorting criteria  94  from the vector sort table  88  (FIG. 4) to the display  108 . Once displayed, via controls  106 , the user can select one of the sorting criterion and the audio files will be played in the order corresponding to the selected sorting criterion. If the selected sorting criterion  94  includes file names, then the player&#39;s CPU  110  simply plays the files in the order specified using the file names.  
         [0046]    If, however, the selected sorting criterion  94  includes a proxy value instead of a file name, the CPU  110  preferably converts or matches the proxy value to a corresponding file name by applying the same algorithm described above used by system  62  to generate the proxy values in the first place. The CPU  110  retrieves the file system information from the CD  71 , decodes and decompresses the file system information if necessary, and stores the file system information in the player&#39;s memory  114  for subsequent use in playing the CD. The file system information, which contains the file names, contains, or permits the CPU  71  to recreate, the directory and file information used by system  62  (FIG. 3) to assign the proxy values as explained previously. By using the same algorithm as was used by system  62  to create the proxy values, the player  100  can accurately match the proxy values to the file names. This process of converting or matching proxy values to file names can be done during an initialization process as the CD  71  is inserted into the player  100  or at other suitable times.  
         [0047]    The proxy value-to-file name conversion algorithm can be predetermined and remain static in electronic system  60  and player  100 . Alternatively, the algorithm, or data indicative of the algorithm, can be stored by system  60  on the CD itself. Accordingly, the player&#39;s CPU  110  can use information on the CD  71  to determine the algorithm to use to convert or match the proxy values to file names. This permits the electronic system  62  to use any one of a variety of algorithms and convey enough information to the player for the player to use the correct method of converting or matching proxy values to file names. Further, a plurality of proxy value-to-file name conversion algorithms can be stored in the player and the CD  71  may contain a value or instruction for the player as to which algorithm should the player should use to perform the conversion.  
         [0048]    Using the metadata presort file  86 , the CD player  100  need not itself sort the files contained on the CD. Instead, the CD contains a data set (i.e., the presort file  86 ) which informs the CD player  100  as to how to order the audio files according to various sorting criteria. Thus, the player  100  described herein permits the user to play songs in various orders without including logic to actually sort the audio files according to the user&#39;s preferences.  
         [0049]    The scope of this disclosure is not limited to the CD context. In general, the audio files and metadata presort file can be stored on any type of storage medium. For example, many portable MP3 players include solid state memory for storing compressed audio files. This type of memory can be used for storing the metadata presort file. In addition, the present disclosure is not limited to portable CD players. The metadata presort file may be stored on a non-portable CD player or a computer system to permit such equipment to play audio files therefrom in an order selected by a user. Further, the disclosure is directed to any type of media data, not just audio. Examples of other types of media data include video, graphics, text, video combined with audio, etc. That being the case, the player  100  generally comprises a media player in its broadest sense.  
         [0050]    The above discussion is meant to be illustrative of the principles and various embodiments of the present invention. Numerous variations and modifications will become apparent to those skilled in the art once the above disclosure is fully appreciated. It is intended that the following claims be interpreted to embrace all such variations and modifications.

Technology Category: 3