The present invention relates to a content playback device that reads content data, such as data about a musical piece, from a recording medium to play back the content data, and a program that causes a computer to operate as this content playback device.
As a related art content playback device, there is an automatic playing device disclosed by, for example, patent reference 1. In this device, a directory structure is formed as the data holding structure of a storage means, a plurality of music data each showing a musical piece, and playback order data showing the order of playback of a plurality of music data are stored in one directory, and the plurality of music data are played back in the order specified by the playback order data.
Furthermore, a music playback device having a facilitated registration process of registering playback order data is disclosed by patent reference 2. Playlist data defining the playback order of music data handled by this music playback device are comprised of item data each corresponding to music data, and the item data are comprised of number data, check mark data, etc. The music data are played back in the playback order defined by the number data of the item data, and the user is enabled to register whether or not each music data can be played back by simply specifying corresponding check mark data presented for the user via a display.
[Patent reference 1] JP,2001-109470,A
[Patent reference 2] JP,2006-196058,A
A problem with related art devices is that in the case of handling content data recorded into different types of recording media, such as a CD (Compact Disc), a USB (Universal Serial Bus), and a hard disk drive, they cannot set any random playback order while setting desired music data as objects to be played back without being aware of the types of recording media.
For example, the content playback device disclosed by patent reference 1 plays back music data stored in one directory in the order defined by the playback order data, but does not take into consideration music data recorded into different types of recording media. Furthermore, the content playback device disclosed by patent reference 2 cannot systematically carryout control of the playback order of music data recorded into different types of recording media.
The present invention is made in order to solve the above-mentioned problems, and it is therefore an object of the present invention to provide a content playback device that can control playback of content data, such as musical pieces, in a random order without being aware of a plurality of types of recording media by handling the plurality of types of recording media systematically, and a program that causes a computer to operate as this content playback device.
In accordance with the present invention, there is provided a content playback device including: a database creating means for extracting pieces of additional information each for specifying a content from a plurality of types of recording media in which content data and the additional information for specifying the content are recorded to create a content database in which path information showing a recording place of the above-mentioned additional information and the above-mentioned content data is registered for each content; a region setting means for selecting a region of pieces of additional information of contents to be played back in a random order in an order list in which the pieces of additional information extracted from the above-mentioned content database are listed; an object setting means for setting pieces of item information of the above-mentioned pieces of additional information which are to be arranged in the above-mentioned order list in the random order within the above-mentioned region of pieces of additional information set by the above-mentioned region setting means; an order creating means for arranging the above-mentioned pieces of additional information in the above-mentioned order list in the random playback order within the above-mentioned region of pieces of additional information set by the above-mentioned region setting means on a basis of the pieces of item information set by the above-mentioned object setting means; and a content playback means for playing back content data recorded in the above-mentioned recording media in the playback order of the above-mentioned order list on a basis of path information acquired from the above-mentioned content database.
The content playback device in accordance with the present invention selects a region of pieces of additional information of contents to be played back in a random order in the order list, sets pieces of item information of additional information to be arranged in the order list in the random order within the set region of pieces of additional information, and arranges the pieces of additional information in the order list in a random playback order on the basis of the pieces of item information set within the above-mentioned region of pieces of additional information so as to play back content data recorded into the recording media. By doing in this way, the content playback device in accordance with the present invention can systematically handle the plural types of recording media, and can control the playback of content data, such as musical pieces, in a random order without being aware of the types of recording media.
Hereafter, in order to explain this invention in greater detail, the preferred embodiments of the present invention will be described with reference to the accompanying drawings.
The order list control means 1 searches through the musical piece database 2 for pieces of additional information of music data on the basis of the contents of each table 2a to extract the pieces of additional information, and also creates an order list 3 in which the extracted pieces of additional information of music data are listed. The order list control means controls the playback order in which music data are to be played back by controlling the order of list items in this order list 3.
In the present invention, content data used for playing back and recording a musical piece or a video image, such as audio data, video data, karaoke data, incoming call melody data, podcast data, or mixed data including some of them, the content data including music data (e.g., MP3 music data), are referred to as a content. Furthermore, list data, such as playback order data, showing the playback order or the record order in which contents are to be played back or are recorded are referred to as an order list 3.
The musical piece database (content database) 2 is comprised of tables 2a in each of which pieces of additional information about music data recorded in various types of recording media 5 are registered. Attribution information of music data can be searched for and extracted by the order list control means 1. Each table 2a is table data in which additional information and so on, which are recorded in a recording medium 5 along with corresponding music data, are registered as the attribution information of the music data.
As the additional information of music data, information described in a musical piece data tag incorporated into the music data file can be provided. In a case in which the music data is MP3 (MPEG audio layer 3) data, the additional information includes “artist name, release year, and music name” which are described in an ID3 tag (ID3v1 tag, ID3v1.1 tag, ID3V2 tag, or the like).
More specifically, information including the genre (Genre) of the track (the music data), the title of the track (Track Title), the reading (kana reading) (Track Title YOMI) of the title of the track, the artist name (Artist Name), the reading of the artist name (Artist YOMI) the name of the album (playlist) (Playlist Name), the reading of the playlist name (Playlist YOMI), the track number in the album in which the track is recorded (Tracks), the date when the album was released (Album Year), and the genre (Album Genre) of the album is read.
The musical piece database creating means (a database creating means) 4 creates the musical piece database 2 by associating the additional information of each music data read from each of the recording media 5 with a track path or the like showing the storing position of the music data (track) to register the additional information into the tables 2a. Item information registered into the musical piece database 2 includes, for example, a track ID (Track ID) which is index information about an index to each table which constructs the tables 2a regarding tracks, a track path (Track Path) showing the storing position of each track, a folder number (Folder No) for specifying a folder corresponding to each track in a playlist (album) having a directory structure, and a folder depth (Folder Depth) showing the depth of each folder from the route folder in the directory tree.
As the recording media 5, a music media A which is a hard disk drive (HDD) in which music data are recorded, a music media B which is a USB memory in which music data are recorded, a music media C which is a CD or DVD in which music data are recorded, etc. can be provided. In this case, drive devices and interfaces for use with the music media A to C are also included in the recording media 5.
The media access time detecting means (an access time detecting means) 6 detects an access time required to access music data recorded into each of the music media A to C via the above-mentioned drive devices and the above-mentioned interfaces for use with the recording media 5. For example, the access time required to access music data recorded into the music media C depends upon a pickup (head) of the disk drive device for use with CD or DVD, and the position on the disc where the music data (music file) exists. Furthermore, the access time also depends upon the folder depth of the folder in which the music data exists. As the access time, a media average access time which is the average of the access times which are measured a predetermined number of times, a minimum access time which is the minimum of them, and a maximum access time which is the maximum of them can be provided.
According to the playback order of the tracks (musical pieces) set in the order list 3, the track playback means (content playback means) 7 specifies the music data of the music media which are defined by the track paths to play back each of the tracks. The HMI means 8 is a human-machine interface (HMI) for exchanging information between the content playback device and the user by using a not-shown input unit and a not-shown display unit. For example, the HMI means is controlled by the order list control means 1 and the track playback means 7 to display registration information stored in the musical piece database 2, the information about the order list 3, and the information about the track (music data) currently being played back on the display screen of the display unit. Furthermore, a voice recognition unit can be provided as the HMI means 8 so as to receive information via voice uttered by the user.
By causing a computer to read, for example, a program for configuring the content playback device in accordance with the scope of the present invention to control the operation of the program, the order list control means 1, the musical piece database creating means 4, the media access time detecting means 6, the track playback means 7, and the HMI means 8, which are mentioned above, can be implemented as a concrete means in which software and hardware work in cooperation with each other on the computer.
Furthermore, the musical piece database 2 and the order list 3 can be configured in a storage area of a storage unit (HDD) mounted in the above-mentioned computer, or can be configured in a storage area of an external device with which the order list control means 1, the musical piece database creating means 4, and the track playback means 7 can carryout data communications.
The track table 2a-1 manages the additional information other than the titles of the tracks (musical piece titles). In this table, track IDs (Track IDs) each of which is index information about an index to each table which constructs the musical piece database 2, track paths (Track Paths) each showing the storing position of a track, track numbers (Tracks) in the album in each of which a track (musical piece) is recorded, and the genre (Genres) of each of the tracks are registered.
The track name table 2a-2 manages the additional information about the title of each of the tracks (musical piece title). In this table, track title IDs (Track Title IDs) each of which is associated with a track ID so that the track title ID serves as index information about an index to each table which constructs the musical piece database 2, track titles (Track Titles) each specified by a track title ID, and the reading (reading kana) (Track Title YOMI) of the title of each of the tracks are registered.
The artist name table 2a-3 manages the additional information about the artist name of each of the tracks. In this table, artist name IDs (Artist Name IDs) each of which is ID information for specifying an artist name in the musical piece database 2, artist names (Artist Names) each specified by an artist name ID, and the reading (reading kana) (Artist YOMI) of the artist name specified by each of the artist name IDs are registered.
The playlist name table 2a-4 manages the additional information about each playlist (album) name. In this table, playlist name IDs (Playlist Name IDs) each of which is ID information for specifying a playlist name in the musical piece database 2, playlist names (Playlist Names) each specified by a playlist name ID, and the reading (reading kana) (Playlist YOMI) of the playlist name specified by each of the playlist name IDs are registered.
The folder table 2a-5 manages the additional information about each folder corresponding to a playlist. In this table 2a-5, folder numbers (Folder No) each for specifying a folder corresponding to a playlist, and the depth (Folder Depth) of each folder showing the depth (hierarchical layer depth) of the folder hierarchically managed in the directory structure from the route folder (zero hierarchical layer (depth=0)) are registered.
The order list creation track table 2a-6 manages the tracks (musical pieces), and are table data for creating the order list in which the music data to be played back are listed on a track-by-track basis. In this table, the track IDs, the artist name IDs, and the playlist IDs are registered. The track table 2a-1 and the track title table 2a-2 are associated with the track IDs managed by the order list creation track table 2a-6.
The artist name table 2a-3 is associated with the artist name IDs managed by the order list creation track table 2a-6. The playlist name table 2a-4 and the folder table 2a-5 are associated with the playlist IDs managed by the order list creation track table 2a-6.
Thus, the tables 2a-1 to 2a-5 into which the pieces of additional information of the music data are grouped are associated with the three pieces of ID information registered into the order list creation track table 2a-6 respectively. Accordingly, on the basis of the information items in the tables 2a-1 to 2a-5, information which is a search object can be searched for and a specification of the information can be made. Furthermore, even if a change is made to the additional information of music data, the change of the additional information can be handled by sequentially specifying corresponding tables on the basis of the pieces of ID information stored in the order list creation track table 2a-6.
In addition, in a case in which the musical piece database 2 are formed on an album-by-album (playlist-by-playlist) basis, the musical piece database 2 is comprised of, as shown in a lower portion of
The playlist table 2a-7 manages the additional information other than playlist (album) names. In this table, playlist IDs (Playlist ID) each of which is ID information for specifying a playlist in the musical piece database 2, the year (Album Year) in which each album (playlist) was released, and the genre (Album Genre) of each album are registered.
The order list creation playlist table 2a-8 manages the playlists (albums), and is table data for creating the order list in which the music data to be played back are listed on a per-playlist basis. The playlist IDs and the artist name IDs are registered into this table.
The playlist table 2a-7, the playlist name table 2a-4, and the folder table 2a-5 are associated with the playlist IDs managed by the order list creation playlist table 2a-8. The artist name table 2a-3 is associated with the artist name IDs managed by the order list creation playlist table 2a-8.
The tables 2a-3 to 2a-5 and 2a-7 into which the pieces of additional information of the music data are grouped are associated with the two pieces of ID information registered into the order list creation playlist table 2a-8 respectively. Accordingly, on the basis of the information items in the tables 2a-3 to 2a-5 and 2a-7, information which is a search object can be searched for and a specification of the information can be made from the additional information of the music data. Furthermore, even if a change is made to the additional information of music data, the change of the additional information can be handled by sequentially specifying corresponding tables on the basis of the pieces of ID information stored in the order list creation playlist table 2a-8.
Next, the operation of the content playback device will be explained.
First, when a folder which is associated with music data recorded into the HDD (music medium A) is selected by using the HMI means 8, the USB memory (music medium B) is connected to the USB connector, or the CD or DVD (music medium C) is mounted to the disk drive device, the content playback device places the music medium A, B, or C in an accessible state in which the music medium can be accessed by the musical piece database creating means 4.
When the music medium A, B, or C is placed in the accessible state, the musical piece database creating means 4 extracts the musical piece information tags (e.g., the ID3 tags of MP3 data) incorporated into the music data files currently recorded into the music medium A, B, or C, and searches through the described information to read the additional information described in each of the musical piece information tags. Furthermore, the musical piece database creating means 4 extracts information including the track paths, the folder numbers, the folder depths, etc., from the library information about the music data whose musical piece information tags have been read.
When placing the music medium A, B, or C in the accessible state, the musical piece database creating means 4 can display a selection screen in which the music names specified by the musical piece information tags read from the one of the music media A to C are listed on the display screen of the display unit to allow the user to select musical pieces from which the user desires to form the database by using the input unit.
Next, the musical piece database creating means 4 creates the musical piece database 2 by categorizing the pieces of information read as mentioned above into parts respectively corresponding to the information items of the tables 2a to register them. An explanation of the musical piece database 2 will be made with reference to the example shown in
In this case, because each track ID of the order list creation track table 2a-6 is associated with a track ID of the track table 2a-1, as shown by an arrow in
The content playback device can know from this table 2a-1 that, for example, the information corresponding to a track ID=4 includes a track title ID=3, a track number=2, a genre=1, and a track path=¥system—0¥folder—2¥Track—2. The track table 2a-1 has the attribute information about each track (musical piece) and the information about the position (storing position) of each track.
Furthermore, the track title table 2a-2 constructs table data in which track name IDs, track titles, and track title readings are registered as shown in
The content playback device can know from this table 2a-2 that, for example, the information corresponding to a track name ID=3 includes a track title=“mountain” and a track title reading=“yama”. In the track name table 2a-2, the track titles are registered uniquely without being identical to one another. However, even different tracks can have the same title. Therefore, as the track title IDs of different tracks, the same track title ID can be registered.
Similarly, the artist name table 2a-3 constructs table data in which artist name IDs, artist names (album artist names or track artist names), and artist name readings are registered as shown in
Furthermore, the playlist name table 2a-4 constructs table data in which playlist name IDs, playlist names, and playlist name readings are registered as shown in
In addition, as shown by arrows in
After creating the tables 2a-1 to 2a-5 in the above-mentioned way, the musical piece database creating means 4 establishes music data associations by using the track IDs, the artist name IDs, and the playlist IDs, and registers these pieces of ID information into the order list creation track table 2a-6. Accordingly, in the musical piece database 2, the tables 2a-1 to 2a-6 are associated with one another via the above-mentioned three pieces of ID information.
By referring to the order list creation track table 2a-6, the content playback device can know that the information corresponding to a track ID=3 includes an artist name ID=1 and a playlist ID=2 as shown in
In addition, by referring to the artist name table 2a-3 and the order list creation track table 2a-6 shown in
In contrast, in the case in which the musical piece database is formed on an album-by-album (playlist-by-playlist) basis, the musical piece database creating means 4 categorizes the information regarding the playlists, among the pieces of information read from the musical piece information tags, into the tables 2a-7, 2a-4, and 2a-5 associated with the order list creation playlist table via the playlist IDs, and also categorizes the information about the artist names into the table 2a-3 associated with the order list creation playlist table via the artist name IDs to register them.
In this case, as shown by arrows in
In the example of
After creating the tables 2a-3 to 2a-5 and 2a-7 in the above-mentioned way, the musical piece database creating means 4 establishes music data associations by using the playlist IDs and the artist name IDs, and registers these pieces of ID information into the order list creation playlist table 2a-8. Accordingly, in the musical piece database 2, the tables 2a-3 to 2a-5 and 2a-7 are associated with one another via the above-mentioned two pieces of ID information.
By referring to the order list creation playlist table 2a-8, the content playback device can know that a playlist ID=4 corresponds to an artist name ID=2, as shown in
In addition, by referring to the artist name table 2a-3 and the order list creation playlist table 2a-8 shown in
Thus, in the musical piece database 2, the additional information of music data recorded into each of the various recording media 5 is grouped and registered into the various tables of the table set 2a which are associated with one another via the three pieces of ID information including the track IDs, the artist name IDs, and the playlist IDs. As a result, the additional information of music data recorded into each of the various recording media 5 is managed systematically in the musical piece database 2 without being dependent upon the types of the recording media 5.
Furthermore, when making a specification of information which is a search object, making a search for information which is a search object, or performing a process of registering information into the order list 3 in the musical piece database 2, the content playback device can carry out the above-mentioned process easily without being aware of the types of recording media 5 by following the associations among the pieces of information with reference to the items of the various tables which construct the table set 2a. Even if a change is made to the additional information of music data, the content playback device has only to change the associated information of the music data in the tables.
By combining the tables 2a-1 to 2a-5 and 2a-7 as shown in
In the example shown in
The random space setting means (region setting means) 9 inquires of the musical piece database 2 about the attribute items in which the tracks registered into the order list 3 are included, and sets a space determined by all or part of the information corresponding to the above-mentioned attribute items in the musical piece database 2 as an object space for random playback. For example, the random space setting means sets, as the object space for random playback, a space in which pieces of attribute item information including a folder structure, a music genre, and a release year are defined as its coordinate axes.
The random playback object setting means (object setting means) 10 inquires of the musical piece database 2 about the attribute items in which the tracks registered into the order list 3 are included, and sets the attribute items to be arranged in a random order in the order list 3. The order list random order creating means (order creating means) 11 arranges the pieces of additional information belonging to the object space for random playback which is set by the random space setting means 9 and corresponding to the attribute items set as the objects to be arranged in the random order by the random playback object setting means 10 in a random playback order in the order list 3 by using random numbers or the like.
Next, the details of the process of setting random playback in the order list will be explained.
First, either the random space setting means 9 or the random playback object setting means 10 displays a random playback selection screen as shown in
When the “select” button disposed in the random space frame as shown in
When the user then clicks and selects a button disposed in a random playback object frame in
Furthermore, when the random space setting means 9 sets the total range of the order list 3 as the objects to be randomly played back, and when a part of all the items of the additional information is not registered into the order list 3, the random space setting means 9 can inquire of the musical piece database 2 about the part which is not registered into the order list 3 and output the part to the random playback object setting means 10, and the random playback object setting means 10 can display a selection screen which enables the user to select, as objects to be randomly played back, additional information items including the above-mentioned items on the display unit. In addition, the random playback object setting means 10 can inquire of the musical piece database 2 about items which are not registered into the order list 3 to display a selection screen which enables the user to select, as objects to be randomly played back, additional information items including the items on the display unit.
After the region and the objects to be played back in the random order are thus selected, the order list random order creating means 11 determines the playback order of the tracks corresponding to the selected region and objects on a random basis by using a random number or the like to sort the playback order of the order list 3.
In the case of
Instead of displaying a plurality of attribute items in such a way that each of them can be selected as objects to be randomly played back as shown in
In the example of
The order list 3 in which the playback order is set is stored in a not-shown memory disposed in the order list control means 1. When a playback request is made by the user via the HMI means 8, the track playback means 7 inputs the information about each of the tracks in the playback order of the order list 3, searches through the musical piece database 2 with the track ID corresponding to the track in question to read the track path from the track table 2a-1, and stores the track path therein. This process can be expressed in a database language as follows.
TrackTable. TrackPath TrackPath
The track playback means 7 accesses the music data in the corresponding recording medium 5 on the basis of the track paths which the track playback means has acquired in the above-mentioned way, and carries out the playback process. For example, in the case of the order list 3 shown in
As mentioned above, the content playback device in accordance with this Embodiment 1 selects a region of pieces of additional information about contents to be played back in a random order in the order list 3, and also sets pieces of item information of additional information to be arranged in the random order in the order list 3 within the set region of pieces of additional information. The content playback device then arranges the pieces of additional information in the order list 3 in the random playback order on the basis of the pieces of item information which are set within the above-mentioned region of pieces of additional information so as to play back content data recorded into the recording media 5. By doing in this way, the content playback device can systematically handle the plural types of recording media 5, and can control the playback of content data, such as musicals piece, in a random order without being aware of the types of recording media 5.
In above-mentioned Embodiment 1, the case in which music data, such as MP3 (MPEG audio layer 3) data, are handled is explained, though the present invention is not limited to this example. For example, even in a case of content data about a content, such as a musical piece or a video image, including audio data, video data, karaoke data, incoming call melody data, podcast data, or mixed data including some of them, the content playback device can handle the content data similarly.
As mentioned above, the content playback device in accordance with the present invention is configured in such a way as to select a region of pieces of additional information about contents to be played back in a random order in an order list, also sets pieces of item information of additional information to be arranged in the random order in the order list within the set region of pieces of additional information, and then arranges the pieces of additional information in the random playback order in the order list on the basis of the pieces of item information which are set within the above-mentioned region of pieces of additional information so as to play back content data recorded into recording media. Because the content playback device in accordance with the present invention can systematically handle plural types of recording media, and can control the playback of content data, such as musicals piece, in a random order without being aware of the types of recording media, the content playback device is suitable for use as a music playback device that plays back- each of musical pieces as a content, and so on.
Number | Date | Country | Kind |
---|---|---|---|
2008-112778 | Apr 2008 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2009/000704 | 2/19/2009 | WO | 00 | 7/26/2010 |