CN112286480A - Audio output method and device and electronic equipment - Google Patents

Audio output method and device and electronic equipment Download PDF

Info

Publication number
CN112286480A
CN112286480A CN202011171904.2A CN202011171904A CN112286480A CN 112286480 A CN112286480 A CN 112286480A CN 202011171904 A CN202011171904 A CN 202011171904A CN 112286480 A CN112286480 A CN 112286480A
Authority
CN
China
Prior art keywords
target
multimedia file
identification code
audio output
audio
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
CN202011171904.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 CN202011171904.2A priority Critical patent/CN112286480A/en
Publication of CN112286480A publication Critical patent/CN112286480A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The application discloses an audio output method, an audio output device and electronic equipment, belongs to the technical field of communication, and can solve the problem that the electronic equipment is poor in convenience in audio playing. The audio output method includes: under the condition that a target multimedia file is played in a display screen of first electronic equipment, displaying M pieces of identification code information on the display screen, wherein each piece of identification code information is respectively used for indicating an audio signal of the target multimedia file; and receiving a target request sent by the second electronic equipment, and outputting a target audio signal of the target multimedia file to the second electronic equipment according to the target request. The target request is sent by the second electronic device based on target identification code information in the M pieces of identification code information, and the target identification code information is used for indicating a target audio signal; m is a positive integer. The audio output provided by the embodiment of the application can be applied to the process of outputting the audio signal by the electronic equipment.

Description

