CN110597478A - Audio output method and electronic equipment - Google Patents

Audio output method and electronic equipment Download PDF

Info

Publication number
CN110597478A
CN110597478A CN201910810327.8A CN201910810327A CN110597478A CN 110597478 A CN110597478 A CN 110597478A CN 201910810327 A CN201910810327 A CN 201910810327A CN 110597478 A CN110597478 A CN 110597478A
Authority
CN
China
Prior art keywords
output mode
audio output
screen
input
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
CN201910810327.8A
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 Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910810327.8A priority Critical patent/CN110597478A/en
Publication of CN110597478A publication Critical patent/CN110597478A/en
Priority to PCT/CN2020/111445 priority patent/WO2021037074A1/en
Pending legal-status Critical Current

Links

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/162Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
    • 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

Abstract

The embodiment of the invention provides an audio output method and electronic equipment, relates to the technical field of communication, and aims to solve the problem that the effect of outputting a plurality of audio signals by the conventional electronic equipment is poor. The method is applied to an electronic device comprising a first screen and a second screen, and comprises the following steps: generating a first audio signal corresponding to display content of a first screen and a second audio signal corresponding to display content of a second screen; outputting a first audio signal according to a first audio output mode, and outputting a second audio signal according to a second audio output mode; the first audio output mode and the second audio output mode are different audio output modes.

Description

