CN112883222A - Song recommendation playing method, electronic equipment and computer readable storage medium - Google Patents

Song recommendation playing method, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN112883222A
CN112883222A CN202110080674.7A CN202110080674A CN112883222A CN 112883222 A CN112883222 A CN 112883222A CN 202110080674 A CN202110080674 A CN 202110080674A CN 112883222 A CN112883222 A CN 112883222A
Authority
CN
China
Prior art keywords
song
value
noise
played
player
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.)
Granted
Application number
CN202110080674.7A
Other languages
Chinese (zh)
Other versions
CN112883222B (en
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.)
China Mobile Communications Group Co Ltd
MIGU Music Co Ltd
MIGU Culture Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
MIGU Music Co Ltd
MIGU Culture 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 China Mobile Communications Group Co Ltd, MIGU Music Co Ltd, MIGU Culture Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202110080674.7A priority Critical patent/CN112883222B/en
Publication of CN112883222A publication Critical patent/CN112883222A/en
Application granted granted Critical
Publication of CN112883222B publication Critical patent/CN112883222B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • G06F16/635Filtering based on additional data, e.g. user or group profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/68Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/683Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content

Abstract

The invention discloses a song recommending and playing method, electronic equipment and a computer readable storage medium, relates to the technical field of communication, and aims to solve the problem of recommending playable songs to a user from massive songs without influencing the immersive experience of the user. The method comprises the following steps: determining a song noise parameter of a current playing environment; acquiring a noise value of a song to be played; and determining whether the song to be played is the recommended song to be played or not according to the relation between the noise value of the song to be played and the song noise parameter. According to the embodiment of the invention, songs which are possibly inaudible can be automatically filtered out based on the current playing environment of the user without manual participation of the user, and the song recommendation can be carried out for the user under the condition that the immersive music listening atmosphere of the user is not influenced.

Description

