CN111966860A - Audio playing method and device and electronic equipment - Google Patents

Audio playing method and device and electronic equipment Download PDF

Info

Publication number
CN111966860A
CN111966860A CN202010762896.2A CN202010762896A CN111966860A CN 111966860 A CN111966860 A CN 111966860A CN 202010762896 A CN202010762896 A CN 202010762896A CN 111966860 A CN111966860 A CN 111966860A
Authority
CN
China
Prior art keywords
audio
target
playing
input
information
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.)
Pending
Application number
CN202010762896.2A
Other languages
Chinese (zh)
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 Hangzhou Co Ltd
Original Assignee
Vivo Mobile Communication Hangzhou 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 Hangzhou Co Ltd filed Critical Vivo Mobile Communication Hangzhou Co Ltd
Priority to CN202010762896.2A priority Critical patent/CN111966860A/en
Publication of CN111966860A publication Critical patent/CN111966860A/en
Priority to PCT/CN2021/109707 priority patent/WO2022022697A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • G06F16/638Presentation of query results
    • G06F16/639Presentation of query results using playlists
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • G06F16/635Filtering based on additional data, e.g. user or group profiles
    • G06F16/637Administration of user profiles, e.g. generation, initialization, adaptation or distribution

Abstract

The application discloses an audio playing method, an audio playing device and electronic equipment, and belongs to the technical field of communication. The method comprises the following steps: creating a target play list, wherein the target play list at least comprises first audio information and second audio information; in the process of playing the target playlist by the first loop strategy, after the first audio corresponding to the first audio information is played by the first application program, the second audio corresponding to the second audio information is played by the second application program. The method is applied to the scene of playing the audio across application loops.

Description

