WO2021179869A1 - 音频播放方法、装置、存储介质及终端 - Google Patents

音频播放方法、装置、存储介质及终端 Download PDF

Info

Publication number
WO2021179869A1
WO2021179869A1 PCT/CN2021/075729 CN2021075729W WO2021179869A1 WO 2021179869 A1 WO2021179869 A1 WO 2021179869A1 CN 2021075729 W CN2021075729 W CN 2021075729W WO 2021179869 A1 WO2021179869 A1 WO 2021179869A1
Authority
WO
WIPO (PCT)
Prior art keywords
audio
recommended
interface
playback
play
Prior art date
Application number
PCT/CN2021/075729
Other languages
English (en)
French (fr)
Inventor
邓俊杰
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to EP21768795.3A priority Critical patent/EP4120269A4/en
Publication of WO2021179869A1 publication Critical patent/WO2021179869A1/zh
Priority to US17/939,763 priority patent/US20230007355A1/en

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B19/00Driving, starting, stopping record carriers not specifically of filamentary or web form, or of supports therefor; Control thereof; Control of operating function ; Driving both disc and head
    • G11B19/02Control of operating function, e.g. switching from recording to reproducing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • G06F16/635Filtering based on additional data, e.g. user or group profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • G06F16/638Presentation of query results
    • G06F16/639Presentation of query results using playlists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • H04N21/4755End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data for defining user preferences, e.g. favourite actors or genre