Song recommendation playing method, electronic equipment and computer readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method for recommending and playing songs, an electronic device, and a computer-readable storage medium.
Background
In recent years, with the development of terminal and internet technologies, the global digital entertainment industry is continuously developed, online music is developed particularly rapidly, and the cumulative song quantity exceeds one million. With the popularization of networks, the production of songs is more and more convenient, and the quantity of songs in the future will exponentially increase. While the song volumes are accumulated, the music user also shows obvious personalized music preferences.
At present, a popular song list recommendation scheme is to recommend songs according to user touch operation behaviors, but the scheme requires the user to perform touch operation, and the user behaviors can influence the immersive music listening experience of the user. Therefore, how to recommend a playable song to a user from a large number of songs without affecting the immersive music listening experience of the user is a problem to be solved at present.
Disclosure of Invention
Embodiments of the present invention provide a method for recommending and playing songs, an electronic device, and a computer-readable storage medium, so as to solve a problem how to recommend playable songs from a large number of songs to a user without affecting the immersive music listening experience of the user.
In a first aspect, an embodiment of the present invention provides a method for recommending and playing a song, including:
determining a song noise parameter of a current playing environment;
acquiring a noise value of a song to be played;
and determining whether the song to be played is a recommended song to be played or not according to the relation between the noise value of the song to be played and the song noise parameter.
Optionally, the determining the song noise parameter of the current playing environment includes:
determining a first value according to the environmental noise value of the current environment of the player, the noise reduction level of the earphone and the current playing volume value of the player;
and determining the song noise parameter according to the first value.
Optionally, the determining a first value according to the environmental noise value of the current environment of the player, the noise reduction level of the earphone, and the current playing volume value of the player includes:
according to the formula:
Figure BDA0002909153090000022
calculating a first value;
wherein m is a first value, x is the noise reduction level of the earphone, y is the environmental noise value of the current environment of the player, and z is the current playing volume value of the player.
Optionally, the determining the song noise parameter according to the first value includes:
taking the sum of the first value and a first preset value as the maximum value of the song noise parameter;
taking the difference between the first value and a second preset value as the minimum value of the song noise parameter;
and taking the maximum value as the lower limit of the song noise parameter, and taking the minimum value as the upper limit of the song noise parameter to form the song noise parameter.
Optionally, before determining the first value according to the environmental noise value of the current environment where the player is located, the noise reduction level of the earphone, and the current playing volume value of the player, the method further includes:
acquiring a noise decibel value of the current environment of the player;
and determining the environmental noise value of the current environment of the player according to the noise decibel value.
Optionally, the determining, according to the decibel value of the noise, an environmental noise value of an environment where the player is currently located includes:
according to the formula:
Figure BDA0002909153090000021
calculating the environmental noise value of the current environment of the player;
wherein y is the environmental noise value of the current environment of the player, and a is the noise decibel value of the current environment of the player.
Optionally, the noise value of the song to be played is determined according to the maximum frequency value of the song and is marked in advance.
Optionally, the determining, according to the relationship between the noise value of the song to be played and the song noise parameter, whether the song to be played is a recommended song includes:
if the noise value of the currently polled song to be played is located in the song noise parameter, determining that the song to be played is a recommended song to be played; and if the noise value of the currently polled song to be played is not in the song noise parameter, determining that the song to be played is not the recommended song to be played.
In a second aspect, an embodiment of the present invention further provides an electronic device, including: a transceiver, a memory, a processor, and a computer program stored on the memory and executable on the processor; the processor is configured to read a program in the memory to implement the steps in the method for recommending and playing songs as described above.
In a third aspect, the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the steps in the method for recommending and playing songs as described above.
In the embodiment of the invention, the noise parameter of the song of the current playing environment is determined; acquiring a noise value of the song to be played; and further determining whether the song to be played is the recommended song to be played according to the relationship between the noise value of the song to be played and the song noise parameter. The method and the device realize that the played audio content is dynamically adjusted based on the current playing environment of the user without the premise of manual participation of the user, automatically filter out the songs which are possibly inaudible, and can realize song recommendation for the user under the condition of not influencing the immersive music listening atmosphere of the user.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of a method for recommending songs for playing according to an embodiment of the present invention;
fig. 2 is a block diagram of a song recommendation playback apparatus according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a song recommendation playing method according to an embodiment of the present invention, and as shown in fig. 1, the method includes the following steps:
step 101, determining a song noise parameter of a current playing environment;
in this step, the current playing environment includes but is not limited to: the noise condition of the current environment of the player, the noise reduction level of a noise reduction earphone connected with the player, the current playing volume value of the player and the like. The song noise parameter is a song noise parameter that can be heard by the user in the current playing environment.
The song noise parameter may be a specific value or a parameter interval.
Step 102, acquiring a noise value of a song to be played;
in this step, as an implementation manner, the noise value of the song to be played is determined and marked in advance according to the maximum frequency value of the song.
And 103, determining whether the song to be played is a recommended song to be played or not according to the relationship between the noise value of the song to be played and the song noise parameter.
In this step, according to the relationship between the noise value of the song to be played and the song noise parameter, the song to be played, which may not be heard in the current playing environment in the song library, is excluded. For example, songs to be played that have noise values less than and/or greater than the noise parameter of the song are excluded from the song library.
According to the embodiment, the played audio content can be dynamically adjusted based on the current playing environment of the user without the premise of manual participation of the user, songs which are possibly inaudible are automatically filtered, song recommendation can be performed for the user without influencing the immersive music listening atmosphere of the user, and the song recommendation can be performed without reporting user behaviors and analyzing user data in the recommendation process, so that the time period is short, and the timeliness is high.
Furthermore, it is understood that playing a content with a low volume in a noisy environment may result in the user not hearing the content, or using a higher volume to hear the content may result in impaired hearing. On the contrary, if a large volume content is played in a relatively quiet scene, the hearing may be impaired, and therefore, the above embodiment can also protect the hearing of the user more effectively by determining a song with a proper noise value for the user to recommend according to the relationship between the noise parameter of the song in the current playing environment and the noise value of the song.
In an embodiment, the step 101 includes:
determining a first value according to the environmental noise value of the current environment of the player, the noise reduction level of the earphone and the current playing volume value of the player;
and determining the song noise parameter according to the first value.
For example, the noise reduction level of the headset may be manually scored for each brand of noise reduction headset, and determined after being allocated, for example, the noise reduction level of the headset may be set to an interval integer value of 1 to 3, where 1 represents no noise reduction, 3 represents a part of the headsets with the best noise reduction headset effect at present, and the remaining headset effects are 2. Wherein, the better the noise reduction effect, the larger the interval value.
Illustratively, the current playing volume value of the player is a system value, which can be obtained by the used player, and is generally divided into 10 levels or 100 levels. In practical application, if the volume allowed by the mobile phone of the user is 1-10, the value is expanded by 10 times; if the volume allowed by the user's handset is 1-100, the value is used directly. Wherein, the larger the volume, the larger the interval value.
For example, for the ambient noise value, the decibel value of the noise in the current environment of the player may be obtained through the earphone microphone or the mobile phone microphone, and the ambient noise value is further obtained according to the decibel value of the noise.
As an implementation manner, before determining the first value according to the environmental noise value of the current environment where the player is located, the noise reduction level of the earphone, and the current playing volume value of the player, the method further includes:
acquiring a noise decibel value of the current environment of the player;
and determining the environmental noise value of the current environment of the player according to the noise decibel value.
Specifically, the noise decibel value a of the current environment can be obtained from the earphone microphone or the mobile phone microphone, and further, according to the formula:
Figure BDA0002909153090000051
calculating the environmental noise value of the current environment of the player;
wherein y is the environmental noise value of the current environment of the player, and a is the noise decibel value of the current environment of the player.
This implementationIn the example, according to the regulations on noise and the acceptable decibel range of human ears, the decibel value range of noise of the environment can be set as follows: interval integer values of 1-100. In practical application, the method can be used for calculating
Figure BDA0002909153090000052
And then rounding up to obtain y which is an interval integer value of 1-10, wherein the interval value is larger in the environment with larger noise.
Specifically, based on the above embodiment, determining the first value according to the ambient noise value of the current environment where the player is located, the noise reduction level of the headphone, and the current playing volume value of the player includes:
according to the formula:
Figure BDA0002909153090000053
calculating a first value;
wherein m is a first value, x is the noise reduction level of the earphone, y is the environmental noise value of the current environment of the player, and z is the current playing volume value of the player.
In this embodiment, by calculating x + ln (y) + ln (z), and rounding down to obtain a first value, the noise value of the surrounding environment where the user player is located, the volume value of the player, and the noise reduction level value of the noise reduction headphone are taken into consideration comprehensively, and the first value and the noise value of the song can be set to be an interval integer value of 1 to 9 in a unified manner.
In one embodiment, to facilitate the system to easily mark the noise value of a song in a song library, the noise value may be represented according to the formula:
Figure BDA0002909153090000061
determining a noise value corresponding to the song; wherein n is the noise value corresponding to the song, and h is the maximum frequency value of the song.
In this embodiment, since the frequency range of the song is certainly in the interval when the frequency of the sound audible to the human ear is 20hz to 20khz, the interval range of the song frequency value is reduced by calculation
Figure BDA0002909153090000062
After rounding up, the noise value of the song can be calculated better and faster, and the frequency range of the song is narrowed to an integer interval value of 1-9. Wherein the larger the noise value of the song, the higher the value.
Specifically, the determining the song noise parameter according to the first value includes:
taking the sum of the first value and a first preset value as the maximum value of the song noise parameter;
taking the difference between the first value and a second preset value as the minimum value of the song noise parameter;
and taking the maximum value as the lower limit of the song noise parameter, and taking the minimum value as the upper limit of the song noise parameter to form the song noise parameter.
Illustratively, based on the interval values of the parameters, a maximum value can be obtained by adding 1 to the first value m, and a range interval can be obtained as the song noise parameter according to the maximum value and the minimum value from subtracting 1 from the first value m to obtain a minimum value. It can be understood that the interval value of the song noise parameter is not too large or too small, and too large may result in too many songs that can be recommended to play, failing to achieve the filtering effect, and too small may result in no songs that can be recommended to play.
In an embodiment, the step 103 includes:
if the noise value of the currently polled song to be played is located in the song noise parameter, determining that the song to be played is a recommended song to be played; and if the noise value of the currently polled song to be played is not in the song noise parameter, determining that the song to be played is not the recommended song to be played.
Illustratively, the recommendation process may include: polling songs in the current playing list, and playing the songs if the noise value n of the songs belongs to the interval of the noise parameters of the songs; skipping the song if the noise value n of the song does not belong to the interval of the noise parameter of the song; if the playlist is empty or the current playlist has been polled, a new batch of songs is obtained and polling continues.
For convenience of understanding, the song recommendation playing method according to the embodiment of the present invention is exemplarily described below with reference to specific application scenarios.
Now, assuming that there is a path where a certain user needs to take a bus first and then walk a relatively quiet way during the trip to home, and noise reduction headphones are used during the entire trip to home, the recommended playing method of the song may include:
when a user takes a bus, noise in the bus mainly comprises hum of other passengers, the sound emitted by the passenger watching equipment, bus stop announcement sound, bus tire noise and the like, and scene noise is complex.
When the user plays audio contents, the noise reduction earphone of the user can acquire the frequency of the sound on the bus under the current playing environment, and the frequency and the formula are used for obtaining the frequency
Figure BDA0002909153090000071
Obtaining a noise value (an environment noise value of the current environment where the player is located) on the current bus, and assuming that the noise value is 8; by reading the configuration items of the noise reduction earphones used by a user, assuming that a noise reduction level value 2 of a current earphone can be obtained; reading the volume of the current player of the mobile phone to obtain the playing volume value of the player, wherein the playing volume value is assumed to be 60;
according to the three values of the noise value on the bus, the noise reduction level value of the current earphone and the playing volume value of the player, according to a formula
Figure BDA0002909153090000072
A first value of 8 can be obtained; further, the first value is added with 1 to obtain a maximum value, the first value is subtracted with 1 to obtain a minimum value, and the range value of the song noise parameter of the current playing environment is 7-9.
At this point, each song in the user's playlist has been previously noise value labeled.
When the player at the user side performs a song switching operation, if the noise value of the song is 4, the range is not met between 7 and 9, the song is filtered out, the next song is matched, and if the matching is successful, the next song is played.
When a user needs to walk on a relatively quiet path after getting off the bus, the first value is 4 through the same operation, and the range value of the song noise parameter of the current playing environment is 3-5.
At this time, the user can continue to match the noise value range of the song when switching the song, the song is played after the matching is successful, and the unsuccessful content is skipped over.
In the above scheme, song recommendation is performed according to the playing environment and the noise value of the song to be played, wherein the playing environment comprehensively considers the environment noise value of the environment, the noise reduction level of the earphone and the current playing volume of the player, and the audio content played can be dynamically adjusted in a complex scene, so that the user can hear clearly played content, the hearing of the user can be more effectively protected, and on the premise that the user does not participate manually, based on the current playing environment of the user, the user can be automatically and efficiently filtered out the song which is possibly inaudible, and an immersive music listening atmosphere can be provided for the user.
It can be understood that the scheme of the invention can also be applied to the playing scenes of audio contents such as voices, news, novels and the like.
The embodiment of the invention also provides a device for recommending and playing songs. Referring to fig. 2, fig. 2 is a block diagram of a song recommendation playback apparatus according to an embodiment of the present invention. As shown in fig. 2, an apparatus 200 for recommending and playing songs according to an embodiment of the present invention includes:
a first determining module 201, configured to determine a song noise parameter of a current playing environment;
a first obtaining module 202, configured to obtain a noise value of a song to be played;
the processing module 203 is configured to determine whether the song to be played is a recommended song to be played according to a relationship between the noise value of the song to be played and the song noise parameter.
Optionally, the first determining module 201 includes:
the first determining submodule is used for determining a first value according to the environmental noise value of the current environment of the player, the noise reduction level of the earphone and the current playing volume value of the player;
and the second determining submodule is used for determining the song noise parameter according to the first value.
Optionally, the first determining sub-module includes:
a first determination unit configured to:
Figure BDA0002909153090000081
calculating a first value;
wherein m is a first value, x is the noise reduction level of the earphone, y is the environmental noise value of the current environment of the player, and z is the current playing volume value of the player.
Optionally, the second determining sub-module includes:
a second determining unit, configured to use a sum of the first value and a first preset value as a maximum value of the song noise parameter;
a third determining unit, configured to use a difference between the first value and a second preset value as a minimum value of the song noise parameter;
and the fourth determining unit is used for forming the song noise parameter by taking the maximum value as the lower limit of the song noise parameter and taking the minimum value as the upper limit of the song noise parameter.
Optionally, the apparatus 200 further comprises:
the second acquisition module is used for acquiring the noise decibel value of the current environment of the player;
and the second determining module is used for determining the environmental noise value of the current environment of the player according to the noise decibel value.
Optionally, the second determining module includes:
a third determination submodule for determining, according to the formula:
Figure BDA0002909153090000091
calculating the current position of the playerAn ambient noise value at the environment;
wherein y is the environmental noise value of the current environment of the player, and a is the noise decibel value of the current environment of the player.
Optionally, the noise value of the song to be played is determined according to the maximum frequency value of the song and is marked in advance.
Optionally, the processing module 203 includes:
the first processing submodule is used for determining the song to be played as the recommended song to be played if the currently polled noise value of the song to be played is located in the song noise parameter; and if the noise value of the currently polled song to be played is not in the song noise parameter, determining that the song to be played is not the recommended song to be played.
Because the principle of solving the problem of the song recommending and playing device is similar to the song recommending and playing method in the embodiment of the invention, the implementation of the video processing device can refer to the implementation of the method, and repeated parts are not described again.
As shown in fig. 3, the electronic device according to the embodiment of the present invention includes: a transceiver 310, a memory 320, a bus interface, a processor 300 and a computer program stored on the memory 320 and executable on the processor 300; a processor 300 for reading the program in the memory 320, and executing the following processes:
determining a song noise parameter of a current playing environment;
acquiring a noise value of a song to be played;
and determining whether the song to be played is a recommended song to be played or not according to the relation between the noise value of the song to be played and the song noise parameter.
A transceiver 310 for accepting and transmitting data under the control of the processor 300.
Where in fig. 3, the bus architecture may include any number of interconnected buses and bridges, with various circuits being linked together, particularly one or more processors represented by processor 300 and memory represented by memory 320. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 310 may be a number of elements including a transmitter and a transceiver providing a means for communicating with various other apparatus over a transmission medium. The processor 300 is responsible for managing the bus architecture and general processing, and the memory 320 may store data used by the processor 300 in performing operations.
The processor 300 is responsible for managing the bus architecture and general processing, and the memory 320 may store data used by the processor 300 in performing operations.
Optionally, the processor 300 is further configured to read the computer program and execute the following steps:
determining a first value according to the environmental noise value of the current environment of the player, the noise reduction level of the earphone and the current playing volume value of the player;
and determining the song noise parameter according to the first value.
Optionally, the processor 300 is further configured to read the computer program and execute the following steps:
according to the formula:
Figure BDA0002909153090000102
calculating a first value;
wherein m is a first value, x is the noise reduction level of the earphone, y is the environmental noise value of the current environment of the player, and z is the current playing volume value of the player.
Optionally, the processor 300 is further configured to read the computer program and execute the following steps:
taking the sum of the first value and a first preset value as the maximum value of the song noise parameter;
taking the difference between the first value and a second preset value as the minimum value of the song noise parameter;
and taking the maximum value as the lower limit of the song noise parameter, and taking the minimum value as the upper limit of the song noise parameter to form the song noise parameter.
Optionally, the processor 300 is further configured to read the computer program and execute the following steps:
acquiring a noise decibel value of the current environment of the player;
and determining the environmental noise value of the current environment of the player according to the noise decibel value.
Optionally, the processor 300 is further configured to read the computer program and execute the following steps:
according to the formula:
Figure BDA0002909153090000101
calculating the environmental noise value of the current environment of the player;
wherein y is the environmental noise value of the current environment of the player, and a is the noise decibel value of the current environment of the player.
Optionally, the noise value of the song to be played is determined according to the maximum frequency value of the song and is marked in advance.
Optionally, the processor 300 is further configured to read the computer program and execute the following steps:
if the noise value of the currently polled song to be played is located in the song noise parameter, determining that the song to be played is a recommended song to be played; and if the noise value of the currently polled song to be played is not in the song noise parameter, determining that the song to be played is not the recommended song to be played.
The device provided by the embodiment of the present invention may implement the above method embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
Those skilled in the art will appreciate that all or part of the steps for implementing the above embodiments may be performed by hardware, or may be instructed to be performed by associated hardware by a computer program that includes instructions for performing some or all of the steps of the above methods; and the computer program may be stored in a readable storage medium, which may be any form of storage medium.
In addition, the specific embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the method for recommending and playing songs described above, and can achieve the same technical effects, and in order to avoid repetition, the details are not repeated here.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be physically included alone, or two or more units may be integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the transceiving method according to various embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A method for recommending and playing songs, comprising:
determining a song noise parameter of a current playing environment;
acquiring a noise value of a song to be played;
and determining whether the song to be played is a recommended song to be played or not according to the relation between the noise value of the song to be played and the song noise parameter.
2. The method of claim 1, wherein the determining the song noise parameter of the current playing environment comprises:
determining a first value according to the environmental noise value of the current environment of the player, the noise reduction level of the earphone and the current playing volume value of the player;
and determining the song noise parameter according to the first value.
3. The method of claim 2, wherein the determining the first value according to the environmental noise level of the current environment of the player, the noise reduction level of the headphone, and the current playing volume value of the player comprises:
according to the formula:
Figure FDA0002909153080000011
calculating a first value;
wherein m is a first value, x is the noise reduction level of the earphone, y is the environmental noise value of the current environment of the player, and z is the current playing volume value of the player.
4. The method of claim 2, wherein determining the song noise parameter based on the first value comprises:
taking the sum of the first value and a first preset value as the maximum value of the song noise parameter;
taking the difference between the first value and a second preset value as the minimum value of the song noise parameter;
and taking the maximum value as the lower limit of the song noise parameter, and taking the minimum value as the upper limit of the song noise parameter to form the song noise parameter.
5. The method of claim 2, wherein before determining the first value according to the environmental noise level of the current environment of the player, the noise reduction level of the headphone, and the current playing volume value of the player, the method further comprises:
acquiring a noise decibel value of the current environment of the player;
and determining the environmental noise value of the current environment of the player according to the noise decibel value.
6. The method of claim 5, wherein the determining the environmental noise level of the current environment of the player according to the decibel level of noise comprises:
according to the formula:
Figure FDA0002909153080000021
calculating the environmental noise value of the current environment of the player;
wherein y is the environmental noise value of the current environment of the player, and a is the noise decibel value of the current environment of the player.
7. The method of claim 1, wherein the noise level of the song to be played is determined and pre-marked according to a frequency maximum of the song.
8. The method of claim 4, wherein the determining whether the song to be played is a recommended song according to the relationship between the noise value of the song to be played and the song noise parameter comprises:
if the noise value of the currently polled song to be played is located in the song noise parameter, determining that the song to be played is a recommended song to be played; and if the noise value of the currently polled song to be played is not in the song noise parameter, determining that the song to be played is not the recommended song to be played.
9. An electronic device, comprising: a transceiver, a memory, a processor, and a computer program stored on the memory and executable on the processor; characterized in that the processor, which is adapted to read the program in the memory, implements the steps in the method for recommending a playback of a song according to any of claims 1 to 8.
10. A computer-readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the steps in the method for recommended playback of a song according to any one of claims 1 to 8.
CN202110080674.7A 2021-01-21 2021-01-21 Song recommendation playing method, electronic equipment and computer readable storage medium Active CN112883222B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110080674.7A CN112883222B (en) 2021-01-21 2021-01-21 Song recommendation playing method, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110080674.7A CN112883222B (en) 2021-01-21 2021-01-21 Song recommendation playing method, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112883222A true CN112883222A (en) 2021-06-01
CN112883222B CN112883222B (en) 2022-12-16