Audio playing method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to an audio playing method and device and electronic equipment.
Background
With the continuous development of internet technology, more and more applications support the audio playing function.
Currently, the audio preferred by the user may exist in different applications subject to copyright restrictions. For example, a plurality of songs exist in different music-class applications, respectively; alternatively, some songs exist in music applications and some live songs exist in video applications.
In carrying out the present invention, the inventors found that at least the following problems exist: when an application program plays an audio/video, if the application program does not have another audio frequency which is favorite by a user, the user needs to quit the application program, open other application programs and search for the audio frequency which is desired to be played, so that the operation steps of playing the audio frequency in different application programs are complicated.
Disclosure of Invention
An object of the embodiments of the present application is to provide an audio playing method, an audio playing device, and an electronic device, which can solve the problem that operation steps for playing audio in different applications are complicated.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an audio playing method. The method can comprise the following steps: creating a target play list, wherein the target play list at least comprises first audio information and second audio information; in the process of playing the target playlist by the first loop strategy, after the first audio corresponding to the first audio information is played by the first application program, the second audio corresponding to the second audio information is played by the second application program.
In a second aspect, an embodiment of the present application provides an audio playing apparatus, which may include a processing module. The system comprises a processing module, a first audio information acquisition module, a second audio information acquisition module and a processing module, wherein the processing module is used for creating a target play list which at least comprises first audio information and second audio information; and in the process of playing the target play list by the first loop strategy, after the first audio corresponding to the first audio information is played by the first application program, playing the second audio corresponding to the second audio information by the second application program.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method as provided in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium on which a program or instructions are stored, which when executed by a processor implement the steps of the method as provided in the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method as provided in the first aspect.
In the embodiment of the application, a target play list can be created, wherein the target play list at least comprises first audio information and second audio information; and in the process of playing the target play list by the first loop strategy, after the first audio corresponding to the first audio information is played by the first application program, playing the second audio corresponding to the second audio information by the second application program. According to the scheme, the target playlist can comprise the audio information corresponding to the audio in different application programs, so that in the process of playing the target playlist by the first circulation strategy, the first audio corresponding to the first audio information can be played by the first application program, and then the second audio corresponding to the second audio information can be played by the second application program, namely, the user does not need to manually switch the application programs, the audio in the different application programs can be circularly played, and the operation steps of playing the audio in the different application programs are simplified.
Drawings
Fig. 1 is a schematic diagram of an audio playing method provided in an embodiment of the present application;
fig. 2 is a second schematic diagram of an audio playing method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of operations on a first audio and a first control provided by an embodiment of the present application;
fig. 4 is a third schematic diagram of an audio playing method according to an embodiment of the present application;
fig. 5 is an operation diagram of a sharing first control according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a video playback device according to an embodiment of the present application;
fig. 7 is a second schematic structural diagram of a video playback device according to an embodiment of the present application;
fig. 8 is a hardware schematic diagram of an electronic device according to an embodiment of the present disclosure;
fig. 9 is a second hardware schematic diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The embodiment of the application provides an audio playing method, an audio playing device and electronic equipment, which can be used for creating a target play list, wherein the target play list at least comprises first audio information and second audio information; and in the process of playing the target play list by the first loop strategy, after the first audio corresponding to the first audio information is played by the first application program, playing the second audio corresponding to the second audio information by the second application program. According to the scheme, the target playlist can comprise the audio information corresponding to the audio in different application programs, so that in the process of playing the target playlist by the first circulation strategy, the first audio corresponding to the first audio information can be played by the first application program, and then the second audio corresponding to the second audio information can be played by the second application program, namely, the user does not need to manually switch the application programs, the audio in the different application programs can be circularly played, and the operation steps of playing the audio in the different application programs are simplified.
The following describes in detail an audio playing method, an audio playing device, and an electronic device provided in the embodiments of the present application with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
As shown in fig. 1, an embodiment of the present application provides an audio playing method. The method may include S101 to S102 described below. The method is exemplified by taking the execution subject as an audio playing device.
S101, the audio playing device creates a target playing list.
In the embodiment of the present application, the target playlist at least includes the first audio information and the second audio information. The first audio information may be used to indicate first audio in a first application, and the second audio information may be used to indicate second audio in a second application. Of course, the target playlist may further include other audio information, for example, the target playlist may further include third audio information indicating third audio in a third application program, and the first application program, the second application program, and the third application program are different application programs in the audio playing apparatus.
Alternatively, the audio in the embodiment of the present application may refer to an audio file in a conventional sense, such as a song, a widget, a comment or a talk show; alternatively, it may also refer to video files including audio, such as short videos, online videos, and the like. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, the audio information may include at least one of: a playback source (i.e., an application providing audio, such as an audio player), an audio title, an audio singer (e.g., a singer), an audio author (e.g., a singer), etc.
Optionally, the "creating a target playlist" includes at least two ways: one way is to create a target playlist according to audio information of audio in an audio playing device or audio information shared by other devices. Another way is to receive a shared playlist of other devices, and create a playlist identical to the playlist in the audio playing apparatus, i.e. a target playlist.
It should be noted that, no matter which way the target playlist is created, at least two pieces of audio information may be included. Since the at least two audio information are used to indicate audio in different applications, the audio playback device is capable of automatically looping the audio indicated by the audio information in the target playlist across the applications according to the first looping policy.
Optionally, the target playlist and the first control 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 control. In the case of displaying the first control, if the audio playing 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 policy.
Specifically, a first possible implementation scenario is that, when the audio playing apparatus detects that the target type application program is running, the first control may be automatically displayed in a floating manner on the interface of the target type application program, and when the target playlist and the first control are associated with each other, the audio indicated by the audio information in the target playlist is played in a first loop policy. A second possible implementation scenario is that, when the target type application is running, the user may trigger the audio playing apparatus to display the first control in a floating manner on the interface of the target type application through touch input, and when the target playlist and the first control are associated with each other, play audio indicated by the audio information in the target playlist with the first round-robin policy. The first control may be configured to trigger the audio playing apparatus to play audio across application cycles, and the target type application may be an application with an audio playing function, such as a music application or a video application.
For example, by taking the first possible implementation scenario as an example, in the case that the first control is automatically displayed in a floating manner on the interface of the target type application program, if the user does not trigger the first control to establish an association relationship with any audio information, the audio playing apparatus determines that the first control is not associated with the audio information; and if the user triggers the first control to establish an association relationship with the audio information in the target play list, the audio playing device determines that the first control is associated with the audio information in the target play list.
Optionally, the first control may be a floating ball or other possible floating controls, and the like, and may be determined according to actual use requirements, which is not limited in the embodiment of the present application.
Optionally, in a case that the first control is displayed in a floating manner, the audio playing apparatus may automatically and periodically detect whether the first control is associated with the audio information. For example, the audio playing apparatus may detect whether the first control is associated with the audio information every 5 seconds, and may play the audio indicated by the audio information in the target playlist in the first loop policy if the first control is detected to be associated with the audio information in the target playlist. In another way, in the case of displaying the first control in a floating manner, the audio playing apparatus may receive an input of the first control from a user; and in response to the input, determining whether the first control is associated with the audio information. For example, when the first control is invoked, the first control may be in an audio loop waiting mode. If the audio playing device receives a long-press input of the first control from the user, the audio playing device may detect whether the first control is associated with the audio information.
S102, in the process of playing the target play list by the first loop strategy, after the first audio corresponding to the first audio information is played by the first application program, the second audio corresponding to the second audio information is played by the second application program.
In the embodiment of the application, in the case that the first control is associated with the audio information in the target playlist, there is one play source for each audio indicated by each audio information, that is, each audio corresponds to one application program providing the audio. In particular, where the first control is associated with a plurality of audio information, each audio may be from a different application; alternatively, a portion of the audio indicated by the plurality of audio information may be from different applications, and another portion of the audio indicated by the plurality of audio information may be from the same application. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, in the case of displaying the first control in a floating manner, if the user presses the first control for a long time, the audio playing apparatus may display a target playlist in response to the long-press input of the user, where the target playlist may include playing information of each audio associated with the first control. Further, the user may trigger the audio playing apparatus to delete the target audio from the target playlist through an input to the deletion control.
Optionally, the first round-robin policy may include at least one of: the order of adding the audio, the random order, the priority of the application providing the audio, the name of the audio, the audio singer, the year of audio creation, the region of audio creation, the type of audio, etc.
For example, assume that 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. One possible mode is that the audio playing device calls the application program 1 to play the audio 1, then calls the application program 2 to play the audio 2 in the background, and then calls the application program 3 to play the audio 3 in the background according to the adding sequence of the 3 audios; another possibility is that the audio playing apparatus may respectively call the 3 applications in the background according to a random order to play the audio corresponding to each application.
Optionally, an application program is invoked in the background, and in the process of playing an audio through the application program, the audio playing apparatus may analyze the playing source of the next audio in advance, so that after an audio playing is finished, the audio playing apparatus may immediately invoke the playing source of the next audio to play the next audio, thereby reducing the playing waiting time and improving the playing efficiency.
The embodiment of the application provides an audio playing method, and because a target playlist may include audio information corresponding to audio in different applications, in a process of playing the target playlist in a first loop strategy, a first audio corresponding to the first audio information may be played through a first application, and a second audio corresponding to the second audio information may be played through a second application.
Optionally, the audio information may be added to the target playlist for the user to trigger the audio playing device. Illustratively, in conjunction with fig. 1, as shown in fig. 2, the above S101 may be implemented by S101A to S101B described below.
S101A, in the case that the first control is displayed on the interface of the target application program in a floating mode, the audio playing device receives first input of a user to the first control and a target object in the interface of the target application program.
Optionally, the target application is an audio playing application in the audio playing device.
Optionally, the target object may be a song list in an audio playing device, an audio in the audio playing device, or a video in the audio playing device; alternatively, the target object may share a certain audio link or a certain audio and the like to the audio playing device for other devices, which is not limited in the embodiment of the present application.
Optionally, the first input may be click input to the first control and the target object, respectively, or the first input may be touch input that drags the first control to an area where the target object is located. Of course, the first input may also be other possible inputs, and the embodiment of the present application is not limited.
S101B, the audio playing device responds to the first input, the audio playing device adds playing information of the target audio corresponding to the target object to the target playlist.
It should be noted that the target audio may be the first audio, the second audio, or any other possible audio in the foregoing embodiments, and the embodiments of the present application are not limited.
Illustratively, as shown in fig. 3 (a), a music player may have a plurality of categories of audio, such as "recently played", "favorite song list", and "other song list", displayed in an interface thereof, and the first control 01 may be displayed in a floating manner on the interface. When the user wants to add "afternoon cafe" to the target playlist corresponding to the first control 01, the user may press the first control 01 and drag the area 02 where the "afternoon cafe" is located. As shown in (b) of fig. 3, if the hovering time of the first control 01 in the area 02 where the "afternoon cafe" is located is greater than or equal to 2 seconds, the audio playing apparatus may add the playing information of the "afternoon cafe" to the target playlist. It will be appreciated that if the hover time of the first control 01 in the area 02 where "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 and will not be added to the target playlist.
It should be noted that, the above example is exemplified by adding the playing information of the target audio in the interface of the target application to the target playlist through the first input, and other audio in the interface of other applications may also be added according to the above method, so that the audio from different applications may be stored in the target playlist and played in a loop.
In a case where the target object is the target video, the "adding the playback information of the target audio corresponding to the target object to the target playlist" includes: and transcoding the target video to obtain a target audio, and adding the playing information of the target audio to a target play list. Therefore, the user can conveniently play and manage the audio information in the corresponding video.
Optionally, the playing information of the target audio may include at least one of the following: the source of the target audio, the name of the target audio, the artist of the target audio, the creator of the target audio, etc.
Optionally, after the audio playing apparatus responds to the first input and adds the playing information of the target audio to the target playlist, the audio playing method provided in the embodiment of the present application may further include: and displaying a target identifier in the area where the first control is located, wherein the target identifier can be used for indicating the first audio. For example, the target identification may be the first character of the song title of the first audio, or the target identification may be the name of the singer of the first audio. Further, if the first control is associated with multiple audios, in the process that the audio playing device sequentially plays each audio through the application program corresponding to each audio, the identifier of each audio may be sequentially displayed in the area where the first control is located, so that the user may determine the audio currently being played according to the identifier of each audio.
Alternatively, the number of target audios may be one or more. When the number of target audios is one, the audio playing apparatus may add playing information of the target audios to the target playlist. When the number of target audios is multiple, the target audios can be realized by any one of the following two possible implementation manners:
a first possible implementation is that the target object comprises N objects in the interface of the target application. The first input includes N sub-inputs. And each sub-input is input in which the first control is dragged to the area where one object in the N objects is located, and the staying time in the area where the one object is located is longer than or equal to first preset time. The playback information of the target audio is playback information of N audios corresponding to the N objects. Wherein N is a positive integer.
For example, a first control may be hovered over an interface of a music player. When the user presses the first control to drag the area where the song 1 is located, and the hover time of the area where the song 1 is located is greater than or equal to 2 seconds, the audio playing apparatus may add the playing information of the song 1 to the target playlist. Then, when the user presses the first control to drag the area where the song 2 is located, and the hover time of the area where the song 2 is located is greater than or equal to 2 seconds, the audio playing apparatus may add the playing information of the song 2 to the target playlist. Then, when the user presses the first control to drag the area where the song 3 is located, and the hover time of the area where the song 3 is located is greater than or equal to 2 seconds, the audio playing apparatus may add the playing information of the song 3 to the target playlist.
It can be understood that, for this implementation, since the first control needs to be dragged to the region where each of the N audios is located, that is, the N operations are independent of each other, the N audios may be continuously displayed audios in the interface of the first application or discontinuously displayed audios in the interface of the first application, and the embodiment of the present application is not limited thereto.
A second possible implementation is that the target object comprises M objects displayed consecutively 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 input in which the first control is dragged to an area where a first object in the M objects is located, and the staying time in the area where the first object is located is longer than or equal to second preset time; the second sub-input is input in which the first control is dragged to an area where an mth object of the M objects is located, and the staying time in the area where the mth object is located is longer than or equal to a third preset time. The playback information of the target audio is playback information of M audios corresponding to the M objects. Wherein M is an integer greater than 1.
For example, song a, song b, song c, and song d may be sequentially displayed from top to bottom in an interface of a certain music player, and a first control may be displayed on the interface in a floating manner. The user can press the first control to drag the region where the song 1 is located, and the hovering time of the region where the song 1 is located is more than or equal to 2 seconds; and then, when the user presses the first control to drag the area where the song d is located, and the hovering time of the area where the song d is located is more than or equal to 2 seconds. Since song a, song b, song c, and song d are displayed in succession, the audio playback apparatus can add playback information for these songs to the target playlist.
It should be noted that the first preset time, the second preset time, and the third preset time may be equal to or different from each other, and the embodiment of the present application is not limited.
According to the audio playing method provided by the embodiment of the application, the user can trigger the audio playing device to add the playing information of the target object to the target play list through the input of the first control and the target object, so that the user selects different audios from different application programs to add to the target play list, and the target play list can store the playing information of the audios from different application programs and perform circular playing.
Optionally, in this embodiment of the application, the user may share the playing information of the at least one audio corresponding to the first control to other users. Exemplarily, with reference to fig. 1, as shown in fig. 4, the audio playing method provided in the embodiment of the present application may further include S103 to S104 described below.
S103, under the condition that the chat interface with the target user is displayed and the first control is displayed on the chat interface in a suspension mode, the audio playing device receives second input of the user to the first control.
And S104, the audio playing device responds to the second input and shares the target playing list to the equipment used by the target user.
It should be noted that fig. 4 illustrates an example in which S102 is executed first, and then S103 to S104 are executed, which does not limit the embodiments of the present application. It is understood that, in actual implementation, S103 to S104 may be executed first, and then S102 may be executed; alternatively, S102, S103 to S104 may be alternatively performed.
Optionally, the second input may include a first sub-input and a second sub-input, the first sub-input is an input of dragging the first control to an input box in the chat interface, and the second sub-input is an input of triggering the targeting playlist.
For example, as shown in fig. 5 (a), in a case where a chat interface 03 with a thumbnail is displayed and a first control 01 is displayed in a floating manner, a queen may drag the first control 01 to an input box 04 in the chat interface 03. The audio playback device may then determine that the first control 01 is associated with song 1, song 2, and song 3 (i.e., the target playlist). After that, if the queen clicks the sending control 05, as shown in (b) of fig. 5, the target playlist may be sent to the device used by the sheetlet. After the device used by the sheetlet receives the target playlist sent by the device used by the King, the sheetlet may trigger the device used by the sheetlet to play songs 1, 2, and 3 across the application loop via input to the target playlist and the hover control 07 in the device used by the sheetlet.
According to the audio playing method provided by the embodiment of the application, one user can send the playing information of at least one audio selected by the user to the equipment used by the other user, so that the other user can trigger the equipment used by the other user to play the audio in a cross-application circulating mode through inputting the playing information of the audio, namely, audio sharing is realized.
Optionally, in this embodiment of the application, the audio playing apparatus may further receive playing information of at least one audio shared by other devices. For example, the audio playing method provided in the embodiment of the present application may further include S105 to S107 described below.
S105, the audio playing device receives playing information of the target audio shared by the target equipment.
Optionally, the target audio may be a specific audio to be shared; alternatively, the target audio may be a shared entire song list that includes the target audio.
S106, the audio playing device receives a third input of the user.
S107, the audio playing means adds the playing information of the target audio to the target playlist in response to the third input.
Optionally, the third input may be input of the first control and the playing information of the target audio by the user, for example, the third input may be input of dragging the first control to an area where the playing information of the target audio is located. Specifically, after the audio playing apparatus receives the playing information of the target audio sent by the target device, an identifier corresponding to the playing information of the target audio may be displayed; then, the user can drag the first control to the area where the identifier is located, so that the audio playing device can establish an association relationship between the first control and the playing information of the target audio, and add the playing information of the target audio to the target playlist.
According to the audio playing method provided by the embodiment of the application, the audio playing device can receive the playing information of the target audio shared by other equipment, so that a user can trigger the audio playing device to establish the association relationship between the first control and the target audio through input, and the audio playing device can play the audio in a cross-application circulating manner.
Optionally, in the process of playing the target playlist with the first loop policy, the audio playing method provided in the embodiment of the present application may further include S108 or S109 described below.
And S108, if the application program corresponding to the third audio is installed, the audio playing device plays the third audio through the application program corresponding to the third audio.
S109, if the application program corresponding to the third audio is not installed, the audio playing 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; or not playing the third audio, and playing the next audio through an application program corresponding to the next audio of the third audio.
It should be noted that the third audio may be the first audio, the second audio, or any other possible audio in the foregoing embodiments, and the embodiments of the present application are not limited.
Illustratively, the third audio is the audio shared by the target device, and the third audio includes song 1, song 2, and song 3. As shown in (b) in fig. 5, after the sheetlet receives the song list shared by the kingdom, the sheetlet may drag the floating control 07 to the song list, and enlarge and display the floating control 07, so that the sheetlet device may read the song list to obtain the playing information of song 1, song 2, and song 3.
If the small piece of equipment is provided with the application program 1 corresponding to the song 1, the application program 2 corresponding to the song 2 and the application program 3 corresponding to the song 3, the small piece of equipment can play the song 1 sequentially through the application program 1, play the song 2 through the application program 2 and play the song 3 through the application program 3.
If the apparatus for the sheetlet does not have the application 2 corresponding to song 2 installed, but has the application 1 corresponding to song 1 and the application 3 corresponding to song 3 installed, one scenario is: the equipment for the small sheets is connected to the wifi, the equipment for the small sheets can play the song 1 through the application program 1, the application program 2 is downloaded and installed, after the song 1 is played, the song 2 can be played through the application program 2 in sequence, and the song 3 is played through the application program 3; the other scenario is as follows: the equipment of the sheetlet is not connected to wifi, the equipment of the sheetlet can play song 1 through application program 1 first, after the completion of the playing of song 1, song 2 can be skipped, and song 3 is played through application program 3.
According to the audio playing method provided by the embodiment of the application, whether the application program is downloaded and installed can be determined according to whether the application program corresponding to the audio is installed or not and the network environment, so that the strategy of circularly playing the song can be flexibly adjusted, and the playing experience of a user is improved.
It should be noted that, in the audio playing method provided in the embodiment of the present application, the execution main body may be an audio playing device, or a control module used for executing the loaded audio playing method in the audio playing device. In the embodiment of the present application, an audio playing device is taken as an example to execute an audio playing method, and the audio playing method provided in the embodiment of the present application is described.
As shown in fig. 6, an embodiment of the present application provides an audio playing apparatus 600. The audio playback device 600 may include a processing module 601. A processing module 601, configured to create a target playlist, where the target playlist includes at least first audio information and second audio information; and in the process of playing the target play list by the first loop strategy, after the first audio corresponding to the first audio information is played by the first application program, playing the second audio corresponding to the second audio information by the second application program.
Optionally, with reference to fig. 6, as shown in fig. 7, the audio playing apparatus provided in the embodiment of the present application may further include a receiving module 602. The receiving module 602 may be configured to receive a first input of a user to a first control and a target object in an interface of a target application program in a case that the first control is displayed in a floating manner on the interface of the target application program. The processing module 601 may be specifically configured to add, in response to the first input received by the receiving module 602, the playing information of the target audio corresponding to the target object to the target playlist.
Optionally, the target object is a target video. The processing module 601 may be specifically configured to transcode the target video to obtain a target audio, and add playing information of the target audio to the target playlist.
Optionally, the target object includes N objects in the interface of the target application, and the first input includes N sub-inputs. And each sub-input is input in which the first control is dragged to the area where one object in the N objects is located, and the staying time in the area where the one object is located is longer than or equal to first preset time. The playback information of the target audio is playback information of N audios corresponding to the N objects. N is a positive integer.
Alternatively, the target object includes M objects that are consecutively displayed in the interface of the target application, and the first input includes a first sub-input and a second sub-input. The first sub-input is input in which the first control is dragged to an area where a first object of the M objects is located, and the staying time in the area where the first object is located is longer than or equal to a second preset time. The second sub-input is input in which the first control is dragged to an area where an mth object of the M objects is located, and the staying time in the area where the mth object is located is longer than or equal to a third preset time. The playback information of the target audio is playback information of M audios corresponding to the M objects. M is an integer greater than 1.
Optionally, as shown in fig. 7, the audio playing apparatus provided in the embodiment of the present application may further include a receiving module 602 and a communication module 603. The receiving module 602 may be configured to receive a second input of the first control from the user while displaying the chat interface with the target user and while the first control is displayed in a floating manner on the chat interface. The communication module 603 may be configured to share the target playlist to a device used by the target user in response to the second input received by the receiving module 602.
Optionally, as shown in fig. 7, the audio playing apparatus provided in the embodiment of the present application may further include a receiving module 602 and a communication module 603. The communication module 603 may be configured to receive playing information of the target audio shared by the target device. The receiving module 602 may be configured to receive a third input from the user. The processing module 601 may be further configured to add the playing information of the target audio to the target playlist in response to the third input received by the receiving module 602.
Optionally, the processing module 601 may be further configured to, in the process of playing the target playlist with the first loop policy, if an application program corresponding to the third audio is installed, play the third audio through the application program corresponding to the third audio. Or, the processing module 601 may be further configured to, in the process of playing the target playlist with the first loop policy, if the application program corresponding to the third audio is not installed, download and install the application program corresponding to the third audio, and play the third audio through the application program corresponding to the third audio; or not playing the third audio, and playing the next audio through an application program corresponding to the next audio of the third audio.
The embodiment of the application provides an audio playing device, because a target playlist may include audio information corresponding to audio in different applications, in a process of playing the target playlist with a first loop policy, the audio playing device may play a first audio corresponding to the first audio information through a first application, and then play a second audio corresponding to the second audio information through a second application, that is, without manually switching applications by a user, the audio in the different applications may be played in a loop, thereby simplifying operation steps of playing the audio in the different applications.
The audio playing device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The audio playing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The audio playing device provided in the embodiment of the present application can implement each process implemented by the audio playing device in the method embodiments of fig. 1 to fig. 5, and for avoiding repetition, details are not repeated here.
Optionally, as shown in fig. 8, an electronic device 800 is further provided in this embodiment of the present application, and includes a processor 801, a memory 802, and a program or an instruction stored in the memory 802 and executable on the processor 801, where the program or the instruction is executed by the processor 801 to implement each process of the foregoing audio playing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
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.
Those skilled in the art will appreciate that the electronic device 900 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 910 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system. The electronic device structure shown in fig. 9 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The processor 910 may be configured to create a target playlist, where the target playlist includes at least first audio information and second audio information; and in the process of playing the target play list by the first loop strategy, after the first audio corresponding to the first audio information is played by the first application program, playing the second audio corresponding to the second audio information by the second application program.
Optionally, the user input unit 907 may be configured to receive a first input from a user to the first control and a target object in the interface of the target application in a case that the first control is displayed in a floating manner on the interface of the target application. The processor 910 may be specifically configured to add, in response to the first input received by the user input unit 907, the playing information of the target audio corresponding to the target object to the target playlist.
Optionally, 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 playing information of the target audio to the target playlist.
Optionally, the target object includes N objects in the interface of the target application, and the first input includes N sub-inputs. And each sub-input is input in which the first control is dragged to the area where one object in the N objects is located, and the staying time in the area where the one object is located is longer than or equal to first preset time. The playback information of the target audio is playback information of N audios corresponding to the N objects. N is a positive integer.
Alternatively, the target object includes M objects that are consecutively displayed in the interface of the target application, and the first input includes a first sub-input and a second sub-input. The first sub-input is input in which the first control is dragged to an area where a first object of the M objects is located, and the staying time in the area where the first object is located is longer than or equal to a second preset time. The second sub-input is input in which the first control is dragged to an area where an mth object of the M objects is located, and the staying time in the area where the mth object is located is longer than or equal to a third preset time. The playback information of the target audio is playback information of M audios corresponding to the M objects. M is an integer greater than 1.
Optionally, the user input unit 907 may be configured to receive a second input from the user to the first control when the chat interface with the target user is displayed and the first control is displayed in a floating manner on the chat 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.
Optionally, the radio frequency unit 901 may be configured to receive playing information of a target audio shared by a target device. A user input unit 907 may be used to receive a third input from the user. The processor 910 may be further configured to add the playing information of the target audio to the target playlist in response to the third input received by the user input unit 907.
Optionally, the processor 910 may be further configured to, in the process of playing the target playlist with the first loop policy, if an application program corresponding to a third audio is installed, play the third audio through the application program corresponding to the third audio. Or, the processor 910 may be further configured to, in the process of playing the target playlist with the first loop policy, if the application program corresponding to the third audio is not installed, download and install the application program corresponding to the third audio, and play the third audio through the application program corresponding to the third audio; or not playing the third audio, and playing the next audio through an application program corresponding to the next audio of the third audio.
The embodiment of the application provides an electronic device, because a floating control can establish an association relationship with audio in different application programs, when a first control is displayed in a floating manner, by judging whether the first control is associated with the audio, each audio can be played respectively sequentially through the application program corresponding to each audio under the condition that the first control is associated with at least one audio, that is, the user does not need to manually switch the application programs, the audio in different application programs can be played circularly, and therefore the operation steps of playing the audio in different application programs are simplified.
It should be understood that, in the embodiment of the present application, the input unit 904 may include a Graphics Processing Unit (GPU) 9041 and a microphone 9042, and the graphics processor 9041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 906 may include a display panel 9061, and the display panel 9061 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. A touch panel 9071 also referred to as 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, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. Memory 909 can 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, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 910.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned audio playing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device in the above embodiment. Readable storage media, including computer-readable storage media such as a computer-read-only memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, and so forth.
The 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 configured to run a program or an instruction to implement each process of the above-mentioned audio playing method embodiment, and can achieve the same technical effect, and for avoiding repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes several instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the methods provided in the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (16)

