WO2017020422A1 - 一种音频电路选择方法、装置和电路以及手持终端 - Google Patents

一种音频电路选择方法、装置和电路以及手持终端 Download PDF

Info

Publication number
WO2017020422A1
WO2017020422A1 PCT/CN2015/091347 CN2015091347W WO2017020422A1 WO 2017020422 A1 WO2017020422 A1 WO 2017020422A1 CN 2015091347 W CN2015091347 W CN 2015091347W WO 2017020422 A1 WO2017020422 A1 WO 2017020422A1
Authority
WO
WIPO (PCT)
Prior art keywords
audio
audio circuit
handheld terminal
circuit
speaker
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2015/091347
Other languages
English (en)
French (fr)
Inventor
谢林夫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Publication of WO2017020422A1 publication Critical patent/WO2017020422A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Definitions

  • the present invention relates to the field of terminals, and in particular, to an audio circuit selection method, apparatus, and circuit, and a handheld terminal.
  • the mobile phone generally has a microphone disposed at the lower end of the mobile phone, and a receiver (also referred to as a speaker) is disposed at the upper end of the mobile phone. While on a call, use the microphone to capture the voice and the receiver to play the voice.
  • the spatial posture of the handheld terminal is not fixed.
  • the upper end of the mobile phone is at the bottom and the lower end is at the upper end, that is, the handheld terminal is used upside down.
  • the microphone on the handheld terminal is on the top and the receiver is on the bottom, the voice collected by the microphone is weak, and the voice played by the receiver is not easily heard by the user.
  • the handheld terminal since the audio circuit layout on the handheld terminal is single, and the spatial posture of the handheld terminal is not fixed, the handheld terminal may have a problem of poor audio quality.
  • Embodiments of the present invention provide an audio circuit selection method, apparatus, and circuit, and a handheld terminal, which can improve the audio quality of the handheld terminal.
  • an embodiment of the present invention provides a method for selecting an audio circuit, including:
  • the handheld terminal When detecting that the handheld terminal currently needs to use the audio circuit, detecting a current spatial posture in which the handheld terminal is currently located, wherein the handheld terminal is provided with at least two audio circuits;
  • detecting the current spatial posture of the handheld terminal including:
  • each of the audio circuits includes a microphone and a speaker
  • the method further includes:
  • a voice signal is acquired with a microphone in the currently used audio circuit, and the acquired voice signal is transmitted, and the received voice signal is played with a speaker in the currently used audio circuit.
  • the corresponding relationship between the preset spatial posture and the audio circuit, from the at least two audio circuits Selecting an audio circuit corresponding to the current spatial pose as the currently used audio circuit includes:
  • the first audio circuit is selected as the currently used audio from the at least two audio circuits according to a corresponding relationship between the preset spatial posture and the audio circuit. a circuit, wherein a set position of at least one of the first audio circuits is above a set position of a microphone of the first audio circuit; or
  • an audio circuit corresponding to the flat posture is selected from the at least two audio circuits as The audio circuit currently in use.
  • the detecting During the voice call detecting the current spatial posture of the handheld terminal, including:
  • the voice call uses a non-hands-free mode for the call
  • the current spatial posture of the handheld terminal is detected.
  • the method further includes:
  • the audio circuit corresponding to the hands-free mode is preset to be currently used from the at least two audio circuits. Audio circuit.
  • detecting the current spatial posture of the handheld terminal including:
  • each of the audio circuits includes a speaker
  • the method further includes:
  • detecting the current spatial posture of the handheld terminal including:
  • each of the audio circuits includes a microphone
  • the method further includes:
  • Recording is performed with a microphone in the currently used audio circuit.
  • the audio circuit corresponding to the current spatial posture is selected from the at least two audio circuits as a currently used audio circuit
  • the method further includes:
  • an audio circuit other than the currently used audio circuit is selected from the at least two audio circuits as the currently used audio circuit.
  • the method further includes:
  • the handheld terminal When detecting that the handheld terminal needs to perform external sound playback on the audio, extracting left channel audio and right channel audio of the audio, and playing the speaker using a speaker of at least one of the at least two audio circuits Left channel audio, the right channel audio is played using a speaker of an audio circuit other than the at least one audio circuit of the at least two audio circuits.
  • the handheld terminal is disposed on a noise canceling microphone, and the method further includes:
  • the handheld terminal is provided with a first display screen and a second display screen, and each of the audio circuits includes at least two speakers, wherein the One of the at least two speakers corresponds to the first display, and the other of the at least two speakers corresponds to the second display;
  • the audio circuit corresponding to the current spatial attitude is selected from the at least two audio circuits as the currently used audio circuit, according to the corresponding relationship between the preset spatial posture and the audio circuit, and includes:
  • the audio circuit corresponding to the current spatial attitude is selected from the at least two audio circuits as the current according to the corresponding relationship between the preset spatial posture and the audio circuit.
  • An audio circuit used, and a speaker corresponding to the first display screen in the currently used audio circuit is used as a currently used speaker; or
  • the audio circuit corresponding to the current spatial attitude is selected from the at least two audio circuits as current according to the corresponding relationship between the preset spatial posture and the audio circuit.
  • An audio circuit is used, and a speaker corresponding to the second display screen in the currently used audio circuit is used as a currently used speaker.
  • a second aspect of the present invention provides an audio circuit selection apparatus, where the apparatus is applied to a handheld terminal, including: a detecting unit and a selecting unit, where:
  • the detecting unit is configured to detect a current spatial posture in which the handheld terminal is currently located when detecting that the handheld terminal currently needs to use an audio circuit, wherein the handheld terminal is provided with at least two audio circuits;
  • the selecting unit is configured to select, according to a preset correspondence between the spatial posture and the audio circuit, an audio circuit corresponding to the current spatial posture from the at least two audio circuits as the currently used audio circuit.
  • the detecting unit is configured to detect a current spatial posture currently in which the handheld terminal is located when detecting that the handheld terminal currently needs to perform a voice call, where each The audio circuit includes a microphone and a speaker;
  • the device also includes:
  • a call unit configured to collect a voice signal in a microphone in the currently used audio circuit, and transmit the collected voice signal, and play the received voice signal in a speaker in the currently used audio circuit.
  • the selecting unit is configured to: when the current spatial gesture indicates that the handheld terminal is in an upward posture Selecting, according to a preset relationship between the preset spatial posture and the audio circuit, a first audio circuit from the at least two audio circuits as a currently used audio circuit, wherein setting of at least one speaker in the first audio circuit Positioning above a set position of a microphone of the first audio circuit; or
  • the selecting unit is configured to select a second audio from the at least two audio circuits according to a correspondence between a preset spatial posture and an audio circuit when the current spatial attitude indicates that the handheld terminal is in a downward posture a circuit as a currently used audio circuit, wherein a position of at least one of the second audio circuits is below a set position of a microphone of the second audio circuit; or
  • the selecting unit is configured to select and lay out from the at least two audio circuits according to a corresponding relationship between a preset spatial posture and an audio circuit when the current spatial attitude indicates that the handheld terminal is in a flat posture.
  • the audio circuit corresponding to the attitude is used as the currently used audio circuit.
  • an embodiment of the present invention provides an audio circuit selection circuit, where the circuit is applied to a handheld terminal, including: a processor, a spatial attitude sensor, and at least two audio circuits, where:
  • An output of the spatial attitude sensor is coupled to a spatial attitude end of the processor, the spatial attitude sensor being configured to, when the processor detects that the handheld terminal currently needs to use an audio circuit, Detecting a current spatial posture currently in which the handheld terminal is located, and transmitting information of the current spatial posture to the processor;
  • the processor is connected to the at least two audio circuits through different audio ends, and the processor is configured to select and match the at least two audio circuits according to a preset relationship between the spatial posture and the audio circuit.
  • the audio circuit corresponding to the current spatial attitude is used as the currently used audio circuit.
  • the spatial attitude sensor is configured to detect a current space in which the handheld terminal is currently located when the processor detects that the handheld terminal currently needs to perform a voice call. attitude;
  • each of the audio circuits includes a microphone and a speaker
  • the processor is respectively connected to the microphones of the at least two audio circuits through different audio input ends, and the processor is respectively connected to the speakers of the at least two audio circuits through different audio output ends;
  • the microphone of the currently used audio circuit collects a voice signal, and transmits the collected voice signal to the processor, and the collected voice signal is used by the processor as a voice signal in the voice call;
  • the processor is further configured to transmit a received voice signal received in the voice call to a speaker of the currently used audio circuit, and a speaker of the currently used audio circuit plays the received voice signal.
  • the at least two audio circuits include:
  • a set position of at least one of the first audio circuits is above a set position of a microphone of the first audio circuit, and at least a second of the second audio circuits a set position of a speaker below a set position of a microphone of the second audio circuit;
  • the processor is coupled to a microphone of the first audio circuit through a first audio input, the processor being coupled to a speaker of the first audio circuit through a first audio output, the processor passing a second audio
  • the input end is connected to the microphone of the second audio circuit, and the processor is connected to the speaker of the second audio circuit through the second audio output end;
  • the processor selects from the at least two audio circuits according to a corresponding relationship between a preset spatial posture and an audio circuit when the current spatial attitude indicates that the handheld terminal is in an upward posture Said first audio circuit as the currently used audio circuit; or
  • the processor selects a second audio circuit from the at least two audio circuits according to a corresponding relationship between a preset spatial posture and an audio circuit when the current spatial attitude indicates that the handheld terminal is in a downward posture As the currently used audio circuit; or
  • the processor selects and lays out a posture from the at least two audio circuits according to a corresponding relationship between a preset spatial posture and an audio circuit when the current spatial attitude indicates that the handheld terminal is in a flat posture.
  • the corresponding audio circuit is used as the currently used audio circuit.
  • the first audio circuit further includes the first audio a power amplifier, the second audio circuit further comprising a second audio power amplifier, wherein:
  • a first audio output of the processor is coupled to a speaker of the first audio circuit by the first audio power amplifier, and a second audio output of the processor is coupled to the second audio power amplifier a speaker connection of the second audio circuit;
  • the processor is further configured to output a power adjustment command to an audio power amplifier included in the currently used audio circuit, the currently used audio circuit including an audio function amplifier for adjusting operating power in response to the power adjustment command.
  • the circuit further includes a first display screen and a a second display screen, the first display screen is disposed on a front surface of the handheld terminal, and the second display screen is disposed on a reverse side of the handheld terminal;
  • the processor is further connected to the first display screen through a first display end, the processor is further connected to the second display screen through a second display end, and the processor is further configured to detect The handheld terminal currently selects one of the first display screen and the second display screen to display a call interface of the voice call when the handheld terminal currently needs to make a voice call.
  • the first audio circuit includes a first speaker and a third speaker, wherein the first speaker is configured The third speaker is disposed at an upper end position of the reverse side of the handheld terminal at an upper end position of the front surface of the handheld terminal;
  • the processor is connected to the first speaker through a first audio output, the processor is connected to the third speaker through a third audio output; the processor is configured to be in the first display The screen is used as the call interface of the voice call, and when the first audio circuit is the currently used audio circuit, the received voice signal received in the voice call is sent to the first speaker, where the Playing a received voice signal by a speaker; or the processor is configured to use the second display screen as a call interface of the voice call, and the first audio circuit is the currently used audio circuit The received voice signal received in the voice call is sent to the third speaker, and the third speaker plays the received voice signal.
  • the second audio circuit includes a second speaker and a fourth speaker, wherein the second speaker is configured The fourth speaker is disposed at a lower end position of the reverse side of the handheld terminal at a lower end position of the front surface of the handheld terminal;
  • the processor is connected to the second speaker through a second audio output, the processor is connected to the fourth speaker through a fourth audio output; the processor is configured to be in the first display As a call interface of the voice call, and the second audio circuit is the currently used audio circuit, transmitting a received voice signal received in the voice call to the second speaker, the second speaker Playing the received voice signal; or the processor is configured to use the voice when the second display screen is used as the call interface of the voice call, and the second audio circuit is the currently used audio circuit The received voice signal received during the call is sent to the fourth speaker, and the fourth speaker plays the received voice signal.
  • the circuit further includes noise cancellation a microphone, an output of the noise canceling microphone is connected to a noise canceling frequency end of the processor, and the processor is configured to receive audio collected by the noise canceling microphone when the microphone of the currently used audio circuit collects audio And using the audio collected by the noise canceling microphone to perform noise cancellation processing on the audio collected by the microphone of the currently used audio circuit to obtain the noise cancellation frequency after noise cancellation.
  • an embodiment of the present invention provides a handheld terminal, including:
  • a first display screen is disposed on a front surface of the body, and a first opening is disposed on a front surface of the body and at an upper edge of the first display screen, and is located at a front surface of the body and at the first display a second opening is disposed at a lower edge of the screen, a third opening is disposed on a first side of the body, and a fourth opening is disposed on a second side of the body, wherein the first side is a side of the body parallel to the upper edge of the first display screen and closest to the upper edge of the first display screen The second side is the other side of the two sides except the first side;
  • the body has a built-in processor, a spatial attitude sensor and at least two audio circuits, wherein:
  • the at least two audio circuits include a first audio circuit and a second audio circuit, wherein the first audio circuit includes a first microphone and a first speaker, and the second audio circuit includes a second microphone and a second speaker And the first speaker is disposed at the first opening in the body, the second speaker is disposed at the second opening in the body, and the first microphone is disposed at The fourth opening in the body, and the second microphone is disposed at the third opening in the body;
  • An output end of the spatial attitude sensor is coupled to a spatial attitude end of the processor, and the spatial attitude sensor is configured to detect, when the processor detects that the handheld terminal currently needs to use an audio circuit, detect the current current of the handheld terminal a current spatial pose in which the current spatial pose is transmitted to the processor;
  • the processor is connected to the at least two audio circuits through different audio ends, and the processor is configured to select and match the at least two audio circuits according to a preset relationship between the spatial posture and the audio circuit.
  • the audio circuit corresponding to the current spatial attitude is used as the currently used audio circuit.
  • a second display screen is disposed on a reverse side of the body, and a fifth opening is disposed on a reverse side of the body and opposite to the first opening, a sixth opening is disposed on a reverse side of the body and opposite to the second opening;
  • the first audio circuit further includes a third speaker, and the third speaker is disposed at the fifth opening in the body;
  • the second audio circuit further includes a fourth speaker, and the fourth speaker is disposed at the sixth opening in the body.
  • the first display screen is a touch display screen
  • the second display screen is a touch display screen
  • the front side of the There is a sixth opening;
  • a noise canceling microphone is also built in the body at the sixth opening.
  • the first side is also provided with a headphone jack.
  • the second side is also provided with a data line interface.
  • the handheld terminal when it is detected that the handheld terminal currently needs to use the audio circuit, detecting the current spatial posture of the handheld terminal, wherein the handheld terminal is provided with at least two audio circuits; according to the preset space Corresponding relationship between the gesture and the audio circuit, selecting an audio circuit corresponding to the current spatial attitude from the at least two audio circuits as the currently used audio circuit. In this way, the corresponding audio circuit can be selected according to different postures of the handheld terminal, so that the audio quality of the handheld terminal can be improved.
  • FIG. 1 is a schematic flowchart of a method for selecting an audio circuit according to an embodiment of the present invention
  • FIG. 2 is a schematic flow chart of another audio circuit selection method according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of an audio circuit selection apparatus according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of another audio circuit selection apparatus according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of another audio circuit selection apparatus according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of another audio circuit selection apparatus according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of another audio circuit selection apparatus according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of another audio circuit selection apparatus according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of another audio circuit selection apparatus according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of another audio circuit selection apparatus according to an embodiment of the present invention.
  • FIG. 11 is a circuit diagram of an audio circuit selection circuit according to an embodiment of the present invention.
  • FIG. 12 is a circuit diagram of another audio circuit selection circuit according to an embodiment of the present invention.
  • FIG. 13 is a schematic circuit diagram of another audio circuit selection circuit according to an embodiment of the present invention.
  • FIG. 14 is a circuit diagram of another audio circuit selection circuit according to an embodiment of the present invention.
  • FIG. 15 is a circuit diagram of another audio circuit selection circuit according to an embodiment of the present invention.
  • FIG. 16 is a schematic structural diagram of a handheld terminal according to an embodiment of the present invention.
  • FIG. 17 is a schematic structural diagram of content of a handheld terminal according to an embodiment of the present invention.
  • FIG. 18 is a schematic structural diagram of another handheld terminal according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a method for selecting an audio circuit according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps:
  • the handheld terminal When detecting that the handheld terminal currently needs to use the audio circuit, detecting a current spatial posture in which the handheld terminal is currently located, wherein the handheld terminal is provided with at least two audio circuits.
  • each of the at least two audio circuits may be a circuit for playing audio and/or recording audio
  • each audio circuit may include at least a speaker or a microphone, or each audio circuit includes at least a speaker and a microphone, or The number of speakers and microphones included in the audio circuit is not limited. For example, one or more speakers may be included or one or more microphones may be included.
  • each of the at least two audio circuits may be connected to a processor of the handheld terminal.
  • the detecting the current spatial posture of the handheld terminal may be that the current spatial posture of the handheld terminal is detected by the built-in or external posture sensor of the handheld terminal, for example, by using a gyroscope or a three-axis.
  • An attitude sensor such as an accelerator or a three-axis electronic compass detects the spatial attitude of the handheld terminal.
  • the audio circuit can be used to play audio or recording.
  • the corresponding relationship between the spatial posture and the audio circuit may be previously configured by the user or received by another device.
  • the correspondence between the spatial attitude and the audio circuit may include a correspondence between a plurality of spatial gestures and a plurality of audio circuits, and one audio circuit may correspond to one or more spatial gestures.
  • the at least two audio circuits include an audio circuit disposed at the upper end of the handheld terminal, and then the audio circuit can correspond to the upward facing spatial posture of the handheld terminal, because the user's ear is above the mouth, so that the speaker can be realized. Try to be close to your ear so that the audio played by the handheld terminal is easier for the user to hear.
  • the positions of the speakers included in each of the at least two audio circuits may be different, and may be opposite positions, for example, the speaker of one audio circuit is disposed at the upper end of the handheld terminal, and the other audio circuit is The speaker is placed at the lower end of the handheld terminal.
  • the setting positions of the microphones included in each of the at least two audio circuits may be different, and may be opposite positions, for example, the microphone of one audio circuit is disposed at the upper end of the handheld terminal, and the microphone of the other audio circuit is disposed at the handheld terminal. Lower end.
  • the upper end and the lower end of the handheld terminal may be a relative concept.
  • the upper end of the handheld terminal may be an opposite end of a control button (eg, a Home button) on the handheld terminal, or the upper end of the handheld terminal may be The end of the handheld terminal is the end of the camera, or the upper end of the handheld terminal may be the end of the upper display area of the default display interface of the handheld terminal, or the upper end of the handheld terminal may be the upper end recognized by those skilled in the art.
  • the audio circuit corresponding to the spatial attitude is selected according to the current spatial posture of the handheld terminal as the currently used audio circuit, so that the audio quality caused by the single audio circuit of the handheld terminal can be avoided.
  • a lower problem is that the present embodiment can improve the audio quality of the handheld terminal.
  • the handheld terminal may be a handheld device including an audio processing function, such as a mobile phone, a tablet, and a portable device.
  • the handheld terminal when it is detected that the handheld terminal currently needs to use the audio circuit, detecting the current spatial posture of the handheld terminal, wherein the handheld terminal is provided with at least two audio circuits; according to the preset space Correspondence between the gesture and the audio circuit, from the at least two audio circuits An audio circuit corresponding to the current spatial pose is selected as the currently used audio circuit. In this way, the corresponding audio circuit can be selected according to different postures of the handheld terminal, so that the audio quality of the handheld terminal can be improved.
  • FIG. 2 is a schematic flowchart of another audio circuit selection method according to an embodiment of the present invention. As shown in FIG. 2, the method includes:
  • the handheld terminal When detecting that the handheld terminal currently needs to use the audio circuit, detecting a current spatial posture currently in which the handheld terminal is located, wherein the handheld terminal is provided with at least two audio circuits.
  • audio processing may be performed using the currently used audio circuit, wherein the audio processing may include playing audio or recording audio, or the audio processing may include audio playback. And recording audio.
  • step 201 may include:
  • each of the audio circuits includes a microphone and a speaker.
  • the method may further include:
  • a voice signal is acquired with a microphone in the currently used audio circuit, and the acquired voice signal is transmitted, and the received voice signal is played with a speaker in the currently used audio circuit.
  • the corresponding audio circuit may be selected according to the current spatial posture of the handheld terminal to perform a voice call. For example, when a call request from a certain user is received, the current spatial posture of the handheld terminal can be detected, and a corresponding audio circuit is selected to use the audio circuit to make a call.
  • the microphone and the speaker that can be included in the audio circuit can be connected to the processor of the handheld terminal.
  • the connection can be directly connected or indirectly connected, that is, connected to the processor through some components. In this way, the voice signal collected by the microphone can be transmitted to the processor, and the processor transmits the received voice signal to the speaker for playing.
  • step 203 may include:
  • the upward posture of the handheld terminal can be understood as the spatial attitude corresponding to the upper end of the handheld terminal on the lower end of the handheld terminal, or can be understood as the upper end upward posture of the handheld terminal.
  • the setting position of the at least one speaker in the first audio circuit above the setting position of the microphone of the first audio circuit can be understood as the installation position of the at least one speaker of the first audio circuit on the handheld terminal is first.
  • the setting position of at least one of the first audio circuits is at the upper end of the handheld terminal, and the microphone of the first audio circuit is disposed at the lower end of the handheld terminal.
  • the first audio circuit includes a plurality of speakers, it is also possible to allow a portion of the speaker positions included in the first audio circuit to be below the microphone of the first audio circuit.
  • the first audio circuit when the handheld terminal is facing up, the first audio circuit is selected, so that when the user uses the handheld terminal to make a voice call, since the speaker in the first audio circuit is above the microphone in the handheld terminal, the speaker is more likely to be close to the user.
  • the ear, the microphone is easier to get close to the user's mouth, thus improving the audio quality.
  • step 203 may include:
  • the downward posture of the handheld terminal can be understood as the spatial attitude corresponding to the lower end of the handheld terminal below the lower end of the handheld terminal, or can be understood as the upper end downward posture of the handheld terminal.
  • the setting position of the at least one speaker of the second audio circuit is lower than the set position of the microphone of the second audio circuit, and the installation position of the at least one speaker of the second audio circuit on the handheld terminal is located at the second position.
  • the microphone of the audio circuit is below the mounting position on the handheld terminal, wherein here is opposite the handheld terminal; or the setting position of at least one of the second audio circuits is in the microphone of the second audio circuit Under the set position can be understood as the above second sound
  • the at least one speaker of the frequency circuit is disposed at a lower end of the handheld terminal, and the microphone of the second audio circuit is disposed at an upper end of the handheld terminal.
  • the second audio circuit includes a plurality of speakers, it is also possible to allow part of the speaker position included in the second audio circuit to be above the microphone of the second audio circuit.
  • the second audio circuit when the handheld terminal is facing down, the second audio circuit is selected, so that when the user uses the handheld terminal to make a voice call, the handheld terminal may face the user placing the lower end of the mobile phone near the ear, and then playing the upper end of the handheld terminal.
  • the speaker of the second audio circuit Near the mouth, since the speaker of the second audio circuit is under the microphone in the hand-held terminal, the speaker is more easily placed close to the user's ear, and the microphone is more easily attached to the user's mouth, thereby improving the audio quality.
  • step 203 may include:
  • an audio circuit corresponding to the flat posture is selected from the at least two audio circuits as The audio circuit currently in use.
  • the audio circuit corresponding to the flat posture may be any audio circuit that the user selects in advance from the at least two audio circuits.
  • the user selects an audio circuit that is frequently used as an audio circuit corresponding to the flat posture.
  • the first audio circuit can be used as an audio circuit corresponding to the flat posture, because in a practical application, when the user puts the handheld terminal flat on the hand, the handheld terminal is often placed, that is, the handheld terminal The lower end faces the user's body, and the upper end of the hand-held terminal faces outward, so that the placed hand-held terminal is more easily accepted by the user, and the interface displayed by the hand-held terminal thus placed is in a normal state to the user's eyes.
  • the step of detecting the current spatial posture in which the handheld terminal is currently located when detecting that the handheld terminal currently needs to perform a voice call may include:
  • the voice call uses a non-hands-free mode for the call
  • the current spatial posture of the handheld terminal is detected.
  • the non-hands-free mode can be understood as the earphone mode, that is, the hands-free mode is not used during the voice call, so that the corresponding audio circuit can be selected according to the current spatial posture of the handheld terminal to perform a voice call.
  • the foregoing method may further include the following steps:
  • the preset corresponding to the hands-free mode is selected from the at least two audio circuits.
  • the audio circuit acts as the audio circuit currently in use.
  • the audio circuit corresponding to the hands-free mode may be preset by a user, for example, selecting the first audio circuit introduced in the foregoing embodiment, wherein the first audio circuit includes a speaker capable of performing a hands-free mode,
  • the speaker can be a two-in-one speaker, that is, the speaker can be used as a receiver, that is, playing voice in a non-hands-free mode, and the speaker can also be used as a speaker, that is, playing a voice in a hands-free mode.
  • an audio power amplifier can be connected between the speaker and the processor, and when the speaker is in the hands-free mode, the power is turned on for audio external release, and when the speaker is in the non-hands-free mode, the power is reduced, and the audio is played in a small audio.
  • step 201 may include:
  • each of the audio circuits includes a speaker
  • the foregoing method may further include the following steps:
  • This embodiment can realize that when the handheld terminal needs to perform audio playback, for example, playing an audio signal in the chat software, and selecting a corresponding audio circuit for audio playback.
  • the audio circuit when the audio circuit is selected, reference may be made to the implementation of the audio circuit in the implementation of the voice call.
  • the description of the audio circuit may not include the microphone in this embodiment.
  • step 201 may include:
  • each of the audio circuits includes a microphone
  • the foregoing method may further include the following steps:
  • Recording is performed with a microphone in the currently used audio circuit.
  • This embodiment can realize that when the handheld terminal needs to perform recording, for example, when using the chat software to perform recording in the voice chat, the corresponding audio circuit is selected for audio playback.
  • the audio circuit in this embodiment may not include the speaker.
  • the foregoing method may further include the following steps:
  • an audio circuit other than the currently used audio circuit is selected from the at least two audio circuits as the currently used audio circuit.
  • any audio circuit can be switched according to the input switching instruction to implement flexible switching of the audio circuit.
  • the foregoing method may further include the following steps:
  • the handheld terminal When detecting that the handheld terminal needs to perform external sound playback on the audio, extracting left channel audio and right channel audio of the audio, and playing the speaker using a speaker of at least one of the at least two audio circuits Left channel audio, the right channel audio is played using a speaker of an audio circuit other than the at least one audio circuit of the at least two audio circuits.
  • the above-mentioned external sound playing may be to play music, play a video sound, or play a game sound or a hands-free call, etc., and the audio needs to be externally released.
  • the speaker of the at least one audio circuit playing the left channel audio may be preset, and the other audio circuits play the right channel audio. This allows audio to be played in two channels.
  • the left channel audio and the right channel audio for extracting the audio are well known to those skilled in the art and will not be described in detail herein.
  • the at least two audio circuits may be used to perform the standing sound playback.
  • the hand-held terminal may further be provided with a noise-cancelling microphone, wherein the noise-cancelling microphone may be disposed on the front side of the handheld terminal, and the noise-cancelling microphone in the embodiment of the handheld terminal structure in the embodiment of the present invention may also be referred to.
  • the location of the setting. The above method may further comprise the following steps:
  • the handheld terminal collects audio in a microphone of the currently used audio circuit, acquire audio with the noise canceling microphone, and use the audio collected by the noise canceling microphone to pair the microphone of the currently used audio circuit.
  • the collected audio is subjected to noise cancellation processing to obtain the noise cancellation frequency after noise cancellation.
  • the audio collected by the microphone of the currently used audio circuit can be subjected to noise elimination processing to obtain the noise cancellation frequency after the noise is eliminated, so that the noise cancellation frequency can be used as the audio currently recorded by the handheld terminal.
  • the noise canceling microphone is disposed at a position different from the microphone of the currently used audio circuit, thereby causing the noise canceling microphone.
  • the position is far from the user's mouth, so the audio collected by the noise canceling microphone may include the external sound, that is, noise.
  • the logic may be to invert the waveform of the audio collected by the noise canceling microphone, and then overlap the inverted audio with the audio collected by the microphone of the currently used audio circuit, thereby realizing the function of noise reduction.
  • noise cancellation modes may also be collected, for example, by analyzing the waveform of the noise included in the audio collected by the noise canceling microphone, and then using the waveform of the noise to perform the audio collected by the microphone of the currently used audio circuit. Denoising.
  • the handheld display is provided with a first display screen and a second display screen
  • each of the audio circuits includes at least two speakers, wherein one of the at least two speakers and the first display Corresponding to the screen, another speaker of the at least two speakers corresponds to the second display.
  • the first display screen and the second display screen may be respectively disposed on the front and back sides of the handheld terminal.
  • the first display screen is disposed on the front side of the handheld terminal
  • the second display screen is disposed on the reverse side of the handheld terminal
  • each audio circuit may include a speaker disposed on the front side and a speaker disposed on the reverse side to correspond to the first display.
  • Screen and second display are examples of the first display screen and a second display.
  • the step of selecting an audio circuit corresponding to the current spatial attitude from the at least two audio circuits as the currently used audio circuit according to the corresponding relationship between the preset spatial posture and the audio circuit may include :
  • the audio circuit corresponding to the current spatial attitude is selected from the at least two audio circuits as the current according to the corresponding relationship between the preset spatial posture and the audio circuit.
  • An audio circuit used, and a speaker corresponding to the first display screen in the currently used audio circuit is used as a currently used speaker; or
  • the audio circuit corresponding to the current spatial attitude is selected from the at least two audio circuits as current according to the corresponding relationship between the preset spatial posture and the audio circuit.
  • An audio circuit is used, and a speaker corresponding to the second display screen in the currently used audio circuit is used as a currently used speaker.
  • the received voice received by the voice call can be sent to the first audio circuit.
  • the speaker corresponding to the first display screen is played without being sent to the speaker corresponding to the first audio circuit and the second display screen.
  • the audio to be played can be sent to the first audio circuit and the first A speaker corresponding to a display screen is played without being sent to a speaker corresponding to the first audio circuit and the second display screen.
  • each audio circuit may further include a microphone corresponding to the first display screen and a microphone corresponding to the second display screen, so that the display may be selected and currently used according to the manner of selecting the speaker described above.
  • the microphone corresponding to the screen is used as the microphone currently in use.
  • FIG. 3 is a schematic structural diagram of an audio circuit selecting apparatus according to an embodiment of the present invention.
  • the apparatus is a device corresponding to the audio circuit selecting method shown in FIG. 1 and FIG. 2, as shown in FIG.
  • the method includes: a detecting unit 31 and a selecting unit 32, wherein:
  • the detecting unit 31 is configured to detect a current spatial posture in which the handheld terminal is currently located when detecting that the handheld terminal currently needs to use an audio circuit, where the handheld terminal is provided with at least two audio circuits;
  • the selecting unit 32 is configured to select an audio circuit corresponding to the current spatial posture from the at least two audio circuits as the currently used audio circuit according to a preset relationship between the spatial posture and the audio circuit.
  • the detecting unit 31 may be configured to detect a current spatial posture currently in which the handheld terminal is currently located when detecting that the handheld terminal currently needs to perform a voice call, where each of the audio circuits includes a microphone and a speaker. ;
  • the apparatus may further include:
  • the calling unit 33 is configured to collect a voice signal by using a microphone in the currently used audio circuit, and send the collected voice signal, and play the received voice signal in a speaker in the currently used audio circuit.
  • the selecting unit 32 may be configured to: when the current spatial attitude indicates that the handheld terminal is in an upward posture, according to a correspondence between a preset spatial posture and an audio circuit, from the at least two audio circuits Selecting a first audio circuit as the currently used audio circuit, wherein a set position of at least one of the first audio circuits is above a set position of a microphone of the first audio circuit; or
  • the selecting unit 32 may be configured to: when the current spatial attitude indicates that the handheld terminal is in a downward posture, according to a correspondence between a preset spatial posture and an audio circuit, from the at least two audio circuits Selecting a second audio circuit as the currently used audio circuit, wherein the second Setting a position of at least one of the audio circuits below a set position of a microphone of the second audio circuit; or
  • the selecting unit 32 may be configured to: when the current spatial attitude indicates that the handheld terminal is in a flat position, according to a preset relationship between the spatial posture and the audio circuit, from the at least two audio circuits The audio circuit corresponding to the flat posture is selected as the currently used audio circuit.
  • the detecting unit 31 may be configured to detect a current spatial posture of the handheld terminal when detecting that the handheld terminal currently needs to perform a voice call, and the voice call uses a non-hands-free mode to make a call. .
  • the device further includes:
  • the hands-free unit 34 is configured to: when it is detected that the handheld terminal currently needs to perform a voice call, and the voice call is in a hands-free mode, the preset setting and the hands-free mode are selected from the at least two audio circuits.
  • the audio circuit acts as the audio circuit currently in use.
  • the detecting unit 31 may be configured to detect a current spatial posture currently in which the handheld terminal is currently located when detecting that the handheld terminal currently needs to perform audio playback, where each of the audio circuits includes a speaker;
  • the foregoing apparatus may further include:
  • the playing unit 35 is configured to play the audio currently required to be played in a speaker in the currently used audio circuit.
  • the detecting unit 31 may be configured to detect a current spatial posture in which the handheld terminal is currently located when detecting that the handheld terminal currently needs to perform recording, where each of the audio circuits includes a microphone;
  • the foregoing apparatus may further include:
  • the recording unit 36 is configured to perform recording with a microphone in the currently used audio circuit.
  • the foregoing apparatus may further include:
  • a receiving unit 37 configured to receive an input switching instruction of the switching audio circuit
  • the switching unit 38 is configured to select, from the at least two audio circuits, an audio circuit other than the currently used audio circuit as the currently used audio circuit in response to the switching instruction.
  • the foregoing apparatus may further include:
  • a two-channel playback unit 39 configured to extract left channel audio and right channel audio of the audio when the handheld terminal needs to perform external sound playback on the audio, and use the at least two audio circuits
  • the speaker of the at least one audio circuit plays the left channel audio
  • the right channel audio is played using a speaker of an audio circuit other than the at least one audio circuit of the at least two audio circuits.
  • the hand-held terminal is provided with a noise canceling microphone; as shown in FIG. 10, the device may further include:
  • the noise cancellation unit 310 is configured to: when the handheld terminal collects audio in a microphone of the currently used audio circuit, acquire audio with the noise canceling microphone, and use the audio collected by the noise canceling microphone to use the current audio
  • the audio collected by the microphone of the audio circuit is subjected to noise cancellation processing to obtain the noise cancellation frequency after noise cancellation.
  • the handheld display is provided with a first display screen and a second display screen
  • each of the audio circuits includes at least two speakers, wherein one of the at least two speakers and the first display Corresponding to the screen, another speaker of the at least two speakers corresponds to the second display screen;
  • the selecting unit 32 is further configured to select, from the at least two audio circuits, the current space according to a corresponding relationship between the preset spatial posture and the audio circuit when the first display screen is detected as the current display interface.
  • the audio circuit corresponding to the gesture is used as the currently used audio circuit, and the speaker corresponding to the first display screen in the currently used audio circuit is used as the currently used speaker; or
  • the selecting unit 32 is further configured to select, from the at least two audio circuits, the current space according to a corresponding relationship between the preset spatial posture and the audio circuit when the second display screen is detected as the current display interface.
  • the audio circuit corresponding to the gesture serves as the currently used audio circuit, and the speaker corresponding to the second display screen in the currently used audio circuit is used as the currently used speaker.
  • the above device is a device corresponding to the method shown in FIG. 1 and FIG. 2, and the device can implement any one of the embodiments described in the embodiments shown in FIGS. 1 and 2.
  • the foregoing device may be applied to a handheld terminal, and the handheld terminal may be a handheld device including an audio processing function, such as a mobile phone, a tablet, and a portable device.
  • the handheld terminal may be a handheld device including an audio processing function, such as a mobile phone, a tablet, and a portable device.
  • the handheld terminal when it is detected that the handheld terminal currently needs to use the audio circuit, detecting the current spatial posture of the handheld terminal, wherein the handheld terminal is provided with at least two audio circuits; according to the preset space Corresponding relationship between the gesture and the audio circuit, selecting an audio circuit corresponding to the current spatial attitude from the at least two audio circuits as the currently used audio circuit. In this way, the corresponding audio circuit can be selected according to different postures of the handheld terminal, so that the audio quality of the handheld terminal can be improved.
  • FIG. 11 is a circuit diagram of an audio circuit selection circuit according to an embodiment of the present invention.
  • the circuit is applied to a handheld terminal.
  • the processor includes a processor 111, a spatial attitude sensor 112, and at least two.
  • An audio circuit 113 wherein:
  • An output of the spatial attitude sensor 112 is coupled to a spatial attitude end of the processor 111, the spatial attitude sensor 112 for detecting when the processor 111 detects that the handheld terminal currently needs to use the audio circuit 113
  • the current spatial posture of the handheld terminal is currently transmitted, and the information of the current spatial posture is transmitted to the processor 111;
  • the processor 111 is connected to the at least two audio circuits 113 through different audio ends, and the processor 111 is configured to use the at least two audios according to a preset relationship between the spatial posture and the audio circuit 113.
  • the audio circuit 113 corresponding to the current spatial attitude is selected in the circuit 113 as the currently used audio circuit 113.
  • the foregoing detecting that the handheld terminal currently needs to use the audio circuit 113 may be that the processor 111 detects that the handheld terminal currently needs to play audio, or detects that the handheld terminal currently needs to record, or detects that the handheld terminal currently needs to play audio and recording.
  • the processor 111 detects that the handheld terminal currently needs to use the audio circuit 113, it can send a detection command for detecting the spatial attitude to the spatial attitude sensor 112.
  • the spatial attitude sensor 112 receives the detection command, the spatial attitude detection can be performed.
  • each of the at least two audio circuits 113 may be a circuit for playing audio and/or recording audio
  • each of the audio circuits 113 may include at least a speaker or a microphone
  • each of the audio circuits 113 includes at least a speaker.
  • the number of speakers and microphones included in the microphone or the audio circuit 113 is not limited. For example, one or more speakers may be included or one or more microphones may be included.
  • the space attitude sensor 112 may be an internal or external attitude sensor of the handheld terminal.
  • the attitude posture of the handheld terminal is detected by an attitude sensor such as a gyroscope or a three-axis electronic compass or a three-axis electronic compass.
  • the processor 111 is connected to the at least two audio circuits 113 through different audio terminals, respectively. It can be understood that different audio circuits 113 are connected to the processor 111 through different audio ends of the processor 111. For example: as shown in Figure 11. Of course, in this embodiment, each audio circuit 113 can also be connected to multiple audio ends of the processor 111.
  • the audio circuit 113 includes a speaker and a microphone, and the speaker can be connected to an audio end of the processor 111, and the microphone can be Another with processor 111 Audio terminals are connected. It should be noted that, in this embodiment, the audio end of the processor 111 may be any pin on the processor 111 capable of transmitting an audio signal.
  • the corresponding relationship between the spatial posture and the audio circuit 113 may be previously configured by the user or received by other devices, and pre-held on the terminal, for example, stored in the memory of the handheld terminal, and the processor 111 may The above correspondence is read in the memory.
  • the correspondence between the spatial posture and the audio circuit 113 may include a correspondence relationship between the plurality of spatial gestures and the plurality of audio circuits 113, and one audio circuit 113 may correspond to one or more spatial gestures.
  • the audio circuit 113 can correspond to the upward facing spatial posture of the handheld terminal, because the user's ear is above the mouth, such that The speaker can be placed as close as possible to the ear, making the audio played by the handheld terminal easier for the user to hear.
  • the positions of the speakers included in each of the at least two audio circuits 113 may be different, and may be opposite positions, for example, the speaker of one audio circuit 113 is disposed at the upper end of the handheld terminal, and the other audio is The speaker of the circuit 113 is disposed at the lower end of the handheld terminal.
  • the positions of the microphones included in each of the at least two audio circuits 113 may be different, and may be opposite positions, for example, the microphone of one audio circuit 113 is disposed at the upper end of the handheld terminal, and the microphone of the other audio circuit 113 is disposed at The lower end of the handheld terminal.
  • processor 111 can also encode and decode the audio.
  • the ports of the processor 11 in the embodiment of the present invention may be two or more pins, because a circuit needs to be formed between the processor 111 and the spatial attitude sensor 112. Similarly, the processor It is also necessary to form a loop between the 111 and the audio circuit 113.
  • the upper end and the lower end of the handheld terminal may be a relative concept.
  • the upper end of the handheld terminal may be an opposite end of a control button (eg, a Home button) on the handheld terminal, or the upper end of the handheld terminal may be The end of the handheld terminal is the end of the camera, or the upper end of the handheld terminal may be the end of the upper display area of the default display interface of the handheld terminal, or the upper end of the handheld terminal may be the upper end recognized by those skilled in the art.
  • the audio circuit 113 corresponding to the spatial attitude is selected as the currently used audio circuit 113 according to the current spatial posture of the handheld terminal, so that the audio circuit 113 of the handheld terminal can be avoided.
  • the problem of low audio quality, namely The example can improve the audio quality of the handheld terminal.
  • the handheld terminal may be a handheld device including an audio processing function, such as a mobile phone, a tablet, and a portable device.
  • the output end of the spatial attitude sensor is connected to the spatial posture end of the processor, and the spatial attitude sensor is configured to detect when the processor detects that the handheld terminal currently needs to use an audio circuit.
  • the current spatial posture of the handheld terminal is currently transmitted, and the information of the current spatial posture is transmitted to the processor; the processor is respectively connected to the at least two audio circuits through different audio ends, and the processor uses And selecting, according to a preset correspondence between the spatial posture and the audio circuit, an audio circuit corresponding to the current spatial attitude from the at least two audio circuits as the currently used audio circuit. In this way, the corresponding audio circuit can be selected according to different postures of the handheld terminal, so that the audio quality of the handheld terminal can be improved.
  • FIG. 12 is a circuit diagram of another audio circuit selection circuit according to an embodiment of the present invention.
  • the circuit is applied to a handheld terminal.
  • the method includes: a processor 121, a spatial attitude sensor 122, and at least Two audio circuits 123, wherein:
  • the output of the spatial attitude sensor 122 is connected to the spatial attitude end of the processor 121.
  • the spatial attitude sensor 122 is configured to detect when the processor 121 detects that the handheld terminal currently needs to use the audio circuit 123.
  • the current spatial posture of the handheld terminal is currently transmitted, and the information of the current spatial posture is transmitted to the processor 121;
  • the processor 121 is connected to the at least two audio circuits 123 through different audio ends, and the processor 121 is configured to use the at least two audios according to a preset relationship between the spatial attitude and the audio circuit 123.
  • the audio circuit 123 corresponding to the current spatial attitude is selected in the circuit 123 as the currently used audio circuit 123.
  • audio processing may be performed using the currently used audio circuit 123, wherein the audio processing may include playing audio or recording audio, or the audio processing may include Audio playback and recording of audio.
  • ports of the processor 121 in this embodiment may be two-way or one-way ports.
  • the spatial attitude sensor 122 can be configured to detect the current spatial posture of the handheld terminal when the processor 121 detects that the handheld terminal currently needs to make a voice call. state;
  • each of the audio circuits 123 may include a microphone and a speaker
  • the processor 121 is respectively connected to the microphones of the at least two audio circuits 123 through different audio input ends, and the processor 121 is respectively connected to the speakers of the at least two audio circuits 123 through different audio output ends. ;
  • the microphone of the currently used audio circuit 123 collects a voice signal, and transmits the collected voice signal to the processor 121, and the processor 121 uses the collected voice signal as a voice signal in the voice call;
  • the processor 121 is further configured to send the received voice signal received in the voice call to a speaker of the currently used audio circuit 123, and the speaker of the currently used audio circuit 123 plays the received voice signal.
  • the above-mentioned processor 121 is respectively connected to the microphones of the at least two audio circuits 123 through different audio input terminals, and it can be understood that each microphone is directly or indirectly connected to the processor 121 through different audio input terminals.
  • the above-mentioned processor 121 is connected to the speaker of the at least two audio circuits 123 through different audio output terminals. It can be understood that each speaker is directly or indirectly connected to the processor 121 through different audio output terminals. For details, refer to FIG. 13 . .
  • the corresponding audio circuit 123 can be selected according to the current spatial posture of the handheld terminal to perform a voice call. For example, when a call request of a certain user is received, the current spatial posture of the handheld terminal can be detected, and the corresponding audio circuit 123 is selected to use the audio circuit 123 to make a call.
  • the at least two audio circuits 123 may include:
  • a setting position of at least one of the first audio circuits 1231 is above a set position of a microphone of the first audio circuit 1231, the second audio The set position of at least one of the circuits 1232 is below the set position of the microphone of the second audio circuit 1232;
  • the processor 121 is connected to the microphone of the first audio circuit 1231 through a first audio input end, and the processor 121 is connected to a speaker of the first audio circuit 1231 through a first audio output end, the processor
  • the second audio input terminal is connected to the microphone of the second audio circuit 1232, and the processor 121 is connected to the speaker of the second audio circuit 1232 through the second audio output terminal;
  • the processor 121 selects from the at least two audio circuits 123 according to a corresponding relationship between the preset spatial posture and the audio circuit 123 when the current spatial attitude indicates that the handheld terminal is in an upward posture.
  • the first audio circuit 1231 is used as the currently used audio circuit; or
  • the processor 121 selects from the at least two audio circuits 123 according to a corresponding relationship between the preset spatial posture and the audio circuit 123 when the current spatial attitude indicates that the handheld terminal is in a downward posture.
  • the second audio circuit 1232 serves as the currently used audio circuit; or
  • the processor 121 selects from the at least two audio circuits 123 according to a corresponding relationship between the preset spatial posture and the audio circuit 123 when the current spatial attitude indicates that the handheld terminal is in a flat position.
  • the audio circuit 123 corresponding to the flat posture is used as the currently used audio circuit.
  • the upward posture of the handheld terminal can be understood as the spatial attitude corresponding to the upper end of the handheld terminal on the lower end of the handheld terminal, or can be understood as the upper end upward posture of the handheld terminal.
  • the setting position of at least one of the first audio circuits 1231 above the setting position of the microphone of the first audio circuit 1231 can be understood as the mounting position of the at least one speaker of the first audio circuit 1231 on the handheld terminal.
  • the setting position of at least one of the first audio circuits 1231 is at the upper end of the handheld terminal, and the setting position of the microphone of the first audio circuit 1231 is at the lower end of the handheld terminal.
  • the first audio circuit 1231 includes a plurality of speakers, a part of the speaker positions included in the first audio circuit 1231 may be allowed to be below the microphone of the first audio circuit 1231.
  • the first audio circuit 1231 is selected when the handheld terminal is facing upward, so that when the user makes a voice call using the handheld terminal, since the speaker in the first audio circuit 1231 is above the microphone in the handheld terminal, the speaker is easier. Close to the user's ear, the microphone is easier to get close to the user's mouth, improving audio quality.
  • the downward posture of the handheld terminal can be understood as the spatial attitude corresponding to the lower end of the handheld terminal below the lower end of the handheld terminal, or can be understood as the upper end downward posture of the handheld terminal.
  • the setting position of at least one of the second audio circuits 1232 in the second audio circuit 1232 can be understood as the mounting position of the at least one speaker of the second audio circuit 1232 on the handheld terminal.
  • the setting position of at least one of the second audio circuits is below the set position of the microphone of the second audio circuit 1232, which can be understood as At least one of the second audio circuits 1232 is disposed at a lower end of the handheld terminal, and a microphone of the second audio circuit 1232 is disposed at an upper end of the handheld terminal.
  • the second audio circuit 1232 includes a plurality of speakers, part of the speaker positions included in the second audio circuit 1232 may also be allowed to be above the microphone of the second audio circuit 1232.
  • For a specific setting position of the second audio circuit 1232 reference may be made to the structural embodiment of the handheld terminal provided in the embodiment of the present invention.
  • the second audio circuit 1232 when the handheld terminal is facing down, the second audio circuit 1232 is selected, so that when the user uses the handheld terminal to make a voice call, the handheld terminal may face the user placing the lower end of the mobile phone near the ear, and then the upper end of the handheld terminal. Played near the mouth, since the speaker of the second audio circuit 1232 is under the microphone in the handheld terminal, the speaker is more easily placed close to the user's ear, and the microphone is more easily placed close to the user's mouth, thereby improving the audio quality.
  • the audio circuit 123 corresponding to the flat posture described above may be any one of the audio circuits 123 selected by the user in advance from the at least two audio circuits 123.
  • the user selects the audio circuit 123 that is frequently used as the audio corresponding to the flat posture.
  • the first audio circuit 1231 can be used as the audio circuit 123 corresponding to the flat posture, because in the actual application, when the user puts the handheld terminal on the hand, the handheld terminal is often placed, that is, handheld.
  • the lower end of the terminal faces the user's body, and the upper end of the handheld terminal faces outward, so that the placed handheld terminal is more easily accepted by the user, and the interface displayed by the handheld terminal thus placed is in a normal state to the user's eyes.
  • the first audio circuit 1231 further includes a first audio power amplifier
  • the second audio circuit 1232 further includes a second audio power amplifier, wherein:
  • a first audio output of the processor 121 is coupled to a speaker of the first audio circuit 1231 via the first audio power amplifier, and a second audio output of the processor 121 passes the second audio power amplifier Connected to a speaker of the second audio circuit 1232;
  • the processor 121 is further configured to output a power adjustment command to an audio power amplifier included in the currently used audio circuit 123, where the currently used audio circuit 123 includes an audio function amplifier for adjusting the power adjustment command response power.
  • the speaker included in the first audio circuit 1231 and the second audio circuit 1232 may be a two-in-one speaker, that is, the speaker can be used as a receiver, that is, a voice is played in a non-hands-free mode, and the speaker can also function as a speaker. Speaker, that is, playing voice in hands-free mode.
  • the audio power amplifier between the speaker and the processor 121 when the speaker mode is in the hands-free mode, the power is turned on for audio external release, and when the speaker is in the non-hands-free mode, the power is reduced, and the audio is played in a small audio.
  • This embodiment makes it possible to play audio in the hands-free mode or the non-hands-free mode using the same speaker.
  • the circuit further includes a first display screen 124 and a second display screen 125.
  • the first display screen 124 is disposed on a front surface of the handheld terminal, and the second display screen is 125 is disposed on a reverse side of the handheld terminal;
  • the processor 121 is further connected to the first display screen 124 through a first display end, and the processor 121 is further connected to the second display screen 125 through a second display end, and the processor 121 further And configured to select one of the first display screen 124 and the second display screen 125 to display a call interface of the voice call when detecting that the handheld terminal currently needs to make a voice call.
  • the front side of the handheld terminal and the opposite are a relative concept.
  • the front side of the handheld terminal can be understood as the side where the control key of the handheld terminal (for example, the Home button) is located, or the front side of the handheld terminal can be understood as the handheld terminal.
  • the side on which the default display interface is located, or the front side of the mobile terminal can be understood as the side on which the display interface is located when the handheld terminal is restarted, or the front side of the handheld terminal can be recognized by those skilled in the art.
  • any display screen can be selected for display according to requirements.
  • the corresponding display screen can be selected according to the current spatial attitude of the handheld terminal for display.
  • the first audio circuit 1231 included in the at least two audio circuits 123 may include a first speaker 12311 and a third speaker 12312, wherein the first speaker 12311 is disposed at an upper end position of the front surface of the handheld terminal.
  • the third speaker 12312 is disposed at an upper end position of the reverse side of the handheld terminal;
  • the processor 121 is connected to the first speaker through a first audio output terminal 12311, and the processor 121 is connected to the third speaker through a third audio output terminal 12312; the processor 121 is configured to The first display screen 124 serves as a call interface of the voice call, and when the first audio circuit 1231 is the currently used audio circuit 123, the received voice signal received in the voice call is sent to the a first speaker 12311, the first speaker 12311 plays the received voice signal; or the processor 121 is configured to use the second display screen 125 as a call interface of the voice call, and the first audio circuit When 1231 is the currently used audio circuit 123, the The received voice signal received in the voice call is sent to the third speaker 12312, and the third speaker 12312 plays the received voice signal.
  • the second audio circuit 1232 included in the at least two audio circuits 123 may include a second speaker 12321 and a fourth speaker 12322, wherein the second speaker 12321 is disposed at a lower end position of the front surface of the handheld terminal.
  • the fourth speaker 12322 is disposed at a lower end position of the reverse side of the handheld terminal;
  • the processor 121 is connected to the second speaker 12321 through a second audio output end, and the processor 121 is connected to the fourth speaker 12322 through a fourth audio output terminal; the processor 121 is configured to The first display screen 124 serves as a call interface of the voice call, and when the second audio circuit 1232 is the currently used audio circuit 123, the received voice signal received in the voice call is sent to the a second speaker 12321, the second speaker 12321 plays the received voice signal; or the processor 121 is configured to use the second display screen 125 as a call interface of the voice call, and the second audio circuit When 1232 is the currently used audio circuit 123, the received voice signal received in the voice call is sent to the fourth speaker 12322, and the fourth speaker 12322 plays the received voice signal.
  • the circuit may further include a noise canceling microphone 126, wherein the noise canceling microphone 126 may be disposed on the front side of the handheld terminal, and the implementation of the handheld terminal structure may be further referred to in the embodiment of the present invention.
  • the setting position of the noise canceling microphone In the example, the setting position of the noise canceling microphone.
  • An output end of the noise canceling microphone 126 is connected to a noise canceling frequency end of the processor 121, and the processor 121 is configured to receive the noise canceling microphone when the microphone of the currently used audio circuit 123 collects audio.
  • the collected audio is 126, and the audio collected by the microphone of the currently used audio circuit 123 is subjected to noise canceling processing using the audio collected by the noise canceling microphone 126 to obtain the noise canceling frequency after noise cancellation.
  • the audio collected by the microphone of the currently used audio circuit 123 can be subjected to noise elimination processing to obtain the noise cancellation frequency after the noise is eliminated, so that the noise cancellation frequency can be used as the audio currently recorded by the handheld terminal.
  • the noise canceling microphone 126 may be disposed at a different position than the microphone of the currently used audio circuit 123, thereby causing the noise canceling microphone 126.
  • the position is far from the user's mouth, so that the audio collected by the noise canceling microphone 126 may include external sound, that is, noise. Therefore, the noise elimination processing may be performed by inverting the waveform of the audio collected by the noise canceling microphone 126, and then superimposing the inverted audio with the audio collected by the microphone of the currently used audio circuit 123, thereby realizing the function of noise reduction.
  • noise cancellation modes may also be collected, for example, by analyzing the waveform of the noise included in the audio collected by the noise canceling microphone, and then using the waveform of the noise to collect the audio of the microphone of the currently used audio circuit 123. Perform noise cancellation.
  • FIG. 16 is a schematic structural diagram of a handheld terminal according to an embodiment of the present invention. As shown in FIG. 16, a front surface 161 of the handheld terminal is provided with a first display screen 1611, and the front surface of the handheld terminal is located at the front end.
  • a first opening 1612 is disposed at an upper edge of the first display screen 1611
  • a second opening 1613 is disposed at a front edge of the handheld terminal and at a lower edge of the first display screen, at the handheld terminal
  • the first side 162 is provided with a third opening 1621
  • the second side 163 of the handheld terminal is provided with a fourth opening 1631, wherein the first side 165 is the first display in the handheld terminal a side of the upper side of the screen 161 that is closest to the upper edge of the first display screen 1611, and the second side 163 is another one of the two sides except the first side 162 side.
  • the upper edge of the first display screen 1611 may be the edge of the first display screen 161 included in the upper end of the handheld terminal, or the upper edge of the first display screen 1611 may be understood as the first display screen 1611.
  • the edge corresponding to the upper edge of the default display interface, or the upper edge of the first display screen 1611 may be the edge of the upper end of the handheld terminal of the two short edges of the first display 1611 of the rectangle. 16; the lower edge of the first display screen 1611 is the opposite edge of the upper edge of the first display screen 1611, as shown in FIG.
  • the first opening 1612 may be an area disposed between the upper edge of the handheld terminal and the upper edge of the first display screen 1611, and the first opening 1612 may also be understood as being in front of the handheld terminal.
  • An opening is provided in the housing at an upper edge of the first display screen 1611.
  • the first opening 1612 can be a rectangular opening.
  • the second opening 1613 is disposed on the lower edge of the handheld terminal and the first display The area between the lower edges of the screen 1611, and the second opening 1613 is also understood to be an opening provided at the lower edge of the first display screen 1611 on the front case of the hand held terminal.
  • the second opening 1613 may be a rectangular opening.
  • the first opening 1612 and the second opening 1613 described above may be speakers for audio circuits to play audio.
  • the first side 162 can also be understood as the side of the upper end of the handheld terminal, and the second side 163 can also be understood as the side of the lower end of the handheld terminal.
  • the third opening 1621 and the fourth opening 1621 may be circular openings, and the third opening 1621 and the fourth opening 1621 are used for recording of a microphone of an audio circuit.
  • the handheld terminal has a built-in processor 171, a spatial attitude sensor 172, and at least two audio circuits, wherein:
  • the at least two audio circuits include a first audio circuit and a second audio circuit, wherein the first audio circuit includes a first microphone 17311 and a first speaker 17312, and the second audio circuit includes a second microphone 17321 and a second speaker 17322, and the first speaker 17312 is disposed at the first opening 1612 in the handheld terminal, and the second speaker 17322 is disposed at the second opening 1613 in the handheld terminal And the first microphone 17311 is disposed at the fourth opening 1631 in the handheld terminal, and the second microphone 17321 is disposed at the third opening 1621 in the handheld terminal.
  • the first speaker 17312 is disposed at the first opening 1612 in the handheld terminal.
  • the first speaker 17312 can be understood to play audio through the first opening 1612, and the first speaker 17312 is disposed in the handheld terminal.
  • the second speaker 17322 is disposed at the second opening 1613 in the handheld terminal. It can be understood that the second speaker 17322 plays audio through the second opening 1612, and the second speaker 17322 is disposed in the handheld terminal and is in position. Two openings below the opening 1613.
  • the first microphone 17311 is disposed at the fourth opening 1631 in the handheld terminal. It can be understood that the first microphone 17311 is recorded through the fourth opening 1631. The first microphone 17311 is disposed in the handheld terminal and is in the fourth position. Below the hole 1631 or inside the fourth opening 1631.
  • the second microphone 17321 is disposed at the third opening 1621 in the handheld terminal. It can be understood that the second microphone 17321 is recorded through the third opening 1621, and the second microphone 17321 is disposed in the handheld terminal and is positioned at the third opening 1621. Below or inside the third opening 1621.
  • An output end of the space attitude sensor 172 is connected to a spatial attitude end of the processor 171,
  • the spatial attitude sensor 172 is configured to detect, when the processor 171 detects that the handheld terminal currently needs to use an audio circuit, the current spatial posture currently in which the handheld terminal is located, and transmit the information of the current spatial posture. Giving the processor;
  • the processor 171 is connected to the at least two audio circuits 172 through different audio ends, and the processor 171 is configured to use the corresponding relationship between the preset spatial attitude and the audio circuit, from the at least two audio circuits. An audio circuit corresponding to the current spatial attitude is selected as the currently used audio circuit.
  • FIG. 17 is only a schematic diagram of an internal circuit of a handheld terminal provided by an embodiment of the present invention.
  • the foregoing detecting that the handheld terminal currently needs to use the audio circuit may be that the processor 171 detects that the handheld terminal currently needs to play audio, or detects that the handheld terminal currently needs to record, or detects that the handheld terminal currently needs to play audio and audio.
  • the processor 171 detects that the handheld terminal currently needs to use the audio circuit, it can send a detection command for detecting the spatial attitude to the spatial attitude sensor 172.
  • the spatial attitude sensor 172 receives the detection command, the spatial attitude detection can be performed.
  • the space attitude sensor 172 may be an internal or external attitude sensor of the handheld terminal.
  • the attitude posture of the handheld terminal is detected by an attitude sensor such as a gyroscope or a three-axis electronic compass or a three-axis electronic compass.
  • the processor 171 is respectively connected to the at least two audio circuits through different audio terminals. It can be understood that different audio circuits are connected to the processor 171 through different audio ends of the processor 171. For example: as shown in Figure 17. Of course, in this embodiment, each audio circuit can also be connected to multiple audio ends of the processor 171.
  • the audio circuit includes a speaker and a microphone, and the speaker can be connected to an audio end of the processor 171, and the microphone can be processed. The other audio end of the 171 is connected. It should be noted that, in this embodiment, the audio end of the processor 171 may be any pin on the processor 171 capable of transmitting an audio signal.
  • the corresponding relationship between the spatial posture and the audio circuit may be previously configured by the user or received by another device, and pre-held on the terminal, for example, stored in a memory of the handheld terminal, from which the processor 171 may The above correspondence is read in the memory.
  • the correspondence between the spatial attitude and the audio circuit may include a correspondence between a plurality of spatial gestures and a plurality of audio circuits, and one audio circuit may correspond to one or more spatial gestures.
  • the first audio circuit of the at least two audio circuits 173 may correspond to the spatial orientation of the handheld terminal facing upwards because the user The ear is on the top of the mouth, so that the first opening 1612 can be as close as possible to the ear, that is, the first speaker 17312 is as close as possible to the ear, so that the audio played by the handheld terminal is more easily heard by the user.
  • the upper end and the lower end of the handheld terminal may be a relative concept.
  • the upper end of the handheld terminal may be an opposite end of a control button (eg, a Home button) on the handheld terminal, or the upper end of the handheld terminal may be The end of the handheld terminal is the end of the camera, or the upper end of the handheld terminal may be the end of the upper display area of the default display interface of the handheld terminal, or the upper end of the handheld terminal may be the upper end recognized by those skilled in the art.
  • the audio circuit corresponding to the spatial attitude is selected according to the current spatial posture of the handheld terminal as the currently used audio circuit, thereby avoiding the audio quality caused by the single audio circuit of the handheld terminal.
  • a lower problem is that the present embodiment can improve the audio quality of the handheld terminal.
  • the front side of the handheld terminal and the opposite are a relative concept.
  • the front side of the handheld terminal can be understood as the side where the control key of the handheld terminal (for example, the Home button) is located, or the front side of the handheld terminal can be understood as the handheld terminal.
  • the side on which the default display interface is located, or the front side of the mobile terminal can be understood as the side on which the display interface is located when the handheld terminal is restarted, or the front side of the handheld terminal can be recognized by those skilled in the art.
  • the reverse surface 164 of the handheld terminal is provided with a second display screen 1641, and a fifth opening 1642 is disposed at a position opposite to the first opening 1612 and opposite to the first opening 1612. a sixth opening 1643 is disposed at a position opposite to the second opening 1613 of the handheld terminal 164;
  • the first audio circuit further includes a third speaker, and the third speaker 17313 is disposed at the fifth opening 1642 in the handheld terminal;
  • the second audio circuit further includes a fourth speaker 17323, and the fourth speaker is disposed at the sixth opening 1643 in the handheld terminal.
  • This embodiment can be implemented when the second display screen 1641 is used as the display interface, then the third speaker or the fourth speaker can be selected as the currently used speaker.
  • the first speaker 17312 can also be used simultaneously when the third speaker is used, and the first speaker 17322 can also be used simultaneously when the third speaker is used, specifically controlled by the processor 171.
  • the third speaker and the fourth speaker are both connected to the processor 171.
  • the connection relationship may refer to the connection relationship between the first speaker 17312 and the first speaker 17322 and the processor 171 as shown in FIG. It will not be described in detail here.
  • the first display screen 1611 is a touch display screen
  • the second display screen 1641 is a touch display screen
  • both displays can be used as a touch control display to improve the operability of the handheld terminal.
  • both displays are connected to the processor 171.
  • the front surface 161 of the handheld terminal may also be provided with a sixth opening 1614;
  • a noise canceling microphone is also built in the sixth opening in the handheld terminal.
  • the noise canceling microphone can be coupled to the processor 171.
  • the processor 171 is configured to receive audio collected by the noise canceling microphone when the microphone of the currently used audio circuit collects audio, and use the audio collected by the noise canceling microphone to acquire the microphone of the currently used audio circuit.
  • the audio is processed to eliminate noise and to obtain the noise cancellation frequency after noise is removed.
  • the first side 162 of the handheld terminal may further be provided with a headphone interface 1622.
  • a data line interface 1632 may be further disposed on the second side 163 of the handheld terminal.
  • a camera 1615 may be further disposed on the front surface 161 of the handheld terminal.
  • the handheld terminal may be a handheld device including an audio processing function, such as a mobile phone, a tablet, and a portable device.
  • the front surface of the handheld terminal is provided with a first display screen, and a first opening is disposed on the front side of the handheld terminal and located at an upper edge of the first display screen, and is located at the front of the handheld terminal a second opening is disposed at a lower edge of the first display, a third opening is disposed at a first side of the handheld terminal, and a fourth opening is disposed at a second side of the handheld terminal, where The first side is a side of the two sides of the handheld terminal that is parallel to an upper edge of the first display screen and is closest to an upper edge of the first display screen, and the second side is the The other side of the two sides except the first side; the handheld terminal has a processor, a spatial attitude sensor and at least two audio circuits, wherein: the at least two audio circuits comprise a first audio circuit and a second audio circuit, wherein the first audio circuit includes a first microphone and a first speaker, the second audio circuit includes a second microphone and a second speaker, and the first speaker is disposed at the handheld
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

