CN108460138A - Music recommends method, apparatus, equipment and storage medium - Google Patents

Music recommends method, apparatus, equipment and storage medium Download PDF

Info

Publication number
CN108460138A
CN108460138A CN201810195458.5A CN201810195458A CN108460138A CN 108460138 A CN108460138 A CN 108460138A CN 201810195458 A CN201810195458 A CN 201810195458A CN 108460138 A CN108460138 A CN 108460138A
Authority
CN
China
Prior art keywords
information
music recommendation
music
current scene
scene information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810195458.5A
Other languages
Chinese (zh)
Inventor
叶星瑞
王熙
邢冬雨
薛霜
付引
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810195458.5A priority Critical patent/CN108460138A/en
Publication of CN108460138A publication Critical patent/CN108460138A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • G06F16/635Filtering based on additional data, e.g. user or group profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/68Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/686Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, title or artist information, time, location or usage information, user ratings
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Library & Information Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The disclosure is directed to a kind of music to recommend method, apparatus, equipment and storage medium.This method includes:The current scene information of user is obtained, the current scene information includes:It is one or more in Weather information, temporal information, location information;According to the current scene information, the determining and matched music recommendation information of the current scene information, the music recommendation information includes the mark of at least one music to be recommended;Recommend music to the user according to the music recommendation information.The disclosure improves the accuracy for recommending music, improves user experience.

Description

