Song playing method, device, terminal equipment and storage medium
By displaying interactive options at specific timestamps in music playing applications, users can choose to continue playing or switch video content, which solves the problem of lack of interactivity in the existing technology, improves user experience and interactivity, and ensures the continuity of songs Play.
Patent Information
- Application Number
- CN202110476748.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-29
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-04-29
AI Technical Summary
Existing music player applications lack interactivity when playing songs, and users cannot interact during the synchronized playback of songs and MVs, resulting in a single experience.
During song playback, multiple interactive options are displayed. Users can select interactive options at specific timestamps to continue playing or switch video content without affecting the continuous playback of the song.
By providing interactive options during song playback, it improves user interactivity and experience, ensures the continuity of song playback, and increases the flexibility of video content.
Smart Images

Figure CN113518253B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of software technology, and in particular to a song playing method, apparatus, terminal device and storage medium. Background Art
[0002] Music player applications are frequently used in people's daily lives and can provide users with an audio-visual experience of various songs.
[0003] When playing a song, some music playing applications support the function of playing the song and the MV simultaneously if the song has an associated MV (Music Video), so that the user can listen to the song while watching the MV.
[0004] However, this current way of playing songs lacks interactivity. Summary of the invention
[0005] The embodiment of the present application provides a song playing method, device, terminal device and storage medium. The technical solution is as follows:
[0006] According to one aspect of an embodiment of the present application, a song playing method is provided, the method comprising:
[0007] During the playing of the target song, playing the associated video of the target song;
[0008] In response to the target song being played to a first time stamp, displaying at least two interactive options, wherein the target song is not paused at the first time stamp;
[0009] In response to a selection operation on a first interactive option among the at least two interactive options, video content corresponding to the first interactive option is played.
[0010] According to one aspect of an embodiment of the present application, a song playing device is provided, the device comprising:
[0011] A video playing module, used for playing the associated video of the target song during the process of playing the target song;
[0012] An option display module, for displaying at least two interactive options in response to the target song being played to a first time stamp, wherein the target song is not paused at the first time stamp;
[0013] The content playing module is used to play the video content corresponding to the first interactive option in response to the selection operation of the first interactive option among the at least two interactive options.
[0014] According to one aspect of an embodiment of the present application, a terminal device is provided, which includes a processor and a memory, wherein a computer program is stored in the memory, and the computer program is loaded and executed by the processor to implement the above-mentioned song playing method.
[0015] According to one aspect of an embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is loaded and executed by a processor to implement the above-mentioned song playing method.
[0016] According to one aspect of an embodiment of the present application, a computer program product is provided, which is loaded and executed by a processor to implement the above-mentioned song playing method.
[0017] The technical solution provided by the embodiments of the present application may have the following beneficial effects:
[0018] By displaying multiple interactive options for users to choose from during the playback of the target song and its associated video, and then playing the corresponding video content according to the interactive options selected by the user, an interactive technical solution is provided during the song playback process, which improves the interactivity. In addition, the target song does not pause during the user's interactive process, ensuring the continuity of the song playback.
[0019] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0021] Figure 1 It is a schematic diagram of an implementation environment of a solution provided by an embodiment of the present application;
[0022] Figure 2 is a flow chart of a song playing method provided by an embodiment of the present application;
[0023] Figure 3 is a schematic diagram of a video playback interface provided by an embodiment of the present application;
[0024] Figure 4 is a flow chart of a song playing method provided by another embodiment of the present application;
[0025] Figure 5is a schematic diagram of a video playback interface provided by another embodiment of the present application;
[0026] Figure 6 is a schematic diagram of a video playback interface provided by another embodiment of the present application;
[0027] Figure 7 is a block diagram of a song playing device provided by an embodiment of the present application;
[0028] Figure 8 is a block diagram of a song playing device provided by another embodiment of the present application;
[0029] Fig. 9 This is a block diagram of a terminal device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0030] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of methods consistent with some aspects of the present application as detailed in the appended claims.
[0031] Please refer to Figure 1 , which shows a schematic diagram of a solution implementation environment provided by an embodiment of the present application. The solution implementation environment can be implemented as a song playing system. Figure 1 As shown, the implementation environment of the solution may include: a terminal device 10 and a server 20.
[0032] The terminal device 10 may be an electronic device such as a mobile phone, a tablet computer, a PC (Personal Computer), a wearable device, a multimedia playback device, etc. Optionally, a client having a target application installed and running is installed in the terminal device 10. The target application may be an application dedicated to song playback (such as a music application) or other application with a song playback function, which is not limited in this application. In the method provided in the embodiment of the present application, the execution subject of each step may be the above-mentioned terminal device 10, such as a client running the target application installed and running in the above-mentioned terminal device 10.
[0033] A communication connection (such as a network connection) is established between the server 20 and the terminal device 10. The server 20 may be a background server of the target application, and is used to provide background services for the client of the target application. The server 20 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.
[0034] Please refer to Figure 2 , which shows a flowchart of a song playing method provided by an embodiment of the present application. In the method provided by this embodiment, the execution subject of each step can be Figure 1 The terminal device 10 in the implementation environment of the solution shown, for example, the execution subject of each step can be the client of the target application. The method can include the following steps (210-230):
[0035] Step 210, during the process of playing the target song, play the associated video of the target song.
[0036] The target song can be any song. Optionally, the associated video of the target song refers to a video related to the target song, for example, the associated video of the target song can be the MV of the target song. MV refers to a short video clip that goes with a song, also known as audio-visual, music video, music film, etc. When the client plays the audio content of the target song, it synchronously plays the video screen of the associated video of the target song.
[0037] Step 220, in response to the target song being played to a first timestamp, displaying at least two interactive options, wherein the target song is not paused at the first timestamp.
[0038] The first timestamp may be a timestamp between the start timestamp and the end timestamp of the target song. The target song starts playing from the start timestamp and stops playing at the end timestamp. During the playing process of the target song, the first timestamp will be experienced. Optionally, the first timestamp may be a pre-configured timestamp. For example, if the total duration of the target song is 3 minutes and 30 seconds (recorded as 03:30), then the first timestamp may be at the 30-second position (recorded as 00:30), or at the 1-minute position (recorded as 01:00), or at the 1-minute position (recorded as 01:40), etc., which is not limited in the embodiments of the present application.
[0039] In the embodiment of the present application, during the playback of the target song and its associated video, a related product function is added to allow users to participate in the interaction, thereby improving interactivity. When the target song is played to the first timestamp, the client displays at least two interactive options in the interface, and the user can select an interactive option from them. Then the client continues to play the subsequent songs and videos according to the interactive option selected by the user. If the user selects different interactive options, the content of the subsequent songs and / or videos will also be different, thereby achieving the technical effect of allowing users to participate in the interaction.
[0040] Optionally, in response to the target song being played to the first timestamp, the client displays an interactive question and at least two interactive options corresponding to the interactive question, each interactive option corresponding to an answer to the interactive question. Figure 3 As shown, during the process of playing the target song, the client displays the playback interface 30 of the associated video of the target song, and synchronously plays the associated video in the playback interface 30. Assuming that it is pre-configured that an interactive question and answer appears when the target song is played to the 00:30 position, then when the target song is played to the 00:30 position, the client displays an interactive question 31 and at least two interactive options 32 corresponding to the interactive question 31, and different interactive options correspond to different answers. For example, the interactive question may be "Can I have your phone number?", and the interactive options may include option A as "Sure", option B as "It's not very convenient", and option C as "I'll think about it". The user can freely choose one of the options to participate in the interaction.
[0041] It should be noted that the display of interactive options does not pause the playing of the target song, that is, when the target song is played to the first timestamp, the client does not pause the playing of the target song, but continues to play the target song normally and displays at least two interactive options to allow users to participate in the interaction.
[0042] Optionally, if the target song supports interactive functions, you can Figure 3 The interactive identification information 33 is displayed in the playing interface 30 shown, and the user is prompted that the currently playing song supports the interactive function through the interactive identification information 33. Otherwise, if the target song does not support the interactive function, the interactive identification information is not displayed. The interactive identification information can be an icon or other forms of prompt information such as text, which is not limited in this application.
[0043] Optionally, if the target song supports the interactive function, the user can choose to turn on or off the interactive function of the target song. If the interactive function of the target song is turned on, an interactive option will be displayed during the playback of the target song to prompt the user to participate in the interaction; if the interactive function of the target song is turned off, the interactive option will no longer be displayed during the playback of the target song. For example, the user can click Figure 3 The interactive identification information 33 shown is used to turn on or off the interactive function.
[0044] Step 230: In response to a selection operation on a first interactive option among the at least two interactive options, play video content corresponding to the first interactive option.
[0045] The first interactive option is an interactive option selected by the user from the at least two interactive options. In the embodiment of the present application, the form of the selection operation is not limited. For example, the user can select the interactive option by clicking on it with a finger, a stylus, a mouse, etc., or by voice, gesture, etc. After confirming that the user selects the first interactive option, the client plays the video content corresponding to the first interactive option.
[0046] In one example, the client plays the video content corresponding to the first interactive option, which may be to continue playing the associated video of the target song.
[0047] In another example, the client plays the video content corresponding to the first interactive option, which may be to stop playing the associated video of the target song and play the video clip corresponding to the first interactive option.
[0048] When the target song is played to the first timestamp, the client displays the above at least two interactive options, one of which may correspond to continuing to play the associated video of the target song, while the other interactive options correspond to stopping playing the associated video of the target song and playing the video clip corresponding to the interactive option. The video clips corresponding to the above different interactive options are also different. For example, when the target song is played to the first timestamp, the client displays three interactive options, which are recorded as option A, option B and option C. Assume that option A corresponds to continuing to play the associated video of the target song, option B corresponds to stopping playing the associated video of the target song and playing the video clip corresponding to option B (recorded as video clip 1), and option C corresponds to stopping playing the associated video of the target song and playing the video clip corresponding to option C (recorded as video clip 2). The above video clip 1 and video clip 2 are two video clips with different contents. If the user selects option A, the client continues to play the associated video of the target song. If the user selects option B, the client stops playing the associated video of the target song and plays video clip 1. If the user selects option C, the client stops playing the associated video of the target song and plays video clip 2.
[0049] Optionally, each video segment has a corresponding start timestamp and end timestamp, the start timestamp of the video segment is used to indicate the start time of the video segment, and the end timestamp of the video segment is used to indicate the stop time of the video segment. Exemplarily, assuming that when the client plays the target song to the 00:30 position (at this time, the associated video of the target song is also played to the 00:30 position), an interactive question and answer appears, and the user selects option B, which corresponds to video segment 1. At the same time, assuming that the start timestamp of video segment 1 is 00:35 and the end timestamp is 01:00, then when the target song is played to the 00:35 position, the client stops playing the associated video of the target song (at this time, the associated video is also played to the 00:35 position), and at the same time starts playing video segment 1, and when the target song is played to the 01:00 position, the video segment 1 ends playing.
[0050] Optionally, after the client plays the video clip corresponding to the first interactive option, it continues to play the associated video starting from the second timestamp of the associated video of the target song. Still continuing the above example, when the client plays the target song to the 01:00 position, the video clip 1 ends playing, and at the same time, it continues to play the associated video starting from the 01:00 position of the associated video of the target song.
[0051] It should be noted that, during the process of playing the target song, one interaction or multiple interactions may be inserted, and each interaction includes at least two interaction options for the user to choose from.
[0052] In addition, the associated video of the target song can also be called the full song video. For example, the total length of the associated video is the same as the total length of the target song. If the total length of the target song is 3 minutes and 30 seconds, then the total length of the associated video is also 3 minutes and 30 seconds. Among the at least two interactive options displayed for each interaction, one interactive option corresponds to continuing to play the associated video, and the other interactive options correspond to stopping playing the associated video and playing the video clip corresponding to the interactive option. The length of the video clip can be set flexibly, and different video clips can have the same or different lengths. If the target song has not finished playing when a certain video clip is finished playing, then the associated video will be played continuously in the manner described above.
[0053] In summary, the technical solution provided by the embodiment of the present application provides an interactive technical solution in the process of playing songs by displaying multiple interactive options for users to choose from during the process of playing the target song and its associated video, and then playing the corresponding video content according to the interactive options selected by the user, thereby improving interactivity. In addition, the target song does not pause during the user's interactive process, ensuring the continuity of the song playback.
[0054] In addition, by selecting different interactive options, users will play different video content, which fully enhances the flexibility of playing related video content during song playback.
[0055] Please refer to Figure 4 , which shows a flowchart of a song playing method provided by another embodiment of the present application. In the method provided by this embodiment, the execution subject of each step can be Figure 1 The terminal device 10 in the implementation environment of the solution shown, for example, the execution subject of each step can be the client of the target application. The method can include the following steps (410-440):
[0056] Step 410, during the process of playing the target song, play the associated video of the target song.
[0057] Step 420, in response to the target song being played to the first timestamp, at least two interactive options are displayed, wherein the target song is not paused at the first timestamp, and when the target song is played to the first timestamp, the associated video is played to a third timestamp.
[0058] The first timestamp is a timestamp on the playback timeline of the target song, and the third timestamp is a timestamp on the playback timeline of the associated video. The first timestamp corresponds to the third timestamp, that is, when the target song is played to the first timestamp, the associated video is played to the third timestamp.
[0059] Optionally, when the total duration of the target song is the same as the total duration of the associated video, if the target song and the associated video start playing at the same time, the first timestamp and the third timestamp are also the same. For example, the total duration of the target song and the total duration of the associated video are the same, both of which are 3 minutes and 30 seconds (recorded as 03:30). The first timestamp and the third timestamp are also the same, for example, 00:30.
[0060] Step 430, starting from the third timestamp of the associated video, continue playing the associated video to the fourth timestamp, wherein the associated video is not paused at the third timestamp.
[0061] The fourth timestamp is also a timestamp on the playback timeline of the associated video, and the fourth timestamp is located after the third timestamp. The interval between the fourth timestamp and the third timestamp can be preset, for example, 5 seconds or 10 seconds. During the period from the third timestamp to the fourth timestamp, the user can use this period to select interactive options, such as reading interactive questions and answers, and selecting the desired answer.
[0062] Optionally, the video content from the third timestamp to the fourth timestamp in the associated video may be blank-shot content, that is, the video content only contains scenery but no characters, so that no matter which interactive option the user ultimately selects, the subsequent video content can be connected smoothly and naturally to ensure the continuity of the video content.
[0063] It should be noted that the display of interactive options does not pause the playback of the target song and its associated video. That is, when the target song is played to the first timestamp and the associated video is played to the third timestamp, the client does not pause the playback of the target song and its associated video, but continues to play the target song and its associated video normally, and displays at least two interactive options to allow users to participate in the interaction.
[0064] In addition, if the client does not receive a selection operation for the first interactive option among the at least two interactive options before the fourth timestamp, the client determines the default interactive option among the at least two interactive options as the first interactive option. That is, if the user does not select the interactive option within the specified time, the client will use the default interactive option as the first interactive option for subsequent processes. The default interactive option is a pre-set interactive option among the at least two interactive options, for example, the default interactive option corresponds to continuing to play the associated video of the target song from the fourth timestamp.
[0065] Step 440 , in response to a selection operation on a first interactive option among the at least two interactive options, playing video content corresponding to the first interactive option starting from a fourth timestamp.
[0066] When the associated video is played to the fourth timestamp, the client will decide whether to continue playing the associated video from the fourth timestamp or stop playing the associated video and play the video segment corresponding to the first interactive option based on the user's choice. If the first interactive option selected by the user corresponds to continuing to play the associated video, the client will continue to play the associated video from the fourth timestamp; if the first interactive option selected by the user corresponds to playing the video segment, the client will stop playing the associated video from the fourth timestamp and play the video segment corresponding to the first interactive option.
[0067] In an exemplary embodiment, the interactive option selected by the user affects not only the subsequent playback of the video content, but also the subsequent playback of the song content. In response to the selection operation for the first interactive option among the at least two interactive options, the client plays the song content corresponding to the first interactive option.
[0068] In one example, the client plays the song content corresponding to the first interactive option, which may be to continue playing the target song.
[0069] In another example, the client plays the song content corresponding to the first interactive option, which may be to stop playing the target song and play the song segment corresponding to the first interactive option.
[0070] When the target song is played to the first timestamp, the client displays the above at least two interactive options, one of which may correspond to continuing to play the target song, while the other interactive options correspond to stopping playing the target song and playing the song clip corresponding to the interactive option, and the song clips corresponding to the above different interactive options are also different. For example, when the target song is played to the first timestamp, the client displays three interactive options, which are recorded as option A, option B and option C. Assume that option A corresponds to continuing to play the target song, option B corresponds to stopping playing the target song and playing the song clip corresponding to option B (recorded as song clip 1), and option C corresponds to stopping playing the target song and playing the song clip corresponding to option C (recorded as song clip 2). The above song clip 1 and song clip 2 are two song clips with different contents. If the user selects option A, the client continues to play the target song, if the user selects option B, the client stops playing the target song and plays song clip 1, and if the user selects option C, the client stops playing the target song and plays song clip 2.
[0071] Exemplarily, among the at least two interactive options displayed by the client, one of the interactive options may correspond to continuing to play the target song and continuing to play the associated video, while the other interactive options correspond to stopping playing the target song and stopping playing the associated video, and playing the song clip and video clip corresponding to the interactive option. For example, when the target song is played to the first timestamp, the client displays three interactive options, denoted as option A, option B, and option C. Assume that option A corresponds to continuing to play the target song and continuing to play the associated video, option B corresponds to stopping playing the target song and stopping playing the associated video, and playing the song clip (denoted as song clip 1) and video clip (denoted as video clip 1) corresponding to option B, and option C corresponds to stopping playing the target song and stopping playing the associated video, and playing the song clip (denoted as song clip 2) and video clip (denoted as video clip 2) corresponding to option C. If the user selects option A, the client continues to play the target song and the associated video. If the user selects option B, the client stops playing the target song and the associated video, and plays song clip 1 and video clip 1. If the user selects option C, the client stops playing the target song and the associated video, and plays song clip 2 and video clip 2.
[0072] Optionally, each song segment has a corresponding start timestamp and end timestamp, the start timestamp of the song segment is used to indicate the start time of the song segment, and the end timestamp of the song segment is used to indicate the stop time of the song segment. Exemplarily, assuming that when the client plays the target song to the 00:30 position, an interactive question and answer appears, and the user selects option B, which corresponds to song segment 1, and assuming that the start timestamp of song segment 1 is 00:35 and the end timestamp is 01:00, then the client stops playing the target song when the target song is played to the 00:35 position, and at the same time starts playing song segment 1 until the song segment 1 ends. Optionally, after the client plays the song segment corresponding to the first interactive option, it continues to play the target song from the fifth timestamp of the target song. Still continuing the above example, after the client ends playing song segment 1, it continues to play the target song from the 01:00 position of the target song.
[0073] Optionally, among the at least two interactive options displayed for each interaction, one interactive option corresponds to continuing to play the target song, and the other interactive options correspond to stopping playing the target song and playing a song segment corresponding to the interactive option. The duration of the song segment can be flexibly set, and different song segments can have the same or different durations. If the end of the target song has not been reached when a certain song segment is played, the target song is played continuously in the manner described above.
[0074] Optionally, starting from the first timestamp of the target song, the target song continues to be played to the fifth timestamp. The fifth timestamp is a timestamp on the play time axis of the target song, and the fifth timestamp is located after the first timestamp. The difference between the fifth timestamp and the first timestamp is equal to the difference between the fourth timestamp and the third timestamp. For example, the difference is 5 seconds or 10 seconds, and this part of time is used for the user to select the interactive option. Starting from the fifth timestamp, the client plays the song content corresponding to the first interactive option.
[0075] In addition, if before the fifth timestamp (or the fourth timestamp), the client does not receive a selection operation for the first interactive option among the at least two interactive options, the client determines the default interactive option among the at least two interactive options as the first interactive option. That is, if the user does not select the interactive option within the specified time, the client will use the default interactive option as the first interactive option for subsequent processes. The default interactive option is a pre-set interactive option among the at least two interactive options, for example, the default interactive option corresponds to continuing to play the target song from the fifth timestamp and continuing to play the associated video of the target song from the fourth timestamp.
[0076] Below, the content of this embodiment is introduced and explained with an example. Assume that a target song (total duration is 3 minutes and 30 seconds) contains an interaction, which is inserted at the timestamp position of 00:30, and the interaction includes 2 interactive options (recorded as option A and option B). Then the material content of the target song may include: the complete song file of the target song, the complete video file of the MV of the target song, and a 20-second video clip file corresponding to option B. At the same time, it is assumed that the total duration of the target song and its MV is the same, both of which are 3 minutes and 30 seconds. The client uses the complete song file of the target song and the complete video file of the MV to synchronously play the target song and its MV. When playing to the position of 00:30, the client displays the above two interactive options, leaving 10 seconds of selection time for the user. The display of the interactive options does not affect the playback of the target song and its MV, that is, the target song and its MV are not paused at 00:30, but continue to play the target song and its MV synchronously. If the user selects option A, the client continues to play the target song and its MV when playing to the position of 00:40 until the target song and its MV are finally played. If the user selects option B, the client continues to play the target song at the 00:40 position, but pauses the MV. Instead, the client uses the video clip file corresponding to option B to play the video clip corresponding to option B. After the video clip corresponding to option B is played, the client continues to play the MV from the 01:00 position until the target song and its MV are finally played. Optionally, if interactive selection of song content is supported, the material content of the target song can also include a 20-second (or 30-second or other length) song clip file corresponding to option B. The corresponding playback strategy can be combined with the description in the above embodiment, which will not be repeated here.
[0077] In addition, different interactive options can lead to different video content plots. For example, if the user selects option A, the video content played is a video content of two protagonists breaking up and then reconciling, and the video content played is a video content of two protagonists breaking up and no longer reconciling. And if interactive selection of song content is supported, the song content corresponding to option A can be a more cheerful rhythm, but the song content corresponding to option B can be a more sad rhythm. That is, for the same song, multiple different versions of video content and song content can be provided, and combined with the user's selection of interactive options, flexible selection and playback can be made.
[0078] To sum up, the technical solution provided by the embodiment of the present application does not pause the playback of the target song and its associated video during the process of the user selecting the interactive option, thereby ensuring the continuity of the song playback and the video playback.
[0079] In an exemplary embodiment, during the playing of the target song, an Easter egg animation related to the target song is displayed. The Easter egg animation refers to an animation that is inserted and played during the playing of the target song and has a certain relevance to the target song to enhance the fun and interactivity of the song playing process.
[0080] Optionally, the Easter egg animation includes at least one of the following forms: virtual object animation, virtual atmosphere animation. Among them, the virtual object can be a virtual character (such as an animation character, cartoon character, etc.), or a virtual pet, etc., which is not limited in this application. Virtual atmosphere refers to virtual elements such as wind, rain, snow, clouds, sea, meteors, swallows / geese, fireworks, fish, etc. used to set off the interface atmosphere effect.
[0081] Optionally, according to the songs included in the music library, some common virtual objects are made into corresponding virtual object animations, and some common virtual atmospheres are made into corresponding virtual atmosphere animations. For example, the virtual object corresponding to each song in the music library is determined, and then the number of songs corresponding to the same virtual object is counted, and the virtual objects ranked in the top N in terms of the number of songs are made into corresponding virtual object animations, where N is a positive integer, such as N is 500 or 1000. For another example, lyrics analysis technology is used to analyze the lyrics of several songs in the music library (such as the top 50,000 songs in terms of popularity), the lyrics are segmented, and the number of occurrences of each segmentation is counted, and the segmentations in the top M positions (segments related to the atmosphere, such as wind, rain, snow, cloud, sea, meteor, swallow / geese, fireworks, fish, etc.) are made into corresponding virtual atmosphere animations, where M is a positive integer, such as M is 10,000.
[0082] In addition, the triggering conditions of the Easter egg animation can be as follows:
[0083] In one possible implementation, in response to the target song being played to the set animation timestamp, an Easter egg animation related to the target song is displayed. For example, for the above-mentioned virtual object animation, the virtual object animation related to the target song can be displayed when the target song is played to the set animation timestamp. The set animation timestamp can be pre-set, such as 00:10, 00:30, 01:00, etc., and this application does not limit this. In addition, the set animation timestamps corresponding to different songs can be the same or different.
[0084] In another possible implementation, in response to the target song playing to the set lyrics, an Easter egg animation related to the target song is displayed. For example, for the above virtual atmosphere animation, when the target song plays to the set lyrics, a virtual atmosphere animation related to the set lyrics can be displayed. For example, when the lyrics "rain" are played, a virtual atmosphere animation related to "rain" is displayed, such as a full-screen rain animation effect.
[0085] In addition, in the embodiment of the present application, there is no limitation on the duration of the Easter egg animation, for example, it can be 5 seconds, 10 seconds, etc.
[0086] Optionally, the Easter egg animation supports user interaction, and in response to the interactive operation on the Easter egg animation, an animation effect related to the interactive operation is displayed. For example, when a user clicks on the Easter egg animation, the color, shape and other styles of the animation elements in the Easter egg animation can be changed, or a virtual object can be triggered to perform actions such as jumping and running.
[0087] In one example, if Figure 5 As shown, during the playing of the target song, the client displays an Easter egg animation 34 related to the target song in the playing interface 30 of the interactive video of the target song.
[0088] In an embodiment of the present application, during the playback of a target song, an animation that has a certain relevance to the target song is inserted and played, thereby enhancing the fun and interactivity of the song playback process.
[0089] In an exemplary embodiment, during the playing of the target song, the audio content of the target song and the audio content of the associated video are synchronously played.
[0090] In some related technologies, during the process of playing a target song, if the associated video (such as MV) of the target song is played synchronously, usually only the audio content of the target song will be played, but the audio content of the associated video will not be played. In the embodiment of the present application, a technical solution for synchronously playing the audio content of the target song and the audio content of the associated video is proposed, which realizes the synchronous playback of the two-way audio of the song and its associated video (such as MV), giving users a richer audio-visual experience.
[0091] Optionally, the client determines the volume parameters of the audio content of the target song and the volume parameters of the audio content of the associated video; plays the audio content of the target song according to the volume parameters of the audio content of the target song; plays the audio content of the associated video according to the volume parameters of the audio content of the associated video. The volume parameters of the target song and the associated video can be preset, for example, the volume parameter of the target song is preset to 100%, and the volume parameter of the associated video is preset to 40%, and these two volume parameters can be numerical values selected through experiments. Of course, in some other embodiments, the volume parameters of the target song and the associated video can be customized by the user, and the user can flexibly adjust the volume parameters of the target song and / or the volume parameters of the associated video according to their own needs.
[0092] In addition, if Figure 6As shown, during the process of playing the target song, the client displays a switch control 35 of the original sound mode in the playback interface 30 of the interactive video of the target song. The user can control the original sound mode to be turned on or off through the switch control 35 of the original sound mode. When the original sound mode is turned off, during the process of playing the target song, only the audio content of the target song is played, but the audio content of the associated video is not played. When the original sound mode is turned on, during the process of playing the target song, the audio content of the target song and the audio content of the associated video are played synchronously.
[0093] In an embodiment of the present application, a technical solution is proposed for synchronously playing the audio content of a target song and the audio content of an associated video, thereby achieving synchronous playback of two audio channels of a song and its associated video (such as a MV), giving users a richer audio-visual experience.
[0094] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.
[0095] Please refer to Figure 7 , which shows a block diagram of a song playing device provided by an embodiment of the present application. The device has the function of implementing the above-mentioned song playing method, and the function can be implemented by hardware, or by hardware executing corresponding software. The device can be the terminal device introduced above, or it can be set on the terminal device. The device 700 can include: a video playing module 710, an option display module 720 and a content playing module 730.
[0096] The video playing module 710 is used to play the associated video of the target song during the process of playing the target song.
[0097] The option display module 720 is used to display at least two interactive options in response to the target song being played to a first timestamp, wherein the target song is not paused at the first timestamp.
[0098] The content playing module 730 is configured to play video content corresponding to a first interactive option among the at least two interactive options in response to a selection operation on the first interactive option.
[0099] In an exemplary embodiment, the content playing module 730 is used to:
[0100] Continue playing the associated video;
[0101] or,
[0102] Stop playing the associated video and play the video clip corresponding to the first interactive option.
[0103] Optionally, the video playing module 710 is further configured to continue playing the associated video starting from the second timestamp of the associated video.
[0104] In an exemplary embodiment, when the target song is played to a first timestamp, the associated video is played to a third timestamp;
[0105] The video playing module 710 is further configured to continue playing the associated video from the third timestamp of the associated video to the fourth timestamp, wherein the associated video is not paused at the third timestamp;
[0106] The content playing module 730 is further configured to play the video content corresponding to the first interactive option starting from the fourth timestamp.
[0107] Optionally, the content playback module 730 is further configured to determine a default interaction option among the at least two interaction options as the first interaction option if no selection operation for the first interaction option among the at least two interaction options is received before the fourth timestamp.
[0108] In an exemplary embodiment, if Figure 8 As shown, the device 700 also includes: a song playing module 740, which is used to play the song content corresponding to the first interactive option in response to the selection operation of the first interactive option among the at least two interactive options.
[0109] Optionally, the song playing module 740 is used to:
[0110] continuing to play the target song;
[0111] or,
[0112] Stop playing the target song and play the song segment corresponding to the first interactive option.
[0113] In an exemplary embodiment, if Figure 8 As shown, the device 700 also includes: an animation playing module 750, which is used to display an Easter egg animation related to the target song during the playing of the target song.
[0114] Optionally, the animation playing module 750 is used to:
[0115] In response to the target song being played to a set animation timestamp, displaying an Easter egg animation related to the target song;
[0116] or,
[0117] In response to the target song being played to the set lyrics, an Easter egg animation related to the target song is displayed.
[0118] Optionally, the Easter egg animation includes at least one of the following forms: virtual object animation, virtual atmosphere animation.
[0119] In an exemplary embodiment, the device 700 further includes: an audio playing module 760, which is used to synchronously play the audio content of the target song and the audio content of the associated video during the playing of the target song.
[0120] Optionally, the audio playing module 760 is used to:
[0121] Determining volume parameters of the audio content of the target song and volume parameters of the audio content of the associated video;
[0122] Play the audio content of the target song according to the volume parameter of the audio content of the target song;
[0123] The audio content of the associated video is played according to the volume parameter of the audio content of the associated video.
[0124] It should be noted that the device provided in the above embodiment, when implementing its functions, is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0125] Please refer to Fig. 9 , which shows a structural block diagram of a terminal device 900 provided in one embodiment of the present application. The terminal device 900 may be an electronic device such as a mobile phone, a tablet computer, a PC, a wearable device, a multimedia playback device, etc. The terminal device may be used to implement the song playback method provided in the above embodiment.
[0126] Typically, the terminal device 900 includes: a processor 901 and a memory 902 .
[0127] The 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), and PLA (Programmable Logic Array). The processor 901 may also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 901 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 901 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0128] 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 and non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 902 is used to store a computer program and is configured to be executed by one or more processors to implement the above-mentioned song playing method.
[0129] In some embodiments, the terminal device 900 may also optionally include: a peripheral device interface 903 and at least one peripheral device. The processor 901, the memory 902 and the peripheral device interface 903 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 903 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 904, a touch display screen 905, a camera assembly 906, an audio circuit 907, a positioning assembly 908 and a power supply 909.
[0130] Those skilled in the art will understand that Fig. 9 The structure shown in the figure does not constitute a limitation on the terminal device 900, and may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
[0131] In an exemplary embodiment, a computer-readable storage medium is also provided, in which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned song playing method is implemented. Optionally, the computer-readable storage medium may include: ROM (Read-Only Memory), RAM (Random-Access Memory), SSD (Solid State Drives) or optical disks, etc. Among them, the random access memory may include ReRAM (Resistance Random Access Memory) and DRAM (Dynamic Random Access Memory).
[0132] In an exemplary embodiment, a computer program product is also provided. When the computer program product is executed by a processor, it is used to implement the above-mentioned song playing method.
[0133] It should be understood that the "multiple" mentioned in this article refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. In addition, the step numbers described in this article only illustrate a possible execution sequence between the steps. In some other embodiments, the above steps may not be executed in the order of the numbers, such as two steps with different numbers are executed at the same time, or two steps with different numbers are executed in the opposite order to the diagram. The embodiments of the present application are not limited to this.
[0134] The above description is only an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A song playing method, characterized in that: The method is applied in a terminal device having an application program with a song playing function, and the method comprises: During the playing of the target song, a video associated with the target song is played, wherein the associated video is the full song video; In response to the target song being played to a first time stamp, the associated video being played to a third time stamp, and at least two interactive options being displayed, wherein the target song is not paused at the first time stamp, and each interactive option corresponds to an answer to an interactive question; Starting from the third timestamp of the associated video, the associated video is continuously played to the fourth timestamp, and starting from the first timestamp of the target song, the target song is continuously played to the fifth timestamp, the difference between the fifth timestamp and the first timestamp is equal to the difference between the fourth timestamp and the third timestamp, and the time period corresponding to the difference is used for the user to select an interactive option; the video content from the third timestamp to the fourth timestamp in the associated video is a blank shot content; Wherein, the first timestamp and the fifth timestamp are timestamps on the playback timeline of the target song, and the third timestamp and the fourth timestamp are timestamps on the playback timeline of the associated video; In response to a selection operation for a first interactive option among the at least two interactive options, in a case where the first interactive option indicates to stop playing the associated video and the target song and to play the video clip and the song clip corresponding to the first interactive option, when the associated video is played to a first starting timestamp of the video clip corresponding to the first interactive option, the associated video is stopped and the video clip corresponding to the first interactive option is started, and when the target song is played to a second starting timestamp of the song clip corresponding to the first interactive option, the target song is stopped and the song clip corresponding to the first interactive option is started, and different interactive options lead to different video content plots; the emotion expressed by the video clip corresponding to the first interactive option matches the emotion expressed by the song clip corresponding to the first interactive option; After playing the video clip corresponding to the first interactive option, continue playing the associated video from the position of the first end timestamp corresponding to the video clip in the associated video, and after playing the song clip corresponding to the first interactive option, continue playing the target song from the position of the second end timestamp corresponding to the song clip in the target song; In response to a selection operation on a first interactive option among the at least two interactive options, if the first interactive option indicates to continue playing the associated video and the target song, the associated video and the target song are continued to be played.
2. The method according to claim 1, characterized in that: The method further comprises: If a selection operation for a first interaction option among the at least two interaction options is not received before the fourth timestamp, a default interaction option among the at least two interaction options is determined as the first interaction option.
3. The method according to any one of claims 1 to 2, characterized in that: The method further comprises: During the playing of the target song, an Easter egg animation related to the target song is displayed.
4. The method according to claim 3, characterized in that The displaying of the Easter egg animation related to the target song includes: In response to the target song being played to a set animation timestamp, displaying an Easter egg animation related to the target song; or, In response to the target song being played to the set lyrics, an Easter egg animation related to the target song is displayed.
5. The method according to claim 3, characterized in that: The Easter egg animation includes at least one of the following forms: virtual object animation and virtual atmosphere animation.
6. The method according to any one of claims 1 to 2, characterized in that: The method further comprises: During the playing of the target song, the audio content of the target song and the audio content of the associated video are played synchronously.
7. The method according to claim 6, characterized in that The synchronously playing the audio content of the target song and the audio content of the associated video includes: Determining volume parameters of the audio content of the target song and volume parameters of the audio content of the associated video; Play the audio content of the target song according to the volume parameter of the audio content of the target song; The audio content of the associated video is played according to the volume parameter of the audio content of the associated video.
8. A song playing device, characterized in that: The device is applied in a terminal device having an application program for a song playing function, and the device comprises: A video playing module, used to play the associated video of the target song during the process of playing the target song, wherein the associated video is the full song video; An option display module, for displaying at least two interactive options in response to the target song being played to a first time stamp and the associated video being played to a third time stamp, wherein the target song is not paused at the first time stamp, and each interactive option corresponds to an answer to an interactive question; The video playback module is further configured to start from the third timestamp of the associated video and continue to play the associated video to a fourth timestamp; the video content from the third timestamp to the fourth timestamp in the associated video is a blank shot content; A song playing module, used to start from the first timestamp of the target song and continue playing the target song to the fifth timestamp, the difference between the fifth timestamp and the first timestamp is equal to the difference between the fourth timestamp and the third timestamp, and the time period corresponding to the difference is used for the user to select an interactive option; Wherein, the first timestamp and the fifth timestamp are timestamps on the playback timeline of the target song, and the third timestamp and the fourth timestamp are timestamps on the playback timeline of the associated video; A content playback module, for responding to a selection operation for a first interactive option among the at least two interactive options, and in the case where the first interactive option indicates to stop playing the associated video and the target song and to play the video clip and the song clip corresponding to the first interactive option, when the associated video is played to a first starting timestamp of the video clip corresponding to the first interactive option, the associated video is stopped and the video clip corresponding to the first interactive option is started to be played; and when the target song is played to a second starting timestamp of the song clip corresponding to the first interactive option, the target song is stopped and the song clip corresponding to the first interactive option is started to be played, wherein different interactive options lead to different video content plots; and the emotion expressed by the video clip corresponding to the first interactive option matches the emotion expressed by the song clip corresponding to the first interactive option; The video playing module is further configured to continue playing the associated video from the position of the first end timestamp corresponding to the video segment in the associated video after playing the video segment corresponding to the first interactive option; The song playing module is further configured to continue playing the target song from the position of the second end timestamp corresponding to the song segment in the target song after playing the song segment corresponding to the first interactive option; The content playback module is further configured to respond to a selection operation on a first interactive option among the at least two interactive options, and to continue playing the associated video and the target song if the first interactive option indicates to continue playing the associated video and the target song.
9. A terminal device, characterized in that: The terminal device includes a processor and a memory, wherein a computer program is stored in the memory, and the computer program is loaded and executed by the processor to implement the song playing method as described in any one of claims 1 to 7 above.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which is loaded and executed by a processor to implement the song playing method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Video image processing method, computer readable storage medium and terminal
CN108259983A
Audio and video creating and playing method and device with interaction function
CN109889921A