Audio output method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an audio output method and electronic equipment.
Background
With the continuous development of terminal technology, the application of electronic equipment is more and more extensive, and the demand of users for the convenience of using multi-screen electronic equipment is increasingly increased. Taking a dual-screen electronic device as an example, a user may perform different operations through the dual-screen, for example, the user may watch videos or listen to music through different screens.
However, in the case where different screens of the electronic device play videos simultaneously, audio signals of the videos played by the different screens may be mixed with each other, so that the sound heard by the user is the mixed audio. Thus, the electronic apparatus is caused to output a plurality of audio signals less effectively.
Disclosure of Invention
The embodiment of the invention provides an audio output method and electronic equipment, and aims to solve the problem that the effect of outputting a plurality of audio signals by the existing electronic equipment is poor.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an audio output method, which is applied to an electronic device including a first screen and a second screen, and includes: generating a first audio signal corresponding to display content of a first screen and a second audio signal corresponding to display content of a second screen; outputting a first audio signal according to a first audio output mode, and outputting a second audio signal according to a second audio output mode; the first audio output mode and the second audio output mode are different audio output modes.
In a second aspect, an embodiment of the present invention provides an electronic device having a first screen and a second screen, the electronic device including a generation module and an output module. The generating module is used for generating a first audio signal and a second audio signal, wherein the first audio signal corresponds to the display content of the first screen, and the second audio signal corresponds to the display content of the second screen. The output module is used for outputting the first audio signal generated by the generation module according to the first audio output mode and outputting the second audio signal generated by the generation module according to the second audio output mode; the first audio output mode and the second audio output mode are different audio output modes.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and when executed by the processor, the electronic device implements the steps of the audio output method in the first aspect.
In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the audio output method in the first aspect.
In the embodiment of the present invention, a first audio signal corresponding to display content of a first screen of an electronic device and a second audio signal corresponding to display content of a second screen of the electronic device may be generated; outputting a first audio signal according to a first audio output mode, and outputting a second audio signal according to a second audio output mode; the first audio output mode and the second audio output mode are different audio output modes. Through the scheme, different screens of the electronic equipment are correspondingly provided with different audio output modes, so that a plurality of audio signals can be respectively output according to different audio output modes under the condition that videos or audios are played on the screens. Therefore, under the condition that the multi-screen electronic equipment is independently operated, the multiple screens correspond to different audio output modes, and the effect that noise is generated due to the fact that multiple sound data are simultaneously externally played in the prior art is avoided.
Drawings
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an audio output method according to an embodiment of the present invention;
FIG. 3 is a second schematic diagram of an audio output method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an interface applied to an audio output method according to an embodiment of the present invention;
FIG. 5 is a third schematic diagram illustrating an audio output method according to an embodiment of the present invention;
FIG. 6 is a second schematic interface diagram of an audio output method according to an embodiment of the present invention;
FIG. 7 is a fourth schematic diagram illustrating an audio output method according to an embodiment of the present invention;
FIG. 8 is a third schematic interface diagram of an application of the audio output method according to the embodiment of the present invention;
FIG. 9 is a fifth exemplary diagram illustrating an audio output method according to an embodiment of the present invention;
FIG. 10 is a fourth schematic diagram of an interface applied by the audio output method according to the embodiment of the present invention;
FIG. 11 is a fifth exemplary diagram of an interface applied by the audio output method according to the embodiment of the present invention;
fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 13 is a second schematic structural diagram of an electronic device according to an embodiment of the invention;
fig. 14 is a third schematic structural diagram of an electronic apparatus according to an embodiment of the invention;
fig. 15 is a fourth schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 16 is a hardware schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
The term "and/or" herein is an association relationship describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, a/B denotes a or B.
The terms "first" and "second," and the like, in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first input and the second input, etc. are for distinguishing different inputs, rather than for describing a particular order of inputs.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the embodiments of the present invention, unless otherwise specified, "a plurality" means two or more, for example, a plurality of processing units means two or more processing units, or the like; plural elements means two or more elements, and the like.
The embodiment of the invention provides an audio output method and electronic equipment, which can generate a first audio signal and a second audio signal, wherein the first audio signal corresponds to the display content of a first screen, and the second audio signal corresponds to the display content of a second screen; outputting a first audio signal according to a first audio output mode, and outputting a second audio signal according to a second audio output mode; the first audio output mode and the second audio output mode are different audio output modes. Through the scheme, different screens of the electronic equipment are correspondingly provided with different audio output modes, so that a plurality of audio signals can be respectively output according to different audio output modes under the condition that videos or audios are played on the screens. Therefore, under the condition that the multi-screen electronic equipment is independently operated, the multiple screens respectively correspond to different audio output modes, and the effect that noise is generated due to the fact that multiple sound data are simultaneously externally played in the prior art is avoided.
The electronic device in the embodiment of the present invention may be an electronic 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 invention are not limited in particular.
The following describes a software environment to which the audio output method provided by the embodiment of the present invention is applied, by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the audio output method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the audio output method may operate based on the android operating system shown in fig. 1. Namely, the processor or the electronic device can implement the audio output method provided by the embodiment of the invention by running the software program in the android operating system.
The electronic equipment in the embodiment of the invention can be a mobile terminal or a non-mobile terminal. For example, the mobile terminal may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile terminal may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiment of the present invention is not limited in particular.
An execution main body of the audio output method provided in the embodiment of the present invention may be the electronic device, or may also be a functional module and/or a functional entity capable of implementing the audio output method in the electronic device, which may be determined specifically according to actual use requirements, and the embodiment of the present invention is not limited. The following takes an electronic device as an example to exemplarily explain an audio output method provided by the embodiment of the present invention.
An audio output method provided by an embodiment of the present invention is exemplarily described below with reference to the drawings.
As shown in fig. 2, an embodiment of the present invention provides an audio output method, which may include steps 200 to 201 described below.
Step 200, the electronic device generates a first audio signal and a second audio signal, wherein the first audio signal corresponds to the display content of the first screen, and the second audio signal corresponds to the display content of the second screen.
Wherein, assuming that the electronic device includes at least two screens, the first screen and the second screen are different screens of the electronic device. The electronic device may be a foldable screen type electronic device, or may be any other possible multi-screen electronic device, which may be determined according to actual use requirements, and the embodiment of the present invention is not limited.
In the embodiment of the present invention, assuming that the electronic device may support multiple audio output modes, for example, outputting an audio signal through a speaker, outputting an audio signal through a wired headset, and outputting an audio signal through a wireless headset, each screen of the electronic device may correspond to one audio output mode. Taking a double-sided screen as an example, the first screen and the second screen of the electronic device may respectively correspond to a first audio output mode and a second audio output mode, where the first audio output mode and the second audio output mode are different audio output modes.
The wireless headset may be a bluetooth headset, an infrared headset, or any other headset meeting practical use requirements, and may be determined specifically according to practical use requirements, which is not limited in the embodiments of the present invention.
It is understood that the above audio output modes include, but are not limited to, the above listed audio output modes, and may also include any other possible audio output modes, which may be determined according to actual use requirements, and the embodiment of the present invention is not limited.
The first audio signal is an audio signal corresponding to the first screen, and specifically refers to an audio signal when the first screen displays an operation interface of a video application (e.g., a video player) and plays a video, or refers to an audio signal when the first screen displays an operation interface of an audio application (e.g., an audio player) and plays an audio. Similarly, the first audio signal, that is, the audio signal corresponding to the second screen, specifically refers to an audio signal when the second screen displays an operation interface of a video application (for example, a video player) and plays a video, or refers to an audio signal when the second screen displays an operation interface of an audio application (for example, an audio player) and plays an audio.
In the embodiment of the invention, under the condition that the first screen and the second screen of the electronic equipment simultaneously play videos, the electronic equipment can determine the audio output mode aiming at the first screen and the audio output mode aiming at the second screen according to the selection input of the audio output mode aiming at different screens by a user, and then the electronic equipment outputs audio signals according to the respective corresponding audio output modes of the first screen and the second screen so as to avoid mutual interference between the audio signals.
It should be noted that, the two screens play video simultaneously as an exemplary illustration, and it is understood that the embodiments of the present invention are not limited thereto, and for example, two screens play audio simultaneously, or one screen plays video and the other screen plays audio. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Step 201, the electronic device outputs a first audio signal according to a first audio output mode, and outputs a second audio signal according to a second audio output mode.
In the embodiment of the present invention, after generating the first audio signal and the second audio signal, the electronic device may output the first audio signal corresponding to the first screen according to the first audio output mode, and output the second audio signal corresponding to the second screen according to the second audio output mode. That is, the electronic device may output the audio signal according to the audio output mode corresponding to each of the first screen and the second screen, so that mutual interference of the signals may be avoided.
For example, assuming that the audio output mode for the first screen is a speaker and the audio output mode for the second screen is a wired earphone, the electronic device may output an audio signal corresponding to the first screen through the speaker and output an audio signal corresponding to the second screen through the wired earphone, so that mutual interference between the audio signal corresponding to the first screen and the audio signal corresponding to the second screen during output may be avoided.
According to the audio output method provided by the embodiment of the invention, a first audio signal and a second audio signal can be generated, wherein the first audio signal corresponds to the display content of the first screen, and the second audio signal corresponds to the display content of the second screen; outputting a first audio signal according to a first audio output mode, and outputting a second audio signal according to a second audio output mode; the first audio output mode and the second audio output mode are different audio output modes. Through the scheme, different screens of the electronic equipment are correspondingly provided with different audio output modes, so that a plurality of audio signals can be respectively output according to different audio output modes under the condition that videos or audios are played on the screens. Therefore, under the condition that the multi-screen electronic equipment is independently operated, the multiple screens respectively correspond to different audio output modes, and the effect that noise is generated due to the fact that multiple sound data are simultaneously externally played in the prior art is avoided.
It should be noted that, in the embodiment of the present invention, the electronic device may determine the first audio input mode for the first screen and the second audio output mode for the second screen in different manners. The following describes a specific implementation manner of determining the audio output manner by the electronic device through the first manner, the second manner and the third manner, respectively.
In a first mode
Optionally, with reference to fig. 2, as shown in fig. 3, before the step 200, the audio output method provided by the embodiment of the present invention may further include the following steps 202 to 205.
Step 202, the electronic device receives a first input of a user.
Optionally, in this embodiment of the present invention, the first input may be a sliding input of the user on the first screen (for example, an input of sliding on a single finger), or may also be a combined input of the user on the first screen (for example, an input of pressing a single finger long and sliding upwards), or may also be any other input that meets an actual use requirement (for example, an input on the first screen and a combined input on a physical key), which may specifically be determined according to the actual use requirement, and this embodiment of the present invention is not limited.
Step 203, the electronic device responds to the first input, and displays a first output mode set, wherein the first output mode set is used for setting an audio output mode for the first screen.
The first output mode set comprises at least two options, and each option is used for indicating an audio output mode.
In the embodiment of the invention, after the user performs the first input on the first screen, the electronic device may display, on the first screen, a first output mode set for setting an audio output mode of the first screen.
Optionally, the electronic device may display the first output mode set in a floating window manner, or may also display in other display manners, which may be specifically determined according to actual use requirements, and the embodiment of the present invention is not limited. The electronic equipment can respond to the dragging input of the user to the floating window and manually adjust the floating window to a proper position; the electronic device may adjust a display size of the floating window in response to a user finger-stretch input or finger-pinch input to the floating window; the electronic device may close the floating window in response to a long press input by the user to the floating window.
The at least two options in the first output mode set can include a first option, and the first option is used for indicating an audio output mode which is preset for the second screen. It should be noted that the audio output mode of the second screen may be preset by a user, or may be set by default by a system, and may be determined according to actual use requirements.
Optionally, the first option may be grayed out and may not be selected, so that the user may know that the corresponding audio output mode has been preset for the second screen, and further select an audio output mode other than the audio output mode for the second screen as the audio output mode for the first screen. In this way, the user can operate on the first screen to trigger setting of the audio output mode for the first screen.
Optionally, in this embodiment of the present invention, the electronic device may respond to the first input, and determine whether the second screen is in a video playing state, and if the second screen is in a non-video playing state, the electronic device may display a prompt message on the first screen: "another screen does not play video, and the current screen can arbitrarily select audio output mode".
Step 204, the electronic device receives a second input of the user on the first output mode set.
Optionally, in this embodiment of the present invention, the second input may be a click input (for example, a single click input or a double click input) of the user on any option in the first output mode set except the first option, or may be a slide input of the user on any option in the first output mode set except the first option, or may be any other input meeting an actual use requirement, which may be determined specifically according to the actual use requirement, and this embodiment of the present invention is not limited.
Step 205, the electronic device determines a first audio output mode in response to the second input.
In the first aspect, it is assumed that the second audio input mode for the second screen has been set in advance, and for example, the second audio output mode for the second screen is predetermined as the audio output mode indicated by the first option. If the user selects any other option (called a second option) in the first output mode set except the first option, the electronic equipment determines the audio output mode indicated by the second option as the first audio output mode for the first screen. Therefore, different audio output modes can be set for different screens of the electronic equipment, so that mutual interference between audio signals can be avoided under the condition that the two screens play the audio signals simultaneously.
In the second aspect, it is assumed that the second audio output manner for the second screen is determined in advance as the audio output manner indicated by the first option, and the first audio output manner for the first screen is determined as the audio output manner indicated by the second option as in the first aspect. Then, if the user can select any other option in the first output mode set except the first option and the second option, the electronic device switches the audio output mode for the first screen to the audio output mode indicated by the currently selected option. Therefore, different audio output modes can be set for different screens of the electronic equipment, so that mutual interference between audio signals can be avoided under the condition that the two screens play the audio signals simultaneously.
It should be noted that the execution order of steps 202 to 205 and 200 may not be limited by the embodiment of the present invention. That is, in the embodiment of the present invention, step 202 to step 205 may be performed first, and then step 200 may be performed; step 200 can be executed first, and then step 202-step 205 can be executed; step 202-step 205 and step 200 may also be performed simultaneously. It is understood that the above-mentioned fig. 3 is exemplified by the steps 202 to 205 being executed first and then the step 200 being executed.
Referring to fig. 4, a specific implementation of the above steps 202-205 is exemplarily described.
Assuming that the first screen 40 of the electronic device currently displays the video playing interface 41, as shown in (a) of fig. 4, if the user makes a first input on the first screen 40, the electronic device may display a first set of output modes 42 for setting audio output modes for the first screen, including a "speaker" option, a "wired headset" option, a "wireless headset" option, and the like, on the first screen 40, as shown in (b) of fig. 4. The wired earphone option is displayed in a grey-out mode and cannot be selected, the audio output mode of the second screen is set to be output through the wired earphone in advance, and the user is prompted to select other options except the wired earphone option. As shown in (c) of fig. 4, if the user selects the "speaker" option, the electronic device may determine the audio output mode of the first screen 40 as: outputting through a loudspeaker; and determining an audio output manner of the second screen as: and outputting through a wired earphone. Therefore, different audio output modes can be set for the first screen and the second screen, and mutual interference between audio signals can be avoided under the condition that the two screens play the audio signals simultaneously.
Mode two
Optionally, with reference to fig. 2, as shown in fig. 5, before the step 200, the audio output method provided by the embodiment of the present invention may further include the following steps 206 to 209.
Step 206, the electronic device receives a third input from the user.
Optionally, in this embodiment of the present invention, the third input may be a sliding input of the user on the first screen (for example, an input of sliding on a double finger), or may also be a combined input of the user on the first screen (for example, an input of pressing a double finger long and sliding upwards), or may also be any other input that meets an actual use requirement (for example, an input on the first screen and a combined input on a physical key), which may specifically be determined according to the actual use requirement, and this embodiment of the present invention is not limited.
And step 207, the electronic device responds to the third input, and displays a second output mode set, wherein the second output mode set is used for setting an audio output mode for the second screen.
The second output mode set comprises at least two options, and each option is used for indicating an audio output mode.
In the embodiment of the present invention, after the user makes the third input on the first screen, the electronic device may display, on the first screen, the second output mode set for setting the audio output mode of the second screen.
Optionally, the electronic device may display the second output mode set in a floating window manner, or may also display in other display manners, which may be specifically determined according to actual use requirements, and the embodiment of the present invention is not limited. The electronic equipment can respond to the dragging input of the user to the floating window and manually adjust the floating window to a proper position; the electronic device may adjust a display size of the floating window in response to a user finger-stretch input or finger-pinch input to the floating window; the electronic device may close the floating window in response to a long press input by the user to the floating window.
And the at least two options in the second output mode set can comprise a third option, and the third option is used for indicating the preset audio output mode for the first screen. It should be noted that the audio output mode of the first screen may be preset by a user, or may be set by default by a system, and may be determined according to actual use requirements.
Optionally, the third option may be grayed out and may not be selected, so that the user may know that the corresponding audio output mode has been preset for the first screen, and further select an audio output mode other than the audio output mode for the first screen as the audio output mode for the second screen. Therefore, a user can operate on the first screen to trigger and set the audio output mode aiming at the second screen, the audio output mode of the other screen can be freely configured without turning over the electronic equipment, and the two screens can play videos at the same time without generating interference of audio signals.
And step 208, the electronic device receives a fourth input of the user on the second output mode set.
Optionally, in this embodiment of the present invention, the fourth input may be a click input (for example, a single click input or a double click input) of the user on any option in the second output mode set except for the third option, or may be a slide input of the user on any option in the second output mode set except for the third option, or may be any other input meeting an actual use requirement, which may be determined specifically according to the actual use requirement, and this embodiment of the present invention is not limited.
And step 209, the electronic device determines a second audio output mode in response to the fourth input.
In the first aspect, it is assumed that the first audio input mode for the first screen has been set in advance, and for example, the first audio output mode for the first screen is predetermined as the audio output mode indicated by the third option. If the user selects any one of the other options in the second output mode set (called a fourth option) except the third option, the electronic equipment determines the audio output mode indicated by the third option as the first audio output mode for the first screen. Therefore, different audio output modes can be set for different screens of the electronic equipment, so that mutual interference between audio signals can be avoided under the condition that the two screens play the audio signals simultaneously.
In the second aspect, it is assumed that the first audio output manner for the first screen is determined in advance as the audio output manner indicated by the third option, and the second audio output manner for the second screen is determined as the audio output manner indicated by the fourth option as in the above first aspect. If the user selects any one of the options in the second output mode set except the third option and the fourth option, the electronic equipment switches the audio output mode aiming at the second screen to the audio output mode indicated by the currently selected option. Therefore, different audio output modes can be set for different screens of the electronic equipment, so that mutual interference between audio signals can be avoided under the condition that the two screens play the audio signals simultaneously.
It should be noted that the execution order of steps 206 to 209 and step 200 may not be limited by the embodiment of the present invention. That is, in the embodiment of the present invention, step 206 to step 209 may be executed first, and then step 200 may be executed; step 200 can be executed first, and then step 206-step 209 can be executed; step 206-step 209 and step 200 may also be performed simultaneously. It is understood that the above-mentioned fig. 5 is an illustration of the step 200 being executed after the steps 206-209 are executed.
Referring to fig. 6, a specific implementation of the above steps 206-209 is exemplarily described.
Assuming that the first screen 40 of the electronic device currently displays the video playing interface 41, as shown in (a) of fig. 6, if the user makes a third input on the first screen 40, the electronic device may display a second set of output modes 43 for setting audio output modes for the second screen, including a "speaker" option, a "wired headset" option, a "wireless headset" option, and the like, on the first screen 40, as shown in (b) of fig. 6. The 'loudspeaker' option is grayed out and cannot be selected, and is used for indicating that the audio output mode of the first screen is preset to be output through the loudspeaker and prompting a user that other options except the 'loudspeaker' option can be selected. As shown in (c) of fig. 6, if the user selects the "wired headset" option, the electronic device may determine the audio output mode of the first screen as: outputting through a loudspeaker; and determining an audio output manner of the second screen as: and outputting through a wired earphone. Therefore, different audio output modes can be set for the first screen and the second screen, and mutual interference between audio signals can be avoided under the condition that the two screens play the audio signals simultaneously.
Mode III
Optionally, with reference to fig. 2, as shown in fig. 7, before the step 200, the audio output method provided by the embodiment of the present invention may further include the following steps 210 to 213.
In step 210, the electronic device receives a fifth input from the user.
Optionally, in this embodiment of the present invention, the fifth input may be a sliding input of the user on the first screen (for example, an input of sliding up the three fingers), or may also be a combined input of the user on the first screen (for example, an input of pressing the three fingers long and sliding up), or may also be any other input that meets an actual use requirement (for example, an input on the first screen and a combined input on a physical key), which may specifically be determined according to the actual use requirement, and this embodiment of the present invention is not limited.
And step 211, the electronic device displays a first output mode set and a second output mode set in response to a fifth input, wherein the first output mode set is used for setting an audio output mode for the first screen, and the second output mode set is used for setting an audio output mode for the second screen.
The first output mode set and the second output mode set respectively comprise at least two options, and each option is used for indicating an audio output mode.
In the embodiment of the invention, after the user makes the fifth input on the first screen, the electronic device may display, on the first screen, a first output mode set for setting an audio output mode of the first screen and a second output mode set for setting an audio output mode of the second screen. In this way, the user can operate on the first screen to trigger setting of the audio output mode for the first screen and the audio output mode for the second screen.
Step 212, the electronic device receives a sixth input of the user on the first output mode set and/or the second output mode set.
Optionally, in the embodiment of the present invention, the sixth input may be a click input, or may be a slide input, or may be any other input meeting the actual use requirement, which may be determined specifically according to the actual use requirement, and the embodiment of the present invention is not limited.
In the first case: the sixth input may be an input of a user in different options in the first output mode set and the second output mode set, assuming that neither the first audio output mode for the first screen nor the second audio output mode for the second screen is set.
In the second case: the sixth input may be an input from the user to any one of the first set of output modes, assuming that the second audio output mode for the second screen is predetermined as the audio output mode indicated by the first option.
In the third case: the sixth input may be an input from the user at any one of the second set of output modes, assuming that the first audio output mode for the first screen is predetermined as the audio output mode indicated by the third option.
Step 213, the electronic device determines the first audio output mode and the second audio output mode in response to the sixth input.
For the first case, taking the user inputs the first output mode set first and then inputs the second output mode set as an example, if the user selects any option in the first output mode set (referred to as a fifth option) first and then selects any option except for the fifth option in the second output mode set (referred to as a sixth option), the electronic device determines the audio output mode indicated by the fifth option as the first audio output mode for the first screen and determines the audio output mode indicated by the sixth option as the second audio output mode for the second screen.
For the first case, taking the example that the user inputs the second output mode set first and then inputs the first output mode set, if the user selects any option in the second output mode set (referred to as a seventh option) first and then selects any option except the seventh option in the first output mode set (referred to as an eighth option), the electronic device determines the audio output mode indicated by the seventh option as the second audio output mode for the second screen and determines the audio output mode indicated by the eighth option as the first audio output mode for the first screen.
In the second case, assuming that the second audio output mode for the second screen is set in advance, the user may make a selection input for any one of the options in the first output mode set. For example, in a case where the audio output manner for the second screen has been set to "output audio signals through a speaker", it is allowed to set the audio output manner for the first screen to "output audio signals through a speaker", and to automatically switch the audio output manner for the second screen to any other audio output manner than "output audio signals through a speaker" (for example, "output audio signals through wired headphones").
For the third case, assuming that the first audio output mode for the first screen is already set in advance, the user may make a selection input for any one of the options in the second output mode set. For example, in a case where the audio output manner for the first screen has been set to "output audio signals through wired headphones", it is allowed to set the audio output manner for the second screen to "output audio signals through wired headphones", and to automatically switch the audio output manner for the first screen to any other audio output manner than "output audio signals through wired headphones" (for example, "output audio signals through bluetooth headphones").
So, through this scheme, can set up different audio output modes to electronic equipment's different screens to can avoid under the condition that two screens broadcast audio signal simultaneously, mutual interference between the audio signal.
It should be noted that the execution order of steps 210 to 213 and 200 may not be limited by the embodiment of the present invention. That is, in the embodiment of the present invention, step 210 to step 213 may be performed first, and then step 200 may be performed; step 200 may be performed first, and then step 210 to step 213 may be performed; step 210-step 213 and step 200 may also be performed simultaneously. It is understood that the above-mentioned fig. 7 is exemplified by performing step 210-step 213 first and then performing step 200.
Referring to fig. 8, a specific implementation of the above steps 210-213 is exemplarily described.
Assuming that the first screen 40 of the electronic device currently displays the video playing interface 41, as shown in (a) of fig. 8, if a user makes an input on the first screen 40, the electronic device may display a first set of output modes 42 for setting an audio output mode for the first screen and a second set of output modes 43 for setting an audio output mode for the second screen, each including a "speaker" option, a "wired headset" option, a "wireless headset" option, and the like, on the first screen 40, as shown in (b) of fig. 8. After the user selects input for the respective options of the first set of output manners and the second set of output manners, the electronic device highlights (e.g., fills in dots) the option selected by the user. Specifically, in the first set of output modes 42, a "speaker" option is selected for indicating that the audio output mode of the first screen is set to be output through a speaker; in the second output mode set 43, a "wired headset" option is selected for indicating that the audio output mode of the second screen is set to be output through wired headsets. Therefore, different audio output modes can be set for the first screen and the second screen, and mutual interference between audio signals can be avoided under the condition that the two screens play the audio signals simultaneously.
In conjunction with (b) in fig. 8, as shown in (c) in fig. 8, if the user selects the "wireless headset" option, the electronic device may determine the audio output mode of the first screen as: outputting through a wireless earphone; and determining an audio output manner of the second screen as: and outputting through a wired earphone. Therefore, different audio output modes can be set for the first screen and the second screen, and mutual interference between audio signals can be avoided under the condition that the two screens play the audio signals simultaneously.
In conjunction with (b) in fig. 8, as shown in (d) in fig. 8, if the user selects the "wired headset" option, the electronic device may determine the audio output mode of the first screen as: outputting through a wired earphone; and the audio output mode of the second screen is switched from being output through the wired earphone to being output through the wireless earphone (the option is automatically cycled down). Therefore, different audio output modes can be set for the first screen and the second screen, and mutual interference between audio signals can be avoided under the condition that the two screens play the audio signals simultaneously.
It should be noted that, the method for triggering the current screen and the other screen configuration audio output mode in the first mode, the second mode and the third mode includes, but is not limited to, single finger sliding up, double finger sliding up and three finger sliding up, and may also be other gesture operations or physical key input.
By combining the first, second and third modes, the user can set the audio transmission modes (such as speaker, wired earphone, wireless earphone, etc.) of the current screen and the other screen on the currently operated screen. The two screens adopt different audio transmission modes to transmit the audio signals corresponding to the respective screens, so that the directional transmission of the audio signals is realized, and the mutual interference between the audio signals can be avoided.
Optionally, with reference to fig. 2, as shown in fig. 9, after the step 201, the audio output method provided by the embodiment of the present invention may further include the following step 214 and step 215.
In step 214, the electronic device receives a seventh input of the user for the target screen.
The target screen may be a first screen or a second screen, and may be determined according to actual use requirements, which is not limited in the embodiment of the present invention.
Optionally, in this embodiment of the present invention, the seventh input may be a leftward sliding input (e.g., a direction of a solid arrow in fig. 10) or a rightward sliding input (e.g., a direction of a dashed arrow in fig. 10) on the target screen by the user, may also be a combined input (e.g., an input of a long press and a leftward sliding) on the first screen by the user, or may also be any other input that meets an actual use requirement (e.g., an input on the first screen and a combined input on a physical key), which may specifically be determined according to the actual use requirement, and this embodiment of the present invention is not limited.
Step 215, the electronic device responds to the seventh input, and outputs the audio signal corresponding to the target screen according to the audio output mode after the seventh input triggers the switching.
In the embodiment of the present invention, after the user performs the seventh input with respect to the target screen, the electronic device may switch the audio output mode corresponding to the target screen to the target audio output mode, and output the audio signal corresponding to the target screen according to the target audio output mode.
In the embodiment of the present invention, assuming that the target screen is the first screen, the target audio output manner may be one audio output manner other than the audio output manner for the second screen. Also, assuming that the target screen is the second screen, the target audio output manner may be one audio output manner other than the audio output manner for the first screen. Therefore, different audio output modes can be set or switched to different screens, and mutual interference between audio signals can be avoided under the condition that the two screens play the audio signals at the same time.
Through the scheme, the audio output mode corresponding to the target screen can be switched according to the use requirements of the user, so that the operation convenience of the electronic equipment when audio signals are played on different screens simultaneously can be improved.
Optionally, before step 214, the audio output method provided by the embodiment of the present invention may further include the following step 216 and step 217. Accordingly, the step 214 can be specifically realized by the step 214a described below.
In step 216, the electronic device receives an eighth input from the user on the priority setting interface.
The priority setting interface comprises at least two options arranged according to a first priority, and each option is used for indicating an audio output mode.
Specifically, after the user triggers and starts the audio output configuration function, the electronic device displays a priority setting interface, where the priority setting interface includes at least two options (e.g., "speaker" option, "wired headset" option, and "wireless headset" option) arranged according to a first priority. For example, as shown in (a) of fig. 11, the electronic device displays a priority setting interface 51 in which the first priority is a speaker, a wired headphone, and a wireless headphone.
Optionally, in this embodiment of the present invention, the eighth input may be a dragging input of a user for one option of the at least two options, or may also be a clicking input of a user for a control in the priority setting interface, or may also be any other input meeting an actual use requirement, which may be determined specifically according to the actual use requirement, which is not limited in this embodiment of the present invention.
Step 217, the electronic device arranges the at least two options according to the second priority in response to the eighth input.
Wherein the second priority is different from the first priority. The electronic device can set the priority of a plurality of audio output modes according to the needs of the user.
As shown in fig. 11 (a), if the user performs a drag input on the "speaker" option (in a direction shown by a dotted line), the electronic device may rank the "speaker" option, the "wired headset" option, and the "wireless headset" option according to a second priority, as shown in fig. 11 (b), wherein the first priority is the wired headset, the speaker, and the wireless headset.
And 214a, the electronic equipment receives a seventh input aiming at the target screen by the user, wherein the seventh input is used for triggering the switching of the audio output modes according to the sequence of the second priority.
In the embodiment of the present invention, if the user performs the seventh input with respect to the target screen, the electronic device may switch the audio output mode with respect to the target screen according to the order of the second priority (i.e., the wired earphone, the speaker, and the wireless earphone). Therefore, the user can switch the audio output mode of the current screen on any screen through the seventh input, so that the two screens adopt different audio output modes, the video is played without audio interference, and the operation is simple and convenient.
On one hand, when the target screen displays the video playing interface, if the audio output mode is not configured on the target screen, the audio output mode with the highest priority that is not occupied at this time is configured by default, as shown in fig. 11 (b), the audio output mode with priority 1 is a wired headset.
On the other hand, the user may trigger the electronic device to switch the audio output mode for the target screen to an unoccupied higher-priority audio output mode by performing a seventh input (e.g., a left-swipe input) on the target screen, and switch to an unoccupied lowest-priority audio output mode if the audio output mode of the current screen is already the highest priority. As shown in (b) of fig. 11, assuming that the current screen occupies "wired headphones" and the other screen occupies "wireless headphones", after the user makes a first input on the current screen, the background is ready to switch to the audio output mode of higher priority, since the "wired headphones" occupied by the current screen is already the highest priority, the background is ready to switch to the "bluetooth headphones" of lowest priority, but since the "bluetooth headphones" are already occupied by the other screen, the background continues to switch to the "speakers" of higher priority than the "bluetooth headphones". Therefore, the audio output mode of the current screen is switched to "speaker".
In another aspect, the user may trigger the electronic device to switch the audio output mode for the target screen to an unoccupied audio output mode of lower priority by performing a seventh input (e.g., a right-swipe input) on the target screen, and if the audio output mode of the current screen is already of the lowest priority, then the mode is switched to the unoccupied highest priority audio output mode, and if the current screen occupies the Bluetooth headset and the other screen occupies the wired headset, after the current screen slides to the right, the background is ready to switch to a lower priority audio output, since the bluetooth headset of the current screen is already the lowest priority, after the user makes a first input on the current screen, the background is ready to switch to the highest priority "wired headset", but the "wired headset" is already occupied by another screen, so the background continues to switch to a lower priority "speaker" than "wired headset". Therefore, the audio output mode of the current screen is switched to "speaker".
Through the scheme, the audio output modes corresponding to the target screen can be switched according to the use requirements of the user according to the priority order, so that the operation convenience of the electronic equipment when audio signals are played on different screens simultaneously can be improved.
As shown in fig. 12, an embodiment of the present invention provides an electronic device 700, where the electronic device 700 has a first screen and a second screen. The electronic device 700 may include a generation module 701 and an output module 702. The generating module 701 is configured to generate a first audio signal and a second audio signal, where the first audio signal corresponds to display content of a first screen, and the second audio signal corresponds to display content of a second screen. The output module 702 is configured to output the first audio signal generated by the generating module 701 according to the first audio output mode, and output the second audio signal generated by the generating module 701 according to the second audio output mode. The first audio output mode and the second audio output mode are different audio output modes. Illustratively, the audio output means may be output through a speaker, output through a wired earphone, and output through a wireless earphone.
Optionally, with reference to fig. 12, as shown in fig. 13, the electronic device 700 provided in the embodiment of the present invention may further include a first receiving module 703, a display module 704, and a determining module 705. The first receiving module 703 is configured to receive a first input of a user before the output module 702 outputs the first audio signal according to the first audio output mode and outputs the second audio signal according to the second audio output mode. The display module 704 is configured to display a first output manner set in response to a first input received by the first receiving module 703, where the first output manner set includes at least two options, each option is used to indicate an audio output manner, and the first output manner set is used to set an audio output manner for the first screen. The first receiving module 703 is further configured to receive a second input from the user on the first output mode set displayed by the displaying module 704. The determining module 705 is configured to determine the first audio output mode in response to the second input received by the first receiving module 703.
Optionally, in this embodiment of the present invention, the first receiving module 703 is further configured to receive a third input of the user before the output module 702 outputs the first audio signal according to the first audio output mode and outputs the second audio signal according to the second audio output mode. The display module 704 is further configured to display a second output manner set in response to the third input received by the first receiving module 703, where the second output manner set includes at least two options, each option is used to indicate one audio output manner, and the second output manner set is used to set an audio output manner for the second screen. The first receiving module 703 is further configured to receive a fourth input from the user on the second output manner set displayed by the display module 704, and the determining module 705 is further configured to determine the second audio output manner in response to the fourth input received by the first receiving module 703.
Optionally, in this embodiment of the present invention, the first receiving module 703 is further configured to receive a fifth input of the user before the output module 702 outputs the first audio signal according to the first audio output mode and outputs the second audio signal according to the second audio output mode. The display module 704 is further configured to display a first output manner set and a second output manner set in response to a fifth input received by the first receiving module 703, where the first output manner set and the second output manner set respectively include at least two options, each option is used for indicating one audio output manner, the first output manner set is used for setting an audio output manner for the first screen, and the second output manner set is used for setting an audio output manner for the second screen. The first receiving module 703 is further configured to receive a sixth input from the user on the first output mode set and/or the second output mode set displayed by the display module 704. The determining module 705 is further configured to determine the first audio output mode and the second audio output mode in response to the sixth input received by the first receiving module 703.
Optionally, with reference to fig. 12, as shown in fig. 14, the electronic device 700 provided in the embodiment of the present invention may further include a second receiving module 706. The second receiving module 706 is configured to receive a seventh input of the user for a target screen after the output module 702 outputs the audio signal corresponding to the first screen according to the first audio output mode and outputs the audio signal corresponding to the second screen according to the second audio output mode, where the target screen is the first screen or the second screen. The output module 702 is further configured to, in response to the seventh input received by the second receiving module 706, output an audio signal corresponding to the target screen according to the audio output mode after the seventh input triggers switching.
Optionally, in this embodiment of the present invention, with reference to fig. 14, as shown in fig. 15, the electronic device 700 provided in this embodiment of the present invention may further include a control module 707. The second receiving module 706 is further configured to receive an eighth input from the user on a priority setting interface before receiving a seventh input from the user on the target screen, where the priority setting interface includes at least two options arranged according to the first priority, and each option is used to indicate one audio output mode. The control module 707 is further configured to rank the at least two options according to a second priority, which is different from the first priority, in response to an eighth input received by the second receiving module 706. The second receiving module 706 is specifically configured to receive a seventh input of the user for the target screen, where the seventh input is used to trigger the control module 707 to switch the audio output modes according to the order of the second priority.
It should be noted that the first receiving module and the second receiving module may be the same or different, and may be determined specifically according to actual use requirements, and the embodiment of the present invention is not limited.
The electronic device provided by the embodiment of the present invention can implement each process implemented by the electronic device in the above method embodiments, and is not described herein again to avoid repetition.
The electronic device provided by the embodiment of the invention can generate a first audio signal and a second audio signal, wherein the first audio signal corresponds to the display content of a first screen of the electronic device, and the second audio signal corresponds to the display content of a second screen of the electronic device; outputting a first audio signal according to a first audio output mode, and outputting a second audio signal according to a second audio output mode; the first audio output mode and the second audio output mode are different audio output modes. Through the scheme, different screens of the electronic equipment are correspondingly provided with different audio output modes, so that a plurality of audio signals can be respectively output according to different audio output modes under the condition that videos or audios are played on the screens. Therefore, under the condition that the multi-screen electronic equipment is independently operated, the multiple screens respectively correspond to different audio output modes, and the effect that noise is generated due to the fact that multiple sound data are simultaneously externally played in the prior art is avoided.
Fig. 16 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention. As shown in fig. 16, the electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 16 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, the processor 810 is configured to generate a first audio signal and a second audio signal, the first audio signal corresponding to the display content of the first screen, and the second audio signal corresponding to the display content of the second screen; an interface unit 808 for outputting the first audio signal generated by the processor 810 according to a first audio output manner, and outputting the second audio signal generated by the processor 810 according to a second audio output manner; the first audio output mode and the second audio output mode are different audio output modes.
The embodiment of the invention provides electronic equipment, wherein different audio output modes are correspondingly set for different screens of the electronic equipment, so that the electronic equipment can respectively output a plurality of audio signals according to the different audio output modes under the condition that the plurality of screens play videos or audios. Therefore, under the condition that the multi-screen electronic equipment is independently operated, the multiple screens respectively correspond to different audio output modes, and the effect that noise is generated due to the fact that multiple sound data are simultaneously externally played in the prior art is avoided.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 810; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 801 can also communicate with a network and other devices through a wireless communication system.
The electronic device 800 provides wireless broadband internet access to the user via the network module 802, such as to assist the user in sending and receiving e-mail, browsing web pages, and accessing streaming media.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the electronic apparatus 800 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving an audio or video signal. The input unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the graphics processor 8041 processes image data of a still picture or video obtained by an image capturing apparatus (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 801 in case of a phone call mode.
The electronic device 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light and a proximity sensor that can turn off the display panel 8061 and/or the backlight when the electronic device 800 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 805 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 806 is used to display information input by the user or information provided to the user. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), or the like.
The user input unit 807 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 8071 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 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.
Further, the touch panel 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation on or near the touch panel 8071, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Although the touch panel 8071 and the display panel 8061 are shown in fig. 16 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the electronic device, and the implementation is not limited herein.
The interface unit 808 is an interface for connecting an external device to the electronic apparatus 800. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 808 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic device 800 or may be used to transmit data between the electronic device 800 and external devices.
The memory 809 may be used to store software programs as well as various data. The memory 809 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 809 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 810 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby monitoring the whole electronic device. Processor 810 may include one or more processing units; optionally, the processor 810 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
The electronic device 800 may also include a power supply 811 (e.g., a battery) for powering the various components, and optionally, the power supply 811 may be logically coupled to the processor 810 via a power management system to manage charging, discharging, and power consumption management via the power management system.
In addition, the electronic device 800 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, an embodiment of the present invention further provides an electronic device, including the processor 810 shown in fig. 16, a memory 809, and a computer program stored in the memory 809 and capable of running on the processor 810, where the computer program, when executed by the processor 810, implements each process of the foregoing audio output method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program 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 computer-readable storage medium may include a read-only memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, and the like.
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.
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 invention 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 an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method disclosed in the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (14)