1. An audio playing method, the method comprising:
creating a target play list, wherein the target play list at least comprises first audio information and second audio information;
in the process of playing the target playlist by using the first loop strategy, after the first audio corresponding to the first audio information is played by the first application program, the second audio corresponding to the second audio information is played by the second application program.
2. The method of claim 1, wherein creating the target playlist comprises:
under the condition that a first control is displayed on an interface of a target application program in a floating mode, receiving first input of a user to the first control and a target object in the interface of the target application program;
in response to the first input, adding playback information of target audio corresponding to the target object to the target playlist.
3. The method of claim 2, wherein the target object is a target video;
the adding the playing information of the target audio corresponding to the target object to the target playlist includes:
and transcoding the target video to obtain the target audio, and adding the playing information of the target audio to the target play list.
4. The method of claim 2,
the target object comprises N objects in an interface of the target application program, the first input comprises N sub-inputs, each sub-input is an input which drags the first control to an area where one object of the N objects is located, the staying time of the area where the one object is located is longer than or equal to first preset time, the playing information of the target audio is the playing information of N audios corresponding to the N objects, and N is a positive integer;
alternatively, the first and second electrodes may be,
the target object comprises M continuously displayed objects in an interface of the target application program, the first input comprises a first sub-input and a second sub-input, the first sub-input is input in which the first control is dragged to an area where a first object in the M objects is located, the staying time in the area where the first object is located is longer than or equal to a second preset time, the second sub-input is input in which the first control is dragged to an area where an Mth object in the M objects is located, the staying time in the area where the Mth object is located is longer than or equal to a third preset time, the playing information of the target audio is the playing information of M audios corresponding to the M objects, and M is an integer larger than 1.
5. The method of claim 1, further comprising:
receiving a second input of a user to a first control under the condition that a chat interface with a target user is displayed and the first control is displayed on the chat interface in a suspension mode;
and responding to the second input, and sharing the target play list to the equipment used by the target user.
6. The method of claim 1, further comprising:
receiving playing information of target audio shared by target equipment;
receiving a third input of the user;
in response to the third input, adding playback information for the target audio to the target playlist.
7. The method of claim 1 or 6, wherein during the playing of the target playlist in the first round robin strategy, the method further comprises:
if the application program corresponding to the third audio is installed, playing the third audio through the application program corresponding to the third audio;
alternatively, the first and second electrodes may be,
if the application program corresponding to the third audio is not installed, downloading and installing the application program corresponding to the third audio, and playing the third audio through the application program corresponding to the third audio; or not playing the third audio, and playing the next audio through an application program corresponding to the next audio of the third audio.
8. An audio playing device is characterized in that the audio playing device comprises a processing module;
the processing module is used for creating a target play list, and the target play list at least comprises first audio information and second audio information; and in the process of playing the target play list by using the first circulation strategy, after the first audio corresponding to the first audio information is played by the first application program, playing the second audio corresponding to the second audio information by the second application program.
9. The apparatus of claim 8, further comprising a receiving module;
the receiving module is used for receiving first input of a user to a first control and a target object in an interface of a target application program under the condition that the first control is displayed on the interface of the target application program in a floating mode;
the processing module is specifically configured to add, in response to the first input received by the receiving module, playback information of a target audio corresponding to the target object to the target playlist.
10. The apparatus of claim 9, wherein the target object is a target video;
the processing module is specifically configured to transcode the target video to obtain the target audio, and add the playing information of the target audio to the target playlist.
11. The apparatus of claim 9,
the target object comprises N objects in an interface of the target application program, the first input comprises N sub-inputs, each sub-input is an input which drags the first control to an area where one object of the N objects is located, the staying time of the area where the one object is located is longer than or equal to first preset time, the playing information of the target audio is the playing information of N audios corresponding to the N objects, and N is a positive integer;
alternatively, the first and second electrodes may be,
the target object comprises M continuously displayed objects in an interface of the target application program, the first input comprises a first sub-input and a second sub-input, the first sub-input is input in which the first control is dragged to an area where a first object in the M objects is located, the staying time in the area where the first object is located is longer than or equal to a second preset time, the second sub-input is input in which the first control is dragged to an area where an Mth object in the M objects is located, the staying time in the area where the Mth object is located is longer than or equal to a third preset time, the playing information of the target audio is the playing information of M audios corresponding to the M objects, and M is an integer larger than 1.
12. The apparatus of claim 8, further comprising a receiving module and a communication module;
the receiving module is used for receiving a second input of a user to a first control under the conditions that a chat interface with a target user is displayed and the first control is displayed on the chat interface in a suspension manner;
the communication module is configured to share the target playlist to the device used by the target user in response to the second input received by the receiving module.
13. The apparatus of claim 8, further comprising a receiving module and a communication module;
the communication module is used for receiving playing information of the target audio shared by the target equipment;
the receiving module is used for receiving a third input of the user;
the processing module is further configured to add the playing information of the target audio to the target playlist in response to the third input received by the receiving module.
14. The apparatus according to claim 8 or 13, wherein the processing module is further configured to, during the playing of the target playlist in the first round robin strategy, if an application corresponding to a third audio is installed, play the third audio through the application corresponding to the third audio; alternatively, the first and second electrodes may be,
the processing module is further configured to, during the playing of the target playlist in the first loop policy, download and install an application program corresponding to a third audio if the application program corresponding to the third audio is not installed, and play the third audio through the application program corresponding to the third audio; or not playing the third audio, and playing the next audio through an application program corresponding to the next audio of the third audio.
15. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the audio playback method of any of claims 1-7.
16. A readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the audio playback method according to any one of claims 1 to 7.
CN202010762896.2A 2020-07-31 2020-07-31 Audio playing method and device and electronic equipment Pending CN111966860A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010762896.2A CN111966860A (en) 2020-07-31 2020-07-31 Audio playing method and device and electronic equipment
PCT/CN2021/109707 WO2022022697A1 (en) 2020-07-31 2021-07-30 Audio playback method and apparatus and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010762896.2A CN111966860A (en) 2020-07-31 2020-07-31 Audio playing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN111966860A true CN111966860A (en) 2020-11-20