Definitions

  • This application relates to the field of computer technology, and in particular to an audio playback method, device, storage medium, and terminal.
  • the embodiments of the present application provide an audio playback method, device, storage medium, and terminal, which can solve the above-mentioned problem that the currently played audio and playlist will be overwritten and disappeared due to the interruption of other audio and cannot be restored.
  • the technical solution is as follows:
  • an embodiment of the present application provides an audio playback method, and the method includes:
  • Receiving a playback instruction for the recommended audio input saving playback information of the target audio currently played on the audio playback interface, and playing the recommended audio;
  • an audio playback device including:
  • the recommended audio acquisition module is used to receive the recommended audio acquisition instruction input for the audio playback interface to acquire the recommended audio
  • a recommended audio playback module configured to receive a playback instruction for the recommended audio input, save playback information of the target audio currently played on the audio playback interface, and play the recommended audio;
  • the target audio playback module is configured to receive a playback close instruction for the recommended audio input, and play the target audio on the audio playback interface according to the playback information.
  • the embodiments of the present application provide a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of any one of the above methods are implemented.
  • an embodiment of the present application provides a terminal, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor.
  • the processor implements any of the above methods when the program is executed. A step of.
  • the terminal receives the recommended audio acquisition instruction input for the audio playback interface, acquires the recommended audio, and then after receiving the playback instruction input for the recommended audio input, saves the current on the audio playback interface
  • the playback information of the played target audio is played and the recommended audio is played; when a playback close instruction input for the recommended audio is received, the target audio is played on the audio playback interface according to the playback information.
  • the embodiment of the application saves the playback information of the target audio that was originally being played.
  • the terminal can play according to the saved playback information.
  • the information restores/restores the playlist where the target audio is located and the playback status of the target audio, which can effectively avoid the interruption of the audio playback experience caused by the insertion of the recommended audio/other audio.
  • FIG. 1 is a schematic flowchart of an audio playback method provided by an embodiment of the present application
  • FIG. 2 is a schematic diagram of a process of obtaining recommended songs according to an embodiment of the present application
  • FIG. 3 is a schematic flowchart of an audio playback method provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a playback process of a recommended music provided by an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of an audio playback method provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a process demonstration of an audio playback method provided by an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of an audio playback device provided by an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of an audio playback device provided by an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of an audio playback device provided by an embodiment of the present application.
  • FIG. 10 is a structural block diagram of a terminal provided by an embodiment of the present application.
  • plural means two or more.
  • “And/or” describes the association relationship of the associated objects, indicating that there can be three types of relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, and B exists alone.
  • the character “/” generally indicates that the associated objects before and after are in an "or” relationship.
  • FIG. 1 is a schematic flowchart of an audio playback method provided by an embodiment of this application.
  • the method of the embodiment of the present application may include the following steps:
  • S101 Receive a recommended audio acquisition instruction input for an audio playing interface, and acquire recommended audio.
  • the user sets a frequently used playlist on the audio playing software or webpage, and when any one of the audios in the playlist is played, the audio playing interface displays the played audio.
  • the audio playback interface has a recommended audio acquisition button, and the user can click the button to acquire audio similar to the currently played audio.
  • the recommended audio can also be obtained through a certain combination of keys or shortcut keys, or through voice input.
  • the audio is not limited to one of operas, songs, or original video clips, etc.
  • the playlist can be a list of a certain album collected by the user, or a common audio playback formed by manually adding multiple audio multiple times. List.
  • Figure 2 is a schematic diagram of the acquisition process of recommended songs.
  • the interface diagram shown on the left side of Figure 2 is an audio playback interface, which displays the currently playing songs, and the played songs are selected from the playlist commonly used by the user.
  • the "recommended song” can also be replaced with a "similar song” or the like.
  • S102 Receive a play instruction for the recommended audio input, save play information of the target audio currently played on the audio play interface, and play the recommended audio.
  • the audio being played in the playlist is called target audio.
  • the playback information includes, but is not limited to, the name of the target audio, the list where the target audio is located, the playback progress of the target audio, and which audios are specifically included in the list where the target audio is located, and so on.
  • S103 Receive a play-off instruction for the recommended audio input, and play the target audio on the audio play interface according to the play information.
  • the play-off instruction may be generated when the user manually closes the recommended audio during the recommended audio playback, or it may be automatically generated when the recommended audio is played.
  • Resume playback is the restoration and recovery of the target audio playback state. For example, the target audio has been played to 02:35 when the recommended audio is played, and after the recommended audio playback is turned off, the terminal controls the player to restore the playback progress of the target audio Until 02:35, and continue to play the remaining audio after 02:35.
  • the terminal receives the recommended audio acquisition instruction input for the audio playback interface, acquires the recommended audio, and then after receiving the playback instruction input for the recommended audio input, saves the current on the audio playback interface
  • the playback information of the played target audio is played and the recommended audio is played; when a playback close instruction input for the recommended audio is received, the target audio is played on the audio playback interface according to the playback information.
  • the embodiment of the application saves the playback information of the target audio that was originally being played.
  • the terminal can play according to the saved playback information.
  • the information restores/restores the playlist where the target audio is located and the playback status of the target audio, which can effectively avoid the interruption of the audio playback experience caused by the insertion of the recommended audio/other audio.
  • FIG. 3 is a schematic flowchart of an audio playback method provided by an embodiment of this application.
  • the method of the embodiment of the present application may include the following steps:
  • S201 Receive a page turning instruction input for an audio playback interface, and display an audio recommendation interface, where the audio recommendation interface includes at least one recommended audio; and receive recommended audio selected for the audio recommendation interface.
  • the audio playback interface displays the music, and the user swipes to the left or right to enter the audio recommendation interface.
  • the audio recommendation interface contains some detailed information of the singer of the music being played and multiple recommended music that have a certain similarity with the music, etc. The user selects one of the multiple recommended music listed in the audio recommendation interface Play it.
  • the page turning instruction may also be a voice page turning instruction or a button-type page turning instruction.
  • S202 Receive a playback instruction for the recommended audio input, pause playback of the target audio currently played on the audio playback interface, and save playback information of the target audio.
  • the terminal When the terminal receives a play instruction input by the user for the selected recommended music, it controls the playing target audio (target music) to pause playing, and saves the current playback state of the target audio.
  • the saved information includes the name of the song, the position of the song in the list, the tracks included in the list, and so on.
  • the recommended music piece may be an adapted version of the target music piece, a cover version, and other music pieces with higher melody similarity.
  • S203 Display a temporary play interface on the audio recommendation interface, and play the recommended audio on the temporary play interface.
  • a temporary playback interface is displayed on the audio playback interface, and the temporary playback interface is used to display the recommended audio (recommended music) to be played.
  • the temporary play interface corresponds to a player, which is called a temporary player.
  • two independent players are used to respectively play the audio in the user's frequently used list and other audios outside the list.
  • the temporary player may also be used to play non-recommended audio outside of the frequently used list.
  • the original player that is, the player corresponding to the audio playback interface
  • the temporary player can play the trial song, and the song in the list will be paused at this time; when the trial song is finished or closed midway, the original player will continue to play the song in the list.
  • S204 Receive a close instruction input for the temporary play interface, close the temporary play interface; play the target audio on the audio play interface according to the play information.
  • the terminal After receiving the recommended audio playback shutdown signal, the terminal continues to play the target audio on the audio playback interface according to the saved playback information.
  • the function of the temporary player is more streamlined.
  • the player corresponding to the audio playback interface has sound quality and sound effect options, comment sharing, double-speed playback, and song loop mode, while the temporary player only has the functions of collecting/adding and cutting songs.
  • FIG. 4 is a schematic diagram of a playback process of a recommended music provided by an embodiment of this application.
  • the interface shown in a in the figure is an audio playback interface, and the music in the frequently used list is playing.
  • the user enters the music recommendation interface (the interface shown in b in the figure) by making a left swipe gesture on this interface.
  • the detailed information of the music being played and some recommended music similar to the music are displayed on this interface.
  • the user selects a recommended music that he wants to listen to according to his preferences and clicks the play button; based on the received recommended music playback instruction, the terminal controls the music being played on the audio playback interface to enter the pause state, and The playback information (such as the playback progress) of the music is saved, and then the terminal controls the pop-up temporary playback interface to play the recommended music to be played (the interface shown in c in the figure).
  • the terminal will According to the saved playback information, the player corresponding to the audio playback interface is controlled to continue to play the previously played music in the frequently used list.
  • the temporary player can play the recommended music in the recommended music list one by one until the user manually closes the temporary playback interface .
  • the temporary player can also automatically close the temporary playing interface after all the recommended music in the recommended list have been played.
  • the audio playback software/website on the terminal uses two independent players to play the audio in the user’s frequently used list and other songs outside the frequently used list: the user is in the audio recommendation
  • the terminal controls the player corresponding to the audio playback interface to pause the audio, save the playback information of the audio (that is, the audio in the playlist), and call up the temporary player pair
  • the selected recommended audio is played; when the recommended audio is played or the user actively closes the temporary play interface during the play, the terminal controls the temporary player to close and makes the audio play interface corresponding to the player according to the saved play information Restore/restore the previous playback state, and continue to complete the playback of the audio in the playlist.
  • the audio in the playlist and the recommended audio are played by different players, and there is no interference between the audios, and the playing smoothness is high when switching the audio, which improves the trial listening experience.
  • FIG. 5 is a schematic flowchart of an audio playback method provided by an embodiment of this application.
  • the method of the embodiment of the present application may include the following steps:
  • S301 Receive a recommended audio acquisition instruction input for the audio playing interface, and acquire recommended audio.
  • the user sets a frequently used playlist on the audio playing software or webpage, and when any one of the audios in the playlist is played, the audio playing interface displays the played audio.
  • the audio playback interface has a recommended audio acquisition button, and the user can click the button to acquire audio similar to the currently played audio.
  • the recommended audio can also be obtained through a certain combination of keys or shortcut keys, or through voice input.
  • the audio is not limited to one of operas, songs, or original video clips, etc.
  • the playlist can be a list of a certain album collected by the user, or a common audio playback formed by manually adding multiple audio multiple times. List.
  • S302 Receive a play instruction for the recommended audio input, and add the recommended audio to a temporary playlist.
  • the terminal receives a playback instruction input by the user for the acquired recommended music, controls the playback of the target audio being played to pause, and saves the current playback state of the target audio.
  • the same player is used to play the audio in the frequently used list and the recommended audio, and the user can add the acquired recommended audio to the temporary playlist and execute the next step.
  • S303 Reset a player corresponding to the audio playback interface based on the temporary playlist, and use the player to play the recommended audio on the audio playback interface.
  • S304 Receive a play-off instruction input for the audio play interface, and turn off the recommended audio.
  • the same player is used to play the audio in the frequently used list and the recommended audio. Therefore, during the recommended audio playing process, when the terminal receives the play-off instruction input for the audio play interface, it indicates that the user wants to turn off the play Audio is recommended. At this time, the terminal controls to perform this operation and restores the previous playback state of the player corresponding to the audio playback interface according to the saved playback information, that is, controls the player corresponding to the audio playback interface to continue to play the audio in the frequently used list.
  • the audio playback method may further include step S305 and step S306.
  • S305 Output prompt information about whether to retain the recommended audio.
  • the terminal may output to the user a prompt message as to whether to add the played recommended audio to the commonly used playlist.
  • the user enters a confirmation operation or a negative operation according to the trial listening experience of the recommended audio.
  • step S306 is executed.
  • the prompt information can be output during the recommended audio playback process, or can be output after the recommended audio playback is completed.
  • the prompt information can be output in the form of text, accompanied by vibration feedback and so on.
  • S306 Receive a confirmation operation for the prompt information, add the recommended audio to a playlist corresponding to the target audio, and play the target audio on the audio play interface according to the play information.
  • the terminal controls to add the recommended audio to the list of target audio playback. Furthermore, when there are multiple playlists in the audio playing software or webpage, the user can also select which playlist to add the recommended audio to.
  • the terminal controls the player to continue to play the target audio according to the saved playback information, and when the target audio is played, it plays the remaining audio in the list according to the list play mode set by the user (such as single loop, random play, sequential play, etc.) .
  • FIG. 6 is a schematic diagram of a process demonstration of an audio playback method provided in this application.
  • Interface A displays audio 2 that is more similar to the audio 1 currently being played. Click the play button to play the audio 2, and the terminal controls the audio 1 Enter the pause state and save the playback information of audio 1 (when playing audio 2, if audio 1 is already in the playback pause state, the terminal directly saves the playback information of audio 1), reset the player to perform the audio 2 Play (as shown in interface B in the figure); during the playback of similar audio 2, the user can click the " ⁇ " close button on interface B to close the playback of audio 2. 1 to control the player to continue to play the audio 1 (enter the interface shown in C in the figure).
  • the recommended audio can be added to the temporary playlist.
  • the terminal can play the songs in the temporary playlist according to the play rules set by the audio playback software/website (such as sequential play, random play). Play, etc.); Based on the temporary playlist, the terminal can reset the player corresponding to the audio play interface and use it to play the recommended audio; when the recommended audio is played or is manually terminated, the audio play interface will be based on the saved play information Resume the playback of the audio in the frequently used list.
  • the terminal can also promptly prompt whether to retain the recommended audio according to the playback progress of the recommended audio. According to the prompt information and the recommended audio audition experience, the user can choose to add the recommended audio to the frequently used playlist to facilitate subsequent follow-ups. listen to.
  • FIG. 7 is a schematic structural diagram of an audio playback device provided by an exemplary embodiment of this application.
  • the audio playback device can be implemented as all or a part of the terminal through software, hardware or a combination of the two, and can also be integrated on the server as an independent module.
  • the audio playback device in the embodiment of the present application is applied to a terminal, and the device 1 includes a recommended audio acquisition module 11, a recommended audio playback module 12, and a target audio playback module 13, wherein:
  • the recommended audio acquisition module 11 is configured to receive the recommended audio acquisition instruction input for the audio playback interface, and acquire the recommended audio;
  • the recommended audio playback module 12 is configured to receive a playback instruction for the recommended audio input, save playback information of the target audio currently played on the audio playback interface, and play the recommended audio;
  • the target audio playback module 13 is configured to receive a playback close instruction for the recommended audio input, and play the target audio on the audio playback interface according to the playback information.
  • FIG. 8 is a schematic structural diagram of an audio playback device provided by an exemplary embodiment of this application.
  • the recommended audio acquisition module 11 in the audio playback device 1 provided in the embodiment of the present application includes:
  • An audio recommendation interface display unit 111 configured to receive a page turning instruction input for an audio playback interface, and display an audio recommendation interface, where the audio recommendation interface includes at least one recommended audio;
  • the recommended audio selection unit 112 is configured to receive the recommended audio selected for the audio recommendation interface
  • the recommended audio playback module 12 includes:
  • the playback information saving unit 121 is configured to receive a playback instruction for the recommended audio input, pause playback of the target audio currently played on the audio playback interface, and save playback information of the target audio;
  • the recommended audio play unit 122 is configured to display a temporary play interface on the audio play interface, and play the recommended audio on the temporary play interface;
  • the target audio playing module 13 includes:
  • the temporary play interface closing unit 131 is configured to receive a closing instruction input for the temporary play interface, and close the temporary play interface;
  • the target audio playing unit 132 is configured to play the target audio on the audio playing interface according to the playing information.
  • FIG. 9 is a schematic structural diagram of an audio playback device provided by an exemplary embodiment of this application.
  • the recommended audio playback module 12 in the audio playback device 1 provided in the embodiment of the present application includes:
  • a recommended audio adding unit 123 configured to receive a play instruction for the recommended audio input, and add the recommended audio to a temporary playlist
  • the player reset unit 124 is configured to reset the player corresponding to the audio playback interface based on the temporary playlist, and use the player to play the recommended song on the audio playback interface;
  • the target audio playing module 13 includes:
  • the recommended audio closing unit 133 is configured to receive a play closing instruction input for the audio play interface, and close the recommended audio;
  • the target audio playing unit 132 plays the target audio on the audio playing interface according to the playing information
  • the device 1 further includes:
  • the prompt information output module 14 is used to output prompt information on whether to retain the recommended audio
  • the recommended audio adding unit 123 is also used for:
  • a confirmation operation for the prompt information is received, and the recommended audio is added to a playlist corresponding to the target audio.
  • the audio playback device provided in the above embodiment executes the audio playback method
  • only the division of the above-mentioned functional modules is used as an example for illustration.
  • the above-mentioned functions can be allocated by different functional modules as needed. , Divide the internal structure of the device into different functional modules to complete all or part of the functions described above.
  • the audio playback device provided in the foregoing embodiment and the audio playback method embodiment belong to the same concept, and the implementation process is detailed in the method embodiment, which will not be repeated here.
  • the terminal receives the recommended audio acquisition instruction input for the audio playback interface, acquires the recommended audio, and then after receiving the playback instruction input for the recommended audio input, saves the current on the audio playback interface
  • the playback information of the played target audio is played and the recommended audio is played; when a playback close instruction input for the recommended audio is received, the target audio is played on the audio playback interface according to the playback information.
  • the embodiment of the application saves the playback information of the target audio that was originally being played.
  • the terminal can play according to the saved playback information.
  • the information restores/restores the playlist where the target audio is located and the playback status of the target audio, which can effectively avoid the interruption of the audio playback experience caused by the insertion of the recommended audio/other audio.
  • the embodiments of the present application also provide a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the method in any of the foregoing embodiments are implemented.
  • the computer-readable storage medium may include, but is not limited to, any type of disk, including floppy disks, optical disks, DVDs, CD-ROMs, micro drives, and magneto-optical disks, ROM, RAM, EPROM, EEPROM, DRAM, VRAM, flash memory devices , Magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of media or equipment suitable for storing instructions and/or data.
  • An embodiment of the present application also provides a terminal, including a memory, a processor, and a computer program stored on the memory and capable of running on the processor, and the processor implements the steps of the method in any of the foregoing embodiments when the program is executed.
  • FIG. 10 is a structural block diagram of a terminal provided in an embodiment of this application.
  • the terminal 100 includes a processor 1001 and a memory 1002.
  • the processor 1001 is a control center of a computer system, and may be a processor of a physical machine or a processor of a virtual machine.
  • the processor 1001 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on.
  • the processor 1001 may adopt at least one hardware form among DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array, Programmable Logic Array). accomplish.
  • the processor 1001 may also include a main processor and a coprocessor.
  • the main processor is a processor used to process data in the wake-up state, also called a CPU (Central Processing Unit, central processing unit); the coprocessor is A low-power processor used to process data in the standby state.
  • CPU Central Processing Unit, central processing unit
  • the coprocessor is A low-power processor used to process data in the standby state.
  • the memory 1002 may include one or more computer-readable storage media, which may be non-transitory.
  • the memory 1002 may also include high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices.
  • the non-transitory computer-readable storage medium in the memory 1002 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 1001 to implement the method in the embodiment of the present application .
  • the terminal 100 further includes: a peripheral device interface 1003 and at least one peripheral device.
  • the processor 1001, the memory 1002, and the peripheral device interface 1003 may be connected through a bus or a signal line.
  • Each peripheral device can be connected to the peripheral device interface 1003 through a bus, a signal line, or a circuit board.
  • the peripheral device includes: at least one of a display screen 1004, a camera 1005, and an audio circuit 1006.
  • the peripheral device interface 1003 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 1001 and the memory 1002.
  • the processor 1001, the memory 1002, and the peripheral device interface 1003 are integrated on the same chip or circuit board; in some other embodiments of the present application, the processor 1001, the memory 1002, and the peripheral device interface Any one or two of 1003 can be implemented on a single chip or circuit board. The embodiments of the present application do not specifically limit this.
  • the display screen 1004 is used to display a UI (User Interface, user interface).
  • the UI can include graphics, text, icons, videos, and any combination thereof.
  • the display screen 1004 also has the ability to collect touch signals on or above the surface of the display screen 1004.
  • the touch signal can be input to the processor 1001 as a control signal for processing.
  • the display screen 1004 may also be used to provide virtual buttons and/or virtual keyboards, also called soft buttons and/or soft keyboards.
  • the display screen 1004 may be a flexible display screen, which is arranged on the curved surface or the folding surface of the terminal 100. Furthermore, the display screen 1004 can also be set as a non-rectangular irregular pattern, that is, a special-shaped screen.
  • the display screen 1004 can be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode, organic light-emitting diode).
  • the camera 1005 is used to collect images or videos.
  • the camera 1005 includes a front camera and a rear camera.
  • the front camera is set on the front panel of the terminal, and the rear camera is set on the back of the terminal.
  • the camera 1005 may also include a flash.
  • the flash can be a single-color flash or a dual-color flash. Dual color temperature flash refers to a combination of warm light flash and cold light flash, which can be used for light compensation under different color temperatures.
  • the audio circuit 1006 may include a microphone and a speaker.
  • the microphone is used to collect sound waves of the user and the environment, and convert the sound waves into electrical signals and input them to the processor 1001 for processing.
  • the microphone can also be an array microphone or an omnidirectional collection microphone.
  • the power supply 1007 is used to supply power to various components in the terminal 100.
  • the power source 1007 may be alternating current, direct current, disposable batteries, or rechargeable batteries.
  • the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery.
  • a wired rechargeable battery is a battery charged through a wired line
  • a wireless rechargeable battery is a battery charged through a wireless coil.
  • the rechargeable battery can also be used to support fast charging technology.
  • the terminal structural block diagram shown in the embodiments of the present application does not constitute a limitation on the terminal 100.
  • the terminal 100 may include more or fewer components than those shown in the figure, or combine certain components, or adopt different component arrangements.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请实施例公开了一种音频播放方法、装置、存储介质及终端,其中,方法包括:接收针对音频播放界面输入的推荐音频获取指令,获取推荐音频;接收针对所述推荐音频输入的播放指令,保存所述音频播放界面上当前播放的目标音频的播放信息并播放所述推荐音频;接收针对所述推荐音频输入的播放关闭指令,根据所述播放信息在所述音频播放界面播放所述目标音频。采用本申请实施例提供的所述音频播放方法可有效避免因推荐音频/其他音频的插播而导致的音频播放体验中断问题。