Music recommendation method, device, equipment and storage medium
Technical Field
The present disclosure relates to multimedia technologies, and in particular, to a music recommendation method, apparatus, device, and storage medium.
Background
With the increasing abundance of network music resources, the on-demand and downloading of music via networks has become a part of people's entertainment life.
In the related art, in order to allow a user to listen to favorite music in the presence of a huge amount of music data in a network, a terminal may recommend music to the user. Specifically, the terminal may recommend music to the user based on the type of music of interest selected by the user and the user's music listening history.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a music recommendation method, apparatus, device, and storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a music recommendation method, including:
acquiring current scene information of a user, wherein the current scene information comprises: one or more of weather information, time information, location information;
determining music recommendation information matched with the current scene information according to the current scene information, wherein the music recommendation information comprises at least one identifier of music to be recommended;
and recommending music to the user according to the music recommendation information.
Optionally, the determining, according to the current scene information, music recommendation information matched with the current scene information includes:
determining feature information corresponding to the current scene information according to the current scene information, wherein the feature information is used for representing scene features of the current scene information;
and determining music recommendation information according to the feature information and a first music recommendation model, wherein the first music recommendation model is determined based on a first sample set, and the first sample set comprises corresponding relations between the feature information and the music recommendation information respectively corresponding to different scene information.
Optionally, the determining, according to the current scene information, music recommendation information matched with the current scene information includes:
determining a music recommendation condition corresponding to the current scene information according to the current scene information and the corresponding relation between different scene information and the music recommendation condition;
and determining music recommendation information according to the music recommendation condition corresponding to the current scene information.
Optionally, the method further includes:
determining candidate music recommendation information according to the second music recommendation model; the second music model is a music recommendation model determined based on a second sample set, the second sample set comprises corresponding relations between feature information and music recommendation information respectively corresponding to different other information, and the other information is information except different scene information;
the determining music recommendation information according to the music recommendation condition corresponding to the current scene information includes:
and determining music recommendation information according to the music recommendation condition corresponding to the current scene information and the candidate music recommendation information.
Optionally, the recommending music to the user according to the music recommendation information includes:
and displaying a music recommendation list according to the music recommendation information.
According to a second aspect of the embodiments of the present disclosure, there is provided a music recommendation apparatus including:
an obtaining module configured to obtain current scene information of a user, the current scene information including: one or more of weather information, time information, location information;
the determining module is configured to determine music recommendation information matched with the current scene information according to the current scene information, wherein the music recommendation information comprises an identifier of at least one piece of music to be recommended;
and the recommending module is configured to recommend music to the user according to the music recommending information.
Optionally, the determining module includes:
a first determining sub-module, configured to determine, according to the current scene information, feature information corresponding to the current scene information, where the feature information is used to represent scene features of the current scene information;
and the second determining submodule is configured to determine the music recommendation information according to the feature information and a first music recommendation model, wherein the first music recommendation model is determined based on a first sample set, and the first sample set comprises corresponding relations between feature information and music recommendation information respectively corresponding to different scene information.
Optionally, the determining module includes:
a third determining sub-module, configured to determine a music recommendation condition corresponding to the current scene information according to the current scene information and a corresponding relationship between different scene information and the music recommendation condition;
and the fourth determining sub-module is configured to determine the music recommendation information according to the music recommendation condition corresponding to the current scene information.
Optionally, the determining module further includes: a fifth determining sub-module configured to determine candidate music recommendation information according to the second music recommendation model; the second music model is a music recommendation model determined based on a second sample set, the second sample set comprises corresponding relations between feature information and music recommendation information respectively corresponding to different other information, and the other information is information except different scene information;
the fourth determination submodule includes: and the music recommendation information determining submodule is configured to determine music recommendation information according to the music recommendation condition corresponding to the current scene information and the candidate music recommendation information.
Optionally, the recommending module includes: and the recommending submodule is configured to display a music recommending list according to the music recommending information.
According to a third aspect of the embodiments of the present disclosure, there is provided a terminal or a server, including:
a processor and a memory for storing computer instructions; the processor executes the computer instructions to perform the method of any of the first aspects described above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the method of any one of the above first aspects.
According to the music recommendation method, device, equipment and storage medium, the music recommendation information corresponding to the current scene information is determined according to the current scene information by acquiring the current scene information comprising one or more of time information, position information and weather information, and the music is recommended to the user according to the music recommendation information, so that music recommendation is performed on the basis of considering the current scene information of the user, the music recommended to the user can be matched with the current scene information of the user, the recommended music can better accord with the preference of the user, the accuracy of the recommended music is improved, and the user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a block diagram illustrating a music recommendation method in accordance with an exemplary embodiment;
FIG. 2 is a block diagram illustrating a music recommendation method in accordance with another exemplary embodiment;
FIG. 3 is a block diagram illustrating a music recommendation method in accordance with yet another exemplary embodiment;
FIG. 4 is a block diagram illustrating a music recommendation device according to an exemplary embodiment;
FIG. 5 is a block diagram illustrating a music recommendation device according to another exemplary embodiment;
FIG. 6 is a block diagram illustrating a music recommendation device according to yet another exemplary embodiment;
FIG. 7 is a block diagram illustrating a music recommendation device according to yet another exemplary embodiment;
FIG. 8 is a block diagram illustrating a music recommendation device according to yet another exemplary embodiment;
FIG. 9 is a block diagram illustrating a terminal or server according to an example embodiment;
fig. 10 is a block diagram illustrating a terminal 800 in accordance with an example embodiment;
fig. 11 is a block diagram illustrating a server 1900 in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
FIG. 1 is a block diagram illustrating a music recommendation method according to an example embodiment. The execution subject of the music recommendation method provided by the embodiment can be a terminal or a server. The terminal can be a mobile phone, a tablet computer and the like; the server may specifically be a server corresponding to a music website accessed by the user using the terminal, or may be a server corresponding to a music Application (App) accessed by the user using the terminal. As shown in fig. 1, the method of the present embodiment may include the following steps:
in step 101, current scene information of a user is obtained, where the current scene information includes one or more of time information, location information, and weather information.
In this step, the server may specifically acquire the current scene information from the terminal used by the user. For example, the server may directly obtain the location information from the terminal, further may obtain the time information according to the location information, and further may obtain the weather information according to the location information and the time information; alternatively, the server may directly acquire the location information, the time information, and the weather information from the terminal. The terminal can acquire the position information through a positioning module integrated in the terminal, further can acquire the time information according to the position information, and further can acquire the weather information according to the position information and the time information.
It should be noted that, when the music recommendation method provided by the present disclosure is implemented by a music App on a terminal, the music App may obtain weather information through communication with the weather App on the terminal, and the music App may obtain time information through communication with a calendar App and/or a clock App on the terminal.
In step 102, according to the current scene information, music recommendation information matched with the current scene information is determined, where the music recommendation information includes an identifier of at least one piece of music to be recommended.
In this step, music recommendation information is determined based on consideration of current scene information. For example, when the weather information is sunny, music with a cheerful rhythm can be recommended to the user; when the weather information is rainy days, soft and quiet music can be recommended to the user. For another example, when the location information is beijing, "beijing welcomes you" may be recommended to the user. For another example, when the date information is winter solstice, "winter solstice happy" may be recommended to the user. When determining the music recommendation information corresponding to the current scene information according to the current scene information, the weather information, the location information, and the time information may be in an "and" relationship or an "or" relationship, and the disclosure is not limited thereto. For example, when the current scene information includes weather information and time information, the determined music recommendation information may specifically be music recommendation information corresponding to the weather information or the time information, and may also be music recommendation information corresponding to the weather information and the time information. The identifier of the music to be recommended in the music recommendation information may specifically be a music name of the music to be recommended, a playing address of the music to be recommended, and the like.
It should be noted that, a specific process for determining the music recommendation information corresponding to the current scene information may be flexibly designed by a person skilled in the art according to actual needs, and the disclosure does not limit this.
In step 103, music is recommended to the user according to the music recommendation information.
In this step, when the execution subject is the terminal, the terminal may specifically recommend music to the user directly according to the music recommendation information. When the execution subject is a server, the server may specifically send the music recommendation information to the terminal, so that the terminal recommends music to the user according to the music recommendation information.
According to the music recommendation method provided by the embodiment, the music recommendation information corresponding to the current scene information is determined according to the current scene information by acquiring the current scene information comprising one or more of time information, position information and weather information, and the music is recommended to the user according to the music recommendation information, so that music recommendation is performed on the basis of considering the current scene information of the user, and the music recommended to the user can be matched with the current scene information of the user, so that the recommended music can better accord with the preference of the user, the accuracy of music recommendation is improved, and the user experience is improved.
Fig. 2 is a block diagram illustrating a music recommendation method according to another exemplary embodiment. Referring to fig. 2, the music recommendation method provided in this embodiment mainly describes an optional implementation manner for determining the music recommendation information corresponding to the current scene information according to the current scene information on the basis of the music recommendation method shown in fig. 1. As shown in fig. 2, the method of this embodiment may include:
in step 201, current scene information of a user is obtained, where the current scene information includes: one or more of weather information, time information, location information.
It should be noted that step 201 is similar to step 101, and is not described herein again.
In step 202, feature information corresponding to the current scene information is determined according to the current scene information, wherein the feature information is used for representing scene features of the current scene information.
In this step, the characteristic information corresponding to the location information may specifically be one or more of a country, a province, a city, and the like in the location information, and the characteristic information corresponding to the time information may specifically be one or more of a date, a time period, and the like in the time information, where the time period may be, for example, morning, noon, afternoon, evening, night, and early morning. The characteristic information corresponding to the weather information may be one or more of cloudy and sunny weather information, air temperature, and the like.
In step 203, music recommendation information is determined according to the feature information and the first music recommendation model.
In this step, the first music recommendation model is determined based on a first sample set, where the first sample set includes corresponding relationships between feature information and music recommendation information respectively corresponding to different pieces of scene information. The first sample set may be specifically divided into a training set, a validation set, and a test set. The specific way of obtaining the music recommendation model based on the first sample set training, verification and testing can be referred to in the related art, and is not described herein again. Specifically, the first music recommendation model may output the music recommendation information corresponding to the current scene information by using the feature information corresponding to the current scene information as an input of the first music recommendation model.
Alternatively, when determining the first music recommendation model, the determination may be based on both the first sample set and the second sample set. The second sample set includes corresponding relationships between feature information and music recommendation information respectively corresponding to different other information, where the other information is information other than different scene information. The other information may be, for example, the type of music of interest selected by the user, the user's flagged results for music that has been listened to, etc. The marking result may be, for example, liked or disliked. In this step, the first music recommendation model is determined according to the first sample set and the second sample set, so that the determined music recommendation information can simultaneously refer to the current scene information and other information except the scene information, and the accuracy of music recommendation is further improved.
In step 204, music is recommended to the user according to the music recommendation information.
In this step, a music recommendation list may be specifically displayed according to the music recommendation information, or music may be played according to the music recommendation list. For example, a music recommendation list may be popped up according to the music recommendation information.
According to the music recommendation method provided by the embodiment, the feature information corresponding to the current scene information is determined according to the current scene information, and the music recommendation information is determined according to the feature information and the first music recommendation model, so that music recommendation is performed on the basis of considering the current scene information of the user, and the music recommended to the user can be matched with the current scene information of the user, so that the recommended music can better accord with the preference of the user, the accuracy of the recommended music is improved, and the user experience is improved.
Fig. 3 is a block diagram illustrating a music recommendation method according to yet another exemplary embodiment. Referring to fig. 3, the music recommendation method provided in this embodiment mainly describes another optional implementation manner for determining the music recommendation information corresponding to the current scene information according to the current scene information on the basis of the music recommendation method shown in fig. 1. As shown in fig. 3, the method of this embodiment may include:
in step 301, current scene information of a user is obtained, where the current scene information includes: one or more of weather information, time information, location information.
It should be noted that step 301 is similar to step 101, and is not described herein again.
In step 302, a music recommendation condition corresponding to the current scene information is determined according to the current scene information and the corresponding relationship between the different scene information and the music recommendation condition.
In this step, the music recommendation condition may include a category condition of music and/or a tag condition of music. The music category may include: classical music, pop music, melancholy music, rock music, jazz, etc. The tags for music may include: style, theme, musical instrument, language, etc. For example, the scene information 1 is "10 am, sunny day, 30 °", and the music recommendation condition corresponding to the scene information 1 may be "youth" as a style label, "passion" as a mood label, and "rock music" or "pop music" as a music genre. For another example, the scene information 2 is "2 pm, cloudy, 30 °", and the music recommendation condition corresponding to the scene information 2 may be "style label is" fresh "and mood label is" quiet ". It should be noted that the correspondence between different pieces of scene information and music recommendation conditions may be stored in advance. The different scene information may include scene information that is the same as or similar to the current scene information.
In step 303, music recommendation information is determined according to the music recommendation condition corresponding to the current scene information.
In this step, the music recommendation information may be specifically determined according to the identifier of the music in the music set that meets the music recommendation condition corresponding to the current scene information, where the music set may specifically be a set of all music that can be provided by the server. Or, the music recommendation information may be specifically determined according to the music recommendation information and the candidate music recommendation information corresponding to the current scene information. Correspondingly, the method of the embodiment may further include: determining candidate music recommendation information according to the second music recommendation model; the second music model is a music recommendation model determined based on the second sample set. In this step, the music recommendation information is determined according to the music recommendation information and the candidate music recommendation information corresponding to the current scene information, so that the determined music recommendation information can simultaneously refer to the current scene information and other information except the scene information, thereby further improving the accuracy of music recommendation.
It should be noted that, for the description of the second sample set, reference may be made to the embodiment shown in fig. 2, and details are not repeated here. For determining the specific implementation of the second music recommendation model, reference may be made to the related description in the related art, and details are not repeated here.
In step 304, music is recommended to the user according to the music recommendation information.
It should be noted that step 304 is similar to step 204, and is not described herein again.
According to the music recommendation method provided by the embodiment, the music recommendation condition corresponding to the current scene information is determined according to the current scene information and the corresponding relation between different scene information and the music recommendation condition, and the music recommendation information is determined according to the music recommendation condition corresponding to the current scene information, so that music recommendation is performed on the basis of considering the current scene information of the user, and the music recommended to the user can be matched with the current scene information of the user, so that the recommended music can better accord with the preference of the user, the accuracy of music recommendation is improved, and the user experience is improved.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods. For details not disclosed in the embodiments of the apparatus of the present disclosure, refer to the embodiments of the method of the present disclosure.
Fig. 4 is a block diagram illustrating a music recommendation device according to an example embodiment. The apparatus may be implemented as part or all of a terminal or a server by software, hardware, or a combination of both. Referring to fig. 4, the apparatus includes: an acquisition module 401, a determination module 402 and a recommendation module 403. Wherein,
an obtaining module 401, configured to obtain current scene information of a user, where the current scene information includes: one or more of weather information, time information, location information;
a determining module 402, configured to determine, according to the current scene information, music recommendation information matched with the current scene information, where the music recommendation information includes an identifier of at least one piece of music to be recommended;
a recommending module 403 configured to recommend music to the user according to the music recommending information.
In summary, according to the music recommendation device provided by the embodiment of the disclosure, the obtaining module obtains the current scene information including one or more of time information, position information, and weather information, the determining module determines the music recommendation information corresponding to the current scene information according to the current scene information, and the recommending module recommends music to the user according to the music recommendation information, so that music recommendation is performed based on the current scene information of the user, and the music recommended to the user can be matched with the current scene information of the user, so that the recommended music can better conform to the preference of the user, the accuracy of recommending music is improved, and the user experience is improved.
Fig. 5 is a block diagram illustrating a music recommendation device according to another exemplary embodiment. Referring to fig. 5, the apparatus is based on the block diagram shown in fig. 4, and optionally, the determining module 402 may include: a first determination sub-module 4021 and a second determination sub-module 4022. Wherein,
a first determining sub-module 4021, configured to determine, according to the current scene information, feature information corresponding to the current scene information, where the feature information is used to represent scene features of the current scene information;
the second determining sub-module 4022 is configured to determine music recommendation information according to the feature information and a first music recommendation model, where the first music recommendation model is determined based on a first sample set, and the first sample set includes corresponding relationships between feature information and music recommendation information respectively corresponding to different pieces of scene information.
In summary, according to the music recommendation device provided by the embodiment of the disclosure, the first determining sub-module determines the feature information corresponding to the current scene information according to the current scene information, and the second determining sub-module determines the music recommendation information according to the feature information and the first music recommendation model, so that music recommendation is performed on the basis of considering the current scene information of the user, and the music recommended to the user can be matched with the current scene information of the user, so that the recommended music can better accord with the preference of the user, the accuracy of music recommendation is improved, and the user experience is improved.
Fig. 6 is a block diagram illustrating a music recommendation device according to yet another exemplary embodiment. Referring to fig. 6, the apparatus is based on the block diagram shown in fig. 4, and optionally, the determining module 402 may include: a third determination sub-module 4023 and a fourth determination sub-module 4024. Wherein,
a third determining sub-module 4023, configured to determine a music recommendation condition corresponding to the current scene information according to the current scene information and the corresponding relationship between the different scene information and the music recommendation condition;
the fourth determining sub-module 4024 is configured to determine music recommendation information according to the music recommendation condition corresponding to the current scene information.
In summary, according to the music recommendation device provided by the embodiment of the disclosure, the third determining sub-module determines the music recommendation condition corresponding to the current scene information according to the current scene information and the corresponding relationship between different scene information and the music recommendation condition, and the fourth determining sub-module determines the music recommendation information according to the music recommendation condition corresponding to the current scene information, so that music recommendation is performed based on consideration of the current scene information of the user, and music recommended to the user can be matched with the current scene information of the user, so that the recommended music can better accord with the preference of the user, the accuracy of the recommended music is improved, and the user experience is improved.
Fig. 7 is a block diagram illustrating a music recommendation device according to yet another exemplary embodiment. Referring to fig. 7, the apparatus is based on the block diagram shown in fig. 6, and the determining module 402 may further include: a fifth determining sub-module 4025 configured to determine candidate music recommendation information according to the second music recommendation model; the second music model is a music recommendation model determined based on a second sample set, the second sample set includes corresponding relations between feature information and music recommendation information respectively corresponding to different other information, and the other information is information except different scene information.
A fourth determination sub-module 4024, including: the music recommendation information determining sub-module 40241 is configured to determine music recommendation information according to the music recommendation condition corresponding to the current scene information and the candidate music recommendation information.
In summary, according to the music recommendation apparatus provided in the embodiment of the present disclosure, the music recommendation information determining sub-module determines the music recommendation information according to the music recommendation information and the candidate music recommendation information corresponding to the current scene information, so that the determined music recommendation information can refer to the current scene information and other information except the scene information at the same time, thereby further improving the accuracy of music recommendation.
Fig. 8 is a block diagram illustrating a music recommendation device according to yet another exemplary embodiment. Referring to fig. 8, the apparatus is based on the block diagram shown in fig. 4, and optionally, the recommending module 403 may include: a recommendation sub-module 4031 configured to display a music recommendation list according to the music recommendation information.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 9 is a block diagram illustrating a terminal or server according to an example embodiment, and as shown in fig. 9, the terminal or server may include: a processor 901 and a memory 902 for storing computer instructions.
Wherein, the processor 901 executes the computer instructions to execute the following method:
acquiring current scene information of a user, wherein the current scene information comprises: one or more of weather information, time information, location information;
determining music recommendation information matched with the current scene information according to the current scene information, wherein the music recommendation information comprises at least one identifier of music to be recommended;
and recommending music to the user according to the music recommendation information.
Optionally, the determining, according to the current scene information, music recommendation information matched with the current scene information includes:
determining feature information corresponding to the current scene information according to the current scene information, wherein the feature information is used for representing scene features of the current scene information;
and determining music recommendation information according to the feature information and a first music recommendation model, wherein the first music recommendation model is determined based on a first sample set, and the first sample set comprises corresponding relations between the feature information and the music recommendation information respectively corresponding to different scene information.
Optionally, the determining, according to the current scene information, music recommendation information matched with the current scene information includes:
determining a music recommendation condition corresponding to the current scene information according to the current scene information and the corresponding relation between different scene information and the music recommendation condition;
and determining music recommendation information according to the music recommendation condition corresponding to the current scene information.
Optionally, the method further includes:
determining candidate music recommendation information according to the second music recommendation model; the second music model is a music recommendation model determined based on a second sample set, the second sample set comprises corresponding relations between feature information and music recommendation information respectively corresponding to different other information, and the other information is information except different scene information;
the determining music recommendation information according to the music recommendation condition corresponding to the current scene information includes:
and determining music recommendation information according to the music recommendation condition corresponding to the current scene information and the candidate music recommendation information.
Optionally, the recommending music to the user according to the music recommendation information includes:
and displaying a music recommendation list according to the music recommendation information.
Fig. 10 is a block diagram illustrating a terminal 800 according to an example embodiment. For example, the terminal 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
Referring to fig. 10, terminal 800 can include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the terminal 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the terminal 800. Examples of such data include instructions for any application or method operating on terminal 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of terminal 800. Power components 806 may include a power management system, one or more power sources, and other components associated with determining, managing, and distributing power for terminal 800.
The multimedia component 808 includes a screen providing an output interface between the terminal 800 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the terminal 800 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the terminal 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for terminal 800. For example, sensor assembly 814 can detect an open/closed state of terminal 800, the relative positioning of components, such as a display and keypad of terminal 800, sensor assembly 814 can also detect a change in position of terminal 800 or a component of terminal 800, the presence or absence of user contact with terminal 800, orientation or acceleration/deceleration of terminal 800, and a change in temperature of terminal 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
Communication component 816 is configured to facilitate communications between terminal 800 and other devices in a wired or wireless manner. The terminal 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the terminal 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
Fig. 11 is a block diagram illustrating a server 1900 in accordance with an example embodiment. For example, server 1900 may be provided as a server. Referring to FIG. 11, the server 1900 includes a processing component 1922 further including one or more processors and memory resources, represented by memory 1932, for storing instructions, e.g., applications, executable by the processing component 1922. The application programs stored in memory 1932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1922 is configured to execute instructions to perform the above-described method.
The server 1900 may further include a power component 1926 configured to perform power management of the server 1900, a wired or wireless network interface 1950 configured to connect the server 1900 to a network, and an input/output (I/O) interface 1958. Server 1900 may operate based on an operating system stored in memory 1932, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by a processor of the terminal 800 or the server 1900 to perform the above method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer-readable storage medium in which instructions, when executed by a processor of a terminal or server, enable the terminal or server to perform a music recommendation method, the method comprising:
acquiring current scene information of a user, wherein the current scene information comprises: one or more of weather information, time information, location information;
determining music recommendation information matched with the current scene information according to the current scene information, wherein the music recommendation information comprises at least one identifier of music to be recommended;
and recommending music to the user according to the music recommendation information.
Optionally, the determining, according to the current scene information, music recommendation information matched with the current scene information includes:
determining feature information corresponding to the current scene information according to the current scene information, wherein the feature information is used for representing scene features of the current scene information;
and determining music recommendation information according to the feature information and a first music recommendation model, wherein the first music recommendation model is determined based on a first sample set, and the first sample set comprises corresponding relations between the feature information and the music recommendation information respectively corresponding to different scene information.
Optionally, the determining, according to the current scene information, music recommendation information matched with the current scene information includes:
determining a music recommendation condition corresponding to the current scene information according to the current scene information and the corresponding relation between different scene information and the music recommendation condition;
and determining music recommendation information according to the music recommendation condition corresponding to the current scene information.
Optionally, the method further includes:
determining candidate music recommendation information according to the second music recommendation model; the second music model is a music recommendation model determined based on a second sample set, the second sample set comprises corresponding relations between feature information and music recommendation information respectively corresponding to different other information, and the other information is information except different scene information;
the determining music recommendation information according to the music recommendation condition corresponding to the current scene information includes:
and determining music recommendation information according to the music recommendation condition corresponding to the current scene information and the candidate music recommendation information.
Optionally, the recommending music to the user according to the music recommendation information includes:
and displaying a music recommendation list according to the music recommendation information.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A music recommendation method, comprising:
acquiring current scene information of a user, wherein the current scene information comprises: one or more of weather information, time information, location information;
determining music recommendation information matched with the current scene information according to the current scene information, wherein the music recommendation information comprises at least one identifier of music to be recommended;
and recommending music to the user according to the music recommendation information.
2. The method of claim 1, wherein the determining, according to the current scene information, music recommendation information matching the current scene information comprises:
determining feature information corresponding to the current scene information according to the current scene information, wherein the feature information is used for representing scene features of the current scene information;
and determining music recommendation information according to the feature information and a first music recommendation model, wherein the first music recommendation model is determined based on a first sample set, and the first sample set comprises corresponding relations between the feature information and the music recommendation information respectively corresponding to different scene information.
3. The method of claim 1, wherein the determining, according to the current scene information, music recommendation information matching the current scene information comprises:
determining a music recommendation condition corresponding to the current scene information according to the current scene information and the corresponding relation between the different scene information and the music recommendation condition;
and determining music recommendation information according to the music recommendation condition corresponding to the current scene information.
4. The method of claim 3, further comprising:
determining candidate music recommendation information according to the second music recommendation model; the second music model is a music recommendation model determined based on a second sample set, the second sample set comprises corresponding relations between feature information and music recommendation information respectively corresponding to different other information, and the other information is information except different scene information;
the determining music recommendation information according to the music recommendation condition corresponding to the current scene information includes:
and determining music recommendation information according to the music recommendation condition corresponding to the current scene information and the candidate music recommendation information.
5. A music recommendation device, comprising:
an obtaining module configured to obtain current scene information of a user, the current scene information including: one or more of weather information, time information, location information;
the determining module is configured to determine music recommendation information matched with the current scene information according to the current scene information, wherein the music recommendation information comprises an identifier of at least one piece of music to be recommended;
and the recommending module is configured to recommend music to the user according to the music recommending information.
6. The apparatus of claim 5, wherein the determining module comprises:
a first determining sub-module, configured to determine, according to the current scene information, feature information corresponding to the current scene information, where the feature information is used to represent a scene feature of the current scene information;
the second determining sub-module is configured to determine music recommendation information according to the feature information and a first music recommendation model, the first music recommendation model is determined based on a first sample set, and the first sample set includes corresponding relations between feature information and music recommendation information respectively corresponding to different scene information.
7. The apparatus of claim 5, wherein the determining module comprises:
the third determining submodule is configured to determine a music recommendation condition corresponding to the current scene information according to the current scene information and the corresponding relation between different scene information and the music recommendation condition;
and the fourth determining submodule is configured to determine the music recommendation information according to the music recommendation condition corresponding to the current scene information.
8. The apparatus of claim 7, wherein the determining module further comprises: a fifth determining sub-module configured to determine candidate music recommendation information according to the second music recommendation model; the second music model is a music recommendation model determined based on a second sample set, the second sample set comprises corresponding relations between feature information and music recommendation information respectively corresponding to different other information, and the other information is information except different scene information;
the fourth determination submodule includes: and the music recommendation information determining submodule is configured to determine music recommendation information according to the music recommendation condition corresponding to the current scene information and the candidate music recommendation information.
9. A terminal or server, comprising:
a processor and a memory for storing computer instructions; the processor executes the computer instructions to perform the method of any of claims 1-4.
10. A computer readable storage medium having computer instructions stored thereon, wherein the computer instructions, when executed by a processor, implement the method of any of claims 1-4.
CN201810195458.5A 2018-03-09 2018-03-09 Music recommends method, apparatus, equipment and storage medium Pending CN108460138A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810195458.5A CN108460138A (en) 2018-03-09 2018-03-09 Music recommends method, apparatus, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810195458.5A CN108460138A (en) 2018-03-09 2018-03-09 Music recommends method, apparatus, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN108460138A true CN108460138A (en) 2018-08-28

