CN109857899A - Song recommendations method, playback equipment and computer readable storage medium - Google Patents

Song recommendations method, playback equipment and computer readable storage medium Download PDF

Info

Publication number
CN109857899A
CN109857899A CN201910094743.2A CN201910094743A CN109857899A CN 109857899 A CN109857899 A CN 109857899A CN 201910094743 A CN201910094743 A CN 201910094743A CN 109857899 A CN109857899 A CN 109857899A
Authority
CN
China
Prior art keywords
song
weight
recommendations
recommendation
song recommendations
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
CN201910094743.2A
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.)
Zhejiang Qiangnao Technology Co Ltd
Original Assignee
Zhejiang Qiangnao Technology 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 Zhejiang Qiangnao Technology Co Ltd filed Critical Zhejiang Qiangnao Technology Co Ltd
Priority to CN201910094743.2A priority Critical patent/CN109857899A/en
Publication of CN109857899A publication Critical patent/CN109857899A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of song recommendations methods, comprising: when the playback equipment plays song files, obtains the EEG signals of the user of the eeg sensor current detection in real time, and the EEG signals are stored to default storage region;At the end of detecting that the song files play, based on the EEG signals of the default storage region storage, the first eeg data in the corresponding play time section of the song files is obtained;The absorbed angle value of the user is determined based on first eeg data and loosens angle value;Based on the absorbed angle value and loosen angle value the first song recommendations weight of calculating;Being updated based on the first song recommendations weight and the song files recommends song single.The invention also discloses a kind of playback equipment and computer readable storage mediums.The present invention realizes absorbed angle value when listening to music according to user and loosens the song of angle value recommended user hobby, improves user experience.

Description

