WO2022022697A1 - 音频播放方法、装置及电子设备 - Google Patents

音频播放方法、装置及电子设备 Download PDF

Info

Publication number
WO2022022697A1
WO2022022697A1 PCT/CN2021/109707 CN2021109707W WO2022022697A1 WO 2022022697 A1 WO2022022697 A1 WO 2022022697A1 CN 2021109707 W CN2021109707 W CN 2021109707W WO 2022022697 A1 WO2022022697 A1 WO 2022022697A1
Authority
WO
WIPO (PCT)
Prior art keywords
audio
target
input
information
playlist
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2021/109707
Other languages
English (en)
French (fr)
Inventor
张昭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Publication of WO2022022697A1 publication Critical patent/WO2022022697A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • G06F16/638Presentation of query results
    • G06F16/639Presentation of query results using playlists
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • G06F16/637Administration of user profiles, e.g. generation, initialization, adaptation or distribution

Definitions

  • the present application belongs to the field of communication technologies, and in particular relates to an audio playback method, device and electronic device.
  • user-favorite audio may exist in different applications. For example, multiple songs respectively exist in different music applications; or, some songs exist in a music application, and some live songs exist in a video application.
  • the inventor found at least the following problems: when an application program is playing an audio or video, if the application program does not have another audio that the user likes, the user needs to exit the application program and open other audio and video programs. application, and finding the audio you want to play, which makes the operation steps for playing audio in different applications more cumbersome.
  • the purpose of the embodiments of the present application is to provide an audio playing method, apparatus and electronic device, which can solve the problem of complicated operation steps for playing audio in different application programs.
  • an embodiment of the present application provides an audio playback method.
  • the method may include: creating a target playlist, the target playlist including at least the first audio information and the second audio information; in the process of playing the target playlist with the first loop strategy, after the first application program finishes playing After the first audio corresponding to the first audio information, the second audio corresponding to the second audio information is played through the second application.
  • an embodiment of the present application provides an audio playback device, and the device may include a processing module.
  • the processing module is used to create a target playlist, which includes at least the first audio information and the second audio information; and in the process of playing the target playlist with the first loop strategy, after playing the After the first audio corresponding to the first audio information, the second audio corresponding to the second audio information is played through the second application.
  • an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, the program or instruction being executed by the processor When executed, the steps of the method as provided in the first aspect are implemented.
  • an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method provided in the first aspect are implemented.
  • an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the method provided in the first aspect.
  • a target playlist may be created, and the target playlist includes at least the first audio information and the second audio information; and in the process of playing the target playlist with the first loop strategy, the After the application program finishes playing the first audio corresponding to the first audio information, the second application program plays the second audio corresponding to the second audio information.
  • the target playlist can include audio information corresponding to audios in different applications
  • the first application can be used to finish playing the first playlist.
  • the first audio corresponding to the audio information, and then the second audio corresponding to the second audio information is played through the second application program, that is, the user does not need to manually switch applications, and the audio in different applications can be played in a loop, thus simplifying the playback of different applications. Steps for audio in the application.
  • FIG. 1 is one of the schematic diagrams of an audio playback method provided by an embodiment of the present application.
  • FIG. 2 is the second schematic diagram of an audio playback method provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of the operation of the first audio and the first control provided by an embodiment of the present application.
  • FIG. 4 is the third schematic diagram of an audio playback method provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of an operation of sharing a first control provided by an embodiment of the present application.
  • FIG. 6 is one of the schematic structural diagrams of an audio playback device provided by an embodiment of the present application.
  • FIG. 7 is the second schematic structural diagram of an audio playback device provided by an embodiment of the present application.
  • FIG. 8 is one of the schematic hardware diagrams of the electronic device provided by the embodiment of the present application.
  • FIG. 9 is the second schematic diagram of the hardware of the electronic device provided by the embodiment of the present application.
  • Embodiments of the present application provide an audio playback method, device, and electronic device, which can create a target playlist, and the target playlist includes at least first audio information and second audio information; and play the target with a first loop strategy
  • the target playlist can include audio information corresponding to audios in different applications
  • the first application can be used to finish playing the first playlist.
  • the first audio corresponding to the audio information, and then the second audio corresponding to the second audio information is played through the second application program, that is, the user does not need to manually switch applications, and the audio in different applications can be played in a loop, thus simplifying the playback of different applications. Steps for audio in the application.
  • an embodiment of the present application provides an audio playback method.
  • the method may include S101 to S102 described below.
  • the method is exemplarily described by taking the execution subject as an audio playback device as an example.
  • the audio playback device creates a target playlist.
  • the target playlist includes at least the first audio information and the second audio information.
  • the first audio information may be used to indicate the first audio in the first application
  • the second audio information may be used to indicate the second audio in the second application.
  • the target playlist may also include other audio information, for example, the target playlist may also include third audio information, where the third audio information is used to indicate the third audio in the third application, the first application, the second application
  • the program and the third application are different applications in the audio playback device.
  • the audio in the embodiments of the present application may refer to audio files in the traditional sense, such as songs, sketches, storytelling, or talk shows, etc.; or, may also refer to video files including audio, such as short videos, online videos, etc. . It may be determined according to actual usage requirements, which is not limited in this embodiment of the present invention.
  • the above audio information may include at least one of the following: a playback source (ie, an application program that provides audio, such as an audio player), an audio name, an audio performer (eg, a singer), an audio creator (eg, a singer), and the like.
  • a playback source ie, an application program that provides audio, such as an audio player
  • an audio name e.g., an audio name
  • an audio performer e.g, a singer
  • an audio creator eg, a singer
  • the above-mentioned "creating a target playlist” includes at least two ways: one way is to create a target playlist according to the audio information of the audio in the audio playback device or the audio information shared by other devices. Another way is to receive a playlist shared by other devices, and create a playlist identical to the playlist, that is, a target playlist, in the audio playback device.
  • the audio playback device can automatically play the audio indicated by the audio information in the target playlist across applications in a loop according to the first loop strategy.
  • the target playlist and the first widget may be associated with each other, and the target playlist may be used to store playback information of at least one audio associated with the first widget.
  • the audio playback apparatus determines that the first control is associated with the target playlist, the audio indicated by the audio information in the target playlist may be played according to the first loop strategy.
  • the first possible implementation scenario is that when the audio playback device detects that the application of the target type is running, the first control can be automatically displayed on the interface of the application of the target type, and the first control can be displayed in the target playlist. In the case of being associated with the first control, the audio indicated by the audio information in the target playlist is played according to the first loop strategy.
  • the second possible implementation scenario is that when the application of the target type is running, the user can trigger the audio playback device to display the first control in a floating manner on the interface of the application of the target type through touch input, and display the first control in the target playlist. In the case of being associated with the first control, the audio indicated by the audio information in the target playlist is played according to the first loop strategy.
  • the first control may be used to trigger the audio playback device to play audio in a loop across applications, and the target type of application may be an application with an audio playback function, such as a music application or a video application.
  • the audio playback device determines that the first control is not associated with the audio information; if the user triggers the first control to establish an associated relationship with the audio information in the target playlist, the audio playback device determines that the first control is associated with the audio in the target playlist.
  • Information association in the case where the first control is automatically displayed on the interface of the application program of the target type, if the user does not trigger the first control to establish an association with any audio information relationship, the audio playback device determines that the first control is not associated with the audio information; if the user triggers the first control to establish an associated relationship with the audio information in the target playlist, the audio playback device determines that the first control is associated with the audio in the target playlist.
  • the first control may be a suspension ball or other possible suspension controls, etc., which may be determined according to actual usage requirements, which are not limited in the embodiments of the present application.
  • the audio playback apparatus may automatically and periodically detect whether the first control is associated with audio information. For example, the audio playback device can detect whether the first control is associated with audio information every 5 seconds, and if it is detected that the first control is associated with the audio information in the target playlist, it can play the audio information in the target playlist with the first loop strategy. The audio indicated by the audio information.
  • the audio playback device can receive the user's input on the first control; and in response to the input, determine whether the first control is associated with audio information. For example, when the first control is invoked, the first control may be in an audio loop waiting mode. If the audio playback device receives the user's long-press input on the first control, the audio playback device can detect whether the first control is associated with audio information.
  • each audio indicated by each audio information has a playback source, that is, each audio corresponds to an application that provides audio .
  • each audio may come from a different application; Another part of the audio indicated by the audio information can be from the same application. It may be determined according to actual usage requirements, which is not limited in this embodiment of the present invention.
  • the audio playback device may respond to the user's long-press input and display a target playlist, and the target playlist may include the same as the first control. Playback information of each associated audio. Further, the user can trigger the audio playback device to delete the target audio from the target playlist by inputting the delete control.
  • the above-mentioned first cycle strategy may include at least one of the following: the sequence of adding audio, a random order, the priority of the application program that provides the audio, the audio name, the audio singer, the audio creation age, the audio creation region, the audio type, etc.
  • the target playlist includes audio information of audio 1, audio 2, and audio 3, and the playback source of audio 1 is application 1, the playback source of audio 2 is application 2, and the playback source of audio 3 is application. 3.
  • the audio playback device first calls the application 1 in the background to play the audio 1, then calls the application 2 in the background to play the audio 2, and then calls the application 3 in the background to play the audio 3;
  • the audio playback device may call the three applications in the background in random order to play the audio corresponding to each application.
  • an application is called in the background, and through this application, in the process of playing an audio, the audio playback device can analyze the playback source of the next audio in advance, so that after an audio playback ends, the audio playback device can immediately The playback source of the next audio is called to play the next audio, thereby reducing the playback waiting time and improving the playback efficiency.
  • An embodiment of the present application provides an audio playback method. Since the target playlist may include audio information corresponding to audios in different applications, in the process of playing the target playlist with the first loop strategy, the After an application finishes playing the first audio corresponding to the first audio information, and then plays the second audio corresponding to the second audio information through the second application, that is, without the need for the user to manually switch applications, the audio in different applications can be played cyclically. Audio, which simplifies the steps to play audio from different applications.
  • the audio information may be added to the target playlist by the user triggering the audio playback device.
  • the above S101 may be implemented by the following S101A to S101B.
  • the audio playback apparatus receives the first input from the user to the first control and the target object in the interface of the target application.
  • the target application is an audio playback application in the audio playback device.
  • the above-mentioned target object can be a certain song list in the audio playback device, a certain audio in the audio playback device, and a certain video in the audio playback device; or, the target object can be shared to the audio playback device for other equipment.
  • a certain audio link or a certain audio frequency, etc., is not limited in this embodiment of the present application.
  • the first input may be a click input to the first control and the target object respectively, or the first input may be a touch input of dragging the first control to the area where the target object is located.
  • the first input may also be other possible inputs, which are not limited in this embodiment of the present application.
  • the audio playback device adds the playback information of the target audio corresponding to the target object to the target playlist.
  • the above-mentioned target audio may be the first audio, the second audio, or any other possible audio in the above-mentioned embodiment, which is not limited in this embodiment of the present application.
  • the interface of a music player may display audios of various categories such as “recently played”, “favorite playlists” and “other playlists”, and,
  • the first control 01 can be displayed in a floating manner on the interface.
  • the user wants to add "Afternoon Cafe” to the target playlist corresponding to the first widget 01, the user can press and hold the first widget 01 and drag to the area 02 where "Afternoon Cafe" is located.
  • the audio playback device can display the playback information of the “Afternoon cafe” Add to target playlist. It can be understood that, if the hovering time of the first control 01 in the area 02 where the "afternoon cafe” is located is less than 2 seconds when the user releases his finger, the first control 01 will return to the initial display position instead of is added to the target playlist.
  • the above example is illustrated by adding the playback information of the target audio in the interface of the target application to the target playlist through the first input. It can be added according to the above method, so that audio from different applications can be stored in the target playlist and played in a loop.
  • the above-mentioned “adding the playback information of the target audio corresponding to the target object to the target playlist” includes: transcoding the target video to obtain the target audio, and adding the playback information of the target audio to the target playlist. In this way, it is convenient for the user to play and manage the audio information in the corresponding video.
  • the playback information of the target audio may include at least one of the following: a playback source of the target audio, a name of the target audio, a performer of the target audio, a creator of the target audio, and the like.
  • the audio playback method may further include: displaying the target identifier in the area where the first control is located.
  • the target identifier can be used to indicate the first audio.
  • the target identification may be the first character of the song title of the first audio, or the target identification may be the singer name of the first audio.
  • the audio playback device can display the audios in sequence in the area where the first control is located. identifiers of each audio, so that the user can determine the currently playing audio according to the identifier of each audio.
  • the number of target audios may be one or more.
  • the audio playback apparatus may add playback information of the target audio to the target playlist.
  • the number of target audios is multiple, it can be implemented by any one of the following two possible implementation manners:
  • the first possible implementation manner is that the target object includes N objects in the interface of the target application.
  • the first input includes N sub-inputs. Each sub-input is an input for dragging the first control to an area where one object is located among the N objects, and the staying time in the area where one object is located is greater than or equal to the first preset time.
  • the playback information of the target audio is the playback information of N audios corresponding to the N objects. Among them, N is a positive integer.
  • the first control may be displayed in suspension.
  • the audio playback device can add the playback information of the song 1 to the target playlist.
  • the audio playback device can add the playback information of the song 2 to the target playlist.
  • the audio playback device can display the playback information of the song 3. Add to target playlist.
  • the N audios can be The audio that is continuously displayed in the interface of the first application program, or the audio that is discontinuously displayed in the interface of the first application program, is not limited in this embodiment of the present application.
  • a second possible implementation manner is that the target object includes M objects displayed continuously in the interface of the target application program.
  • the first input includes a first sub-input and a second sub-input.
  • the first sub-input is the input of dragging the first control to the area where the first object of the M objects is located, and the staying time in the area where the first object is located is greater than or equal to the second preset time;
  • the second sub-input The input is the input of dragging the first control to the area where the Mth object is located among the M objects, and the stay time in the area where the Mth object is located is greater than or equal to the third preset time.
  • the playback information of the target audio is the playback information of M audios corresponding to the M objects. Wherein, M is an integer greater than 1.
  • song a, song b, song c, and song d may be displayed in sequence from top to bottom in the interface of a music player, and the first control may be displayed in suspension on the interface.
  • the user can first press and hold the first control to drag to the area where song 1 is located, and the hovering time in the area where song 1 is located is greater than or equal to 2 seconds; , and the hover time in the area where song d is located is greater than or equal to 2 seconds. Since song a, song b, song c, and song d are displayed continuously, the audio playback device can add the playback information of these songs to the target playlist.
  • first preset time, second preset time and third preset time may be equal or may not be equal, which is not limited in this embodiment of the present application.
  • the user since the user can trigger the audio playback device to add the playback information of the target object to the target playlist through the input of the first control and the target object, the user is in different application programs. Select different audios to add to the target playlist, so that the playback information of the audios from different applications can be stored in the target playlist and played in a loop.
  • the user may share the playback information of at least one audio corresponding to the first control to other users.
  • the audio playback method provided in this embodiment of the present application may further include the following S103 to S104 .
  • the audio playback apparatus receives a second input of the first control by the user.
  • the audio playback apparatus shares the target playlist to the device used by the target user.
  • FIG. 4 is an example of performing S102 first, and then performing S103 to S104 for illustrative description, which does not limit the embodiments of the present application. It can be understood that in actual implementation, S103 to S104 may also be performed first, and then S102 may be performed; or, S102 and S103 to S104 may be selectively performed.
  • the second input may include a first sub-input and a second sub-input
  • the first sub-input is the input of dragging the first control to the input box in the chat interface
  • the second sub-input is the triggering to send the target playlist. input of.
  • Xiao Wang can drag the first control 01 to the chat interface 03 in the input box 04.
  • the audio playback device may determine that the first control 01 is associated with song 1, song 2 and song 3 (ie, the target playlist).
  • the target playlist can be sent to the device used by Xiao Zhang.
  • Xiao Zhang can trigger the cross-application of the device used by Xiao Zhang by inputting the target playlist and the floating control 07 in the device used by Xiao Zhang. Play Song 1, Song 2, and Song 3 in a loop.
  • the audio playback method since one user can send the playback information of at least one audio selected by the user to the device used by another user, another user can trigger another user by inputting the playback information of these audios.
  • a device used by a user plays these audios in a loop across applications, which implements audio sharing.
  • the audio playback apparatus may also receive at least one audio playback information shared by other devices.
  • the audio playback method provided by the embodiment of the present application may further include the following S105 to S107.
  • the audio playback apparatus receives the playback information of the target audio shared by the target device.
  • the above-mentioned target audio may be a specific audio to be shared; or, the target audio may be the entire shared playlist, and the playlist includes the target audio.
  • the audio playback apparatus receives a third input from the user.
  • the audio playback apparatus adds playback information of the target audio to the target playlist.
  • the third input may be the user's input to the first control and the playback information of the target audio.
  • the third input may be the input of dragging the first control to an area where the playback information of the target audio is located.
  • the audio playback device receives the playback information of the target audio sent by the target device, it can display a logo corresponding to the playing information of the target audio; after that, the user can drag the first control to the area where the logo is located, so that the audio
  • the playback device may establish an association relationship between the first control and the playback information of the target audio, and add the playback information of the target audio to the target playlist.
  • the audio playback device since the audio playback device can receive the playback information of the target audio shared by other devices, the user can trigger the audio playback device to establish an association relationship between the first control and the target audio through input, and make The audio playback device can loop this audio across applications.
  • the audio playing method provided by this embodiment of the present application may further include the following S108 or S109.
  • the audio playback device plays the third audio through the application program corresponding to the third audio.
  • the audio playback device downloads and installs the application program corresponding to the third audio, and plays the third audio through the application program corresponding to the third audio; Alternatively, the third audio is not played, and the next audio is played through an application program corresponding to the next audio of the third audio.
  • the third audio frequency may be the first audio frequency, the second audio frequency, or any other possible audio frequency in the foregoing embodiment, which is not limited in this embodiment of the present application.
  • the third audio includes Song 1, Song 2, and Song 3 as an example.
  • Xiao Zhang can drag the floating control 07 to the song list, and enlarge the floating control 07 to display, so that the small Zhang's device can read the playlist to obtain the playback information of song 1, song 2 and song 3.
  • Xiao Zhang's device has installed application 1 corresponding to song 1, application 2 corresponding to song 2, and application 3 corresponding to song 3, then Xiao Zhang's device can play song 1 through application 1 in turn, and then App 2 plays song 2, and app 3 plays song 3.
  • Xiao Zhang's device does not have application 2 corresponding to song 2, but has installed application 1 corresponding to song 1 and application 3 corresponding to song 3, then one scenario is: Xiao Zhang's device is connected to wifi , Xiao Zhang's device can first play song 1 through application 1, and download and install application 2, after song 1 is played, it can play song 2 through application 2, and play song 3 through application 3; another The scenario is: Xiao Zhang's device is not connected to wifi, Xiao Zhang's device can play song 1 through application 1 first, and after song 1 is played, song 2 can be skipped, and song 3 can be played through application 3.
  • the audio playback method provided by the embodiment of the present application can determine whether to download and install the application program according to whether the application program corresponding to the audio is installed and the network environment, so that the strategy of cyclically playing songs can be flexibly adjusted, and the playback experience of the user is improved.
  • the execution body may be an audio playback device, or a control module in the audio playback device for executing the loading audio playback method.
  • the audio playing method provided by the embodiments of the present application is described by taking an audio playing device performing a loaded audio playing method as an example.
  • an embodiment of the present application provides an audio playback device 600 .
  • the audio playback device 600 may include a processing module 601 .
  • the processing module 601 can be used to create a target playlist, and the target playlist includes at least the first audio information and the second audio information; and in the process of playing the target playlist with the first loop strategy, the After the program finishes playing the first audio corresponding to the first audio information, the second application program plays the second audio corresponding to the second audio information.
  • the audio playback apparatus may further include a receiving module 602 .
  • the receiving module 602 may be configured to receive the first input from the user on the first control and the target object in the interface of the target application under the condition that the first control is displayed in suspension on the interface of the target application.
  • the processing module 601 may be specifically configured to, in response to the first input received by the receiving module 602, add the playback information of the target audio corresponding to the target object to the target playlist.
  • the target object is a target video.
  • the processing module 601 can be specifically configured to transcode the target video to obtain the target audio, and add the playback information of the target audio to the target playlist.
  • the target object includes N objects in the interface of the target application
  • the first input includes N sub-inputs.
  • Each sub-input is an input for dragging the first control to an area where one object is located among the N objects, and the staying time in the area where one object is located is greater than or equal to the first preset time.
  • the playback information of the target audio is the playback information of N audios corresponding to the N objects.
  • N is a positive integer.
  • the target object includes M objects continuously displayed in the interface of the target application
  • the first input includes a first sub-input and a second sub-input.
  • the first sub-input is an input for dragging the first control to the area where the first object is located among the M objects, and the staying time in the area where the first object is located is greater than or equal to the second preset time.
  • the second sub-input is an input for dragging the first control to the area where the M-th object is located among the M objects, and the staying time in the area where the M-th object is located is greater than or equal to the third preset time.
  • the playback information of the target audio is the playback information of M audios corresponding to the M objects. M is an integer greater than 1.
  • the audio playback apparatus may further include a receiving module 602 and a communication module 603 .
  • the receiving module 602 may be configured to receive a second input from the user on the first control when a chatting interface with the target user is displayed and the first control is displayed in suspension on the chatting interface.
  • the communication module 603 may be configured to, in response to the second input received by the receiving module 602, share the target playlist to the device used by the target user.
  • the audio playback apparatus may further include a receiving module 602 and a communication module 603 .
  • the communication module 603 may be configured to receive playback information of the target audio shared by the target device.
  • the receiving module 602 may be configured to receive the third input from the user.
  • the processing module 601 may also be configured to add the playback information of the target audio to the target playlist in response to the third input received by the receiving module 602 .
  • the processing module 601 can also be used to, in the process of playing the target playlist with the first loop strategy, if an application program corresponding to the third audio is installed, then through the application program corresponding to the third audio, Play the third audio.
  • the processing module 601 can also be used to download and install the application corresponding to the third audio if the application corresponding to the third audio is not installed in the process of playing the target playlist with the first loop strategy , and play the third audio through the application program corresponding to the third audio; or, do not play the third audio, and play the next audio through the application program corresponding to the next audio of the third audio.
  • An embodiment of the present application provides an audio playback device. Since a target playlist may include audio information corresponding to audios in different applications, in the process of playing the target playlist with the first loop strategy, the audio playback device may First, the first audio corresponding to the first audio information is played through the first application program, and then the second audio corresponding to the second audio information is played through the second application program, that is, the user does not need to manually switch applications, and different applications can be played cyclically audio in programs, which simplifies the steps to play audio from different applications.
  • the audio playback device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the apparatus may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • netbook or a personal digital assistant (personal digital assistant).
  • PDA personal digital assistant
  • non-mobile electronic devices can be servers, network attached storage (NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • the audio playback device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
  • the audio playback apparatus provided in the embodiments of the present application can implement each process implemented by the audio playback apparatus in the method embodiments of FIG. 1 to FIG. 5 , and to avoid repetition, details are not repeated here.
  • an embodiment of the present application further provides an electronic device 800, including a processor 801, a memory 802, a program or instruction stored in the memory 802 and executable on the processor 801, the program Or, when the instruction is executed by the processor 801, each process of the above-mentioned audio playback method embodiments can be implemented, and the same technical effect can be achieved. To avoid repetition, details are not described here.
  • the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 900 includes but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, and a processor 910, etc. part.
  • the electronic device 900 may also include a power supply (such as a battery) for supplying power to various components, and the power supply may be logically connected to the processor 910 through a power management system, so that the power management system can manage charging, discharging, and power management. consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 9 does not constitute a limitation to the electronic device.
  • the electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
  • the processor 910 can be used to create a target playlist, the target playlist includes at least the first audio information and the second audio information; and in the process of playing the target playlist with the first loop strategy, the After an application program finishes playing the first audio corresponding to the first audio information, the second application program plays the second audio corresponding to the second audio information.
  • the user input unit 907 can be configured to receive the first input from the user on the first control and the target object in the interface of the target application under the condition that the first control is displayed in suspension on the interface of the target application.
  • the processor 910 may be specifically configured to, in response to the first input received by the user input unit 907, add the playback information of the target audio corresponding to the target object to the target playlist.
  • the target object is a target video.
  • the processor 910 may be specifically configured to transcode the target video to obtain the target audio, and add the playback information of the target audio to the target playlist.
  • the target object includes N objects in the interface of the target application
  • the first input includes N sub-inputs.
  • Each sub-input is an input for dragging the first control to an area where one object is located among the N objects, and the staying time in the area where one object is located is greater than or equal to the first preset time.
  • the playback information of the target audio is the playback information of N audios corresponding to the N objects.
  • N is a positive integer.
  • the target object includes M objects continuously displayed in the interface of the target application
  • the first input includes a first sub-input and a second sub-input.
  • the first sub-input is an input for dragging the first control to the area where the first object is located among the M objects, and the staying time in the area where the first object is located is greater than or equal to the second preset time.
  • the second sub-input is an input for dragging the first control to the area where the M-th object is located among the M objects, and the staying time in the area where the M-th object is located is greater than or equal to the third preset time.
  • the playback information of the target audio is the playback information of M audios corresponding to the M objects. M is an integer greater than 1.
  • the user input unit 907 may be configured to receive a second input from the user to the first control when a chatting interface with the target user is displayed and the first control is displayed in suspension on the chatting interface.
  • the radio frequency unit 901 may be configured to share the target playlist to the device used by the target user in response to the second input received by the user input unit 907 .
  • the radio frequency unit 901 may be configured to receive playback information of the target audio shared by the target device.
  • the user input unit 907 can be used to receive a third input from the user.
  • the processor 910 may also be configured to add the playback information of the target audio to the target playlist in response to the third input received by the user input unit 907 .
  • the processor 910 can also be configured to, in the process of playing the target playlist with the first loop strategy, if an application program corresponding to the third audio is installed, then through the application program corresponding to the third audio, Play the third audio.
  • the processor 910 may also be configured to download and install the application corresponding to the third audio if the application corresponding to the third audio is not installed in the process of playing the target playlist with the first loop strategy , and play the third audio through the application program corresponding to the third audio; or, do not play the third audio, and play the next audio through the application program corresponding to the next audio of the third audio.
  • An embodiment of the present application provides an electronic device. Since a floating control can establish an association relationship with audio in different applications, when a first control is displayed in a floating manner, by judging whether the first control is associated with audio, the first control can be displayed in the first control. When the control is associated with at least one audio, each audio is played separately through the application corresponding to each audio in turn, that is, the audio in different applications can be played in a loop without the need for the user to manually switch applications, which simplifies the playback of different applications. Steps for audio in the application.
  • the input unit 904 may include a graphics processing unit (graphics processing unit, GPU) 9041 and a microphone 9042. Such as camera) to obtain still pictures or video image data for processing.
  • the display unit 906 may include a display panel 9061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 907 includes a touch panel 9071 and other input devices 9072 .
  • the touch panel 9071 is also called a touch screen.
  • the touch panel 9071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 9072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • Memory 909 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 910 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 910.
  • Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the above-mentioned audio playback method embodiment can be achieved, and can achieve the same The technical effect, in order to avoid repetition, will not be repeated here.
  • a readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like.
  • ROM computer read-only memory
  • RAM random access memory
  • magnetic disk or an optical disk and the like.
  • An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or an instruction, implement the various processes of the above audio playback method embodiments, and can To achieve the same technical effect, in order to avoid repetition, details are not repeated here.
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
  • the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods provided by the various embodiments of this application.
  • a storage medium such as ROM/RAM, magnetic disk, CD-ROM

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种音频播放方法、装置及电子设备,属于通信技术领域。该方法包括:音频播放装置创建目标播放列表(S101),该目标播放列表中至少包括第一音频信息和第二音频信息;在以第一循环策略播放该目标播放列表的过程中,在通过第一应用程序播放完该第一音频信息对应的第一音频后,通过第二应用程序播放该第二音频信息对应的第二音频(S102)。

