Music recommendation method and apparatus
AssigneeGuangdong Oppo Mobile Telecommunications Corp., Ltd.
InventorShangbo Lin
Life of this patent
Estimating the term…
Abstract
A music recommendation method and apparatus are provided. When a music recommendation request of at least one terminal is received, a music preference of the at least one terminal is acquired, with one terminal corresponding to at least one music preference. According to the music preference of each terminal, a common music preference of the at least one terminal is generated; and music is recommended to the at least one terminal according to the common music preference.
Claims8
A method for music recommendation performed by a music recommendation apparatus, comprising:
- recording, by a recorder of the music recommendation apparatus, at least one classification keyword corresponding to music in a play record of each of at least one terminal, and saving the at least one classification keyword in association with each terminal to a server;
- counting, by a counter of the music recommendation apparatus, a number of times of recording of the at least one classification keyword corresponding to each terminal and selecting a predetermined number of classification keywords as music preferences of each terminal;
- updating, by the counter of the music recommendation apparatus, the number of times of recording of the classification keyword of the changed play record upon detecting that the play record of any terminal of the at least one terminal is changed;
- updating, by the counter of the music recommendation apparatus, the music preferences of the any terminal based on the updated number of times of recording of the classification keyword;
- acquiring, by a receiver of the music recommendation apparatus, the music preferences of the at least one terminal when a music recommendation request of the at least one terminal is received, wherein one terminal corresponds to a plurality of music preferences;
- generating, by an encoder of the music recommendation apparatus, a final common music preference that is common to all of the at least one terminal according to the music preferences of each terminal;
- and
- recommending, by a transmitter of the music recommendation apparatus, music to the at least one terminal according to the final common music preference and a correspondence between music and music preferences pre-stored in the server,
- wherein generating, by the encoder of the music recommendation apparatus, the final common music preference that is common to all of the at least one terminal according to the music preferences of each terminal comprises:
- for each terminal, dividing the music preferences thereof into a set of common music preferences and a set of non-common music preferences, wherein each music preference in the set of common music preferences is common to all of the at least one terminal;
- performing the following on the set of common music preferences rather than the set of non-common music preferences:
- for each terminal, acquiring a weight corresponding to each music preference in the set of common music preferences;
- and
- for each music preference in the set of common music preferences, calculating a weighted sum by adding the weight of the each music preference in the set of common music preferences of each terminal and sorting the set of common music preferences according to the weighted sum, and assigning the set of common music preferences sorted as the final common music preference generated.
An apparatus for music recommendation, comprising:
- a recorder configured to record at least one classification keyword corresponding to music in a play record of each of at least one terminal, and save the at least one classification keyword in association with each terminal to a server;
- a counter configured to:
- count a number of times of recording of the at least one classification keyword corresponding to each terminal and select a predetermined number of classification keywords as music preferences of each terminal;
- update the number of times of recording of the classification keyword of the changed play record upon detecting that the play record of any terminal of the at least one terminal is changed;
- update the music preferences of the any terminal based on the updated number of times of recording of the classification keyword;
- a receiver configured to acquire the music preferences of the at least one terminal when a music recommendation request of the at least one terminal is received, wherein one terminal corresponds to a plurality of music preferences;
- an encoder to configured to generate a final common music preference that is common to all of the at least one terminal according to the music preferences of each terminal;
- and
- a transmitter configured to recommend music to the at least one terminal according to the final common music preference and a correspondence between music and music preferences pre-stored in the server,
- wherein the encoder is further configured to:
- for each terminal, divide the music preferences thereof into a set of common music preferences and a set of non-common music preferences, wherein each music preference in the set of common music preferences is common to all of the at least one terminal;
- perform the following on the set of common music preferences rather than the set of non-common music preferences:
- for each terminal, acquire a weight corresponding to each music preference in the set of common music preferences;
- and
- for each music preference in the set of common music preferences, calculate a weighted sum by adding the weight of the each music preference in the set of common music preferences of each terminal and sort the set of common music preferences according to the weighted sum, and assign the set of common music preferences sorted as the final common music preference generated.
Dependencies are inferred from the claim text.