Song recommendations method, playback equipment and computer readable storage medium
Technical field
The present invention relates to data processing field more particularly to a kind of song recommendations methods, playback equipment and computer-readable Storage medium.
Background technique
Habit finder by observing people is accustomed to reading, learn or working while listening music.It closes Suitable music helps to improve the focus of people, improves work, learning efficiency;On the contrary, song that is excessively fierce or excessively releiving Song will affect the thinking ability of people, reduces focus, is unfavorable for the progress of work or study.If music playing system is not Effectively recommended for personalized preference, it may be because of having played the song not liked or not met the sound of mood at that time It is happy, and cause to interrupt task at hand to adjust music, and this easily makes people can not be wholwe-hearted when reading, and generates study work Make the inferior negative shadow of low efficiency.
It is the recommendation based on keyword or fixed scene mode mostly, for user in current music recommender system There is no specific aim, i.e., can not recommend song according to personal emotional change.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill Art.
Summary of the invention
The main purpose of the present invention is to provide a kind of song recommendations method, playback equipment and computer-readable storage mediums Matter, it is intended to solve the technical issues of can not recommending song according to personal emotional change at present.
To achieve the above object, the present invention provides a kind of song recommendations method, applied to the playback equipment for being equipped with earphone, institute Earphone is stated equipped with eeg sensor, the song recommendations method the following steps are included:
When the playback equipment plays song files, the brain of the user of the eeg sensor current detection is obtained in real time Electric signal, and the EEG signals are stored to default storage region;
At the end of detecting that the song files play, based on the EEG signals of the default storage region storage, obtain Take the first eeg data in the corresponding play time section of the song files;
The absorbed angle value of the user is determined based on first eeg data and loosens angle value;
Based on the absorbed angle value and loosen angle value the first song recommendations weight of calculating;
Being updated based on the first song recommendations weight and the song files recommends song single.
In one embodiment, described updated based on the first song recommendations weight and the song files recommends song single The step of include:
It determines in the recommendation song list with the presence or absence of the corresponding song title of the song files;
If it exists, then based on the corresponding second song recommendations weight of the single acquisition song title of recommendation song;
Based on the first song recommendations weight and the second song recommendations weight, it is corresponding to calculate the song title Third song recommendations weight;
It is single based on recommendation song described in the third song recommendations right value update.
In one embodiment, the step single based on recommendation song described in the third song recommendations right value update includes:
The corresponding recommendation weight of song title described in the recommendation song list is set by the third song recommendations weight;
It is ranked up according to the corresponding recommendation weight of song titles all in recommendation song list, to obtain updated push away It is single to recommend song.
In one embodiment, described to be based on the first song recommendations weight and the second song recommendations weight, meter The step of calculating the song title corresponding third song recommendations weight include:
Recommend the single record number for obtaining the song title of song based on described;
Based on described in the record number, the first song recommendations weight and the second song recommendations weight computing The corresponding third song recommendations weight of song title, and update the record number.
In one embodiment, described based on the record number, the first song recommendations weight and second song Song recommends the step of corresponding third song recommendations weight of song title described in weight computing to include:
Corresponding first weighting coefficient of the first song recommendations weight and described the are calculated based on the record number Corresponding second weighting coefficient of two song recommendations weights;
Based on the first song recommendations weight described in first weighting coefficient, the second weighting coefficient and second song Recommend the corresponding third song recommendations weight of song title described in weight computing.
In one embodiment, described to be added based on record number calculating the first song recommendations weight corresponding first Before the step of weight coefficient and the second song recommendations weight corresponding second weighting coefficient, further includes:
The difference between the first song recommendations weight and the second song recommendations weight is calculated, and determines the difference Whether value is greater than preset threshold;
When the difference is less than preset threshold, executes and the first song recommendations weight is calculated based on the record number The step of corresponding first weighting coefficient and the second song recommendations weight corresponding second weighting coefficient, wherein described First weighting coefficient is less than second weighting coefficient;
When the difference is greater than or equal to preset threshold, corresponding first weighting coefficient of the difference and second are obtained Weighting coefficient, wherein first weighting coefficient is greater than second weighting coefficient.
In one embodiment, it whether there is the corresponding song title of the song files in the determination recommendation song list The step of after, the song recommendations method further include:
If the corresponding song title of the song files is not present in the recommendation song list, the song title is added It is single to recommendation song;
It is ranked up according to the corresponding recommendation weight of song titles all in the recommendation song list after addition, after being updated Recommendation sing it is single.
In one embodiment, described updated based on the first song recommendations weight and the song files recommends song single The step of after, the song recommendations method further include:
In recommendation song list in the updated, the song for the preset quantity for selecting song recommendations weight forward is recommended as target Song is single.
In addition, to achieve the above object, the present invention also provides a kind of playback equipment, the playback equipment is equipped with earphone, institute Earphone is stated equipped with eeg sensor, the playback equipment includes: memory, processor and is stored on the memory and can be The song recommendations program run on the processor is realized when the song recommendations program is executed by the processor and is appointed among the above The step of song recommendations method described in one.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium It is stored with song recommendations program on storage medium, is realized described in any of the above-described when the song recommendations program is executed by processor Song recommendations method the step of.
The present invention by obtaining the eeg sensor current detection when the playback equipment plays song files in real time User EEG signals, and the EEG signals are stored to default storage region, are then detecting the song files At the end of broadcasting, based on the EEG signals of the default storage region storage, the corresponding play time of the song files is obtained The first eeg data in section, then determines the absorbed angle value and allowance of the user based on first eeg data Value is then based on the absorbed angle value and loosens angle value the first song recommendations weight of calculating, is finally based on first song Recommending weight and the song files to update recommends song single, can be obtained when user listens to music according to the EEG signals of user To the recommendation weight of the music, and then according to recommending right value update to recommend song single, focus when listening to music according to user is realized It is worth and loosens the song of angle value recommended user hobby, improves user experience.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of playback equipment in hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of song recommendations method first embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
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.
As shown in Figure 1, Fig. 1 is the structural representation of playback equipment in hardware running environment that the embodiment of the present invention is related to Figure.
Playback equipment of the embodiment of the present invention can be PC, be also possible to smart phone, tablet computer, E-book reader, MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard Audio level 4) the packaged type terminal device having a display function such as player, portable computer.
As shown in Figure 1, the playback equipment may include: processor 1001, such as CPU, network interface 1004, user interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is for realizing the connection communication between these components. User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 optionally may include that the wired of standard connects Mouth, wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001 storage device.
Optionally, playback equipment can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, Voicefrequency circuit, WiFi module etc..Wherein, sensor such as optical sensor, motion sensor and other sensors.Specifically Ground, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to the bright of ambient light The brightness of display screen secretly is adjusted, proximity sensor can close display screen and/or backlight when playback equipment is moved in one's ear. As a kind of motion sensor, gravity accelerometer can detect all directions on (generally three axis) acceleration it is big It is small, it can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile playback equipment posture Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Certainly, broadcasting is set Standby to can also configure the other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
It will be understood by those skilled in the art that playback equipment structure shown in Fig. 1 does not constitute the limit to playback equipment It is fixed, it may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium Believe module, Subscriber Interface Module SIM and song recommendations program.
In playback equipment shown in Fig. 1, network interface 1004 is mainly used for connecting background server, with background server Carry out data communication;User interface 1003 is mainly used for connecting client (user terminal), carries out data communication with client;And locate Reason device 1001 can be used for calling the song recommendations program stored in memory 1005.
In the present embodiment, playback equipment is equipped with earphone, and the earphone is equipped with eeg sensor, the playback equipment packet It includes: memory 1005, processor 1001 and being stored on the memory 1005 and can be run on the processor 1001 Song recommendations program, wherein when processor 1001 calls the song recommendations program stored in memory 1005, and execute following behaviour Make:
When the playback equipment plays song files, the brain of the user of the eeg sensor current detection is obtained in real time Electric signal, and the EEG signals are stored to default storage region;
At the end of detecting that the song files play, based on the EEG signals of the default storage region storage, obtain Take the first eeg data in the corresponding play time section of the song files;
The absorbed angle value of the user is determined based on first eeg data and loosens angle value;
Based on the absorbed angle value and loosen angle value the first song recommendations weight of calculating;
Being updated based on the first song recommendations weight and the song files recommends song single.
Further, processor 1001 can call the song recommendations program stored in memory 1005, also execute following Operation:
It determines in the recommendation song list with the presence or absence of the corresponding song title of the song files;
If it exists, then based on the corresponding second song recommendations weight of the single acquisition song title of recommendation song;
Based on the first song recommendations weight and the second song recommendations weight, it is corresponding to calculate the song title Third song recommendations weight;
It is single based on recommendation song described in the third song recommendations right value update.
Further, processor 1001 can call the song recommendations program stored in memory 1005, also execute following Operation:
The corresponding recommendation weight of song title described in the recommendation song list is set by the third song recommendations weight;
It is ranked up according to the corresponding recommendation weight of song titles all in recommendation song list, to obtain updated push away It is single to recommend song.
Further, processor 1001 can call the song recommendations program stored in memory 1005, also execute following Operation:
Recommend the single record number for obtaining the song title of song based on described;
Based on described in the record number, the first song recommendations weight and the second song recommendations weight computing The corresponding third song recommendations weight of song title, and update the record number.
Further, processor 1001 can call the song recommendations program stored in memory 1005, also execute following Operation:
Corresponding first weighting coefficient of the first song recommendations weight and described the are calculated based on the record number Corresponding second weighting coefficient of two song recommendations weights;
Based on the first song recommendations weight described in first weighting coefficient, the second weighting coefficient and second song Recommend the corresponding third song recommendations weight of song title described in weight computing.
Further, processor 1001 can call the song recommendations program stored in memory 1005, also execute following Operation:
The difference between the first song recommendations weight and the second song recommendations weight is calculated, and determines the difference Whether value is greater than preset threshold;
When the difference is less than preset threshold, executes and the first song recommendations weight is calculated based on the record number The step of corresponding first weighting coefficient and the second song recommendations weight corresponding second weighting coefficient, wherein described First weighting coefficient is less than second weighting coefficient;
When the difference is greater than or equal to preset threshold, corresponding first weighting coefficient of the difference and second are obtained Weighting coefficient, wherein first weighting coefficient is greater than second weighting coefficient.
Further, processor 1001 can call the song recommendations program stored in memory 1005, also execute following Operation:
If the corresponding song title of the song files is not present in the recommendation song list, the song title is added It is single to recommendation song;
It is ranked up according to the corresponding recommendation weight of song titles all in the recommendation song list after addition, after being updated Recommendation sing it is single.
Further, processor 1001 can call the song recommendations program stored in memory 1005, also execute following Operation:
In recommendation song list in the updated, the song for the preset quantity for selecting song recommendations weight forward is recommended as target Song is single.
The present invention also provides a kind of song recommendations methods, are song recommendations method first of the present invention implementation referring to Fig. 2, Fig. 2 The flow diagram of example.
In the present embodiment, which is applied to the playback equipment equipped with earphone, and earphone is equipped with brain fax sense Device, when user wears earphone, the electrode contact of brain wave sensor will be in contact with user's ear inner skin, and then by being somebody's turn to do The EEG signals of electrode contact detection user.
The song recommendations method includes:
Step S100 obtains the eeg sensor current detection when the playback equipment plays song files in real time User EEG signals, and the EEG signals are stored to default storage region;
In the present embodiment, it when the playback equipment plays song files, is currently examined by obtaining eeg sensor first The EEG signals of the user of survey, to determine whether active user wears earphone and whether earphone wearing is normal, if normal, then The EEG signals of the user of the eeg sensor current detection are obtained in real time, and the EEG signals are stored to default storage Region.
Step S200, at the end of detecting that the song files play, the brain based on the default storage region storage Electric signal obtains the first eeg data in the corresponding play time section of the song files;
In the present embodiment, if detecting, currently playing song files broadcasting terminates, and obtains in default storage region The first eeg data in the corresponding play time section of the song files is taken, specifically, according to the attribute information of the song files It determines the play time section i.e. playing duration of the song files, is played before then obtaining current time in default storage region EEG signals i.e. the first eeg data in period.
Step S300 determines the absorbed angle value of the user based on first eeg data and loosens angle value;
In the present embodiment, existing focus and allowance algorithm can be used, according to the determination of the first eeg data The absorbed angle value of user and loosen angle value.
Step S400 based on the absorbed angle value and loosens angle value the first song recommendations weight of calculating;
Step S500 is updated based on the first song recommendations weight and the song files and recommends song single.
In the present embodiment, when obtaining being absorbed in angle value and loosening angle value, angle value is absorbed according to this and loosens angle value The first song recommendations weight is calculated, specifically, the absorbed corresponding weighted value of angle value is obtained respectively and loosens the corresponding power of angle value Weight values according to absorbed angle value, loosen angle value and corresponding weighted value is weighted to obtain the first song recommendations weight.
When obtaining the first song recommendations weight, pushed away according to the first song recommendations weight and song files update It is single to recommend song, specifically, if there is no song titles corresponding to the song files in current recommendation song list, by the song title It is single to be added to recommendation song, and individual palpation is sung to the recommendation after addition and is ranked up according to song recommendations weight;If it exists, then based on this New recommendation weight, and base is calculated in the corresponding recommendation weight of the song title in one song recommendations weight and recommendation song list In the new recommendation weight and the recommendation weight of other songs in song list is recommended to be ranked up to obtain new recommendation song list.
Further, in one embodiment, after step S500, the song recommendations method further include: pushing away in the updated It recommends in song list, the song for the preset quantity for selecting song recommendations weight forward recommends song single as target.
In the present embodiment, when with newly recommending to sing single, it is single that updated recommendation song is based on according to descending sequence In the song recommendations weights of each song files song files are ranked up, and weight will be recommended in the recommendation song list after sequence The song of forward preset quantity recommends song single as target, recommends song single so that playback equipment plays the target.
The song recommendations method that the present embodiment proposes, by being obtained in real time when the playback equipment plays song files The EEG signals of the user of the eeg sensor current detection, and the EEG signals are stored to default storage region, it connects At the end of detecting that the song files play, based on the EEG signals of the default storage region storage, described in acquisition The first eeg data in the corresponding play time section of song files, then determines the user based on first eeg data Absorbed angle value and loosen angle value, be then based on the absorbed angle value and loosen angle value calculate the first song recommendations weight, Finally being updated based on the first song recommendations weight and the song files recommends song single, can when user listens to music, The recommendation weight of the music is obtained according to the EEG signals of user, and then according to recommending right value update to recommend song single, realizes basis Absorbed angle value when user listens to music and the song for loosening angle value recommended user hobby, improve user experience.
Based on first embodiment, the second embodiment of song recommendations method of the present invention, in the present embodiment, step are proposed S500 includes:
Step S510 is determined in the recommendation song list with the presence or absence of the corresponding song title of the song files;
Step S520, and if it exists, then based on corresponding second song recommendations of the single acquisition song title of recommendation song Weight;
Step S530 is based on the first song recommendations weight and the second song recommendations weight, calculates the song Song name claims corresponding third song recommendations weight;
Step S540, it is single based on recommending to sing described in the third song recommendations right value update.
Under normal circumstances, recommend the storage address in song list including song title and the song, it being capable of root when playing The song is played according to the corresponding storage address of the song title.
In the present embodiment, it determines and recommends to whether there is the corresponding song title of the song files in song list, and if it exists, then Determine the corresponding second song recommendations weight of the song files in recommendation song list, and according to the first song recommendations weight and the Two song recommendations weight computings obtain third song recommendations weight, finally based on recommendation song described in third song recommendations right value update It is single.And then can accurately determine the recommendation weight of the song files, for example, may opened when user listens a certain song for a long time User prefers to listen when beginning, and user is out of conceit with the song over time, and then when hearing the song again, The absorbed angle value of user and loosen angle value and there is more apparent variation compared with before, current song recommendations weight is therewith Preceding there is also biggish difference, therefore, recommend the recommendation weight of the song in song list by updating, can reduce the song Recommend weight, and then reduces the number that user listens the song.
Further, in one embodiment, step S540 includes:
The corresponding recommendation weight of song title described in the recommendation song list is set by the third song recommendations weight;
It is ranked up according to the corresponding recommendation weight of song titles all in recommendation song list, to obtain updated push away It is single to recommend song.
The corresponding recommendation weight of song title described in list is sung by setting the recommendation for third song recommendations weight, It can be accurately obtained the recommendation weight for recommending the song files in song list, all song titles pair in list are sung according to the recommendation The recommendation weight answered is ranked up, and the song files of user preferences can be set to the forefront for recommending song single, further increased User experience.
The song recommendations method that the present embodiment proposes, being sung by the determination recommendation whether there is the song files in list Corresponding song title is then if it exists then pushed away based on single corresponding second song of the song title that obtains of recommendation song Weight is recommended, the first song recommendations weight and the second song recommendations weight is then based on, calculates the song title Corresponding third song recommendations weight is then based on recommendation song list described in the third song recommendations right value update, realizes root Recommend song files present in song list according to the first song recommendations right value update, the song in recommendation song list can be accurately obtained The recommendation weight of file, and then the song files of user preferences can be set to the forefront for recommending song single, it further improves User experience.
Based on second embodiment, the 3rd embodiment of song recommendations method of the present invention, in the present embodiment, step are proposed S530 includes:
Step S531 recommends the single record number for obtaining the song title of song based on described;
Step S532, based on the record number, the first song recommendations weight and second song recommendations power Value calculates the corresponding third song recommendations weight of the song title, and updates the record number.
In the present embodiment, when the song in song list being recommended to be played every time, the record number of the song title is updated, When calculating third song recommendations weight, the record number of the song title is obtained, and based on the record number, first song Song recommends the corresponding third song recommendations weight of song title described in weight and the second song recommendations weight computing, The record number is updated when to the third song recommendations weight, and then improves of third song recommendations weight and user preferences With property, so that recommending the biggish song files of song recommendations weight in song list is the more favorite song of user, further increase User experience.
The song recommendations method that the present embodiment proposes, by recommending the single record for obtaining the song title of song based on described Number then states record number, the first song recommendations weight and the second song recommendations weight computing based on place The corresponding third song recommendations weight of the song title, and the record number is updated, and then improve third song recommendations power The matching of value and user preferences, so that recommending the biggish song files of song recommendations weight in song list is that user is more favorite Song further increases user experience.
Based on 3rd embodiment, the fourth embodiment of song recommendations method of the present invention, in the present embodiment, step are proposed S532 includes:
Step S5321 calculates corresponding first weighting coefficient of the first song recommendations weight based on the record number, And corresponding second weighting coefficient of the second song recommendations weight;
Step S5322, based on the first song recommendations weight and institute described in first weighting coefficient, the second weighting coefficient State the corresponding third song recommendations weight of song title described in the second song recommendations weight computing.
In the present embodiment, when getting the record number, first song is calculated based on the record number and is pushed away Corresponding first weighting coefficient of weight and corresponding second weighting coefficient of the second song recommendations weight are recommended, specifically, the One weighting coefficient=1/ (record number+1), the is weighting coefficient=record number/(record number+1).
When obtaining the first weighting coefficient, the second weighting coefficient, it is based on first weighting coefficient, the second weighting coefficient institute State the corresponding third song recommendations of song title described in the first song recommendations weight and the second song recommendations weight computing Weight, specifically, third song recommendations weight=first weighting coefficient * the first song recommendations the+the second weighting coefficient of weight * second Song recommendations weight.And then the matching of third song recommendations weight and user preferences is improved, so that song in song list is recommended to push away Recommending the biggish song files of weight is the more favorite song of user, further increases user experience.
Further, in one embodiment, before step S5321, further includes:
The difference between the first song recommendations weight and the second song recommendations weight is calculated, and determines the difference Whether value is greater than preset threshold;
When the difference is less than preset threshold, executes and the first song recommendations weight is calculated based on the record number The step of corresponding first weighting coefficient and the second song recommendations weight corresponding second weighting coefficient, wherein described First weighting coefficient is less than second weighting coefficient;
When the difference is greater than or equal to preset threshold, corresponding first weighting coefficient of the difference and second are obtained Weighting coefficient, wherein first weighting coefficient is greater than second weighting coefficient.
For a certain song, when user listens a certain song for a long time, it may prefer in user at first It listens, user is out of conceit with the song over time, and then when hearing the song again, the absorbed angle value of user and puts There is more apparent variation compared with before in bulking value, current song recommendations weight with before there is also biggish differences Not.
In the present embodiment, the difference between the first song recommendations weight and the second song recommendations weight is calculated Value, and determine whether the difference is greater than preset threshold, if difference is less than preset threshold, S5321 is thened follow the steps, if difference is big In or be equal to preset threshold, then obtain corresponding first weighting coefficient of the difference and the second weighting coefficient, wherein described the One weighting coefficient is greater than second weighting coefficient, specifically, first weighting coefficient can be 0.6, second weighting coefficient It is 0.4 etc..And then when user does not like to listen current song files, third song is reduced by the first weighting coefficient of raising and is pushed away Weight is recommended, and then reduces the song files and is recommending the sequence in song list.
The song recommendations method that the present embodiment proposes is weighed by calculating first song recommendations based on the record number It is worth corresponding first weighting coefficient and corresponding second weighting coefficient of the second song recommendations weight, then based on described Described in first song recommendations weight and the second song recommendations weight computing described in first weighting coefficient, the second weighting coefficient The corresponding third song recommendations weight of song title can accurately calculate third according to the first weighting coefficient, the second weighting coefficient Song recommendations weight, and then the matching of third song recommendations weight and user preferences is improved, so that song in song list is recommended to push away Recommending the biggish song files of weight is the more favorite song of user, further increases user experience.
Based on second embodiment, the 5th embodiment of song recommendations method of the present invention, in the present embodiment, step are proposed After S510, further includes:
Step S550, if the corresponding song title of the song files is not present in recommendation song list, by the song Song name claims to be added to the recommendation song list;
Step S560 is ranked up according to the corresponding recommendation weight of song titles all in the recommendation song list after addition, with It is single to obtain updated recommendation song.
In the present embodiment, if recommending that the corresponding song title of the song files is not present in song list, by the song Song name claims to be added to that the recommendation song is single, and according to the corresponding recommendation weight of song titles all in the recommendation song list after addition into Row sequence, it is single to obtain updated recommendation song, and then the song files of user preferences are set to the forefront for recommending song single, with Convenient for the subsequent preferential song for playing recommendation and singing single forefront, user experience is further improved.
The song recommendations method that the present embodiment proposes, if being sung in list by the recommendation, there is no the song files to correspond to Song title, then by the song title be added to the recommendation sing it is single, then according in the recommendation song list after addition The corresponding recommendation weight of all song titles is ranked up, single to obtain updated recommendation song, and then by the song of user preferences Bent file is set to the forefront for recommending song single, in order to the subsequent preferential song for playing recommendation and singing single forefront, further improves User experience.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium On be stored with song recommendations program, following operation is realized when the song recommendations program is executed by processor:
Song recommendations method, which is characterized in that applied to the playback equipment for being equipped with earphone, the earphone is equipped with brain fax sense Device, the song recommendations method the following steps are included:
At the end of detecting that the song files play, based on the EEG signals of the default storage region storage, obtain Take the first eeg data in the corresponding play time section of the song files;
The absorbed angle value of the user is determined based on first eeg data and loosens angle value;
Based on the absorbed angle value and loosen angle value the first song recommendations weight of calculating;
Being updated based on the first song recommendations weight and the song files recommends song single.
Further, following operation is also realized when the song recommendations program is executed by processor:
It determines in the recommendation song list with the presence or absence of the corresponding song title of the song files;
If it exists, then based on the corresponding second song recommendations weight of the single acquisition song title of recommendation song;
Based on the first song recommendations weight and the second song recommendations weight, it is corresponding to calculate the song title Third song recommendations weight;
It is single based on recommendation song described in the third song recommendations right value update.
Further, following operation is also realized when the song recommendations program is executed by processor:
The corresponding recommendation weight of song title described in the recommendation song list is set by the third song recommendations weight;
It is ranked up according to the corresponding recommendation weight of song titles all in recommendation song list, to obtain updated push away It is single to recommend song.
Further, following operation is also realized when the song recommendations program is executed by processor:
Recommend the single record number for obtaining the song title of song based on described;
Based on described in the record number, the first song recommendations weight and the second song recommendations weight computing The corresponding third song recommendations weight of song title, and update the record number.
Further, following operation is also realized when the song recommendations program is executed by processor:
Corresponding first weighting coefficient of the first song recommendations weight and described the are calculated based on the record number Corresponding second weighting coefficient of two song recommendations weights;
Based on the first song recommendations weight described in first weighting coefficient, the second weighting coefficient and second song Recommend the corresponding third song recommendations weight of song title described in weight computing.
Further, following operation is also realized when the song recommendations program is executed by processor:
The difference between the first song recommendations weight and the second song recommendations weight is calculated, and determines the difference Whether value is greater than preset threshold;
When the difference is less than preset threshold, executes and the first song recommendations weight is calculated based on the record number The step of corresponding first weighting coefficient and the second song recommendations weight corresponding second weighting coefficient, wherein described First weighting coefficient is less than second weighting coefficient;
When the difference is greater than or equal to preset threshold, corresponding first weighting coefficient of the difference and second are obtained Weighting coefficient, wherein first weighting coefficient is greater than second weighting coefficient.
Further, following operation is also realized when the song recommendations program is executed by processor:
If the corresponding song title of the song files is not present in the recommendation song list, the song title is added It is single to recommendation song;
It is ranked up according to the corresponding recommendation weight of song titles all in the recommendation song list after addition, after being updated Recommendation sing it is single.
Further, following operation is also realized when the song recommendations program is executed by processor:
In recommendation song list in the updated, the song for the preset quantity for selecting song recommendations weight forward is recommended as target Song is single.
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 system 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 system 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 system.
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 one as described above In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone, Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of song recommendations method, which is characterized in that applied to the playback equipment for being equipped with earphone, the earphone is equipped with brain fax Sensor, the song recommendations method the following steps are included:
When the playback equipment plays song files, the brain telecommunications of the user of the eeg sensor current detection is obtained in real time Number, and the EEG signals are stored to default storage region;
At the end of detecting that the song files play, based on the EEG signals of the default storage region storage, institute is obtained State the first eeg data in the corresponding play time section of song files;
The absorbed angle value of the user is determined based on first eeg data and loosens angle value;
Based on the absorbed angle value and loosen angle value the first song recommendations weight of calculating;
Being updated based on the first song recommendations weight and the song files recommends song single.
2. song recommendations method as described in claim 1, which is characterized in that it is described based on the first song recommendations weight with And the step that the song files update recommends song single includes:
It determines in the recommendation song list with the presence or absence of the corresponding song title of the song files;
If it exists, then based on the corresponding second song recommendations weight of the single acquisition song title of recommendation song;
Based on the first song recommendations weight and the second song recommendations weight, the song title corresponding is calculated Three song recommendations weights;
It is single based on recommendation song described in the third song recommendations right value update.
3. song recommendations method as claimed in claim 2, which is characterized in that described to be based on the third song recommendations weight more The new recommendation sings single step and includes:
The corresponding recommendation weight of song title described in the recommendation song list is set by the third song recommendations weight;
It is ranked up according to the corresponding recommendation weight of song titles all in recommendation song list, to obtain updated recommendation song It is single.
4. song recommendations method as claimed in claim 2, which is characterized in that it is described based on the first song recommendations weight with And the second song recommendations weight, the step of calculating the song title corresponding third song recommendations weight, include:
Recommend the single record number for obtaining the song title of song based on described;
Based on song described in the record number, the first song recommendations weight and the second song recommendations weight computing The corresponding third song recommendations weight of title, and update the record number.
5. song recommendations method as claimed in claim 4, which is characterized in that described to be based on the record number, described first The corresponding third song recommendations weight of song title described in song recommendations weight and the second song recommendations weight computing Step includes:
Corresponding first weighting coefficient of the first song recommendations weight and second song are calculated based on the record number Song recommends corresponding second weighting coefficient of weight;
Based on the first song recommendations weight described in first weighting coefficient, the second weighting coefficient and second song recommendations The corresponding third song recommendations weight of song title described in weight computing.
6. song recommendations method as claimed in claim 2, which is characterized in that described based on record number calculating described the Corresponding first weighting coefficient of one song recommendations weight and corresponding second weighting coefficient of the second song recommendations weight Before step, further includes:
The difference between the first song recommendations weight and the second song recommendations weight is calculated, and determines that the difference is It is no to be greater than preset threshold;
When the difference is less than preset threshold, execute corresponding based on record number calculating the first song recommendations weight The first weighting coefficient and the second song recommendations weight corresponding second weighting coefficient the step of, wherein described first Weighting coefficient is less than second weighting coefficient;
When the difference is greater than or equal to preset threshold, corresponding first weighting coefficient of the difference and the second weighting are obtained Coefficient, wherein first weighting coefficient is greater than second weighting coefficient.
7. song recommendations method as claimed in claim 2, which is characterized in that whether there is in the determination recommendation song list After the step of song files corresponding song title, the song recommendations method further include:
If the corresponding song title of the song files is not present in the recommendation song list, the song title is added to institute It is single to state recommendation song;
It is ranked up according to the corresponding recommendation weight of song titles all in the recommendation song list after addition, to obtain updated push away It is single to recommend song.
8. the song recommendations method as described in any one of claims 1 to 7, which is characterized in that described based on first song After song recommends weight and the song files to update the step for recommending song single, the song recommendations method further include:
In recommendation song list in the updated, the song for the preset quantity for selecting song recommendations weight forward recommends to sing as target It is single.
9. a kind of playback equipment, which is characterized in that the playback equipment is equipped with earphone, and the earphone is equipped with eeg sensor, institute Playback equipment is stated to include: memory, processor and be stored in the song that can be run on the memory and on the processor Recommended program realizes such as song described in any item of the claim 1 to 8 when the song recommendations program is executed by the processor The step of bent recommended method.
10. a kind of computer readable storage medium, which is characterized in that be stored with song on the computer readable storage medium and push away Program is recommended, such as song recommendations described in any item of the claim 1 to 8 are realized when the song recommendations program is executed by processor The step of method.
CN201910094743.2A 2019-01-30 2019-01-30 Song recommendations method, playback equipment and computer readable storage medium Pending CN109857899A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910094743.2A CN109857899A (en) 2019-01-30 2019-01-30 Song recommendations method, playback equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910094743.2A CN109857899A (en) 2019-01-30 2019-01-30 Song recommendations method, playback equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN109857899A true CN109857899A (en) 2019-06-07