Family

ID=76051424

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110080674.7A Active CN112883222B (en) 2021-01-21 2021-01-21 Song recommendation playing method, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112883222B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113672195A (en) * 2021-08-26 2021-11-19 芜湖雄狮汽车科技有限公司 Control method and device for vehicle-mounted multimedia equipment, vehicle and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103222283A (en) * 2010-11-19 2013-07-24 Jacoti有限公司 Personal communication device with hearing support and method for providing the same
CN103354445A (en) * 2013-06-20 2013-10-16 广东欧珀移动通信有限公司 Adaptive environment music playing apparatus and method thereof
US20150356447A1 (en) * 2014-05-29 2015-12-10 Sirius Xm Radio Inc. Systems, methods and apparatus for generating music recommendations based on combining song and user influencers with channel rule characterizations
CN106357885A (en) * 2016-08-25 2017-01-25 广安欧奇仕电子科技有限公司 Processing system for requesting mobile phone song
CN107566652A (en) * 2017-09-20 2018-01-09 惠州Tcl移动通信有限公司 A kind of method, mobile terminal and the storage medium of automatic regulating volume size
CN107728990A (en) * 2017-09-30 2018-02-23 努比亚技术有限公司 A kind of audio frequency playing method, mobile terminal and computer-readable recording medium
US20190042647A1 (en) * 2014-12-31 2019-02-07 Pcms Holdings, Inc. Systems and methods for creation of a listening log and music library
CN109831170A (en) * 2018-12-29 2019-05-31 努比亚技术有限公司 A kind of playback equipment control method, system and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103222283A (en) * 2010-11-19 2013-07-24 Jacoti有限公司 Personal communication device with hearing support and method for providing the same
CN103354445A (en) * 2013-06-20 2013-10-16 广东欧珀移动通信有限公司 Adaptive environment music playing apparatus and method thereof
US20150356447A1 (en) * 2014-05-29 2015-12-10 Sirius Xm Radio Inc. Systems, methods and apparatus for generating music recommendations based on combining song and user influencers with channel rule characterizations
US20190042647A1 (en) * 2014-12-31 2019-02-07 Pcms Holdings, Inc. Systems and methods for creation of a listening log and music library
CN106357885A (en) * 2016-08-25 2017-01-25 广安欧奇仕电子科技有限公司 Processing system for requesting mobile phone song
CN107566652A (en) * 2017-09-20 2018-01-09 惠州Tcl移动通信有限公司 A kind of method, mobile terminal and the storage medium of automatic regulating volume size
CN107728990A (en) * 2017-09-30 2018-02-23 努比亚技术有限公司 A kind of audio frequency playing method, mobile terminal and computer-readable recording medium
CN109831170A (en) * 2018-12-29 2019-05-31 努比亚技术有限公司 A kind of playback equipment control method, system and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈雅茜: "音乐推荐系统及相关技术研究", 《计算机工程与应用》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113672195A (en) * 2021-08-26 2021-11-19 芜湖雄狮汽车科技有限公司 Control method and device for vehicle-mounted multimedia equipment, vehicle and storage medium