Description

音频播放方法、装置、存储介质及终端 技术领域
本申请涉及计算机技术领域,尤其涉及一种音频播放方法、装置、存储介质及终端。
背景技术
本申请对于背景技术的描述属于与本申请相关的相关技术,仅仅是用于说明和便于理解本申请的申请内容,不应理解为申请人明确认为或推定申请人认为是本申请在首次提出申请的申请日的现有技术。
使用音频播放软件或网页播放当前播放列表之外的其他音频(如某个试听音频或者推荐音频)时,当前播放的音频及播放列表会因其他音频的插播而被覆盖消失,在其他音频播放结束后,无法恢复或还原之前的播放状态,用户播放体验会因播放列表之外其他音频的播放而被中断。
发明内容
本申请实施例提供了一种音频播放方法、装置、存储介质及终端,可以解决上述当前播放的音频及播放列表会因其他音频的插播而被覆盖消失、无法复原的问题。所述技术方案如下:
第一方面,本申请实施例提供了一种音频播放方法,所述方法包括:
接收针对音频播放界面输入的推荐音频获取指令,获取推荐音频;
接收针对所述推荐音频输入的播放指令,保存所述音频播放界面上当前播放的目标音频的播放信息并播放所述推荐音频;
接收针对所述推荐音频输入的播放关闭指令,根据所述播放信息在所述音频播放界面播放所述目标音频。
第二方面,本申请实施例提供了一种音频播放装置,所述装置包括:
推荐音频获取模块,用于接收针对音频播放界面输入的推荐音频获取指令,获取推荐音频;
推荐音频播放模块,用于接收针对所述推荐音频输入的播放指令,保存所述音频播放界面上当前播放的目标音频的播放信息并播放所述推荐音频;
目标音频播放模块,用于接收针对所述推荐音频输入的播放关闭指令,根据所述播放信息在所述音频播放界面播放所述目标音频。
第三方面,本申请实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述任一项方法的步骤。
第四方面,本申请实施例提供了一种终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上述任一项方法的步骤。
本申请一些实施例提供的技术方案带来的有益效果至少包括:
本申请实施例提供的音频播放方法,终端接收针对音频播放界面输入的推荐音频获取指令,获取推荐音频,再在接收到针对所述推荐音频输入的播放指令后,保存所述音频播放界面上当前播放的目标音频的播放信息并播放所述推荐音频;当接收到针对所述推荐音频输入的播放关闭指令时,根据所述播放信息在所述音频播放界面播放所述目标音频。本申请实施例在对播放列表之外的推荐音频/其他音频进行播放时,会对原先正在播放的目标音频的播放信息进行保存,在推荐音频/其他音频播放完毕时终端可依据所保存的播放信息对目标音频所在的播放列表以及目标音频的播放状态进行还原/恢复,能有效避免因推荐音频/其他音频的插播而导致的音频播放体验中断问题。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的一种音频播放方法的流程示意图;
图2是本申请实施例提供的一种推荐歌曲的获取过程示意图;
图3是本申请实施例提供的一种音频播放方法的流程示意图;
图4是本申请实施例提供的一种推荐乐曲的播放过程示意图;
图5是本申请实施例提供的一种音频播放方法的流程示意图;
图6是本申请实施例提供的一种音频播放方法的过程演示示意图;
图7是本申请实施例提供的一种音频播放装置的结构示意图;
图8是本申请实施例提供的一种音频播放装置的结构示意图;
图9是本申请实施例提供的一种音频播放装置的结构示意图;
图10是本申请实施例提供的一种终端结构框图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
在本申请的描述中,需要理解的是,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。在本申请的描述中,需要说明的是,除非另有明确的规定和限定,“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。对于本领域的普通技术人员而言,可以具体情况理解上述 术语在本申请中的具体含义。此外,在本申请的描述中,除非另有说明,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。
下面将结合附图1-附图6,对本申请实施例提供的音频播放方法进行详细介绍。
请参见图1,为本申请实施例提供的一种音频播放方法的流程示意图。
如图1所示,本申请实施例的所述方法可以包括以下步骤:
S101,接收针对音频播放界面输入的推荐音频获取指令,获取推荐音频。
用户在音频播放软件或网页上设置有常用播放列表,播放该播放列表中的任意一音频时,音频播放界面对所播放的音频进行展示。其中,所述音频播放界面存在有推荐音频获取按钮,用户点击该按钮可以获取到与当前播放音频相似的音频。
推荐音频的获取方式也可以是通过某种组合键或者快捷键获取,或者通过语音输入来获取。所述音频不限于是戏曲、歌曲或者视频原声片段等中的一种,所述播放列表可以是用户收藏的某张专辑列表,或者是经过多次手动添加多个音频而形成的常听音频播放列表。
以歌曲为例,图2为推荐歌曲的获取过程示意图。
图2左侧所示界面图为音频播放界面,该界面展示的是当前正在播放的歌曲,所播歌曲选自用户常用的播放列表。在所示音频播放界面上,用户点击图示“推荐歌曲”按钮可弹出图2右侧所示窗口,该窗口包含了与当前正在播放的歌曲相似度极高的其他歌曲。
其他实施例中,所述“推荐歌曲”也可以被替换为“相似歌曲”等。
S102,接收针对所述推荐音频输入的播放指令,保存所述音频播放界面上当前播放的目标音频的播放信息并播放所述推荐音频。
本实施例中,播放列表中正在播放的音频被称为目标音频。
用户对获取到的推荐音频进行播放时,当前正在播放的目标音频将被暂停,终端获取目标音频的播放信息进行保存,并播放所述推荐音频。所述播放信息包括但不限于目标音频名称、目标音频所在列表、目标音频播放进度以及目标音频所在列表具体包含哪些音频等。
S103,接收针对所述推荐音频输入的播放关闭指令,根据所述播放信息在所述音频播放界面播放所述目标音频。
所述播放关闭指令可以是推荐音频播放的过程中用户手动关闭该推荐音频时生成的,也可以是推荐音频播放完毕时自动生成的,终端在接收到推荐音频播放关闭信号后,根据所保存的播放信息,在音频播放界面继续播放所述目标音频。继续播放是对所述目标音频播放状态的还原与恢复,例如,播放推荐音频时目标音频已播放至02:35时刻,在推荐音频播放关闭之后,终 端控制播放器还原所述目标音频的播放进度至02:35时刻,并继续播放02:35时刻之后的剩余音频。
本申请实施例提供的音频播放方法,终端接收针对音频播放界面输入的推荐音频获取指令,获取推荐音频,再在接收到针对所述推荐音频输入的播放指令后,保存所述音频播放界面上当前播放的目标音频的播放信息并播放所述推荐音频;当接收到针对所述推荐音频输入的播放关闭指令时,根据所述播放信息在所述音频播放界面播放所述目标音频。本申请实施例在对播放列表之外的推荐音频/其他音频进行播放时,会对原先正在播放的目标音频的播放信息进行保存,在推荐音频/其他音频播放完毕时终端可依据所保存的播放信息对目标音频所在的播放列表以及目标音频的播放状态进行还原/恢复,能有效避免因推荐音频/其他音频的插播而导致的音频播放体验中断问题。
请参见图3,为本申请实施例提供的一种音频播放方法的流程示意图。
如图3所示,本申请实施例的所述方法可以包括以下步骤:
S201,接收针对音频播放界面输入的翻页指令,展示音频推荐界面,所述音频推荐界面包括至少一个推荐音频;接收针对所述音频推荐界面所选择的推荐音频。
以乐曲为例,在一种可行的实现方式中,专辑列表中的某一乐曲被点击播放,音频播放界面对所述乐曲进行展示,用户通过向左或向右的手势滑动进入音频推荐界面,该音频推荐界面包含所述正在播放的乐曲唱作者的一些详细信息以及与该乐曲存在一定相似度的多个推荐乐曲等,用户在所述音频推荐界面所列的多个推荐乐曲中选择一曲进行播放。
特别的,所述翻页指令也可以是语音翻页指令或者按键式的翻页指令等。
S202,接收针对所述推荐音频输入的播放指令,暂停播放所述音频播放界面上当前播放的目标音频并保存所述目标音频的播放信息。
终端接收到用户针对所选择的推荐乐曲输入的播放指令时,控制所述正在播放的目标音频(目标乐曲)暂停播放,并对目标音频当前的播放状态进行保存。保存信息包括乐曲名称、乐曲在列表中的位置、列表包含的曲目等。所述推荐乐曲可以是目标乐曲的改编版本、翻唱版本以及旋律曲调相似度较高的其他乐曲等。
S203,在所述音频推荐界面上展示临时播放界面,并在所述临时播放界面上播放所述推荐音频。
所述目标音频的播放信息成功保存之后,所述音频播放界面上展示出临时播放界面,该临时播放界面用于展示所要播放的推荐音频(推荐乐曲)。临时播放界面对应一个播放器,称为临时播放器。
本实施例是采用两个相互独立的播放器来分别播放用户常用列表中的音频以及该列表之外的其他音频。需要说明的是,在其他实施例中,临时播放器也可用于播放常用列表之外的非推荐音频。例如,原先的播放器(也就是 音频播放界面对应的播放器)正在播放列表中的某首歌,而用户在浏览软件或网页上的排行榜,想试听排行榜中的某首歌时,点击播放,临时播放器可对该试听歌曲进行播放,此时列表中在播放的歌曲将被暂停;待试听歌曲播放完毕或被中途关闭时,原先的播放器将继续播放列表中的歌曲。
S204,接收针对所述临时播放界面输入的关闭指令,关闭所述临时播放界面;根据所述播放信息在所述音频播放界面播放所述目标音频。
临时播放界面被关闭时,其所对应的临时播放器也同时被关闭。终端在接收到推荐音频播放关闭信号后,根据所保存的播放信息,在音频播放界面继续播放所述目标音频。
相比于音频播放界面对应的播放器,临时播放器所具备的功能更为精简。例如,音频播放界面对应的播放器具备音质音效选择项、评论分享、倍速播放、以及歌曲循环模式等,而临时播放器则仅具备收藏/添加、切歌功能。
请参见图4,为本申请实施例提供的一种推荐乐曲的播放过程示意图。
图中a所示界面为音频播放界面,正在播放常用列表中的乐曲。用户通过在该界面做出向左滑动的手势从而进入乐曲推荐界面(图中b所示界面),在该界面上显示有正在播放乐曲的详细信息以及与该乐曲相近的一些推荐乐曲,在这些推荐乐曲所形成的推荐列表中,用户根据喜好选择了一曲想要试听的推荐乐曲并点击了播放按钮;基于接收到的推荐乐曲播放指令,终端控制音频播放界面正在播放的乐曲进入暂停状态,并对该乐曲的播放信息(如播放进度)进行保存,接着,终端控制弹出临时播放界面对所述待播放的推荐乐曲进行播放(图中c所示界面)。
推荐乐曲播放过程中,若用户不想再继续试听,可以点击临时播放界面上的关闭按钮来结束推荐乐曲的播放,并再次回到乐曲推荐界面(图中b所示界面),此时,终端将依据所保存的播放信息控制音频播放界面对应的播放器继续播放常用列表中之前在播放的乐曲。
特别的,当多个推荐乐曲形成一个列表,且用户没有在推荐乐曲播放过程中关闭临时播放界面时,临时播放器可对推荐乐曲列表中的推荐乐曲逐一进行播放,直至用户手动关闭临时播放界面。当然,临时播放器也可在推荐列表中的所有推荐乐曲均播放完毕后自动关闭临时播放界面。
本实施例提供的上述音频播放方法,终端上的音频播放软件/网站是采用两个相互独立的播放器分别对用户常用列表中的音频以及常用列表之外的其他歌曲进行播放:用户在音频推荐界面上选择出所想试听的推荐音频后,终端控制音频播放界面对应的播放器暂停所播音频、保存所播音频的播放信息(也就是播放列表中的音频),并调出临时播放器对所选择的推荐音频进行播放;在所述推荐音频播放完毕或是播放过程中被用户主动关闭临时播放界面时,终端控制临时播放器关闭并依据所保存的播放信息使音频播放界面对应的播放器恢复/还原之前的播放状态,继续完成对播放列表中音频的播放。 本实施例中,播放列表里的音频以及推荐音频用不同的播放器来播放,音频之间不会形成干扰,切换音频时播放流畅度高,提升了试听体验。
请参见图5,为本申请实施例提供的一种音频播放方法的流程示意图。
如图5所示,本申请实施例的所述方法可以包括以下步骤:
S301,接收针对音频播放界面输入的推荐音频获取指令,获取推荐音频。
用户在音频播放软件或网页上设置有常用播放列表,播放该播放列表中的任意一音频时,音频播放界面对所播放的音频进行展示。其中,所述音频播放界面存在有推荐音频获取按钮,用户点击该按钮可以获取到与当前播放音频相似的音频。
推荐音频的获取方式也可以是通过某种组合键或者快捷键获取,或者通过语音输入来获取。所述音频不限于是戏曲、歌曲或者视频原声片段等中的一种,所述播放列表可以是用户收藏的某张专辑列表,或者是经过多次手动添加多个音频而形成的常听音频播放列表。
S302,接收针对所述推荐音频输入的播放指令,将所述推荐音频添加至临时播放列表中。
终端接收到用户针对所获取的推荐乐曲输入的播放指令,控制所述正在播放的目标音频暂停播放,并对目标音频当前的播放状态进行保存。
本实施例采用同一个播放器对常用列表中的音频以及推荐音频进行播放,用户可将所获取的推荐音频添加至临时播放列表中,并执行下一步骤。
S303,基于所述临时播放列表重置所述音频播放界面对应的播放器,采用所述播放器在所述音频播放界面播放所述推荐音频。
根据临时播放列表中所添加的至少一个推荐音频对所述音频播放界面对应的播放器进行重置,再在接收到用户针对所述推荐音频输入的播放指令后,采用所述音频播放界面对应的播放器对所述推荐音频进行播放。
S304,接收针对所述音频播放界面输入的播放关闭指令,关闭所述推荐音频。
本实施例采用同一个播放器对常用列表中的音频以及推荐音频进行播放,因此,在推荐音频播放过程中,当终端接收到针对所述音频播放界面输入的播放关闭指令,表明用户想关闭播放推荐音频,此时终端控制执行此操作,并依据上述所保存的播放信息还原音频播放界面对应的播放器之前的播放状态,也就是控制音频播放界面对应的播放器继续播放常用列表中的音频。
其他实施例中,所述音频播放方法还可以包括步骤S305、步骤S306。
S305,输出是否保留所述推荐音频的提示信息。
特别的,终端在接收到用户针对所述音频播放界面输入的播放关闭指令后,可以向用户输出是否要将所播放的推荐音频添加至常用播放列表中的提示信息。用户根据推荐音频的试听体验,输入确认操作或否定操作。
当用户选择不保留所播推荐音频时,终端控制关闭推荐音频的播放,并依据保存的播放信息继续播放列表中的音频。当用户选择保留所播推荐音频时,执行步骤S306。
提示信息可以在推荐音频播放过程中输出,也可以待推荐音频播放完毕后输出。提示信息可以选择以文字的形式输出,并伴随振动反馈等。
S306,接收针对所述提示信息的确认操作,将所述推荐音频添加至所述目标音频对应的播放列表中,并根据所述播放信息在所述音频播放界面播放所述目标音频。
用户确认保留所播推荐音频时,终端控制将所述推荐音频添加至目标音频播放的列表中。更进一步地,当音频播放软件或网页存在多个播放列表时,用户还可以选择将所述推荐音频添加至哪个播放列表中。终端依据保存的播放信息控制播放器继续播放目标音频,并在目标音频播放完毕时,依据用户设置的列表播放模式(如单曲循环、随机播放、顺序播放等)对列表中的剩余音频进行播放。
请参见图6,为本申请提供的一种音频播放方法的过程演示示意图。
在音频播放界面上点击相应的功能键进入图中A所示的界面,A界面显示出与当前正在播放的音频1相似度较高的音频2,点击播放按钮播放所述音频2,终端控制音频1进入暂停状态并对音频1的播放信息进行保存(播放音频2之时,若音频1已处于播放暂停状态,则终端直接保存音频1的播放信息),重置播放器对所述音频2进行播放(如图中B界面所示);在相似音频2播放过程中,用户可点击B界面上的“×”关闭按钮来关闭音频2的播放,基于用户的该操作,终端根据所保存的音频1的播放信息,控制播放器继续播放所述音频1(进入图中C所示界面)。
本实施例可将推荐音频加入至临时播放列表中,对于临时播放列表中的推荐音频,终端可依据音频播放软件/网站设置的播放规则对临时播放列表中的歌曲进行播放(如顺序播放、随机播放等);基于临时播放列表,终端可对音频播放界面对应的播放器进行重置,并用于播放推荐音频;在推荐音频播放完毕或被人为终止时,音频播放界面将依据所保存的播放信息恢复对常用列表中音频的播放。本实施例中,终端还可根据推荐音频的播放进度适时推出是否保留推荐音频的提示信息,根据提示信息以及推荐音频试听体验,用户可以选择将所听推荐音频添加至常用播放列表中,方便后续听取。
下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。
请参见图7,为本申请一个示例性实施例提供的音频播放装置的结构示意图。该音频播放装置可以通过软件、硬件或者两者的结合实现成为终端的全部或一部分,还可以作为独立的模块集成于服务器上。本申请实施例中的 音频播放装置应用于终端,所述该装置1包括推荐音频获取模块11、推荐音频播放模块12和目标音频播放模块13,其中:
推荐音频获取模块11,用于接收针对音频播放界面输入的推荐音频获取指令,获取推荐音频;
推荐音频播放模块12,用于接收针对所述推荐音频输入的播放指令,保存所述音频播放界面上当前播放的目标音频的播放信息并播放所述推荐音频;
目标音频播放模块13,用于接收针对所述推荐音频输入的播放关闭指令,根据所述播放信息在所述音频播放界面播放所述目标音频。
请参见图8,为本申请一个示例性实施例提供的音频播放装置的结构示意图。
可选的,如图8所示,本申请实施例提供的所述音频播放装置1中的推荐音频获取模块11包括:
音频推荐界面展示单元111,用于接收针对音频播放界面输入的翻页指令,展示音频推荐界面,所述音频推荐界面包括至少一个推荐音频;
推荐音频选择单元112,用于接收针对所述音频推荐界面所选择的推荐音频;
所述推荐音频播放模块12包括:
播放信息保存单元121,用于接收针对所述推荐音频输入的播放指令,暂停播放所述音频播放界面上当前播放的目标音频并保存所述目标音频的播放信息;
推荐音频播放单元122,用于在所述音频播放界面上展示临时播放界面,并在所述临时播放界面上播放所述推荐音频;
所述目标音频播放模块13包括:
临时播放界面关闭单元131,用于接收针对所述临时播放界面输入的关闭指令,关闭所述临时播放界面;
目标音频播放单元132,用于根据所述播放信息在所述音频播放界面播放所述目标音频。
请参见图9,为本申请一个示例性实施例提供的音频播放装置的结构示意图。
可选的,如图9所示,本申请实施例提供的所述音频播放装置1中的推荐音频播放模块12包括:
推荐音频添加单元123,用于接收针对所述推荐音频输入的播放指令,将所述推荐音频添加至临时播放列表中;
播放器重置单元124,用于基于所述临时播放列表重置所述音频播放界面对应的播放器,采用所述播放器在所述音频播放界面播放所述推荐歌曲;
所述目标音频播放模块13包括:
推荐音频关闭单元133,用于接收针对所述音频播放界面输入的播放关闭指令,关闭所述推荐音频;
目标音频播放单元132,根据所述播放信息在所述音频播放界面播放所述目标音频;
所述装置1还包括:
提示信息输出模块14,用于输出是否保留所述推荐音频的提示信息;
所述推荐音频添加单元123还用于:
接收针对所述提示信息的确认操作,将所述推荐音频添加至所述目标音频对应的播放列表中。
需要说明的是,上述实施例提供的音频播放装置在执行音频播放方法时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的音频播放装置与音频播放方法实施例属于同一构思,其体现实现过程详见方法实施例,这里不再赘述。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
本申请实施例提供的音频播放装置,终端接收针对音频播放界面输入的推荐音频获取指令,获取推荐音频,再在接收到针对所述推荐音频输入的播放指令后,保存所述音频播放界面上当前播放的目标音频的播放信息并播放所述推荐音频;当接收到针对所述推荐音频输入的播放关闭指令时,根据所述播放信息在所述音频播放界面播放所述目标音频。本申请实施例在对播放列表之外的推荐音频/其他音频进行播放时,会对原先正在播放的目标音频的播放信息进行保存,在推荐音频/其他音频播放完毕时终端可依据所保存的播放信息对目标音频所在的播放列表以及目标音频的播放状态进行还原/恢复,能有效避免因推荐音频/其他音频的插播而导致的音频播放体验中断问题。
本申请实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现前述任一实施例方法的步骤。其中,计算机可读存储介质可以包括但不限于任何类型的盘,包括软盘、光盘、DVD、CD-ROM、微型驱动器以及磁光盘、ROM、RAM、EPROM、EEPROM、DRAM、VRAM、闪速存储器设备、磁卡或光卡、纳米系统(包括分子存储器IC),或适合于存储指令和/或数据的任何类型的媒介或设备。
本申请实施例还提供了一种终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行程序时实现上述任一实施例方法的步骤。
请参见图10,为本申请实施例提供的一种终端结构框图。
如图10所示,终端100包括有:处理器1001和存储器1002。
本申请实施例中,处理器1001为计算机系统的控制中心,可以是实体机的处理器,也可以是虚拟机的处理器。处理器1001可以包括一个或多个处理 核心,比如4核心处理器、8核心处理器等。处理器1001可以采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器1001也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central Processing Unit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。
存储器1002可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器1002还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在本申请的一些实施例中,存储器1002中的非暂态的计算机可读存储介质用于存储至少一个指令,该至少一个指令用于被处理器1001所执行以实现本申请实施例中的方法。
一些实施例中,终端100还包括有:外围设备接口1003和至少一个外围设备。处理器1001、存储器1002和外围设备接口1003之间可以通过总线或信号线相连。各个外围设备可以通过总线、信号线或电路板与外围设备接口1003相连。具体地,外围设备包括:显示屏1004、摄像头1005和音频电路1006中的至少一种。
外围设备接口1003可被用于将I/O(Input/Output,输入/输出)相关的至少一个外围设备连接到处理器1001和存储器1002。在本申请的一些实施例中,处理器1001、存储器1002和外围设备接口1003被集成在同一芯片或电路板上;在本申请的一些其他实施例中,处理器1001、存储器1002和外围设备接口1003中的任意一个或两个可以在单独的芯片或电路板上实现。本申请实施例对此不作具体限定。
显示屏1004用于显示UI(User Interface,用户界面)。该UI可以包括图形、文本、图标、视频及其它们的任意组合。当显示屏1004是触摸显示屏时,显示屏1004还具有采集在显示屏1004的表面或表面上方的触摸信号的能力。该触摸信号可以作为控制信号输入至处理器1001进行处理。此时,显示屏1004还可以用于提供虚拟按钮和/或虚拟键盘,也称软按钮和/或软键盘。在本申请的一些实施例中,显示屏1004可以为一个,设置终端1000的前面板;在本申请的另一些实施例中,显示屏1004可以为至少两个,分别设置在终端1000的不同表面或呈折叠设计;在本申请的再一些实施例中,显示屏1004可以是柔性显示屏,设置在终端100的弯曲表面上或折叠面上。甚至,显示屏1004还可以设置成非矩形的不规则图形,也即异形屏。显示屏1004可以采用LCD(Liquid Crystal Display,液晶显示屏)、OLED(Organic Light-Emitting Diode,有机发光二极管)等材质制备。
摄像头1005用于采集图像或视频。可选地,摄像头1005包括前置摄像头和后置摄像头。通常,前置摄像头设置在终端的前面板,后置摄像头设置 在终端的背面。在一些实施例中,后置摄像头为至少两个,分别为主摄像头、景深摄像头、广角摄像头、长焦摄像头中的任意一种,以实现主摄像头和景深摄像头融合实现背景虚化功能、主摄像头和广角摄像头融合实现全景拍摄以及VR(Virtual Reality,虚拟现实)拍摄功能或者其它融合拍摄功能。在本申请的一些实施例中,摄像头1005还可以包括闪光灯。闪光灯可以是单色温闪光灯,也可以是双色温闪光灯。双色温闪光灯是指暖光闪光灯和冷光闪光灯的组合,可以用于不同色温下的光线补偿。
音频电路1006可以包括麦克风和扬声器。麦克风用于采集用户及环境的声波,并将声波转换为电信号输入至处理器1001进行处理。出于立体声采集或降噪的目的,麦克风可以为多个,分别设置在终端100的不同部位。麦克风还可以是阵列麦克风或全向采集型麦克风。
电源1007用于为终端100中的各个组件进行供电。电源1007可以是交流电、直流电、一次性电池或可充电电池。当电源1007包括可充电电池时,该可充电电池可以是有线充电电池或无线充电电池。有线充电电池是通过有线线路充电的电池,无线充电电池是通过无线线圈充电的电池。该可充电电池还可以用于支持快充技术。
本申请实施例中示出的终端结构框图并不构成对终端100的限定,终端100可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。
在本申请中,术语“第一”、“第二”等仅用于描述的目的,而不能理解为指示或暗示相对重要性或顺序;术语“多个”则指两个或两个以上,除非另有明确的限定。术语“安装”、“相连”、“连接”、“固定”等术语均应做广义理解,例如,“连接”可以是固定连接,也可以是可拆卸连接,或一体地连接;“相连”可以是直接相连,也可以通过中间媒介间接相连。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本申请中的具体含义。
本申请的描述中,需要理解的是,术语“上”、“下”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本申请和简化描述,而不是指示或暗示所指的装置或单元必须具有特定的方向、以特定的方位构造和操作,因此,不能理解为对本申请的限制。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,依本申请权利要求所作的等同变化,仍属本申请所涵盖的范围。

