CN105554231A - Voice communication method and apparatus - Google Patents
Voice communication method and apparatus Download PDFInfo
- Publication number
- CN105554231A CN105554231A CN201510466813.4A CN201510466813A CN105554231A CN 105554231 A CN105554231 A CN 105554231A CN 201510466813 A CN201510466813 A CN 201510466813A CN 105554231 A CN105554231 A CN 105554231A
- Authority
- CN
- China
- Prior art keywords
- voicefrequency
- circuit
- current
- handheld terminal
- voicefrequency circuit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Circuit For Audible Band Transducer (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a voice communication method and apparatus. The method comprises: when a current voice communication demand of a hand-held terminal is detected, a current space attitude of the hand-held terminal is detected, wherein at least two audio circuits are arranged on the hand-held terminal; according to a preset correspondence relation between space attitudes and audio circuits, one audio circuit corresponding to the current space attitude is selected from the at least two audio circuits and is used as a target audio circuit; and voice communication is carried out by using the target audio circuit. Therefore, the audio quality of the hand-held terminal can be improved.
Description
Technical field
The present invention relates to field of terminal, particularly relate to a kind of voice communication method and device.
Background technology
Along with the development of science and technology, current handheld terminal application is also more and more extensive, such as: the handheld terminal such as mobile phone, panel computer.And a lot of all support voice call of handheld terminal and audio playing function, wherein, be no matter that voice call or audio frequency play be all realized by the voicefrequency circuit on handheld terminal, namely voicefrequency circuit can audio plays and/or gather audio frequency.But, on current handheld terminal, the layout of voicefrequency circuit is all very single, such as: mobile phone is all generally that the lower end of mobile phone is provided with a microphone, a receiver (may also be referred to as loud speaker) is provided with in the upper end of mobile phone, like this when carrying out voice call, use microphone to gather voice, use receiver to play voice.But in actual applications, when user uses handheld terminal, the spatial attitude of handheld terminal is not fixing, such as: during call mobile phone upper end under, lower end is upper, and namely handheld terminal turns use around.In this case, because the microphone on handheld terminal is above, and receiver is below, thus cause microphone to gather to voice very weak, and receiver play voice be not easy to be heard by the user.
Visible, because the voicefrequency circuit layout on current handheld terminal is single, and the spatial attitude residing for handheld terminal is unfixed, thus causes handheld terminal may there is the problem of audio quality difference.
Summary of the invention
Embodiments provide a kind of voice communication method and device, the audio quality of handheld terminal can be improved.
First aspect, the embodiment of the present invention provides a kind of voice communication method, comprising:
When detecting that handheld terminal is current and needing to carry out voice communication, detect the current residing current spatial attitude of described handheld terminal, wherein, described handheld terminal is provided with at least two voicefrequency circuits;
According to the corresponding relation of spatial attitude and the voicefrequency circuit preset, the voicefrequency circuit that selection is corresponding with described current spatial attitude from described at least two voicefrequency circuits is as target audio circuit;
Described target audio circuit is used to carry out voice communication.
In the first possible implementation of first aspect, described when detecting that handheld terminal is current and needing to use voicefrequency circuit, detect the current residing current spatial attitude of described handheld terminal, comprising:
When detecting that described handheld terminal is current and needing to carry out voice call, detect the current residing current spatial attitude of described handheld terminal, wherein, described in every bar, voicefrequency circuit comprises microphone and loud speaker;
The described target audio circuit of described use carries out voice communication, comprising:
Gather voice signal with the microphone in described target audio circuit, and send the voice signal collected, and play the voice signal received with the loud speaker in described target audio circuit.
In conjunction with the first possible implementation of first aspect, in the implementation that the second of first aspect is possible, the corresponding relation of the spatial attitude that described basis is preset and voicefrequency circuit, from described at least two voicefrequency circuit, select the voicefrequency circuit corresponding with described current spatial attitude as target audio circuit, comprising:
When described current spatial attitude represents that described handheld terminal is attitude upward, according to the spatial attitude preset and the corresponding relation of voicefrequency circuit, from described at least two voicefrequency circuits, select the first voicefrequency circuit as target audio circuit, wherein, the setting position of at least one loud speaker in described first voicefrequency circuit is on the setting position of the microphone of described first voicefrequency circuit; Or
When described current spatial attitude represents that described handheld terminal is attitude down, according to the spatial attitude preset and the corresponding relation of voicefrequency circuit, from described at least two voicefrequency circuits, select the second voicefrequency circuit as target audio circuit, wherein, the setting position of at least one loud speaker in described second voicefrequency circuit is under the setting position of the microphone of described second voicefrequency circuit; Or
When described current spatial attitude represents that described handheld terminal is the attitude kept flat, according to the corresponding relation of spatial attitude and the voicefrequency circuit preset, the voicefrequency circuit that selection is corresponding with keeping flat attitude from described at least two voicefrequency circuits is as target audio circuit.
In conjunction with the first possible implementation of first aspect or the possible implementation of the second of first aspect, in the third possible implementation of first aspect, described when detecting that described handheld terminal is current and needing to carry out voice call, detect the current residing current spatial attitude of described handheld terminal, comprising:
When detecting that described handheld terminal current needs carries out voice call, and when described voice call uses non-hands-free mode to converse, detect the current residing current spatial attitude of described handheld terminal.
In conjunction with first aspect or the first possible implementation of first aspect or the possible implementation of the second of first aspect, in the 4th kind of possible implementation of first aspect, described method also comprises:
When detecting that described handheld terminal current needs carries out voice call, and described voice call is when using hands-free mode to converse, select to pre-set the voicefrequency circuit of the voicefrequency circuit corresponding with hands-free mode as current use from described at least two voicefrequency circuits, and use this voicefrequency circuit to carry out hand-free call.
In conjunction with first aspect, in the 5th kind of possible implementation of first aspect, described when detecting that handheld terminal is current and needing to carry out voice communication, detect the current residing current spatial attitude of described handheld terminal, comprising:
When detecting that described handheld terminal is current and needing to play in instant messaging the voice received, detect the current residing current spatial attitude of described handheld terminal, wherein, described in every bar, voicefrequency circuit comprises loud speaker;
The described target audio circuit of described use carries out voice communication, comprising:
The voice received in described instant messaging are play with the loud speaker in described target audio circuit.
In conjunction with first aspect, in the 6th kind of possible implementation of first aspect, described when detecting that handheld terminal is current and needing to carry out voice communication, detect the current residing current spatial attitude of described handheld terminal, comprising:
When detecting that the current needs of described handheld terminal are recorded in instant messaging, detect the current residing current spatial attitude of described handheld terminal, wherein, described in every bar, voicefrequency circuit comprises microphone;
The described target audio circuit of described use carries out voice communication, comprising:
Record with the microphone in described target audio circuit.
In conjunction with first aspect or the first possible implementation of first aspect or the possible implementation of the second of first aspect or the 5th kind of possible implementation of first aspect or the 6th kind of possible implementation of first aspect, in the 7th kind of possible implementation of first aspect, the described voicefrequency circuit that selection is corresponding with described current spatial attitude from described at least two voicefrequency circuits is as after target audio circuit, and described method also comprises:
Receive the switching command of the switching voicefrequency circuit of input;
Respond described switching command, select a voicefrequency circuit outside described target audio circuit as the voicefrequency circuit of current use from described at least two voicefrequency circuits.
In conjunction with first aspect or the first possible implementation of first aspect or the possible implementation of the second of first aspect or the 5th kind of possible implementation of first aspect or the 6th kind of possible implementation of first aspect, in the 8th kind of possible implementation of first aspect, described method also comprises:
When detecting that described handheld terminal needs to carry out the broadcasting of outer sound to audio frequency, extract left audio and the right audio channel of this audio frequency, and described left audio play by the loud speaker of at least one voicefrequency circuit described in using at least two voicefrequency circuits, described right audio channel play by the loud speaker of the voicefrequency circuit at least two voicefrequency circuits described in using except described at least one voicefrequency circuit.
In conjunction with first aspect or the first possible implementation of first aspect or the possible implementation of the second of first aspect or the 5th kind of possible implementation of first aspect or the 6th kind of possible implementation of first aspect, in the 9th kind of possible implementation of first aspect, described handheld terminal is provided with de-noising microphone; Described method also comprises:
When described handheld terminal gathers audio frequency with the microphone of described target audio circuit, audio frequency is gathered with described de-noising microphone, and use the audio frequency of the audio frequency of described de-noising microphone collection to the microphone collection of described target audio circuit to abate the noise process, to obtain the de-noising audio frequency after abating the noise.
In conjunction with first aspect or the first possible implementation of first aspect or the possible implementation of the second of first aspect or the 5th kind of possible implementation of first aspect or the 6th kind of possible implementation of first aspect, in the tenth kind of possible implementation of first aspect, described handheld terminal is provided with the first display screen and second display screen, described in every bar, voicefrequency circuit comprises at least two loud speakers, wherein, a loud speaker is there is corresponding with described first display screen in described at least two loud speakers, another loud speaker is there is corresponding with described second display screen in described at least two loud speakers,
The corresponding relation of the spatial attitude that described basis is preset and voicefrequency circuit, from described at least two voicefrequency circuits, select the voicefrequency circuit corresponding with described current spatial attitude as target audio circuit, comprising:
When described first display screen being detected as current display interface, according to the spatial attitude preset and the corresponding relation of voicefrequency circuit, from described at least two voicefrequency circuits, select the voicefrequency circuit corresponding with described current spatial attitude as target audio circuit, and using the loud speaker of loud speaker corresponding with described first display screen in described target audio circuit as current use; Or
When described second display screen being detected as current display interface, according to the spatial attitude preset and the corresponding relation of voicefrequency circuit, from described at least two voicefrequency circuits, select the voicefrequency circuit corresponding with described current spatial attitude as target audio circuit, and using the loud speaker of loud speaker corresponding with described second display screen in described target audio circuit as current use.
Second aspect, a kind of voice communication assembly that the embodiment of the present invention provides, described application of installation, in handheld terminal, comprising: detecting unit, selected cell and communication unit, wherein:
Described detecting unit, for when detecting that handheld terminal is current and needing to carry out voice communication, detects the current residing current spatial attitude of described handheld terminal, wherein, described handheld terminal is provided with at least two voicefrequency circuits;
Described selected cell, for the corresponding relation according to the spatial attitude preset and voicefrequency circuit, selects the voicefrequency circuit corresponding with described current spatial attitude as target audio circuit from described at least two voicefrequency circuits;
Described communication unit, carries out voice communication for using described target audio circuit.
In the first possible implementation of second aspect, described detecting unit is used for when detecting that described handheld terminal is current and needing to carry out voice call, detect the current residing current spatial attitude of described handheld terminal, wherein, described in every bar, voicefrequency circuit comprises microphone and loud speaker;
Described communication unit is used for gathering voice signal with the microphone in described target audio circuit, and sends the voice signal collected, and plays the voice signal received with the loud speaker in described target audio circuit.
In conjunction with the first possible implementation of second aspect, in the implementation that the second of second aspect is possible, described selected cell is used for when described current spatial attitude represents that described handheld terminal is attitude upward, according to the spatial attitude preset and the corresponding relation of voicefrequency circuit, from described at least two voicefrequency circuits, select the first voicefrequency circuit as target audio circuit, wherein, the setting position of at least one loud speaker in described first voicefrequency circuit is on the setting position of the microphone of described first voicefrequency circuit; Or
Described selected cell is used for when described current spatial attitude represents that described handheld terminal is attitude down, according to the spatial attitude preset and the corresponding relation of voicefrequency circuit, from described at least two voicefrequency circuits, select the second voicefrequency circuit as target audio circuit, wherein, the setting position of at least one loud speaker in described second voicefrequency circuit is under the setting position of the microphone of described second voicefrequency circuit; Or
Described selected cell is used for when described current spatial attitude represents that described handheld terminal is the attitude kept flat, according to the corresponding relation of spatial attitude and the voicefrequency circuit preset, the voicefrequency circuit that selection is corresponding with keeping flat attitude from described at least two voicefrequency circuits is as target audio circuit.
In conjunction with the first possible implementation of second aspect or the possible implementation of the second of second aspect, in the third possible implementation of second aspect, described detecting unit is used for when detecting that described handheld terminal current needs carries out voice call, and described voice call is when using non-hands-free mode to converse, detect the current residing current spatial attitude of described handheld terminal.
In conjunction with second aspect or the first possible implementation of second aspect or the possible implementation of the second of second aspect, in the 4th kind of possible implementation of second aspect, described device also comprises:
Hands-free unit, detect that described handheld terminal current needs carries out voice call for working as, and described voice call is when using hands-free mode to converse, select to pre-set the voicefrequency circuit of the voicefrequency circuit corresponding with hands-free mode as current use from described at least two voicefrequency circuits, and use this voicefrequency circuit to carry out hand-free call.
In conjunction with second aspect, in the 5th kind of possible implementation of second aspect, described detecting unit be used for when detect described handheld terminal current need broadcasting instant messaging in receive voice time, detect the current residing current spatial attitude of described handheld terminal, wherein, described in every bar, voicefrequency circuit comprises loud speaker;
Described communication unit is used for playing with the loud speaker in described target audio circuit the voice received in described instant messaging.
In conjunction with second aspect, in the 6th kind of possible implementation of second aspect, described detecting unit is used for when detecting that the current needs of described handheld terminal are recorded in instant messaging, detect the current residing current spatial attitude of described handheld terminal, wherein, described in every bar, voicefrequency circuit comprises microphone;
Described communication unit is used for recording with the microphone in described target audio circuit.
In conjunction with second aspect or the first possible implementation of second aspect or the possible implementation of the second of second aspect or the 5th kind of possible implementation of second aspect or the 6th kind of possible implementation of second aspect, in the 7th kind of possible implementation of second aspect, described device also comprises:
Receiving element, for receiving the switching command of the switching voicefrequency circuit of input;
Switch unit, for responding described switching command, selects a voicefrequency circuit outside described target audio circuit as the voicefrequency circuit of current use from described at least two voicefrequency circuits.
In conjunction with second aspect or the first possible implementation of second aspect or the possible implementation of the second of second aspect or the 5th kind of possible implementation of second aspect or the 6th kind of possible implementation of second aspect, in the 8th kind of possible implementation of second aspect, described device also comprises:
Broadcast unit, for when detecting that described handheld terminal needs to carry out the broadcasting of outer sound to audio frequency, extract left audio and the right audio channel of this audio frequency, and described left audio play by the loud speaker of at least one voicefrequency circuit described in using at least two voicefrequency circuits, described right audio channel play by the loud speaker of the voicefrequency circuit at least two voicefrequency circuits described in using except described at least one voicefrequency circuit.
In conjunction with second aspect or the first possible implementation of second aspect or the possible implementation of the second of second aspect or the 5th kind of possible implementation of second aspect or the 6th kind of possible implementation of second aspect, in the 9th kind of possible implementation of second aspect, described handheld terminal is provided with de-noising microphone; Described device also comprises:
De-noising unit, for when described handheld terminal gathers audio frequency with the microphone of described target audio circuit, audio frequency is gathered with described de-noising microphone, and use the audio frequency of the audio frequency of described de-noising microphone collection to the microphone collection of described target audio circuit to abate the noise process, to obtain the de-noising audio frequency after abating the noise.
In conjunction with second aspect or the first possible implementation of second aspect or the possible implementation of the second of second aspect or the 5th kind of possible implementation of second aspect or the 6th kind of possible implementation of second aspect, in the tenth kind of possible implementation of second aspect, described handheld terminal is provided with the first display screen and second display screen, described in every bar, voicefrequency circuit comprises at least two loud speakers, wherein, a loud speaker is there is corresponding with described first display screen in described at least two loud speakers, another loud speaker is there is corresponding with described second display screen in described at least two loud speakers,
Described selected cell is used for when described first display screen being detected as current display interface, according to the spatial attitude preset and the corresponding relation of voicefrequency circuit, from described at least two voicefrequency circuits, select the voicefrequency circuit corresponding with described current spatial attitude as target audio circuit, and using the loud speaker of loud speaker corresponding with described first display screen in described target audio circuit as current use; Or
Described selected cell is used for when described second display screen being detected as current display interface, according to the spatial attitude preset and the corresponding relation of voicefrequency circuit, from described at least two voicefrequency circuits, select the voicefrequency circuit corresponding with described current spatial attitude as target audio circuit, and using the loud speaker of loud speaker corresponding with described second display screen in described target audio circuit as current use.
In technique scheme, when detecting that handheld terminal is current and needing to carry out voice communication, detect the current residing current spatial attitude of described handheld terminal, wherein, described handheld terminal is provided with at least two voicefrequency circuits; According to the corresponding relation of spatial attitude and the voicefrequency circuit preset, the voicefrequency circuit that selection is corresponding with described current spatial attitude from described at least two voicefrequency circuits is as target audio circuit; Described target audio circuit is used to carry out voice communication.Can realize like this selecting corresponding voicefrequency circuit to carry out voice communication according to the different attitudes of handheld terminal, thus the audio quality of handheld terminal can be improved.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of voice communication method that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of the another kind of voice communication method that the embodiment of the present invention provides;
Fig. 3 is the structural representation of a kind of voice communication assembly that the embodiment of the present invention provides;
Fig. 4 is the structural representation of the another kind of voice communication assembly that the embodiment of the present invention provides;
Fig. 5 is the structural representation of the another kind of voice communication assembly that the embodiment of the present invention provides;
Fig. 6 is the structural representation of the another kind of voice communication assembly that the embodiment of the present invention provides;
Fig. 7 is the structural representation of the another kind of voice communication assembly that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of a kind of voice communication method that the embodiment of the present invention provides, and as shown in Figure 1, comprises the following steps:
101, when detecting that handheld terminal is current and needing to carry out voice communication, detect the current residing current spatial attitude of described handheld terminal, wherein, described handheld terminal is provided with at least two voicefrequency circuits.
In the present embodiment, above-mentionedly detect that current to need to carry out voice communication can be the current audio frequency needing to play voice communication of handheld terminal detected to handheld terminal, or detect that handheld terminal needs recording in voice communication, or detect that handheld terminal is current in voice communication and need audio plays and recording.In addition, above-mentioned voice communication can be voice call, i.e. voice call, this phone can the networking telephone also can the phone dialed of mobile phone or base; In addition, above-mentioned voice communication can also be instant messaging, such as: in instant chat, play the voice received, or needs recording in instant chat.
In addition, in above-mentioned at least two voicefrequency circuits, every bar voicefrequency circuit can be the circuit for audio plays and/or recording audio, every bar voicefrequency circuit can at least comprise loud speaker or microphone, or every bar voicefrequency circuit at least comprises loud speaker and microphone, or the quantity of the loud speaker that comprises of voicefrequency circuit and microphone is not construed as limiting.Such as: one or more loud speaker can be comprised, or one or more microphone can be comprised.In addition, in above-mentioned at least two voicefrequency circuits, every bar voicefrequency circuit can be connected with the processor of handheld terminal.
In the present embodiment, the current residing current spatial attitude of the described handheld terminal of above-mentioned detection can be the current residing current spatial attitude of handheld terminal detected by the attitude transducer that handheld terminal is built-in or external, such as: the spatial attitude being detected handheld terminal by gyroscope or the attitude transducer such as three axle accelerators or three axle electronic compasss.
102, the spatial attitude that basis is default and the corresponding relation of voicefrequency circuit, select the voicefrequency circuit corresponding with described current spatial attitude as target audio circuit from described at least two voicefrequency circuits.
In the present embodiment, after selecting the voicefrequency circuit corresponding with described current spatial attitude as target audio circuit from described at least two voicefrequency circuits, this voicefrequency circuit just can be used to carry out voice communication, i.e. audio plays or recording etc.
In the present embodiment, the corresponding relation of above-mentioned spatial attitude and voicefrequency circuit can be in advance by user configured or receive other equipment and send.In addition, the corresponding relation of above-mentioned spatial attitude and voicefrequency circuit can comprise the corresponding relation of multiple spatial attitude and multiple voicefrequency circuit, and a voicefrequency circuit can be corresponding with one or more spatial attitude.Such as: above-mentioned at least two voicefrequency circuits comprise the voicefrequency circuit that loud speaker is arranged on handheld terminal upper end, so, this voicefrequency circuit just can be corresponding with handheld terminal spatial attitude upward, because the ear of user is on face, can realize loud speaker like this to try one's best ear, thus the audio frequency allowing handheld terminal play more easily allows user hear.
In addition, in the present embodiment, in above-mentioned at least two voicefrequency circuits, the setting position of each loud speaker comprised can be different, it can be relative position, such as: the loud speaker of a voicefrequency circuit is arranged on the upper end of handheld terminal, the loud speaker of another voicefrequency circuit is arranged on the lower end of handheld terminal.Or the setting position of each microphone comprised can be different in above-mentioned at least two voicefrequency circuits, it can be relative position, such as: the microphone of a voicefrequency circuit is arranged on the upper end of handheld terminal, the microphone of another voicefrequency circuit is arranged on the lower end of handheld terminal.
In addition, in the present embodiment, the top and bottom of handheld terminal can be relative concepts, such as: the upper end of handheld terminal can be one end that operating key on handheld terminal (such as: Home key) is relative, or the upper end of handheld terminal can be the one end at camera place on handheld terminal, or the upper end of handheld terminal can be the one end at the upper zone place of the display interface of handheld terminal acquiescence, or the upper end of handheld terminal can be the upper end that those skilled in the art generally acknowledge.
103, described target audio circuit is used to carry out voice communication.
Wherein, use target audio circuit to carry out voice communication and can comprise speech telephony, namely voice and recorded speech is play, use target audio circuit to carry out voice communication and can also comprise the voice play and receive in instant messaging, use target audio circuit to carry out voice communication and can also to be included in instant messaging recorded speech etc.
In the present embodiment, just can realize the spatial attitude current according to handheld terminal by above-mentioned steps selects a voicefrequency circuit corresponding with this spatial attitude as target audio circuit, and use this target audio circuit to carry out voice communication, thus the problem that audio quality that is that cause is lower because the voicefrequency circuit of handheld terminal is single can be avoided, namely the present embodiment can improve the audio quality of handheld terminal.
In the present embodiment, above-mentioned handheld terminal can be comprise the handheld device that mobile phone, dull and stereotyped electroplax, portable set etc. possess audio frequency processing capacity.
In the present embodiment, when detecting that handheld terminal is current and needing to carry out voice communication, detect the current residing current spatial attitude of described handheld terminal, wherein, described handheld terminal is provided with at least two voicefrequency circuits; According to the corresponding relation of spatial attitude and the voicefrequency circuit preset, the voicefrequency circuit that selection is corresponding with described current spatial attitude from described at least two voicefrequency circuits is as target audio circuit; Described target audio circuit is used to carry out voice communication.Can realize like this selecting corresponding voicefrequency circuit to carry out voice communication according to the different attitudes of handheld terminal, thus the audio quality of handheld terminal can be improved.
Refer to Fig. 2, Fig. 2 is the schematic flow sheet of the another kind of voice communication method that the embodiment of the present invention provides, and as shown in Figure 2, comprising:
201, when detecting that handheld terminal is current and needing to carry out voice communication, detect the current residing current spatial attitude of described handheld terminal, wherein, described handheld terminal is provided with at least two voicefrequency circuits.
202, the spatial attitude that basis is default and the corresponding relation of voicefrequency circuit, select the voicefrequency circuit corresponding with described current spatial attitude as target audio circuit from described at least two voicefrequency circuits.
203, described target audio circuit is used to carry out voice communication.
In the present embodiment, after choosing above-mentioned target audio circuit, above-mentioned target audio circuit just can be used to carry out voice communication, wherein, this voice communication can comprise audio plays or recording audio, or this audio frequency process can comprise audio frequency broadcasting and recording audio.
In the present embodiment, step 201 can comprise:
When detecting that described handheld terminal is current and needing to carry out voice call, detect the current residing current spatial attitude of described handheld terminal, wherein, described in every bar, voicefrequency circuit comprises microphone and loud speaker.
Step 203 can comprise:
Gather voice signal with the microphone in described target audio circuit, and send the voice signal collected, and play the voice signal received with the loud speaker in described target audio circuit.
In this execution mode, can realize when handheld terminal needs to carry out voice call, can the spatial attitude current according to handheld terminal select corresponding voicefrequency circuit to carry out voice call.Such as: when receiving the incoming call requests of a certain user, just can detect the current residing current spatial attitude of described handheld terminal, and select corresponding voicefrequency circuit, converse to use this voicefrequency circuit.
In this execution mode, the microphone that above-mentioned voicefrequency circuit can comprise can be connected with the processor of handheld terminal with loud speaker, and current here connects and can directly connect, and also can indirectly connect, and is namely connected with processor by some element devices.Can realize transmitting voice signal that microphone collects like this to processor, and the transmitting voice signal received is play to loud speaker by processor.
In this execution mode, step 202 can comprise:
When described current spatial attitude represents that described handheld terminal is attitude upward, according to the spatial attitude preset and the corresponding relation of voicefrequency circuit, from described at least two voicefrequency circuits, select the first voicefrequency circuit as target audio circuit, wherein, the setting position of at least one loud speaker in described first voicefrequency circuit is on the setting position of the microphone of described first voicefrequency circuit.
Wherein, above-mentioned handheld terminal attitude upward can be understood as handheld terminal upper end spatial attitude corresponding on handheld terminal lower end, or can be understood as the upper end attitude upward of handheld terminal.In addition, on the installation site of the microphone that the installation site of at least one loud speaker on handheld terminal that the setting position of at least one loud speaker in above-mentioned first voicefrequency circuit can be understood as the first voicefrequency circuit on the setting position of the microphone of described first voicefrequency circuit is positioned at the first voicefrequency circuit on handheld terminal, wherein, here on relative handheld terminal; Or the setting position of at least one loud speaker in above-mentioned first voicefrequency circuit can be understood as the setting position of at least one loud speaker in above-mentioned first voicefrequency circuit in the upper end of handheld terminal on the setting position of the microphone of described first voicefrequency circuit, and the setting position of the microphone of the first voicefrequency circuit is in the lower end of handheld terminal.Certainly, when the first voicefrequency circuit comprises multiple loud speaker, under the part loudspeaker position that the first voicefrequency circuit also can be allowed to comprise to the microphone of the first voicefrequency circuit.Wherein, the loud speaker of the first voicefrequency circuit can be arranged on the upper end of handheld terminal, and the microphone of the first voicefrequency circuit can be arranged on the lower end of handheld terminal, such as: downside.
In this execution mode, handheld terminal upward time select the first voicefrequency circuit, such user is when using handheld terminal to carry out voice call, because the loud speaker in the first voicefrequency circuit in handheld terminal is on microphone, such loud speaker is more prone to the ear of being close to the users, microphone is more prone to the face of being close to the users, thus improves audio quality.
In this execution mode, step 202 can comprise:
When described current spatial attitude represents that described handheld terminal is attitude down, according to the spatial attitude preset and the corresponding relation of voicefrequency circuit, from described at least two voicefrequency circuits, select the second voicefrequency circuit as target audio circuit, wherein, the setting position of at least one loud speaker in described second voicefrequency circuit is under the setting position of the microphone of described second voicefrequency circuit.
Wherein, above-mentioned handheld terminal attitude down can be understood as handheld terminal upper end spatial attitude corresponding below handheld terminal lower end, or can be understood as the upside down attitude of handheld terminal.In addition, under the installation site of the microphone that the installation site of at least one loud speaker on handheld terminal that the setting position of at least one loud speaker in above-mentioned second voicefrequency circuit can be understood as the second voicefrequency circuit under the setting position of the microphone of described second voicefrequency circuit is positioned at the second voicefrequency circuit on handheld terminal, wherein, here under relative handheld terminal; Or the setting position of at least one loud speaker in above-mentioned second voicefrequency circuit can be understood as the setting position of at least one loud speaker in above-mentioned second voicefrequency circuit in the lower end of handheld terminal under the setting position of the microphone of described second voicefrequency circuit, and the setting position of the microphone of the second voicefrequency circuit is in the upper end of handheld terminal.Certainly, when the second voicefrequency circuit comprises multiple loud speaker, on the part loudspeaker position that the second voicefrequency circuit also can be allowed to comprise to the microphone of the second voicefrequency circuit.Wherein, the loud speaker of the second voicefrequency circuit can be arranged on the lower end of handheld terminal, and the microphone of the second voicefrequency circuit can be arranged on the upper end of handheld terminal, such as: upper side.
In this execution mode, handheld terminal down time select the second voicefrequency circuit, such user is when using handheld terminal to carry out voice call, handheld terminal may be that the lower end of mobile phone is placed near ear by user down, play near face the upper end of handheld terminal, because in handheld terminal, the loud speaker of the second voicefrequency circuit is under microphone, such loud speaker is more prone to the ear of being close to the users again, microphone is more prone to the face of being close to the users, thus improves audio quality.
In this execution mode, step 202 can comprise:
When described current spatial attitude represents that described handheld terminal is the attitude kept flat, according to the corresponding relation of spatial attitude and the voicefrequency circuit preset, the voicefrequency circuit that selection is corresponding with keeping flat attitude from described at least two voicefrequency circuits is as target audio circuit.
Wherein, above-mentioned voicefrequency circuit corresponding to attitude that keep flat can be any voicefrequency circuit that user selects in advance from described at least two voicefrequency circuits, such as: user selects the voicefrequency circuit often used as keeping flat voicefrequency circuit corresponding to attitude.Preferential, can using above-mentioned first voicefrequency circuit as keeping flat voicefrequency circuit corresponding to attitude, because in actual applications, when user's handheld terminal keeps flat and takes, just put by handheld terminal often, namely the lower end of handheld terminal is towards the health of user, and the upper end of handheld terminal outwardly, the handheld terminal of such placement is more easily easily accepted by a user, and the interface of the handheld terminal display of placing like this is normal condition for the eyes of user.
In this execution mode, above-mentioned when detecting that described handheld terminal is current and needing to carry out voice call, detect the step of the current residing current spatial attitude of described handheld terminal, can comprise:
When detecting that described handheld terminal current needs carries out voice call, and when described voice call uses non-hands-free mode to converse, detect the current residing current spatial attitude of described handheld terminal.
Wherein, above-mentioned non-hands-free mode can be understood as handset mode, does not namely use hands-free mode during voice call, thus corresponding voicefrequency circuit can be selected to carry out voice call according to the current spatial attitude of handheld terminal.
In the present embodiment, said method can also comprise the steps:
When detecting that described handheld terminal current needs carries out voice call, and described voice call is when using hands-free mode to converse, select to pre-set the voicefrequency circuit of the voicefrequency circuit corresponding with hands-free mode as current use from described at least two voicefrequency circuits, and use this voicefrequency circuit to carry out hand-free call.
Wherein, the above-mentioned voicefrequency circuit corresponding with hands-free mode can user pre-set, such as: select the first voicefrequency circuit introduced in earlier embodiments, wherein, this first voicefrequency circuit comprises the loud speaker that can be carried out hands-free mode, and this loud speaker can be two-in-one loud speaker, namely this loud speaker can as receiver, namely carry out under non-hands-free mode playing voice, this loud speaker can also as loudspeaker, namely to carry out playing voice in the handsfree mode.Specifically can connecting audio-frequency power amplifier between this loud speaker and processor, tuning up power when being hands-free mode, to carry out audio external play, when turning power down when non-hands-free mode, with little audio frequency audio plays.
In the present embodiment, step 201 can comprise:
When detecting that described handheld terminal is current and needing to play in instant messaging the voice received, detect the current residing current spatial attitude of described handheld terminal, wherein, described in every bar, voicefrequency circuit comprises loud speaker;
Step 203 can comprise the steps:
The voice received in described instant messaging are play with the loud speaker in described target audio circuit.
This execution mode can realize, when handheld terminal needs to carry out audio frequency broadcasting, such as: play the audio signal in chat software, selecting corresponding voicefrequency circuit to carry out audio frequency broadcasting.
In this execution mode when selecting voicefrequency circuit, can introduce the implementation selecting voicefrequency circuit in the execution mode of voice call, do not do repeat specification herein with reference to above-mentioned, just present embodiment sound intermediate frequency circuit can not comprise microphone.
In the present embodiment, step 201 can comprise:
When detecting that the current needs of described handheld terminal are recorded in instant messaging, detect the current residing current spatial attitude of described handheld terminal, wherein, described in every bar, voicefrequency circuit comprises microphone;
Step 203 comprises the steps:
Record with the microphone in described target audio circuit.
This execution mode can realize, when handheld terminal needs to record, such as: when using chat software to carry out the recording in voice-enabled chat, selecting corresponding voicefrequency circuit to carry out audio frequency broadcasting.
In this execution mode when selecting voicefrequency circuit, can introduce the implementation selecting voicefrequency circuit in the execution mode of voice call, do not do repeat specification herein with reference to above-mentioned, just present embodiment sound intermediate frequency circuit can not comprise loud speaker.
In the present embodiment, after step 202, said method can also comprise the steps:
Receive the switching command of the switching voicefrequency circuit of input;
Respond described switching command, select a voicefrequency circuit outside described target audio circuit as the voicefrequency circuit of current use from described at least two voicefrequency circuits.
In this execution mode, after step 202 chooses voicefrequency circuit, can also carry out the switching of any voicefrequency circuit according to the switching command of input, to realize switching voicefrequency circuit flexibly.
In the present embodiment, said method can also comprise the steps:
When detecting that described handheld terminal needs to carry out the broadcasting of outer sound to audio frequency, extract left audio and the right audio channel of this audio frequency, and described left audio play by the loud speaker of at least one voicefrequency circuit described in using at least two voicefrequency circuits, described right audio channel play by the loud speaker of the voicefrequency circuit at least two voicefrequency circuits described in using except described at least one voicefrequency circuit.
Wherein, above-mentioned outer sound is play can be play music, displaying video sound or game replaying sound or hand-free call etc. to need audio frequency to be carried out outer putting.In addition, the loud speaker of above-mentioned at least one voicefrequency circuit is play described left audio and can be pre-set, and other voicefrequency circuit just plays right audio channel.Can realize like this carrying out audio plays with dual track.Wherein, the left audio and the right audio channel that extract this audio frequency are known to those skilled in the art, do not elaborate herein.
In addition, in the present embodiment, when detecting that described handheld terminal needs to carry out the broadcasting of outer sound to audio frequency, above-mentioned at least two voicefrequency circuits can also be used to carry out vertical sound of stopping and to play.
In the present embodiment, above-mentioned handheld terminal can also be provided with de-noising microphone, wherein, de-noising microphone can be arranged on the front of handheld terminal, specifically can also with reference to the setting position introducing de-noising microphone in the embodiment of handheld terminal structure in the embodiment of the present invention.Said method can also comprise the steps:
204, when described handheld terminal gathers audio frequency with the microphone of described target audio circuit, audio frequency is gathered with described de-noising microphone, and use the audio frequency of the audio frequency of described de-noising microphone collection to the microphone collection of described target audio circuit to abate the noise process, to obtain the de-noising audio frequency after abating the noise.
Can to abate the noise process to the audio frequency of the microphone collection of above-mentioned target audio circuit in this execution mode, to obtain the de-noising audio frequency after abating the noise, this de-noising audio frequency just can as the audio frequency of the current recording of handheld terminal like this.
In this execution mode, the face that the microphone of above-mentioned target audio circuit is close to the users just can be determined by step 201 and step 202, and above-mentioned de-noising microphone to be arranged on position different from the microphone of target audio circuit, thus cause the position of de-noising microphone distant from user's face, thus the audio frequency of de-noising microphone collection just may comprise extraneous sound, i.e. noise.Thus the above-mentioned process that abates the noise can be that the audio frequency of de-noising microphone collection is carried out waveform paraphase, then the audio frequency after paraphase is carried out overlapping with the audio frequency of the microphone collection of above-mentioned target audio circuit, namely realize the function of noise reduction.Certainly, in the present embodiment, other de-noising modes can also be gathered, such as: the waveform of the noise comprised by the audio frequency analyzing the collection of de-noising microphone, the audio frequency of waveform to the microphone collection of above-mentioned target audio circuit re-using this noise carries out de-noising.
In the present embodiment, handheld terminal is provided with the first display screen and second display screen, described in every bar, voicefrequency circuit comprises at least two loud speakers, wherein, there is a loud speaker in described at least two loud speakers corresponding with described first display screen, there is another loud speaker in described at least two loud speakers corresponding with described second display screen.In addition, above-mentioned first display screen and second display screen can be separately positioned on the positive and negative of handheld terminal.Such as: the first display screen is arranged on handheld terminal in front, second display screen is arranged on handheld terminal at reverse side, so every bar voicefrequency circuit just can comprise the loud speaker being arranged on front and the loud speaker being arranged on reverse side, to correspond to the first display screen and second display screen.
In this execution mode, step 202 can comprise:
When described first display screen being detected as current display interface, according to the spatial attitude preset and the corresponding relation of voicefrequency circuit, from described at least two voicefrequency circuits, select the voicefrequency circuit corresponding with described current spatial attitude as target audio circuit, and using the loud speaker of loud speaker corresponding with described first display screen in described target audio circuit as current use; Or
When described second display screen being detected as current display interface, according to the spatial attitude preset and the corresponding relation of voicefrequency circuit, from described at least two voicefrequency circuits, select the voicefrequency circuit corresponding with described current spatial attitude as target audio circuit, and using the loud speaker of loud speaker corresponding with described second display screen in described target audio circuit as current use.
Such as: in voice call scene, when the display screen of the first display screen as current display interface, and when selecting the first voicefrequency circuit according to spatial attitude relation, the reception voice that just voice call can be received send to loud speaker corresponding with the first display screen in the first voicefrequency circuit to play, and do not send to the loud speaker that the first voicefrequency circuit is corresponding with second display screen.Such as: play in scene at audio frequency, when the display screen of the first display screen as current display interface, and when selecting the first voicefrequency circuit according to spatial attitude relation, just loud speaker corresponding with the first display screen in the first voicefrequency circuit can be sent to play by needing the audio frequency play, and not send to the loud speaker that the first voicefrequency circuit is corresponding with second display screen.
In addition, in the present embodiment, every bar voicefrequency circuit can also comprise the microphone corresponding with the first display screen, and the microphone corresponding with second display screen, same like this can according to the microphone of the way selection of the selection loud speaker of the above-mentioned introduction microphone corresponding with the display screen of current use as current use.
In the present embodiment, the basis of the embodiment shown in Fig. 1 adds the execution mode of plurality of optional, and the audio quality improving handheld terminal can be realized.
Refer to Fig. 3, Fig. 3 is the structural representation of a kind of voice communication assembly that the embodiment of the present invention provides, this device as the device corresponding with the voicefrequency circuit system of selection shown in Fig. 1 and Fig. 2, as shown in Figure 3, comprise: detecting unit 31, selected cell 32 and communication unit 33, wherein:
Detecting unit 31, for when detecting that handheld terminal is current and needing to carry out voice communication, detects the current residing current spatial attitude of described handheld terminal, wherein, described handheld terminal is provided with at least two voicefrequency circuits;
Selected cell 32, for the corresponding relation according to the spatial attitude preset and voicefrequency circuit, selects the voicefrequency circuit corresponding with described current spatial attitude as target audio circuit from described at least two voicefrequency circuits.
Communication unit 33, carries out voice communication for using described target audio circuit.
In the present embodiment, detecting unit 31 may be used for when detecting that described handheld terminal is current and needing to carry out voice call, and detect the current residing current spatial attitude of described handheld terminal, wherein, described in every bar, voicefrequency circuit comprises microphone and loud speaker;
Communication unit 33 may be used for gathering voice signal with the microphone in described target audio circuit, and sends the voice signal collected, and plays the voice signal received with the loud speaker in described target audio circuit.
In this execution mode, selected cell 32 may be used for when described current spatial attitude represents that described handheld terminal is attitude upward, according to the spatial attitude preset and the corresponding relation of voicefrequency circuit, from described at least two voicefrequency circuits, select the first voicefrequency circuit as target audio circuit, wherein, the setting position of at least one loud speaker in described first voicefrequency circuit is on the setting position of the microphone of described first voicefrequency circuit; Or
In this execution mode, selected cell 32 may be used for when described current spatial attitude represents that described handheld terminal is attitude down, according to the spatial attitude preset and the corresponding relation of voicefrequency circuit, from described at least two voicefrequency circuits, select the second voicefrequency circuit as target audio circuit, wherein, the setting position of at least one loud speaker in described second voicefrequency circuit is under the setting position of the microphone of described second voicefrequency circuit; Or
In this execution mode, selected cell 32 may be used for when described current spatial attitude represents that described handheld terminal is the attitude kept flat, according to the corresponding relation of spatial attitude and the voicefrequency circuit preset, the voicefrequency circuit that selection is corresponding with keeping flat attitude from described at least two voicefrequency circuits is as target audio circuit.
In this execution mode, detecting unit 31 may be used for when detecting that described handheld terminal current needs carries out voice call, and when described voice call uses non-hands-free mode to converse, detects the current residing current spatial attitude of described handheld terminal.
In the present embodiment, as shown in Figure 4, described device also comprises:
Hands-free unit 34, detect that described handheld terminal current needs carries out voice call for working as, and described voice call is when using hands-free mode to converse, select to pre-set the voicefrequency circuit of the voicefrequency circuit corresponding with hands-free mode as current use from described at least two voicefrequency circuits, and use this voicefrequency circuit to carry out hand-free call.
In the present embodiment, detecting unit 31 may be used for when detecting that described handheld terminal is current and needing to play in instant messaging the voice received, and detect the current residing current spatial attitude of described handheld terminal, wherein, described in every bar, voicefrequency circuit comprises loud speaker;
Communication unit 33 may be used for playing with the loud speaker in described target audio circuit the voice received in described instant messaging.
In the present embodiment, detecting unit 31 may be used for detecting unit for when detecting that the current needs of described handheld terminal are recorded in instant messaging, detect the current residing current spatial attitude of described handheld terminal, wherein, described in every bar, voicefrequency circuit comprises microphone;
Communication unit may be used for recording with the microphone in described target audio circuit.
In the present embodiment, as shown in Figure 5, said apparatus can also comprise:
Receiving element 35, for receiving the switching command of the switching voicefrequency circuit of input;
Switch unit 36, for responding described switching command, selects a voicefrequency circuit outside described target audio circuit as the voicefrequency circuit of current use from described at least two voicefrequency circuits.
In the present embodiment, as shown in Figure 6, said apparatus can also comprise:
Broadcast unit 37, for when detecting that described handheld terminal needs to carry out the broadcasting of outer sound to audio frequency, extract left audio and the right audio channel of this audio frequency, and described left audio play by the loud speaker of at least one voicefrequency circuit described in using at least two voicefrequency circuits, described right audio channel play by the loud speaker of the voicefrequency circuit at least two voicefrequency circuits described in using except described at least one voicefrequency circuit.
In the present embodiment, described handheld terminal is provided with de-noising microphone; As shown in Figure 7, said apparatus can also comprise:
De-noising unit 38, for when described handheld terminal gathers audio frequency with the microphone of described target audio circuit, audio frequency is gathered with described de-noising microphone, and use the audio frequency of the audio frequency of described de-noising microphone collection to the microphone collection of described target audio circuit to abate the noise process, to obtain the de-noising audio frequency after abating the noise.
In the present embodiment, handheld terminal is provided with the first display screen and second display screen, described in every bar, voicefrequency circuit comprises at least two loud speakers, wherein, there is a loud speaker in described at least two loud speakers corresponding with described first display screen, there is another loud speaker in described at least two loud speakers corresponding with described second display screen;
Selected cell 32 can also be used for when described first display screen being detected as current display interface, according to the spatial attitude preset and the corresponding relation of voicefrequency circuit, from described at least two voicefrequency circuits, select the voicefrequency circuit corresponding with described current spatial attitude as target audio circuit, and using the loud speaker of loud speaker corresponding with described first display screen in described target audio circuit as current use; Or
Selected cell 32 can also be used for when described second display screen being detected as current display interface, according to the spatial attitude preset and the corresponding relation of voicefrequency circuit, from described at least two voicefrequency circuits, select the voicefrequency circuit corresponding with described current spatial attitude as target audio circuit, and using the loud speaker of loud speaker corresponding with described second display screen in described target audio circuit as current use.
It should be noted that, said apparatus is as device corresponding to the method shown in Fig. 1 and Fig. 2, and this device can realize any one execution mode introduced in embodiment as depicted in figs. 1 and 2.
In the present embodiment, said apparatus can be applied to handheld terminal, and this handheld terminal can be comprise the handheld device that mobile phone, dull and stereotyped electroplax, portable set etc. possess audio frequency processing capacity.
In the present embodiment, when detecting that handheld terminal is current and needing to carry out voice communication, detect the current residing current spatial attitude of described handheld terminal, wherein, described handheld terminal is provided with at least two voicefrequency circuits; According to the corresponding relation of spatial attitude and the voicefrequency circuit preset, the voicefrequency circuit that selection is corresponding with described current spatial attitude from described at least two voicefrequency circuits is as target audio circuit; Described target audio circuit is used to carry out voice communication.Can realize like this selecting corresponding voicefrequency circuit to carry out voice communication according to the different attitudes of handheld terminal, thus the audio quality of handheld terminal can be improved.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random access memory (RandomAccessMemory is called for short RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.
Claims (22)
1. a voice communication method, is characterized in that, comprising:
When detecting that handheld terminal is current and needing to carry out voice communication, detect the current residing current spatial attitude of described handheld terminal, wherein, described handheld terminal is provided with at least two voicefrequency circuits;
According to the corresponding relation of spatial attitude and the voicefrequency circuit preset, the voicefrequency circuit that selection is corresponding with described current spatial attitude from described at least two voicefrequency circuits is as target audio circuit;
Described target audio circuit is used to carry out voice communication.
2. the method for claim 1, is characterized in that, described when detecting that handheld terminal is current and needing to use voicefrequency circuit, detects the current residing current spatial attitude of described handheld terminal, comprising:
When detecting that described handheld terminal is current and needing to carry out voice call, detect the current residing current spatial attitude of described handheld terminal, wherein, described in every bar, voicefrequency circuit comprises microphone and loud speaker;
The described target audio circuit of described use carries out voice communication, comprising:
Gather voice signal with the microphone in described target audio circuit, and send the voice signal collected, and play the voice signal received with the loud speaker in described target audio circuit.
3. method as claimed in claim 2, it is characterized in that, the corresponding relation of the spatial attitude that described basis is preset and voicefrequency circuit, from described at least two voicefrequency circuits, select the voicefrequency circuit corresponding with described current spatial attitude as target audio circuit, comprising:
When described current spatial attitude represents that described handheld terminal is attitude upward, according to the spatial attitude preset and the corresponding relation of voicefrequency circuit, from described at least two voicefrequency circuits, select the first voicefrequency circuit as target audio circuit, wherein, the setting position of at least one loud speaker in described first voicefrequency circuit is on the setting position of the microphone of described first voicefrequency circuit; Or
When described current spatial attitude represents that described handheld terminal is attitude down, according to the spatial attitude preset and the corresponding relation of voicefrequency circuit, from described at least two voicefrequency circuits, select the second voicefrequency circuit as target audio circuit, wherein, the setting position of at least one loud speaker in described second voicefrequency circuit is under the setting position of the microphone of described second voicefrequency circuit; Or
When described current spatial attitude represents that described handheld terminal is the attitude kept flat, according to the corresponding relation of spatial attitude and the voicefrequency circuit preset, the voicefrequency circuit that selection is corresponding with keeping flat attitude from described at least two voicefrequency circuits is as target audio circuit.
4. as claimed in claim 2 or claim 3 method, is characterized in that, described when detecting that described handheld terminal is current and needing to carry out voice call, detect described handheld terminal current residing for current spatial attitude, comprising:
When detecting that described handheld terminal current needs carries out voice call, and when described voice call uses non-hands-free mode to converse, detect the current residing current spatial attitude of described handheld terminal.
5. the method according to any one of claim 1-3, is characterized in that, described method also comprises:
When detecting that described handheld terminal current needs carries out voice call, and described voice call is when using hands-free mode to converse, select to pre-set the voicefrequency circuit of the voicefrequency circuit corresponding with hands-free mode as current use from described at least two voicefrequency circuits, and use this voicefrequency circuit to carry out hand-free call.
6. the method for claim 1, is characterized in that, described when detecting that handheld terminal is current and needing to carry out voice communication, detects the current residing current spatial attitude of described handheld terminal, comprising:
When detecting that described handheld terminal is current and needing to play in instant messaging the voice received, detect the current residing current spatial attitude of described handheld terminal, wherein, described in every bar, voicefrequency circuit comprises loud speaker;
The described target audio circuit of described use carries out voice communication, comprising:
The voice received in described instant messaging are play with the loud speaker in described target audio circuit.
7. the method for claim 1, is characterized in that, described when detecting that handheld terminal is current and needing to carry out voice communication, detects the current residing current spatial attitude of described handheld terminal, comprising:
When detecting that the current needs of described handheld terminal are recorded in instant messaging, detect the current residing current spatial attitude of described handheld terminal, wherein, described in every bar, voicefrequency circuit comprises microphone;
The described target audio circuit of described use carries out voice communication, comprising:
Record with the microphone in described target audio circuit.
8. the method as described in claim 1,2,3,6 or 7, is characterized in that, the described voicefrequency circuit that selection is corresponding with described current spatial attitude from described at least two voicefrequency circuits is as after target audio circuit, and described method also comprises:
Receive the switching command of the switching voicefrequency circuit of input;
Respond described switching command, select a voicefrequency circuit outside described target audio circuit as the voicefrequency circuit of current use from described at least two voicefrequency circuits.
9. the method as described in claim 1,2,3,6 or 7, is characterized in that, described method also comprises:
When detecting that described handheld terminal needs to carry out the broadcasting of outer sound to audio frequency, extract left audio and the right audio channel of this audio frequency, and described left audio play by the loud speaker of at least one voicefrequency circuit described in using at least two voicefrequency circuits, described right audio channel play by the loud speaker of the voicefrequency circuit at least two voicefrequency circuits described in using except described at least one voicefrequency circuit.
10. the method as described in claim 1,2,3,6 or 7, is characterized in that, described handheld terminal is provided with de-noising microphone; Described method also comprises:
When described handheld terminal gathers audio frequency with the microphone of described target audio circuit, audio frequency is gathered with described de-noising microphone, and use the audio frequency of the audio frequency of described de-noising microphone collection to the microphone collection of described target audio circuit to abate the noise process, to obtain the de-noising audio frequency after abating the noise.
11. methods as described in claim 1,2,3,6 or 7, it is characterized in that, described handheld terminal is provided with the first display screen and second display screen, described in every bar, voicefrequency circuit comprises at least two loud speakers, wherein, there is a loud speaker in described at least two loud speakers corresponding with described first display screen, there is another loud speaker in described at least two loud speakers corresponding with described second display screen;
The corresponding relation of the spatial attitude that described basis is preset and voicefrequency circuit, from described at least two voicefrequency circuits, select the voicefrequency circuit corresponding with described current spatial attitude as target audio circuit, comprising:
When described first display screen being detected as current display interface, according to the spatial attitude preset and the corresponding relation of voicefrequency circuit, from described at least two voicefrequency circuits, select the voicefrequency circuit corresponding with described current spatial attitude as target audio circuit, and using the loud speaker of loud speaker corresponding with described first display screen in described target audio circuit as current use; Or
When described second display screen being detected as current display interface, according to the spatial attitude preset and the corresponding relation of voicefrequency circuit, from described at least two voicefrequency circuits, select the voicefrequency circuit corresponding with described current spatial attitude as target audio circuit, and using the loud speaker of loud speaker corresponding with described second display screen in described target audio circuit as current use.
12. 1 kinds of voice communication assemblies, described application of installation, in handheld terminal, is characterized in that, comprising: detecting unit, selected cell and communication unit, wherein:
Described detecting unit, for when detecting that handheld terminal is current and needing to carry out voice communication, detects the current residing current spatial attitude of described handheld terminal, wherein, described handheld terminal is provided with at least two voicefrequency circuits;
Described selected cell, for the corresponding relation according to the spatial attitude preset and voicefrequency circuit, selects the voicefrequency circuit corresponding with described current spatial attitude as target audio circuit from described at least two voicefrequency circuits;
Described communication unit, carries out voice communication for using described target audio circuit.
13. devices as claimed in claim 12, it is characterized in that, described detecting unit is used for when detecting that described handheld terminal is current and needing to carry out voice call, detect described handheld terminal current residing for current spatial attitude, wherein, described in every bar, voicefrequency circuit comprises microphone and loud speaker;
Described communication unit is used for gathering voice signal with the microphone in described target audio circuit, and sends the voice signal collected, and plays the voice signal received with the loud speaker in described target audio circuit.
14. devices as claimed in claim 13, it is characterized in that, described selected cell is used for when described current spatial attitude represents that described handheld terminal is attitude upward, according to the spatial attitude preset and the corresponding relation of voicefrequency circuit, from described at least two voicefrequency circuits, select the first voicefrequency circuit as target audio circuit, wherein, the setting position of at least one loud speaker in described first voicefrequency circuit is on the setting position of the microphone of described first voicefrequency circuit; Or
Described selected cell is used for when described current spatial attitude represents that described handheld terminal is attitude down, according to the spatial attitude preset and the corresponding relation of voicefrequency circuit, from described at least two voicefrequency circuits, select the second voicefrequency circuit as target audio circuit, wherein, the setting position of at least one loud speaker in described second voicefrequency circuit is under the setting position of the microphone of described second voicefrequency circuit; Or
Described selected cell is used for when described current spatial attitude represents that described handheld terminal is the attitude kept flat, according to the corresponding relation of spatial attitude and the voicefrequency circuit preset, the voicefrequency circuit that selection is corresponding with keeping flat attitude from described at least two voicefrequency circuits is as target audio circuit.
15. devices as described in claim 13 or 14, it is characterized in that, described detecting unit is used for when detecting that described handheld terminal current needs carries out voice call, and when described voice call uses non-hands-free mode to converse, detects the current residing current spatial attitude of described handheld terminal.
16. devices according to any one of claim 12-14, it is characterized in that, described device also comprises:
Hands-free unit, detect that described handheld terminal current needs carries out voice call for working as, and described voice call is when using hands-free mode to converse, select to pre-set the voicefrequency circuit of the voicefrequency circuit corresponding with hands-free mode as current use from described at least two voicefrequency circuits, and use this voicefrequency circuit to carry out hand-free call.
17. devices as claimed in claim 12, it is characterized in that, described detecting unit be used for when detect described handheld terminal current need broadcasting instant messaging in receive voice time, detect the current residing current spatial attitude of described handheld terminal, wherein, described in every bar, voicefrequency circuit comprises loud speaker;
Described communication unit is used for playing with the loud speaker in described target audio circuit the voice received in described instant messaging.
18. devices as claimed in claim 12, it is characterized in that, described detecting unit is used for when detecting that the current needs of described handheld terminal are recorded in instant messaging, detects the current residing current spatial attitude of described handheld terminal, wherein, described in every bar, voicefrequency circuit comprises microphone;
Described communication unit is used for recording with the microphone in described target audio circuit.
19. devices as described in claim 12,13,14,17 or 18, it is characterized in that, described device also comprises:
Receiving element, for receiving the switching command of the switching voicefrequency circuit of input;
Switch unit, for responding described switching command, selects a voicefrequency circuit outside described target audio circuit as the voicefrequency circuit of current use from described at least two voicefrequency circuits.
20. devices as described in claim 12,13,14,17 or 18, it is characterized in that, described device also comprises:
Broadcast unit, for when detecting that described handheld terminal needs to carry out the broadcasting of outer sound to audio frequency, extract left audio and the right audio channel of this audio frequency, and described left audio play by the loud speaker of at least one voicefrequency circuit described in using at least two voicefrequency circuits, described right audio channel play by the loud speaker of the voicefrequency circuit at least two voicefrequency circuits described in using except described at least one voicefrequency circuit.
21. devices as described in claim 12,13,14,17 or 18, is characterized in that, described handheld terminal is provided with de-noising microphone; Described device also comprises:
De-noising unit, for when described handheld terminal gathers audio frequency with the microphone of described target audio circuit, audio frequency is gathered with described de-noising microphone, and use the audio frequency of the audio frequency of described de-noising microphone collection to the microphone collection of described target audio circuit to abate the noise process, to obtain the de-noising audio frequency after abating the noise.
22. devices as described in claim 12,13,14,17 or 18, it is characterized in that, described handheld terminal is provided with the first display screen and second display screen, described in every bar, voicefrequency circuit comprises at least two loud speakers, wherein, there is a loud speaker in described at least two loud speakers corresponding with described first display screen, there is another loud speaker in described at least two loud speakers corresponding with described second display screen;
Described selected cell is used for when described first display screen being detected as current display interface, according to the spatial attitude preset and the corresponding relation of voicefrequency circuit, from described at least two voicefrequency circuits, select the voicefrequency circuit corresponding with described current spatial attitude as target audio circuit, and using the loud speaker of loud speaker corresponding with described first display screen in described target audio circuit as current use; Or
Described selected cell is used for when described second display screen being detected as current display interface, according to the spatial attitude preset and the corresponding relation of voicefrequency circuit, from described at least two voicefrequency circuits, select the voicefrequency circuit corresponding with described current spatial attitude as target audio circuit, and using the loud speaker of loud speaker corresponding with described second display screen in described target audio circuit as current use.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510466813.4A CN105554231A (en) | 2015-07-31 | 2015-07-31 | Voice communication method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510466813.4A CN105554231A (en) | 2015-07-31 | 2015-07-31 | Voice communication method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105554231A true CN105554231A (en) | 2016-05-04 |
Family
ID=55833163
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510466813.4A Pending CN105554231A (en) | 2015-07-31 | 2015-07-31 | Voice communication method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105554231A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106131322A (en) * | 2016-06-30 | 2016-11-16 | 努比亚技术有限公司 | Dual-screen mobile terminal plays the method and device of sound |
CN106973170A (en) * | 2017-06-02 | 2017-07-21 | 青岛海信移动通信技术股份有限公司 | Mobile terminal and its receiver control method |
CN107508939A (en) * | 2017-09-11 | 2017-12-22 | 北京小米移动软件有限公司 | Communication equipment |
CN108881542A (en) * | 2018-06-28 | 2018-11-23 | 努比亚技术有限公司 | Mobile terminal call method, mobile terminal and computer readable storage medium |
CN110427167A (en) * | 2019-06-11 | 2019-11-08 | 珠海声原智能科技有限公司 | Handheld device audio-frequency information processing method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102957801A (en) * | 2012-11-14 | 2013-03-06 | 深圳市金立通信设备有限公司 | Method and device for switching screens of symmetrical double-screen mobile terminal |
CN202889423U (en) * | 2012-10-31 | 2013-04-17 | 广东欧珀移动通信有限公司 | Mobile phone with symmetry function |
CN103533127A (en) * | 2013-09-27 | 2014-01-22 | 小米科技有限责任公司 | Call control method of terminal and terminal |
CN203522834U (en) * | 2013-09-24 | 2014-04-02 | 深圳桑菲消费通信有限公司 | Conversation terminal capable of realizing phone answering by gravity sensor |
CN203734712U (en) * | 2014-01-28 | 2014-07-23 | 上海华豚科技有限公司 | Mobile communication terminal |
CN104243669A (en) * | 2013-06-14 | 2014-12-24 | 艾酷电子科技有限公司 | Acoustic image following method and system used when mobile handheld device plays image and sound video resources |
-
2015
- 2015-07-31 CN CN201510466813.4A patent/CN105554231A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202889423U (en) * | 2012-10-31 | 2013-04-17 | 广东欧珀移动通信有限公司 | Mobile phone with symmetry function |
CN102957801A (en) * | 2012-11-14 | 2013-03-06 | 深圳市金立通信设备有限公司 | Method and device for switching screens of symmetrical double-screen mobile terminal |
CN104243669A (en) * | 2013-06-14 | 2014-12-24 | 艾酷电子科技有限公司 | Acoustic image following method and system used when mobile handheld device plays image and sound video resources |
CN203522834U (en) * | 2013-09-24 | 2014-04-02 | 深圳桑菲消费通信有限公司 | Conversation terminal capable of realizing phone answering by gravity sensor |
CN103533127A (en) * | 2013-09-27 | 2014-01-22 | 小米科技有限责任公司 | Call control method of terminal and terminal |
CN203734712U (en) * | 2014-01-28 | 2014-07-23 | 上海华豚科技有限公司 | Mobile communication terminal |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106131322A (en) * | 2016-06-30 | 2016-11-16 | 努比亚技术有限公司 | Dual-screen mobile terminal plays the method and device of sound |
CN106973170A (en) * | 2017-06-02 | 2017-07-21 | 青岛海信移动通信技术股份有限公司 | Mobile terminal and its receiver control method |
CN106973170B (en) * | 2017-06-02 | 2020-06-30 | 青岛海信移动通信技术股份有限公司 | Mobile terminal and receiver control method thereof |
CN107508939A (en) * | 2017-09-11 | 2017-12-22 | 北京小米移动软件有限公司 | Communication equipment |
CN108881542A (en) * | 2018-06-28 | 2018-11-23 | 努比亚技术有限公司 | Mobile terminal call method, mobile terminal and computer readable storage medium |
CN110427167A (en) * | 2019-06-11 | 2019-11-08 | 珠海声原智能科技有限公司 | Handheld device audio-frequency information processing method |
CN110427167B (en) * | 2019-06-11 | 2024-01-02 | 珠海声原智能科技有限公司 | Audio information processing method for handheld device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105554201A (en) | Audio frequency circuit selection method, apparatus, and circuit, and hand-held terminal | |
CN105554231A (en) | Voice communication method and apparatus | |
CN102413402A (en) | Audio frequency control method of audio frequency output device and audio frequency output device | |
CN102821195A (en) | Terminal and multi-audio-frequency output method | |
CN101588561A (en) | Method and apparatus for setting telephony mode of mobile terminal | |
CN105260159A (en) | Audio play method and apparatus | |
CN107920321A (en) | A kind of loudspeaker faults treating method and apparatus | |
KR20110044338A (en) | Mobilephone terminal system for embodying online and offline hearing-aid. | |
CN106453791A (en) | A sound signal output method and apparatus and an earphone state detection method and apparatus | |
CN114077414A (en) | Audio playing control method and device, electronic equipment and storage medium | |
CN104217750A (en) | A holographic audio record and playback method | |
CN105554230A (en) | Voice communication circuit and hand-held terminal | |
CN110381215B (en) | Audio distribution method and device, storage medium and computer equipment | |
CN109121059A (en) | Loudspeaker plug-hole detection method and Related product | |
CN102355518A (en) | Mobile phone and audio processing method thereof | |
CN104254086A (en) | Voice MOS testing loop-back recording and playing method and system | |
CN106792368A (en) | A kind of multi-mode plays the terminal of voice signal | |
CN201750564U (en) | Mobile terminal and audio play system and audio play device thereof | |
CN105187993A (en) | Three-dimensional stereo headphone device and recovery method | |
CN103533126B (en) | A kind of device and method automatically carrying out mobile phone test | |
CN105577856A (en) | Handheld terminal | |
WO2018064883A1 (en) | Method and device for sound recording, apparatus and computer storage medium | |
CN104683903A (en) | Earphone control method and device | |
CN107371108A (en) | A kind of multi-channel speaker system and equipment | |
CN104822023B (en) | The method and its system of video are provided by earphone |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160504 |