Also Published As

Publication number Publication date
CN112883222B (en) 2022-12-16

Similar Documents

Publication Publication Date Title
CN106878533B (en) Communication method and device of mobile terminal
US9299333B2 (en) System for adaptive audio signal shaping for improved playback in a noisy environment
CN108076226B (en) Method for adjusting call quality, mobile terminal and storage medium
CN106302997B (en) Output control method, electronic equipment and system
CN110809214B (en) Audio playing method, audio playing device and terminal equipment
WO2016150316A1 (en) Audio output control method and apparatus
CN103327156A (en) Method and device for outputting audio files
CN111033614B (en) Volume adjusting method and device, mobile terminal and storage medium
CN111863011B (en) Audio processing method and electronic equipment
CN107566618A (en) volume adjusting method, device, terminal device and storage medium
CN108449506A (en) Voice communication data processing method, device, storage medium and mobile terminal
CN112883222B (en) Song recommendation playing method, electronic equipment and computer readable storage medium
CN113038337B (en) Audio playing method, wireless earphone and computer readable storage medium
CN108737648A (en) Volume of music adaptive regulation method, device, storage medium and terminal
CN105516451A (en) Sound effect adjustment method and device
US11210058B2 (en) Systems and methods for providing independently variable audio outputs
CN102246497B (en) Controlling sound characteristics of alert tunes that signal receipt of messages responsive to content of the messages
CN111107226A (en) Volume control method applied to mobile terminal
US8295509B2 (en) Information processing apparatus processing notification sound and audio-based contents, and information processing method thereof
CN106293607B (en) Method and system for automatically switching audio output modes
CN112307161B (en) Method and apparatus for playing audio
CN115022773A (en) Bluetooth device audio control method, device and storage medium
CN111083250A (en) Mobile terminal and noise reduction method thereof
CN113517000A (en) Echo cancellation test method, terminal and storage device
CN111314553A (en) Volume adjusting method, device, terminal and storage medium

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
GR01 Patent grant
GR01 Patent grant