Claims (20)

  1. 一种音频播放方法,其特征在于,所述方法包括:
    接收针对音频播放界面输入的推荐音频获取指令,获取推荐音频;
    接收针对所述推荐音频输入的播放指令,保存所述音频播放界面上当前播放的目标音频的播放信息并播放所述推荐音频;
    接收针对所述推荐音频输入的播放关闭指令,根据所述播放信息在所述音频播放界面播放所述目标音频。
  2. 根据权利要求1所述的方法,其特征在于,所述接收针对音频播放界面输入的推荐音频获取指令,获取推荐音频,包括:
    接收针对音频播放界面输入的翻页指令,展示音频推荐界面,所述音频推荐界面包括至少一个推荐音频;
    接收针对所述音频推荐界面所选择的推荐音频。
  3. 根据权利要求1所述的方法,其特征在于,所述接收针对所述推荐音频输入的播放指令,保存所述音频播放界面上当前播放的目标音频的播放信息并播放所述推荐音频,包括:
    接收针对所述推荐音频输入的播放指令,暂停播放所述音频播放界面上当前播放的目标音频并保存所述目标音频的播放信息;
    在所述音频推荐界面上展示临时播放界面,并在所述临时播放界面上播放所述推荐音频。
  4. 根据权利要求3所述的方法,其特征在于,所述接收针对所述推荐音频输入的播放关闭指令,根据所述播放信息在所述音频播放界面播放所述目标音频,包括:
    接收针对所述临时播放界面输入的关闭指令,关闭所述临时播放界面;
    根据所述播放信息在所述音频播放界面播放所述目标音频。
  5. 根据权利要求3所述的方法,其特征在于,所述在所述临时播放界面上播放所述推荐音频,包括:
    获取所述临时播放界面对应的临时播放器,采用所述临时播放器在所述临时播放界面上播放所述推荐音频,其中,所述临时播放器与播放所述音频播放界面对应的播放器不同。
  6. 根据权利要求1所述的方法,其特征在于,所述接收针对所述推荐音频输入的播放指令,保存所述音频播放界面上当前播放的目标音频的播放信息并播放所述推荐音频,包括:
    接收针对所述推荐音频输入的播放指令,将所述推荐音频添加至临时播放列表中;
    基于所述临时播放列表重置所述音频播放界面对应的播放器,采用所述播放器在所述音频播放界面播放所述推荐音频。
  7. 根据权利要求6所述的方法,其特征在于,所述接收针对所述推荐音频输入的播放关闭指令,根据所述播放信息在所述音频播放界面播放所述目标音频,包括:
    接收针对所述音频播放界面输入的播放关闭指令,关闭所述推荐音频;
    根据所述播放信息在所述音频播放界面播放所述目标音频。
  8. 根据权利要求7所述的方法,其特征在于,所述根据所述播放信息在所述音频播放界面播放所述目标音频,包括:
    基于所述播放信息,获取所述目标音频对应的播放进度;
    根据所述播放进度,对所述目标音频对应的剩余音频进行播放。
  9. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    输出是否保留所述推荐音频的提示信息;
    接收针对所述提示信息的确认操作,将所述推荐音频添加至所述目标音频对应的播放列表中。
  10. 一种音频播放装置,其特征在于,所述装置包括:
    推荐音频获取模块,用于接收针对音频播放界面输入的推荐音频获取指令,获取推荐音频;
    推荐音频播放模块,用于接收针对所述推荐音频输入的播放指令,保存所述音频播放界面上当前播放的目标音频的播放信息并播放所述推荐音频;
    目标音频播放模块,用于接收针对所述推荐音频输入的播放关闭指令,根据所述播放信息在所述音频播放界面播放所述目标音频。
  11. 根据权利要求10所述的装置,其特征在于,所述推荐音频获取模块,包括:
    音频推荐界面展示单元,用于接收针对音频播放界面输入的翻页指令,展示音频推荐界面,所述音频推荐界面包括至少一个推荐音频;
    推荐音频选择单元,用于接收针对所述音频推荐界面所选择的推荐音频。
  12. 根据权利要求10所述的装置,其特征在于,所述推荐音频播放模块,包括:
    播放信息保存单元,用于接收针对所述推荐音频输入的播放指令,暂停播放所述音频播放界面上当前播放的目标音频并保存所述目标音频的播放信息;
    推荐音频播放单元,用于在所述音频播放界面上展示临时播放界面,并在所述临时播放界面上播放所述推荐音频。
  13. 根据权利要求12所述的装置,其特征在于,所述目标音频播放模块,包括:
    临时播放界面关闭单元,用于接收针对所述临时播放界面输入的关闭指令,关闭所述临时播放界面;
    目标音频播放单元,用于根据所述播放信息在所述音频播放界面播放所述目标音频。
  14. 根据权利要求12所述的装置,其特征在于,所述推荐音频播放单元,具体用于:
    获取所述临时播放界面对应的临时播放器,采用所述临时播放器在所述临时播放界面上播放所述推荐音频,其中,所述临时播放器与播放所述音频播放界面对应的播放器不同。
  15. 根据权利要求13所述的装置,其特征在于,所述推荐音频播放模块,包括:
    推荐音频添加单元,,用于接收针对所述推荐音频输入的播放指令,将所述推荐音频添加至临时播放列表中;
    播放器重置单元,用于基于所述临时播放列表重置所述音频播放界面对应的播放器,采用所述播放器在所述音频播放界面播放所述推荐音频。
  16. 根据权利要求14所述的装置,其特征在于,所述目标音频播放模块,包括:
    推荐音频关闭单元,,用于接收针对所述音频播放界面输入的播放关闭指令,关闭所述推荐音频;
    目标音频播放单元,根据所述播放信息在所述音频播放界面播放所述目标音频。
  17. 根据权利要求16所述的装置,其特征在于,所述目标音频播放单元,具体用于:
    基于所述播放信息,获取所述目标音频对应的播放进度;根据所述播放进度,对所述目标音频对应的剩余音频进行播放。
  18. 根据权利要求10所述的装置,其特征在于,所述装置还包括:
    提示信息输出模块,用于输出是否保留所述推荐音频的提示信息;
    所述推荐音频添加单元还用于:
    接收针对所述提示信息的确认操作,将所述推荐音频添加至所述目标音频对应的播放列表中。
  19. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现所述权利要求1-9中任一项所述方法的步骤。
  20. 一种终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现所述权利要求1-9中任一项所述方法的步骤。
