CN112000836A - Song playing method and device and electronic equipment - Google Patents

Song playing method and device and electronic equipment Download PDF

Info

Publication number
CN112000836A
CN112000836A CN202010845873.8A CN202010845873A CN112000836A CN 112000836 A CN112000836 A CN 112000836A CN 202010845873 A CN202010845873 A CN 202010845873A CN 112000836 A CN112000836 A CN 112000836A
Authority
CN
China
Prior art keywords
song
songs
source
sources
target
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
CN202010845873.8A
Other languages
Chinese (zh)
Inventor
刘涛
苏少炜
常乐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing SoundAI Technology Co Ltd
Original Assignee
Beijing SoundAI 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 Beijing SoundAI Technology Co Ltd filed Critical Beijing SoundAI Technology Co Ltd
Priority to CN202010845873.8A priority Critical patent/CN112000836A/en
Publication of CN112000836A publication Critical patent/CN112000836A/en
Pending legal-status Critical Current

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/638Presentation of query results
    • G06F16/639Presentation of query results using playlists
    • 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
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Acoustics & Sound (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The disclosure provides a song playing method and device and electronic equipment. The song playing method comprises the following steps: receiving a first voice input; playing a first song in a target recommendation list if the first voice input indicates that the song is played but does not include song information; the target recommendation list is generated based on N song information sources included in the electronic equipment, each song information source in the N song information sources comprises an independent song library, and N is a positive integer. The method and the device can improve the flexibility and richness of song playing.

Description

Song playing method and device and electronic equipment
Technical Field
The embodiment of the disclosure relates to the technical field of multimedia, in particular to a song playing method and device and electronic equipment.
Background
With the development of multimedia technology, more and more users listen to songs through electronic devices. In the related art, when a user listens to a song using an electronic device, the user generally inputs a specific song name to cause the electronic device to play a specific song. Therefore, the existing songs have poor playing flexibility.
Disclosure of Invention
The embodiment of the disclosure provides a song playing method and device and electronic equipment, and aims to solve the problem of poor flexibility of playing an existing song.
To solve the above problem, the present disclosure is implemented as follows:
in a first aspect, an embodiment of the present disclosure provides a song playing method applied to an electronic device, where the method includes:
receiving a first voice input;
playing a first song in a target recommendation list if the first voice input indicates that the song is played but does not include song information;
the target recommendation list is generated based on N song information sources included in the electronic equipment, each song information source in the N song information sources comprises an independent song library, and N is a positive integer.
In a second aspect, an embodiment of the present disclosure further provides a song playing apparatus applied to an electronic device, where the song playing apparatus includes:
the first receiving module is used for receiving a first voice input;
the first playing module is used for playing a first song in the target recommendation list under the condition that the first voice input indicates that the song is played but song information is not included;
the target recommendation list is generated based on N song information sources included in the electronic equipment, each song information source in the N song information sources comprises an independent song library, and N is a positive integer.
In a third aspect, an embodiment of the present disclosure further provides an electronic device, which includes a processor, a memory, and a program stored on the memory and executable on the processor, where the program, when executed by the processor, implements the steps of the song playing method described above.
In a fourth aspect, the disclosed embodiments also provide a readable storage medium, on which a program is stored, where the program, when executed by a processor, implements the steps of the song playing method applied to an electronic device as described above.
In the embodiment of the disclosure, the electronic device may play the songs in the target recommendation list in response to the first voice input indicating that the songs are played but not including the song information, so that the flexibility of playing the songs may be improved. In addition, the target recommendation list in the embodiment of the present disclosure is generated based on N song information sources included in the electronic device, each song information source in the N song information sources includes an independent song library, and N is a positive integer. Therefore, the songs included by the N song information sources of the electronic equipment can be fully utilized, and the richness of the songs can be improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
FIG. 1 is a flow diagram illustrating a song playing method according to an exemplary embodiment;
FIG. 2 is a block diagram illustrating a song playback device in accordance with one illustrative embodiment;
fig. 3 is a second block diagram of an electronic device according to an example embodiment.
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are some, but not all embodiments of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
The terms "first," "second," and the like in this disclosure are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The following describes a song playback method according to an embodiment of the present disclosure.
Referring to fig. 1, fig. 1 is a flow chart illustrating a song playing method according to an exemplary embodiment. The song playing method of the embodiment of the disclosure is applied to electronic equipment. In practical applications, the electronic device may be a smart speaker, a mobile phone, a computer, a television, a wearable device, or a vehicle-mounted device.
As shown in fig. 1, the song playing method may include the steps of:
in step 101, a first speech input is received.
In particular implementations, the electronic device may receive a first speech input in a first state, which may be understood as a state in which speech input is received and responded to. In the first state, the electronic device may receive voice input and respond to the received voice input.
In practical applications, in a first implementation manner, the electronic device may be always in a first state; in a second implementation manner, the electronic device may be in the first state only when receiving the wake-up input, so that power consumption of the terminal may be saved.
In a second implementation, the wake-up input may be a voice input including a wake-up word, or may be a touch input for a wake-up control, but is not limited thereto. In addition, for the second implementation, further, the electronic device may be in a second state before receiving the wake-up input, where the second state may be understood as: a state in which speech input is received but not responded to, or a state in which speech input is not received. In the second state, the electronic device may receive voice input but not respond to the received voice input, or the electronic device does not receive voice input.
In step 102, the first song in the target recommendation list is played in case the first speech input indicates that the song is played but the song information is not included.
In particular implementations, the electronic device may play the songs in the target recommendation list upon receiving a voice input indicating that the song is played but not including song information such as the song name, the artist name (which may be a name, art name, nickname, etc.), and the like. That is, the first voice input may be a voice input that does not include song information such as a song title and a singer title, such as: if the electronic device receives a voice input of "play song" or "get one song for me", etc., the electronic device may play the songs in the target recommendation list. The first song may be understood as any song in the target recommendation list.
In the embodiment of the present disclosure, the target recommendation list is generated based on N song sources included in the electronic device, where N is a positive integer. In practical applications, the song source may be represented by, but not limited to, an application program or a song resource library for playing songs.
Each song information source in the N song information sources comprises an independent song library, namely, when the electronic equipment plays the songs in the song library of a certain song information source, the electronic equipment is not influenced by other song information sources. Different song sources may include different song libraries, and of course, the song libraries of different song sources may have the same song, different songs stored previously, such as: the N song information sources comprise a song information source a and a song information source b, the song library of the song information source a comprises song 1, song 2, song 3 and song 4, and the song library of the song information source b comprises song 1, song 3, song 4, song 5 and song 6. The song sources may also be referred to as a song repository, but are not limited thereto.
In a specific implementation, the target recommendation list may include songs from some or all of the N song sources, that is, the songs in the target recommendation list may be derived from some or all of the N song sources, such as: taking the above song information source a and song information source b as an example, the target recommendation list may include song 2 of song information source a, song 3 of song information source a, song 4 of song information source b, and song 6 of song information source b.
According to the song playing method, the electronic equipment can respond to the first voice input indicating that the song is played but the song information is not included, and the song in the target recommendation list is played, so that the flexibility of playing the song can be improved. In addition, the target recommendation list in the embodiment of the present disclosure is generated based on N song information sources included in the electronic device, each song information source in the N song information sources includes an independent song library, and N is a positive integer. Therefore, the songs included by the N song information sources of the electronic equipment can be fully utilized, and the richness of the songs can be improved.
In this embodiment of the present disclosure, optionally, before the first song in the target recommendation list is played, the method further includes:
identifying the N song sources included in the electronic device;
determining P songs matched with the K songs in all songs included by the N song information sources according to target information of the K songs historically played by a first song information source in the N song information sources;
generating the target recommendation list, wherein the target recommendation list comprises the P songs;
wherein the first song source comprises at least one of the N song sources; k and P are positive integers.
In this alternative embodiment, the electronic device may first identify all song sources included in the electronic device, and then select P songs from all songs included in all song sources of the electronic device to generate the target recommendation list.
In a specific implementation, the electronic device may select the P songs according to target information of the K songs historically played by a first song source of the N song sources.
Optionally, the K songs historically played by the first song source may be any one of:
k songs with the playing ending time closest to the first time are played in the first song information source;
k songs of which the playing ending time is closest to the first time and the playing time length is longer than a first preset time length are played in the first song information source;
the first moment is the moment when the electronic equipment receives the first voice input.
For ease of understanding, examples are illustrated below:
suppose that the songs historically played by the song information source a include song 1 and song 2, the playing end time of song 1 is t1, and the playing end time of song 2 is t 2; the songs historically played by the song information source b comprise a song 5 and a song 6, the playing ending time of the song 5 is t3, the playing ending time of the song 6 is t4, wherein when t1, t2, t3 and t4 are sequentially ordered from first to last according to time, the order is as follows: t2, t3, t1 and t 4.
While assuming that K is 2.
Then, in the case that the first song source includes a song source a and a song source b, the K songs are: song 1 and song 6.
Optionally, the target information of the K songs may include any one of the following items:
the music types of the K songs are as follows: light music, rock music, balladry, etc.;
the production information of the K songs includes: word-making people and music-making people;
a singer of said K songs;
video resources associated with the K songs, such as: drama, movie, animation, etc.
In practical applications, the target information may be selected by a user or set by a system, and further, the target information may be adjusted.
In this alternative embodiment, the electronic device selects P songs from the N song sources that match the target information of the K songs. In a specific implementation, the matching of the target information of the P songs and the target information of the K songs may be understood as any one of the following items:
when the target information of the K songs is the music type of the K songs, the music type of the P songs can be a first music type, and the number of songs belonging to the first music type in the K songs is more than the number of songs belonging to other music types;
under the condition that the target information of the K songs is the making information of the K songs, the word maker of the P songs can be a first word maker, and the number of the songs belonging to the word making of the first word maker in the K songs is more than that of the songs made by other word makers;
under the condition that the target information of the K songs is the making information of the K songs, the composer of the P songs can be a first composer, and the number of songs composed by the first composer in the K songs is more than that of the other composers;
in the case that the target information of the K songs is the singer of the K songs, the singer of the P songs may be a first singer, and the number of songs belonging to the first singer in the K songs is greater than the number of songs sung by other singers;
and under the condition that the target information of the K songs is the video resources associated with the K songs, the P songs can be the songs in the first video, and the number of the songs belonging to the first video in the K songs is more than that of the songs in other videos.
Through the mode, the songs included in the target recommendation list generated by the electronic equipment based on the N song information sources included in the electronic equipment are matched with the K songs historically played by the electronic equipment, so that the songs included in the target recommendation list are matched with the song listening habits of the user, and the song playing satisfaction can be improved.
In the above alternative embodiment, the selection of the P songs is related to the target information of the K songs, but it should be understood that in other embodiments of the present disclosure, the selection of the P songs may be unrelated to the target information of the K songs, such as: after acquiring all the songs included in the N pieces of song information, the electronic device may randomly select P songs from all the songs included in the N pieces of song information, and generate the target recommendation list.
In this embodiment of the present disclosure, optionally, before determining, according to target information of K songs historically played by a first song source of the N song sources, P songs that match the K songs in all songs included in the N song sources, the method further includes:
and acquiring the data reading permission of each song information source in the first song information sources.
In this optional embodiment, before acquiring the history play record of a certain song information source, the electronic device needs to acquire the data reading permission of the song information source first, that is, before not acquiring the data reading permission of the song information source, the electronic device may not acquire the history play record of the song information source.
The electronic device can acquire data reading rights of a plurality of song information sources. During specific implementation, for each song information source, a corresponding data reading switch can be arranged in the setting function of the electronic equipment, and under the condition that the data reading switch is set to be on, the electronic equipment has the data reading permission of the song information source; in the case where the data read switch is set to off, the electronic apparatus does not have the data read authority of the song source. The set state of the data read switch may be authorized by system settings, user settings, or other devices.
In a case where the data reading switch of W song information sources among the N song information sources is set to on and W is a positive integer, the first song information source may include part or all of the W song information sources.
In an alternative embodiment, the first song source may include only one of the W song sources. In this case, the electronic device may determine the K songs based only on the historical play records of the song source. Optionally, the first song source may be, but is not limited to, a song source that plays songs for the maximum or minimum number of times in the first time period among the W song sources.
In an alternative embodiment, the first song source may include two or more song sources of the W song sources, in which case the electronic device needs to acquire a history playing record of each song source included in the first song source, and then determine the K songs in combination with the history playing record of each song source included in the first song source.
In the embodiment of the present disclosure, each of the N song information sources includes an independent song library, and therefore, there may be a case where the song libraries of different song information sources include partially identical songs, and the P songs determined by the electronic device include a second song corresponding to at least two song information sources, and the second song included in the target recommendation list only belongs to one of the at least two song information sources and is recorded as the target song information source.
Optionally, before generating the target recommendation list, the method further includes:
detecting whether a second song corresponds to at least two song information sources, wherein the second song is any one of the P songs;
the generating the target recommendation list comprises:
under the condition that the second song corresponds to at least two song information sources, recording the second song included by a target song information source in the at least two song information sources into a target recommendation list;
and the song recommendation priority of the target song information source is higher than the song recommendation priorities of other song information sources in the at least two song information sources.
In this optional embodiment, each of the N song information sources corresponds to one song recommendation priority, and the song recommendation priority corresponding to each song information source may be set by a user or a system. Further, under the condition that the song recommendation priority corresponding to the song information source is set by the system, the system may set the song recommendation priority of each song information source according to the number of songs played by the electronic device in each song information source within a second preset time period, such as: if the number of times of songs played by the song information source a in the second preset time is greater than the number of times of songs played by the song information source b in the second preset time, the system can set the song recommendation priority of the song information source a to be higher than the song recommendation priority of the song information source b.
In this optional embodiment, after determining P songs, the electronic device may identify the number of song sources corresponding to each of the P songs; if the number of the song information sources corresponding to the second song in the P songs is greater than 1, the target song information source to which the second song belongs included in the target recommendation list can be determined according to the song recommendation priority of each song information source corresponding to the second song. Specifically, the song source with the highest song recommendation priority in the at least two song sources corresponding to the second song may be determined as the song source to which the second song included in the target recommendation list belongs, but is not limited thereto. Therefore, the songs included in the target recommendation list can further conform to the song listening habits of the user, and the satisfaction degree of song playing can be further improved.
It should be noted that, in this optional embodiment, if the song information source includes a song, the song information source and the song have a corresponding relationship. Such as: if the song information source a and the song information source b both comprise song 1, the song 1 is corresponding to the song information source a and the song information source b.
Further, after determining a target song source to which the second song included in the target recommendation list belongs, the electronic device may further identify the number of the second song included in the target song source; in a case that the target song source includes M second songs, where M is an integer greater than 1, the electronic device may determine, according to rankings of the M second songs, that the second song included in the target recommendation list is a target song of the M second songs, where the rankings may be a play popularity ranking of songs or a popularity ranking of singers of songs. Optionally, the target song may be, but is not limited to, a second song with the highest ranking among the M second songs.
For ease of understanding, examples are illustrated below:
assume that the N song sources include a song source c and a song source d, the song library of the song source c includes song 1, song 2, song 3 performed by the first singer, song 3 performed by the second singer, and song 4, and the song library of the song source d includes song 1, song 3, song 4, song 5, and song 6. In addition, the song recommendation priority of the song information source c is higher than that of the song information source d; song 3 sung by the first singer is ranked higher than song 3 sung by the second singer.
If the P songs determined by the electronic device include song 3, the electronic device may first identify a number of song sources corresponding to song 3. In this example, the number of song sources corresponding to song 3 is greater than 1, and specifically, the song sources corresponding to song 3 include a song source c and a song source d.
If the electronic device determines the song information source with the highest song recommendation priority among the song information sources corresponding to the songs as the song information source to which the songs included in the target recommendation list belong, in this example, the electronic device may determine the song information source c as the song information source to which the song 3 included in the target recommendation list belongs.
In this example, since the song information source c includes two songs 3, song 3 singing for the first singer and song 3 singing for the second singer, respectively, the electronic device may determine the songs included in the target recommendation list according to the ranking of the songs. If the electronic device determines the highest ranked song as the song in the target recommendation list, the song 3 sung by the first singer may be determined as the song 3 included in the target recommendation list.
As can be seen, in this example, the electronic device may, upon determining that the target recommendation list includes song 3, incorporate song 3, sung by the first singer in song source c, into the target recommendation list.
It should be noted that, in other embodiments, in a case where the second song exists in the P songs, the electronic device may also incorporate all the second songs included in the at least two song sources into the target recommendation list, such as: taking the above-mentioned song information source c and song information source d as an example, the target recommendation list may include song 3 sung by the first singer and songs 3 and 4 sung by the second singer in the song information source c, and song 3 in the song information source d.
In this embodiment of the present disclosure, optionally, N is greater than 1, and the first song is a song included in a first song information source of the N song information sources; after playing the first song in the target recommendation list, the method further comprises:
receiving a second voice input;
detecting whether a second song source of the N song sources comprises the first song under the condition that the second voice input indicates that the song source of the first song is switched;
playing the first song included in the second song source in the event that the second song source includes the first song.
In this alternative embodiment, in a first implementation, the second song source may be indicated by the second speech input; in a second implementation, the second song source may not be indicated by the second speech input. For ease of understanding, examples are illustrated below:
for the first implementation manner, when the electronic device receives a voice input such as "exchange the first song of the second song information source", the electronic device may detect whether the second song information source includes the first song, and if so, play the first song included in the second song information source, otherwise, the electronic device may prompt the user that the second song information source does not include the first song, or, if not, continue to play the first song included in the first song information source.
For the second implementation manner, the electronic device may identify the number of song information sources corresponding to the first song when receiving a voice input such as "change one version", and if the number of song information sources corresponding to the first song is greater than 1, may poll to detect whether any song information source other than the first song information source in the song information sources corresponding to the first song includes the first song, and if so, play the first song included in the second song information source, otherwise, the electronic device may prompt the user that the second song information source does not include the first song, or, if not, continue to play the first song included in the first song information source. If the number of the song information sources corresponding to the first song is equal to 1, that is, the first song only corresponds to the first song information source, the electronic device may prompt the user that the second song information source does not include the first song, or continue to play the first song included in the first song information source without performing a corresponding operation.
It should be understood that the electronic device may continue to play the songs included in the target recommendation list after playing the first song included in the second song source, but is not limited thereto.
Therefore, through the above manner, under the condition that the first song corresponds to at least two song information sources, the user can trigger the electronic equipment to play the first song included by another song information source, so that the flexibility of song playing can be improved.
It should be noted that, various optional implementations described in the embodiments of the present disclosure may be implemented in combination with each other or separately without conflict between the various implementations, and the embodiments of the present disclosure are not limited herein.
For ease of understanding, examples are illustrated below:
step one, song source (or called source resource) rights owned by the electronic equipment are identified, such as resources of an application program a or resources of an application program b can be played.
And step two, for the electronic equipment with a plurality of information sources, the information source song recommendation priority can be set to deal with the situation that different information sources have the same song.
And step three, determining song information of all information sources of the electronic equipment, sequencing different information sources according to priorities input by a user under the condition that the different information sources have the same song, generating a multi-song recommendation list on the basis of the total information source song list based on the historical behaviors of the user, generating a new song hot song list of the singer according to the singer frequently listened by the user, generating a rock and roll music list according to the frequently listened type of the user, such as rock and roll, and generating a recommendation list according to hot theme songs, inserted songs and the like of the video resources such as the latest frequently watched TV plays, movies, cartoons and the like of the user.
And step four, when receiving a song listening instruction which is similar to 'play a song', 'come song bar' and the like and has no definite playing object, sent by the user to the intelligent sound box, the electronic equipment can hit the intention of recommending the song, and the recommended song is returned to the user to be played according to the generated recommendation list.
Step five, the electronic equipment supports the requirement of switching the played information source for the songs, when the user can send a command like 'change one version' or 'played x version' and the like for the recommended songs being played, the electronic equipment is triggered to search the songs of the expected information source, if the resources can be switched to the songs of the expected information source, the user can be prompted to 'lack the current song in the x version, sorry and the corresponding songs in the y version that can be provided'.
The song recommendation method of the embodiment of the disclosure can be realized by a recommendation system installed on the electronic device, in this case, the electronic device can be regarded as a third developer of the recommendation system, different third-party developers accessing the recommendation system have different song information source library authorities, and the recommendation system performs information source isolation processing on the third developer to be compatible with different song recommendation requirements of all developer user groups accessing the recommendation system, so that the song recommendation requirements of all developers can be met.
Referring to fig. 2, fig. 2 is a block diagram illustrating a song playback apparatus according to an exemplary embodiment. As shown in fig. 2, the song playback apparatus 200 includes:
a first receiving module 201, configured to receive a first voice input;
a first playing module 202, configured to play a first song in the target recommendation list if the first voice input indicates that the song is played but the song information is not included;
the target recommendation list is generated based on N song information sources included in the electronic equipment, each song information source in the N song information sources comprises an independent song library, and N is a positive integer.
Optionally, the song playback apparatus 200 further includes:
the identification module is used for identifying the N song information sources included by the electronic equipment;
the determining module is used for determining P songs matched with the K songs in all the songs included by the N song information sources according to the target information of the K songs historically played by the first song information source in the N song information sources;
a generating module, configured to generate the target recommendation list, where the target recommendation list includes the P songs;
wherein the first song source comprises at least one of the N song sources; k and P are positive integers.
Optionally, the song playback apparatus 200 further includes:
and the acquisition module is used for acquiring the data reading permission of each song information source in the first song information sources.
Optionally, the song playback apparatus 200 further includes:
the detection module is used for detecting whether a second song corresponds to at least two song information sources, wherein the second song is any one of the P songs;
the generation module is used for recording the second song included by a target song information source in at least two song information sources into a target recommendation list under the condition that the second song corresponds to at least two song information sources, wherein the target recommendation list includes the P songs;
and the song recommendation priority of the target song information source is higher than the song recommendation priorities of other song information sources in the at least two song information sources.
Optionally, N is greater than 1, and the first song is a song included in a first song information source of the N song information sources; the song playback apparatus 200 further includes:
the second receiving module is used for receiving a second voice input;
the detection module is used for detecting whether a second song information source of the N song information sources comprises the first song or not under the condition that the second voice input indicates that the song information source of the first song is switched;
and the second playing module is used for playing the first song included by the second song information source under the condition that the second song information source includes the first song.
The song playing apparatus 200 can implement the processes in the embodiment of the method of the present disclosure, and achieve the same beneficial effects, and for avoiding repetition, the details are not described here.
Referring to fig. 3, fig. 3 is a block diagram of an electronic device shown in accordance with an example embodiment. As shown in fig. 3, the electronic device 300 includes: a processor 301, a memory 302, a user interface 303, a transceiver 304, and a bus interface.
Wherein, in the embodiment of the present disclosure, the electronic device 300 further includes: a program stored on the memory 302 and executable on the processor 301, which when executed by the processor 301 performs the steps of:
receiving a first speech input through the user interface 303;
playing a first song in a target recommendation list if the first voice input indicates that the song is played but does not include song information;
the target recommendation list is generated based on N song information sources included in the electronic equipment, each song information source in the N song information sources comprises an independent song library, and N is a positive integer.
Optionally, the program when executed by the processor 301 may further implement the following steps:
identifying the N song sources included in the electronic device;
determining P songs matched with the K songs in all songs included by the N song information sources according to target information of the K songs historically played by a first song information source in the N song information sources;
generating the target recommendation list, wherein the target recommendation list comprises the P songs;
wherein the first song source comprises at least one of the N song sources; k and P are positive integers.
Optionally, the program when executed by the processor 301 may further implement the following steps:
and acquiring the data reading permission of each song information source in the first song information sources.
Optionally, the program when executed by the processor 301 may further implement the following steps:
detecting whether a second song corresponds to at least two song information sources, wherein the second song is any one of the P songs;
under the condition that the second song corresponds to at least two song information sources, recording the second song included by a target song information source in the at least two song information sources into a target recommendation list, wherein the target recommendation list includes the P songs;
and the song recommendation priority of the target song information source is higher than the song recommendation priorities of other song information sources in the at least two song information sources.
Optionally, N is greater than 1, and the first song is a song included in a first song information source of the N song information sources; after playing the first song in the target recommendation list, the program when executed by the processor 301 may further implement the following steps:
receiving a second speech input through the user interface 303;
detecting whether a second song source of the N song sources comprises the first song under the condition that the second voice input indicates that the song source of the first song is switched;
playing the first song included in the second song source in the event that the second song source includes the first song.
In fig. 3, the bus architecture may include any number of interconnected buses and bridges, with one or more processors represented by processor 301 and various circuits of memory represented by memory 302 being linked together. 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 304 may be a number of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over a transmission medium. For different user devices, the user interface 303 may also be an interface capable of interfacing with a desired device externally, including but not limited to a keypad, display, speaker, microphone, joystick, etc.
The processor 301 is responsible for managing the bus architecture and general processing, and the memory 302 may store data used by the processor 2601 in performing operations.
The electronic device 300 can implement the processes implemented by the electronic device in the above method embodiments, and details are not repeated here to avoid repetition.
The embodiment of the present disclosure further provides a readable storage medium, where a program is stored on the readable storage medium, and when the program is executed by a processor, the program implements each process of the foregoing song playing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here. The readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
While the present disclosure has been described with reference to the embodiments illustrated in the drawings, which are intended to be illustrative rather than restrictive, it will be apparent to those of ordinary skill in the art in light of the present disclosure that many more modifications may be made without departing from the spirit of the disclosure and the scope of the appended claims.

Claims (12)

1. A song playing method is applied to electronic equipment, and is characterized by comprising the following steps:
receiving a first voice input;
playing a first song in a target recommendation list if the first voice input indicates that the song is played but does not include song information;
the target recommendation list is generated based on N song information sources included in the electronic equipment, each song information source in the N song information sources comprises an independent song library, and N is a positive integer.
2. The method of claim 1, wherein prior to playing the first song in the target recommendation list, the method further comprises:
identifying the N song sources included in the electronic device;
determining P songs matched with the K songs in all songs included by the N song information sources according to target information of the K songs historically played by a first song information source in the N song information sources;
generating the target recommendation list, wherein the target recommendation list comprises the P songs;
wherein the first song source comprises at least one of the N song sources; k and P are positive integers.
3. The method according to claim 2, wherein before determining P songs matching with the K songs in all songs included in the N song sources according to target information of the K songs historically played by a first song source of the N song sources, the method further comprises:
and acquiring the data reading permission of each song information source in the first song information sources.
4. The method of claim 2, wherein prior to the generating the target recommendation list, the method further comprises:
detecting whether a second song corresponds to at least two song information sources, wherein the second song is any one of the P songs;
the generating the target recommendation list comprises:
under the condition that the second song corresponds to at least two song information sources, recording the second song included by a target song information source in the at least two song information sources into a target recommendation list;
and the song recommendation priority of the target song information source is higher than the song recommendation priorities of other song information sources in the at least two song information sources.
5. The method of claim 1, wherein N is greater than 1 and the first song is a song included in a first song source of the N song sources; after playing the first song in the target recommendation list, the method further comprises:
receiving a second voice input;
detecting whether a second song source of the N song sources comprises the first song under the condition that the second voice input indicates that the song source of the first song is switched;
playing the first song included in the second song source in the event that the second song source includes the first song.
6. A song playing device applied to electronic equipment is characterized by comprising:
the first receiving module is used for receiving a first voice input;
the first playing module is used for playing a first song in the target recommendation list under the condition that the first voice input indicates that the song is played but song information is not included;
the target recommendation list is generated based on N song information sources included in the electronic equipment, each song information source in the N song information sources comprises an independent song library, and N is a positive integer.
7. The song playback apparatus of claim 6, further comprising:
the identification module is used for identifying the N song information sources included by the electronic equipment;
the determining module is used for determining P songs matched with the K songs in all the songs included by the N song information sources according to the target information of the K songs historically played by the electronic equipment;
a generating module, configured to generate the target recommendation list, where the target recommendation list includes the P songs;
wherein K and P are positive integers.
8. The song playback apparatus of claim 7, further comprising:
and the acquisition module is used for acquiring the data reading permission of each song information source in the first song information sources.
9. The song playback apparatus of claim 7, further comprising:
the detection module is used for detecting whether a second song corresponds to at least two song information sources, wherein the second song is any one of the P songs;
the generation module is used for recording the second song included by a target song information source in at least two song information sources into a target recommendation list under the condition that the second song corresponds to at least two song information sources, wherein the target recommendation list includes the P songs;
and the song recommendation priority of the target song information source is higher than the song recommendation priorities of other song information sources in the at least two song information sources.
10. The song playback device of claim 6, wherein N is greater than 1 and the first song is a song included in a first song source of the N song sources; the song playback apparatus further includes:
the second receiving module is used for receiving a second voice input;
the detection module is used for detecting whether a second song information source of the N song information sources comprises the first song or not under the condition that the second voice input indicates that the song information source of the first song is switched;
and the second playing module is used for playing the first song included by the second song information source under the condition that the second song information source includes the first song.
11. An electronic device comprising a processor, a memory, and a program stored on the memory and executable on the processor, the program, when executed by the processor, implementing the steps of the song playback method according to any one of claims 1 to 5.
12. A readable storage medium, characterized in that the readable storage medium has stored thereon a program which, when executed by a processor, implements the steps of the song playback method according to any one of claims 1 to 5.
CN202010845873.8A 2020-08-20 2020-08-20 Song playing method and device and electronic equipment Pending CN112000836A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010845873.8A CN112000836A (en) 2020-08-20 2020-08-20 Song playing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010845873.8A CN112000836A (en) 2020-08-20 2020-08-20 Song playing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112000836A true CN112000836A (en) 2020-11-27

Family

ID=73472390

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010845873.8A Pending CN112000836A (en) 2020-08-20 2020-08-20 Song playing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112000836A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN206601700U (en) * 2017-03-30 2017-10-31 深圳市圣卓芯科技有限公司 The guider of song is searched in a kind of speech recognition
CN107342082A (en) * 2017-06-29 2017-11-10 北京小米移动软件有限公司 Audio-frequency processing method, device and audio-frequence player device based on interactive voice
CN108766474A (en) * 2018-06-04 2018-11-06 深圳市沃特沃德股份有限公司 Vehicle-mounted music playback method and mobile unit
CN109376265A (en) * 2018-12-12 2019-02-22 杭州网易云音乐科技有限公司 Song recommendations list generation method, medium, device and calculating equipment
CN109582819A (en) * 2018-11-23 2019-04-05 珠海格力电器股份有限公司 A kind of method for playing music, device, storage medium and air-conditioning
CN110139127A (en) * 2019-05-21 2019-08-16 北京声智科技有限公司 Audio file play method, server, intelligent sound box and play system
CN110765311A (en) * 2018-07-10 2020-02-07 上海博泰悦臻网络技术服务有限公司 Song list construction method and system based on vehicle-mounted terminal and vehicle-mounted terminal
CN111429917A (en) * 2020-03-18 2020-07-17 北京声智科技有限公司 Equipment awakening method and terminal equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN206601700U (en) * 2017-03-30 2017-10-31 深圳市圣卓芯科技有限公司 The guider of song is searched in a kind of speech recognition
CN107342082A (en) * 2017-06-29 2017-11-10 北京小米移动软件有限公司 Audio-frequency processing method, device and audio-frequence player device based on interactive voice
CN108766474A (en) * 2018-06-04 2018-11-06 深圳市沃特沃德股份有限公司 Vehicle-mounted music playback method and mobile unit
CN110765311A (en) * 2018-07-10 2020-02-07 上海博泰悦臻网络技术服务有限公司 Song list construction method and system based on vehicle-mounted terminal and vehicle-mounted terminal
CN109582819A (en) * 2018-11-23 2019-04-05 珠海格力电器股份有限公司 A kind of method for playing music, device, storage medium and air-conditioning
CN109376265A (en) * 2018-12-12 2019-02-22 杭州网易云音乐科技有限公司 Song recommendations list generation method, medium, device and calculating equipment
CN110139127A (en) * 2019-05-21 2019-08-16 北京声智科技有限公司 Audio file play method, server, intelligent sound box and play system
CN111429917A (en) * 2020-03-18 2020-07-17 北京声智科技有限公司 Equipment awakening method and terminal equipment

Similar Documents

Publication Publication Date Title
CN101385019B (en) Providing content to a device
CN1739292B (en) Communication system and method, information processing apparatus and method, information managing apparatus and method, recording medium, and program
CN101427317B (en) Smart random media object playback
CN100545936C (en) Transcriber, playback control method and program
US20090158382A1 (en) System and Method for Using Mobile Media Players in a Peer-to-Peer Network
US20090125934A1 (en) User rating mechanism for media content
EP3680896A1 (en) Method for controlling terminal by voice, terminal, server and storage medium
JP5594532B2 (en) Information processing apparatus and method, information processing system, and program
CN106095595B (en) Information sharing method and terminal between a kind of application program
CN101794208A (en) The audio user interface that is used for the electronic equipment of displayless
CN106713985B (en) Method and device for recommending network video
US20110087665A1 (en) Client playlist generation
CN101546589A (en) Active playlist having dynamic media item groups
CN105468328A (en) Information processing method and electronic device
JP4730619B2 (en) Information processing apparatus and method, and program
CN111930974A (en) Audio and video type recommendation method, device, equipment and storage medium
KR20140054555A (en) Method for operating alarm and electronic device supporting the same
KR101255690B1 (en) Data processing method, portable player and computer
CN101385021B (en) Method for finding content from system of receiving content channel through equipment
KR101683551B1 (en) Method for Managing Media Content File Using NFC Card, Managing Server Used Thererin, and Media Being Recorded with Program Executing the Method
CN112000836A (en) Song playing method and device and electronic equipment
JP2012216185A (en) Information processing apparatus, information processing method, and program
CN103607655A (en) A playback method for live programs and an electronic device
US20080256176A1 (en) Internet radio system and the broadcasting method thereof
US20020087658A1 (en) Server, server processing method, terminal, terminal processing method, information processing system, and information record 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