Family

ID=63217404

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810195458.5A Pending CN108460138A (en) 2018-03-09 2018-03-09 Music recommends method, apparatus, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108460138A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109302684A (en) * 2018-11-07 2019-02-01 麦片科技(深圳)有限公司 Scene determination method, Cloud Server and the storage medium of terminal device
CN109522444A (en) * 2018-11-12 2019-03-26 珠海格力电器股份有限公司 Request processing method and device, storage medium and electronic device
CN109635128A (en) * 2018-12-10 2019-04-16 北京小米移动软件有限公司 Recommend method, apparatus, electronic equipment and the storage medium of multimedia file
CN111930974A (en) * 2020-08-10 2020-11-13 北京字节跳动网络技术有限公司 Audio and video type recommendation method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030040904A1 (en) * 2001-08-27 2003-02-27 Nec Research Institute, Inc. Extracting classifying data in music from an audio bitstream
CN104750685A (en) * 2013-12-25 2015-07-01 上海博泰悦臻网络技术服务有限公司 Music recommendation method and device of vehicle-mounted system
CN106339504A (en) * 2016-09-23 2017-01-18 乐视控股(北京)有限公司 Music pushing method and apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030040904A1 (en) * 2001-08-27 2003-02-27 Nec Research Institute, Inc. Extracting classifying data in music from an audio bitstream
CN104750685A (en) * 2013-12-25 2015-07-01 上海博泰悦臻网络技术服务有限公司 Music recommendation method and device of vehicle-mounted system
CN106339504A (en) * 2016-09-23 2017-01-18 乐视控股(北京)有限公司 Music pushing method and apparatus

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109302684A (en) * 2018-11-07 2019-02-01 麦片科技(深圳)有限公司 Scene determination method, Cloud Server and the storage medium of terminal device
CN109522444A (en) * 2018-11-12 2019-03-26 珠海格力电器股份有限公司 Request processing method and device, storage medium and electronic device
CN109522444B (en) * 2018-11-12 2020-11-27 珠海格力电器股份有限公司 Request processing method and device, storage medium and electronic device
CN109635128A (en) * 2018-12-10 2019-04-16 北京小米移动软件有限公司 Recommend method, apparatus, electronic equipment and the storage medium of multimedia file
CN111930974A (en) * 2020-08-10 2020-11-13 北京字节跳动网络技术有限公司 Audio and video type recommendation method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105898032B (en) method and device for adjusting prompt tone
CN107994879B (en) Loudness control method and device
CN113099297B (en) Method and device for generating click video, electronic equipment and storage medium
CN108460138A (en) Music recommends method, apparatus, equipment and storage medium
CN106128478B (en) Voice broadcast method and device
CN111539443A (en) Image recognition model training method and device and storage medium
CN110691268B (en) Message sending method, device, server, mobile terminal and storage medium
CN106777016B (en) Method and device for information recommendation based on instant messaging
CN109862421A (en) A kind of video information recognition methods, device, electronic equipment and storage medium
CN111046210B (en) Information recommendation method and device and electronic equipment
US11546663B2 (en) Video recommendation method and apparatus
CN112291614A (en) Video generation method and device
CN109961793B (en) Method and device for processing voice information
CN112685641B9 (en) Information processing method and device
CN106020766A (en) Music playing method and device
CN112749287A (en) Knowledge graph construction method, knowledge graph using method, knowledge graph device and knowledge graph medium
CN105740356B (en) Method and device for marking target audio
CN112000840A (en) Business object display method and device
CN109145151B (en) Video emotion classification acquisition method and device
CN114722238B (en) Video recommendation method and device, electronic equipment, storage medium and program product
CN112784151A (en) Method and related device for determining recommendation information
CN109977303A (en) Exchange method, device and the storage medium of multimedia messages
CN109088920B (en) Evaluation method, device and equipment of intelligent sound box and storage medium
CN113870195A (en) Target map detection model training and map detection method and device
CN112749286A (en) Methods, apparatuses and media for construction and use of knowledge graph

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180828