Family

ID=73364178

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010762896.2A Pending CN111966860A (en) 2020-07-31 2020-07-31 Audio playing method and device and electronic equipment

Country Status (2)

Country Link
CN (1) CN111966860A (en)
WO (1) WO2022022697A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022022697A1 (en) * 2020-07-31 2022-02-03 维沃移动通信有限公司 Audio playback method and apparatus and electronic device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114745561B (en) * 2022-04-06 2023-05-30 珠海格力电器股份有限公司 Live broadcast room interaction method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107203624A (en) * 2017-05-26 2017-09-26 维沃移动通信有限公司 The single generation method of one kind song and mobile terminal
CN107562745A (en) * 2016-06-30 2018-01-09 上海博泰悦臻网络技术服务有限公司 A kind of generation method of audio playlist, system and a kind of audio frequency broadcast system
US20180329585A1 (en) * 2017-05-12 2018-11-15 Apple Inc. User interfaces for playing and managing audio items
CN111459456A (en) * 2020-04-07 2020-07-28 维沃移动通信有限公司 Audio control method and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111966860A (en) * 2020-07-31 2020-11-20 维沃移动通信(杭州)有限公司 Audio playing method and device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107562745A (en) * 2016-06-30 2018-01-09 上海博泰悦臻网络技术服务有限公司 A kind of generation method of audio playlist, system and a kind of audio frequency broadcast system
US20180329585A1 (en) * 2017-05-12 2018-11-15 Apple Inc. User interfaces for playing and managing audio items
CN107203624A (en) * 2017-05-26 2017-09-26 维沃移动通信有限公司 The single generation method of one kind song and mobile terminal
CN111459456A (en) * 2020-04-07 2020-07-28 维沃移动通信有限公司 Audio control method and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022022697A1 (en) * 2020-07-31 2022-02-03 维沃移动通信有限公司 Audio playback method and apparatus and electronic device