本发明实施例公开了一种音频电路选择方法、装置和电路以及手持终端,该方法可包括:当检测到手持终端当前需要使用音频电路时,检测所述手持终端当前所处的当前空间姿态,其中,所述手持终端上设置有至少两条音频电路;根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路。本发明实施例可以提高手持终端的音频质量。

Description

一种音频电路选择方法、装置和电路以及手持终端 技术领域
本发明涉及终端领域,尤其涉及一种音频电路选择方法、装置和电路以及手持终端。
背景技术
随着科技的发展,目前手持终端应用也越来越广泛,例如:手机、平板电脑等手持终端。且手持终端很多都支持语音通话和音频播放功能,其中,不管是语音通话还是音频播放都是通过手持终端上的音频电路来实现的,即音频电路可以播放音频和/或者采集音频。然而,目前的手持终端上音频电路的布局都很单一,例如:手机一般都是在手机的下端设置有一个麦克风,在手机的上端设置有一个受话器(也可以称作扬声器),这样在进行语音通话时,使用麦克风采集语音,使用受话器播放语音。然而,在实际应用中,用户使用手持终端时,手持终端的空间姿态不是固定的,例如:通话时手机的上端在下,下端在上,即把手持终端倒过来使用。在该情况下,由于手持终端上的麦克风在上面,而受话器在下面,从而导致麦克风采集的到语音很弱,且受话器播放的语音不容易被用户听到。
可见,由于目前手持终端上的音频电路布局单一,而手持终端所处的空间姿态却是不固定的,从而导致手持终端可能会存在音频质量差的问题。
发明内容
本发明实施例提供了一种音频电路选择方法、装置和电路以及手持终端,可以提高手持终端的音频质量。
第一方面,本发明实施例提供一种音频电路选择方法,包括:
当检测到手持终端当前需要使用音频电路时,检测所述手持终端当前所处的当前空间姿态,其中,所述手持终端上设置有至少两条音频电路;
根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中 选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路。
在第一方面的第一种可能的实现方式中,所述当检测到手持终端当前需要使用音频电路时,检测所述手持终端当前所处的当前空间姿态,包括:
当检测到所述手持终端当前需要进行语音通话时,检测所述手持终端当前所处的当前空间姿态,其中,每条所述音频电路包括麦克风和扬声器;
所述从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路之后,所述方法还包括:
以所述当前使用的音频电路中的麦克风采集语音信号,并发送采集到的语音信号,且以所述当前使用的音频电路中的扬声器播放接收到的语音信号。
结合第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路,包括:
当所述当前空间姿态表示所述手持终端为朝上的姿态时,根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择第一音频电路作为当前使用的音频电路,其中,所述第一音频电路中的至少一个扬声器的设置位置在所述第一音频电路的麦克风的设置位置之上;或者
当所述当前空间姿态表示所述手持终端为朝下的姿态时,根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择第二音频电路作为当前使用的音频电路,其中,所述第二音频电路中的至少一个扬声器的设置位置在所述第二音频电路的麦克风的设置位置之下;或者
当所述当前空间姿态表示所述手持终端为平放的姿态时,根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与平放姿态对应的音频电路作为当前使用的音频电路。
结合第一方面的第一种可能的实现方式或者第一方面的第二种可能的实现方式,在第一方面的第三种可能的实现方式中,所述当检测到所述手持终端当前需要进行语音通话时,检测所述手持终端当前所处的当前空间姿态,包括:
当检测到所述手持终端当前需要进行语音通话,且所述语音通话使用非免提模式进行通话时,检测所述手持终端当前所处的当前空间姿态。
结合第一方面或者第一方面的第一种可能的实现方式或者第一方面的第二 种可能的实现方式,在第一方面的第四种可能的实现方式中,所述方法还包括:
当检测到所述手持终端当前需要进行语音通话,且所述语音通话使用免提模式进行通话时,从所述至少两条音频电路中选择预先设置与免提模式对应的音频电路作为当前使用的音频电路。
结合第一方面,在第一方面的第五种可能的实现方式中,所述当检测到手持终端当前需要使用音频电路时,检测所述手持终端当前所处的当前空间姿态,包括:
当检测到所述手持终端当前需要进行音频播放时,检测所述手持终端当前所处的当前空间姿态,其中,每条所述音频电路包括扬声器;
所述从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路之后,所述方法还包括:
以所述当前使用的音频电路中的扬声器播放当前需要播放的音频。
结合第一方面,在第一方面的第六种可能的实现方式中,所述当检测到手持终端当前需要使用音频电路时,检测所述手持终端当前所处的当前空间姿态,包括:
当检测到所述手持终端当前需要进行录音时,检测所述手持终端当前所处的当前空间姿态,其中,每条所述音频电路包括麦克风;
所述从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路之后,所述方法还包括:
以所述当前使用的音频电路中的麦克风进行录音。
结合第一方面或者第一方面的第一种可能的实现方式或者第一方面的第二种可能的实现方式或者第一方面的第五种可能的实现方式或者第一方面的第六种可能的实现方式,在第一方面的第七种可能的实现方式中,其特征在于,所述从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路之后,所述方法还包括:
接收输入的切换音频电路的切换指令;
响应所述切换指令,从所述至少两条音频电路选择所述当前使用的音频电路之外的一条音频电路作为当前使用的音频电路。
结合第一方面或者第一方面的第一种可能的实现方式或者第一方面的第二种可能的实现方式或者第一方面的第五种可能的实现方式或者第一方面的第六 种可能的实现方式,在第一方面的第八种可能的实现方式中,所述方法还包括:
当检测到所述手持终端需要对音频进行外音播放时,提取该音频的左声道音频和右声道音频,并使用所述至少两条音频电路中的至少一条音频电路的扬声器播放所述左声道音频,使用所述至少两条音频电路中除所述至少一条音频电路之外的音频电路的扬声器播放所述右声道音频。
结合第一方面或者第一方面的第一种可能的实现方式或者第一方面的第二种可能的实现方式或者第一方面的第五种可能的实现方式或者第一方面的第六种可能的实现方式,在第一方面的第九种可能的实现方式中,所述手持终端上设置在消噪麦克风;所述方法还包括:
当所述手持终端以所述当前使用的音频电路的麦克风采集音频时,以所述消噪麦克风采集音频,并使用所述消噪麦克风采集的音频对所述当前使用的音频电路的麦克风采集的音频进行消除噪音处理,以获取消除噪音后的消噪音频。
结合第一方面或者第一方面的第一种可能的实现方式或者第一方面的第二种可能的实现方式或者第一方面的第五种可能的实现方式或者第一方面的第六种可能的实现方式,在第一方面的第十种可能的实现方式中,所述手持终端上设置有第一显示屏和第二显示屏,每条所述音频电路包括至少两个扬声器,其中,所述至少两个扬声器中存在一个扬声器与所述第一显示屏对应,所述至少两个扬声器中存在另一个扬声器与所述第二显示屏对应;
所述根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路,包括:
当检测到所述第一显示屏作为当前显示界面时,根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路,并将所述当前使用的音频电路中与所述第一显示屏对应的扬声器作为当前使用的扬声器;或者
当检测到所述第二显示屏作为当前显示界面时,根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路,并将所述当前使用的音频电路中与所述第二显示屏对应的扬声器作为当前使用的扬声器。
第二方面,本发明实施例提供的一种音频电路选择装置,所述装置应用于手持终端,包括:检测单元和选择单元,其中:
所述检测单元,用于当检测到所述手持终端当前需要使用音频电路时,检测所述手持终端当前所处的当前空间姿态,其中,所述手持终端上设置有至少两条音频电路;
所述选择单元,用于根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路。
在第二方面的第一种可能的实现方式中,所述检测单元用于当检测到所述手持终端当前需要进行语音通话时,检测所述手持终端当前所处的当前空间姿态,其中,每条所述音频电路包括麦克风和扬声器;
所述装置还包括:
通话单元,用于以所述当前使用的音频电路中的麦克风采集语音信号,并发送采集到的语音信号,且以所述当前使用的音频电路中的扬声器播放接收到的语音信号。
结合第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,所述选择单元用于当所述当前空间姿态表示所述手持终端为朝上的姿态时,根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择第一音频电路作为当前使用的音频电路,其中,所述第一音频电路中的至少一个扬声器的设置位置在所述第一音频电路的麦克风的设置位置之上;或者
所述选择单元用于当所述当前空间姿态表示所述手持终端为朝下的姿态时,根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择第二音频电路作为当前使用的音频电路,其中,所述第二音频电路中的至少一个扬声器的设置位置在所述第二音频电路的麦克风的设置位置之下;或者
所述选择单元用于当所述当前空间姿态表示所述手持终端为平放的姿态时,根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与平放姿态对应的音频电路作为当前使用的音频电路。
第三方面,本发明实施例提供一种音频电路选择电路,所述电路应用于手持终端,包括:处理器、空间姿态传感器和至少两条音频电路,其中:
所述空间姿态传感器的输出端与所述处理器的空间姿态端连接,所述空间姿态传感器用于当所述处理器检测到所述手持终端当前需要使用音频电路时, 检测所述手持终端当前所处的当前空间姿态,并将所述当前空间姿态的信息传输给所述处理器;
所述处理器分别通过不同的音频端与所述至少两条音频电路连接,所述处理器用于根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路。
在第三方面的第一种可能的实现方式中,所述空间姿态传感器用于当所述处理器检测到所述手持终端当前需要进行语音通话时,检测所述手持终端当前所处的当前空间姿态;
其中,每条所述音频电路包括麦克风和扬声器;
所述处理器分别通过不同的音频输入端与所述至少两条音频电路的麦克风连接,以及所述处理器分别通过不同的音频输出端与所述至少两条音频电路的扬声器连接;
所述当前使用的音频电路的麦克风采集语音信号,并将采集的语音信号传输给所述处理器,由所述处理器将采集到的语音信号作为所述语音通话中发送语音信号;
所述处理器还用于将所述语音通话中接收的接收语音信号发送给所述当前使用的音频电路的扬声器,所述当前使用的音频电路的扬声器播放所述接收语音信号。
结合第三方面的第一种可能的实现方式,在第三方面的第二种可能的实现方式中,所述至少两条音频电路包括:
第一音频电路和第二音频电路,其中,所述第一音频电路中的至少一个扬声器的设置位置在所述第一音频电路的麦克风的设置位置之上,所述第二音频电路中的至少一个扬声器的设置位置在所述第二音频电路的麦克风的设置位置之下;
所述处理器通过第一音频输入端与所述第一音频电路的麦克风连接,所述处理器通过第一音频输出端与所述第一音频电路的扬声器连接,所述处理器通过第二音频输入端与所述第二音频电路的麦克风连接,所述处理器通过第二音频输出端与所述第二音频电路的扬声器连接;
所述处理器在当所述当前空间姿态表示所述手持终端为朝上的姿态时,根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择所 述第一音频电路作为当前使用的音频电路;或者
所述处理器在当所述当前空间姿态表示所述手持终端为朝下的姿态时,根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择第二音频电路作为当前使用的音频电路;或者
所述处理器在当所述当前空间姿态表示所述手持终端为平放的姿态时,根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与平放姿态对应的音频电路作为当前使用的音频电路。
结合第三方面的第一种可能的实现方式或者第三方面的第二种可能的实现方式,在第三方面的第三种可能的实现方式中,所述第一音频电路还包括第一音频功率放大器,所述第二音频电路还包括第二音频功率放大器,其中:
所述处理器的第一音频输出端通过所述第一音频功率放大器与所述第一音频电路的扬声器连接,所述处理器的第二音频输出端通过所述第二音频功率放大器与所述第二音频电路的扬声器连接;
所述处理器还用于向所述当前使用的音频电路包括的音频功率放大器输出功率调节命令,所述当前使用的音频电路包括的音频功能放大器用于响应所述功率调节命令调节工作功率。
结合第三方面的第一种可能的实现方式或者第三方面的第二种可能的实现方式,在第三方面的第四种可能的实现方式中,所述电路还包括第一显示屏和第二显示屏,所述第一显示屏设置在所述手持终端的正面,所述第二显示屏设置在所述手持终端的反面;
其中,所述处理器还通过第一显示端与所述第一显示屏连接,所述处理器还通过第二显示端与所述第二显示屏连接,所述处理器还用于在检测到所述手持终端当前需要进行语音通话时选择所述第一显示屏和第二显示屏中的一个显示屏显示所述语音通话的通话界面。
结合第三方面的第四种可能的实现方式,在第三方面的第五种可能的实现方式中,所述第一音频电路包括第一扬声器和第三扬声器,其中,所述第一扬声器设置在所述手持终端正面的上端位置,所述第三扬声器设置在所述手持终端反面的上端位置;
其中,所述处理器通过第一音频输出端与所述第一扬声器连接,所述处理器通过第三音频输出端与所述第三扬声器连接;所述处理器用于在所述第一显 示屏作为所述语音通话的通话界面,且所述第一音频电路为所述当前使用的音频电路时,将所述语音通话中接收的接收语音信号发送给所述第一扬声器,所述第一扬声器播放所述接收语音信号;或者所述处理器用于在所述第二显示屏作为所述语音通话的通话界面,且所述第一音频电路为所述当前使用的音频电路时,将所述语音通话中接收的接收语音信号发送给所述第三扬声器,所述第三扬声器播放所述接收语音信号。
结合第三方面的第四种可能的实现方式,在第三方面的第六种可能的实现方式中,所述第二音频电路包括第二扬声器和第四扬声器,其中,所述第二扬声器设置在所述手持终端正面的下端位置,所述第四扬声器设置在所述手持终端反面的下端位置;
其中,所述处理器通过第二音频输出端与所述第二扬声器连接,所述处理器通过第四音频输出端与所述第四扬声器连接;所述处理器用于在所述第一显示屏作为所述语音通话的通话界面,且所述第二音频电路为所述当前使用的音频电路时,将所述语音通话中接收的接收语音信号发送给所述第二扬声器,所述第二扬声器播放所述接收语音信号;或者所述处理器用于在所述第二显示屏作为所述语音通话的通话界面,且所述第二音频电路为所述当前使用的音频电路时,将所述语音通话中接收的接收语音信号发送给所述第四扬声器,所述第四扬声器播放所述接收语音信号。
结合第三方面或者第三方面的第一种可能的实现方式或者第三方面的第二种可能的实现方式,在第三方面的第七种可能的实现方式中,所述电路还包括消噪麦克风,所述消噪麦克风的输出端与所述处理器的消噪音频端连接,所述处理器用于在所述当前使用的音频电路的麦克风采集音频时,接收所述消噪麦克风采集的音频,并使用所述消噪麦克风采集的音频对所述当前使用的音频电路的麦克风采集的音频进行消除噪音处理,以获取消除噪音后的消噪音频。
第四方面,本发明实施例提供一种手持终端,包括:
机体,所述机体的正面设置有第一显示屏,在所述机体正面且位于所述第一显示屏的上边沿处设置有第一开孔,在所述机体正面且位于所述第一显示屏的下边沿处设置有第二开孔,在所述机体的第一侧面设置有第三开孔,在所述机体的第二侧面设置有第四开孔,其中,所述第一侧面为所述机体中与所述第一显示屏的上边沿平行的两侧面中的与所述第一显示屏的上边沿最近的一侧 面,所述第二侧面为所述两侧面除所述第一侧面之外的另一侧面;
所述机体内置有处理器、空间姿态传感器和至少两条音频电路,其中:
所述至少两条音频电路中包括第一音频电路和第二音频电路,其中,所述第一音频电路包括第一麦克风和第一扬声器,所述第二音频电路包括第二麦克风和第二扬声器,且所述第一扬声器设置在所述机体内的所述第一开孔处,所述第二扬声器设置在所述机体内的所述第二开孔处,且所述第一麦克风设置在机体内的所述第四开孔处,且所述第二麦克风设置在机体内的所述第三开孔处;
所述空间姿态传感器的输出端与所述处理器的空间姿态端连接,所述空间姿态传感器用于当所述处理器检测到所述手持终端当前需要使用音频电路时,检测所述手持终端当前所处的当前空间姿态,并将所述当前空间姿态的信息传输给所述处理器;
所述处理器分别通过不同的音频端与所述至少两条音频电路连接,所述处理器用于根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路。
在第四方面的第一种可能的实现方式中,所述机体的反面设置有第二显示屏,在所述机体反面且与所述第一开孔相对的位置设置有第五开孔,在所述机体反面且与所述第二开孔相对的位置设置有第六开孔;
所述第一音频电路还包括第三扬声器,且所述第三扬声器设置在所述机体内的所述第五开孔处;
所述第二音频电路还包括第四扬声器,且所述第四扬声器设置在所述机体内的所述第六开孔处。
结合第四方面的第一种可能的实现方式,在第四方面的第二种可能的实现方式中,所述第一显示屏为触摸显示屏,所述第二显示屏为触摸显示屏。
结合第四方面或者第四方面的第一种可能的实现方式或者第四方面的第二种可能的实现方式,在第四方面的第三种可能的实现方式中,所述机体的正面还设置有第六开孔;
所述机体内在所述第六开孔处还内置有消噪麦克风。
结合第四方面或者第四方面的第一种可能的实现方式或者第四方面的第二种可能的实现方式,在第四方面的第四种可能的实现方式中,在所述机体的所述第一侧面还设置有耳机接口。
结合第四方面或者第四方面的第一种可能的实现方式或者第四方面的第二种可能的实现方式,在第四方面的第五种可能的实现方式中,在所述机体的所述第二侧面还设置有数据线接口。
结合第四方面或者第四方面的第一种可能的实现方式或者第四方面的第二种可能的实现方式,在第四方面的第六种可能的实现方式中,在所述机体的正面还设置有摄像头。
上述技术方案中,当检测到手持终端当前需要使用音频电路时,检测所述手持终端当前所处的当前空间姿态,其中,所述手持终端上设置有至少两条音频电路;根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路。这样可以实现根据手持终端的不同姿态选择对应的音频电路,从而可以提高手持终端的音频质量。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的一种音频电路选择方法的流程示意图;
图2是本发明实施例提供的另一种音频电路选择方法的流程示意图;
图3是本发明实施例提供的一种音频电路选择装置的结构示意图;
图4是本发明实施例提供的另一种音频电路选择装置的结构示意图;
图5是本发明实施例提供的另一种音频电路选择装置的结构示意图;
图6是本发明实施例提供的另一种音频电路选择装置的结构示意图;
图7是本发明实施例提供的另一种音频电路选择装置的结构示意图;
图8是本发明实施例提供的另一种音频电路选择装置的结构示意图;
图9是本发明实施例提供的另一种音频电路选择装置的结构示意图;
图10是本发明实施例提供的另一种音频电路选择装置的结构示意图;
图11是本发明实施例提供的一种音频电路选择电路的电路示意图;
图12是本发明实施例提供的另一种音频电路选择电路的电路示意图;
图13是本发明实施例提供的另一种音频电路选择电路的电路示意图;
图14是本发明实施例提供的另一种音频电路选择电路的电路示意图;
图15是本发明实施例提供的另一种音频电路选择电路的电路示意图;
图16是本发明实施例提供的一种手持终端的结构示意图;
图17是本发明实施例提供的一种手持终端的内容结构示意图;
图18是本发明实施例提供的另一种手持终端的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
请参阅图1,图1是本发明实施例提供的一种音频电路选择方法的流程示意图,如图1所示,包括以下步骤:
101、当检测到手持终端当前需要使用音频电路时,检测所述手持终端当前所处的当前空间姿态,其中,所述手持终端上设置有至少两条音频电路。
本实施例中,上述检测到手持终端当前需要使用音频电路可以是检测到手持终端当前需要播放音频,或者检测到手持终端当前需要录音,或者检测到手持终端当前需要播放音频和录音。另外,上述至少两条音频电路中每条音频电路可以是用于播放音频和/或录制音频的电路,每条音频电路可以至少包括扬声器或者麦克风,或者每条音频电路至少包括扬声器和麦克风,或者音频电路中包括的扬声器和麦克风的数量不作限定。例如:可以包括一个或者多个扬声器,或者可以包括一个或者多个麦克风。另外,上述至少两条音频电路中每条音频电路都可以与手持终端的处理器连接。
本实施例中,上述检测所述手持终端当前所处的当前空间姿态可以是通过手持终端内置或者外置的姿态传感器检测到手持终端当前所处的当前空间姿态,例如:通过陀螺仪或者三轴加速器或者三轴电子罗盘等姿态传感器检测手持终端的空间姿态。
102、根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路。
本实施例中,在从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路后,就可以使用该音频电路播放音频或者录音等。
本实施例中,上述空间姿态与音频电路的对应关系可以是预先通过用户配置的或者接收其他设备发送的。另外,上述空间姿态与音频电路的对应关系可以包括多个空间姿态与多个音频电路的对应关系,且一个音频电路可以与一个或者多个空间姿态对应。例如:上述至少两条音频电路中包括扬声器设置在手持终端上端的音频电路,那么,该音频电路就可以与手持终端朝上的空间姿态对应,因为用户的耳朵在嘴巴的上面,这样可以实现扬声器尽量贴近耳朵,从而让手持终端播放的音频更容易让用户听到。
另外,本实施例中,上述至少两条音频电路中每个包括的扬声器的设置位置可以不同,可以是相对的位置,例如:一条音频电路的扬声器设置在手持终端的上端,另一条音频电路的扬声器设置在手持终端的下端。或者上述至少两条音频电路中每个包括的麦克风的设置位置可以不同,可以是相对的位置,例如:一条音频电路的麦克风设置在手持终端的上端,另一条音频电路的麦克风设置在手持终端的下端。
另外,在本实施例中,手持终端的上端和下端可以是一个相对的概念,例如:手持终端的上端可以是手持终端上控制键(例如:Home键)相对的一端,或者手持终端的上端可以是手持终端上摄像头所在的一端,或者手持终端的上端可以是手持终端默认的显示界面的上面区域所在的一端,或者手持终端的上端可以是本领域技术人员公认的上端。
本实施例中,通过上述步骤就可以实现根据手持终端当前的空间姿态选择一条与该空间姿态对应的音频电路作为当前使用的音频电路,从而可以避免因为手持终端的音频电路单一而造成的音频质量较低的问题,即本实施例可以提高手持终端的音频质量。
本实施例中,上述手持终端可以是包括手机、平板电板、便携式设备等具备音频处理功能的手持设备。
本实施例中,当检测到手持终端当前需要使用音频电路时,检测所述手持终端当前所处的当前空间姿态,其中,所述手持终端上设置有至少两条音频电路;根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中 选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路。这样可以实现根据手持终端的不同姿态选择对应的音频电路,从而可以提高手持终端的音频质量。
请参阅图2,图2是本发明实施例提供的另一种音频电路选择方法的流程示意图,如图2所示,包括:
201、当检测到手持终端当前需要使用音频电路时,检测所述手持终端当前所处的当前空间姿态,其中,所述手持终端上设置有至少两条音频电路。
202、根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路。
本实施例中,在选择好上述当前使用的音频电路后,就可以使用上述当前使用的音频电路进行音频处理,其中,该音频处理可以包括播放音频或者录制音频,或者该音频处理可以包括音频播放和录制音频。
本实施例中,步骤201可以包括:
当检测到所述手持终端当前需要进行语音通话时,检测所述手持终端当前所处的当前空间姿态,其中,每条所述音频电路包括麦克风和扬声器。
在步骤203之后,所述方法还可以包括:
以所述当前使用的音频电路中的麦克风采集语音信号,并发送采集到的语音信号,且以所述当前使用的音频电路中的扬声器播放接收到的语音信号。
该实施方式中,可以实现当手持终端需要进行语音通话时,可以根据手持终端当前的空间姿态选择对应的音频电路进行语音通话。例如:当接收到某一用户的来电请求时,就可以检测所述手持终端当前所处的当前空间姿态,并选择对应的音频电路,以使用该音频电路进行通话。
该实施方式中,上述音频电路可以包括的麦克风和扬声器都可以与手持终端的处理器连接,当前这处连接可以直接连接,也可以间接连接,即通过一些元件器与处理器连接。这样可以实现麦克风采集到的语音信号传输给处理器,以及处理器将接收到的语音信号传输给扬声器进行播放。
该实施方式中,步骤203可以包括:
当所述当前空间姿态表示所述手持终端为朝上的姿态时,根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择第一音频电路作 为当前使用的音频电路,其中,所述第一音频电路中的至少一个扬声器的设置位置在所述第一音频电路的麦克风的设置位置之上。
其中,上述手持终端朝上的姿态可以理解为手持终端上端在手持终端下端的上面所对应的空间姿态,或者可以理解为手持终端的上端朝上的姿态。另外,上述第一音频电路中的至少一个扬声器的设置位置在所述第一音频电路的麦克风的设置位置之上可以理解为第一音频电路的至少一个扬声器在手持终端上的安装位置位于第一音频电路的麦克风在手持终端上的安装位置之上,其中,这里之上是相对手持终端而言的;或者上述第一音频电路中的至少一个扬声器的设置位置在所述第一音频电路的麦克风的设置位置之上可以理解为上述第一音频电路中的至少一个扬声器的设置位置在手持终端的上端,第一音频电路的麦克风的设置位置在手持终端的下端。当然,第一音频电路包括多个扬声器时,也可以允许第一音频电路包括的部分扬声器位置到第一音频电路的麦克风之下。其中,第一音频电路的具体设置位置可以参考本发明实施例中提供的手持终端的结构实施例。
该实施方式中,手持终端朝上时选择第一音频电路,这样用户在使用手持终端进行语音通话时,由于在手持终端中第一音频电路中的扬声器在麦克风之上,这样扬声器更加容易贴近用户的耳朵,麦克风更加容易贴近用户的嘴巴,从而提高音频质量。
该实施方式中,步骤203可以包括:
当所述当前空间姿态表示所述手持终端为朝下的姿态时,根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择第二音频电路作为当前使用的音频电路,其中,所述第二音频电路中的至少一个扬声器的设置位置在所述第二音频电路的麦克风的设置位置之下。
其中,上述手持终端朝下的姿态可以理解为手持终端上端在手持终端下端的下面所对应的空间姿态,或者可以理解为手持终端的上端朝下的姿态。另外,上述第二音频电路中的至少一个扬声器的设置位置在所述第二音频电路的麦克风的设置位置之下可以理解为第二音频电路的至少一个扬声器在手持终端上的安装位置位于第二音频电路的麦克风在手持终端上的安装位置之下,其中,这里之下是相对手持终端而言的;或者上述第二音频电路中的至少一个扬声器的设置位置在所述第二音频电路的麦克风的设置位置之下可以理解为上述第二音 频电路中的至少一个扬声器的设置位置在手持终端的下端,第二音频电路的麦克风的设置位置在手持终端的上端。当然,第二音频电路包括多个扬声器时,也可以允许第二音频电路包括的部分扬声器位置到第二音频电路的麦克风之上。其中,第二音频电路的具体设置位置可以参考本发明实施例中提供的手持终端的结构实施例。
该实施方式中,手持终端朝下时选择第二音频电路,这样用户在使用手持终端进行语音通话时,手持终端朝下可能是用户将手机的下端放在耳朵附近,再将手持终端的上端播放在嘴巴附近,由于在手持终端中第二音频电路的扬声器在麦克风之下,这样扬声器更加容易贴近用户的耳朵,麦克风更加容易贴近用户的嘴巴,从而提高音频质量。
该实施方式中,步骤203可以包括:
当所述当前空间姿态表示所述手持终端为平放的姿态时,根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与平放姿态对应的音频电路作为当前使用的音频电路。
其中,上述平放姿态对应的音频电路可以是用户预先从所述至少两条音频电路中选择的任意一条音频电路,例如:用户选择经常使用的音频电路作为平放姿态对应的音频电路。优先的,可以将上述第一音频电路作为平放姿态对应的音频电路,因为在实际应用中,用户把手持终端平放拿在手上时,往往是将手持终端正放着,即手持终端的下端朝向用户的身体,而手持终端的上端朝外,这样放置的手持终端更容易被用户接受,且这样放置的手持终端显示的界面对于用户的眼睛是呈正常状态的。
该实施方式中,上述当检测到所述手持终端当前需要进行语音通话时,检测所述手持终端当前所处的当前空间姿态的步骤,可以包括:
当检测到所述手持终端当前需要进行语音通话,且所述语音通话使用非免提模式进行通话时,检测所述手持终端当前所处的当前空间姿态。
其中,上述非免提模式可以理解为听筒模式,即语音通话时不使用免提模式,从而可以根据手持终端的当前空间姿态选择对应的音频电路进行语音通话。
本实施例中,上述方法还可以包括如下步骤:
当检测到所述手持终端当前需要进行语音通话,且所述语音通话使用免提模式进行通话时,从所述至少两条音频电路中选择预先设置与免提模式对应的 音频电路作为当前使用的音频电路。
其中,上述与免提模式对应的音频电路可以用户预先设置好的,例如:选择前面实施方式中介绍的第一音频电路,其中,该第一音频电路包括一个可以进行免提模式的扬声器,该扬声器可以是二合一的扬声器,即该扬声器可以作为受话器,即非免提模式下进行播放语音的,该扬声器还可以作为喇叭,即在免提模式下进行播放语音的。具体可以在该扬声器和处理器之间连接音频功率放大器,当是免提模式时调大功率,以进行音频外放,当在非免提模式时调小功率,以小音频播放音频。
本实施例中,步骤201可以包括:
当检测到所述手持终端当前需要进行音频播放时,检测所述手持终端当前所处的当前空间姿态,其中,每条所述音频电路包括扬声器;
在步骤202之后,上述方法还可以包括如下步骤:
以所述当前使用的音频电路中的扬声器播放当前需要播放的音频。
该实施方式可以实现当手持终端需要进行音频播放时,例如:播放聊天软件中的音频信号,选择对应的音频电路进行音频播放。
该实施方式中在选择音频电路时,可以参考上述介绍语音通话的实施方式中选择音频电路的实现方式,此处不作重复说明,只是本实施方式中音频电路可以不包括麦克风。
本实施例中,步骤201可以包括:
当检测到所述手持终端当前需要进行录音时,检测所述手持终端当前所处的当前空间姿态,其中,每条所述音频电路包括麦克风;
在步骤202之后,上述方法还可以包括如下步骤:
以所述当前使用的音频电路中的麦克风进行录音。
该实施方式可以实现当手持终端需要进行录音时,例如:在使用聊天软件进行语音聊天中的录音时,选择对应的音频电路进行音频播放。
该实施方式中在选择音频电路时,可以参考上述介绍语音通话的实施方式中选择音频电路的实现方式,此处不作重复说明,只是本实施方式中音频电路可以不包括扬声器。
本实施例中,在步骤202之后,上述方法还可以包括如下步骤:
接收输入的切换音频电路的切换指令;
响应所述切换指令,从所述至少两条音频电路选择所述当前使用的音频电路之外的一条音频电路作为当前使用的音频电路。
该实施方式中,可以在步骤202选择好音频电路后,还可以根据输入的切换指令进行任意音频电路的切换,以实现灵活切换音频电路。
本实施例中,上述方法还可以包括如下步骤:
当检测到所述手持终端需要对音频进行外音播放时,提取该音频的左声道音频和右声道音频,并使用所述至少两条音频电路中的至少一条音频电路的扬声器播放所述左声道音频,使用所述至少两条音频电路中除所述至少一条音频电路之外的音频电路的扬声器播放所述右声道音频。
其中,上述外音播放可以是播放音乐、播放视频声音或者播放游戏声音或者免提通话等需要将音频进行外放。另外,上述至少一条音频电路的扬声器播放所述左声道音频可以是预先设置好的,其他的音频电路就播放右声道音频。这样可以实现以双声道进行播放音频。其中,提取该音频的左声道音频和右声道音频对于本领域技术人员来说是公知的,此处不作详细说明。
另外,本实施例中,当检测到所述手持终端需要对音频进行外音播放时,还可以使用上述至少两条音频电路进行立休声播放。
本实施例中,上述手持终端上还可以设置有消噪麦克风,其中,消噪麦克风可以设置在手持终端的正面,具体还可以参考本发明实施例中介绍手持终端结构的实施例中消噪麦克风的设置位置。上述方法还可以包括如下步骤:
203、当所述手持终端以所述当前使用的音频电路的麦克风采集音频时,以所述消噪麦克风采集音频,并使用所述消噪麦克风采集的音频对所述当前使用的音频电路的麦克风采集的音频进行消除噪音处理,以获取消除噪音后的消噪音频。
该实施方式中可以对上述当前使用的音频电路的麦克风采集的音频进行消除噪音处理,以获取消除噪音后的消噪音频,这样该消噪音频就可以作为手持终端当前录制的音频。
该实施方式中,通过步骤201和步骤202就可以确定上述当前使用的音频电路的麦克风贴近用户的嘴巴,而上述消噪麦克风设置在位置与当前使用的音频电路的麦克风不同,从而导致消噪麦克风的位置离用户嘴巴比较远,从而消噪麦克风采集的音频就可能会包括外界的声音,即噪音。从而上述消除噪音处 理可以是将消噪麦克风采集的音频进行波形倒相,再将倒相后的音频与上述当前使用的音频电路的麦克风采集的音频进行重叠,即实现降噪的功能。当然,本实施例中,还可以采集其他消噪方式,例如:通过分析消噪麦克风采集的音频包括的噪音的波形,再使用该噪音的波形对上述当前使用的音频电路的麦克风采集的音频进行消噪。
本实施例中,手持终端上设置有第一显示屏和第二显示屏,每条所述音频电路包括至少两个扬声器,其中,所述至少两个扬声器中存在一个扬声器与所述第一显示屏对应,所述至少两个扬声器中存在另一个扬声器与所述第二显示屏对应。另外,上述第一显示屏和第二显示屏可以分别设置在手持终端的正反面。例如:第一显示屏设置在手持终端在正面,第二显示屏设置在手持终端在反面,那么每条音频电路就可以包括设置在正面的扬声器和设置在反面的扬声器,以对应于第一显示屏和第二显示屏。
该实施方式中,上述根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路的步骤,可以包括:
当检测到所述第一显示屏作为当前显示界面时,根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路,并将所述当前使用的音频电路中与所述第一显示屏对应的扬声器作为当前使用的扬声器;或者
当检测到所述第二显示屏作为当前显示界面时,根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路,并将所述当前使用的音频电路中与所述第二显示屏对应的扬声器作为当前使用的扬声器。
例如:在语音通话场景中,当第一显示屏作为当前显示界面的显示屏时,且根据空间姿态关系选择第一音频电路时,就可以将语音通话接收到的接收语音发送给第一音频电路中与第一显示屏对应的扬声器进行播放,而不发送给第一音频电路与第二显示屏对应的扬声器。例如:在音频播放场景中,当第一显示屏作为当前显示界面的显示屏时,且根据空间姿态关系选择第一音频电路时,就可以将需要播放的音频发送给第一音频电路中与第一显示屏对应的扬声器进行播放,而不发送给第一音频电路与第二显示屏对应的扬声器。
另外,本实施例中,每条音频电路还可以包括与第一显示屏对应的麦克风,以及与第二显示屏对应的麦克风,这样同样可以根据上述介绍的选择扬声器的方式选择与当前使用的显示屏对应的麦克风作为当前使用的麦克风。
本实施例中,在图1所示的实施例的基础上增加了多种可选的实施方式,且都可以实现提高手持终端的音频质量。
请参阅图3,图3是本发明实施例提供的一种音频电路选择装置的结构示意图,该装置作为与图1和图2所示的音频电路选择方法对应的装置,如图3所示,包括:检测单元31和选择单元32,其中:
检测单元31,用于当检测到所述手持终端当前需要使用音频电路时,检测所述手持终端当前所处的当前空间姿态,其中,所述手持终端上设置有至少两条音频电路;
选择单元32,用于根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路。
本实施例中,检测单元31可以用于当检测到所述手持终端当前需要进行语音通话时,检测所述手持终端当前所处的当前空间姿态,其中,每条所述音频电路包括麦克风和扬声器;
如图4所示,所述装置还可以包括:
通话单元33,用于以所述当前使用的音频电路中的麦克风采集语音信号,并发送采集到的语音信号,且以所述当前使用的音频电路中的扬声器播放接收到的语音信号。
该实施方式中,选择单元32可以用于当所述当前空间姿态表示所述手持终端为朝上的姿态时,根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择第一音频电路作为当前使用的音频电路,其中,所述第一音频电路中的至少一个扬声器的设置位置在所述第一音频电路的麦克风的设置位置之上;或者
该实施方式中,选择单元32可以用于当所述当前空间姿态表示所述手持终端为朝下的姿态时,根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择第二音频电路作为当前使用的音频电路,其中,所述第二 音频电路中的至少一个扬声器的设置位置在所述第二音频电路的麦克风的设置位置之下;或者
该实施方式中,选择单元32可以用于当所述当前空间姿态表示所述手持终端为平放的姿态时,根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与平放姿态对应的音频电路作为当前使用的音频电路。
该实施方式中,检测单元31可以用于当检测到所述手持终端当前需要进行语音通话,且所述语音通话使用非免提模式进行通话时,检测所述手持终端当前所处的当前空间姿态。
本实施例中,如图5所示,所述装置还包括:
免提单元34,用于当检测到所述手持终端当前需要进行语音通话,且所述语音通话使用免提模式进行通话时,从所述至少两条音频电路中选择预先设置与免提模式对应的音频电路作为当前使用的音频电路。
本实施例中,检测单元31可以用于当检测到所述手持终端当前需要进行音频播放时,检测所述手持终端当前所处的当前空间姿态,其中,每条所述音频电路包括扬声器;
如图6所示,上述装置还可以包括:
播放单元35,用于以所述当前使用的音频电路中的扬声器播放当前需要播放的音频。
本实施例中,检测单元31可以用于当检测到所述手持终端当前需要进行录音时,检测所述手持终端当前所处的当前空间姿态,其中,每条所述音频电路包括麦克风;
如图7所示,上述装置还可以包括:
录音单元36,用于以所述当前使用的音频电路中的麦克风进行录音。
本实施例中,如图8所示,上述装置还可以包括:
接收单元37,用于接收输入的切换音频电路的切换指令;
切换单元38,用于响应所述切换指令,从所述至少两条音频电路选择所述当前使用的音频电路之外的一条音频电路作为当前使用的音频电路。
本实施例中,如图9所示,上述装置还可以包括:
双声道播放单元39,用于当检测到所述手持终端需要对音频进行外音播放时,提取该音频的左声道音频和右声道音频,并使用所述至少两条音频电路中 的至少一条音频电路的扬声器播放所述左声道音频,使用所述至少两条音频电路中除所述至少一条音频电路之外的音频电路的扬声器播放所述右声道音频。
本实施例中,所述手持终端上设置有消噪麦克风;如图10所示,上述装置还可以包括:
消噪单元310,用于当所述手持终端以所述当前使用的音频电路的麦克风采集音频时,以所述消噪麦克风采集音频,并使用所述消噪麦克风采集的音频对所述当前使用的音频电路的麦克风采集的音频进行消除噪音处理,以获取消除噪音后的消噪音频。
本实施例中,手持终端上设置有第一显示屏和第二显示屏,每条所述音频电路包括至少两个扬声器,其中,所述至少两个扬声器中存在一个扬声器与所述第一显示屏对应,所述至少两个扬声器中存在另一个扬声器与所述第二显示屏对应;
选择单元32还可以用于当检测到所述第一显示屏作为当前显示界面时,根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路,并将所述当前使用的音频电路中与所述第一显示屏对应的扬声器作为当前使用的扬声器;或者
选择单元32还可以用于当检测到所述第二显示屏作为当前显示界面时,根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路,并将所述当前使用的音频电路中与所述第二显示屏对应的扬声器作为当前使用的扬声器。
需要说明的是,上述装置作为图1和图2所示的方法对应的装置,该装置可以实现如图1和图2所示的实施例中介绍的任意一种实施方式。
本实施例中,上述装置可以应用于手持终端,该手持终端可以是包括手机、平板电板、便携式设备等具备音频处理功能的手持设备。
本实施例中,当检测到手持终端当前需要使用音频电路时,检测所述手持终端当前所处的当前空间姿态,其中,所述手持终端上设置有至少两条音频电路;根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路。这样可以实现根据手持终端的不同姿态选择对应的音频电路,从而可以提高手持终端的音频质量。
请参阅图11,图11是本发明实施例提供的一种音频电路选择电路的电路示意图,该电路应用于手持终端,如图11所示,包括:处理器111、空间姿态传感器112和至少两条音频电路113,其中:
空间姿态传感器112的输出端与所述处理器111的空间姿态端连接,所述空间姿态传感器112用于当所述处理器111检测到所述手持终端当前需要使用音频电路113时,检测所述手持终端当前所处的当前空间姿态,并将所述当前空间姿态的信息传输给所述处理器111;
所述处理器111分别通过不同的音频端与所述至少两条音频电路113连接,所述处理器111用于根据预设的空间姿态与音频电路113的对应关系,从所述至少两条音频电路113中选择与所述当前空间姿态对应的音频电路113作为当前使用的音频电路113。
本实施例中,上述检测到手持终端当前需要使用音频电路113可以是处理器111检测到手持终端当前需要播放音频,或者检测到手持终端当前需要录音,或者检测到手持终端当前需要播放音频和录音。且处理器111检测到手持终端当前需要使用音频电路113时可以向空间姿态传感器112发送检测空间姿态的检测命令,空间姿态传感器112接收到该检测命令时,就可以进行空间姿态检测。另外,上述至少两条音频电路113中每条音频电路113可以是用于播放音频和/或录制音频的电路,每条音频电路113可以至少包括扬声器或者麦克风,或者每条音频电路113至少包括扬声器和麦克风,或者音频电路113中包括的扬声器和麦克风的数量不作限定。例如:可以包括一个或者多个扬声器,或者可以包括一个或者多个麦克风。
本实施例中,上述空间姿态传感器112可以是手持终端内置或者外置的姿态传感器,例如:通过陀螺仪或者三轴加速器或者三轴电子罗盘等姿态传感器检测手持终端的空间姿态。
本实施例中,处理器111分别通过不同的音频端与所述至少两条音频电路113连接可以理解为,不同的音频电路113通过处理器111的不同的音频端与处理器111连接。例如:如图11所示。当然,本实施例中,每条音频电路113也可以与处理器111的多个音频端连接,例如:音频电路113包括扬声器和麦克风,该扬声器可以与处理器111的一个音频端连接,麦克风可以与处理器111的另一 个音频端连接。需要说明的是,本实施例中,处理器111的音频端可以是处理器111上任意能够传输音频信号的引脚。
本实施例中,上述空间姿态与音频电路113的对应关系可以是预先通过用户配置的或者接收其他设备发送的,并预先手持终端上的,例如:存储在手持终端的存储器,处理器111可以从该存储器中读取上述对应关系。另外,上述空间姿态与音频电路113的对应关系可以包括多个空间姿态与多个音频电路113的对应关系,且一个音频电路113可以与一个或者多个空间姿态对应。例如:上述至少两条音频电路113中包括扬声器设置在手持终端上端的音频电路113,那么,该音频电路113就可以与手持终端朝上的空间姿态对应,因为用户的耳朵在嘴巴的上面,这样可以实现扬声器尽量贴近耳朵,从而让手持终端播放的音频更容易让用户听到。
另外,本实施例中,上述至少两条音频电路113中每个包括的扬声器的设置位置可以不同,可以是相对的位置,例如:一条音频电路113的扬声器设置在手持终端的上端,另一条音频电路113的扬声器设置在手持终端的下端。或者上述至少两条音频电路113中每个包括的麦克风的设置位置可以不同,可以是相对的位置,例如:一条音频电路113的麦克风设置在手持终端的上端,另一条音频电路113的麦克风设置在手持终端的下端。
需要说明的是,处理器111在选择好音频电路后,处理器111还可以对音频进行编码和解码。
需要说明的是,本发明实施例中的处理器11的端口都可以是包括两个或者多个引脚的,因为处理器111和空间姿态传感器112之间是需要形成一个回路,同样,处理器111和音频电路113之间也是需要形成回路的。
另外,在本实施例中,手持终端的上端和下端可以是一个相对的概念,例如:手持终端的上端可以是手持终端上控制键(例如:Home键)相对的一端,或者手持终端的上端可以是手持终端上摄像头所在的一端,或者手持终端的上端可以是手持终端默认的显示界面的上面区域所在的一端,或者手持终端的上端可以是本领域技术人员公认的上端。
本实施例中,通过上述电路就可以实现根据手持终端当前的空间姿态选择一条与该空间姿态对应的音频电路113作为当前使用的音频电路113,从而可以避免因为手持终端的音频电路113单一而造成的音频质量较低的问题,即本实 施例可以提高手持终端的音频质量。
本实施例中,上述手持终端可以是包括手机、平板电板、便携式设备等具备音频处理功能的手持设备。
本实施例中,空间姿态传感器的输出端与所述处理器的空间姿态端连接,所述空间姿态传感器用于当所述处理器检测到所述手持终端当前需要使用音频电路时,检测所述手持终端当前所处的当前空间姿态,并将所述当前空间姿态的信息传输给所述处理器;所述处理器分别通过不同的音频端与所述至少两条音频电路连接,所述处理器用于根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路。这样可以实现根据手持终端的不同姿态选择对应的音频电路,从而可以提高手持终端的音频质量。
请参阅图12,图12是本发明实施例提供的另一种音频电路选择电路的电路示意图,该电路应用于手持终端,如图12所示,包括:处理器121、空间姿态传感器122和至少两条音频电路123,其中:
所述空间姿态传感器122的输出端与所述处理器121的空间姿态端连接,所述空间姿态传感器122用于当所述处理器121检测到所述手持终端当前需要使用音频电路123时,检测所述手持终端当前所处的当前空间姿态,并将所述当前空间姿态的信息传输给所述处理器121;
所述处理器121分别通过不同的音频端与所述至少两条音频电路123连接,所述处理器121用于根据预设的空间姿态与音频电路123的对应关系,从所述至少两条音频电路123中选择与所述当前空间姿态对应的音频电路123作为当前使用的音频电路123。
本实施例中,在选择好上述当前使用的音频电路123后,就可以使用上述当前使用的音频电路123进行音频处理,其中,该音频处理可以包括播放音频或者录制音频,或者该音频处理可以包括音频播放和录制音频。
需要说明的是,本实施例中处理器121的端口都可以是双向或者单向的端口。
本实施例中,空间姿态传感器122可以用于当所述处理器121检测到所述手持终端当前需要进行语音通话时,检测所述手持终端当前所处的当前空间姿 态;
其中,每条所述音频电路123可以包括麦克风和扬声器;
所述处理器121分别通过不同的音频输入端与所述至少两条音频电路123的麦克风连接,以及所述处理器121分别通过不同的音频输出端与所述至少两条音频电路123的扬声器连接;
所述当前使用的音频电路123的麦克风采集语音信号,并将采集的语音信号传输给所述处理器121,由所述处理器121将采集到的语音信号作为所述语音通话中发送语音信号;
所述处理器121还用于将所述语音通话中接收的接收语音信号发送给所述当前使用的音频电路123的扬声器,所述当前使用的音频电路123的扬声器播放所述接收语音信号。
上述处理器121分别通过不同的音频输入端与所述至少两条音频电路123的麦克风连接可以理解为,每个麦克风通过不同的音频输入端与处理器121直接或者间接连接。上述处理器121分别通过不同的音频输出端与所述至少两条音频电路123的扬声器连接可以理解为,每个扬声器通过不同的音频输出端与处理器121直接或者间接连接,具体可以参考图13。
该实施方式中,可以实现当手持终端需要进行语音通话时,可以根据手持终端当前的空间姿态选择对应的音频电路123进行语音通话。例如:当接收到某一用户的来电请求时,就可以检测所述手持终端当前所处的当前空间姿态,并选择对应的音频电路123,以使用该音频电路123进行通话。
该实施方式中,上述至少两条音频电路123可以包括:
第一音频电路1231和第二音频电路1232,其中,所述第一音频电路1231中的至少一个扬声器的设置位置在所述第一音频电路1231的麦克风的设置位置之上,所述第二音频电路1232中的至少一个扬声器的设置位置在所述第二音频电路1232的麦克风的设置位置之下;
所述处理器121通过第一音频输入端与所述第一音频电路1231的麦克风连接,所述处理器121通过第一音频输出端与所述第一音频电路1231的扬声器连接,所述处理器121通过第二音频输入端与所述第二音频电路1232的麦克风连接,所述处理器121通过第二音频输出端与所述第二音频电路1232的扬声器连接;
所述处理器121在当所述当前空间姿态表示所述手持终端为朝上的姿态时,根据预设的空间姿态与音频电路123的对应关系,从所述至少两条音频电路123中选择所述第一音频电路1231作为当前使用的音频电路;或者
所述处理器121在当所述当前空间姿态表示所述手持终端为朝下的姿态时,根据预设的空间姿态与音频电路123的对应关系,从所述至少两条音频电路123中选择第二音频电路1232作为当前使用的音频电路;或者
所述处理器121在当所述当前空间姿态表示所述手持终端为平放的姿态时,根据预设的空间姿态与音频电路123的对应关系,从所述至少两条音频电路123中选择与平放姿态对应的音频电路123作为当前使用的音频电路。
其中,上述手持终端朝上的姿态可以理解为手持终端上端在手持终端下端的上面所对应的空间姿态,或者可以理解为手持终端的上端朝上的姿态。另外,上述第一音频电路1231中的至少一个扬声器的设置位置在所述第一音频电路1231的麦克风的设置位置之上可以理解为第一音频电路1231的至少一个扬声器在手持终端上的安装位置位于第一音频电路1231的麦克风在手持终端上的安装位置之上,其中,这里之上是相对手持终端而言的;或者上述第一音频电路1231中的至少一个扬声器的设置位置在所述第一音频电路1231的麦克风的设置位置之上可以理解为上述第一音频电路1231中的至少一个扬声器的设置位置在手持终端的上端,第一音频电路1231的麦克风的设置位置在手持终端的下端。当然,第一音频电路1231包括多个扬声器时,也可以允许第一音频电路1231包括的部分扬声器位置到第一音频电路1231的麦克风之下。其中,第一音频电路1231的具体设置位置可以参考本发明实施例中提供的手持终端的结构实施例。
该实施方式中,手持终端朝上时选择第一音频电路1231,这样用户在使用手持终端进行语音通话时,由于在手持终端中第一音频电路1231中的扬声器在麦克风之上,这样扬声器更加容易贴近用户的耳朵,麦克风更加容易贴近用户的嘴巴,从而提高音频质量。
其中,上述手持终端朝下的姿态可以理解为手持终端上端在手持终端下端的下面所对应的空间姿态,或者可以理解为手持终端的上端朝下的姿态。另外,上述第二音频电路1232中的至少一个扬声器的设置位置在所述第二音频电路1232的麦克风的设置位置之下可以理解为第二音频电路1232的至少一个扬声器在手持终端上的安装位置位于第二音频电路1232的麦克风在手持终端上的安装 位置之下,其中,这里之下是相对手持终端而言的;或者上述第二音频电路中的至少一个扬声器的设置位置在所述第二音频电路1232的麦克风的设置位置之下可以理解为上述第二音频电路1232中的至少一个扬声器的设置位置在手持终端的下端,第二音频电路1232的麦克风的设置位置在手持终端的上端。当然,第二音频电路1232包括多个扬声器时,也可以允许第二音频电路1232包括的部分扬声器位置到第二音频电路1232的麦克风之上。其中,第二音频电路1232的具体设置位置可以参考本发明实施例中提供的手持终端的结构实施例。
该实施方式中,手持终端朝下时选择第二音频电路1232,这样用户在使用手持终端进行语音通话时,手持终端朝下可能是用户将手机的下端放在耳朵附近,再将手持终端的上端播放在嘴巴附近,由于在手持终端中第二音频电路1232的扬声器在麦克风之下,这样扬声器更加容易贴近用户的耳朵,麦克风更加容易贴近用户的嘴巴,从而提高音频质量。
其中,上述平放姿态对应的音频电路123可以是用户预先从所述至少两条音频电路123中选择的任意一条音频电路123,例如:用户选择经常使用的音频电路123作为平放姿态对应的音频电路123。优先的,可以将上述第一音频电路1231作为平放姿态对应的音频电路123,因为在实际应用中,用户把手持终端平放拿在手上时,往往是将手持终端正放着,即手持终端的下端朝向用户的身体,而手持终端的上端朝外,这样放置的手持终端更容易被用户接受,且这样放置的手持终端显示的界面对于用户的眼睛是呈正常状态的。
该实施方式,如图13所示,第一音频电路1231还包括第一音频功率放大器,所述第二音频电路1232还包括第二音频功率放大器,其中:
所述处理器121的第一音频输出端通过所述第一音频功率放大器与所述第一音频电路1231的扬声器连接,所述处理器121的第二音频输出端通过所述第二音频功率放大器与所述第二音频电路1232的扬声器连接;
所述处理器121还用于向所述当前使用的音频电路123包括的音频功率放大器输出功率调节命令,所述当前使用的音频电路123包括的音频功能放大器用于响应所述功率调节命令调节工作功率。
该实施方式中,第一音频电路1231和第二音频电路1232包括的扬声器可以是二合一的扬声器,即该扬声器可以作为受话器,即非免提模式下进行播放语音的,该扬声器还可以作为喇叭,即在免提模式下进行播放语音的。具体可 以在该扬声器和处理器121之间连接音频功率放大器,当是免提模式时调大功率,以进行音频外放,当在非免提模式时调小功率,以小音频播放音频。
该实施方式可实现使用同一扬声器进行免提模式或者非免提模式播放音频。
本实施例中,如图14所示,所述电路还包括第一显示屏124和第二显示屏125,所述第一显示屏124设置在所述手持终端的正面,所述第二显示屏125设置在所述手持终端的反面;
其中,所述处理器121还通过第一显示端与所述第一显示屏124连接,所述处理器121还通过第二显示端与所述第二显示屏125连接,所述处理器121还用于在检测到所述手持终端当前需要进行语音通话时选择所述第一显示屏124和第二显示屏125中的一个显示屏显示所述语音通话的通话界面。
其中,上述手持终端的正面和反正是一个相对的概念,其中,手持终端的正面可以理解为手持终端的控制键(例如:Home键)所在的一面,或者上述手持终端的正面可以理解为手持终端默认的显示界面所在的一面,或者手机终端的正面可以理解为手持终端重启时显示界面所在的一面,或者上述手持终端的正面可以是本领域技术人员公认的正面。
该实施方式中,由于包括两个显示屏这样用户在使用手持终端时,可以根据需求选择任意显示屏进行显示。或者可以根据手持终端的当前空间姿态选择对应的显示屏进行显示。
该实施方式中,上述至少两个音频电路123包括的第一音频电路1231可以包括第一扬声器12311和第三扬声器12312,其中,所述第一扬声器12311设置在所述手持终端正面的上端位置,所述第三扬声器12312设置在所述手持终端反面的上端位置;
其中,所述处理器121通过第一音频输出端与所述第一扬声器连接12311,所述处理器121通过第三音频输出端与所述第三扬声器连接12312;所述处理器121用于在所述第一显示屏124作为所述语音通话的通话界面,且所述第一音频电路1231为所述当前使用的音频电路123时,将所述语音通话中接收的接收语音信号发送给所述第一扬声器12311,所述第一扬声器12311播放所述接收语音信号;或者所述处理器121用于在所述第二显示屏125作为所述语音通话的通话界面,且所述第一音频电路1231为所述当前使用的音频电路123时,将所述 语音通话中接收的接收语音信号发送给所述第三扬声器12312,所述第三扬声器12312播放所述接收语音信号。
该实施方式中,上述至少两个音频电路123包括的第二音频电路1232可以包括第二扬声器12321和第四扬声器12322,其中,所述第二扬声器12321设置在所述手持终端正面的下端位置,所述第四扬声器12322设置在所述手持终端反面的下端位置;
其中,所述处理器121通过第二音频输出端与所述第二扬声器12321连接,所述处理器121通过第四音频输出端与所述第四扬声器12322连接;所述处理器121用于在所述第一显示屏124作为所述语音通话的通话界面,且所述第二音频电路1232为所述当前使用的音频电路123时,将所述语音通话中接收的接收语音信号发送给所述第二扬声器12321,所述第二扬声器12321播放所述接收语音信号;或者所述处理器121用于在所述第二显示屏125作为所述语音通话的通话界面,且所述第二音频电路1232为所述当前使用的音频电路123时,将所述语音通话中接收的接收语音信号发送给所述第四扬声器12322,所述第四扬声器12322播放所述接收语音信号。
其中,上述四个扬声器的设置位置可以参考本发明实施例中手持终端结构实施例中介绍的位置。
该实施方式中,可以实现根据当前所使用的显示屏以及手持终端的当前空间姿态选择对应的扬声器作为播放音频的扬声器,以提高音频播放质量。
本实施例中,如图15所示,上述电路还可以包括消噪麦克风126,其中,消噪麦克风126可以设置在手持终端的正面,具体还可以参考本发明实施例中介绍手持终端结构的实施例中消噪麦克风的设置位置。
所述消噪麦克风126的输出端与所述处理器121的消噪音频端连接,所述处理器121用于在所述当前使用的音频电路123的麦克风采集音频时,接收所述消噪麦克风126采集的音频,并使用所述消噪麦克风126采集的音频对所述当前使用的音频电路123的麦克风采集的音频进行消除噪音处理,以获取消除噪音后的消噪音频。
本实施例中,可以对上述当前使用的音频电路123的麦克风采集的音频进行消除噪音处理,以获取消除噪音后的消噪音频,这样该消噪音频就可以作为手持终端当前录制的音频。
该实施方式中,通过实现方式可以确定上述当前使用的音频电路123的麦克风贴近用户的嘴巴,而上述消噪麦克风126设置在位置与当前使用的音频电路123的麦克风不同,从而导致消噪麦克风126的位置离用户嘴巴比较远,从而消噪麦克风126采集的音频就可能会包括外界的声音,即噪音。从而上述消除噪音处理可以是将消噪麦克风126采集的音频进行波形倒相,再将倒相后的音频与上述当前使用的音频电路123的麦克风采集的音频进行重叠,即实现降噪的功能。当然,本实施例中,还可以采集其他消噪方式,例如:通过分析消噪麦克风采集的音频包括的噪音的波形,再使用该噪音的波形对上述当前使用的音频电路123的麦克风采集的音频进行消噪。
本实施例中,在图11所示的实施例的基础上增加了多种可选的实施方式,且都可以实现提高音频质量。
请参阅图16,图16是本发明实施例提供的一种手持终端的结构示意图,如图16所示,手持终端的正面161设置有第一显示屏1611,在所述手持终端正面且位于所述第一显示屏1611的上边沿处设置有第一开孔1612,在所述手持终端正面且位于所述第一显示屏的下边沿处设置有第二开孔1613,在所述手持终端的第一侧面162设置有第三开孔1621,在所述手持终端的第二侧面163设置有第四开孔1631,其中,所述第一侧面165为所述手持终端中与所述第一显示屏161的上边沿平行的两侧面中的与所述第一显示屏1611的上边沿最近的一侧面,所述第二侧面163为所述两侧面除所述第一侧面162之外的另一侧面。
本实施例中,上述第一显示屏1611的上边沿可以是第一显示屏161包括的边沿中伴于手持终端上端的边沿,或者第一显示屏1611的上边沿可以理解为第一显示屏1611在显示时默认的显示界面的上边所对应的边沿,或者上述第一显示屏1611的上边沿可以是长方形的第一显示屏1611的两个短边沿中位于手持终端上端的边沿,具体可以参考图16所示;第一显示屏1611的下边沿就是第一显示屏1611的上边沿相对的边沿,具体可以参考图16所示。
本实施例中,上述第一开孔1612可以是设置在手持终端的上边沿与第一显示屏1611的上边沿之间的区域,且第一开孔1612还可以理解为是在手持终端的前壳上位于第一显示屏1611的上边沿处设置的开孔。另外,第一开孔1612可以是长方形的开孔。上述第二开孔1613设置在手持终端的下边沿与第一显示 屏1611的下边沿之间的区域,且第二开孔1613还可以理解为是在手持终端的前壳上位于第一显示屏1611的下边沿处设置的开孔。另外,第二开孔1613可以是长方形的开孔。上述第一开孔1612和第二开孔1613可以是用于音频电路的扬声器播放音频。
本实施例中,上述第一侧面162还可以理解为手持终端上端的侧面,第二侧面163还可以理解为手持终端下端的侧面。第三开孔1621和第四开孔1621可以是圆形开孔,第三开孔1621和第四开孔1621用于音频电路的麦克风进行录音。
如图17所示,手持终端内置有处理器171、空间姿态传感器172和至少两条音频电路,其中:
所述至少两条音频电路中包括第一音频电路和第二音频电路,其中,所述第一音频电路包括第一麦克风17311和第一扬声器17312,所述第二音频电路包括第二麦克风17321和第二扬声器17322,且所述第一扬声器17312设置在所述手持终端内的所述第一开孔1612处,所述第二扬声器17322设置在所述手持终端内的所述第二开孔1613处,且所述第一麦克风17311设置在手持终端内的所述第四开孔1631处,且所述第二麦克风17321设置在手持终端内的所述第三开孔处1621。
其中,第一扬声器17312设置在所述手持终端内的所述第一开孔1612处可以理解为第一扬声器17312通过第一开孔1612进行播放音频,以及第一扬声器17312设置在手持终端内且位置第一开孔1612下面。第二扬声器17322设置在所述手持终端内的所述第二开孔1613处可以理解为第二扬声器17322通过第二开孔1612进行播放音频,以及第二扬声器17322设置在手持终端内且位置第二开孔1613下面。
其中,第一麦克风17311设置在手持终端内的所述第四开孔1631处可以理解为第一麦克风17311通过第四开孔1631进行录音,第一麦克风17311设置在手持终端内且位置第四开孔1631下面或者第四开孔1631里面。第二麦克风17321设置在手持终端内的所述第三开孔1621处可以理解为第二麦克风17321通过第三开孔1621进行录音,第二麦克风17321设置在手持终端内且位置第三开孔1621下面或者第三开孔1621里面。
所述空间姿态传感器172的输出端与所述处理器171的空间姿态端连接, 所述空间姿态传感器172用于当所述处理器171检测到所述手持终端当前需要使用音频电路时,检测所述手持终端当前所处的当前空间姿态,并将所述当前空间姿态的信息传输给所述处理器;
所述处理器171分别通过不同的音频端与所述至少两条音频电路172连接,所述处理器171用于根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路172中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路。
需要说明的是,图17仅是本发明实施例提供的一种手持终端内部电路的一个简略示意图。
本实施例中,上述检测到手持终端当前需要使用音频电路可以是处理器171检测到手持终端当前需要播放音频,或者检测到手持终端当前需要录音,或者检测到手持终端当前需要播放音频和录音。且处理器171检测到手持终端当前需要使用音频电路时可以向空间姿态传感器172发送检测空间姿态的检测命令,空间姿态传感器172接收到该检测命令时,就可以进行空间姿态检测。
本实施例中,上述空间姿态传感器172可以是手持终端内置或者外置的姿态传感器,例如:通过陀螺仪或者三轴加速器或者三轴电子罗盘等姿态传感器检测手持终端的空间姿态。
本实施例中,处理器171分别通过不同的音频端与所述至少两条音频电路连接可以理解为,不同的音频电路通过处理器171的不同的音频端与处理器171连接。例如:如图17所示。当然,本实施例中,每条音频电路也可以与处理器171的多个音频端连接,例如:音频电路包括扬声器和麦克风,该扬声器可以与处理器171的一个音频端连接,麦克风可以与处理器171的另一个音频端连接。需要说明的是,本实施例中,处理器171的音频端可以是处理器171上任意能够传输音频信号的引脚。
本实施例中,上述空间姿态与音频电路的对应关系可以是预先通过用户配置的或者接收其他设备发送的,并预先手持终端上的,例如:存储在手持终端的存储器,处理器171可以从该存储器中读取上述对应关系。另外,上述空间姿态与音频电路的对应关系可以包括多个空间姿态与多个音频电路的对应关系,且一个音频电路可以与一个或者多个空间姿态对应。例如:上述至少两条音频电路173中第一音频电路可以与手持终端朝上的空间姿态对应,因为用户 的耳朵在嘴巴的上面,这样可以实现第一开孔1612尽量贴近耳朵,即第一扬声器17312尽量贴近耳朵,从而让手持终端播放的音频更容易让用户听到。
另外,在本实施例中,手持终端的上端和下端可以是一个相对的概念,例如:手持终端的上端可以是手持终端上控制键(例如:Home键)相对的一端,或者手持终端的上端可以是手持终端上摄像头所在的一端,或者手持终端的上端可以是手持终端默认的显示界面的上面区域所在的一端,或者手持终端的上端可以是本领域技术人员公认的上端。
本实施例中,通过上述电路就可以实现根据手持终端当前的空间姿态选择一条与该空间姿态对应的音频电路作为当前使用的音频电路,从而可以避免因为手持终端的音频电路单一而造成的音频质量较低的问题,即本实施例可以提高手持终端的音频质量。
其中,上述手持终端的正面和反正是一个相对的概念,其中,手持终端的正面可以理解为手持终端的控制键(例如:Home键)所在的一面,或者上述手持终端的正面可以理解为手持终端默认的显示界面所在的一面,或者手机终端的正面可以理解为手持终端重启时显示界面所在的一面,或者上述手持终端的正面可以是本领域技术人员公认的正面。
本实施例中,如图18所示,手持终端的反面164设置有第二显示屏1641,在所述手持终端反面164且与所述第一开孔1612相对的位置设置有第五开孔1642,在所述手持终端反面164且与所述第二开孔1613相对的位置设置有第六开孔1643;
所述第一音频电路还包括第三扬声器,且所述第三扬声器17313设置在所述手持终端内的所述第五开孔1642处;
所述第二音频电路还包括第四扬声器17323,且所述第四扬声器设置在所述手持终端内的所述第六开孔1643处。
该实施方式可以实现当使用第二显示屏1641作为显示界面时,那么,就可以选择第三扬声器或者第四扬声器作为当前使用的扬声器。当然在使用第三扬声器时也可以同时使用第一扬声器17312,以及在使用第三扬声器时也可以同时使用第一扬声器17322,具体由处理器171控制。
其中,第三扬声器和第四扬声器都与处理器171连接,连接关系可以参考图17所示的,第一扬声器17312和第一扬声器17322与处理器171的连接关系, 此处不作详细说明。
本实施例中,所述第一显示屏1611为触摸显示屏,所述第二显示屏1641为触摸显示屏。
这样可以实现这两个显示屏都可以作为触摸控制显示屏,以提高手持终端的可操作性。另外,这两个显示屏都会与处理器171连接。
本实施例中,手持终端的正面161还可以设置有第六开孔1614;
所述手持终端内在所述第六开孔处还内置有消噪麦克风。该消噪麦克风可以与处理器171连接。
处理器171用于在所述当前使用的音频电路的麦克风采集音频时,接收所述消噪麦克风采集的音频,并使用所述消噪麦克风采集的音频对所述当前使用的音频电路的麦克风采集的音频进行消除噪音处理,以获取消除噪音后的消噪音频。
本实施例中,在所述手持终端的所述第一侧面162还可以设置有耳机接口1622。
本实施例中,在所述手持终端的所述第二侧面163还可以设置有数据线接口1632。
本实施例中,在所述手持终端的正面161还可以设置有摄像头1615。
本实施例中,上述手持终端可以是包括手机、平板电板、便携式设备等具备音频处理功能的手持设备。
本实施例中,手持终端的正面设置有第一显示屏,在所述手持终端正面且位于所述第一显示屏的上边沿处设置有第一开孔,在所述手持终端正面且位于所述第一显示屏的下边沿处设置有第二开孔,在所述手持终端的第一侧面设置有第三开孔,在所述手持终端的第二侧面设置有第四开孔,其中,所述第一侧面为所述手持终端中与所述第一显示屏的上边沿平行的两侧面中的与所述第一显示屏的上边沿最近的一侧面,所述第二侧面为所述两侧面除所述第一侧面之外的另一侧面;所述手持终端内置有处理器、空间姿态传感器和至少两条音频电路,其中:所述至少两条音频电路中包括第一音频电路和第二音频电路,其中,所述第一音频电路包括第一麦克风和第一扬声器,所述第二音频电路包括第二麦克风和第二扬声器,且所述第一扬声器设置在所述手持终端内的所述第一开孔处,所述第二扬声器设置在所述手持终端内的所述第二开孔处,且所述 第一麦克风设置在手持终端内的所述第四开孔处,且所述第二麦克风设置在手持终端内的所述第三开孔处;所述空间姿态传感器的输出端与所述处理器的空间姿态端连接,所述空间姿态传感器用于当所述处理器检测到所述手持终端当前需要使用音频电路时,检测所述手持终端当前所处的当前空间姿态,并将所述当前空间姿态的信息传输给所述处理器;所述处理器分别通过不同的音频端与所述至少两条音频电路连接,所述处理器用于根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路。这样可以实现根据手持终端的不同姿态选择对应的音频电路,从而可以提高手持终端的音频质量。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存取存储器(Random Access Memory,简称RAM)等。
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。