1. An audio output method applied to an electronic device having a first screen and a second screen, the method comprising:
generating a first audio signal corresponding to display content of the first screen and a second audio signal corresponding to display content of the second screen;
outputting the first audio signal according to a first audio output mode, and outputting the second audio signal according to a second audio output mode;
wherein the first audio output mode and the second audio output mode are different audio output modes.
2. The method of claim 1, wherein prior to outputting the first audio signal in a first audio output mode and outputting the second audio signal in a second audio output mode, the method further comprises:
receiving a first input of a user;
responding to the first input, displaying a first output mode set, wherein the first output mode set comprises at least two options, each option is used for indicating one audio output mode, and the first output mode set is used for setting the audio output mode aiming at the first screen;
receiving a second input of the user on the first output mode set;
in response to the second input, the first audio output mode is determined.
3. The method of claim 1, wherein prior to outputting the first audio signal in a first audio output mode and outputting the second audio signal in a second audio output mode, the method further comprises:
receiving a third input of the user;
responding to the third input, displaying a second output mode set, wherein the second output mode set comprises at least two options, each option is used for indicating one audio output mode, and the second output mode set is used for setting the audio output mode aiming at the second screen;
receiving a fourth input of the user on the second output mode set;
in response to the fourth input, determining the second audio output mode.
4. The method of claim 1, wherein prior to outputting the first audio signal in a first audio output mode and outputting the second audio signal in a second audio output mode, the method further comprises:
receiving a fifth input of the user;
in response to the fifth input, displaying a first output mode set and a second output mode set, wherein the first output mode set and the second output mode set respectively comprise at least two options, each option is used for indicating one audio output mode, the first output mode set is used for setting the audio output mode of the first screen, and the second output mode set is used for setting the audio output mode of the second screen;
receiving a sixth input of a user on the first output mode set and/or the second output mode set;
in response to the sixth input, the first audio output mode and the second audio output mode are determined.
5. The method of claim 1, wherein after outputting the first audio signal in a first audio output mode and outputting the second audio signal in a second audio output mode, the method further comprises:
receiving a seventh input of a user for a target screen, wherein the target screen is the first screen or the second screen;
and responding to the seventh input, and outputting the audio signal corresponding to the target screen according to the audio output mode after the seventh input triggers switching.
6. The method of claim 5, wherein prior to receiving a seventh input by the user for the target screen, the method further comprises:
receiving an eighth input of a user on a priority setting interface, wherein the priority setting interface comprises at least two options arranged according to a first priority, and each option is used for indicating an audio output mode;
in response to the eighth input, ranking the at least two options according to a second priority, the second priority being different from the first priority;
the receiving of a seventh input of the user for the target screen includes:
and receiving a seventh input of the user for the target screen, wherein the seventh input is used for triggering switching of the audio output modes according to the second priority.
7. An electronic device having a first screen and a second screen, the electronic device comprising a generation module and an output module;
the generating module is used for generating a first audio signal and a second audio signal, wherein the first audio signal corresponds to the display content of the first screen, and the second audio signal corresponds to the display content of the second screen;
the output module is configured to output the first audio signal generated by the generation module according to a first audio output mode, and output the second audio signal generated by the generation module according to a second audio output mode;
wherein the first audio output mode and the second audio output mode are different audio output modes.
8. The electronic device of claim 7, further comprising a first receiving module, a display module, and a determination module;
the first receiving module is configured to receive a first input of a user before the output module outputs the first audio signal according to a first audio output mode and outputs the second audio signal according to a second audio output mode;
the display module is configured to display a first output mode set in response to the first input received by the first receiving module, where the first output mode set includes at least two options, each option is used to indicate an audio output mode, and the first output mode set is used to set an audio output mode for the first screen;
the first receiving module is further configured to receive a second input of the user on the first output mode set displayed by the display module;
the determining module is configured to determine the first audio output mode in response to the second input received by the first receiving module.
9. The electronic device of claim 8, wherein the first receiving module is further configured to receive a third input from the user before the outputting module outputs the first audio signal according to the first audio output mode and outputs the second audio signal according to the second audio output mode;
the display module is further configured to display a second output mode set in response to the third input received by the first receiving module, where the second output mode set includes at least two options, each option is used to indicate an audio output mode, and the second output mode set is used to set an audio output mode for the second screen;
the first receiving module is further configured to receive a fourth input of the user on the second output mode set displayed by the display module;
the determining module is further configured to determine the second audio output mode in response to the fourth input received by the first receiving module.
10. The electronic device of claim 9, wherein the first receiving module is further configured to receive a fifth input from the user before the outputting module outputs the first audio signal according to the first audio output mode and outputs the second audio signal according to the second audio output mode;
the display module is further configured to display a first output mode set and a second output mode set in response to the fifth input received by the first receiving module, where the first output mode set and the second output mode set respectively include at least two options, each option is used for indicating one audio output mode, the first output mode set is used for setting an audio output mode for the first screen, and the second output mode set is used for setting an audio output mode for the second screen;
the first receiving module is further used for receiving a sixth input of a user on the first output mode set and/or the second output mode set displayed by the display module;
the determining module is further configured to determine the first audio output mode and the second audio output mode in response to the sixth input received by the first receiving module.
11. The electronic device of claim 7, further comprising a second receiving module;
the second receiving module is configured to receive a seventh input of a user for a target screen after the output module outputs the first audio signal according to a first audio output mode and outputs the second audio signal according to a second audio output mode, where the target screen is the first screen or the second screen;
the output module is further configured to respond to the seventh input received by the second receiving module, and output an audio signal corresponding to the target screen according to an audio output mode after the seventh input triggers switching.
12. The electronic device of claim 11, further comprising a control module;
the second receiving module is further configured to receive, before receiving a seventh input of the user for the target screen, an eighth input of the user on a priority setting interface, where the priority setting interface includes at least two options arranged according to the first priority, and each option is used to indicate an audio output mode;
the control module is configured to, in response to the eighth input received by the second receiving module, rank the at least two options according to a second priority, where the second priority is different from the first priority;
the second receiving module is specifically configured to receive a seventh input of the user for the target screen, where the seventh input is used to trigger the control module to switch the audio output mode according to the order of the second priority.
13. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the audio output method of any of claims 1 to 6.
14. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the audio output method according to one of claims 1 to 6.
CN201910810327.8A 2019-08-29 2019-08-29 Audio output method and electronic equipment Pending CN110597478A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910810327.8A CN110597478A (en) 2019-08-29 2019-08-29 Audio output method and electronic equipment
PCT/CN2020/111445 WO2021037074A1 (en) 2019-08-29 2020-08-26 Audio output method and electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910810327.8A CN110597478A (en) 2019-08-29 2019-08-29 Audio output method and electronic equipment

