WO2022022697A1 - 音频播放方法、装置及电子设备 - Google Patents
音频播放方法、装置及电子设备 Download PDFInfo
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/60—Information retrieval; Database structures therefor; File system structures therefor of audio data
- G06F16/63—Querying
- G06F16/638—Presentation of query results
- G06F16/639—Presentation of query results using playlists
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/60—Information retrieval; Database structures therefor; File system structures therefor of audio data
- G06F16/63—Querying
- G06F16/635—Filtering based on additional data, e.g. user or group profiles
- G06F16/637—Administration 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
Description
Claims (19)
- 一种音频播放方法,所述方法包括:创建目标播放列表,所述目标播放列表中至少包括第一音频信息和第二音频信息;在以第一循环策略播放所述目标播放列表的过程中,在通过第一应用程序播放完所述第一音频信息对应的第一音频后,通过第二应用程序播放所述第二音频信息对应的第二音频。
- 根据权利要求1所述的方法,其中,所述创建目标播放列表,包括:在目标应用程序的界面上悬浮显示第一控件的情况下,接收用户对所述第一控件和所述目标应用程序的界面中的目标对象的第一输入;响应于所述第一输入,将与所述目标对象相对应的目标音频的播放信息添加至所述目标播放列表。
- 根据权利要求2所述的方法,其中,所述目标对象为目标视频;所述将与所述目标对象相对应的目标音频的播放信息添加至所述目标播放列表,包括:将所述目标视频转码得到所述目标音频,并将所述目标音频的播放信息添加至所述目标播放列表。
- 根据权利要求2所述的方法,其中,所述目标对象包括所述目标应用程序的界面中的N个对象,所述第一输入包括N个子输入,每个子输入为将所述第一控件拖动至所述N个对象中的一个对象所在区域,且在所述一个对象所在区域停留时间大于或等于第一预设时间的输入,所述目标音频的播放信息为与所述N个对象对应的N个音频的播放信息,N为正整数;或者,所述目标对象包括所述目标应用程序的界面中的连续显示的M个对象,所述第一输入包括第一子输入和第二子输入,所述第一子输入为将所述第一控件拖动至所述M个对象中的第一个对象所在区域,且在所述第一个对象所在区域停留时间大于或等于第二预设时间的输入,所述第二子输入为将所述第一控件拖动至所述M个对象中的第M个对象所在区域,且在所述第M个对象所在区域停留时间大于或等于第三预设时间的输入,所述目标音频的播放信息为与所述M个对象对应的M个音频的播放信息,M为大于1的整数。
- 根据权利要求1所述的方法,其中,所述方法还包括:在显示与目标用户的聊天界面,且在所述聊天界面上悬浮显示第一控件的情况下,接收用户对所述第一控件的第二输入;响应于所述第二输入,将所述目标播放列表分享至所述目标用户使用的 设备。
- 根据权利要求1所述的方法,其中,所述方法还包括:接收目标设备分享的目标音频的播放信息;接收用户的第三输入;响应于所述第三输入,将所述目标音频的播放信息添加至所述目标播放列表。
- 根据权利要求1或6所述的方法,其中,在以所述第一循环策略播放所述目标播放列表的过程中,所述方法还包括:若安装有与第三音频对应的应用程序,则通过与所述第三音频对应的应用程序,播放所述第三音频;或者,若未安装有与第三音频对应的应用程序,则下载并安装与所述第三音频对应的应用程序,并通过与所述第三音频对应的应用程序,播放所述第三音频;或者,不播放所述第三音频,并通过与所述第三音频的下一个音频对应的应用程序,播放所述下一个音频。
- 一种音频播放装置,所述音频播放装置包括处理模块;所述处理模块,用于创建目标播放列表,所述目标播放列表中至少包括第一音频信息和第二音频信息;并在以第一循环策略播放所述目标播放列表的过程中,在通过第一应用程序播放完所述第一音频信息对应的第一音频后,通过第二应用程序播放所述第二音频信息对应的第二音频。
- 根据权利要求8所述的装置,其中,所述装置还包括接收模块;所述接收模块,用于在目标应用程序的界面上悬浮显示第一控件的情况下,接收用户对所述第一控件和所述目标应用程序的界面中的目标对象的第一输入;所述处理模块,具体用于响应于所述接收模块接收的所述第一输入,将与所述目标对象相对应的目标音频的播放信息添加至所述目标播放列表。
- 根据权利要求9所述的装置,其中,所述目标对象为目标视频;所述处理模块,具体用于将所述目标视频转码得到所述目标音频,并将所述目标音频的播放信息添加至所述目标播放列表。
- 根据权利要求9所述的装置,其中,所述目标对象包括所述目标应用程序的界面中的N个对象,所述第一输入包括N个子输入,每个子输入为将所述第一控件拖动至所述N个对象中的一个对象所在区域,且在所述一个对象所在区域停留时间大于或等于第一预设时间的输入,所述目标音频的播放信息为与所述N个对象对应的N个音频的播放信息,N为正整数;或者,所述目标对象包括所述目标应用程序的界面中的连续显示的M个对象,所述第一输入包括第一子输入和第二子输入,所述第一子输入为将所述第一控件拖动至所述M个对象中的第一个对象所在区域,且在所述第一个对象所在区域停留时间大于或等于第二预设时间的输入,所述第二子输入为将所述第一控件拖动至所述M个对象中的第M个对象所在区域,且在所述第M个对象所在区域停留时间大于或等于第三预设时间的输入,所述目标音频的播放信息为与所述M个对象对应的M个音频的播放信息,M为大于1的整数。
- 根据权利要求8所述的装置,其中,所述装置还包括接收模块和通信模块;所述接收模块,用于在显示与目标用户的聊天界面,且在所述聊天界面上悬浮显示第一控件的情况下,接收用户对所述第一控件的第二输入;所述通信模块,用于响应于所述接收模块接收的所述第二输入,将所述目标播放列表分享至所述目标用户使用的设备。
- 根据权利要求8所述的装置,其中,所述装置还包括接收模块和通信模块;所述通信模块,用于接收目标设备分享的目标音频的播放信息;所述接收模块,用于接收用户的第三输入;所述处理模块,还用于响应于所述接收模块接收的所述第三输入,将所述目标音频的播放信息添加至所述目标播放列表。
- 根据权利要求8或13所述的装置,其中,所述处理模块,还用于在以所述第一循环策略播放所述目标播放列表的过程中,若安装有与第三音频对应的应用程序,则通过与所述第三音频对应的应用程序,播放所述第三音频;或者,所述处理模块,还用于在以所述第一循环策略播放所述目标播放列表的过程中,若未安装有与第三音频对应的应用程序,则下载并安装与所述第三音频对应的应用程序,并通过与所述第三音频对应的应用程序,播放所述第三音频;或者,不播放所述第三音频,并通过与所述第三音频的下一个音频对应的应用程序,播放所述下一个音频。
- 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-7中任一项所述的音频播放方法的步骤。
- 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-7中任一项所述的音频播放方法的步骤。
- 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-7中任一项所述的音频播放方法。
- 一种计算机程序产品,所述程序产品被至少一个处理器执行以实现如权利要求1-7中任一项所述的音频播放方法。
- 一种音频播放设备,所述设备被配置成用于执行如权利要求1-7中任一项所述的音频播放方法。
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)
| 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)
| 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)
| 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)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110830363B (zh) * | 2019-10-31 | 2022-04-01 | 维沃移动通信有限公司 | 一种信息分享方法及电子设备 |
-
2020
- 2020-07-31 CN CN202010762896.2A patent/CN111966860B/zh active Active
-
2021
- 2021-07-30 WO PCT/CN2021/109707 patent/WO2022022697A1/zh not_active Ceased
Patent Citations (5)
| 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)
| 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 |