Audio output method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to an audio output method, an audio output device and electronic equipment.
Background
Generally, in a scenario where a plurality of users watch a movie through the same electronic device, the user 1 may trigger the electronic device to play a certain movie, so that the electronic device may display a picture of the certain movie on a display screen, and play a dubbing of the certain movie through a speaker of the electronic device, so that the plurality of users may watch the picture of the certain movie simultaneously and listen to the dubbing of the certain movie simultaneously to watch the certain movie.
However, when a certain movie is played, different users may need to listen to different dubbing of the certain movie, and the electronic device can only play one dubbing of the certain movie, which may result in poor convenience of playing audio by the electronic device.
Disclosure of Invention
The embodiment of the application aims to provide an audio output method, an audio output device and electronic equipment, and the problem that the convenience of playing audio by the electronic equipment is poor can be solved.
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 output method, which is applied to a first electronic device, and the method includes: under the condition that a target multimedia file is played in a display screen of first electronic equipment, displaying M pieces of identification code information on the display screen, wherein each piece of identification code information is respectively used for indicating an audio signal of the target multimedia file; and receiving a target request sent by the second electronic equipment, and outputting a target audio signal of the target multimedia file to the second electronic equipment according to the target request. The target request is sent by the second electronic device based on target identification code information in the M pieces of identification code information, and the target identification code information is used for indicating a target audio signal; m is a positive integer.
In a second aspect, an embodiment of the present application provides an audio output device, where the audio output device is a first audio output device, and the first audio output device includes: the device comprises a display module, a receiving module and an output module. The display module is used for displaying M pieces of identification code information on a display screen of the first audio output device under the condition that a target multimedia file is played on the display screen, and each piece of identification code information is respectively used for indicating an audio signal of the target multimedia file. And the receiving module is used for receiving the target request sent by the second audio output device. And the output module is used for outputting the target audio signal of the target multimedia file to the second audio output device according to the target request received by the receiving module. Wherein the target request is sent by the second audio output device based on target identification code information in the M identification code information, the target identification code information being used for indicating a target audio signal; m is a positive integer.
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 according to 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 according to 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 according to the first aspect.
In this embodiment of the application, in a case that a target multimedia file is played in a display screen of a first electronic device, the first electronic device may display M pieces of identification code information on the display screen, where each piece of identification code information indicates an audio signal of the target multimedia file, and output a target audio signal indicated by the target identification code information to a second electronic device according to a target request sent by the second electronic device based on the target identification code information in the M pieces of identification code information. Because the first electronic equipment can display the M pieces of identification code information corresponding to the M pieces of audio signals of a certain multimedia file on the display screen under the condition of playing the certain multimedia file, a user can trigger the second electronic equipment to send a request to the first electronic equipment based on certain identification code information according to use requirements, so that the first electronic equipment can output the audio signals indicated by the certain identification code information to the second electronic equipment, and thus, the user can listen to the audio signals required by the user (namely, the audio signals indicated by the certain identification code information) through the second electronic equipment, namely, the electronic equipment can output the audio signals required by the user, but not only can output a certain audio signal, and therefore, the convenience of playing audio by the electronic equipment can be improved.
Drawings
Fig. 1 is a schematic diagram of an audio output method provided by an embodiment of the present application;
fig. 2 is one of schematic diagrams of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 3 is one of schematic diagrams of an example of an interface of a mobile phone according to an embodiment of the present application;
FIG. 4 is a second schematic diagram of an audio output method according to an embodiment of the present application;
FIG. 5 is a third schematic diagram of an audio output method according to an embodiment of the present application;
FIG. 6 is a fourth schematic diagram of an audio output method according to an embodiment of the present application;
FIG. 7 is a schematic structural diagram of an audio output device according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 9 is a hardware schematic diagram of an electronic device provided in an embodiment of the present application.
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 will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. 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 audio output method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
The audio output method provided by the embodiment of the application can be applied to scenes in which a plurality of people watch a film.
Suppose that the user 1 and the user 2 desire to watch a movie 1 through the electronic apparatus 1, the movie 1 includes a plurality of audios (e.g., english dubbing audio and chinese dubbing audio). In the related art, the user 1 may operate the electronic device 1 multiple times, so that the electronic device 1 may display a picture of the movie 1 on a display screen of the electronic device 1 and play a dubbing audio (for example, a chinese dubbing audio) of the movie 1 through a speaker of the electronic device 1, so that the user 1 and the user 2 can listen to the chinese dubbing audio simultaneously to watch the movie 1. However, since the user 1 may want to listen to the chinese dubbing audio and the user 2 may want to listen to the english dubbing audio, the electronic device 1 can only play the chinese dubbing audio or the english dubbing audio through the speaker, which results in poor convenience of playing the audio by the electronic device 1.
In this embodiment of the application, in a case that the electronic device 1 plays the movie 1 in the display screen, the electronic device 1 may display a plurality of identification codes (for example, two-dimensional codes) of a plurality of audios on the display screen, that is, a two-dimensional code of an english dubbing audio and a two-dimensional code of a chinese dubbing audio, so that the user 1 may trigger the electronic device 2 to scan the two-dimensional code of the chinese dubbing audio, so that the electronic device 2 may send the request 1 to the electronic device 1 based on the two-dimensional code of the chinese dubbing audio, and then the electronic device 1 may output the chinese dubbing audio of the movie 1 to the electronic device 2, so that the user 1 may listen to the chinese dubbing audio through the electronic device 2; and the user 2 may trigger the electronic device 3 to scan the two-dimensional code of the english dubbing audio, so that the electronic device 3 may send the request 2 to the electronic device 1 based on the two-dimensional code of the english dubbing audio, and then the electronic device 1 may output the english dubbing audio of the movie 1 to the electronic device 3, so that the user 2 may listen to the english dubbing audio through the electronic device 3. It can be understood that under the condition of watching the same film through the same electronic equipment, the electronic equipment 1 can output different audio frequencies to the electronic equipment corresponding to different users according to the use requirements of the different users, instead of outputting only one audio frequency, so that the convenience of playing the audio frequency by the electronic equipment can be improved.
Fig. 1 shows a flowchart of an audio output method provided in an embodiment of the present application. As shown in fig. 1, an audio output method provided by an embodiment of the present application may include steps 101 and 102 described below.
Step 101, under the condition that the target multimedia file is played in the display screen of the first audio output device, the first audio output device displays M pieces of identification code information on the display screen.
Optionally, in this embodiment of the application, when the first audio output device displays a desktop, a user may select and input an icon of a video application in the desktop, so that the first audio output device may open the video application, and thus, the user may select and input an icon of a target multimedia file in an interface of the video application, so that the first audio output device may play the target multimedia file in the display screen.
Optionally, in this embodiment of the application, the target multimedia file may specifically be a video file.
Optionally, in this embodiment of the application, the target multimedia file may include one multimedia file and a plurality of multimedia files.
Optionally, in this embodiment, in a case that the target multimedia file includes one multimedia file, the one multimedia file may include one image signal and at least one audio signal, so that the first audio output device may play the one image signal in the display screen to play the target multimedia file in the display screen.
It is understood that, in case that the target multimedia file includes one multimedia file, the one multimedia file includes M audio signals.
Optionally, in this embodiment, in a case that the target multimedia file includes a plurality of multimedia files, one multimedia file may include one image signal and at least one audio signal, and the first audio output device may play one image signal in each of a plurality of screen division areas of the display screen, respectively, so as to play the target multimedia file in the display screen.
It is understood that in case that the target multimedia file includes a plurality of multimedia files, the plurality of multimedia files includes M audio signals.
Optionally, in this embodiment of the application, when the first audio output device plays the target multimedia file, the first audio output device does not play the audio signal through a speaker of the first audio output device.
In the embodiment of the application, each identification code information in the M identification code information is respectively used for indicating an audio signal of a target multimedia file; m is a positive integer.
Optionally, in this embodiment of the application, the M identification code information may include at least one of the following: two-dimensional codes and bar codes, etc.
Optionally, in this embodiment of the application, for each identification code information in the M identification code information, one identification code information may include: an identification of the first audio output device, and an identification of an audio signal (e.g., an access address of the target multimedia file and the identification of the audio signal in the embodiments described below).
Optionally, in this embodiment of the application, the identifier of the first audio output device may include at least one of: a Media Access Control (MAC) address or an internet protocol address (IPAddress) of the first audio output device.
Optionally, in this embodiment of the application, the first audio output device may generate M pieces of identification code information according to the M pieces of audio signals, respectively, and display the M pieces of identification code information on the display screen.
Further optionally, in this embodiment of the application, in a case that the target multimedia file includes one multimedia file, the first audio output device may play the one multimedia file in all display areas of the display screen, and display the M pieces of identification code information in a floating manner on the edge display area.
The "edge display area" may be understood as: and the display area within the preset range of any edge line of the display screen.
For example, the first audio output device is taken as an example for explanation. As shown in fig. 2, the television plays a target multimedia file (e.g., multimedia file 1) in the entire display area of the display screen 10, and displays M pieces of identification code information (e.g., identification code information 12, identification code information 13, identification code information 14, and identification code information 15) in a floating manner in an edge display area (e.g., area 11) of the display screen 10.
Further optionally, in this embodiment of the application, when the target multimedia file includes a plurality of multimedia files, the first audio output device may respectively play one multimedia file in each of a plurality of screen division areas of the display screen to play the plurality of multimedia files, and respectively float and display at least one identification code information on an edge display area of each screen division area to float and display M identification code information.
For example, as shown in fig. 3, the television respectively plays a multimedia file in each of a plurality of split screen areas (e.g., an area 16 and an area 17) of the display screen, plays a multimedia file 1 in the area 16, plays a multimedia file 2 in the area 17, and displays at least one identification code information (e.g., an identification code information 19 and an identification code information 20) in a floating manner on an edge area (e.g., an area 18) of the area 16, and displays at least one identification code information (e.g., an identification code information 22, an identification code information 23 and an identification code information 24) in a floating manner on an edge area (e.g., an area 21) of the area 17.
And 102, the first audio output device receives the target request sent by the second audio output device and outputs a target audio signal of the target multimedia file to the second audio output device according to the target request.
In an embodiment of the application, the target request is sent by the second audio output device based on target identification code information in the M pieces of identification code information, where the target identification code information is used to indicate the target audio signal.
Optionally, in this embodiment of the application, the target request may include target identification code information.
Optionally, in this embodiment of the application, the user may trigger the second audio output device to scan target identification code information in the M identification code information, so that the second audio output device may obtain an identifier of the first audio output device included in the target identification code information, in this way, the second audio output device may send a target request to the first audio output device according to the identifier of the first audio output device, so that the first audio output device may establish a first network connection with the second audio output device according to the target request, and determine a target audio signal from audio signals included in a target multimedia file according to the identifier of the target audio signal included in the target identification code information, so as to output the target audio signal to the second audio output device through the first network.
Optionally, in this embodiment of the application, the first network may specifically be an internet network.
It is understood that, in the case that the first network is an internet network, the first audio output device may establish connection with any number of audio output devices through the internet network without providing a plurality of network modules (e.g., bluetooth modules) in the first audio output device, so that the cost of the audio output device may be reduced; in addition, the transmission rate corresponding to the internet network is faster than the transmission rate of other networks (such as a bluetooth network, etc.), so the audio quality of the audio signal output through the internet network is stronger than the audio quality of the audio signal output through other networks (such as a bluetooth network, etc.), and thus, the audio quality of the audio signal output by the audio output device can be improved.
Optionally, in this embodiment of the application, after the first audio output device outputs the target audio signal to the second audio output device, if another user needs to listen to another audio signal of the target multimedia file, the other user may trigger the other audio output device to scan another identification code information in the M identification code information, so that the other audio output device may send a request to the first audio output device, and thus, the first audio output device may output the other audio signal of the target multimedia file to the other audio output device according to the request.
According to the audio output method provided by the embodiment of the application, under the condition that the target multimedia file is played in the display screen of the first audio output device, the first audio output device can display M pieces of identification code information on the display screen, each piece of identification code information respectively indicates one audio signal of the target multimedia file, and the target audio signal indicated by the target identification code information is output to the second audio output device according to a target request sent by the second audio output device based on the target identification code information in the M pieces of identification code information. Because the first audio output device can display the M identification code information corresponding to the M audio signals of a certain multimedia file on the display screen under the condition of playing the certain multimedia file, a user can trigger the second audio output device to send a request to the first audio output device based on certain identification code information according to a use requirement, so that the first audio output device can output the audio signal indicated by the certain identification code information to the second audio output device, and thus, the user can listen to the audio signal required by the user (namely, the audio signal indicated by the certain identification code information) through the second audio output device, namely, the audio output device can output the audio signal required by the user, but not only can output a certain audio signal, and therefore, the convenience of the audio output device for playing audio can be improved.
Optionally, in this embodiment of the application, for each of the M pieces of identification code information, one piece of identification code information includes at least one of the following: the audio identification is used for indicating an audio signal of the target multimedia file, and the address information is used for indicating the access address of the target multimedia file.
Further optionally, in this embodiment of the application, the identifier of the one audio signal may specifically be a name of the one audio signal.
In the embodiment of the application, since one identification code information includes the audio identifier of one audio signal of the target multimedia file and the address information of the access address of the target multimedia file, the first audio output device can accurately determine the target multimedia file and the target audio signal of the target multimedia file from the multimedia files in the first audio output device under the condition of receiving the target request sent by the second audio output device, so as to accurately output the target audio signal (i.e. the audio signal required by the user) to the second audio output device, thereby improving the accuracy of the audio output device for outputting the audio signal required by the user.
In the following, it will be exemplified how the first audio output device outputs the target multimedia file to the second audio output device according to the target request by taking the example that each identification code information includes the audio identification and the address information respectively.
Optionally, in this embodiment of the application, the target identification code information includes a target audio identifier and target address information. Specifically, referring to fig. 1, as shown in fig. 4, the step 102 may be implemented by the following steps 102a and 102 b.
102a, the first audio output device receives a target request sent by the second audio output device, and determines a target multimedia file from at least one multimedia file of the first audio output device according to the target address information.
Further optionally, in this embodiment of the application, the first audio output device may detect, according to the destination address information, an access address indicated by the destination address information, so as to determine the destination multimedia file from at least one multimedia file of the first audio output device.
And 102b, determining a target audio signal from the M audio signals of the target multimedia file by the first audio output device according to the target audio identifier, and outputting the target audio signal to the second audio output device.
Further optionally, in this embodiment of the application, the first audio output device may detect the target multimedia file to obtain M audio identifiers of M audio signals included in the target multimedia file, determine, as the target audio signal, an audio signal indicated by an audio identifier that matches the target audio identifier in the M audio identifiers, and output the target audio signal to the second audio output device.
In the embodiment of the application, the first audio output device can accurately determine the target multimedia file from the multimedia file in the first audio output device according to the target address information, and can accurately determine the target audio signal from the audio signal in the first audio output device according to the target audio identifier, so as to accurately output the target audio signal (i.e., the audio signal required by the user) to the second audio output device, thereby improving the accuracy of the audio output device for outputting the audio signal required by the user.
The following will illustrate how the first audio output device plays the target multimedia file by taking the target multimedia file as an example, which includes a plurality of multimedia files.
Optionally, in this embodiment of the application, the display screen includes N screen portions, the target multimedia file includes N multimedia files, each screen portion corresponds to one multimedia file, one screen portion corresponds to at least one identification code information of the M identification code information, and N is a positive integer greater than 1.
It is understood that each of the plurality of split screen areas of the display screen is a screen portion.
In the embodiment of the present application, since the display screen of the first audio output device includes N screen portions, and a multimedia file is played in each screen portion, and identification code information is displayed on each screen portion, so that the user can trigger the second audio output device to send a request to the first audio output device based on certain identification code information displayed on a certain screen part according to the use requirement, so that the first audio output device can output an audio signal corresponding to the certain identification code information (i.e. a certain audio signal of the multimedia file played in the certain screen section) to the second audio output device, that is, the user can listen to a certain audio signal of the multimedia file played in a certain screen portion required by the user through the second audio output device, so that convenience of playing the audio by the audio output device can be improved.
Optionally, in this embodiment of the present application, with reference to fig. 1, as shown in fig. 5, before step 101, the audio output method provided in this embodiment of the present application may further include steps 201 to 204 described below.
In step 201, a first audio output device receives a first input from a user.
Further optionally, in this embodiment of the application, the user may input to the first audio output device, so that the first audio output device may open the "setup" application, and display an interface of the "setup" application, so that the user may perform the first input in the interface of the "setup" application.
Further optionally, in this embodiment of the application, the first input may specifically be a click input of a "split screen mode" option in an interface of the "setup" application by a user.
In step 202, the first audio output device divides the display screen into N screen portions in response to the first input.
It is understood that the first audio output device may turn on the "split screen module" function and split the display screen into N screen portions.
Further optionally, in this embodiment of the application, after the first audio output device divides the display screen into N screen portions, the first audio output device may display N adjustment controls in the display screen, where each adjustment control is respectively used to adjust a display parameter of one screen portion, so that a user may input any one of the N adjustment controls, and the first audio output device may adjust the display parameter of any one screen portion corresponding to any one adjustment control according to the input parameter input by the user.
Further optionally, in this embodiment of the application, the display parameter may include at least one of the following: display location, display parameters, etc.
Step 203, the first audio output device receives a second input of the user.
Further optionally, in this embodiment of the application, the second input may specifically include N sub-inputs.
Further optionally, in this embodiment of the application, for each sub-input in the N sub-inputs, one sub-input may specifically be a selection input in which the user triggers one screen portion to display multiple identifiers of multiple multimedia files and one identifier in the multiple identifiers.
In step 204, the first audio output device responds to the second input and plays N multimedia files in the N screen portions, respectively.
It is understood that the first audio output device may play N image signals of N multimedia files, respectively, in the N screen sections, to play N multimedia files, respectively, in the N screen sections.
In this embodiment of the application, if N users desire to view a plurality of multimedia files through the first audio output device, the users (i.e., users of the N users) may perform a first input to the first audio output device, so that the first audio output device may split the display screen into N screen portions, and thus, the users may perform a second input to the first audio output device, so that the first audio output device may play the N multimedia files in the N screen portions, respectively, so that the N users may view the N multimedia files through the first audio output device, that is, the users may view different multimedia files through one audio output device.
In the embodiment of the application, the display screen can be divided into N screen portions by the first audio output device according to the input of the user, and N multimedia files are respectively played in the N screen portions, that is, the first audio output device can simultaneously play a plurality of multimedia files, but not only can play a certain multimedia file, so that different users can trigger the first audio output device to play different multimedia files in different screen portions according to the use requirements, so that different multimedia files can be simultaneously watched through one audio output device, but not all users can simultaneously watch one multimedia file through one audio output device, and therefore, the convenience of the audio output device in playing the multimedia files can be improved.
Optionally, in this embodiment of the present application, with reference to fig. 1, as shown in fig. 6, after the step 102, the audio output method provided in this embodiment of the present application may further include the following step 301.
Step 301, the first audio output device receives a switching instruction sent by the second audio output device, switches the target multimedia file into a first multimedia file according to the switching instruction, plays the first multimedia file in the display screen, and displays X pieces of identification code information on the display screen.
In this embodiment of the application, the switching instruction includes address information of the first multimedia file; the X pieces of identification code information are used for indicating X pieces of audio signals of the first multimedia file.
Further optionally, in this embodiment of the application, after the first audio output device outputs the target audio signal to the second audio output device, the first audio output device may send, to the second audio output device, address information of all multimedia files included in the first audio output device through the first network, so that the second audio output device may display the address information of all multimedia files, and send a switch instruction to the first audio output device according to address information of the first multimedia file in the address information of all multimedia files by the user.
Further optionally, in this embodiment of the application, the first audio output device may play an image signal of the first multimedia file in the display screen, and display X pieces of identification code information in a floating manner on the display screen.
In the embodiment of the application, when the user needs to watch other multimedia files, the user can directly trigger the second audio output device to send the switching instruction to the first audio output device, so that the first audio output device can directly switch the played multimedia files into the multimedia files required by the user, and X pieces of identification code information of the multimedia files required by the user are displayed on the display screen, and the user does not need to perform multiple operations, so that the operation of the user can be simplified, and the efficiency of the audio output device for playing the multimedia files can be improved.
It should be noted that, in the audio output method provided in the embodiment of the present application, the execution main body may be an audio output device, or a control module in the audio output device for executing the audio output method. In the embodiment of the present application, an audio output device is taken as an example to execute an audio output method, and a device of the audio output method provided in the embodiment of the present application is described.
Fig. 7 shows a schematic diagram of a possible structure of an audio output device referred to in the embodiments of the present application, where the audio output device is a first audio output device. As shown in fig. 7, the audio output device 60 may further include: a display module 61, a receiving module 62 and an output module 63.
The display module 61 displays M pieces of identification code information on the display screen of the first audio output device under the condition that the target multimedia file is played on the display screen, wherein each piece of identification code information is used for indicating an audio signal of the target multimedia file. And the receiving module 62 receives the target request sent by the second audio output device. And an output module 63, configured to output a target audio signal of the target multimedia file to the second audio output device according to the target request received by the receiving module 63. Wherein the target request is transmitted by the second audio output device based on target identification code information among the M pieces of identification code information, the target identification code information indicating the target audio signal; m is a positive integer.
In one possible implementation, one identification code information includes at least one of: the audio identification is used for indicating an audio signal of the target multimedia file, and the address information is used for indicating the access address of the target multimedia file.
In a possible implementation manner, the target identification code information includes a target audio identification and target address information. The audio output device 60 provided in the embodiment of the present application may further include: and determining a module. The determining module is used for determining a target multimedia file from at least one multimedia file of the first audio output device according to the target address information; and determining the target audio signal from the M audio signals of the target multimedia file according to the target audio identifier. The output module 63 is specifically configured to output the target audio signal determined by the determining module to the second audio output device.
In a possible implementation manner, the receiving module 62 is further configured to receive a switching instruction sent by the second audio output device. The audio output device 60 provided in the embodiment of the present application may further include: the device comprises a switching module and a playing module. The switching module is configured to switch the target multimedia file to the first multimedia file according to the switching instruction received by the receiving module 62. And the playing module is used for playing the first multimedia file switched by the switching module in the display screen. The display module 61 is further configured to display the X identification code information on the display screen. Wherein, the switching instruction comprises the address information of the first multimedia file; the X identification information is used to indicate X audio signals of the first multimedia file.
In a possible implementation manner, the display screen includes N screen portions, the target multimedia file includes N multimedia files, each screen portion corresponds to one multimedia file, one screen portion corresponds to at least one identification code information of the M identification code information, and N is a positive integer greater than 1. The receiving module 62 is further configured to receive a first input from a user. The display module 61 is further configured to split the display screen into N screen portions in response to the first input received by the receiving module 62. The receiving module 62 is further configured to receive a second input from the user. The display module 61 is further configured to play N multimedia files in the N screen portions, respectively, in response to a second input received by the receiving module 62.
The audio output device provided by the embodiment of the application can be used for outputting the audio data to the first audio output device, displaying M pieces of identification code information corresponding to the M pieces of audio signals of the certain multimedia file on a display screen, so that the user can trigger the second audio output device to send a request to the first audio output device based on certain identification code information according to the use requirement, so that the first audio output means can output the audio signal indicated by the certain identification code information to the second audio output means, thus, the user can listen to the audio signal required by the user (i.e. the audio signal indicated by the certain identification code information) through the second audio output device, the first audio output device can output the audio signal required by the user, and the first audio output device can not only output a certain audio signal, so that the convenience of playing the audio by the audio output device can be improved.
The audio output 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 output 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 output device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 6, and is not described herein again to avoid repetition.
Optionally, as shown in fig. 8, an electronic device 70 is further provided in this embodiment of the present application, and includes a processor 72, a memory 71, and a program or an instruction stored in the memory 71 and executable on the processor 72, where the program or the instruction is executed by the processor 72 to implement each process of the foregoing audio output method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device 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 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption 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 display unit 106 is configured to display M pieces of identification code information on a display screen of the first electronic device under the condition that the target multimedia file is played in the display screen, where each piece of identification code information is used to indicate an audio signal of the target multimedia file.
And the user input unit 107 is used for receiving the target request sent by the second electronic equipment.
And the radio frequency unit 101 is configured to output a target audio signal of the target multimedia file to the second electronic device according to the target request.
The target request is sent by the second electronic device based on target identification code information in the M pieces of identification code information, and the target identification code information is used for indicating a target audio signal; m is a positive integer.
According to the electronic device provided by the embodiment of the application, because the first electronic device can display the M pieces of identification code information corresponding to the M pieces of audio signals of a certain multimedia file on the display screen under the condition of playing the certain multimedia file, a user can trigger the second electronic device to send a request to the first electronic device based on certain identification code information according to a use requirement, so that the first electronic device can output the audio signals indicated by the certain identification code information to the second electronic device, and thus, the user can listen to the audio signals required by the user (namely, the audio signals indicated by the certain identification code information) through the second electronic device, namely, the electronic device can output the audio signals required by the user, but not only can output a certain audio signal, and therefore, the convenience of playing audio by the electronic device can be improved.
Optionally, in this embodiment of the application, the target identification code information includes a target audio identifier and target address information.
The processor 110 is configured to determine a target multimedia file from at least one multimedia file of the first electronic device according to the target address information; and determining the target audio signal from the M audio signals of the target multimedia file according to the target audio identifier.
The radio frequency unit 101 is specifically configured to output a target audio signal to the second electronic device.
In the embodiment of the application, the first electronic device can accurately determine the target multimedia file from the multimedia file in the first electronic device according to the target address information, and can accurately determine the target audio signal from the audio signal in the first electronic device according to the target audio identifier, so as to accurately output the target audio signal (i.e., the audio signal required by the user) to the second electronic device, and therefore, the accuracy of the electronic device for outputting the audio signal required by the user can be improved.
Optionally, in this embodiment of the application, the user input unit 107 is further configured to receive a switching instruction sent by the second electronic device.
The processor 110 is further configured to switch the target multimedia file to a first multimedia file according to the switching instruction, play the first multimedia file in the display screen, and display X pieces of identification code information on the display screen.
Wherein, the switching instruction comprises address information of the first multimedia file; the X pieces of identification code information are used for indicating X pieces of audio signals of the first multimedia file.
In the embodiment of the application, when the user needs to watch other multimedia files, the user can directly trigger the second electronic device to send the switching instruction to the first electronic device, so that the first electronic device can directly switch the played multimedia files into the multimedia files required by the user, and X pieces of identification code information of the multimedia files required by the user are displayed on the display screen, and the user does not need to perform multiple operations, so that the operation of the user can be simplified, and the efficiency of the electronic device for playing the multimedia files can be improved.
Optionally, in this embodiment of the application, the user input unit 107 is further configured to receive a first input of a user.
The display unit 106 is further configured to split the display screen into N screen portions in response to the first input.
The user input unit 107 is further configured to receive a second input from the user.
The processor 110 is further configured to play the N multimedia files in the N screen portions, respectively, in response to a second input.
In the embodiment of the application, because the first electronic device can display M identification code information corresponding to M audio signals of a certain multimedia file on the display screen under the condition of playing the certain multimedia file, the user can trigger the second electronic device to send a request to the first electronic device based on certain identification code information according to a use requirement, so that the first electronic device can output an audio signal indicated by the certain identification code information to the second electronic device, and thus, the user can listen to the audio signal required by the user (i.e., the audio signal indicated by the certain identification code information) through the second electronic device, that is, the electronic device can output the audio signal required by the user instead of only outputting a certain audio signal, and therefore, the convenience of playing audio by the electronic device can be improved.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 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 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 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. The memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
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 output 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 described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
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 output method embodiment, and can achieve the same technical effect, and is not described here again to avoid repetition.
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 is required to state 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 is 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, depending on the functionality 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 instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to 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 (12)