Family

ID=66897034

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910094743.2A Pending CN109857899A (en) 2019-01-30 2019-01-30 Song recommendations method, playback equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109857899A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112354064A (en) * 2020-11-30 2021-02-12 上海交通大学 Music auxiliary treatment system
CN113536027A (en) * 2021-07-27 2021-10-22 咪咕音乐有限公司 Music recommendation method, device, equipment and computer readable storage medium
CN113520392A (en) * 2020-04-17 2021-10-22 王瀚迪 Method for evaluating influence of music on learning concentration degree based on brain-computer interface technology
CN114281191A (en) * 2021-12-20 2022-04-05 咪咕音乐有限公司 Song auditioning method, terminal equipment and readable storage medium
CN116828535A (en) * 2023-08-30 2023-09-29 太一云境技术有限公司 Audio sharing method and system based on wireless transmission

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102654860A (en) * 2011-03-01 2012-09-05 北京彩云在线技术开发有限公司 Personalized music recommendation method and system
CN105045898A (en) * 2015-08-03 2015-11-11 东南大学 Electroencephalographic earphone based dynamic personalized song recommendation system and method therefor
US20170161381A1 (en) * 2015-12-04 2017-06-08 Chiun Mai Communication Systems, Inc. Electronic device and music play system and method
CN107423352A (en) * 2017-05-25 2017-12-01 杭州回车电子科技有限公司 Music recommends method and system
CN107785010A (en) * 2017-09-15 2018-03-09 广州酷狗计算机科技有限公司 Singing songses evaluation method, equipment, evaluation system and readable storage medium storing program for executing
CN109271549A (en) * 2018-09-30 2019-01-25 百度在线网络技术(北京)有限公司 Song recommendations method, apparatus, terminal and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102654860A (en) * 2011-03-01 2012-09-05 北京彩云在线技术开发有限公司 Personalized music recommendation method and system
CN105045898A (en) * 2015-08-03 2015-11-11 东南大学 Electroencephalographic earphone based dynamic personalized song recommendation system and method therefor
US20170161381A1 (en) * 2015-12-04 2017-06-08 Chiun Mai Communication Systems, Inc. Electronic device and music play system and method
CN107423352A (en) * 2017-05-25 2017-12-01 杭州回车电子科技有限公司 Music recommends method and system
CN107785010A (en) * 2017-09-15 2018-03-09 广州酷狗计算机科技有限公司 Singing songses evaluation method, equipment, evaluation system and readable storage medium storing program for executing
CN109271549A (en) * 2018-09-30 2019-01-25 百度在线网络技术(北京)有限公司 Song recommendations method, apparatus, terminal and computer readable storage medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113520392A (en) * 2020-04-17 2021-10-22 王瀚迪 Method for evaluating influence of music on learning concentration degree based on brain-computer interface technology
CN112354064A (en) * 2020-11-30 2021-02-12 上海交通大学 Music auxiliary treatment system
CN112354064B (en) * 2020-11-30 2021-11-02 上海交通大学 Music auxiliary treatment system
CN113536027A (en) * 2021-07-27 2021-10-22 咪咕音乐有限公司 Music recommendation method, device, equipment and computer readable storage medium
CN114281191A (en) * 2021-12-20 2022-04-05 咪咕音乐有限公司 Song auditioning method, terminal equipment and readable storage medium
CN116828535A (en) * 2023-08-30 2023-09-29 太一云境技术有限公司 Audio sharing method and system based on wireless transmission
CN116828535B (en) * 2023-08-30 2023-11-14 太一云境技术有限公司 Audio sharing method and system based on wireless transmission

