The present invention relates to aggregating playlists.
Playlists are the most common mechanism used to organize and arrange digital music. Further, some systems enable users to share playlists with one another. As a result, the number of playlists that a user has access to may be relatively large. Further, some of the playlists may contain similar content. Therefore, in order to optimize use of playlists in an environment having a relatively large number of playlists, there is a need for a method and system for aggregating playlists having similar content.
The present invention relates to aggregating playlists. In general, a number of playlists are first obtained. Next, content of the playlists is analyzed to identify playlists that match to at least a defined threshold degree. Matching playlists are then aggregated to provide a corresponding aggregate playlist. In one embodiment, a user device obtains a number of shared playlists via a media sharing system, which includes a plurality of user devices including the user device connected by a network. Each of the user devices in the media sharing system hosts a shared media collection including a number of media items. In addition, at least some of the shared media collections include one or more shared playlists. Content of the shared playlists and, optionally, one or more playlists in a local media collection hosted by the user device is analyzed to identify playlists that match to at least a defined threshold degree. Matching playlists are then aggregated to provide a corresponding aggregate playlist.
Those skilled in the art will appreciate the scope of the present invention and realize additional aspects thereof after reading the following detailed description of the preferred embodiments in association with the accompanying drawing figures.
The accompanying drawing figures incorporated in and forming a part of this specification illustrate several aspects of the invention, and together with the description serve to explain the principles of the invention.
The embodiments set forth below represent the necessary information to enable those skilled in the art to practice the invention and illustrate the best mode of practicing the invention. Upon reading the following description in light of the accompanying drawing figures, those skilled in the art will understand the concepts of the invention and will recognize applications of these concepts not particularly addressed herein. It should be understood that these concepts and applications fall within the scope of the disclosure and the accompanying claims.
The present invention relates to aggregating playlists. While the discussion below focuses on an embodiment of the present invention wherein playlists are aggregated as part of a media collection aggregation process in a media sharing system, the present invention is not limited thereto. The present invention is equally applicable to any type of device or system wherein it is desirable to aggregate playlists having similar content.
Each of the user devices 12-1 through 12-N may be, for example, a personal computer, a mobile smart phone, a set-top box, a portable media player, or the like. Looking at the user device 12-1, the user device 12-1 includes a media player function 18-1 which may be implemented in software, hardware, or a combination thereof. In addition to providing media playback capabilities, the media player function 18-1 includes an aggregation function 20-1. In an alternative embodiment, the aggregation function 20-1 may be implemented as a separate function. For example, if the media player function 18-1 is a software media player application, the aggregation function 20-1 may be implemented as a plug-in. Note that in an alternative embodiment, rather than having the aggregation functions 20-1 through 20-N, an aggregation function may be implemented in a server and operate to perform aggregation for each of the users 14-1 through 14-N. A local media collection 22-1 of the user 14-1 is stored at the user device 12-1. The local media collection 22-1 of the user 14-1 includes a number of media items owned by the user 14-1 and stored at the user device 12-1. The media items may include one or more audio items such as, for example, songs, podcasts, or audio books; one or more video items such as, for example, movies, television programs, or video clips; or the like. In addition, the local media collection 22-1 of the user 14-1 includes one or more playlists.
In general, the aggregation function 20-1 operates to generate an aggregate media collection 24-1 for the user 14-1 including media items in the local media collection 22-1 of the user 14-1 and media items from one or more remote shared media collections hosted by one or more of the other user devices 12-2 through 12-N. In this embodiment, as discussed below, the aggregation function 20-1 also generates the aggregate media collection 24-1 such that the aggregate media collection 24-1 also includes one or more aggregate playlists generated by aggregating playlists having similar content. More specifically, the aggregation function 20-1 analyzes content of playlists in the remote shared media collections and the local media collection 22-1 of the user 14-1 to identify playlists that have content that matches to at least a defined threshold degree. Each group of two or more matching playlists having matching content is aggregated into a corresponding aggregate playlist. In addition, the aggregation function 20-1 may aggregate playlists having the same title.
Like the user device 12-1, the other user devices 12-2 through 12-N include media player functions 18-2 through 18-N having corresponding aggregation functions 20-2 through 20-N. In addition, the other user devices 12-2 through 12-N include local media collections 22-2 through 22-N, and aggregate media collections 24-2 through 24-N.
The aggregation function 20-1 of the user device 12-1 then issues a shared media collection request to the user device 12-2 of the user 14-2 (step 110). In response, in this embodiment, the aggregation function 20-2 of the user device 12-2 returns information, which is also referred to herein as shared media collection information, identifying media items and playlists in the shared media collection of the user 14-2 to the user device 12-1 of the user 14-1 (step 112). Likewise, the aggregation function 20-1 of the user device 12-1 issues a shared media collection request to the user device 12-N of the user 14-N (step 114). In response, the aggregation function 20-N of the user device 12-N returns information identifying media items and playlists in the shared media collection of the user 14-N to the user device 12-1 of the user 14-1 (step 116). Note that shared media collection requests may also be issued to and shared media collection information received from other user devices from the user devices 12-3 through 12-N-1 (not shown) hosting shared media collections selected by the user 14-1.
Upon receiving the shared media collection information, the aggregation function 20-1 of the user device 12-1 aggregates or merges the local media collection 22-1 of the user 14-1 and the shared media collections to provide the aggregate media collection 24-1 of the user 14-1 (step 118). More specifically, in one embodiment, the aggregation function 20-1 of the user device 12-1 aggregates the shared media collection information identifying the media items in the shared media collections selected by the user 14-1 for aggregation and information identifying the media items in the local media collection 22-1 of the user 14-1 to provide a list of unique media items available either from the local media collection 22-1 of the user 14-1 or one of the shared media collections selected by the user 14-1 for aggregation. In addition, for each unique media item, a secondary list of available sources for the unique media item may be generated. Together, the list of unique media items and the corresponding secondary lists of sources for the unique media items form an aggregate collection of media items for the aggregate media collection 24-1 of the user 14-1.
In one embodiment, the aggregate collection of media items is the aggregate media collection 24-1. However, in the embodiment discussed herein, the aggregate media collection 24-1 includes the aggregate collection of media items and a number of playlists including one or more aggregate playlists, as discussed below. For more information regarding the media collection aggregation process, the interested reader is directed to commonly owned and assigned U.S. patent application Ser. No. 12/104,572, entitled METHOD AND SYSTEM FOR AGGREGATING MEDIA COLLECTIONS BETWEEN PARTICIPANTS OF A SHARING NETWORK, which was filed on Apr. 17, 2008 and is hereby incorporated herein by reference in its entirety. Note that while the discussion herein focuses on an embodiment where the shared media collections are aggregated with the local media collection 22-1 of the user 14-1, the present invention is not limited thereto. The user 14-1 may choose not to select his local media collection 22-1 for aggregation, in which case the shared media collections would be aggregated with one another to provide the aggregate media collection 24-1 of the user 14-1.
As mentioned above, in addition to including media items, the aggregate media collection 24-1 of the user 14-1 may include a number of playlists including one or more aggregate playlists. More specifically, the local media collection 22-1 of the user 14-1 as well the shared media collections selected by the user 14-1 for aggregation may include playlists. When generating the aggregate media collection 24-1 of the user 14-1, the aggregation function 20-1 of the user device 12-1 aggregates the playlists of the shared media collections selected by the user 14-1 and the playlists in the local media collection 22-1 of the user 14-1, assuming that the local media collection 22-1 of the user 14-1 has been selected either by the user 14-1 or by default for aggregation. When aggregating playlists, as discussed below, playlists having content that matches at least to a defined threshold degree are identified and aggregated or combined to provide corresponding aggregate playlists. In addition, preferably prior to combining playlists having matching content, playlists having the same title may be aggregated or combined. For example, an “80s” playlist of the user 14-1 may be combined with an “80s” playlist of the user 14-2 to provide an aggregate “80s” playlist including both the media items from the “80s” playlist of the user 14-1 and the media items from the “80s” playlist of the user 14-2.
In this exemplary embodiment, once the aggregate media collection 24-1 of the user 14-1 is generated, the aggregate media collection 24-1 and one or more source indicators are presented to the user 14-1 via, for example, a Graphical User Interface (GUI) (step 120). Each source indicator is presented in association with a corresponding element of the aggregate media collection 24-1 and operates to identify a source for that element of the aggregate media collection 24-1. The source of an element of the aggregate media collection 24-1 of the user 14-1 may be the local media collection 22-1 of the user 14-1 or one of the shared media collections selected by the user 14-1 for aggregation. As used herein, an element of the aggregate media collection 24-1 of the user 14-1 may be a playlist in the aggregate media collection 24-1 of the user 14-1 or a unique media item in the aggregate media collection 24-1 of the user 14-1. For more information, the interested reader is directed to U.S. patent application Ser. No. 12/251,490, entitled SOURCE INDICATORS FOR ELEMENTS OF AN AGGREGATE MEDIA COLLECTION IN A MEDIA SHARING SYSTEM, which was filed on Oct. 15, 2008 and is hereby incorporated herein by reference in its entirety.
At this point, the user 14-1 may utilize the aggregate media collection 24-1 in much the same manner as using the local media collection 22-1. For example, the user 14-1 may select media items from the aggregate media collection 24-1 for playback, generate playlists including media items from the aggregate media collection 24-1, generate smart or dynamic playlists that are populated from the aggregate media collection 24-1, play media items in an existing playlist or an aggregate playlist, or the like. In one embodiment, in order to provide playback of a media item that is from a shared media collection of another user, the media item is requested from the user device hosting the shared media collection and streamed from that user device to the user device 12-1 of the user 14-1. For example, if the user 14-1 initiates playback of a media item and that media item's source is the shared media collection hosted by the user device 12-2, the media player function 18-1 of the user device 12-1 requests the media item from the user device 12-2. In response, the user device 12-2, and specifically the media player function 18-2 of the user device 12-2, delivers the media item to the user device 12-1 for playback. In the preferred embodiment, the media item is delivered via streaming.
As shown in
In this embodiment, each of the media collections selected for aggregation is assigned a unique source identifier. In this example, the source identifiers are alphabetic letters (A, B, C, etc.). However, any type of indicator enabling the user 14-1 to visually distinguish sources of elements of his aggregate media collection 24-1 may be used. For example, in another embodiment, each of the media collections selected for aggregation, which are also referred to herein as sources, may be assigned a unique color. The colors may then be used as source indicators by placing corresponding colored blocks or boxes next to the corresponding elements of the aggregate media collection 24-1 and/or by using text of the corresponding colors for the corresponding elements of the aggregate media collection 24-1.
The aggregate media collection area 34 generally enables the user 14-1 to navigate his aggregate media collection 24-1. In this example, the aggregate media collection 24-1 is an aggregate music collection. Thus, by selecting the “Music” identifier in the aggregate media collection area 34, a list of the unique songs in the aggregate music collection 24-1 of the user 14-1 is presented in the display area 30. Further, in this example, the “Music” identifier is hierarchical. In other words, the “Music” identifier may be expanded as shown to view a list of aggregate playlists in the aggregate music collection 24-1 of the user 14-1. Note that source identifiers are presented in association with each aggregate playlist to indicate the source or sources of media items in the aggregate playlist. In this example, the aggregate playlists include a number of aggregate playlists 36 resulting from the aggregation of playlists that have the same title and that are from multiple sources. Thus, in this example, both the shared media collection “Hank's Music” and the shared media collection “Manolo's Musica” include a playlist entitled “90's Music.” As a result, the “90's Music” playlist from the shared media collection “Hank's Music” and the “90's Music” playlist from the shared media collection “Manolo's Musica” are combined or merged to provide the aggregate playlist “90's Music.”
The aggregate playlists also include a number of aggregate playlists 38 resulting from the aggregation of playlists from multiple sources, where, for each of the aggregate playlists 38, the content of the playlists that were aggregated to provide the aggregate playlist matches to at least a defined threshold degree. Note that in this example, the aggregate playlists 38 are highlighted via underlining such that the user 14-1 is notified that the aggregate playlists 38 are in fact aggregate playlists resulting from the aggregation of playlists that match to at least a defined threshold degree. For example, the local media collection 22-1 of the user 14-1 may include a “Country” playlist that includes mostly songs by the artist “Garth Brooks,” and the shared media collection “Manolo's Musica” may include a “Garth Brooks” playlist including only songs by the artist “Garth Brooks.” As such, the aggregation function 20-1 of the user device 12-1 may identify the “Country” playlist and the “Garth Brooks” playlists as matching playlists and therefore aggregate these two playlists to provide the “Country” aggregate playlist. In a similar manner, the “Classic Rock,” “80's Rock,” and the “U2” aggregate playlists are generated. Note that, in another embodiment, this same type of aggregation process may be used even if two playlists have the same title.
In this example, the GUI 26 also includes a custom playlists area 40. The custom playlists area 40 enables the user 14-1 to define playlists created specifically for the aggregate media collection 24-1.
Further, unique source indicators 46-1 through 46-5 (hereinafter source indicators 46-1 through 46-5) are assigned to the media collections selected for aggregation. In this example, the source indicators 46-1 through 46-5 are the letters A, B, C, D, and E positioned inside boxes. However, the present invention is not limited thereto. For example, the source indicators 46-1 through 46-5 may alternatively be colors. As discussed below, the source indicators 46-1 through 46-5 are presented in association with elements of the aggregate media collection 24-1 of the user 14-1 in order to identify the source or sources for the elements of the aggregate media collection 24-1 of the user 14-1.
Password-protection indicators 48-1 and 48-2 indicate that the corresponding media collections are password protected. As such, the user 14-1 must enter the correct passwords for the password protected media collections before the media collections can be aggregated or, alternatively, before the user 14-1 is enabled to play the media items from the password protected media collections. A progress indicator 50 may be used to show the progress of obtaining or downloading the shared media collection information for the corresponding shared media collection. Thus, in this example, the shared media collection information for the selected shared media collections other than “Fred's Place” have already been downloaded, and the download of the shared media collection information for “Fred's Place” is still in progress.
In this example, the identifiers for the selected media collections are hierarchical. As such, hierarchical controls 52-1 through 52-5 may be used to expand the identifiers to show a number of subgroups of media items within the corresponding media collections. In this example, the subgroups are playlists. As such, using the shared media collection “Fred's Place” as an example, the hierarchical control 52-5 may be activated to view the playlists included in the shared media collection “Fred's Place,” which are a “Recently Added” playlist and a “Recently Played” playlist.
One or more source indicators are presented in association with each of the aggregate playlists in order to identify the source or sources of the media items in the aggregate playlists. The source indicators presented in association with the aggregate playlists correspond to the source indicators 46-1 through 46-5 (
Returning briefly to
First, a number of shared playlists are obtained (step 200). As discussed above, in the exemplary media sharing system 10, the shared playlists are received as part of the shared media collection information for a number of shared media collections selected for aggregation. Next, playlists from the shared playlists and, optionally, playlists from the local media collection 22-1 of the user 14-1 having content that matches at least to a defined threshold degree are identified (step 202). As discussed below, in one embodiment, matching playlists are playlists that have at least a threshold number or percentage of media items in common. In another embodiment, one or more governing criteria are identified for each playlist. Playlists having matching governing criteria are then correlated with respect to the governing criteria to provide corresponding correlation factors. Matching playlists are then identified as playlists having correlation factors greater than a defined threshold. In yet another embodiment, the user 14-1 may manually identify playlists to be aggregated. In a final embodiment, one or more of the techniques for identifying matching media items described above may be used in combination. Each group of two or more matching playlists is aggregated to provide a corresponding aggregate playlist (step 204).
The aggregation function 20-1 then obtains or gets the first potential playlist to aggregate with the playlist being processed (step 306). A determination is then made as to whether a correlation factor for these two playlists already exists (step 308). As discussed below, in this embodiment, once the aggregation function 20-1 determines a correlation factor for two playlists, the aggregation function 20-1 shares the correlation factor with all or at least some of the other aggregation functions 20-2 through 20-N of the user devices 12-2 through 12-N. Likewise, all or at least some of the other aggregation functions 20-2 through 20-N share correlation factors that they have determined with the aggregation function 20-1. In this manner, the correlation process for correlating playlists in the media sharing system 10 is parallelized or distributed among the aggregation functions 20-1 through 20-N.
If the correlation factor for the two playlists already exists, the process proceeds to step 314. Otherwise, the aggregation function 20-1 determines a correlation factor for the two playlists based on a number or percentage of matching media items in two playlists (step 310). In other words, the correlation factor is a function of the number or percentage of media items that the two playlists have in common. In this embodiment, the aggregation function 20-1 shares the correlation factor for the two playlists with at least some of the other aggregation functions 20-2 through 20-N (step 312).
Whether proceeding from step 308 or step 312, a determination is then made as to whether the correlation factor is greater than a defined threshold for aggregation (step 314). If not, the process proceeds to step 318. If the correlation factor is greater than the defined threshold for aggregation, the playlists are aggregated or combined to provide a corresponding aggregate playlist (step 316). At this point, whether proceeding from step 314 or step 316, a determination is made as to whether there are more potential playlists for aggregation with the playlist being processed (step 318). If so, a next potential playlist to aggregate with the playlist being processed is obtained (step 320), and the process returns to step 308 and is repeated. Note that as a result of the iterative fashion of steps 308-318, any number of zero or more of the potential playlists may be aggregated with the playlist being processed. Therefore, there may be instances where the resulting aggregate playlist is formed by aggregating or combining two or more of the potential playlists with the playlist being processed.
Once there are no more potential playlists for aggregation to be processed, a determination is made as to whether there are more playlists to process for aggregation (step 322). If so, a next playlist to process for aggregation is obtained (step 324), and the process returns to step 304 and is repeated. In this embodiment, once there are no more playlists to process for aggregation, the aggregation function 20-1 notifies the user 14-1 of the aggregate playlists and enables the user 14-1 to accept, reject, or modify each of the aggregate playlists if desired (step 326). For example, the aggregate playlists may be highlighted in the GUI 26 (
In addition or alternatively, the user 14-1 may manually define one or more governing criteria for one or more of the playlists. Governing criteria defined by the user 14-1 for a playlist are given priority over governing criteria determined automatically for the same playlist. Further, the governing criteria defined by the user 14-1 may be shared with all or some of the other aggregation functions 20-2 through 20-N.
Next, the aggregation function 20-1 identifies a first playlist to process for aggregation from a group of playlists including the shared playlists and, optionally, one or more playlists in the local media collection 22-1 of the user 14-1 (step 404). The aggregation function 20-1 then identifies potential playlists to aggregate with the playlist being processed (step 406). For the first playlist to process for aggregation, the potential playlists to aggregate may include all of the other playlists from the shared media collections and the local media collection 22-1 of the user 14-1.
The aggregation function 20-1 then obtains or gets the first potential playlist to aggregate with the playlist being processed (step 408). A determination is then made as to whether a correlation factor for these two playlists already exists (step 410). In this embodiment, once the aggregation function 20-1 determines a correlation factor for two playlists, the aggregation function 20-1 shares the correlation factor with all or at least some of the other aggregation functions 20-2 through 20-N of the user devices 12-2 through 12-N. Likewise, all or at least some of the other aggregation functions 20-2 through 20-N share correlation factors that they have determined with the aggregation function 20-1. In this manner, the correlation process for correlating playlists in the media sharing system 10 is parallelized or distributed among the aggregation functions 20-1 through 20-N.
If the correlation factor for these two playlists already exists, the process proceeds to step 420. If the correlation factor for the two playlists does not already exist, the aggregation function 20-1 determines whether the one or more governing criteria for the two playlists match (step 412). If the one or more governing criteria for the two playlists do not match, a correlation factor for the two playlists is set to zero (step 414), and then the process proceeds to step 418. In an alternative embodiment, if the two playlists have at least one governing criterion in common, the correlation factor for the two playlists is not set to zero, and the process proceeds to step 416.
If the one or more governing criteria for the two playlist match, the aggregation function 20-1 then determines a correlation factor for the two playlists based on a correlation of histograms, or similar data structures, for the matching governing criteria of the two playlists (step 416). More specifically, for each of the playlists, a histogram is generated for the playlist with respect to each of the one or more matching criteria. In an alternative embodiment, the histogram(s) is generated in step 402. As an example, if the matching governing criterion is genre, histograms are generated for the two playlists with respect to genre, where, for each of the two playlists, the histogram includes the percentage or number of media items in the playlist for each of a number of predefined genres. For each of the one or more governing criteria, the histograms for the two playlists for the governing criterion are correlated. Then, a correlation factor representing a degree to which the content of the two playlists match is determined based on results of the correlation(s). In this embodiment, the aggregation function 20-1 shares the correlation factor for the two playlists with at least some of the other aggregation functions 20-2 through 20-N (step 418).
Whether proceeding from step 408 or step 416, a determination is then made as to whether the correlation factor is greater than a defined threshold for aggregation (step 420). If not, the process proceeds to step 424 (
Once there are no more potential playlists for aggregation to be processed, a determination is made as to whether there are more playlists to process for aggregation (step 428). If so, a next playlist to process for aggregation is obtained (step 430), and the process returns to step 404 (
Assuming that the “Classic Rock” playlist of
The present invention provides substantial opportunity for variation without departing from the spirit or scope of the present invention. For example, while the discussion above focuses on aggregating playlists in the media sharing system 10 of
Those skilled in the art will recognize improvements and modifications to the preferred embodiments of the present invention. All such improvements and modifications are considered within the scope of the concepts disclosed herein and the claims that follow.