Claims (29)

  1. 一种音频电路选择方法,其特征在于,包括:
    当检测到手持终端当前需要使用音频电路时,检测所述手持终端当前所处的当前空间姿态,其中,所述手持终端上设置有至少两条音频电路;
    根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路。
  2. 如权利要求1所述的方法,其特征在于,所述当检测到手持终端当前需要使用音频电路时,检测所述手持终端当前所处的当前空间姿态,包括:
    当检测到所述手持终端当前需要进行语音通话时,检测所述手持终端当前所处的当前空间姿态,其中,每条所述音频电路包括麦克风和扬声器;
    所述从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路之后,所述方法还包括:
    以所述当前使用的音频电路中的麦克风采集语音信号,并发送采集到的语音信号,且以所述当前使用的音频电路中的扬声器播放接收到的语音信号。
  3. 如权利要求2所述的方法,其特征在于,所述根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路,包括:
    当所述当前空间姿态表示所述手持终端为朝上的姿态时,根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择第一音频电路作为当前使用的音频电路,其中,所述第一音频电路中的至少一个扬声器的设置位置在所述第一音频电路的麦克风的设置位置之上;或者
    当所述当前空间姿态表示所述手持终端为朝下的姿态时,根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择第二音频电路作为当前使用的音频电路,其中,所述第二音频电路中的至少一个扬声器的设置位置在所述第二音频电路的麦克风的设置位置之下;或者
    当所述当前空间姿态表示所述手持终端为平放的姿态时,根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与平放姿态对应 的音频电路作为当前使用的音频电路。
  4. 如权利要求2或3所述的方法,其特征在于,所述当检测到所述手持终端当前需要进行语音通话时,检测所述手持终端当前所处的当前空间姿态,包括:
    当检测到所述手持终端当前需要进行语音通话,且所述语音通话使用非免提模式进行通话时,检测所述手持终端当前所处的当前空间姿态。
  5. 如权利要求1-3中任一项所述的方法,其特征在于,所述方法还包括:
    当检测到所述手持终端当前需要进行语音通话,且所述语音通话使用免提模式进行通话时,从所述至少两条音频电路中选择预先设置与免提模式对应的音频电路作为当前使用的音频电路。
  6. 如权利要求1所述的方法,其特征在于,所述当检测到手持终端当前需要使用音频电路时,检测所述手持终端当前所处的当前空间姿态,包括:
    当检测到所述手持终端当前需要进行音频播放时,检测所述手持终端当前所处的当前空间姿态,其中,每条所述音频电路包括扬声器;
    所述从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路之后,所述方法还包括:
    以所述当前使用的音频电路中的扬声器播放当前需要播放的音频。
  7. 如权利要求1所述的方法,其特征在于,所述当检测到手持终端当前需要使用音频电路时,检测所述手持终端当前所处的当前空间姿态,包括:
    当检测到所述手持终端当前需要进行录音时,检测所述手持终端当前所处的当前空间姿态,其中,每条所述音频电路包括麦克风;
    所述从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路之后,所述方法还包括:
    以所述当前使用的音频电路中的麦克风进行录音。
  8. 如权利要求1、2、3、6或7所述方法,其特征在于,所述从所述至少 两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路之后,所述方法还包括:
    接收输入的切换音频电路的切换指令;
    响应所述切换指令,从所述至少两条音频电路选择所述当前使用的音频电路之外的一条音频电路作为当前使用的音频电路。
  9. 如权利要求1、2、3、6或7所述方法,其特征在于,所述方法还包括:
    当检测到所述手持终端需要对音频进行外音播放时,提取该音频的左声道音频和右声道音频,并使用所述至少两条音频电路中的至少一条音频电路的扬声器播放所述左声道音频,使用所述至少两条音频电路中除所述至少一条音频电路之外的音频电路的扬声器播放所述右声道音频。
  10. 如权利要求1、2、3、6或7所述方法,其特征在于,所述手持终端上设置有消噪麦克风;所述方法还包括:
    当所述手持终端以所述当前使用的音频电路的麦克风采集音频时,以所述消噪麦克风采集音频,并使用所述消噪麦克风采集的音频对所述当前使用的音频电路的麦克风采集的音频进行消除噪音处理,以获取消除噪音后的消噪音频。
  11. 如权利要求1、2、3、6或7所述方法,其特征在于,所述手持终端上设置有第一显示屏和第二显示屏,每条所述音频电路包括至少两个扬声器,其中,所述至少两个扬声器中存在一个扬声器与所述第一显示屏对应,所述至少两个扬声器中存在另一个扬声器与所述第二显示屏对应;
    所述根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路,包括:
    当检测到所述第一显示屏作为当前显示界面时,根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路,并将所述当前使用的音频电路中与所述第一显示屏对应的扬声器作为当前使用的扬声器;或者
    当检测到所述第二显示屏作为当前显示界面时,根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与所述当前空间姿态对应 的音频电路作为当前使用的音频电路,并将所述当前使用的音频电路中与所述第二显示屏对应的扬声器作为当前使用的扬声器。
  12. 一种音频电路选择装置,所述装置应用于手持终端,其特征在于,包括:检测单元和选择单元,其中:
    所述检测单元,用于当检测到所述手持终端当前需要使用音频电路时,检测所述手持终端当前所处的当前空间姿态,其中,所述手持终端上设置有至少两条音频电路;
    所述选择单元,用于根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路。
  13. 如权利要求12所述的装置,其特征在于,所述检测单元用于当检测到所述手持终端当前需要进行语音通话时,检测所述手持终端当前所处的当前空间姿态,其中,每条所述音频电路包括麦克风和扬声器;
    所述装置还包括:
    通话单元,用于以所述当前使用的音频电路中的麦克风采集语音信号,并发送采集到的语音信号,且以所述当前使用的音频电路中的扬声器播放接收到的语音信号。
  14. 如权利要求13所述的装置,其特征在于,所述选择单元用于当所述当前空间姿态表示所述手持终端为朝上的姿态时,根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择第一音频电路作为当前使用的音频电路,其中,所述第一音频电路中的至少一个扬声器的设置位置在所述第一音频电路的麦克风的设置位置之上;或者
    所述选择单元用于当所述当前空间姿态表示所述手持终端为朝下的姿态时,根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择第二音频电路作为当前使用的音频电路,其中,所述第二音频电路中的至少一个扬声器的设置位置在所述第二音频电路的麦克风的设置位置之下;或者
    所述选择单元用于当所述当前空间姿态表示所述手持终端为平放的姿态 时,根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与平放姿态对应的音频电路作为当前使用的音频电路。
  15. 一种音频电路选择电路,所述电路应用于手持终端,其特征在于,包括:处理器、空间姿态传感器和至少两条音频电路,其中:
    所述空间姿态传感器的输出端与所述处理器的空间姿态端连接,所述空间姿态传感器用于当所述处理器检测到所述手持终端当前需要使用音频电路时,检测所述手持终端当前所处的当前空间姿态,并将所述当前空间姿态的信息传输给所述处理器;
    所述处理器分别通过不同的音频端与所述至少两条音频电路连接,所述处理器用于根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路。
  16. 如权利要求15所述的电路,其特征在于,所述空间姿态传感器用于当所述处理器检测到所述手持终端当前需要进行语音通话时,检测所述手持终端当前所处的当前空间姿态;
    其中,每条所述音频电路包括麦克风和扬声器;
    所述处理器分别通过不同的音频输入端与所述至少两条音频电路的麦克风连接,以及所述处理器分别通过不同的音频输出端与所述至少两条音频电路的扬声器连接;
    所述当前使用的音频电路的麦克风采集语音信号,并将采集的语音信号传输给所述处理器,由所述处理器将采集到的语音信号作为所述语音通话中发送语音信号;
    所述处理器还用于将所述语音通话中接收的接收语音信号发送给所述当前使用的音频电路的扬声器,所述当前使用的音频电路的扬声器播放所述接收语音信号。
  17. 如权利要求16所述的电路,其特征在于,所述至少两条音频电路包括:
    第一音频电路和第二音频电路,其中,所述第一音频电路中的至少一个扬声器的设置位置在所述第一音频电路的麦克风的设置位置之上,所述第二音频 电路中的至少一个扬声器的设置位置在所述第二音频电路的麦克风的设置位置之下;
    所述处理器通过第一音频输入端与所述第一音频电路的麦克风连接,所述处理器通过第一音频输出端与所述第一音频电路的扬声器连接,所述处理器通过第二音频输入端与所述第二音频电路的麦克风连接,所述处理器通过第二音频输出端与所述第二音频电路的扬声器连接;
    所述处理器在当所述当前空间姿态表示所述手持终端为朝上的姿态时,根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择所述第一音频电路作为当前使用的音频电路;或者
    所述处理器在当所述当前空间姿态表示所述手持终端为朝下的姿态时,根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择第二音频电路作为当前使用的音频电路;或者
    所述处理器在当所述当前空间姿态表示所述手持终端为平放的姿态时,根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与平放姿态对应的音频电路作为当前使用的音频电路。
  18. 如权利要求16或者17所述的电路,其特征在于,所述第一音频电路还包括第一音频功率放大器,所述第二音频电路还包括第二音频功率放大器,其中:
    所述处理器的第一音频输出端通过所述第一音频功率放大器与所述第一音频电路的扬声器连接,所述处理器的第二音频输出端通过所述第二音频功率放大器与所述第二音频电路的扬声器连接;
    所述处理器还用于向所述当前使用的音频电路包括的音频功率放大器输出功率调节命令,所述当前使用的音频电路包括的音频功能放大器用于响应所述功率调节命令调节工作功率。
  19. 如权利要求16或17所述电路,其特征在于,所述电路还包括第一显示屏和第二显示屏,所述第一显示屏设置在所述手持终端的正面,所述第二显示屏设置在所述手持终端的反面;
    其中,所述处理器还通过第一显示端与所述第一显示屏连接,所述处理器 还通过第二显示端与所述第二显示屏连接,所述处理器还用于在检测到所述手持终端当前需要进行语音通话时选择所述第一显示屏和第二显示屏中的一个显示屏显示所述语音通话的通话界面。
  20. 如权利要求19所述电路,其特征在于,所述第一音频电路包括第一扬声器和第三扬声器,其中,所述第一扬声器设置在所述手持终端正面的上端位置,所述第三扬声器设置在所述手持终端反面的上端位置;
    其中,所述处理器通过第一音频输出端与所述第一扬声器连接,所述处理器通过第三音频输出端与所述第三扬声器连接;所述处理器用于在所述第一显示屏作为所述语音通话的通话界面,且所述第一音频电路为所述当前使用的音频电路时,将所述语音通话中接收的接收语音信号发送给所述第一扬声器,所述第一扬声器播放所述接收语音信号;或者所述处理器用于在所述第二显示屏作为所述语音通话的通话界面,且所述第一音频电路为所述当前使用的音频电路时,将所述语音通话中接收的接收语音信号发送给所述第三扬声器,所述第三扬声器播放所述接收语音信号。
  21. 如权利要求19所述电路,其特征在于,所述第二音频电路包括第二扬声器和第四扬声器,其中,所述第二扬声器设置在所述手持终端正面的下端位置,所述第四扬声器设置在所述手持终端反面的下端位置;
    其中,所述处理器通过第二音频输出端与所述第二扬声器连接,所述处理器通过第四音频输出端与所述第四扬声器连接;所述处理器用于在所述第一显示屏作为所述语音通话的通话界面,且所述第二音频电路为所述当前使用的音频电路时,将所述语音通话中接收的接收语音信号发送给所述第二扬声器,所述第二扬声器播放所述接收语音信号;或者所述处理器用于在所述第二显示屏作为所述语音通话的通话界面,且所述第二音频电路为所述当前使用的音频电路时,将所述语音通话中接收的接收语音信号发送给所述第四扬声器,所述第四扬声器播放所述接收语音信号。
  22. 如权利要求15-17中任一项所述的电路,其特征在于,所述电路还包括消噪麦克风,所述消噪麦克风的输出端与所述处理器的消噪音频端连接,所述 处理器用于在所述当前使用的音频电路的麦克风采集音频时,接收所述消噪麦克风采集的音频,并使用所述消噪麦克风采集的音频对所述当前使用的音频电路的麦克风采集的音频进行消除噪音处理,以获取消除噪音后的消噪音频。
  23. 一种手持终端,其特征在于,所述手持终端的正面设置有第一显示屏,在所述手持终端正面且位于所述第一显示屏的上边沿处设置有第一开孔,在所述手持终端正面且位于所述第一显示屏的下边沿处设置有第二开孔,在所述手持终端的第一侧面设置有第三开孔,在所述手持终端的第二侧面设置有第四开孔,其中,所述第一侧面为所述手持终端中与所述第一显示屏的上边沿平行的两侧面中的与所述第一显示屏的上边沿最近的一侧面,所述第二侧面为所述两侧面除所述第一侧面之外的另一侧面;
    所述手持终端内置有处理器、空间姿态传感器和至少两条音频电路,其中:
    所述至少两条音频电路中包括第一音频电路和第二音频电路,其中,所述第一音频电路包括第一麦克风和第一扬声器,所述第二音频电路包括第二麦克风和第二扬声器,且所述第一扬声器设置在所述手持终端内的所述第一开孔处,所述第二扬声器设置在所述手持终端内的所述第二开孔处,且所述第一麦克风设置在手持终端内的所述第四开孔处,且所述第二麦克风设置在手持终端内的所述第三开孔处;
    所述空间姿态传感器的输出端与所述处理器的空间姿态端连接,所述空间姿态传感器用于当所述处理器检测到所述手持终端当前需要使用音频电路时,检测所述手持终端当前所处的当前空间姿态,并将所述当前空间姿态的信息传输给所述处理器;
    所述处理器分别通过不同的音频端与所述至少两条音频电路连接,所述处理器用于根据预设的空间姿态与音频电路的对应关系,从所述至少两条音频电路中选择与所述当前空间姿态对应的音频电路作为当前使用的音频电路。
  24. 如权利要求23所述的手持终端,其特征在于,所述手持终端的反面设置有第二显示屏,在所述手持终端反面且与所述第一开孔相对的位置设置有第五开孔,在所述手持终端反面且与所述第二开孔相对的位置设置有第六开孔;
    所述第一音频电路还包括第三扬声器,且所述第三扬声器设置在所述手持 终端内的所述第五开孔处;
    所述第二音频电路还包括第四扬声器,且所述第四扬声器设置在所述手持终端内的所述第六开孔处。
  25. 如权利要求24所述的手持终端,其特征在于,所述第一显示屏为触摸显示屏,所述第二显示屏为触摸显示屏。
  26. 如权利要求23-25中任一项所述的手持终端,其特征在于,所述手持终端的正面还设置有第六开孔;
    所述手持终端内在所述第六开孔处还内置有消噪麦克风。
  27. 如权利要求23-25中任一项所述的手持终端,其特征在于,在所述手持终端的所述第一侧面还设置有耳机接口。
  28. 如权利要求23-25中任一项所述的手持终端,其特征在于,在所述手持终端的所述第二侧面还设置有数据线接口。
  29. 如权利要求23-25中任一项所述的手持终端,其特征在于,在所述手持终端的正面还设置有摄像头。
PCT/CN2015/091347 2015-07-31 2015-09-30 一种音频电路选择方法、装置和电路以及手持终端 Ceased WO2017020422A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510469585.6 2015-07-31
CN201510469585.6A CN105554201A (zh) 2015-07-31 2015-07-31 一种音频电路选择方法、装置和电路以及手持终端

Publications (1)

Publication Number Publication Date
WO2017020422A1 true WO2017020422A1 (zh) 2017-02-09

Family

ID=55833133

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/091347 Ceased WO2017020422A1 (zh) 2015-07-31 2015-09-30 一种音频电路选择方法、装置和电路以及手持终端

Country Status (2)

Country Link
CN (1) CN105554201A (zh)
WO (1) WO2017020422A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110764730A (zh) * 2018-07-25 2020-02-07 杭州海康威视数字技术股份有限公司 播放音频数据的方法和装置

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106157615B (zh) * 2016-06-29 2018-11-30 泰州市龙泽环境科技有限公司 一种交通流量信息管理手持终端
CN106131322A (zh) * 2016-06-30 2016-11-16 努比亚技术有限公司 双屏移动终端播放声音的方法及装置
US10735570B2 (en) * 2016-09-28 2020-08-04 Lg Electronics Inc. Mobile terminal
CN108132769A (zh) * 2017-01-03 2018-06-08 中兴通讯股份有限公司 一种音频数据播放方法和双屏移动终端
CN109391726A (zh) * 2017-08-03 2019-02-26 西安中兴新软件有限责任公司 一种播放声音的方法及终端
CN107864295A (zh) * 2017-12-19 2018-03-30 广东欧珀移动通信有限公司 通话控制方法、移动终端及计算机可读存储介质
CN109104532B (zh) * 2018-09-21 2020-09-22 Oppo(重庆)智能科技有限公司 来电控制方法及相关装置和存储介质
CN110427167B (zh) * 2019-06-11 2024-01-02 珠海声原智能科技有限公司 手持设备音频信息处理方法
CN120692346A (zh) * 2024-03-21 2025-09-23 华为技术有限公司 一种通话控制方法、系统及相关装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009108725A2 (en) * 2008-02-27 2009-09-03 Palm, Inc. Techniques to manage audio settings
CN201541354U (zh) * 2009-05-18 2010-08-04 惠州市德赛视听科技有限公司 可双向使用的多卡手机
CN104580740A (zh) * 2015-01-26 2015-04-29 深圳市中兴移动通信有限公司 移动终端的控制方法及装置
CN104718794A (zh) * 2012-11-09 2015-06-17 华为技术有限公司 用于估算手机相对头部的位置的方法

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219342A (zh) * 2013-05-29 2014-12-17 深圳富泰宏精密工业有限公司 录音模式切换系统及方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009108725A2 (en) * 2008-02-27 2009-09-03 Palm, Inc. Techniques to manage audio settings
CN201541354U (zh) * 2009-05-18 2010-08-04 惠州市德赛视听科技有限公司 可双向使用的多卡手机
CN104718794A (zh) * 2012-11-09 2015-06-17 华为技术有限公司 用于估算手机相对头部的位置的方法
CN104580740A (zh) * 2015-01-26 2015-04-29 深圳市中兴移动通信有限公司 移动终端的控制方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110764730A (zh) * 2018-07-25 2020-02-07 杭州海康威视数字技术股份有限公司 播放音频数据的方法和装置
CN110764730B (zh) * 2018-07-25 2023-11-14 杭州海康威视数字技术股份有限公司 播放音频数据的方法和装置

Also Published As

Publication number Publication date
CN105554201A (zh) 2016-05-04

Similar Documents

Publication Publication Date Title
WO2017020422A1 (zh) 一种音频电路选择方法、装置和电路以及手持终端
US9035905B2 (en) Apparatus and associated methods
CN108777732B (zh) 多麦克风的音频捕获
CN107509153B (zh) 声音播放器件的检测方法、装置、存储介质及终端
CN110730260B (zh) 电子设备的控制方法及电子设备
EP3664291A1 (en) Audio signal adjustment method and device, storage medium, and terminal
US10891938B2 (en) Processing method for sound effect of recording and mobile terminal
CN110764730A (zh) 播放音频数据的方法和装置
CN110996305A (zh) 连接蓝牙设备的方法、装置、电子设备及介质
WO2018126632A1 (zh) 一种扬声器控制方法及移动终端
CN107743178B (zh) 一种消息播放方法及移动终端
CN111641916A (zh) 音频共享方法及电子设备
WO2021042761A1 (zh) 音频播放控制方法、智能手机、装置及可读存储介质
WO2020102994A1 (zh) 3d音效实现方法、装置、存储介质及电子设备
CN114466283A (zh) 音频采集方法、装置、电子设备及外设组件方法
CN105187993B (zh) 一种三维立体声耳机装置及还原方法
US11368611B2 (en) Control method for camera device, camera device, camera system, and storage medium
CN105577856B (zh) 一种手持终端
JP2017118478A (ja) 音声信号再入力型スマートデバイス用イヤホン
CN105554230A (zh) 一种语音通信电路和手持终端
CN111654800A (zh) 扬声器控制方法、装置、电子设备及介质
CN111541804A (zh) 一种电子设备、控制方法及控制装置
CN109348021B (zh) 移动终端及音频播放方法
CN108055633A (zh) 一种音频播放方法及移动终端
WO2018064883A1 (zh) 一种录音方法、装置、设备及计算机存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15900192

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15900192

Country of ref document: EP

Kind code of ref document: A1