Publications (1)

Publication Number Publication Date
CN110597478A true CN110597478A (en) 2019-12-20

Family

ID=68856331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910810327.8A Pending CN110597478A (en) 2019-08-29 2019-08-29 Audio output method and electronic equipment

Country Status (2)

Country Link
CN (1) CN110597478A (en)
WO (1) WO2021037074A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111459456A (en) * 2020-04-07 2020-07-28 维沃移动通信有限公司 Audio control method and electronic equipment
CN111756893A (en) * 2020-05-29 2020-10-09 维沃移动通信有限公司 Audio output method, electronic device, and medium
WO2021037074A1 (en) * 2019-08-29 2021-03-04 维沃移动通信有限公司 Audio output method and electronic apparatus
CN116761156A (en) * 2023-08-23 2023-09-15 腾讯科技(深圳)有限公司 Audio processing method, device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1753316A (en) * 2004-09-21 2006-03-29 华为技术有限公司 Audio frequency output channel switching device and method
CN103853521A (en) * 2012-12-03 2014-06-11 三星电子株式会社 Portable apparatus having a plurality of touch screens and method of outputting sound thereof
US20160132285A1 (en) * 2014-11-12 2016-05-12 Blackberry Limited Portable electronic device including touch-sensitive display and method of controlling audio output
CN108958695A (en) * 2018-06-28 2018-12-07 努比亚技术有限公司 Audio-frequency inputting method, device and computer readable storage medium
CN109165004A (en) * 2018-08-16 2019-01-08 努比亚技术有限公司 Double screen terminal audio frequency output method, terminal and computer readable storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594422A (en) * 2008-05-28 2009-12-02 鸿富锦精密工业(深圳)有限公司 Can select the portable terminal of audio signal output mode
WO2015198488A1 (en) * 2014-06-27 2015-12-30 株式会社 東芝 Electronic device and speech reproduction method
CN104301782A (en) * 2014-10-20 2015-01-21 三星电子(中国)研发中心 Method and device for outputting audios and terminal
CN107526565A (en) * 2017-08-31 2017-12-29 珠海格力电器股份有限公司 A kind of interface display control method, mobile terminal
CN110597478A (en) * 2019-08-29 2019-12-20 维沃移动通信有限公司 Audio output method and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1753316A (en) * 2004-09-21 2006-03-29 华为技术有限公司 Audio frequency output channel switching device and method
CN103853521A (en) * 2012-12-03 2014-06-11 三星电子株式会社 Portable apparatus having a plurality of touch screens and method of outputting sound thereof
US20160132285A1 (en) * 2014-11-12 2016-05-12 Blackberry Limited Portable electronic device including touch-sensitive display and method of controlling audio output
CN108958695A (en) * 2018-06-28 2018-12-07 努比亚技术有限公司 Audio-frequency inputting method, device and computer readable storage medium
CN109165004A (en) * 2018-08-16 2019-01-08 努比亚技术有限公司 Double screen terminal audio frequency output method, terminal and computer readable storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021037074A1 (en) * 2019-08-29 2021-03-04 维沃移动通信有限公司 Audio output method and electronic apparatus
CN111459456A (en) * 2020-04-07 2020-07-28 维沃移动通信有限公司 Audio control method and electronic equipment
CN111459456B (en) * 2020-04-07 2023-03-14 维沃移动通信有限公司 Audio control method and electronic equipment
CN111756893A (en) * 2020-05-29 2020-10-09 维沃移动通信有限公司 Audio output method, electronic device, and medium
CN116761156A (en) * 2023-08-23 2023-09-15 腾讯科技(深圳)有限公司 Audio processing method, device, storage medium and electronic equipment
CN116761156B (en) * 2023-08-23 2023-11-14 腾讯科技(深圳)有限公司 Audio processing method, device, storage medium and electronic equipment

Also Published As

Publication number Publication date
WO2021037074A1 (en) 2021-03-04

Similar Documents

Publication Publication Date Title
CN108551636B (en) Loudspeaker control method and mobile terminal
CN109814822B (en) Multimedia play control method and device and terminal equipment
CN108712577B (en) Call mode switching method and terminal equipment
CN111459456B (en) Audio control method and electronic equipment
CN109379484B (en) Information processing method and terminal
CN111083684A (en) Method for controlling electronic equipment and electronic equipment
CN109032486B (en) Display control method and terminal equipment
CN110109604B (en) Application interface display method and mobile terminal
US11354017B2 (en) Display method and mobile terminal
CN109710349B (en) Screen capturing method and mobile terminal
CN110597478A (en) Audio output method and electronic equipment
CN108446156B (en) Application program control method and terminal
CN111147919A (en) Play adjustment method, electronic equipment and computer readable storage medium
CN110825295B (en) Application program control method and electronic equipment
CN110244884B (en) Desktop icon management method and terminal equipment
WO2020215969A1 (en) Content input method and terminal device
WO2020192297A1 (en) Screen interface switching method and terminal device
CN109710130B (en) Display method and terminal
CN109683802B (en) Icon moving method and terminal
CN108920040B (en) Application icon sorting method and mobile terminal
CN111078186A (en) Playing method and electronic equipment
CN111124345A (en) Audio source processing method and mobile terminal
CN108804628B (en) Picture display method and terminal
CN111190517B (en) Split screen display method and electronic equipment
CN110012151B (en) Information display method and terminal 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

Application publication date: 20191220

RJ01 Rejection of invention patent application after publication