1. An audio output method applied to a first electronic device, the method comprising:
under the condition that a target multimedia file is played in a display screen of the first electronic equipment, displaying M pieces of identification code information on the display screen, wherein each piece of identification code information is respectively used for indicating an audio signal of the target multimedia file;
receiving a target request sent by second electronic equipment, and outputting a target audio signal of the target multimedia file to the second electronic equipment according to the target request;
wherein the target request is sent by the second electronic device based on target identification code information in the M pieces of identification code information, and the target identification code information is used for indicating the target audio signal; m is a positive integer.
2. The method of claim 1, wherein an identification code information comprises at least one of: the audio identification is used for indicating an audio signal of the target multimedia file, and the address information is used for indicating an access address of the target multimedia file.
3. The method of claim 2, wherein the target identification code information comprises target audio identification and target address information;
the outputting a target audio signal of the target multimedia file to the second electronic device according to the target request includes:
determining the target multimedia file from at least one multimedia file of the first electronic equipment according to the target address information;
and according to the target audio identifier, determining the target audio signal from the M audio signals of the target multimedia file, and outputting the target audio signal to the second electronic equipment.
4. The method of claim 3, wherein after outputting the target audio signal to the second electronic device, the method further comprises:
receiving a switching instruction sent by the second electronic equipment, switching the target multimedia file into a first multimedia file according to the switching instruction, playing the first multimedia file in the display screen, and displaying X pieces of identification code information on the display screen;
wherein the switching instruction comprises address information of the first multimedia file; the X pieces of identification code information are used for indicating X pieces of audio signals of the first multimedia file.
5. The method according to any one of claims 1 to 4, wherein the display screen comprises N screen portions, the target multimedia file comprises N multimedia files, each screen portion corresponds to one multimedia file, one screen portion corresponds to at least one identification code information of the M identification code information, and N is a positive integer greater than 1;
under the condition that the target multimedia file is played in the display screen of the first electronic device, before the M pieces of identification code information are displayed on the display screen, the method further comprises the following steps:
receiving a first input of a user;
in response to the first input, split the display screen into the N screen portions;
receiving a second input of the user;
in response to the second input, the N multimedia files are played in the N screen portions, respectively.
6. An audio output device, wherein the audio output device is a first audio output device, and wherein the first audio output device comprises: the device comprises a display module, a receiving module and an output module;
the display module is used for displaying M pieces of identification code information on a display screen of the first audio output device under the condition that a target multimedia file is played in the display screen, wherein each piece of identification code information is respectively used for indicating an audio signal of the target multimedia file;
the receiving module is used for receiving a target request sent by the second audio output device;
the output module is used for outputting a target audio signal of the target multimedia file to the second audio output device according to the target request received by the receiving module;
wherein the target request is transmitted by the second audio output device based on target identification code information of the M pieces of identification code information, the target identification code information being used for indicating the target audio signal; m is a positive integer.
7. The audio output device of claim 6, wherein one of the identification code information comprises at least one of: the audio identification is used for indicating an audio signal of the target multimedia file, and the address information is used for indicating an access address of the target multimedia file.
8. The audio output device of claim 7, wherein the target identification code information comprises a target audio identification and target address information;
the audio output device further includes: a determination module;
the determining module is used for determining the target multimedia file from at least one multimedia file of the first audio output device according to the target address information; determining the target audio signal from M audio signals of the target multimedia file according to the target audio identifier;
the output module is specifically configured to output the target audio signal determined by the determination module to the second audio output device.
9. The audio output device of claim 8, wherein the receiving module is further configured to receive a switching instruction sent by the second audio output device;
the audio output device further includes: the device comprises a switching module and a playing module;
the switching module is used for switching the target multimedia file into a first multimedia file according to the switching instruction received by the receiving module;
the playing module is used for playing the first multimedia file switched by the switching module in the display screen;
the display module is also used for displaying X pieces of identification code information on the display screen;
wherein the switching instruction comprises address information of the first multimedia file; the X pieces of identification code information are used for indicating X pieces of audio signals of the first multimedia file.
10. The audio output device according to any one of claims 6 to 9, wherein the display screen includes N screen sections, the target multimedia file includes N multimedia files, each screen section corresponds to one multimedia file, one screen section corresponds to at least one identification code information of the M identification code information, N is a positive integer greater than 1;
the receiving module is further used for receiving a first input of a user;
the display module is further configured to split the display screen into the N screen portions in response to the first input received by the receiving module;
the receiving module is further used for receiving a second input of the user;
the display module is further configured to play the N multimedia files in the N screen portions, respectively, in response to the second input received by the receiving module.
11. 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 output method of any of claims 1 to 5.
12. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the audio output method according to any one of claims 1 to 5.
CN202011171904.2A 2020-10-28 2020-10-28 Audio output method and device and electronic equipment Pending CN112286480A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011171904.2A CN112286480A (en) 2020-10-28 2020-10-28 Audio output method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011171904.2A CN112286480A (en) 2020-10-28 2020-10-28 Audio output method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112286480A true CN112286480A (en) 2021-01-29