Also Published As

Publication number Publication date
WO2022022697A1 (en) 2022-02-03

Similar Documents

Publication Publication Date Title
JP7138804B2 (en) INTERFACE DISPLAY METHOD AND DEVICE, TERMINAL AND COMPUTER PROGRAM
CN111831190B (en) Music application program control method and device and electronic equipment
CN112148163B (en) Screen recording method and device and electronic equipment
CN112399006B (en) File sending method and device and electronic equipment
WO2022194004A1 (en) Application icon arrangement method and apparatus, and electronic device
CN112887802A (en) Video access method and device
CN111857510B (en) Parameter adjusting method and device and electronic equipment
CN113127773A (en) Page processing method and device, storage medium and terminal equipment
WO2022022697A1 (en) Audio playback method and apparatus and electronic device
CN112486444A (en) Screen projection method, device, equipment and readable storage medium
CN112540709A (en) Split screen display method and device, electronic equipment and readable storage medium
CN113467660A (en) Information sharing method and electronic equipment
CN112911401A (en) Video playing method and device
CN110090438B (en) Game loading method, device, terminal and computer readable storage medium
CN112698762B (en) Icon display method and device and electronic equipment
CN114116098A (en) Application icon management method and device, electronic equipment and storage medium
CN113836089A (en) Application program display method and device, electronic equipment and readable storage medium
CN113282546A (en) File processing method and device
CN112099682B (en) Icon display method and device and electronic equipment
CN113485600A (en) Singing list sharing method and device and electronic equipment
CN112764862A (en) Application program control method and device and electronic equipment
CN113672135A (en) Object control method and device and electronic equipment
CN112765508A (en) Information display method and device and electronic equipment
CN112764622A (en) Icon moving method and device and electronic equipment
CN112235645B (en) Multimedia content playing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination