CN110245255B - Song display method, device, equipment and storage medium - Google Patents
Song display method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN110245255B CN110245255B CN201910539390.2A CN201910539390A CN110245255B CN 110245255 B CN110245255 B CN 110245255B CN 201910539390 A CN201910539390 A CN 201910539390A CN 110245255 B CN110245255 B CN 110245255B
- Authority
- CN
- China
- Prior art keywords
- song
- songs
- target
- recommended
- list
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 67
- 230000000875 corresponding effect Effects 0.000 claims description 118
- 230000003993 interaction Effects 0.000 claims description 74
- 230000002452 interceptive effect Effects 0.000 claims description 19
- 230000005540 biological transmission Effects 0.000 claims description 5
- 230000002596 correlated effect Effects 0.000 claims description 2
- 238000012545 processing Methods 0.000 description 14
- 230000002093 peripheral effect Effects 0.000 description 10
- 230000001133 acceleration Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 238000013473 artificial intelligence Methods 0.000 description 4
- 238000004590 computer program Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 3
- 239000000919 ceramic Substances 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000007667 floating Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/60—Information retrieval; Database structures therefor; File system structures therefor of audio data
- G06F16/63—Querying
- G06F16/638—Presentation of query results
- G06F16/639—Presentation of query results using playlists
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application relates to a song display method, a device, equipment and a storage medium, wherein the method comprises the following steps: obtaining a plurality of target songs from a current song list of a user terminal; acquiring recommended songs corresponding to each target song, wherein the recommended songs comprise one or more recommended songs; generating a song recommendation list according to the target songs and recommended songs corresponding to each target song, wherein the recommended songs corresponding to each target song are arranged behind the positions of the corresponding target songs in the song recommendation list; and sending the song recommendation list to the user terminal so that the user terminal can display the song recommendation list on the same target display interface. According to the technical scheme provided by the application, the collection songs corresponding to the displayed recommended songs and the recommended songs corresponding to the displayed collection songs can be accurately obtained on the target display interface, and the operation convenience of the music player is improved.
Description
Technical Field
The disclosure relates to the technical field of audio playing, and in particular relates to a song display method, device, equipment and storage medium.
Background
With the development of internet technology, various music players have been developed. The music player may display the user's favorite songs such that the user may select songs to be played among the displayed favorite songs. Recommended songs that are similar in style to the user's favorite songs may also be displayed so that the user may select a song to be played among the displayed recommended songs. However, if the music player is playing the favorite song, if the recommended song is to be played, the user needs to jump to the display interface of the music player where the recommended song is located, and then select the recommended song. The time for playing songs is increased, and the operation convenience of the music player is affected.
In the related art, after the collected songs and the recommended songs are respectively arranged, the collected songs and the recommended songs are displayed on the same display interface, so that the collected songs and the recommended songs can be switched to play on the same display interface. However, in the related art, the corresponding collected songs cannot be obtained through the recommended songs displayed on the display interface, and the corresponding recommended songs cannot be obtained through the collected songs displayed on the display interface, so that the operation convenience of the music player is reduced.
Disclosure of Invention
The disclosure provides a song display method, device, equipment and storage medium, which can overcome the technical problems in the related art.
In one aspect, an embodiment of the present application provides a song display method, where the method includes: obtaining a plurality of target songs from a current song list of a user terminal; acquiring recommended songs corresponding to each target song, wherein the recommended songs comprise one or more recommended songs; generating a song recommendation list according to the target songs and recommended songs corresponding to each target song, wherein the recommended songs corresponding to each target song are arranged behind the positions of the corresponding target songs in the song recommendation list; and sending the song recommendation list to the user terminal so that the user terminal can display the song recommendation list on the same target display interface.
Optionally, the display interface where the current song list is located includes a first interaction control, where the first interaction control is used for triggering sending of a command for obtaining recommended songs; the obtaining a plurality of target songs from the current song list of the user terminal includes: and when the instruction for acquiring the recommended songs is received, acquiring a plurality of target songs from a current song list of the user terminal.
Optionally, the target display interface includes a second interaction control, where the second interaction control is used to trigger sending of a command of hiding the target song; the method further comprises the steps of sending the song recommendation list to the user terminal so that the user terminal can display the song recommendation list on the same target display interface, and then the method further comprises the steps of: and hiding the target song when the command for hiding the target song is received, so that the target display interface displays the recommended song.
Optionally, the obtaining a plurality of target songs from the current song list of the user terminal includes: obtaining songs displayed in a current window range of a display interface where the current song list is located, and displaying different songs in the current window range according to the received sliding operation on a display page where the current song category is located; and taking the song displayed in the current window range on the display interface where the current song list is positioned as the target song.
Optionally, the target display interface includes a third interaction control, where the third interaction control is used to trigger sending of an instruction for playing all songs; the method further comprises the steps of sending the song recommendation list to the user terminal so that the user terminal can display the song recommendation list on the same target display interface, and then the method further comprises the steps of: and when receiving the instruction for playing all songs, adding the song recommendation list to a play list.
Optionally, the target display interface includes a fourth interaction control, where the fourth interaction control is used to trigger sending of a song collection instruction; the method further comprises the steps of sending the song recommendation list to the user terminal so that the user terminal can display the song recommendation list on the same target display interface, and then the method further comprises the steps of: when receiving the song collection instruction, storing the target song and/or the recommended song into a song collection list; or the target display interface comprises a fifth interaction control, wherein the fifth interaction control is used for triggering the sending of a song deleting instruction; the method further comprises the steps of sending the song recommendation list to the user terminal so that the user terminal can display the song recommendation list on the same target display interface, and then the method further comprises the steps of: and when the song deleting instruction is received, deleting the target song and/or the recommended song in the song recommendation list or the play list, and updating the position of the rest songs in the song recommendation list or the play list in the list so that the rest songs in the song recommendation list or the play list are displayed in a correlated mode in the corresponding list.
Optionally, the generating a song recommendation list according to the target song and the recommended song corresponding to each target song, where the recommended song corresponding to each target song is set at the position of the corresponding target song in the song recommendation list, includes: acquiring a target number of recommended songs from the recommended songs corresponding to each target song; and generating a song recommendation list according to the target songs and the target number of recommended songs corresponding to each target song.
Optionally, the obtaining the recommended songs with the target number in the recommended songs corresponding to each obtained target song includes: and when the number of the recommended songs corresponding to any one of the obtained target songs is smaller than the target number, taking all the obtained recommended songs as the recommended songs of the target number of the corresponding target songs.
In one aspect, an embodiment of the present application provides a song display apparatus, including: the device comprises: the first acquisition module is used for acquiring a plurality of target songs from a current song list of the user terminal; the second acquisition module is used for acquiring recommended songs corresponding to each target song, wherein the recommended songs comprise one or more recommended songs; the generation module is used for generating a song recommendation list according to the target songs and recommended songs corresponding to each target song, wherein the recommended songs corresponding to each target song are arranged behind the positions of the corresponding target songs in the song recommendation list; and the display module is used for sending the song recommendation list to the user terminal so that the user terminal can display the song recommendation list on the same target display interface.
Optionally, the display interface where the current song list is located includes a first interaction control, where the first interaction control is used for triggering sending of a command for obtaining recommended songs; and the first acquisition module is used for acquiring a plurality of target songs from the current song list of the user terminal when the instruction for acquiring the recommended songs is received.
Optionally, the target display interface includes a second interaction control, where the second interaction control is used to trigger sending of a command of hiding the target song; and the display module is also used for hiding the target song when receiving the instruction for hiding the target song, so that the target display interface displays the recommended song.
Optionally, the first obtaining module is configured to obtain songs displayed in a current window range on a display interface where the current song list is located, and display different songs in the current window range according to the received sliding operation on a display page where the current song list is located; and taking the song displayed in the current window range on the display interface where the current song list is positioned as the target song.
Optionally, the target display interface includes a third interaction control, where the third interaction control is used to trigger sending of an instruction for playing all songs; and the display module is also used for adding the song recommendation list to a play list when receiving the instruction for playing all songs.
Optionally, the target display interface includes a fourth interaction control, where the fourth interaction control is used to trigger sending of a song collection instruction; the display module is further used for storing the target song and/or the recommended song to a favorite song list when the instruction for collecting songs is received; or the target display interface comprises a fifth interaction control, wherein the fifth interaction control is used for triggering the sending of a song deleting instruction; and the display module is further used for deleting the target song and/or the recommended song in the song recommendation list or the play list when the song deleting instruction is received, and updating the position of the remaining songs in the song recommendation list or the play list in the list so that the remaining songs in the song recommendation list or the play list are displayed in an associated mode in the corresponding list.
Optionally, the generating module is configured to obtain a target number of recommended songs from the obtained recommended songs corresponding to each target song; and generating a song recommendation list according to the target songs and the target number of recommended songs corresponding to each target song.
Optionally, the generating module is configured to, when the number of recommended songs corresponding to any one of the obtained target songs is smaller than the target number, use all obtained recommended songs as the recommended songs of the target number of the corresponding target songs.
In one aspect, an embodiment of the present application provides an electronic device, including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to perform the method of any one of the possible embodiments described above.
In one aspect, an embodiment of the present application provides a computer-readable storage medium, including: the instructions in the storage medium, when executed by the processor of the terminal, enable the terminal to perform the method of any one of the possible embodiments described above.
In one aspect, embodiments of the present application provide a computer program (product), the computer program (product) comprising: computer program code which, when run by a computer, causes the computer to perform the methods of the above aspects.
The technical scheme provided by the embodiment of the disclosure at least can comprise the following beneficial effects:
according to the obtained target songs and the recommended songs corresponding to the target songs, a song recommendation list is generated, and after the recommended songs corresponding to each target song are arranged at the positions of the corresponding target songs in the song recommendation list, the collected songs corresponding to the displayed recommended songs and the recommended songs corresponding to the displayed collected songs can be accurately known from the song recommendation list displayed on the same target display interface, and therefore the operation convenience of the music player is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a schematic illustration of an application scenario of a song display method according to an exemplary embodiment;
FIG. 2 is a schematic diagram of an application scenario of a song display method according to an exemplary embodiment;
FIG. 3 is a schematic diagram of an implementation environment of a song display method according to an exemplary embodiment;
FIG. 4 is a flowchart illustrating a song display method according to an exemplary embodiment;
FIG. 5 is a flowchart illustrating a song display method according to an exemplary embodiment;
FIG. 6 is a schematic diagram of an application scenario of a song display method according to an exemplary embodiment;
FIG. 7 is a block diagram of a song display apparatus according to an exemplary embodiment;
FIG. 8 is a block diagram of an electronic device, shown in accordance with an exemplary embodiment;
fig. 9 is a block diagram of a terminal according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the invention. Rather, they are merely examples of apparatus and methods consistent with aspects of the invention as detailed in the accompanying claims.
With the development of internet technology, various music players have been developed. The music player may display the user's favorite songs such that the user may select songs to be played among the displayed favorite songs. Recommended songs that are similar in style to the user's favorite songs may also be displayed so that the user may select a song to be played among the displayed recommended songs. However, if the music player is playing the favorite song, if the recommended song is to be played, the user needs to jump to the display interface of the music player where the recommended song is located, and then select the recommended song. The time for playing songs is increased, and the operation convenience of the music player is affected.
In the related art, after the collected songs and the recommended songs are respectively arranged, the collected songs and the recommended songs are displayed on the same display interface, so that the collected songs and the recommended songs can be switched to play on the same display interface. However, in the related art, the corresponding collected songs cannot be obtained through the recommended songs displayed on the display interface, and the corresponding recommended songs cannot be obtained through the collected songs displayed on the display interface, so that the operation convenience of the music player is reduced.
In order to solve the above technical problems, embodiments of the present application provide a song display method, and specific schemes are described in the following embodiments. For convenience of description of the scheme, the embodiment of the application is illustrated by taking the application scenario shown in fig. 1 and fig. 2 as an example.
The embodiment of the application provides a song display method which can be applied to an implementation environment shown in fig. 3. In fig. 3, comprising at least one user terminal 31 and a server 32, the end user 31 may be communicatively connected to the server 32 for downloading songs of the corresponding music player from the server 32 or said user terminal 31.
The user terminal 31 may be any electronic product that can perform man-machine interaction with a user through one or more modes of a keyboard, a touch pad, a touch screen, a remote controller, a voice interaction or a handwriting device, such as a PC (Personal Computer, a personal computer), a mobile phone, a smart phone, a PDA (Personal Digital Assistant, a personal digital assistant), a wearable device, a palm computer PPC (Pocket PC), a tablet computer, a smart car machine, a smart television, a smart sound box, etc.
The server 32 may be a server, a server cluster comprising a plurality of servers, or a cloud computing service center.
It will be appreciated by those skilled in the art that the above-described user terminal 31 and server 32 are merely examples, and that other terminals or servers that may be present in the present application or in the future are intended to be within the scope of the present application and are incorporated herein by reference.
Based on the implementation environment shown in fig. 3, referring to fig. 4, an embodiment of the present application provides a song display method, where the song display method may be used in the user terminal shown in fig. 3 or a server or other user terminals that may be communicatively connected to the user terminal, and the method may include:
s41, obtaining a plurality of target songs from a current song list of the user terminal.
The current song list may be, for example, a list of songs collected by the user, or a list of songs created by the user himself, or any list of songs selected by the user in the music player, such as a new song list, a song ranking list, etc. The current list of songs shown in fig. 1 is a list of songs collected by the user. The obtained multiple target songs may be all the songs in the current song list, so as to avoid that the number of collected songs is too large, increase the time for executing the operation of obtaining the recommended song corresponding to each target song, or obtain part of the songs in the song list as target songs.
As an optional embodiment of the present application, step S41 includes:
obtaining songs displayed in a current window range of a display interface where a current song list is located, and displaying different songs in the current window range according to the received sliding operation on a display page where the current song list is located; and taking the song displayed in the current window range on the display interface where the current song list is positioned as the target song.
The number of songs displayed in the current window on the display interface where the current song list is located is illustratively determined according to the type of terminal, for example, the terminal may include a mobile phone or a computer. The application programs of the same music player can be divided into a webpage version and a mobile phone version. The number of songs displayed in the current window range by the display interface in which the favorite songs are located may vary for different music player applications due to the different terminals in which they are installed. As shown in FIG. 1, a mobile phone application display interface of a music player is shown, and Song 1, song 2, song 3, song 4, song 5, song 6, and 6 songs can be displayed in the current window of the display interface, so the number of acquired target collection songs can be 6. If the number of songs contained in the current song list is large, the display interface where the current song list is located cannot display all songs in the current window range, but a scroll bar is displayed on the display interface. And when the terminal receives the sliding operation, displaying the corresponding song in the current window range of the display interface. The display method of the display interface with the scroll bar may be that the terminal corresponds the songs in the current song list to the positions of the scroll bar in the current window range of the display interface in advance, so that the scroll bar is positioned at different positions of the display interface to display different songs.
Because the obtained target songs are songs which are displayed in the current window range of the display interface where the current song list is located, the number of the obtained target songs is limited by the current window range of the display interface where the terminal is located, the number of the obtained target songs is not too large, and the processing speed of the processor is improved. Meanwhile, the obtained target songs are songs which are displayed in the current window range by the display interface where the current song list is located, the interface can receive the operation of a user to change the songs displayed in the current window range, different displayed songs can express the wish of the user to obtain the corresponding recommended songs, the terminal can obtain and display the corresponding recommended songs according to the different displayed songs, the terminal does not need to obtain the recommended songs of the non-displayed songs, and the processing efficiency of the processor is improved, and meanwhile the user experience is also improved.
As an optional implementation manner of the application, the display interface where the current song list is located comprises a first interaction control, and the first interaction control is used for triggering the sending of a command for acquiring recommended songs; step S41, including:
and when receiving an instruction for acquiring recommended songs, acquiring a plurality of target songs from a current song list of the user terminal.
For example, the instruction of acquiring the recommended song may set an interaction control in a display interface of a music player of the terminal, so that a user may trigger sending of the instruction of acquiring the recommended song by operating the interaction control. As shown in fig. 1, in the display interface of the music player shown in the figure, the interactive control 12 is operable to receive a triggering operation by a user. The embodiment of the application does not limit the position and the expression form of the interactive control in the display interface, so long as a user can trigger the sending of the instruction for acquiring the recommended song through operating the interactive control. In order to make the interaction control 12 function clearly known to the user, the name of the interaction control 12 is displayed in the form of a label in the display interface. In the embodiment of the present application, the label of the interaction control 12 is "AI recommended mode", other names may be used, and the name of the interaction control is not limited in the embodiment of the present application. The position of the tag "AI recommended mode" may be, for example, the position corresponding to the reference numeral 11 in fig. 1, or may be other positions on the display interface, and the position of the tag is not limited in the embodiment of the present application.
S42, obtaining recommended songs corresponding to each target song, wherein the recommended songs comprise one or more recommended songs.
The number of the obtained recommended songs corresponding to any target song may be one or more, and the number of the obtained recommended songs corresponding to any target song is not limited in the embodiment of the present application. The obtained recommended song may be a song singed by the same singer as the corresponding target song; or may be a song that is the same song as the corresponding target song. The method for acquiring the recommended songs is not limited, and a person skilled in the art can acquire the corresponding recommended songs according to a preset recommendation algorithm.
S43, generating a song recommendation list according to the target songs and the recommended songs corresponding to each target song, wherein the recommended songs corresponding to each target song are arranged behind the positions of the corresponding target songs in the song recommendation list.
In an exemplary embodiment, when the obtained recommended song corresponding to the target song is one, after the recommended song is set at the position of the corresponding target song in the song recommendation list, the formed song recommendation list is displayed at intervals of one target song and one recommended song corresponding to the target song. When the number of recommended songs corresponding to the obtained target songs is multiple, the obtained multiple recommended songs can be set after the corresponding target songs, so that the formed song recommendation list is displayed at intervals of one target song and multiple recommended songs corresponding to the target songs.
As an alternative embodiment of the present application, step S43 includes:
s431, acquiring a target number of recommended songs from the acquired recommended songs corresponding to each target song;
as an optional embodiment of the present application, step S431 includes:
and when the number of the recommended songs corresponding to any one of the obtained target songs is smaller than the target number, taking all the obtained recommended songs as the recommended songs of the target number of the corresponding target songs.
For example, among the obtained recommended songs corresponding to each target song, the obtained target number of recommended songs causes the target number of recommended songs corresponding to each target song displayed in the song recommendation list. The target number may be a fixed value, such as 3 recommended songs for each target song. To avoid acquiring fewer recommended songs for a certain target song, the target number may be set to a value that varies within the target range, i.e., any target number of songs within the target range may be set after each target song in the song recommendation list. For example, the target range may be any integer value of [1,3 ]. But when the obtained recommended songs are more than 3, selecting 3 recommended songs for display. The 3 obtained recommended songs can be three songs which are ranked according to the similarity with the target song, can be three songs which are obtained first by the terminal, can be any three songs selected from all obtained recommended songs for display, and the embodiment of the application does not limit the specifically displayed songs. When the number of the obtained recommended songs is less than three, all the songs can be displayed. In order to avoid too many recommended songs displayed after each target song, affecting the display of the target songs, and improving the efficiency of obtaining the recommended songs, a recommendation song can be set after each target song.
S432, generating a song recommendation list according to the target songs and the target number of recommended songs corresponding to each target song.
As shown in fig. 1, song 2 is a recommended song for target song 1, song 4 is a recommended song for target song 3, and song 6 is a recommended song for target song 5. When a plurality of recommended songs are displayed, the recommended songs may be arranged in the target order and then set in a list after the list position of the corresponding target song. For example, the obtained recommended songs are arranged according to the English sequence of the first letter of the name; or the recommended songs and the corresponding target songs can be arranged according to the similarity; or the songs can be arranged according to the acquired sequence of the songs. The embodiment of the application does not limit the arrangement sequence of recommended songs.
In the above embodiment, the favorite songs are displayed in a list form. In the embodiment of the present application, as shown in fig. 6, the target songs 7 and 8 may be arranged and displayed in the form of icons, and the recommended songs 71, 72 and 73 corresponding to the target song 7 and the recommended songs 81, 82 and 83 corresponding to the target song 8 are displayed around the corresponding target songs and are displayed on the target display interface in association with the target songs.
And S44, sending the song recommendation list to the user terminal so that the user terminal can display the song recommendation list on the same target display interface.
The target display interface may be, for example, a display interface on which the current playlist is located; other display interfaces in the music player that may be used to display songs; or any new display interface provided in the music player for displaying the song recommendation list. The embodiment of the application does not limit the target display interface.
According to the song display method provided by the embodiment of the application, the song recommendation list is generated according to the obtained target songs and the recommended songs corresponding to the target songs, and after the recommended songs corresponding to each target song are arranged at the positions of the corresponding target songs in the song recommendation list, the collected songs corresponding to the displayed recommended songs and the recommended songs corresponding to the displayed collected songs can be accurately obtained in the song recommendation list displayed on the same target display interface, so that the operation convenience of the music player is improved.
As an optional embodiment of the present application, after step S44, the method further includes:
firstly, adding an identifier to any recommended song in a song recommendation list, wherein the identifier is used for representing that the corresponding song is a recommended song;
And secondly, displaying the identification on a target display interface.
Illustratively, since the identification plays a recommendation role, different colors can be used to distinguish the target song from the recommended song at the target display interface; words may also be used as an identification to distinguish between target songs and recommended songs. As shown in fig. 1, song 2 is a recommended song of target song 1, song 4 is a recommended song of target song 3, song 6 is a recommended song of target song 5, and the display list corresponding to recommended songs 2, 4, and 6 can be seen to contain the identifier "referring" corresponding to reference numeral 13. By the identification, the user can clearly know which songs are recommended songs from the songs displayed on the target display interface, and the user can conveniently select the songs to be played. The embodiment of the application does not limit the setting position and the representation form of the mark, and the person skilled in the art can determine the setting position and the representation form according to the actual design requirement.
As an optional implementation mode of the application, the target display interface comprises a second interaction control, and the second interaction control is used for triggering the sending of the hidden target song instruction; as shown in fig. 5, after step S44, the method further includes:
s45, when receiving an instruction for hiding the target song, hiding the target collection song, so that the recommended song is displayed in the target display interface.
The instruction of hiding the target song may be set in an operation interface of a music player of the terminal, so that a user may trigger sending the instruction of hiding the target song by operating the interaction control. The interaction control can be preset and displayed on a target display interface; when the target display interface is the display interface where the current song list is located, the interactive control can be displayed when the terminal receives a command for acquiring the recommended song, so that the operability of the application program is prevented from being influenced due to the fact that the interactive control of the display interface where the current song list is located is too many.
In the display interface of the music player of fig. 1, the interactive controls 14 are operable to receive a user's triggering operation. The embodiment of the application does not limit the position and the expression form of the interaction control in the display interface, and only the user can trigger the instruction for generating the hidden target song by operating the interaction control. For example, the interactive controls may be displayed in a floating manner on a target display interface containing target favorite songs and recommended songs. In order to make the interaction control 14 function clearly known to the user, the name of the interaction control 14 is displayed in the form of a label in the target display interface. In the embodiment of the present application, the label of the interaction control 14 is "only recommended to watch", other names may also be used, and the embodiment of the present application does not limit the names of the interaction controls. The "just recommended" position of the tag may be as shown in fig. 1, or may be at another position of the display interface, and the position of the tag is not limited in the embodiment of the present application.
As an optional implementation manner of the application, the target display interface comprises a third interaction control, and the third interaction control is used for triggering the sending of instructions for playing all songs; after step S44, the method further includes:
and S46, adding the song recommendation list to the play list when receiving instructions for playing all songs.
The instruction of playing all songs can be set in an operation interface of a music player of the terminal, so that a user can trigger to generate the instruction of playing all songs by operating the interaction control. In the display interface of the music player of fig. 1, the interactive control 15 is operable to receive a triggering operation by a user. The embodiment of the application does not limit the position and the expression form of the interactive control in the display interface, so long as a user can trigger to generate all song playing instructions by operating the interactive control. When receiving instructions for playing all songs, adding the target songs and recommended songs in the song recommendation list to the play list can generate a play interface as shown in fig. 2 to play the songs. The playlist may be arranged with the target songs spaced from the recommended songs as shown in fig. 2; the recommended songs can be added first and then the target songs can be added, so that the user can hear the recommended songs preferentially, and the efficiency of listening to the recommended songs is improved.
As an optional implementation manner of the application, the target display interface comprises a fourth interaction control, and the fourth interaction control is used for triggering the sending of the song collection instruction. As shown in connection with fig. 1, after step S44, the method further includes:
when receiving the instruction for collecting songs, the target songs and/or recommended songs are stored in the collection song list.
The instruction for collecting songs can be set in a display interface of a music player of the terminal, so that a user can generate an instruction for collecting songs by triggering the interactive control, and the terminal can store target songs and/or collected songs into a collected song list according to the received instruction for collecting songs. As shown in FIG. 1, the interactive control 16 in FIG. 1 is a fourth interactive control for triggering the transmission of a favorite song instruction. The application does not limit the setting position and the representation form of the interaction control. Since the current song list shown in fig. 1 is a list of favorite songs, the fourth interactive control is not set in this display interface for the corresponding target song 1, 3, 5. If the current song list is not the song list collected by the user, the songs in the corresponding song list are not collected, so that a fourth interaction control can be set on the position of the obtained target song.
As an optional implementation manner of the application, the target display interface comprises a fifth interaction control, and the fifth interaction control is used for triggering the sending of the song deleting instruction. As shown in connection with fig. 2, after step S44, the method further includes:
and when receiving a song deleting instruction, deleting the target song and/or the recommended song in the song recommendation list or the play list, and updating the position of the rest songs in the song recommendation list or the play list in the list so that the rest songs in the song recommendation list or the play list are displayed in an associated mode in the corresponding list.
The instruction of deleting the song may be configured to set an interactive control in a display interface of a music player of the terminal, so that the user may generate the instruction of deleting the song by triggering the interactive control, so that the terminal deletes the target song and/or recommended song in the song recommendation list or play list according to the received instruction of deleting the song, updates a position of the remaining song in the song recommendation list or play list in the list, and causes the remaining song in the song recommendation list or play list to be displayed in association in the corresponding list. Fig. 2 is a display interface where a playlist is located, where the interaction control 21 is a fifth interaction control for triggering sending of a command for deleting songs, and through which a target song and/or a recommended song may be deleted in the playlist. After deleting the song corresponding to number 05, the position of the song in the song list after number 05 advances by one list so that the song after number 05 is displayed in association with the song of number 04. The application does not limit the setting position and the representation form of the interaction control. A corresponding fifth interaction control is not shown in fig. 1 in the embodiment of the present application, and a person skilled in the art may set the fifth interaction module in any form at any position in the song recommendation list according to the description in the embodiment of the present application. As shown in fig. 2, the display interface on which the playlist is located further includes an interaction control 22 for triggering the sending of the favorite song instruction and an interaction control 23 for triggering the sending of the download song instruction. The embodiment of the present application is not limited to the types, setting positions and representation forms of other interactive controls contained in fig. 1 and 2.
The song display method provided by the other embodiment of the application can be applied to a user terminal and comprises the following steps:
first, in the current song list, a plurality of target songs are acquired.
And secondly, acquiring recommended songs corresponding to each target song, wherein the recommended songs comprise one or more.
And then, generating a song recommendation list according to the target songs and the recommended songs corresponding to each target song, wherein the recommended songs corresponding to each target song are arranged behind the positions of the corresponding target songs in the song recommendation list.
Again, a list of song recommendations is displayed on the same target display interface.
The specific execution process of each method step in the embodiment of the present application is the same as the corresponding step in the previous embodiment, and will not be described herein. Meanwhile, the method executed under the execution body also includes any optional implementation manner of the previous embodiment, specifically referring to the previous embodiment, and will not be described herein again.
Fig. 7 is a block diagram of a song display apparatus according to an exemplary embodiment. Referring to fig. 7, the apparatus includes a first acquisition module 71, a second acquisition module 72, a generation module 73, and a display module 74.
A first display module 71, configured to obtain a plurality of target songs from a current song list of the user terminal;
A first obtaining module 72, configured to obtain a recommended song corresponding to each target song, where the recommended song includes one or more recommended songs;
a second obtaining module 73, configured to generate a song recommendation list according to the target songs and recommended songs corresponding to each target song, where the recommended songs corresponding to each target song are set after the positions of the corresponding target songs in the song recommendation list;
and a second display module 74, configured to send the song recommendation list to the user terminal, so that the user terminal displays the song recommendation list on the same target display interface.
According to the song display method provided by the embodiment of the application, the song recommendation list is generated according to the obtained target songs and the recommended songs corresponding to the target songs, and after the recommended songs corresponding to each target song are arranged at the positions of the corresponding target songs in the song recommendation list, the collection songs corresponding to the displayed recommended songs and the recommended songs corresponding to the displayed collection songs can be accurately known in the song recommendation list displayed on the same target display interface, so that the operation convenience of the music player is improved.
As an optional implementation manner of the application, the display interface where the current song list is located comprises a first interaction control, and the first interaction control is used for triggering the sending of a command for acquiring recommended songs; the first obtaining module 71 is configured to obtain a plurality of target songs from a current song list of the user terminal when the instruction for obtaining recommended songs is received.
As an optional implementation manner of the present application, the target display interface includes a second interaction control, where the second interaction control is used to trigger the sending of the command of hiding the target song; the display module 74 is further configured to hide the target song when the instruction to hide the target song is received, so that the target display interface displays the recommended song.
As an optional embodiment of the present application, the first obtaining module 71 is configured to obtain songs displayed in a current window range by a display interface where the current song list is located, and display different songs in the current window range according to the received sliding operation on a display page where the current song list is located; and taking the song displayed in the current window range on the display interface where the current song list is positioned as the target song.
As an optional implementation manner of the present application, the target display interface includes a third interaction control, where the third interaction control is used to trigger the sending of an instruction for playing all songs; the display module 74 is further configured to add the song recommendation list to a playlist when the instruction to play all songs is received.
As an optional implementation manner of the application, the target display interface comprises a fourth interaction control, and the fourth interaction control is used for triggering the sending of a song collection instruction; the display module 74 is further configured to save the target song and/or the recommended song to a favorite song list when the favorite song command is received; or the target display interface comprises a fifth interaction control, wherein the fifth interaction control is used for triggering the sending of a song deleting instruction; the display module 74 is further configured to delete the target song and/or the recommended song in the song recommendation list or the playlist when the instruction to delete the song is received, and update the position of the song recommendation list or the remaining songs in the playlist in the list, so that the song recommendation list or the remaining songs in the playlist are displayed in association with each other in the corresponding list.
As an optional embodiment of the present application, the generating module 73 is configured to obtain a target number of recommended songs from the obtained recommended songs corresponding to each target song; and generating a song recommendation list according to the target songs and the target number of recommended songs corresponding to each target song.
As an optional embodiment of the present application, the generating module 73 is configured to, when the number of recommended songs corresponding to any one of the obtained target songs is smaller than the target number, use all the obtained recommended songs as the recommended songs of the target number of the corresponding target songs.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Based on the same concept, the embodiment of the application further provides an electronic device, as shown in fig. 8, including:
a processor 81;
a memory 82 for storing instructions executable by the processor 81;
wherein the processor 81 is configured to perform the song display method described in the above embodiments. Wherein the processor 81 and the memory 82 are connected by a communication bus 83.
It is to be appreciated that the processor described above can be a central processing unit (Central Processing Unit, CPU), but also other general purpose processors, digital signal processors (digital signal processing, DSP), application specific integrated circuits (application specific integrated circuit, ASIC), field-programmable gate arrays (field-programmable gate array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or any conventional processor or the like. It is noted that the processor may be a processor supporting an advanced reduced instruction set machine (advanced RISC machines, ARM) architecture.
Further, in an alternative embodiment, the memory may include read only memory and random access memory, and provide instructions and data to the processor. The memory may also include non-volatile random access memory. For example, the memory may also store information of the device type.
The memory may be volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The nonvolatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically Erasable EPROM (EEPROM), or a flash memory. The volatile memory may be random access memory (random access memory, RAM) which acts as an external cache. By way of example, and not limitation, many forms of RAM are available. For example, static RAM (SRAM), dynamic RAM (dynamic random access memory, DRAM), synchronous DRAM (SDRAM), double data rate synchronous DRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous DRAM (SLDRAM), and direct memory bus RAM (DR RAM).
Fig. 9 is a block diagram of a terminal 900, according to an example embodiment. The terminal 900 may be: smart phones, tablet computers, notebook computers or desktop computers. Terminal 900 may also be referred to by other names of user devices, portable terminals, laptop terminals, desktop terminals, etc.
In general, the terminal 900 includes: a processor 901 and a memory 902.
Processor 901 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 901 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 901 may also include a main processor and a coprocessor, the main processor being a processor for processing data in an awake state, also referred to as a CPU (Central Processing Unit ); a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 901 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. In some embodiments, the processor 901 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
The memory 902 may include one or more computer-readable storage media, which may be non-transitory. The memory 902 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 902 is used to store at least one instruction for execution by processor 901 to implement a song display method provided by a method embodiment of the present application.
In some embodiments, the terminal 900 may further optionally include: a peripheral interface 903, and at least one peripheral. The processor 901, memory 902, and peripheral interface 903 may be connected by a bus or signal line. The individual peripheral devices may be connected to the peripheral device interface 903 via buses, signal lines, or circuit boards. Specifically, the peripheral device includes: at least one of radio frequency circuitry 904, a display 905, a camera 906, audio circuitry 907, positioning components 908, and a power source 909.
The peripheral interface 903 may be used to connect at least one peripheral device associated with an I/O (Input/Output) to the processor 901 and the memory 902. In some embodiments, the processor 901, memory 902, and peripheral interface 903 are integrated on the same chip or circuit board; in some other embodiments, either or both of the processor 901, the memory 902, and the peripheral interface 903 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 904 is configured to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 904 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 904 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 904 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. The radio frequency circuit 904 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity ) networks. In some embodiments, the radio frequency circuit 904 may also include NFC (Near Field Communication ) related circuits, which the present application is not limited to.
The display 905 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display 905 is a touch display, the display 905 also has the ability to capture touch signals at or above the surface of the display 905. The touch signal may be input as a control signal to the processor 901 for processing. At this time, the display 905 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 905 may be one, providing a front panel of the terminal 900; in other embodiments, the display 905 may be at least two, respectively disposed on different surfaces of the terminal 900 or in a folded design; in still other embodiments, the display 905 may be a flexible display disposed on a curved surface or a folded surface of the terminal 900. Even more, the display 905 may be arranged in an irregular pattern other than rectangular, i.e., a shaped screen. The display 905 may be made of LCD (Liquid Crystal Display ), OLED (Organic Light-Emitting Diode) or other materials.
The camera assembly 906 is used to capture images or video. Optionally, the camera assembly 906 includes a front camera and a rear camera. Typically, the front camera is disposed on the front panel of the terminal and the rear camera is disposed on the rear surface of the terminal. In some embodiments, the at least two rear cameras are any one of a main camera, a depth camera, a wide-angle camera and a tele camera, so as to realize that the main camera and the depth camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting and Virtual Reality (VR) shooting function or other fusion shooting functions. In some embodiments, camera assembly 906 may also include a flash. The flash lamp can be a single-color temperature flash lamp or a double-color temperature flash lamp. The dual-color temperature flash lamp refers to a combination of a warm light flash lamp and a cold light flash lamp, and can be used for light compensation under different color temperatures.
The audio circuit 907 may include a microphone and a speaker. The microphone is used for collecting sound waves of users and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 901 for processing, or inputting the electric signals to the radio frequency circuit 904 for voice communication. For purposes of stereo acquisition or noise reduction, the microphone may be plural and disposed at different portions of the terminal 900. The microphone may also be an array microphone or an omni-directional pickup microphone. The speaker is used to convert electrical signals from the processor 901 or the radio frequency circuit 904 into sound waves. The speaker may be a conventional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only the electric signal can be converted into a sound wave audible to humans, but also the electric signal can be converted into a sound wave inaudible to humans for ranging and other purposes. In some embodiments, the audio circuit 907 may also include a headphone jack.
The location component 908 is used to locate the current geographic location of the terminal 900 to enable navigation or LBS (Location Based Service, location-based services). The positioning component 908 may be a positioning component based on the United states GPS (Global Positioning System ), the Beidou system of China, the Granati system of Russia, or the Galileo system of the European Union.
The power supply 909 is used to supply power to the various components in the terminal 900. The power supply 909 may be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 909 includes a rechargeable battery, the rechargeable battery can support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 900 can further include one or more sensors 910. The one or more sensors 910 include, but are not limited to: acceleration sensor 911, gyroscope sensor 912, pressure sensor 913, fingerprint sensor 914, optical sensor 915, and proximity sensor 916.
The acceleration sensor 911 can detect the magnitudes of accelerations on three coordinate axes of the coordinate system established with the terminal 900. For example, the acceleration sensor 911 may be used to detect components of gravitational acceleration in three coordinate axes. The processor 901 may control the touch display 905 to display a user interface in a landscape view or a portrait view according to the gravitational acceleration signal acquired by the acceleration sensor 911. The acceleration sensor 911 may also be used for the acquisition of motion data of a game or a user.
The gyro sensor 912 may detect a body direction and a rotation angle of the terminal 900, and the gyro sensor 912 may collect a 3D motion of the user on the terminal 900 in cooperation with the acceleration sensor 911. The processor 901 may implement the following functions according to the data collected by the gyro sensor 912: motion sensing (e.g., changing UI according to a tilting operation by a user), image stabilization at shooting, game control, and inertial navigation.
The pressure sensor 913 may be provided at a side frame of the terminal 900 and/or a lower layer of the touch display 905. When the pressure sensor 913 is provided at a side frame of the terminal 900, a grip signal of the user to the terminal 900 may be detected, and the processor 901 performs left-right hand recognition or shortcut operation according to the grip signal collected by the pressure sensor 913. When the pressure sensor 913 is disposed at the lower layer of the touch display 905, the processor 901 performs control of the operability control on the UI interface according to the pressure operation of the user on the touch display 905. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
The fingerprint sensor 914 is used for collecting the fingerprint of the user, and the processor 901 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 914, or the fingerprint sensor 914 identifies the identity of the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the processor 901 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying for and changing settings, etc. The fingerprint sensor 914 may be provided on the front, back or side of the terminal 900. When a physical key or a vendor Logo is provided on the terminal 900, the fingerprint sensor 914 may be integrated with the physical key or the vendor Logo.
The optical sensor 915 is used to collect the intensity of ambient light. In one embodiment, the processor 901 may control the display brightness of the touch display 905 based on the intensity of ambient light collected by the optical sensor 915. Specifically, when the ambient light intensity is high, the display brightness of the touch display 905 is turned up; when the ambient light intensity is low, the display brightness of the touch display panel 905 is turned down. In another embodiment, the processor 901 may also dynamically adjust the shooting parameters of the camera assembly 906 based on the ambient light intensity collected by the optical sensor 915.
A proximity sensor 916, also referred to as a distance sensor, is typically provided on the front panel of the terminal 900. Proximity sensor 916 is used to collect the distance between the user and the front of terminal 900. In one embodiment, when the proximity sensor 916 detects that the distance between the user and the front face of the terminal 900 gradually decreases, the processor 901 controls the touch display 905 to switch from the bright screen state to the off screen state; when the proximity sensor 916 detects that the distance between the user and the front surface of the terminal 900 gradually increases, the processor 901 controls the touch display 905 to switch from the off-screen state to the on-screen state.
Those skilled in the art will appreciate that the structure shown in fig. 9 is not limiting and that more or fewer components than shown may be included or certain components may be combined or a different arrangement of components may be employed.
The present application provides a computer program which, when executed by a computer, causes a processor or computer to perform the corresponding steps and/or procedures of the above-described method embodiments.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.
Claims (9)
1. A song display method, the method comprising:
obtaining a plurality of target songs from a current song list of a user terminal;
acquiring recommended songs corresponding to each target song, wherein the recommended songs comprise one or more target songs, the target songs are different displayed songs, the recommended songs are acquired according to the different displayed songs, the recommended songs corresponding to each target song are acquired, and the acquisition of the recommended songs is not performed on the songs which are not displayed;
Generating a song recommendation list according to the target songs and recommended songs corresponding to each target song, wherein after the recommended songs corresponding to each target song are arranged at the positions of the corresponding target songs in the song recommendation list, the recommended songs are added with identifiers for representing the corresponding songs as recommended songs;
transmitting the song recommendation list to the user terminal so that the user terminal displays the song recommendation list on the same target display interface;
the target display interface comprises a second interaction control, and the second interaction control is used for triggering the sending of a hidden target song instruction;
the method further comprises the steps of sending the song recommendation list to the user terminal so that the user terminal can display the song recommendation list on the same target display interface, and then the method further comprises the steps of:
when the command for hiding the target song is received, hiding the target song, so that the target display interface displays the recommended song;
obtaining a plurality of target songs, including:
obtaining songs displayed in a current window range of a display interface where the current song list is located, wherein different songs are displayed in the current window range according to the received sliding operation on a display page where the current song list is located;
And taking the song displayed in the current window range on the display interface where the current song list is positioned as the target song.
2. The method of claim 1, wherein the display interface on which the current song list is located includes a first interaction control, the first interaction control being configured to trigger a transmission of an instruction to obtain a recommended song;
the obtaining a plurality of target songs from the current song list of the user terminal includes:
and when the instruction for acquiring the recommended songs is received, acquiring a plurality of target songs from a current song list of the user terminal.
3. The method of claim 1, wherein the target display interface includes a third interactive control for triggering transmission of an instruction to play all songs;
the method further comprises the steps of sending the song recommendation list to the user terminal so that the user terminal can display the song recommendation list on the same target display interface, and then the method further comprises the steps of:
and when receiving the instruction for playing all songs, adding the song recommendation list to a play list.
4. The method of claim 3, wherein the target display interface includes a fourth interactive control for triggering transmission of a favorite song instruction;
The method further comprises the steps of sending the song recommendation list to the user terminal so that the user terminal can display the song recommendation list on the same target display interface, and then the method further comprises the steps of:
when receiving the song collection instruction, storing the target song and/or the recommended song into a song collection list; or,
the target display interface comprises a fifth interaction control, and the fifth interaction control is used for triggering the sending of a song deleting instruction;
the method further comprises the steps of sending the song recommendation list to the user terminal so that the user terminal can display the song recommendation list on the same target display interface, and then the method further comprises the steps of:
and when the song deleting instruction is received, deleting the target song and/or the recommended song in the song recommendation list or the play list, and updating the position of the rest songs in the song recommendation list or the play list in the list so that the rest songs in the song recommendation list or the play list are displayed in a correlated mode in the corresponding list.
5. The method of claim 1, wherein generating a song recommendation list according to the target song and the recommended song corresponding to each target song, wherein the recommended song corresponding to each target song is set after the position of the corresponding target song in the song recommendation list, comprises:
Acquiring a target number of recommended songs from the recommended songs corresponding to each target song;
and generating a song recommendation list according to the target songs and the target number of recommended songs corresponding to each target song.
6. The method of claim 5, wherein the obtaining a target number of recommended songs from the obtained recommended songs corresponding to each target song includes:
and when the number of the recommended songs corresponding to any one of the obtained target songs is smaller than the target number, taking all the obtained recommended songs as the recommended songs of the target number of the corresponding target songs.
7. A song display device, the device comprising:
the first acquisition module is used for acquiring a plurality of target songs from a current song list of the user terminal;
the second acquisition module is used for acquiring recommended songs corresponding to each target song, wherein the recommended songs comprise one or more target songs, the target songs are different displayed songs, the recommended songs are acquired according to the different displayed songs, the recommended songs corresponding to each target song are acquired, and the recommended songs are not acquired for the non-displayed songs;
The generation module is used for generating a song recommendation list according to the target songs and recommended songs corresponding to each target song, wherein after the recommended songs corresponding to each target song are arranged at the positions of the corresponding target songs in the song recommendation list, the recommended songs are added with identifiers for representing the corresponding songs as recommended songs;
the display module is used for sending the song recommendation list to the user terminal so that the user terminal can display the song recommendation list on the same target display interface;
the target display interface comprises a second interaction control, and the second interaction control is used for triggering the sending of a hidden target song instruction;
the display module is further configured to: when the command for hiding the target song is received, hiding the target song, so that the target display interface displays the recommended song;
the first acquisition module is further used for acquiring songs displayed in the current window range by a display interface where the current song list is located, and displaying different songs in the current window range according to the received sliding operation by a display page where the current song list is located; and taking the song displayed in the current window range on the display interface where the current song list is positioned as the target song.
8. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to perform the song display method of any one of claims 1-6.
9. A computer readable storage medium, characterized in that instructions in said storage medium, when executed by a processor of a terminal, enable the terminal to perform the song display method of any one of claims 1-6.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910539390.2A CN110245255B (en) | 2019-06-20 | 2019-06-20 | Song display method, device, equipment and storage medium |
PCT/CN2019/122173 WO2020253129A1 (en) | 2019-06-20 | 2019-11-29 | Song display method, apparatus and device, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910539390.2A CN110245255B (en) | 2019-06-20 | 2019-06-20 | Song display method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110245255A CN110245255A (en) | 2019-09-17 |
CN110245255B true CN110245255B (en) | 2023-12-05 |
Family
ID=67888407
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910539390.2A Active CN110245255B (en) | 2019-06-20 | 2019-06-20 | Song display method, device, equipment and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110245255B (en) |
WO (1) | WO2020253129A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110245255B (en) * | 2019-06-20 | 2023-12-05 | 广州酷狗计算机科技有限公司 | Song display method, device, equipment and storage medium |
CN113380279B (en) * | 2020-03-10 | 2023-06-09 | Oppo广东移动通信有限公司 | Audio playing method and device, storage medium and terminal |
CN115455229B (en) * | 2022-09-19 | 2024-08-30 | 北京字跳网络技术有限公司 | Song list recommendation method, apparatus, device, storage medium and program product |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104679855A (en) * | 2015-02-13 | 2015-06-03 | 广东欧珀移动通信有限公司 | Playlist creation method and terminal device |
CN108282534A (en) * | 2018-01-29 | 2018-07-13 | 出门问问信息科技有限公司 | Information-pushing method, device, electronic equipment and computer storage media |
CN108334272A (en) * | 2018-01-23 | 2018-07-27 | 维沃移动通信有限公司 | A kind of control method and mobile terminal |
CN108460154A (en) * | 2018-03-27 | 2018-08-28 | 腾讯科技(深圳)有限公司 | Searching method, device, computer equipment and storage medium |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8090606B2 (en) * | 2006-08-08 | 2012-01-03 | Napo Enterprises, Llc | Embedded media recommendations |
US8689142B2 (en) * | 2009-12-04 | 2014-04-01 | Nokia Corporation | Method and apparatus for providing media content searching capabilities |
JP6123155B2 (en) * | 2012-02-08 | 2017-05-10 | ソニー株式会社 | REPRODUCTION DEVICE, REPRODUCTION METHOD, AND PROGRAM |
JP5439620B1 (en) * | 2013-05-07 | 2014-03-12 | 株式会社 ディー・エヌ・エー | A system that recommends electronic content |
CN105335414B (en) * | 2014-08-01 | 2020-06-02 | 小米科技有限责任公司 | Music recommendation method and device and terminal |
CN104468848A (en) * | 2014-12-31 | 2015-03-25 | 魅族科技(中国)有限公司 | Song pushing method and server |
US10261963B2 (en) * | 2016-01-04 | 2019-04-16 | Gracenote, Inc. | Generating and distributing playlists with related music and stories |
CN110245255B (en) * | 2019-06-20 | 2023-12-05 | 广州酷狗计算机科技有限公司 | Song display method, device, equipment and storage medium |
-
2019
- 2019-06-20 CN CN201910539390.2A patent/CN110245255B/en active Active
- 2019-11-29 WO PCT/CN2019/122173 patent/WO2020253129A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104679855A (en) * | 2015-02-13 | 2015-06-03 | 广东欧珀移动通信有限公司 | Playlist creation method and terminal device |
CN108334272A (en) * | 2018-01-23 | 2018-07-27 | 维沃移动通信有限公司 | A kind of control method and mobile terminal |
CN108282534A (en) * | 2018-01-29 | 2018-07-13 | 出门问问信息科技有限公司 | Information-pushing method, device, electronic equipment and computer storage media |
CN108460154A (en) * | 2018-03-27 | 2018-08-28 | 腾讯科技(深圳)有限公司 | Searching method, device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110245255A (en) | 2019-09-17 |
WO2020253129A1 (en) | 2020-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107885533B (en) | Method and device for managing component codes | |
CN109327608B (en) | Song sharing method, terminal, server and system | |
CN113127130B (en) | Page jump method, device and storage medium | |
CN109922356B (en) | Video recommendation method and device and computer-readable storage medium | |
CN109144346B (en) | Song sharing method and device and storage medium | |
CN110245255B (en) | Song display method, device, equipment and storage medium | |
CN109634688B (en) | Session interface display method, device, terminal and storage medium | |
CN112257006B (en) | Page information configuration method, device, equipment and computer readable storage medium | |
CN111159551B (en) | User-generated content display method and device and computer equipment | |
CN111008083B (en) | Page communication method and device, electronic equipment and storage medium | |
CN112118482A (en) | Audio file playing method and device, terminal and storage medium | |
CN109033473B (en) | Picture sharing method and device and computer readable storage medium | |
CN108831423B (en) | Method, device, terminal and storage medium for extracting main melody tracks from audio data | |
CN110569064A (en) | interface identifier generation method, device, equipment and storage medium | |
WO2022227589A1 (en) | Audio processing method and apparatus | |
CN111241334B (en) | Method, device, system, equipment and storage medium for displaying song information page | |
CN109491636A (en) | Method for playing music, device and storage medium | |
CN111369434B (en) | Method, device, equipment and storage medium for generating spliced video covers | |
CN110968549B (en) | File storage method, device, electronic equipment and medium | |
CN111158780B (en) | Method, device, electronic equipment and medium for storing application data | |
CN111145723B (en) | Method, device, equipment and storage medium for converting audio | |
CN110333888B (en) | Function updating method, device, equipment and storage medium | |
CN110267114B (en) | Video file playing method, device, terminal and storage medium | |
CN110045999B (en) | Method, device, terminal and storage medium for drawing assembly | |
CN109101166B (en) | Audio control method, device 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 |