Family

ID=74373548

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011171904.2A Pending CN112286480A (en) 2020-10-28 2020-10-28 Audio output method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112286480A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685584A (en) * 2011-03-16 2012-09-19 鸿富锦精密工业(深圳)有限公司 Set-top box, earphones and video broadcast method
US20170140190A1 (en) * 2015-06-09 2017-05-18 Shenzhen Skyworth-Rgb Electronic Co., Ltd Multimedia service pushing method and system based on two-dimensional code

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685584A (en) * 2011-03-16 2012-09-19 鸿富锦精密工业(深圳)有限公司 Set-top box, earphones and video broadcast method
US20170140190A1 (en) * 2015-06-09 2017-05-18 Shenzhen Skyworth-Rgb Electronic Co., Ltd Multimedia service pushing method and system based on two-dimensional code

Similar Documents

Publication Publication Date Title
CN111049663B (en) Method, electronic device and medium for creating topic group
CN111913628B (en) Sharing method and device and electronic equipment
WO2022121790A1 (en) Split-screen display method and apparatus, electronic device, and readable storage medium
CN112486444B (en) Screen projection method, device, equipment and readable storage medium
CN113596555B (en) Video playing method and device and electronic equipment
CN112416200A (en) Display method, display device, electronic equipment and readable storage medium
CN112099714B (en) Screenshot method and device, electronic equipment and readable storage medium
CN112148178A (en) Application switching method and device, electronic equipment and readable storage medium
CN112148167A (en) Control setting method and device and electronic equipment
CN107948756B (en) Video synthesis control method and device and corresponding terminal
CN112817555B (en) Volume control method and volume control device
CN112269509B (en) Information processing method and device and electronic equipment
CN111694490B (en) Setting method and device and electronic equipment
US20230276079A1 (en) Live streaming room page jump method and apparatus, live streaming room page return method and apparatus, and electronic device
WO2023030292A1 (en) Multimedia file playback method and apparatus
CN111050223A (en) Bullet screen information processing method and electronic equipment
CN113325980B (en) Control method, control device, electronic equipment and readable storage medium
CN112637409B (en) Content output method and device and electronic equipment
CN112269510B (en) Information processing method and device and electronic equipment
CN112286480A (en) Audio output method and device and electronic equipment
CN113992786A (en) Audio playing method and device
CN113807831A (en) Payment method and device
CN113190162A (en) Display method, display device, electronic equipment and readable storage medium
CN113126756A (en) Application interaction method and device
CN112383666A (en) Content sending method and device and electronic equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210129