Similar Documents

Publication Publication Date Title
CN109857899A (en) Song recommendations method, playback equipment and computer readable storage medium
CN108632658B (en) Bullet screen display method and terminal
CN107707828B (en) A kind of method for processing video frequency and mobile terminal
CN103914502B (en) The method and its terminal of the intelligent search service of use situation identification
CN111338725B (en) Interface layout method and related product
CN108228882B (en) recommendation method and terminal device for song audition fragments
CN109558512A (en) A kind of personalized recommendation method based on audio, device and mobile terminal
CN108509660A (en) A kind of broadcasting object recommendation method and terminal device
CN110458655B (en) Shop information recommendation method and mobile terminal
US20180342231A1 (en) Sound effect parameter adjustment method, mobile terminal and storage medium
CN107633098A (en) A kind of content recommendation method and mobile terminal
CN108090140A (en) A kind of playback of songs method and mobile terminal
US20190342444A1 (en) Automatic Wallpaper Setting Method, Terminal Device, and Graphical User Interface
CN110830368B (en) Instant messaging message sending method and electronic equipment
CN111798811B (en) Screen backlight brightness adjusting method and device, storage medium and electronic equipment
CN111444425A (en) Information pushing method, electronic equipment and medium
CN114154068A (en) Media content recommendation method and device, electronic equipment and storage medium
CN108769787A (en) A kind of automatic caching method of video, terminal and computer readable storage medium
CN110971507B (en) Information display method and electronic equipment
CN108230104A (en) Using category feature generation method, mobile terminal and readable storage medium storing program for executing
CN108307039A (en) A kind of application message methods of exhibiting and mobile terminal
CN110765170A (en) User portrait generation method and wearable device
CN110870322B (en) Information processing apparatus, information processing method, and computer program
CN107948408B (en) Media file playing method and device
CN111669660B (en) Bullet screen information processing method and device and electronic equipment

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: 20190607