PCT/CN2021/075729 2020-03-10 2021-02-07 音频播放方法、装置、存储介质及终端 WO2021179869A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP21768795.3A EP4120269A4 (en) 2020-03-10 2021-02-07 AUDIO PLAYBACK METHOD AND APPARATUS, AND STORAGE MEDIA AND TERMINAL
US17/939,763 US20230007355A1 (en) 2020-03-10 2022-09-07 Audio playback method, storage medium and terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010160836.3 2020-03-10
CN202010160836.3A CN113380279B (zh) 2020-03-10 2020-03-10 音频播放方法、装置、存储介质及终端

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/939,763 Continuation US20230007355A1 (en) 2020-03-10 2022-09-07 Audio playback method, storage medium and terminal

Publications (1)

Publication Number Publication Date
WO2021179869A1 true WO2021179869A1 (zh) 2021-09-16

Family

ID=77569459

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/075729 WO2021179869A1 (zh) 2020-03-10 2021-02-07 音频播放方法、装置、存储介质及终端

Country Status (4)

Country Link
US (1) US20230007355A1 (zh)
EP (1) EP4120269A4 (zh)
CN (1) CN113380279B (zh)
WO (1) WO2021179869A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114339277A (zh) * 2021-12-22 2022-04-12 武汉斗鱼鱼乐网络科技有限公司 一种直播间声音屏蔽方法及相关设备
CN115150654B (zh) * 2022-07-01 2024-07-12 北京字跳网络技术有限公司 多媒体播放方法、设备、存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102664033A (zh) * 2012-05-09 2012-09-12 东莞市美之尊电子科技有限公司 一种实现插卡音箱多点断点记忆续播的方法
CN103065662A (zh) * 2013-01-22 2013-04-24 中兴通讯股份有限公司 一种媒体资源在设备中续播的方法及系统
CN103854686A (zh) * 2014-02-18 2014-06-11 王功成 音频播放装置及其播放方法
CN106658300A (zh) * 2017-03-01 2017-05-10 深圳市麦思美汽车电子有限公司 一种车载影音系统的音效控制方法
CN110245255A (zh) * 2019-06-20 2019-09-17 广州酷狗计算机科技有限公司 歌曲显示方法、装置、设备及存储介质
US20190387998A1 (en) * 2014-04-22 2019-12-26 Interaxon Inc System and method for associating music with brain-state data

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6597857B1 (en) * 1999-08-31 2003-07-22 Intel Corporation Interrupting play of audio/visual information
CN101345882B (zh) * 2008-08-20 2010-09-22 北京搜狗科技发展有限公司 插播音频文件的播放装置和方法
CN103442308A (zh) * 2013-08-22 2013-12-11 百度在线网络技术(北京)有限公司 音视频文件的标注方法、装置以及信息推荐方法和装置
CN106570175A (zh) * 2016-11-10 2017-04-19 珠海市魅族科技有限公司 匹配相拟歌曲的交互方法、交互装置和终端
CN107172454B (zh) * 2017-06-30 2021-07-23 网易传媒科技(北京)有限公司 一种视频推荐方法、介质、装置和计算设备
CN109218751A (zh) * 2018-09-27 2019-01-15 广州酷狗计算机科技有限公司 推荐音频的方法、装置及系统
CN110266879B (zh) * 2019-06-11 2020-12-18 王佳一 播放界面显示方法、装置、终端及存储介质
CN110297940A (zh) * 2019-06-13 2019-10-01 百度在线网络技术(北京)有限公司 播放处理方法、装置、设备和存储介质
CN110489573A (zh) * 2019-07-30 2019-11-22 维沃移动通信有限公司 界面显示方法及电子设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102664033A (zh) * 2012-05-09 2012-09-12 东莞市美之尊电子科技有限公司 一种实现插卡音箱多点断点记忆续播的方法
CN103065662A (zh) * 2013-01-22 2013-04-24 中兴通讯股份有限公司 一种媒体资源在设备中续播的方法及系统
CN103854686A (zh) * 2014-02-18 2014-06-11 王功成 音频播放装置及其播放方法
US20190387998A1 (en) * 2014-04-22 2019-12-26 Interaxon Inc System and method for associating music with brain-state data
CN106658300A (zh) * 2017-03-01 2017-05-10 深圳市麦思美汽车电子有限公司 一种车载影音系统的音效控制方法
CN110245255A (zh) * 2019-06-20 2019-09-17 广州酷狗计算机科技有限公司 歌曲显示方法、装置、设备及存储介质

