CN109582817A - A kind of song recommendations method, terminal and computer readable storage medium - Google Patents
A kind of song recommendations method, terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN109582817A CN109582817A CN201811279969.1A CN201811279969A CN109582817A CN 109582817 A CN109582817 A CN 109582817A CN 201811279969 A CN201811279969 A CN 201811279969A CN 109582817 A CN109582817 A CN 109582817A
- Authority
- CN
- China
- Prior art keywords
- song
- terminal
- singer
- feature information
- matching degree
- 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
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention provides a kind of song recommendations method, terminal and computer readable storage medium, when terminal is currently at the song list sequence carousel status of default singer, counts the audio feature information for the song that terminal is played in preset time period;Current song preference pattern is determined according to the audio feature information counted;According to song preference pattern other songs in the song list of singer are carried out with the matching of audio feature information;By other songs in the song list of singer according to matching degree carry out sequence recommendation from high to low.The audio feature information of song is played by the history of terminal to establish the song preference pattern for meeting user's current emotional, and by the song in the song list of specific singer according to the carry out sequence recommendation from high to low of the matching degree with song preference pattern, it ensure that played song and user's current emotional are adapted, improve user listens song interest and the use stickiness to music application.
Description
Technical field
The present invention relates to intelligent terminal technical fields, more specifically to a kind of song recommendations method, terminal and calculating
Machine readable storage medium storing program for executing.
Background technique
With the continuous development of terminal technology, the popularity rate of intelligent terminal in social life is higher and higher, and user is in day
Often also higher and higher using the frequency of intelligent terminal in life, the intelligent terminal for applying various new technologies also comes into being, people
Intelligent terminal not only can be used make a phone call, send short messages, can also see video, listen to music, instant messaging, play game etc., make
Obtaining intelligent terminal becomes the indispensable important tool of people.
Music playback function is the function that user's high frequency uses at present, and in practical applications, usual user can be to certain
One singer relatively likes, thus it can be scanned in music application and concentration appreciation is carried out to his song,
And after user scans for singer, it can show all songs of the singer, then after user clicks a certain song,
Carry out carousel using that can sing single-row table according to default and carry out order of songs in song list, but a usual singer can exist it is a variety of not
With the song of style, the song of the currently selected broadcasting of user be usually be best suitable for current emotional, if user is currently
A more melancholy song is listened, if after playing, what next track was played is an especially cheerful and light-hearted song, then can be pulled up a horse
The mood of user is upset, so that reduce user listens song interest, music application is generated and detests sense.
Summary of the invention
It is carried out the technical problem to be solved in the present invention is that singing single-row table according to default to the song of singer in the prior art
Sequence carousel, caused played song and user emotion are incompatible and reduce user listen song interest, for the technology
Problem provides a kind of song recommendations method, terminal and computer readable storage medium.
In order to solve the above technical problems, the present invention provides a kind of song recommendations method, which includes:
When terminal is currently at the song list sequence carousel status of default singer, counts terminal in preset time period and played
Song audio feature information;
Current song preference pattern is determined according to the audio feature information counted;
According to song preference pattern other songs in the song list of singer are carried out with the matching of audio feature information;
By other songs in the song list of singer according to matching degree carry out sequence recommendation from high to low.
Optionally, counting the audio feature information of song that terminal is played in preset time period includes:
The audio feature information for the song that statistics present terminal is played.
Optionally, audio feature information comprises at least one of the following: audio frequency, tone color, beat.
Optionally, before the audio feature information for the song that terminal is played in statistics preset time period, further includes:
Determine whether terminal currently meets preset song recommendations trigger condition;
If so, the audio feature information for the song that terminal is played in statistics preset time period.
Optionally, before determining whether terminal currently meets preset song recommendations trigger condition, comprising:
Obtain the audio feature information of the song for the preset quantity that terminal is played before this;
Similarity calculation is carried out to the audio feature information of the song of preset quantity.
Determine whether that meeting preset song recommendations trigger condition includes:
Determine whether the calculated similarity of institute is higher than preset similarity threshold.
Optionally, after other songs in the song list by singer are according to matching degree carry out sequence recommendation from high to low,
Further include:
The generation of song recommendations list is carried out to the song that sequence is recommended;
The song individual palpation of singer is updated display according to song recommendations list.
Optionally, before other songs in the song list by singer are according to matching degree carry out sequence recommendation from high to low,
Further include:
Judge in the song list of singer with the presence or absence of other songs higher than preset matching degree threshold value;
If so, determining that matching degree is higher than other songs of preset matching degree threshold value in the song list of singer;
Include: according to the matching degree sequence recommendation of progress from high to low by other songs in the song list of singer
Matching degree is higher than other songs of preset matching degree threshold value according to matching degree carry out sequence recommendation from high to low.
Optionally, after in the song list for judging singer with the presence or absence of other songs higher than preset matching degree threshold value, also
Include:
If it is not, the current broadcast state of terminal to be then switched to the single of currently playing song from the single sequence carousel status of song
Loop play state.
Further, the present invention also provides a kind of terminal, which includes processor, memory, communication bus;
Communication bus is for realizing the connection communication between processor, memory;
Processor is for executing one or more program stored in memory, to realize above-mentioned song recommendations method
The step of.
Further, the present invention also provides a kind of computer readable storage medium, which is deposited
One or more program is contained, one or more program can be executed by one or more processor, above-mentioned to realize
The step of song recommendations method.
Beneficial effect
The present invention provides a kind of song recommendations method, terminal and computer readable storage medium, for right in the prior art
The song of singer sings single-row table carry out sequence carousel according to default, caused played song it is incompatible with user emotion and
The defect for listening song interest for reducing user, when terminal is currently at the song list sequence carousel status of default singer, statistics is default
The audio feature information for the song that terminal is played in period;Current song is determined according to the audio feature information counted
Preference pattern;According to song preference pattern other songs in the song list of singer are carried out with the matching of audio feature information;It will song
Other songs in the song list of hand are according to matching degree carry out sequence recommendation from high to low.The sound of song is played by the history of terminal
Frequency characteristic information meets the song preference pattern of user's current emotional to establish, and by the song in the song list of specific singer according to
With the matching degree carry out sequence recommendation from high to low of song preference pattern, played song and user's current emotional phase ensure that
It adapts to, improve user listens song interest and the use stickiness to music application, improves user experience.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
The hardware structural diagram of Fig. 1 each embodiment one optional mobile terminal to realize the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the basic flow chart for the song recommendations method that first embodiment of the invention provides;
Fig. 4 is the refined flow chart for the song recommendations method that second embodiment of the invention provides;
Fig. 5 is the refined flow chart for the song recommendations method that third embodiment of the invention provides;
Fig. 6 is the structural schematic diagram for the terminal that fourth embodiment of the invention provides.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate
Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move
The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special
Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting
Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit
108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram,
Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need
It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or
The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103
Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears
Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.
Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071
Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can
To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc.
It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can
The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically
It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage
Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system
System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection
Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers
Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201
Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource
Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
First embodiment
To solve to sing single-row table carry out sequence carousel according to default to the song of singer in the prior art, caused is broadcast
Bent and user emotion of singing is incompatible and reduces the defect for listening song interest of user, present embodiments provides a kind of song recommendations
Method is illustrated in figure 3 the basic flow chart of song recommendations method provided in this embodiment, which specifically includes
Following steps:
S301, when terminal is currently at the song list sequence carousel status of default singer, count preset time period in terminal
The audio feature information of the song played.
In practical applications, user is when appreciating music, it will usually the singer for thering is oneself especially to have a preference for, to can apply
Play specialized searches singer in application and concentration appreciation carried out to its song, and song display interface then can be to the singer
Song individual palpation composed by all songs carries out arrangement according to the irregular mode of default and shows, and terminal is currently at the singer
The single sequence carousel status of song, namely after current selected plays a certain song, if after the playback of songs finishes, it is suitable
Sequence plays the song for being located at this song song next track in song list, and so on.The history of preset time period is broadcast in the present embodiment
Bent audio feature information of singing is counted, and audio feature information here is used to characterize the attribute of song, can be by pre-
If rule carries out audio analysis to song to extract source code, to identify to the audios semantic feature such as music rhythm, musical instrument.It can
Choosing, audio feature information comprises at least one of the following: audio frequency, tone color, beat.In actual application, song
Audio feature information more than above three audio frequency characteristics in the present embodiment are enumerated to more typical audio frequency characteristics,
It does not limit uniquely herein.
Optionally, the audio feature information for counting the song that terminal is played in preset time period includes: that statistics is current eventually
Hold the audio feature information of played song.
Specifically, in practical applications, it, can be only right in order to which the current song of more accurate positioning user appreciates hobby
The audio feature information of currently played song is counted;Certainly in further embodiments, it can also position user's
Long-term song appreciates hobby, namely unites to the audio feature information for the song that user is listened in past longer period of time
Meter, such as the song listened within six months in the past.
Optionally, before the audio feature information for the song that terminal is played in statistics preset time period, further includes: really
Determine whether terminal currently meets preset song recommendations trigger condition;If so, counting what terminal in preset time period was played
The audio feature information of song.
Specifically, in practical applications, also not user is provided with the song recommendations in the present embodiment in all cases
Under demand, such as certain applications scene, user needs widely to understand the song of the different-style of specific singer, this
When by it is existing recommend at random in the way of then more meet the actual use demand of user.Based on this, in the present embodiment then in advance
It is set with a song recommendations trigger condition, the song recommendations process of ability triggering following in the case where meeting the trigger condition, with
Adapt to the actual use demand of user's more diversification.
Optionally, before determining whether terminal currently meets preset song recommendations trigger condition, comprising: obtain terminal
The audio feature information of the song of the preset quantity played before this;Phase is carried out to the audio feature information of the song of preset quantity
It is calculated like degree.It determines whether to meet whether preset song recommendations trigger condition comprises determining that the calculated similarity of institute
Higher than preset similarity threshold.
Specifically, a kind of preferred embodiment as the present embodiment, plays a certain number of history of user sing respectively
Then the acquisition of Qu Jinhang audio feature information carries out similarity calculation to the audio feature information of all songs, to determine this
The history continuously played a bit plays whether song has certain similitude, if so, illustrating that user is in a kind of specific before this
Mood among, the style for the song listened to is close, so that user then has the song recommendations demand in the present embodiment.Instead
It then illustrates the song that special time period of the user forward is listened to when the similarity of the song counted is not high
Style is more miscellaneous, is not in a certain specific emotional, then does not need to implement the song recommendations process in the present embodiment, avoid
Increase the processing load of terminal.
S302, current song preference pattern is determined according to the audio feature information counted.
Specifically, in the present embodiment, the audio feature information of song can reflect the mood of user to a certain extent,
Such as the beat of song that user is listened is very fast, then illustrates that the mood of user is more restless, and when the beat of song is slower, then
Illustrate that the mood of user is more gentle, song preference pattern is established according to audio feature information, to pass through song preference pattern
To reflect mood of the user when listening to song.It should be noted that the mode of establishing of song preference pattern here can be
It is established, is also possible to by the way of deep learning to establish, details are not described herein based on the mode of the statistics of historical data.
S303, the matching that according to song preference pattern other songs in the song list of singer are carried out with audio feature information.
Specifically, currently singing the extraction that all songs in list carry out audio feature information to specific singer in the present embodiment
Later, audio feature information is matched with song preference pattern respectively, to obtain different songs and song preference pattern
Matching degree, wherein song style and the more matched obtained matching degree of song of user emotion are higher, such as song is inclined
The current mood of the good associated user of model is more restless, then song then with higher of the rock and roll style in song list
With degree, the obtained matching degree of the song of classicism is then lower instead.
S304, by singer song list in other songs according to matching degree carry out sequence recommendation from high to low.
Specifically, in the song list for determining specific singer after the matching degree of all songs, according to obtained matching degree
The sequence for carrying out song from high to low is recommended, thus the song that preferential recommendation matching degree is high, so that user continued to hear
The style of song is adapted with the current mood of user, and without singing according to default, single sequence is random to recommend to be brought
Lofty sense, cause the mood of user uncomfortable.
Optionally, after other songs in the song list by singer are according to matching degree carry out sequence recommendation from high to low,
Further include: the generation of song recommendations list is carried out to the song that sequence is recommended;By the song individual palpation of singer according to song recommendations list into
Row updates display.
Specifically, in the present embodiment when execution sequence is recommended, in order to be supplied to the more operability of user and oneself
Main selectivity is also based on song recommendations sequence in the present embodiment to generate song recommendations list, to sing Dan Jinhang to default
Display is updated, so that user can see the single-row table of song for meeting recommendation rules on singing single display interface, user there can be finger
The carry out song switching of tropism, and be unlikely to blindly to select to cause the inadaptable of possible style of song.Certainly in other realities
It applies in example, user's autonomous operation during listening song is less, then single display interface that can not also sing in antiphonal style is updated, it is only necessary to press
Playback of songs is successively carried out according to the sequence of identified recommendation.
Optionally, before other songs in the song list by singer are according to matching degree carry out sequence recommendation from high to low,
Further include: judge in the song list of singer with the presence or absence of other songs higher than preset matching degree threshold value;If so, determining singer's
Sing other songs that matching degree in list is higher than preset matching degree threshold value;By singer song list in other songs according to matching degree from
High to Low progress sequence recommends to include: that matching degree is higher than other songs of preset matching degree threshold value according to matching degree from high to low
Carry out sequence recommendation.
In practical applications, singer sing list in number of songs it is numerous, stylistic differences are larger, and differed with user emotion compared with
It is necessary that remote song then has no recommendation, is based on this, a matching degree threshold value is previously provided in the present embodiment, judges whether there is
Be higher than the song of the threshold value with degree, if so, will be above all songs of the threshold value according to matching degree from it is high to low to user into
Row is recommended, and then can directly exclude except recommendation list lower than the song of threshold value, so as not to the higher song of matching degree compared with
When few, when the song of low matching degree is still recommended and plays, discomfort is brought for the mood of user.
Optionally, after in the song list for judging singer with the presence or absence of other songs higher than preset matching degree threshold value, also
It include: if it is not, then following the current broadcast state of terminal from the single that single sequence carousel status is switched to currently playing song is sung
Ring broadcast state.
Specifically, in further embodiments, if in song list all songs and the matching degree of song preference pattern all compared with
It is low, without song similar in the song style for being adapted to user emotion that is played before this with currently playing or user, this
When other songs of the singer can not then be recommended, and current song list sequence carousel status can be adjusted to work as
The single loop play state of preceding song, to maintain immersing for user's current emotional by current song.
The present invention provides a kind of song recommendations method, in the prior art to the song of singer according to the single-row table of default song
Carry out sequence carousel, caused played song is incompatible with user emotion and reduces the defect for listening song interest of user,
When terminal is currently at the song list sequence carousel status of default singer, the song that terminal is played in preset time period is counted
Audio feature information;Current song preference pattern is determined according to the audio feature information counted;According to song preference pattern
Other songs in the song list of singer are carried out with the matching of audio feature information;By singer song list in other songs according to
With degree carry out sequence recommendation from high to low.The audio feature information of song is played by the history of terminal to establish and meet user and work as
The song preference pattern of preceding mood, and by the song in the song list of specific singer according to the matching degree with song preference pattern from height
To low carry out sequence recommendation, it ensure that played song and user's current emotional are adapted, improve user listens song interest
And the use stickiness to music application, improve user experience.
Second embodiment
In order to better understand the present invention, the present embodiment is illustrated song recommended method with a specific example,
Fig. 4 is the refined flow chart for the song recommendations method that second embodiment of the invention provides, which includes:
S401, when terminal is currently at the song list sequence carousel status of default singer, obtain terminal and played before this
The audio feature information of the song of preset quantity.
In practical applications, sequence carousel status, namely after current selected plays a certain song, if the playback of songs
After finishing, then it is located at the song of this song song next track in played in order song list, and so on.Audio feature information include with
Lower at least one: audio frequency, tone color, beat.
S402, similarity calculation is carried out to the audio feature information of the song of the preset quantity.
S403, determine whether the calculated similarity of institute is higher than preset similarity threshold, if so, S404 is executed, if
It is no, then execute S401.
The audio feature information for the song that S404, statistics present terminal are played.
The acquisition that song carries out audio feature information is played to a certain number of history of user, then to the sound of all songs
Frequency characteristic information carries out similarity calculation, come determine history that these continuously play play song whether have it is certain similar
Property, if so, illustrating that user is in front of this among a kind of specific mood, the style for the song listened to is close, thus user
Then has the song recommendations demand in the present embodiment.
S405, current song preference pattern is determined according to the audio feature information counted.
S406, the matching that according to song preference pattern other songs in the song list of singer are carried out with audio feature information.
Reflect mood of the user when listening to song by song preference pattern, specific singer is currently sung into its in list
The audio feature information of its song is matched with song preference pattern, to obtain of different songs Yu song preference pattern
With degree, degree is adapted to so as to reflect all songs in addition to currently playing song and user's current emotional.
S407, by other songs in the song list of singer according to matching degree carry out sequence recommendation from high to low, and by singer
Song individual palpation be updated display according to song recommendations sequence.
In the present embodiment in the song list for determining specific singer after the matching degree of all songs, according to obtained matching
The sequence that degree carries out song from high to low is recommended, thus the song that preferential recommendation matching degree is high, so that user continues the song heard
Bent style is adapted with the current mood of user.And it is further, default before this can also be sung to individual palpation according to song
Bent recommendation order is updated display so that user make in autonomous switching it is more convenient and intelligent.
The present invention provides a kind of song recommendations method, passes through the audio of the song of the currently played specific singer of terminal
Characteristic information meets the song preference pattern of user's current emotional to establish, and other songs in the song list of specific singer are pressed
According to the carry out sequence recommendation from high to low of the matching degree with song preference pattern, played song and user's current emotional ensure that
It is adapted, improve user listens song interest and the use stickiness to music application, improves user experience.
3rd embodiment
In order to better understand the present invention, the present embodiment also says song recommended method with another specific example
Bright, Fig. 5 is the refined flow chart for the song recommendations method that third embodiment of the invention provides, which includes:
S501, when terminal is currently at the song list sequence carousel status of default singer, count in default historical time section
The audio feature information for the song that terminal is played.
With a upper embodiment the difference is that is positioned in the present embodiment is the long-term song appreciation hobby of user,
The audio feature information of song listened within a period of time in past to user counts, for example, six months in the past it
Interior listened to song.
S502, current song preference pattern is determined according to the audio feature information counted.
S503, the matching that according to song preference pattern other songs in the song list of singer are carried out with audio feature information.
S504, judge in the song list of singer with the presence or absence of other songs higher than preset matching degree threshold value;If so, executing
S505, if it is not, then executing S506.
S505, other songs that matching degree is higher than to preset matching degree threshold value are pushed away according to the matching degree sequence of progress from high to low
It recommends.
It is previously provided with a matching degree threshold value in the present embodiment, judges whether there is the song that matching degree is higher than the threshold value,
If so, all songs that will be above the threshold value are recommended from high to low to user according to matching degree, and it is lower than the song of threshold value
It is bent then can directly exclude except recommendation list, in case when the higher song of matching degree is less, the song of low matching degree is still
When being recommended and playing, discomfort is brought for the mood of user.
S506, the current broadcast state of terminal is followed from the single that single sequence carousel status is switched to currently playing song is sung
Ring broadcast state.
Further, if song list in all songs and the matching degree of song preference pattern it is all lower, without with it is current
Song similar in the song style for being adapted to user emotion that broadcasting or user are played before this, this when then can not be to this
Other songs of singer are recommended, and the single that the current single sequence carousel status of song is adjusted to current song can be recycled
Broadcast state, to maintain immersing for user's current emotional by current song.
The present invention provides a kind of song recommendations method, passes through the audio of the song of the currently played specific singer of terminal
Characteristic information meets the song preference pattern of user's current emotional to establish, and other songs in the song list of specific singer are pressed
According to the carry out sequence recommendation from high to low of the matching degree with song preference pattern, played song and user's current emotional ensure that
It is adapted, improve user listens song interest and the use stickiness to music application, improves user experience.
Fourth embodiment
A kind of terminal is present embodiments provided, it is shown in Figure 6, including processor 601, memory 602, communication bus
603;
Communication bus 603 is for realizing the connection communication between processor 601, memory 602;
Memory 602 is for storing one or more programs, and processor 601 is for executing one stored in memory 602
A or multiple programs, the step of to realize song recommendations method shown in the various embodiments described above, details are not described herein.
5th embodiment
The present invention also provides a kind of computer readable storage medium, one is stored in the computer readable storage medium
Or multiple programs, which can be executed by one or more processor, to realize the various embodiments described above
Shown in song recommendations method the step of, details are not described herein.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.
Claims (10)
1. a kind of song recommendations method, which is characterized in that the song recommendations method includes:
When terminal is currently at the song list sequence carousel status of default singer, the song that terminal is played in preset time period is counted
Bent audio feature information;
Current song preference pattern is determined according to the audio feature information counted;
According to the song preference pattern other songs in the song list of the singer are carried out with the matching of audio feature information;
By other songs in the song list of the singer according to matching degree carry out sequence recommendation from high to low.
2. song recommendations method as described in claim 1, which is characterized in that terminal is played in the statistics preset time period
The audio feature information of song include:
The audio feature information for the song that statistics present terminal is played.
3. song recommendations method as described in claim 1, which is characterized in that the audio feature information includes following at least one
Kind: audio frequency, tone color, beat.
4. song recommendations method as described in claim 1, which is characterized in that terminal is played in statistics preset time period
Before the audio feature information of song, further includes:
Determine whether terminal currently meets preset song recommendations trigger condition;
If so, the audio feature information for the song that terminal is played in statistics preset time period.
5. song recommendations method as claimed in claim 4, which is characterized in that determining whether terminal currently meets preset song
Song is recommended before trigger condition, comprising:
Obtain the audio feature information of the song for the preset quantity that terminal is played before this;
Similarity calculation is carried out to the audio feature information of the song of the preset quantity.
It is described to determine whether that meeting preset song recommendations trigger condition includes:
Determine whether the calculated similarity of institute is higher than preset similarity threshold.
6. song recommendations method as described in claim 1, which is characterized in that other songs in the song list by the singer
After matching degree carry out sequence recommendation from high to low, further includes:
The generation of song recommendations list is carried out to the song that the sequence is recommended;
The song individual palpation of the singer is updated display according to the song recommendations list.
7. such as song recommendations method described in any one of claims 1 to 6, which is characterized in that by the song list of the singer
In other songs according to matching degree carry out sequence recommendation from high to low before, further includes:
Judge in the song list of the singer with the presence or absence of other songs higher than preset matching degree threshold value;
If so, determining that matching degree is higher than other songs of the preset matching degree threshold value in the song list of the singer;
Other songs in the song list by the singer are recommended according to the matching degree sequence of progress from high to low
The matching degree is higher than other songs of preset matching degree threshold value according to matching degree carry out sequence recommendation from high to low.
8. song recommendations method as claimed in claim 7, which is characterized in that whether there is in the song list for judging the singer
After other songs higher than preset matching degree threshold value, further includes:
If it is not, the current broadcast state of the terminal is then switched to currently playing song from the single sequence carousel status of the song
Single loop play state.
9. a kind of terminal, which is characterized in that the terminal includes processor, memory, communication bus;
The communication bus is for realizing the connection communication between processor, memory;
The processor is for executing one or more program stored in memory, to realize as appointed in claim 1 to 8
The step of song recommendations method described in one.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or
Multiple programs, one or more of programs can be executed by one or more processor, to realize such as claim 1 to 8
Any one of described in song recommendations method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811279969.1A CN109582817A (en) | 2018-10-30 | 2018-10-30 | A kind of song recommendations method, terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811279969.1A CN109582817A (en) | 2018-10-30 | 2018-10-30 | A kind of song recommendations method, terminal and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109582817A true CN109582817A (en) | 2019-04-05 |
Family
ID=65920808
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811279969.1A Pending CN109582817A (en) | 2018-10-30 | 2018-10-30 | A kind of song recommendations method, terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109582817A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110069658A (en) * | 2019-05-05 | 2019-07-30 | 华南理工大学 | It is a kind of to control audio switching method and device in the state of the lock screen |
CN110096611A (en) * | 2019-04-24 | 2019-08-06 | 努比亚技术有限公司 | A kind of song recommendations method, mobile terminal and computer readable storage medium |
CN111078931A (en) * | 2019-12-10 | 2020-04-28 | 腾讯科技(深圳)有限公司 | Singing sheet pushing method and device, computer equipment and storage medium |
CN112417203A (en) * | 2020-11-18 | 2021-02-26 | 腾讯音乐娱乐科技(深圳)有限公司 | Song recommendation method, terminal and storage medium |
CN112632318A (en) * | 2020-12-24 | 2021-04-09 | 安克创新科技股份有限公司 | Audio recommendation method, device and system and storage medium |
CN113536027A (en) * | 2021-07-27 | 2021-10-22 | 咪咕音乐有限公司 | Music recommendation method, device, equipment and computer readable storage medium |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080243816A1 (en) * | 2007-03-30 | 2008-10-02 | Chan James D | Processes for calculating item distances and performing item clustering |
JP2013077055A (en) * | 2011-09-29 | 2013-04-25 | Ntt Docomo Inc | Content recommendation device, communication terminal, and content recommendation method |
CN104750839A (en) * | 2015-04-03 | 2015-07-01 | 魅族科技(中国)有限公司 | Data recommendation method, terminal and server |
CN105824861A (en) * | 2015-09-18 | 2016-08-03 | 维沃移动通信有限公司 | Audio recommending method and mobile terminal |
WO2016141534A1 (en) * | 2015-03-09 | 2016-09-15 | 常平 | Song recommendation method and song calling system |
WO2017165823A1 (en) * | 2016-03-25 | 2017-09-28 | Tristan Jehan | Media content items sequencing |
CN107666496A (en) * | 2016-07-27 | 2018-02-06 | 上海博泰悦臻网络技术服务有限公司 | Application content method for pushing and device |
CN107731247A (en) * | 2017-10-27 | 2018-02-23 | 珠海市魅族科技有限公司 | Playback of songs method, apparatus, computer installation and computer-readable recording medium |
CN107908701A (en) * | 2017-11-06 | 2018-04-13 | 广东欧珀移动通信有限公司 | Method, apparatus, storage medium and the terminal device that music is recommended |
CN108255840A (en) * | 2016-12-28 | 2018-07-06 | 北京酷我科技有限公司 | A kind of recommendation method and system of song |
CN108509534A (en) * | 2018-03-15 | 2018-09-07 | 华南理工大学 | Individualized music commending system based on deep learning and its implementation |
CN108595550A (en) * | 2018-04-10 | 2018-09-28 | 南京邮电大学 | A kind of music commending system and recommendation method based on convolutional neural networks |
-
2018
- 2018-10-30 CN CN201811279969.1A patent/CN109582817A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080243816A1 (en) * | 2007-03-30 | 2008-10-02 | Chan James D | Processes for calculating item distances and performing item clustering |
JP2013077055A (en) * | 2011-09-29 | 2013-04-25 | Ntt Docomo Inc | Content recommendation device, communication terminal, and content recommendation method |
WO2016141534A1 (en) * | 2015-03-09 | 2016-09-15 | 常平 | Song recommendation method and song calling system |
CN104750839A (en) * | 2015-04-03 | 2015-07-01 | 魅族科技(中国)有限公司 | Data recommendation method, terminal and server |
CN105824861A (en) * | 2015-09-18 | 2016-08-03 | 维沃移动通信有限公司 | Audio recommending method and mobile terminal |
WO2017165823A1 (en) * | 2016-03-25 | 2017-09-28 | Tristan Jehan | Media content items sequencing |
CN107666496A (en) * | 2016-07-27 | 2018-02-06 | 上海博泰悦臻网络技术服务有限公司 | Application content method for pushing and device |
CN108255840A (en) * | 2016-12-28 | 2018-07-06 | 北京酷我科技有限公司 | A kind of recommendation method and system of song |
CN107731247A (en) * | 2017-10-27 | 2018-02-23 | 珠海市魅族科技有限公司 | Playback of songs method, apparatus, computer installation and computer-readable recording medium |
CN107908701A (en) * | 2017-11-06 | 2018-04-13 | 广东欧珀移动通信有限公司 | Method, apparatus, storage medium and the terminal device that music is recommended |
CN108509534A (en) * | 2018-03-15 | 2018-09-07 | 华南理工大学 | Individualized music commending system based on deep learning and its implementation |
CN108595550A (en) * | 2018-04-10 | 2018-09-28 | 南京邮电大学 | A kind of music commending system and recommendation method based on convolutional neural networks |
Non-Patent Citations (1)
Title |
---|
李碧: ""基于卷积神经网络的钢琴音乐推荐算法研究"", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110096611A (en) * | 2019-04-24 | 2019-08-06 | 努比亚技术有限公司 | A kind of song recommendations method, mobile terminal and computer readable storage medium |
CN110069658A (en) * | 2019-05-05 | 2019-07-30 | 华南理工大学 | It is a kind of to control audio switching method and device in the state of the lock screen |
CN111078931A (en) * | 2019-12-10 | 2020-04-28 | 腾讯科技(深圳)有限公司 | Singing sheet pushing method and device, computer equipment and storage medium |
CN111078931B (en) * | 2019-12-10 | 2023-08-01 | 腾讯科技(深圳)有限公司 | Song list pushing method, device, computer equipment and storage medium |
CN112417203A (en) * | 2020-11-18 | 2021-02-26 | 腾讯音乐娱乐科技(深圳)有限公司 | Song recommendation method, terminal and storage medium |
CN112632318A (en) * | 2020-12-24 | 2021-04-09 | 安克创新科技股份有限公司 | Audio recommendation method, device and system and storage medium |
CN113536027A (en) * | 2021-07-27 | 2021-10-22 | 咪咕音乐有限公司 | Music recommendation method, device, equipment and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109582821A (en) | A kind of music object recommendation method, terminal and computer readable storage medium | |
CN109582817A (en) | A kind of song recommendations method, terminal and computer readable storage medium | |
CN108055572A (en) | Control method, mobile terminal and the computer readable storage medium of mobile terminal | |
CN108197185A (en) | A kind of music recommends method, terminal and computer readable storage medium | |
CN109376705A (en) | Dance training methods of marking, device and computer readable storage medium | |
CN107704571A (en) | Information intelligent recommends method, apparatus and computer-readable recording medium | |
CN108418948A (en) | A kind of based reminding method, mobile terminal and computer storage media | |
CN108391190B (en) | A kind of noise-reduction method, earphone and computer readable storage medium | |
CN108573064A (en) | Information recommendation method, mobile terminal, server and computer readable storage medium | |
CN108196750A (en) | The method, apparatus and computer readable storage medium of screen interface sectional drawing | |
CN107229390A (en) | A kind of desktop icons aligning method, mobile terminal and computer-readable recording medium | |
CN110180181A (en) | Screenshot method, device and the computer readable storage medium of Wonderful time video | |
CN109840119A (en) | A kind of terminal applies starting method, terminal and computer readable storage medium | |
CN110187808A (en) | Dynamic wallpaper setting method, device and computer readable storage medium | |
CN107688429A (en) | Management method, mobile terminal and the computer-readable recording medium of application controls | |
CN108762631A (en) | A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium | |
CN109299039A (en) | A kind of file management method, equipment and computer readable storage medium | |
CN108600325A (en) | A kind of determination method, server and the computer readable storage medium of push content | |
CN108521500A (en) | A kind of voice scenery control method, equipment and computer readable storage medium | |
CN107623777A (en) | Terminal and its control method for playing back, computer-readable recording medium | |
CN109462700A (en) | A kind of call method, mobile terminal and computer readable storage medium | |
CN109117105A (en) | A kind of collaboration desktop interaction regulation method, equipment and computer readable storage medium | |
CN109428923A (en) | Information push method, server, terminal and computer readable storage medium | |
CN108228301A (en) | The method, apparatus and computer readable storage medium of the long sectional drawing of screen interface | |
CN108553905A (en) | Data feedback method, terminal and computer storage media based on game application |
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: 20190405 |