Description

音频播放方法、装置及电子设备
相关申请的交叉引用
本申请主张在2020年7月31日在中国提交的中国专利申请号202010762896.2的优先权,其全部内容通过引用包含于此。
技术领域
本申请属于通信技术领域,具体涉及一种音频播放方法、装置及电子设备。
背景技术
随着互联网技术的不断发展,越来越多的应用程序支持音频播放功能。
目前,受到版权限制,用户喜爱的音频可能存在于不同的应用程序中。例如,多首歌曲分别存在于不同的音乐类应用程序中;或者,有的歌曲存在于音乐类应用程序中,有的直播歌曲存在于视频类应用程序中。
在实现本发明的过程中,发明人发现至少存在以下问题:当一个应用程序在播放一个音视频时,若该应用程序没有用户喜爱的另一个音频,则用户需要退出该应用程序,并打开其他应用程序,以及寻找想要播放的音频,从而导致播放不同应用程序中的音频的操作步骤较为繁琐。
发明内容
本申请实施例的目的是提供一种音频播放方法、装置及电子设备,能够解决播放不同应用程序中的音频的操作步骤较为繁琐的问题。
为了解决上述技术问题,本申请是这样实现的:
第一方面,本申请实施例提供了一种音频播放方法。该方法可以包括:创建目标播放列表,该目标播放列表中至少包括第一音频信息和第二音频信息;在以第一循环策略播放该目标播放列表的过程中,在通过第一应用程序播放完该第一音频信息对应的第一音频后,通过第二应用程序播放该第二音频信息对应的第二音频。
第二方面,本申请实施例提供了一种音频播放装置,该装置可以包括处理模块。处理模块,用于创建目标播放列表,该目标播放列表中至少包括第一音频信息和第二音频信息;并在以第一循环策略播放目标播放列表的过程中,在通过第一应用程序播放完该第一音频信息对应的第一音频后,通过第二应用程序播放该第二音频信息对应的第二音频。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在该存储器上并可在该处理器上运行的程序或指令,该程序或 指令被该处理器执行时实现如第一方面提供的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,该可读存储介质上存储程序或指令,该程序或指令被处理器执行时实现如第一方面提供的方法的步骤。
第五方面,本申请实施例提供了一种芯片,该芯片包括处理器和通信接口,该通信接口和处理器耦合,该处理器用于运行程序或指令,实现如第一方面提供的方法。
在本申请实施例中,可以创建目标播放列表,该目标播放列表中至少包括第一音频信息和第二音频信息;并在以第一循环策略播放该目标播放列表的过程中,在通过第一应用程序播放完该第一音频信息对应的第一音频后,通过第二应用程序播放该第二音频信息对应的第二音频。通过该方案,由于目标播放列表可以包括与不同应用程序中的音频对应的音频信息,因此,在以第一循环策略播放该目标播放列表的过程中,可以先通过第一应用程序播放完该第一音频信息对应的第一音频,再通过第二应用程序播放该第二音频信息对应的第二音频,即无需用户手动切换应用程序,可以循环播放不同应用程序中的音频,从而简化了播放不同应用程序中的音频的操作步骤。
附图说明
图1是本申请实施例提供的一种音频播放方法的示意图之一;
图2是本申请实施例提供的一种音频播放方法的示意图之二;
图3是本申请实施例提供的对第一音频和第一控件的操作示意图;
图4是本申请实施例提供的一种音频播放方法的示意图之三;
图5是本申请实施例提供的分享第一控件的操作示意图;
图6为本申请实施例提供的音频播放装置的结构示意图之一;
图7为本申请实施例提供的音频播放装置的结构示意图之二;
图8为本申请实施例提供的电子设备的硬件示意图之一;
图9为本申请实施例提供的电子设备的硬件示意图之二。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连 接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
本申请实施例提供了一种音频播放方法、装置及电子设备,可以创建目标播放列表,该目标播放列表中至少包括第一音频信息和第二音频信息;并在以第一循环策略播放该目标播放列表的过程中,在通过第一应用程序播放完该第一音频信息对应的第一音频后,通过第二应用程序播放该第二音频信息对应的第二音频。通过该方案,由于目标播放列表可以包括与不同应用程序中的音频对应的音频信息,因此,在以第一循环策略播放该目标播放列表的过程中,可以先通过第一应用程序播放完该第一音频信息对应的第一音频,再通过第二应用程序播放该第二音频信息对应的第二音频,即无需用户手动切换应用程序,可以循环播放不同应用程序中的音频,从而简化了播放不同应用程序中的音频的操作步骤。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的音频播放方法、装置及电子设备进行详细地说明。
如图1所示,本申请实施例提供一种音频播放方法。该方法可以包括下述的S101至S102。以执行主体为音频播放装置为例对该方法进行示例性说明。
S101、音频播放装置创建目标播放列表。
本申请实施例中,目标播放列表中至少包括第一音频信息和第二音频信息。其中,第一音频信息可以用于指示第一应用程序中的第一音频,第二音频信息可以用于指示第二应用程序中的第二音频。当然,目标播放列表还可以包括其他音频信息,例如,目标播放列表还可以包括第三音频信息,第三音频信息用于指示第三应用程序中的第三音频,第一应用程序、第二应用程序和第三应用程序为音频播放装置中的不同应用程序。
可选地,本申请实施例中的音频可以是指传统意义的音频文件,例如歌曲、小品、评书或脱口秀等;或者,也可以是指包括音频的视频文件,例如短视频、在线视频等。可以根据实际使用需求确定,本发明实施例不作限定。
可选地,上述音频信息可以包括以下至少一项:播放源(即提供音频的应用程序,例如音频播放器)、音频名称、音频演唱者(例如歌手)、音频创作者(例如歌手)等。
可选地,上述“创建目标播放列表”至少包括两种方式:一种方式为,根据音频播放装置中音频的音频信息,或其他设备分享的音频信息,创建目标播放列表。另一种方式为,接收其他设备的分享的播放列表,并在音频播放装置中创建一个与该播放列表相同的播放列表,即目标播放列表。
需要说明的是,无论是通过哪种方式创建的目标播放列表,均可以包括 至少两个音频信息。由于这至少两个音频信息用于指示不同应用程序中的音频,因此,音频播放装置能够按照第一循环策略,自动跨应用程序循环播放目标播放列表中的音频信息指示的音频。
可选地,目标播放列表与第一控件可以相互关联,该目标播放列表可以用于存储与第一控件关联的至少一个音频的播放信息。在显示第一控件的情况下,若音频播放装置确定第一控件与目标播放列表关联,则可以按照第一循环策略播放目标播放列表中的音频信息指示的音频。
具体的,第一种可能的实现场景为,在音频播放装置检测到运行目标类型的应用程序的情况下,可以在目标类型的应用程序的界面上自动悬浮显示第一控件,并在目标播放列表与第一控件相互关联的情况下,以第一循环策略播放目标播放列表中的音频信息指示的音频。第二种可能的实现场景为,在运行目标类型的应用程序的情况下,用户可以通过触控输入触发音频播放装置在目标类型的应用程序的界面上悬浮显示第一控件,并在目标播放列表与第一控件相互关联的情况下,以第一循环策略播放目标播放列表中的音频信息指示的音频。其中,该第一控件可以用于触发音频播放装置跨应用循环播放音频,该目标类型的应用程序可以为具备音频播放功能的应用程序,例如音乐类应用程序或视频类应用程序。
示例性的,以上述第一种可能的实现场景为例进行说明,在目标类型的应用程序的界面上自动悬浮显示第一控件的情况下,若用户没有触发第一控件与任何音频信息建立关联关系,则音频播放装置确定第一控件没有与音频信息关联;若用户触发第一控件与目标播放列表中的音频信息建立了关联关系,则音频播放装置确定第一控件与目标播放列表中的音频信息关联。
可选地,第一控件可以是悬浮球或其他可能的悬浮控件等,可以根据实际使用需求确定,本申请实施例不作限定。
可选地,一种方式为,在悬浮显示第一控件的情况下,音频播放装置可以自动周期性地检测该第一控件是否与音频信息关联。例如,音频播放装置可以每隔5秒,检测第一控件是否与音频信息关联,若检测到第一控件与目标播放列表中的音频信息关联,则可以以第一循环策略播放目标播放列表中的音频信息所指示的音频。另一种方式为,在悬浮显示第一控件的情况下,音频播放装置可以接收用户对该第一控件的输入;并响应于该输入,确定第一控件是否与音频信息关联。例如,当唤起第一控件时,第一控件可以处于音频循环等待模式。若音频播放装置接收到用户对第一控件的长按输入,则频播放装置可以检测第一控件是否与音频信息关联。
S102、在以第一循环策略播放目标播放列表的过程中,在通过第一应用程序播放完该第一音频信息对应的第一音频后,通过第二应用程序播放该第 二音频信息对应的第二音频。
本申请实施例中,在第一控件与目标播放列表中的音频信息关联的情况下,每个音频信息指示的每个音频均存在一个播放源,即每个音频均对应一个提供音频的应用程序。具体的,在第一控件与多个音频信息关联的情况下,每个音频可以分别来自不同的应用程序;或者,该多个音频信息指示的一部分音频可以分别来自不同的应用程序,该多个音频信息指示的另一部分音频可以来自同一的应用程序。可以根据实际使用需求确定,本发明实施例不作限定。
可选地,在悬浮显示第一控件的情况下,若用户长按第一控件,则音频播放装置可以响应于用户的长按输入,显示目标播放列表,该目标播放列表可以包括与第一控件关联的各个音频的播放信息。进一步的,用户可以通过对删除控件的输入,触发音频播放装置将目标音频从目标播放列表中删除。
可选地,上述第一循环策略可以包括以下至少一项:添加音频的先后顺序、随机顺序、提供音频的应用程序的优先级、音频名称、音频演唱者、音频创作年代、音频创作地区、音频类型等。
示例性的,假设目标播放列表包括音频1、音频2、音频3的音频信息,且音频1的播放源为应用程序1、音频2的播放源为应用程序2、音频3的播放源为应用程序3。一种可能方式为,音频播放装置按照这3个音频的添加先后顺序,先后台调用应用程序1播放音频1,再后台调用应用程序2播放音频2,然后后台调用应用程序3播放音频3;另一种可能的方式为,音频播放装置可以按照随机顺序,分别后台调用这3个应用程序,以播放与每个应用程序对应的音频。
可选地,在后台调用一个应用程序,通过该一个应用程序,播放一个音频的过程中,音频播放装置可以提前分析下一个音频的播放源,从而在一个音频播放结束之后,音频播放装置可以立即调用该下一个音频的播放源播放该下一个音频,从而可以减少播放等待时间,并提高播放效率。
本申请实施例提供一种音频播放方法,由于目标播放列表可以包括与不同应用程序中的音频对应的音频信息,因此,在以第一循环策略播放该目标播放列表的过程中,可以先通过第一应用程序播放完该第一音频信息对应的第一音频,再通过第二应用程序播放该第二音频信息对应的第二音频,即无需用户手动切换应用程序,可以循环播放不同应用程序中的音频,从而简化了播放不同应用程序中的音频的操作步骤。
可选地,音频信息可以为用户触发音频播放装置添加至目标播放列表中的。示例性的,结合图1,如图2所示,上述S101可以通过下述的S101A至S101B实现。
S101A、在目标应用程序的界面上悬浮显示第一控件的情况下,音频播放装置接收用户对第一控件和目标应用程序的界面中的目标对象的第一输入。
可选地,目标应用程序为音频播放装置中的一个音频播放类应用程序。
可选地,上述目标对象可以为音频播放装置中的某个歌单、音频播放装置中的某个音频、音频播放装置中的某个视频;或者,目标对象可以为其他设备分享至音频播放装置的某个音频链接或某个音频等,本申请实施例不作限定。
可选地,第一输入可以为分别对第一控件和目标对象的点击输入,或者,第一输入可以为将第一控件拖动至目标对象所在区域的触控输入。当然,第一输入还可以为其他可能的输入,本申请实施例不作限定。
S101B、音频播放装置响应于该第一输入,音频播放装置将与该目标对象相对应的目标音频的播放信息添加至目标播放列表。
需要说明的是,上述目标音频可以是上述实施例中的第一音频、第二音频或其他任意可能的音频等,本申请实施例不作限定。
示例性地,如图3中的(a)所示,某音乐播放器的界面中可以显示有“最近播放”、“收藏歌单”和“其他歌单”等多种类别的音频,并且,该界面上可以悬浮显示第一控件01。当用户想要将“午后咖啡馆”添加至于第一控件01对应的目标播放列表时,用户可以按压住第一控件01,并向“午后咖啡馆”所在的区域02进行拖动。如图3中的(b)所示,若第一控件01在“午后咖啡馆”所在的区域02的悬停时间大于或等于2秒,则音频播放装置可以将“午后咖啡馆”的播放信息添加至目标播放列表。可以理解的是,若当用户松开手指时,第一控件01在“午后咖啡馆”所在的区域02的悬停时间小于2秒,则第一控件01会回归到初始显示位置,而不会被添加至目标播放列表。
需要说明的是,上述示例是以通过第一输入将目标应用程序的界面中的目标音频的播放信息添加至目标播放列表为例进行示例性说明的,对于其他应用程序的界面中的其他音频也可以按照上述方法进行添加,从而目标播放列表中可以存储来自不同应用程序的音频,并进行循环播放。
在目标对象为目标视频的情况下,上述“将与目标对象相对应的目标音频的播放信息添加至目标播放列表”,包括:将目标视频转码得到目标音频,并将目标音频的播放信息添加至目标播放列表。这样,可以方便用户对相应视频中的音频信息也进行播放管理。
可选地,目标音频的播放信息可以包括以下至少一项:目标音频的播放源、目标音频的名称、目标音频的演唱者、目标音频的创作者等。
可选地,在音频播放装置响应于第一输入,将目标音频的播放信息添加至目标播放列表之后,本申请实施例提供的音频播放方法还可以包括:在第 一控件所在区域内显示目标标识,该目标标识可以用于指示第一音频。例如,该目标标识可以为第一音频的歌曲名称的第一个字符,或者,该目标标识可以为第一音频的歌手名称。进一步的,若第一控件与多个音频关联,则在音频播放装置依次通过与每个音频对应的应用程序分别播放该每个音频的过程中,可以在第一控件所在区域内依次显示该每个音频的标识,从而用户可以根据该每个音频的标识,确定当前正在播放的音频。
可选地,目标音频的数量可以为一个或多个。在目标音频的数量为一个时,音频播放装置可以将该目标音频的播放信息添加至目标播放列表。在目标音频的数量为多个时,可以通过下述两种可能的实现方式中任意一种实现:
第一种可能的实现方式为,目标对象包括目标应用程序的界面中的N个对象。第一输入包括N个子输入。每个子输入为将第一控件拖动至N个对象中的一个对象所在区域,且在一个对象所在区域停留时间大于或等于第一预设时间的输入。目标音频的播放信息为与N个对象对应的N个音频的播放信息。其中,N为正整数。
示例性的,在某音乐播放器的界面上可以悬浮显示第一控件。当用户按压住第一控件向歌曲1所在的区域进行拖动,并在歌曲1所在的区域的悬停时间大于或等于2秒时,则音频播放装置可以将歌曲1的播放信息添加至目标播放列表。之后,当用户按压住第一控件向歌曲2所在的区域进行拖动,并在歌曲2所在的区域的悬停时间大于或等于2秒时,则音频播放装置可以将歌曲2的播放信息添加至目标播放列表。再之后,当用户按压住第一控件向歌曲3所在的区域进行拖动,并在歌曲3所在的区域的悬停时间大于或等于2秒时,则音频播放装置可以将歌曲3的播放信息添加至目标播放列表。
可以理解的是,针对这种实现方式,由于第一控件需要分别被拖动至N个音频中的每个音频所在的区域,即这N个操作是相互独立的,因此,N个音频可以为第一应用程序的界面中的连续显示的音频,或为第一应用程序的界面中的不连续显示的音频,本申请实施例不作限定。
第二种可能的实现方式为,目标对象包括目标应用程序的界面中的连续显示的M个对象。第一输入包括第一子输入和第二子输入。其中,第一子输入为将第一控件拖动至M个对象中的第一个对象所在区域,且在第一个对象所在区域停留时间大于或等于第二预设时间的输入;第二子输入为将第一控件拖动至M个对象中的第M个对象所在区域,且在第M个对象所在区域停留时间大于或等于第三预设时间的输入。目标音频的播放信息为与M个对象对应的M个音频的播放信息。其中,M为大于1的整数。
示例性的,在某音乐播放器的界面中从顶部到底部可以依次显示有歌曲a、歌曲b、歌曲c和歌曲d,且该界面上可以悬浮显示第一控件。用户可以先 按压住第一控件向歌曲1所在的区域进行拖动,并在歌曲1所在的区域的悬停时间大于或等于2秒;之后,当用户按压住第一控件向歌曲d所在的区域进行拖动,并在歌曲d所在的区域的悬停时间大于或等于2秒。由于歌曲a、歌曲b、歌曲c和歌曲d为连续显示的,因此音频播放装置可以这些歌曲的播放信息添加至目标播放列表。
需要说明的是,上述第一预设时间、第二预设时间和第三预设时间可以相等,也可以不相等,本申请实施例不作限定。
本申请实施例提供的音频播放方法,由于用户可以通过对第一控件和目标对象的输入,触发音频播放装置添加该目标对象的播放信息至目标播放列表中,因此,用户在不同的应用程序中选择不同的音频以添加至目标播放列表,从而该目标播放列表中可以存储来自不同应用程序的音频的播放信息,并进行循环播放。
可选地,本申请实施例中,用户可以将第一控件对应的至少一个音频的播放信息分享至其他用户。示例性的,结合图1,如图4所示,本申请实施例提供的音频播放方法还可以包括下述的S103至S104。
S103、在显示与目标用户的聊天界面,且在该聊天界面上悬浮显示第一控件的情况下,音频播放装置接收用户对该第一控件的第二输入。
S104、音频播放装置响应于该第二输入,将目标播放列表分享至目标用户使用的设备。
需要说明的是,上述图4是以先执行S102,再执行S103至S104为例进行示例性说明的,其并不对本申请实施例形成限定。可以理解,实际实现时,也可以先执行S103至S104,再执行S102;或者,S102、S103至S104可以择一执行。
可选地,第二输入可以包括第一子输入和第二子输入,第一子输入为将第一控件拖动至聊天界面中的输入框的输入,第二子输入为触发送目标播放列表的输入。
示例性的,如图5中的(a)所示,在显示与小张的聊天界面03,且悬浮显示第一控件01的情况下,小王可以将第一控件01拖动至聊天界面03中的输入框04。之后,音频播放装置可以确定第一控件01与歌曲1、歌曲2和歌曲3(即目标播放列表)关联。再之后,若小王点击发送控件05,则如图5中的(b)所示,可以将目标播放列表发送至小张使用的设备。在小张使用的设备接收到小王使用的设备发送的目标播放列表之后,小张可以通过对目标播放列表和小张使用的设备中的悬浮控件07的输入,触发小张使用的设备跨应用循环播放歌曲1、歌曲2和歌曲3。
本申请实施例提供的音频播放方法,由于一个用户可以将用户选择至少 一个音频的播放信息发送至另一个用户使用的设备,因此,另一个用户可以通过对这些音频的播放信息的输入,触发另一个用户使用的设备跨应用循环播放这些音频,即实现了音频分享。
可选地,本申请实施例中,音频播放装置还可以接收其他设备分享的至少一个音频的播放信息。示例性的,本申请实施例提供的音频播放方法还可以包括下述的S105至S107。
S105、音频播放装置接收目标设备分享的目标音频的播放信息。
可选地,上述目标音频可以是分享的某个特定的音频;或者,目标音频可以是分享的整个歌单,该歌单包括了目标音频。
S106、音频播放装置接收用户的第三输入。
S107、音频播放装置响应于该第三输入,将目标音频的播放信息添加至目标播放列表。
可选地,第三输入可以为用户对第一控件和目标音频的播放信息的输入,例如第三输入可以为将第一控件拖动至目标音频的播放信息所在区域的输入。具体的,在音频播放装置接收目标设备发送的目标音频的播放信息之后,可以显示与目标音频的播放信息对应的标识;之后,用户可以将第一控件拖动至该标识所在的区域,从而音频播放装置可以建立第一控件和该目标音频的播放信息的关联关系,并将目标音频的播放信息添加至目标播放列表。
本申请实施例提供的音频播放方法,由于音频播放装置可以接收其他设备分享的目标音频的播放信息,因此用户可以通过输入,触发音频播放装置建立第一控件和该目标音频的关联关系,并使得音频播放装置可以跨应用循环播放这个音频。
可选地,在以第一循环策略播放目标播放列表的过程中,本申请实施例提供的音频播放方法还可以包括下述的S108或S109。
S108、若安装有与第三音频对应的应用程序,则音频播放装置通过与该第三音频对应的应用程序,播放该第三音频。
S109、若未安装有与第三音频对应的应用程序,则音频播放装置下载并安装与该第三音频对应的应用程序,并通过与该第三音频对应的应用程序,播放该第三音频;或者,不播放该第三音频,并通过与该第三音频的下一个音频对应的应用程序,播放该下一个音频。
需要说明的是,第三音频可以是上述实施例中的第一音频、第二音频或其他任意可能的音频等,本申请实施例不作限定。
示例性的,以第三音频为目标设备分享的音频,且第三音频包括歌曲1、歌曲2和歌曲3为例。如图5中的(b)所示,在小张接收到小王分享到的歌单之后,小张可以将悬浮控件07拖动至这个歌单上,并将悬浮控件07放大 显示,从而小张的设备可以读取歌单获取歌曲1、歌曲2和歌曲3的播放信息。
若小张的设备安装了与歌曲1对应的应用程序1、与歌曲2应的应用程序2、与歌曲3应的应用程序3,则小张的设备可以依次通过应用程序1播放歌曲1,通过应用程序2播放歌曲2,通过应用程序3播放歌曲3。
若小张的设备没有安装与歌曲2对应的应用程序2,但是安装了与歌曲1应的应用程序1、与歌曲3应的应用程序3,则一种场景为:小张的设备连接至wifi,小张的设备可以先通过应用程序1播放歌曲1,以及下载并安装应用程序2,在歌曲1播放完成之后,可以依次通过应用程序2播放歌曲2,通过应用程序3播放歌曲3;另一种场景为:小张的设备没有连接至wifi,小张的设备可以先通过应用程序1播放歌曲1,在歌曲1播放完成之后,可以跳过歌曲2,通过应用程序3播放歌曲3。
本申请实施例提供的音频播放方法,可以根据是否安装有与音频对应的应用程序和网络环境,确定是否下载并安装应用程序,从而可以灵活调整循环播放歌曲的策略,提高了用户的播放体验。
需要说明的是,本申请实施例提供的音频播放方法,执行主体可以为音频播放装置,或者该音频播放装置中的用于执行加载音频播放方法的控制模块。本申请实施例中以音频播放装置执行加载音频播放方法为例,说明本申请实施例提供的音频播放方法。
如图6所示,本申请实施例提供一种音频播放装置600。该音频播放装置600可以包括处理模块601。处理模块601,可以用于创建目标播放列表,该目标播放列表中至少包括第一音频信息和第二音频信息;并在以第一循环策略播放该目标播放列表的过程中,在通过第一应用程序播放完该第一音频信息对应的第一音频后,通过第二应用程序播放该第二音频信息对应的第二音频。
可选地,结合图6,如图7所示,本申请实施例提供的音频播放装置还可以包括接收模块602。接收模块602,可以用于在目标应用程序的界面上悬浮显示第一控件的情况下,接收用户对该第一控件和该目标应用程序的界面中的目标对象的第一输入。处理模块601,具体可以用于响应于接收模块602接收的该第一输入,将与该目标对象相对应的目标音频的播放信息添加至目标播放列表。
可选地,目标对象为目标视频。处理模块601,具体可以用于将目标视频转码得到目标音频,并将目标音频的播放信息添加至目标播放列表。
可选地,目标对象包括目标应用程序的界面中的N个对象,第一输入包括N个子输入。每个子输入为将第一控件拖动至N个对象中的一个对象所在区域,且在一个对象所在区域停留时间大于或等于第一预设时间的输入。目 标音频的播放信息为与N个对象对应的N个音频的播放信息。N为正整数。
或者,目标对象包括目标应用程序的界面中的连续显示的M个对象,第一输入包括第一子输入和第二子输入。第一子输入为将第一控件拖动至M个对象中的第一个对象所在区域,且在第一个对象所在区域停留时间大于或等于第二预设时间的输入。第二子输入为将第一控件拖动至M个对象中的第M个对象所在区域,且在第M个对象所在区域停留时间大于或等于第三预设时间的输入。目标音频的播放信息为与M个对象对应的M个音频的播放信息。M为大于1的整数。
可选地,如图7所示,本申请实施例提供的音频播放装置还可以包括接收模块602和通信模块603。接收模块602,可以用于在显示与目标用户的聊天界面,且在该聊天界面上悬浮显示第一控件的情况下,接收用户对该第一控件的第二输入。通信模块603,可以用于响应于接收模块602接收的该第二输入,将目标播放列表分享至目标用户使用的设备。
可选地,如图7所示,本申请实施例提供的音频播放装置还可以包括接收模块602和通信模块603。通信模块603,可以用于接收目标设备分享的目标音频的播放信息。接收模块602,可以用于接收用户的第三输入。处理模块601,还可以用于响应于接收模块602接收的该第三输入,将目标音频的播放信息添加至目标播放列表。
可选地,处理模块601,还可以用于在以第一循环策略播放目标播放列表的过程中,若安装有与第三音频对应的应用程序,则通过与该第三音频对应的应用程序,播放该第三音频。或者,处理模块601,还可以用于在以第一循环策略播放目标播放列表的过程中,若未安装有与第三音频对应的应用程序,则下载并安装与该第三音频对应的应用程序,并通过与该第三音频对应的应用程序,播放该第三音频;或者,不播放该第三音频,并通过与该第三音频的下一个音频对应的应用程序,播放该下一个音频。
本申请实施例提供一种音频播放装置,由于目标播放列表可以包括与不同应用程序中的音频对应的音频信息,因此,在以第一循环策略播放该目标播放列表的过程中,音频播放装置可以先通过第一应用程序播放完该第一音频信息对应的第一音频,再通过第二应用程序播放该第二音频信息对应的第二音频,即无需用户手动切换应用程序,可以循环播放不同应用程序中的音频,从而简化了播放不同应用程序中的音频的操作步骤。
本申请实施例中的音频播放装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal  computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(network attached storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的音频播放装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的音频播放装置能够实现图1至图5的方法实施例中音频播放装置实现的各个过程,为避免重复,这里不再赘述。
可选地,如图8所示,本申请实施例还提供一种电子设备800,包括处理器801,存储器802,存储在存储器802上并可在处理器801上运行的程序或指令,该程序或指令被处理器801执行时实现上述音频播放方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要注意的是,本申请实施例中的电子设备包括上述的移动电子设备和非移动电子设备。
图9为实现本申请实施例的一种电子设备的硬件结构示意图。该电子设备900包括但不限于:射频单元901、网络模块902、音频输出单元903、输入单元904、传感器905、显示单元906、用户输入单元907、接口单元908、存储器909、以及处理器910等部件。
本领域技术人员可以理解,电子设备900还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器910逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图9中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,处理器910,可以用于创建目标播放列表,该目标播放列表中至少包括第一音频信息和第二音频信息;并在以第一循环策略播放该目标播放列表的过程中,在通过第一应用程序播放完该第一音频信息对应的第一音频后,通过第二应用程序播放该第二音频信息对应的第二音频。
可选地,用户输入单元907,可以用于在目标应用程序的界面上悬浮显示第一控件的情况下,接收用户对该第一控件和该目标应用程序的界面中的目标对象的第一输入。处理器910,具体可以用于响应于用户输入单元907接收的该第一输入,将与该目标对象相对应的目标音频的播放信息添加至目标播放列表。
可选地,目标对象为目标视频。处理器910,具体可以用于将目标视频转码得到目标音频,并将目标音频的播放信息添加至目标播放列表。
可选地,目标对象包括目标应用程序的界面中的N个对象,第一输入包括N个子输入。每个子输入为将第一控件拖动至N个对象中的一个对象所在区域,且在一个对象所在区域停留时间大于或等于第一预设时间的输入。目标音频的播放信息为与N个对象对应的N个音频的播放信息。N为正整数。
或者,目标对象包括目标应用程序的界面中的连续显示的M个对象,第一输入包括第一子输入和第二子输入。第一子输入为将第一控件拖动至M个对象中的第一个对象所在区域,且在第一个对象所在区域停留时间大于或等于第二预设时间的输入。第二子输入为将第一控件拖动至M个对象中的第M个对象所在区域,且在第M个对象所在区域停留时间大于或等于第三预设时间的输入。目标音频的播放信息为与M个对象对应的M个音频的播放信息。M为大于1的整数。
可选地,用户输入单元907,可以用于在显示与目标用户的聊天界面,且在该聊天界面上悬浮显示第一控件的情况下,接收用户对该第一控件的第二输入。射频单元901,可以用于响应于用户输入单元907接收的该第二输入,将目标播放列表分享至目标用户使用的设备。
可选地,射频单元901,可以用于接收目标设备分享的目标音频的播放信息。用户输入单元907,可以用于接收用户的第三输入。处理器910,还可以用于响应于用户输入单元907接收的该第三输入,将目标音频的播放信息添加至目标播放列表。
可选地,处理器910,还可以用于在以第一循环策略播放目标播放列表的过程中,若安装有与第三音频对应的应用程序,则通过与该第三音频对应的应用程序,播放该第三音频。或者,处理器910,还可以用于在以第一循环策略播放目标播放列表的过程中,若未安装有与第三音频对应的应用程序,则下载并安装与该第三音频对应的应用程序,并通过与该第三音频对应的应用程序,播放该第三音频;或者,不播放该第三音频,并通过与该第三音频的下一个音频对应的应用程序,播放该下一个音频。
本申请实施例提供一种电子设备,由于悬浮控件可以与不同应用程序中的音频建立关联关系,因此,在悬浮显示第一控件时,通过判断第一控件是否与音频关联,可以在该第一控件与至少一个音频关联的情况下,依次通过与每个音频对应的应用程序,分别播放每个音频,即无需用户手动切换应用程序,可以循环播放不同应用程序中的音频,从而简化了播放不同应用程序中的音频的操作步骤。
应理解的是,本申请实施例中,输入单元904可以包括图形处理器(graphics processing unit,GPU)9041和麦克风9042,图形处理器9041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图 片或视频的图像数据进行处理。显示单元906可包括显示面板9061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板9061。用户输入单元907包括触控面板9071以及其他输入设备9072。触控面板9071,也称为触摸屏。触控面板9071可包括触摸检测装置和触摸控制器两个部分。其他输入设备9072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器909可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器910可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器910中。
本申请实施例还提供一种可读存储介质,该可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述音频播放方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,处理器为上述实施例中的电子设备中的处理器。可读存储介质,包括计算机可读存储介质,如计算机只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,该芯片包括处理器和通信接口,该通信接口和处理器耦合,该处理器用于运行程序或指令,实现上述音频播放方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通 过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例提供的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (19)

  1. 一种音频播放方法,所述方法包括:
    创建目标播放列表,所述目标播放列表中至少包括第一音频信息和第二音频信息;
    在以第一循环策略播放所述目标播放列表的过程中,在通过第一应用程序播放完所述第一音频信息对应的第一音频后,通过第二应用程序播放所述第二音频信息对应的第二音频。
  2. 根据权利要求1所述的方法,其中,所述创建目标播放列表,包括:
    在目标应用程序的界面上悬浮显示第一控件的情况下,接收用户对所述第一控件和所述目标应用程序的界面中的目标对象的第一输入;
    响应于所述第一输入,将与所述目标对象相对应的目标音频的播放信息添加至所述目标播放列表。
  3. 根据权利要求2所述的方法,其中,所述目标对象为目标视频;
    所述将与所述目标对象相对应的目标音频的播放信息添加至所述目标播放列表,包括:
    将所述目标视频转码得到所述目标音频,并将所述目标音频的播放信息添加至所述目标播放列表。
  4. 根据权利要求2所述的方法,其中,
    所述目标对象包括所述目标应用程序的界面中的N个对象,所述第一输入包括N个子输入,每个子输入为将所述第一控件拖动至所述N个对象中的一个对象所在区域,且在所述一个对象所在区域停留时间大于或等于第一预设时间的输入,所述目标音频的播放信息为与所述N个对象对应的N个音频的播放信息,N为正整数;
    或者,
    所述目标对象包括所述目标应用程序的界面中的连续显示的M个对象,所述第一输入包括第一子输入和第二子输入,所述第一子输入为将所述第一控件拖动至所述M个对象中的第一个对象所在区域,且在所述第一个对象所在区域停留时间大于或等于第二预设时间的输入,所述第二子输入为将所述第一控件拖动至所述M个对象中的第M个对象所在区域,且在所述第M个对象所在区域停留时间大于或等于第三预设时间的输入,所述目标音频的播放信息为与所述M个对象对应的M个音频的播放信息,M为大于1的整数。
  5. 根据权利要求1所述的方法,其中,所述方法还包括:
    在显示与目标用户的聊天界面,且在所述聊天界面上悬浮显示第一控件的情况下,接收用户对所述第一控件的第二输入;
    响应于所述第二输入,将所述目标播放列表分享至所述目标用户使用的 设备。
  6. 根据权利要求1所述的方法,其中,所述方法还包括:
    接收目标设备分享的目标音频的播放信息;
    接收用户的第三输入;
    响应于所述第三输入,将所述目标音频的播放信息添加至所述目标播放列表。
  7. 根据权利要求1或6所述的方法,其中,在以所述第一循环策略播放所述目标播放列表的过程中,所述方法还包括:
    若安装有与第三音频对应的应用程序,则通过与所述第三音频对应的应用程序,播放所述第三音频;
    或者,
    若未安装有与第三音频对应的应用程序,则下载并安装与所述第三音频对应的应用程序,并通过与所述第三音频对应的应用程序,播放所述第三音频;或者,不播放所述第三音频,并通过与所述第三音频的下一个音频对应的应用程序,播放所述下一个音频。
  8. 一种音频播放装置,所述音频播放装置包括处理模块;
    所述处理模块,用于创建目标播放列表,所述目标播放列表中至少包括第一音频信息和第二音频信息;并在以第一循环策略播放所述目标播放列表的过程中,在通过第一应用程序播放完所述第一音频信息对应的第一音频后,通过第二应用程序播放所述第二音频信息对应的第二音频。
  9. 根据权利要求8所述的装置,其中,所述装置还包括接收模块;
    所述接收模块,用于在目标应用程序的界面上悬浮显示第一控件的情况下,接收用户对所述第一控件和所述目标应用程序的界面中的目标对象的第一输入;
    所述处理模块,具体用于响应于所述接收模块接收的所述第一输入,将与所述目标对象相对应的目标音频的播放信息添加至所述目标播放列表。
  10. 根据权利要求9所述的装置,其中,所述目标对象为目标视频;
    所述处理模块,具体用于将所述目标视频转码得到所述目标音频,并将所述目标音频的播放信息添加至所述目标播放列表。
  11. 根据权利要求9所述的装置,其中,
    所述目标对象包括所述目标应用程序的界面中的N个对象,所述第一输入包括N个子输入,每个子输入为将所述第一控件拖动至所述N个对象中的一个对象所在区域,且在所述一个对象所在区域停留时间大于或等于第一预设时间的输入,所述目标音频的播放信息为与所述N个对象对应的N个音频的播放信息,N为正整数;
    或者,
    所述目标对象包括所述目标应用程序的界面中的连续显示的M个对象,所述第一输入包括第一子输入和第二子输入,所述第一子输入为将所述第一控件拖动至所述M个对象中的第一个对象所在区域,且在所述第一个对象所在区域停留时间大于或等于第二预设时间的输入,所述第二子输入为将所述第一控件拖动至所述M个对象中的第M个对象所在区域,且在所述第M个对象所在区域停留时间大于或等于第三预设时间的输入,所述目标音频的播放信息为与所述M个对象对应的M个音频的播放信息,M为大于1的整数。
  12. 根据权利要求8所述的装置,其中,所述装置还包括接收模块和通信模块;
    所述接收模块,用于在显示与目标用户的聊天界面,且在所述聊天界面上悬浮显示第一控件的情况下,接收用户对所述第一控件的第二输入;
    所述通信模块,用于响应于所述接收模块接收的所述第二输入,将所述目标播放列表分享至所述目标用户使用的设备。
  13. 根据权利要求8所述的装置,其中,所述装置还包括接收模块和通信模块;
    所述通信模块,用于接收目标设备分享的目标音频的播放信息;
    所述接收模块,用于接收用户的第三输入;
    所述处理模块,还用于响应于所述接收模块接收的所述第三输入,将所述目标音频的播放信息添加至所述目标播放列表。
  14. 根据权利要求8或13所述的装置,其中,所述处理模块,还用于在以所述第一循环策略播放所述目标播放列表的过程中,若安装有与第三音频对应的应用程序,则通过与所述第三音频对应的应用程序,播放所述第三音频;或者,
    所述处理模块,还用于在以所述第一循环策略播放所述目标播放列表的过程中,若未安装有与第三音频对应的应用程序,则下载并安装与所述第三音频对应的应用程序,并通过与所述第三音频对应的应用程序,播放所述第三音频;或者,不播放所述第三音频,并通过与所述第三音频的下一个音频对应的应用程序,播放所述下一个音频。
  15. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-7中任一项所述的音频播放方法的步骤。
  16. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-7中任一项所述的音频播放方法的步骤。
  17. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-7中任一项所述的音频播放方法。
  18. 一种计算机程序产品,所述程序产品被至少一个处理器执行以实现如权利要求1-7中任一项所述的音频播放方法。
  19. 一种音频播放设备,所述设备被配置成用于执行如权利要求1-7中任一项所述的音频播放方法。
PCT/CN2021/109707 2020-07-31 2021-07-30 音频播放方法、装置及电子设备 Ceased WO2022022697A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010762896.2A CN111966860B (zh) 2020-07-31 2020-07-31 音频播放方法、装置及电子设备
CN202010762896.2 2020-07-31

Publications (1)

Publication Number Publication Date
WO2022022697A1 true WO2022022697A1 (zh) 2022-02-03

Family

ID=73364178

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/109707 Ceased WO2022022697A1 (zh) 2020-07-31 2021-07-30 音频播放方法、装置及电子设备

Country Status (2)

Country Link
CN (1) CN111966860B (zh)
WO (1) WO2022022697A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114745561A (zh) * 2022-04-06 2022-07-12 珠海格力电器股份有限公司 直播间交互方法、装置、电子设备及存储介质
CN115424640A (zh) * 2022-08-15 2022-12-02 瑞芯微电子股份有限公司 用于播放音频的方法和装置、电子设备和存储介质
WO2024164646A1 (zh) * 2023-02-08 2024-08-15 华为技术有限公司 一种音频处理方法及电子设备

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111966860B (zh) * 2020-07-31 2024-08-27 维沃移动通信(杭州)有限公司 音频播放方法、装置及电子设备
CN113721816B (zh) * 2021-08-31 2024-10-29 维沃移动通信有限公司 视频处理方法及装置
CN115379254A (zh) * 2022-08-29 2022-11-22 维沃移动通信有限公司 直播方法、直播装置及电子设备
CN116208702B (zh) * 2022-09-09 2024-10-22 维沃移动通信有限公司 多媒体文件播放方法、装置、电子设备及可读存储介质
CN115618106A (zh) * 2022-10-13 2023-01-17 杭州网易云音乐科技有限公司 媒体对象推荐方法、装置、存储介质及电子设备
CN117171371A (zh) * 2023-09-21 2023-12-05 维沃移动通信有限公司 多媒体文件的播放方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107203624A (zh) * 2017-05-26 2017-09-26 维沃移动通信有限公司 一种歌单生成方法及移动终端
CN107562745A (zh) * 2016-06-30 2018-01-09 上海博泰悦臻网络技术服务有限公司 一种音频播放列表的生成方法、系统及一种音频播放系统
US20180329585A1 (en) * 2017-05-12 2018-11-15 Apple Inc. User interfaces for playing and managing audio items
CN111459456A (zh) * 2020-04-07 2020-07-28 维沃移动通信有限公司 一种音频的控制方法及电子设备
CN111966860A (zh) * 2020-07-31 2020-11-20 维沃移动通信(杭州)有限公司 音频播放方法、装置及电子设备

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110830363B (zh) * 2019-10-31 2022-04-01 维沃移动通信有限公司 一种信息分享方法及电子设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107562745A (zh) * 2016-06-30 2018-01-09 上海博泰悦臻网络技术服务有限公司 一种音频播放列表的生成方法、系统及一种音频播放系统
US20180329585A1 (en) * 2017-05-12 2018-11-15 Apple Inc. User interfaces for playing and managing audio items
CN107203624A (zh) * 2017-05-26 2017-09-26 维沃移动通信有限公司 一种歌单生成方法及移动终端
CN111459456A (zh) * 2020-04-07 2020-07-28 维沃移动通信有限公司 一种音频的控制方法及电子设备
CN111966860A (zh) * 2020-07-31 2020-11-20 维沃移动通信(杭州)有限公司 音频播放方法、装置及电子设备

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114745561A (zh) * 2022-04-06 2022-07-12 珠海格力电器股份有限公司 直播间交互方法、装置、电子设备及存储介质
CN114745561B (zh) * 2022-04-06 2023-05-30 珠海格力电器股份有限公司 直播间交互方法、装置、电子设备及存储介质
CN115424640A (zh) * 2022-08-15 2022-12-02 瑞芯微电子股份有限公司 用于播放音频的方法和装置、电子设备和存储介质
WO2024164646A1 (zh) * 2023-02-08 2024-08-15 华为技术有限公司 一种音频处理方法及电子设备

Also Published As

Publication number Publication date
CN111966860A (zh) 2020-11-20
CN111966860B (zh) 2024-08-27

Similar Documents

Publication Publication Date Title
WO2022022697A1 (zh) 音频播放方法、装置及电子设备
US12218896B2 (en) Conversion of text relating to media content and media extension apps
US10554599B2 (en) Conversion of detected URL in text message
WO2022001900A1 (zh) 信息发送方法、装置和电子设备
CN111831190B (zh) 音乐应用程序控制方法、装置及电子设备
WO2021164652A1 (zh) 多媒体资源的展示方法、提供方法
CN111767487A (zh) 页面展示方法、装置及电子设备
WO2022042701A1 (zh) 权限设置方法、装置及电子设备
WO2022194004A1 (zh) 应用图标整理方法、装置和电子设备
CN112148178A (zh) 应用切换方法、装置、电子设备及可读存储介质
WO2018157812A1 (zh) 一种实现视频分支选择播放的方法及装置
WO2022156668A1 (zh) 信息处理方法和电子设备
WO2024217477A1 (zh) 内容分享的方法、装置、设备和存储介质
US11301345B2 (en) Desktop sound source discovery
WO2022156674A1 (zh) 聊天内容处理方法、装置及电子设备
WO2022089409A1 (zh) 文件发送方法、装置及电子设备
CN111339324A (zh) 多媒体播放方法及电子设备
CN112286615B (zh) 应用程序的信息显示方法及装置
CN113485600A (zh) 歌单的分享方法、装置和电子设备
WO2022089481A1 (zh) 信息处理方法、装置及电子设备
CN111857510B (zh) 参数调节方法、装置及电子设备
CN111324262B (zh) 一种应用界面控制方法、装置、终端及介质
CN115328355A (zh) 应用功能启动方法及装置
WO2022247782A1 (zh) 程序控制方法、装置、电子设备和可读存储介质
WO2022156663A1 (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: 21849925

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21849925

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 010823)

122 Ep: pct application non-entry in european phase

Ref document number: 21849925

Country of ref document: EP

Kind code of ref document: A1