Also Published As

Publication number Publication date
EP4120269A4 (en) 2023-08-30
CN113380279A (zh) 2021-09-10
EP4120269A1 (en) 2023-01-18
CN113380279B (zh) 2023-06-09
US20230007355A1 (en) 2023-01-05

Similar Documents

Publication Publication Date Title
CN114302210B (zh) 用于查看和访问电子设备上的内容的用户界面
WO2020010814A1 (zh) 选择背景音乐拍摄视频的方法、装置、终端设备及介质
US20230007355A1 (en) Audio playback method, storage medium and terminal
WO2020125334A1 (zh) 音乐播放方法、装置、终端及存储介质
WO2018006802A1 (zh) 一种视频播放方法、装置及电子设备
US11233895B2 (en) Automatic wallpaper setting method, terminal device, and graphical user interface
WO2021018211A1 (zh) 一种显示方法及电子设备
AU2014250635B2 (en) Apparatus and method for editing synchronous media
US9729691B2 (en) Portable device and method for multiple recording of data
JP2021505092A (ja) オーディオデータを再生する方法及び装置
CN110719529B (zh) 一种多路视频同步方法、装置、存储介质及终端
WO2023051293A1 (zh) 一种音频处理方法、装置、电子设备和存储介质
WO2022228377A1 (zh) 录音方法、装置、电子设备和可读存储介质
US12001753B2 (en) Devices, methods, and graphical user interfaces for interactions with a headphone case
WO2024016902A1 (zh) 多媒体播放方法、设备、存储介质及程序产品
US20230013350A1 (en) Image editing method, storage medium, and terminal device
WO2022068721A1 (zh) 截屏方法、装置及电子设备
JP2024522058A (ja) アプリケーションに共有コンテンツを自動的に提供するためのデバイス、方法、及びグラフィカルユーザインタフェース
WO2020133376A1 (zh) 多媒体信息的处理方法与装置、电子设备及计算机可读存储介质
WO2022142254A1 (zh) 歌曲录制方法及存储介质
WO2020029524A1 (zh) 音乐编辑方法、装置、终端设备及计算机可读存储介质
CN116506694B (zh) 视频剪辑方法、装置、电子设备及存储介质
JP6913812B1 (ja) プログラム、情報処理方法、及び情報処理装置
JP2007299033A (ja) 情報処理装置および操作案内情報表示方法
CN117333256A (zh) 页面显示方法、装置、电子设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21768795

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2021768795

Country of ref document: EP

Effective date: 20221010