CN109618052A - A kind of call audio switching method and device, mobile terminal and readable storage medium storing program for executing - Google Patents
A kind of call audio switching method and device, mobile terminal and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN109618052A CN109618052A CN201811512683.3A CN201811512683A CN109618052A CN 109618052 A CN109618052 A CN 109618052A CN 201811512683 A CN201811512683 A CN 201811512683A CN 109618052 A CN109618052 A CN 109618052A
- Authority
- CN
- China
- Prior art keywords
- audio signal
- microphone
- mobile terminal
- signal strength
- bluetooth
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72484—User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/60—Substation equipment, e.g. for use by subscribers including speech amplifiers
- H04M1/6033—Substation equipment, e.g. for use by subscribers including speech amplifiers for providing handsfree use or a loudspeaker mode in telephone sets
- H04M1/6041—Portable telephones adapted for handsfree use
- H04M1/6058—Portable telephones adapted for handsfree use involving the use of a headset accessory device connected to the portable telephone
- H04M1/6066—Portable telephones adapted for handsfree use involving the use of a headset accessory device connected to the portable telephone including a wireless connection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/02—Details of telephonic subscriber devices including a Bluetooth interface
Abstract
The invention discloses a kind of call audio switching method and devices, mobile terminal and computer readable storage medium, are applied to mobile terminal.It include: that the Bluetooth microphone of the main microphon of the mobile terminal, auxiliary microphone and bluetooth headset acquires the audio signal after telephone receiving in the predetermined time respectively;The audio signal strength of the main microphon, the audio signal strength and the Bluetooth microphone of auxiliary microphone is compared, call Audio conversion is carried out according to comparison result.Through the embodiment of the present invention, according to the collected audio signal strength of Bluetooth microphone of the main microphon, auxiliary microphone and bluetooth headset is judged, come automatic switched audio signal outgoing route, communication effect can be improved, user experience is promoted.
Description
Technical field
The present invention relates to field of mobile terminals, in particular to a kind of call audio switching method and device, mobile terminal and
Computer readable storage medium.
Background technique
Currently, mobile terminal becomes increasingly popular, more and more using the user of mobile terminal, and user routine use is mobile eventually
End is also more and more frequent, so that mobile terminal has become one of essential mobile device of user.
In the scheme of existing mobile terminal, talking mode has several output voices such as earpiece, loudspeaker, bluetooth headset
Mode.In communication process, user is frequently encountered in the case where mobile terminal is connect with bluetooth headset, still can be gone out
The case where now being received calls using earpiece, the situation of this call audio signal path output mistake confusion, seriously affects call
Effect influences user experience.
Thus, it is necessary to propose a kind of solution, with more than solving.
Summary of the invention
In view of this, a kind of call audio switching method provided in an embodiment of the present invention and device, mobile terminal and calculating
Machine readable storage medium storing program for executing can solve the case where mobile terminal has connected bluetooth headset and call audio signal output road occurs
The problem of diameter mistake, according to the collected audio of Bluetooth microphone for judging the main microphon, auxiliary microphone and bluetooth headset
Signal strength carrys out automatic switched audio signal outgoing route, improves communication effect, promotes user experience.
It is as follows that the present invention solves technical solution used by above-mentioned technical problem:
According to an aspect of the present invention, a kind of call audio switching method provided is applied to mobile terminal, comprising:
The Bluetooth microphone of the main microphon of the mobile terminal, auxiliary microphone and bluetooth headset acquires telephone receiving respectively
Audio signal in predetermined time afterwards;
By the main microphon, auxiliary microphone audio signal strength and the Bluetooth microphone audio signal strength into
Row comparison, carries out call Audio conversion according to comparison result.
Main microphon, the bluetooth of auxiliary microphone and bluetooth headset in a possible design, in the mobile terminal
Before microphone acquires the audio signal after telephone receiving in the predetermined time respectively, the method also includes: mobile terminal receives
When to main calling terminal incoming call requests, judge whether current mobile terminal is in bluetooth headset connection status, if it is in indigo plant
Tooth connection status, the then audio signal being acquired in the predetermined time, is otherwise disregarded.
It is described by the main microphon, the audio signal strength of auxiliary microphone and the indigo plant in a possible design
The audio signal strength of tooth microphone compares, and carries out call Audio conversion according to comparison result, comprising:
The audio signal strength of the main microphon is greater than the audio signal strength of the Bluetooth microphone, judges user just
It is received calls using earpiece or loudspeaker, then further judges the audio signal strength for comparing the main microphon and the auxiliary Mike
The audio signal strength of wind.
In a possible design, the further judgement compare the audio signal strength of the main microphon with it is described
The audio signal strength of auxiliary microphone, comprising:
The audio signal strength of the main microphon is greater than the audio signal strength of the auxiliary microphone, then is judging user just
It is received calls using earpiece, mobile terminal control voice audio signals output switches to earpiece output;
The audio signal strength of the main microphon is less than the audio signal strength of the auxiliary microphone, then is judging user just
It is received calls using loudspeaker, mobile terminal control voice audio signals output switches to loudspeaker output.
It is described by the main microphon, the audio signal strength of auxiliary microphone and the indigo plant in a possible design
The audio signal strength of tooth microphone compares, and carries out call Audio conversion according to comparison result, comprising:
The audio signal strength of the main microphon is less than the audio signal strength of the Bluetooth microphone, then further sentences
The audio signal strength of the disconnected comparison auxiliary microphone and the audio signal strength of the Bluetooth microphone.
In a possible design, the further judgement compare the audio signal strength of the auxiliary microphone with it is described
The audio signal strength of Bluetooth microphone, comprising:
The audio signal strength of the auxiliary microphone is greater than the audio signal strength of the Bluetooth microphone, then judges user
It is just received calls using loudspeaker, mobile terminal control voice audio signals output switches to loudspeaker output;
The audio signal strength of the auxiliary microphone is less than the audio signal strength of the Bluetooth microphone, then judges user
It is just received calls using bluetooth headset, mobile terminal controls voice audio signals output and keeps current default output, i.e. movement eventually
Control voice audio signals output in end keeps to bluetooth exporting.
According to another aspect of the present invention, a kind of call audio frequency switching device provided, comprising: acquisition module, switching
Module, in which:
The acquisition module, the Bluetooth microphone including main microphon, auxiliary microphone and bluetooth headset, the main Mike
Wind, auxiliary microphone and Bluetooth microphone acquire the audio signal after telephone receiving in the predetermined time respectively;
The switching module, for adopting the main microphon of the acquisition module, auxiliary microphone and Bluetooth microphone
The intensity for collecting the main microphon, auxiliary microphone and Bluetooth microphone audio signal compares, and is carried out according to comparison result
Call Audio conversion.
According to another aspect of the present invention, a kind of mobile terminal provided, comprising: memory, processor and be stored in
On the memory and the computer program that can run on the processor, the computer program are executed by the processor
A kind of the step of Shi Shixian described call audio switching method provided in an embodiment of the present invention.
According to another aspect of the present invention, a kind of computer readable storage medium provided, it is described computer-readable to deposit
The program of call audio switching method is stored on storage media, when the program of the call audio switching method is executed by processor
The step of realizing a kind of call audio switching method provided in an embodiment of the present invention.
Compared with the relevant technologies, a kind of call audio switching method and device, mobile terminal that the embodiment of the present invention proposes
And computer readable storage medium, it is applied to mobile terminal, when mobile terminal incoming call and mobile terminal has connected bluetooth ear
Machine is distinguished after telephone receiving by the Bluetooth microphone of the main microphon of the mobile terminal, auxiliary microphone and bluetooth headset
The audio signal in the predetermined time is acquired, then judges the Bluetooth microphone of the main microphon, auxiliary microphone and bluetooth headset
Audio signal strength come automatic switched audio signal outgoing route, improve communication effect, promoted user experience.
Detailed description of the invention
A kind of hardware structural diagram of Fig. 1 mobile terminal of each embodiment to realize the present invention;
Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of audio switching method of conversing provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of audio frequency switching device of conversing provided in an embodiment of the present invention;
Fig. 5 is a kind of flow diagram of audio switching method of conversing provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of mobile terminal provided in an embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
In order to be clearer and more clear technical problems, technical solutions and advantages to be solved, tie below
Drawings and examples are closed, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only
To explain the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
It should be noted that description and claims of the invention are received and the term " first " in above-mentioned attached drawing, " the
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate
Computer, laptop, palm PC, personal digital assistant (PersonalDigital Assistant, PDA), portable matchmaker
Body player (Portable MediaPlayer, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. are mobile
The fixed terminals such as terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special
Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting
Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit
108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram,
Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication
Standard or agreement, including but not limited to GSM (Global System ofMobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
DivisionMultipleAccess 2000, CDMA 2000), WCDMA (Wideband Code Division
MultipleAccess, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division
Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long
Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term
Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need
It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or
The audio data that person stores in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit
103 can also provide executed to mobile terminal 100 the relevant audio output of specific function (for example, call signal receive sound,
Message sink sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.
Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch behaviour of user on it or nearby
Make (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel
Operation near 1071), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touching
Two parts of detection device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch behaviour
Make bring signal, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and
It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.This
Outside, touch panel 1071 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touching
Panel 1071 is controlled, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072
It can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operation
One of bar etc. is a variety of, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can
The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, specifically herein not
It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage
Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system
System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection
Family equipment) (the land EvolvedUMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (MobilityManagement Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving GateWay,
Gateway) 2034, PGW (PDN GateWay, grouped data network gateway) 2035 and PCRF (Policy and Charging
Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 is between processing UE201 and EPC203
The control node of signaling, provides carrying and connection management.HSS2032 is for providing some registers to manage such as homing position
The function of register (not shown) etc, and preserve the dedicated letters of users such as some related service features, data rates
Breath.All customer data can be sent by SGW2034, PGW2035 can provide UE 201 IP address distribution with
And other functions, PCRF2036 are the strategy and charging control policy decision point of business data flow and IP bearing resource, it is plan
Available strategy and charging control decision are slightly selected and provided with charge execution function unit (not shown).
IP operation 204 may include internet, Intranet, IMS (IPMultimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
Please refer to Fig. 3.The embodiment of the present invention provides a kind of call audio switching method, is applied to mobile terminal, comprising:
Step S1, main microphon (Microphone, MIC), the indigo plant of auxiliary microphone and bluetooth headset of the described mobile terminal
Tooth microphone acquires the audio signal after telephone receiving in the predetermined time respectively;
Step S2, the audio of the main microphon, the audio signal strength of auxiliary microphone and the Bluetooth microphone is believed
Number intensity compares, and carries out call Audio conversion according to comparison result.
Further, in the step S1, the bluetooth of the main microphon of the mobile terminal, auxiliary microphone and bluetooth headset
Before microphone acquires the audio signal after telephone receiving in the predetermined time respectively, the method also includes: mobile terminal receives
When to main calling terminal incoming call requests, mobile terminal judges whether current mobile terminal is in bluetooth headset connection status, if
It is then to carry out step S1 in bluetooth connection status, otherwise disregard.
Further, in the step S1, main microphon microphone, auxiliary microphone and the bluetooth headset of the mobile terminal
Bluetooth microphone acquire the audio signal after telephone receiving in the predetermined time respectively, comprising:
After mobile terminal user receives calls, main microphon and auxiliary microphone on mobile terminal are started to work, and in real time
Acquisition obtains main microphon, auxiliary microphone audio signal intensity in the predetermined time, meanwhile, bluetooth headset also acquires the pre- timing of acquisition
Bluetooth microphone audio signal strength is passed to mobile terminal by interior Bluetooth microphone audio signal strength.
Preferably, in the step S1, the predetermined time is according to circumstances set by user, and set fix time should not mistake
It is long, in order to avoid omit dialog context.Such as the predetermined time is 1 second, then the main microphon of mobile terminal, auxiliary microphone and bluetooth
The Bluetooth microphone of earphone acquires the audio signal answered in latter 1 second respectively.
Further, in the step S2, it is described by the main microphon, auxiliary microphone audio signal strength with it is described
The audio signal strength of Bluetooth microphone compares, and carries out call Audio conversion according to comparison result;It specifically includes:
Mobile terminal is transmitted by microphone main microphon audio signal strength collected and bluetooth headset
Bluetooth microphone audio signal strength compares:
1, mobile terminal is greater than bluetooth headset by microphone main microphon audio signal strength collected and is transmitted across
The Bluetooth microphone audio signal strength come, then judge that user is just received calls using earpiece or loudspeaker, at this point, further judgement
Comparison mobile terminal is acquired with mobile terminal by microphone by microphone main microphon audio signal strength collected
Auxiliary microphone audio signal intensity:
1.1, mobile terminal passes through wheat greater than mobile terminal by microphone main microphon audio signal strength collected
Gram wind auxiliary microphone audio signal intensity collected, then judge that user is just received calls using earpiece, and mobile terminal controls language
The output of sound audio signal switches to earpiece output;
1.2, mobile terminal passes through wheat less than mobile terminal by microphone main microphon audio signal strength collected
Gram wind auxiliary microphone audio signal intensity collected, then judge that user is just received calls using loudspeaker, and mobile terminal controls language
The output of sound audio signal switches to loudspeaker output.
2, mobile terminal is less than bluetooth headset by microphone main microphon audio signal strength collected and is transmitted across
The Bluetooth microphone audio signal strength come, then further judgement comparison mobile terminal passes through microphone auxiliary microphone collected
The Bluetooth microphone audio signal strength that audio signal strength and bluetooth headset are transmitted:
2.1, mobile terminal is greater than bluetooth headset by microphone auxiliary microphone audio signal intensity collected and is transmitted
The Bluetooth microphone audio signal strength to come over then judges that user is just received calls using loudspeaker, and mobile terminal controls voice sound
The output of frequency signal switches to loudspeaker output;
2.2, mobile terminal is less than bluetooth headset by microphone auxiliary microphone audio signal intensity collected and is transmitted
The Bluetooth microphone audio signal strength to come over then judges that user is just received calls using bluetooth headset, and mobile terminal controls language
The output of sound audio signal keeps current default output, i.e. mobile terminal control voice audio signals output keeps to bluetooth exporting.
The embodiment of the present invention provides a kind of call audio switching method, is applied to mobile terminal, when mobile terminal incoming call
And mobile terminal has connected bluetooth headset, the main microphon of the mobile terminal, auxiliary microphone and bluetooth after telephone receiving
The Bluetooth microphone of earphone acquires the audio signal in the predetermined time respectively, then judge the main microphon, auxiliary microphone and
The audio signal strength of the Bluetooth microphone of bluetooth headset carrys out automatic switched audio signal outgoing route, improves communication effect, mentions
Rise user experience.
Please refer to Fig. 4.The embodiment of the present invention provides a kind of call audio frequency switching device, is applied to mobile terminal, comprising: adopt
Collect module 10, switching module 20, in which:
The acquisition module 10, the Bluetooth microphone 13 including main microphon 11, auxiliary microphone 12 and bluetooth headset are described
Main microphon 11, auxiliary microphone 12 and Bluetooth microphone 13 acquire the audio signal after telephone receiving in the predetermined time respectively;Its
In, the predetermined time is according to circumstances set by user, such as 1 second, the main microphon 11, auxiliary microphone 12 and bluetooth wheat
Gram wind 13 acquires the audio signal answered in latter 1 second respectively.
The switching module 20, for the main microphon 11, auxiliary microphone 12 and Bluetooth microphone 13 to be collected institute
The intensity for stating 13 audio signal of main microphon 11, auxiliary microphone 12 and Bluetooth microphone compares, and is carried out according to comparison result
Call Audio conversion.
Further, it before the acquisition module 10 acquires the audio signal in the predetermined time after telephone receiving, moves
When dynamic terminal receives main calling terminal incoming call requests, mobile terminal judges whether current mobile terminal is in bluetooth headset connection
State, if it is bluetooth connection status are in, then the acquisition module 10 is acquired the audio signal in the predetermined time again,
Otherwise it disregards.
After mobile terminal user receives calls, the main microphon 11 and auxiliary microphone 12 are started to work, and are acquired in real time
Main microphon 11,12 audio signal strength of auxiliary microphone in the predetermined time are obtained, meanwhile, bluetooth headset also acquires the pre- timing of acquisition
13 audio signal strength of Bluetooth microphone is passed to the switching module 20 by interior 13 audio signal strength of Bluetooth microphone.
Further, the switching module, for by the main microphon 11 of the acquisition module 10, auxiliary microphone 12
The intensity for collecting 13 audio signal of the main microphon 11, auxiliary microphone 12 and Bluetooth microphone with Bluetooth microphone 13 carries out
Comparison, carries out call Audio conversion according to comparison result;It include: judging submodule 21, switching submodule 22, in which:
The judging submodule 21 collects the main microphon 11, auxiliary microphone 12 and bluetooth wheat for judging to compare
The intensity of gram 13 audio signal of wind;
The switching submodule 22 is cut for carrying out call audio according to the judgement comparing result of the judging submodule 21
It changes.
It specifically includes:
The judging submodule passes through microphone main microphon audio signal strength collected and bluetooth to mobile terminal
The Bluetooth microphone audio signal strength that earphone is transmitted compares:
1, mobile terminal is greater than bluetooth headset by microphone main microphon audio signal strength collected and is transmitted across
The Bluetooth microphone audio signal strength come, then judge that user is just received calls using earpiece/speaker, at this point, further judgement
Comparison mobile terminal is acquired with mobile terminal by microphone by microphone main microphon audio signal strength collected
Auxiliary microphone audio signal intensity:
(1) mobile terminal passes through Mike greater than mobile terminal by microphone main microphon audio signal strength collected
Wind auxiliary microphone audio signal intensity collected, then judge that user is just received calls using earpiece, the switching submodule control
Voice audio signals output processed switches to earpiece output;
(2) mobile terminal passes through Mike less than mobile terminal by microphone main microphon audio signal strength collected
Wind auxiliary microphone audio signal intensity collected, then judge that user is just received calls using loudspeaker, the switching submodule control
Voice audio signals output processed switches to loudspeaker output.
2, mobile terminal is less than bluetooth headset by microphone main microphon audio signal strength collected and is transmitted across
The Bluetooth microphone audio signal strength come, then further judgement comparison mobile terminal passes through microphone auxiliary microphone collected
The Bluetooth microphone audio signal strength that audio signal strength and bluetooth headset are transmitted:
(1) mobile terminal is greater than bluetooth headset by microphone auxiliary microphone audio signal intensity collected and is transmitted across
The Bluetooth microphone audio signal strength come, then judge that user is just received calls using loudspeaker, and the switching submodule controls language
The output of sound audio signal switches to loudspeaker output;
(2) mobile terminal is less than bluetooth headset by microphone auxiliary microphone audio signal intensity collected and is transmitted across
The Bluetooth microphone audio signal strength come, then judge that user is just received calls using bluetooth headset, the switching submodule control
Voice audio signals output processed keeps current default output, i.e., the described switching submodule control voice audio signals output is kept extremely
Bluetooth output.
The embodiment of the present invention provides a kind of call audio frequency switching device, is applied to mobile terminal, when mobile terminal incoming call
And mobile terminal has connected bluetooth headset, the main microphon of the mobile terminal, auxiliary microphone and bluetooth after telephone receiving
The Bluetooth microphone of earphone acquires the audio signal in the predetermined time respectively, then judge the main microphon, auxiliary microphone and
The audio signal strength of the Bluetooth microphone of bluetooth headset carrys out automatic switched audio signal outgoing route, improves communication effect, mentions
Rise user experience.
It should be noted that above-mentioned apparatus embodiment and embodiment of the method belong to same design, specific implementation process is detailed
See embodiment of the method, and the technical characteristic in embodiment of the method is corresponding applicable in described device embodiment, it is no longer superfluous here
It states.
Technical solution of the present invention is described in further detail with reference to embodiments.
Please refer to Fig. 5.The embodiment of the present invention provides a kind of call audio switching method, is applied to mobile terminal, comprising:
Step S501, process starts.
Step S502, mobile terminal receives main calling terminal incoming call requests.
Step S503, mobile terminal judges whether current mobile terminal is in bluetooth headset connection status, if in indigo plant
Tooth earphone connection state is transferred to step S505;If being not on bluetooth headset connection status, it is transferred to step S504.
Step S504, it disregards, by common mode output audio signal.Then step S514, switching flow knot are transferred to
Beam.
Step S505, after mobile terminal user receives calls, main microphon and auxiliary microphone are started to work on mobile terminal,
And the audio signal strength after telephone receiving in 1 second is acquired, meanwhile, after the Bluetooth microphone of bluetooth headset also acquires telephone receiving
Audio signal strength in 1 second, passes to mobile terminal.
Step S506, mobile terminal is transmitted the main microphon audio signal strength of the acquisition with bluetooth headset
Bluetooth microphone audio signal strength compare judgement.
Step S507, whether mobile terminal judgement is greater than indigo plant by microphone main microphon audio signal strength collected
The Bluetooth microphone audio signal strength that tooth earphone is transmitted, if it is, judging that user is just answered using earpiece/speaker
Phone is transferred to step S508, further judge mobile terminal by microphone main microphon audio signal strength collected and
Mobile terminal passes through microphone auxiliary microphone audio signal intensity collected;Otherwise, it is transferred to step S511.
Step S508, whether mobile terminal judgement is greater than shifting by microphone main microphon audio signal strength collected
Dynamic terminal is by microphone auxiliary microphone audio signal intensity collected, if it is, judging that user is just answered using earpiece
Phone is transferred to step S509;Otherwise, it is transferred to step S510.
Step S509, user is just received calls using earpiece, and mobile terminal control voice audio signals output, which switches to, to be listened
Cylinder output.Then it is transferred to step S514, switching flow terminates.
Step S510, user is just received calls using loudspeaker, and mobile terminal control voice audio signals output switches to loudspeaker
Output.Then it is transferred to step S514, switching flow terminates.
Step S511, mobile terminal is less than bluetooth headset institute by microphone main microphon audio signal strength collected
The Bluetooth microphone audio signal strength transmitted, then further comparison judges that mobile terminal is collected auxiliary by microphone
The Bluetooth microphone audio signal strength that microphone audio signal intensity and bluetooth headset are transmitted.If mobile terminal is logical
Microphone auxiliary microphone audio signal intensity collected is crossed greater than the Bluetooth microphone audio letter that bluetooth headset is transmitted
Number intensity, then judge that user is just received calls using loudspeaker, be transferred to step S512;Otherwise, it is transferred to step S513.
Step S512, user is just received calls using loudspeaker, and mobile terminal control voice audio signals output switches to loudspeaker
Output.Then it is transferred to step S514, switching flow terminates.
Step S513, mobile terminal is less than bluetooth headset institute by microphone auxiliary microphone audio signal intensity collected
The Bluetooth microphone audio signal strength transmitted, user are just received calls using bluetooth headset, and mobile terminal controls voice
Audio signal output keeps current default output, i.e. mobile terminal control voice audio signals output keeps to bluetooth exporting.So
After be transferred to step S514, switching flow terminates.
Step S514, switching flow terminate.
In addition, the embodiment of the present invention also provides a kind of mobile terminal, as shown in fig. 6, the mobile terminal 900 includes: to deposit
Reservoir 902, processor 901 and it is stored in one for can running in the memory 902 and on the processor 901 or more
A computer program, the memory 902 and the processor 901 are coupled by bus system 903, one
Or multiple computer programs when being executed by the processor 901 to realize that a kind of call audio provided in an embodiment of the present invention is cut
Change the following steps of method:
Step S1, main microphon (Microphone, MIC), the indigo plant of auxiliary microphone and bluetooth headset of the described mobile terminal
Tooth microphone acquires the audio signal after telephone receiving in the predetermined time respectively;
Step S2, the audio of the main microphon, the audio signal strength of auxiliary microphone and the Bluetooth microphone is believed
Number intensity compares, and carries out call Audio conversion according to comparison result.
Further, in the step S1, the bluetooth of the main microphon of the mobile terminal, auxiliary microphone and bluetooth headset
Before microphone acquires the audio signal after telephone receiving in the predetermined time respectively, the method also includes: mobile terminal receives
When to main calling terminal incoming call requests, mobile terminal judges whether current mobile terminal is in bluetooth headset connection status, if
It is then to carry out step S1 in bluetooth connection status, otherwise disregard.
Further, in the step S1, main microphon microphone, auxiliary microphone and the bluetooth headset of the mobile terminal
Bluetooth microphone acquire the audio signal after telephone receiving in the predetermined time respectively, comprising:
After mobile terminal user receives calls, main microphon and auxiliary microphone on mobile terminal are started to work, and in real time
Acquisition obtains main microphon, auxiliary microphone audio signal intensity in the predetermined time, meanwhile, bluetooth headset also acquires the pre- timing of acquisition
Bluetooth microphone audio signal strength is passed to mobile terminal by interior Bluetooth microphone audio signal strength.
Preferably, in the step S1, the predetermined time is according to circumstances set by user, and set fix time should not mistake
It is long, in order to avoid omit dialog context.Such as the predetermined time is 1 second, then the main microphon of mobile terminal, auxiliary microphone and bluetooth
The Bluetooth microphone of earphone acquires the audio signal answered in latter 1 second respectively.
Further, in the step S2, it is described by the main microphon, auxiliary microphone audio signal strength with it is described
The audio signal strength of Bluetooth microphone compares, and carries out call Audio conversion according to comparison result;It specifically includes:
Mobile terminal is transmitted by microphone main microphon audio signal strength collected and bluetooth headset
Bluetooth microphone audio signal strength compares:
1, mobile terminal is greater than bluetooth headset by microphone main microphon audio signal strength collected and is transmitted across
The Bluetooth microphone audio signal strength come, then judge that user is just received calls using earpiece or loudspeaker, at this point, further judgement
Comparison mobile terminal is acquired with mobile terminal by microphone by microphone main microphon audio signal strength collected
Auxiliary microphone audio signal intensity:
1.1, mobile terminal passes through wheat greater than mobile terminal by microphone main microphon audio signal strength collected
Gram wind auxiliary microphone audio signal intensity collected, then judge that user is just received calls using earpiece, and mobile terminal controls language
The output of sound audio signal switches to earpiece output;
1.2, mobile terminal passes through wheat less than mobile terminal by microphone main microphon audio signal strength collected
Gram wind auxiliary microphone audio signal intensity collected, then judge that user is just received calls using loudspeaker, and mobile terminal controls language
The output of sound audio signal switches to loudspeaker output.
2, mobile terminal is less than bluetooth headset by microphone main microphon audio signal strength collected and is transmitted across
The Bluetooth microphone audio signal strength come, then further judgement comparison mobile terminal passes through microphone auxiliary microphone collected
The Bluetooth microphone audio signal strength that audio signal strength and bluetooth headset are transmitted:
2.1, mobile terminal is greater than bluetooth headset by microphone auxiliary microphone audio signal intensity collected and is transmitted
The Bluetooth microphone audio signal strength to come over then judges that user is just received calls using loudspeaker, and mobile terminal controls voice sound
The output of frequency signal switches to loudspeaker output;
2.2, mobile terminal is less than bluetooth headset by microphone auxiliary microphone audio signal intensity collected and is transmitted
The Bluetooth microphone audio signal strength to come over then judges that user is just received calls using bluetooth headset, and mobile terminal controls language
The output of sound audio signal keeps current default output, i.e. mobile terminal control voice audio signals output keeps to bluetooth exporting.
The method that the embodiments of the present invention disclose can be applied in the processor 901, or by the processor
901 realize.The processor 901 may be a kind of IC chip, have signal handling capacity.During realization, on
Each step for stating method can be complete by the integrated logic circuit of the hardware in the processor 901 or the instruction of software form
At.The processor 901 can be general processor, DSP or other programmable logic device, discrete gate or transistor
Logical device, discrete hardware components etc..The processor 901 may be implemented or execute disclosed each in the embodiment of the present invention
Method, step and logic diagram.General processor can be microprocessor or any conventional processor etc..In conjunction with the present invention
The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and execute completion, or be handled with decoding
Hardware and software module combination in device execute completion.Software module can be located in storage medium, which, which is located at, deposits
The step of reservoir 902, the processor 901 reads the information in memory 902, completes preceding method in conjunction with its hardware.
It is appreciated that the memory 902 of the embodiment of the present invention can be volatile memory or nonvolatile memory,
It also may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (ROM,
Read-OnlyMemory), programmable read only memory (PROM, Programmable Read-Only Memory), erasable
Programmable read only memory (EPROM, Erasable Read-OnlyMemory), electricallyerasable ROM (EEROM) (EEPROM,
Electrically Erasable Programmable Read-Only Memory), magnetic RAM (FRAM,
Ferromagnetic RandomAccess Memory), flash memory (Flash Memory) or other memory technologies, CD only
Read memory (CD-ROM, Compact Disk Read-Only Memory), digital versatile disc (DVD, DigitalVideo
) or other optical disc storages, magnetic holder, tape, disk storage or other magnetic memory apparatus Disk;Volatile memory can be at random
It accesses memory (RAM, RandomAccess Memory), by exemplary but be not restricted explanation, the RAM of many forms
It can use, such as static random access memory (SRAM, Static RandomAccess Memory), static random access memory
Device (SSRAM, Synchronous Static RandomAccess Memory), dynamic random access memory (DRAM, Dyna
Microphone RandomAccess Memory), Synchronous Dynamic Random Access Memory (SDRAM, Synchronous Dyna Mike
Wind RandomAccess Memory), double data speed synchronous dynamic RAM (DDRSDRAM, Double
Data Rate Synchronous Dyna microphone RandomAccess Memory), enhanced synchronous dynamic random-access deposits
Reservoir (ESDRAM, Enhanced Synchronous Dyna microphone RandomAccess Memory), synchronized links dynamic
Random access memory (SLDRAM, SyncLink Dyna microphone RandomAccess Memory), direct rambus with
Machine accesses memory (DRRAM, Direct Rambus RandomAccess Memory).The storage of description of the embodiment of the present invention
Device is intended to include but is not limited to the memory of these and any other suitable type.
It should be noted that above-mentioned mobile terminal embodiment and embodiment of the method belong to same design, implemented
Journey is detailed in embodiment of the method, and the technical characteristic in embodiment of the method is corresponding applicable in the mobile terminal embodiment, this
In repeat no more.
In addition, in the exemplary embodiment, the embodiment of the present invention also provides a kind of computer storage medium, specially calculate
Machine readable storage medium storing program for executing is stored with logical for example including the memory 902 for storing computer program in the computer storage medium
One or more program of audio switching method is talked about, one or more program of the call audio switching method is by processor
A kind of following steps of audio switching method of conversing provided in an embodiment of the present invention are realized when 901 execution:
Step S1, main microphon (Microphone, MIC), the indigo plant of auxiliary microphone and bluetooth headset of the described mobile terminal
Tooth microphone acquires the audio signal after telephone receiving in the predetermined time respectively;
Step S2, the audio of the main microphon, the audio signal strength of auxiliary microphone and the Bluetooth microphone is believed
Number intensity compares, and carries out call Audio conversion according to comparison result.
Further, in the step S1, the bluetooth of the main microphon of the mobile terminal, auxiliary microphone and bluetooth headset
Before microphone acquires the audio signal after telephone receiving in the predetermined time respectively, the method also includes: mobile terminal receives
When to main calling terminal incoming call requests, mobile terminal judges whether current mobile terminal is in bluetooth headset connection status, if
It is then to carry out step S1 in bluetooth connection status, otherwise disregard.
Further, in the step S1, main microphon microphone, auxiliary microphone and the bluetooth headset of the mobile terminal
Bluetooth microphone acquire the audio signal after telephone receiving in the predetermined time respectively, comprising:
After mobile terminal user receives calls, main microphon and auxiliary microphone on mobile terminal are started to work, and in real time
Acquisition obtains main microphon, auxiliary microphone audio signal intensity in the predetermined time, meanwhile, bluetooth headset also acquires the pre- timing of acquisition
Bluetooth microphone audio signal strength is passed to mobile terminal by interior Bluetooth microphone audio signal strength.
Preferably, in the step S1, the predetermined time is according to circumstances set by user, and set fix time should not mistake
It is long, in order to avoid omit dialog context.Such as the predetermined time is 1 second, then the main microphon of mobile terminal, auxiliary microphone and bluetooth
The Bluetooth microphone of earphone acquires the audio signal answered in latter 1 second respectively.
Further, in the step S2, it is described by the main microphon, auxiliary microphone audio signal strength with it is described
The audio signal strength of Bluetooth microphone compares, and carries out call Audio conversion according to comparison result;It specifically includes:
Mobile terminal is transmitted by microphone main microphon audio signal strength collected and bluetooth headset
Bluetooth microphone audio signal strength compares:
1, mobile terminal is greater than bluetooth headset by microphone main microphon audio signal strength collected and is transmitted across
The Bluetooth microphone audio signal strength come, then judge that user is just received calls using earpiece or loudspeaker, at this point, further judgement
Comparison mobile terminal is acquired with mobile terminal by microphone by microphone main microphon audio signal strength collected
Auxiliary microphone audio signal intensity:
1.1, mobile terminal passes through wheat greater than mobile terminal by microphone main microphon audio signal strength collected
Gram wind auxiliary microphone audio signal intensity collected, then judge that user is just received calls using earpiece, and mobile terminal controls language
The output of sound audio signal switches to earpiece output;
1.2, mobile terminal passes through wheat less than mobile terminal by microphone main microphon audio signal strength collected
Gram wind auxiliary microphone audio signal intensity collected, then judge that user is just received calls using loudspeaker, and mobile terminal controls language
The output of sound audio signal switches to loudspeaker output.
2, mobile terminal is less than bluetooth headset by microphone main microphon audio signal strength collected and is transmitted across
The Bluetooth microphone audio signal strength come, then further judgement comparison mobile terminal passes through microphone auxiliary microphone collected
The Bluetooth microphone audio signal strength that audio signal strength and bluetooth headset are transmitted:
2.1, mobile terminal is greater than bluetooth headset by microphone auxiliary microphone audio signal intensity collected and is transmitted
The Bluetooth microphone audio signal strength to come over then judges that user is just received calls using loudspeaker, and mobile terminal controls voice sound
The output of frequency signal switches to loudspeaker output;
2.2, mobile terminal is less than bluetooth headset by microphone auxiliary microphone audio signal intensity collected and is transmitted
The Bluetooth microphone audio signal strength to come over then judges that user is just received calls using bluetooth headset, and mobile terminal controls language
The output of sound audio signal keeps current default output, i.e. mobile terminal control voice audio signals output keeps to bluetooth exporting.
It should be noted that call audio switching method program embodiment and side on above-mentioned computer readable storage medium
Method embodiment belongs to same design, and specific implementation process is detailed in embodiment of the method, and the technical characteristic in embodiment of the method exists
Corresponding in the embodiment of above-mentioned computer readable storage medium to be applicable in, which is not described herein again.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.
Claims (9)
1. a kind of call audio switching method is applied to mobile terminal characterized by comprising
The Bluetooth microphone of the main microphon of the mobile terminal, auxiliary microphone and bluetooth headset acquires pre- after telephone receiving respectively
Audio signal in fixing time;
The main microphon, the audio signal strength of auxiliary microphone and the audio signal strength of the Bluetooth microphone are carried out pair
Than carrying out call Audio conversion according to comparison result.
2. the method according to claim 1, wherein the main microphon of the mobile terminal, auxiliary microphone and
Before the Bluetooth microphone of bluetooth headset acquires the audio signal after telephone receiving in the predetermined time respectively, the method is also wrapped
It includes:
When mobile terminal receives main calling terminal incoming call requests, judge whether current mobile terminal is in bluetooth headset connection shape
State, if it is bluetooth connection status are in, then otherwise the audio signal being acquired in the predetermined time is disregarded.
3. the method according to claim 1, wherein described believe the main microphon, the audio of auxiliary microphone
Number intensity and the audio signal strength of the Bluetooth microphone compare, and carry out call Audio conversion according to comparison result, wrap
It includes:
The audio signal strength of the main microphon is greater than the audio signal strength of the Bluetooth microphone, judges that user just uses
Earpiece or loudspeaker receive calls, then further judge the audio signal strength for comparing the main microphon and the auxiliary microphone
Audio signal strength.
4. according to the method described in claim 3, it is characterized in that, the further judgement compares the audio of the main microphon
The audio signal strength of signal strength and the auxiliary microphone, comprising:
The audio signal strength of the main microphon is greater than the audio signal strength of the auxiliary microphone, then judges that user just uses
Earpiece receives calls, and mobile terminal control voice audio signals output switches to earpiece output;
The audio signal strength of the main microphon is less than the audio signal strength of the auxiliary microphone, then judges that user just uses
Loudspeaker receive calls, and mobile terminal control voice audio signals output switches to loudspeaker output.
5. the method according to claim 1, wherein described believe the main microphon, the audio of auxiliary microphone
Number intensity and the audio signal strength of the Bluetooth microphone compare, and carry out call Audio conversion according to comparison result, wrap
It includes:
The audio signal strength of the main microphon is less than the audio signal strength of the Bluetooth microphone, then further judgement pair
Than the audio signal strength of the auxiliary microphone and the audio signal strength of the Bluetooth microphone.
6. according to the method described in claim 5, it is characterized in that, the further judgement compares the audio of the auxiliary microphone
The audio signal strength of signal strength and the Bluetooth microphone, comprising:
The audio signal strength of the auxiliary microphone is greater than the audio signal strength of the Bluetooth microphone, then judges that user just makes
It is received calls with loudspeaker, mobile terminal control voice audio signals output switches to loudspeaker output;
The audio signal strength of the auxiliary microphone is less than the audio signal strength of the Bluetooth microphone, then judges that user just makes
It is received calls with bluetooth headset, mobile terminal controls voice audio signals output and keeps current default output, i.e. mobile terminal control
Voice audio signals output processed keeps to bluetooth exporting.
7. a kind of call audio frequency switching device is applied to a kind of such as call Audio conversion described in any one of claims 1 to 6
Method, comprising: acquisition module, switching module, in which:
The acquisition module, the Bluetooth microphone including main microphon, auxiliary microphone and bluetooth headset are the main microphon, auxiliary
Microphone and Bluetooth microphone acquire the audio signal after telephone receiving in the predetermined time respectively;
The switching module, for collecting the main microphon of the acquisition module, auxiliary microphone and Bluetooth microphone
The intensity of the main microphon, auxiliary microphone and Bluetooth microphone audio signal compares, and is conversed according to comparison result
Audio conversion.
8. a kind of mobile terminal characterized by comprising memory, processor and be stored on the memory and can be in institute
The computer program run on processor is stated, such as claim 1 to 6 is realized when the computer program is executed by the processor
Any one of described in a kind of call audio switching method the step of.
9. a kind of computer readable storage medium, which is characterized in that be stored with conversation voice on the computer readable storage medium
The program of the program of frequency switching method, the call audio switching method is realized when being executed by processor as in claim 1 to 6
A kind of the step of described in any item call audio switching methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811512683.3A CN109618052A (en) | 2018-12-11 | 2018-12-11 | A kind of call audio switching method and device, mobile terminal and readable storage medium storing program for executing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811512683.3A CN109618052A (en) | 2018-12-11 | 2018-12-11 | A kind of call audio switching method and device, mobile terminal and readable storage medium storing program for executing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109618052A true CN109618052A (en) | 2019-04-12 |
Family
ID=66007982
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811512683.3A Pending CN109618052A (en) | 2018-12-11 | 2018-12-11 | A kind of call audio switching method and device, mobile terminal and readable storage medium storing program for executing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109618052A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110083332A (en) * | 2019-04-29 | 2019-08-02 | 努比亚技术有限公司 | Audio switching method, wearable device and computer readable storage medium |
CN110350935A (en) * | 2019-05-27 | 2019-10-18 | 努比亚技术有限公司 | Audio signal output control method, wearable device and readable storage medium storing program for executing |
CN113596232A (en) * | 2020-04-15 | 2021-11-02 | 荣耀终端有限公司 | Sound channel management method, system and mobile terminal |
CN114501239A (en) * | 2022-02-25 | 2022-05-13 | Oppo广东移动通信有限公司 | Master-slave switching method and device of earphone, Bluetooth earphone and storage medium |
WO2022110778A1 (en) * | 2020-11-25 | 2022-06-02 | 中兴通讯股份有限公司 | Switching method and apparatus for call answering mode, device and storage medium |
CN114979359A (en) * | 2021-02-20 | 2022-08-30 | 深圳市万普拉斯科技有限公司 | Microphone switching method, mobile terminal and storage medium |
CN115499537A (en) * | 2021-06-18 | 2022-12-20 | Oppo广东移动通信有限公司 | Microphone control method and device, mobile terminal and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090023479A1 (en) * | 2007-07-17 | 2009-01-22 | Broadcom Corporation | Method and system for routing phone call audio through handset or headset |
CN103200311A (en) * | 2013-02-25 | 2013-07-10 | 华为终端有限公司 | Control method and control device of communication terminal conversation audio passage and communication terminal |
CN104601815A (en) * | 2015-01-12 | 2015-05-06 | 小米科技有限责任公司 | Answer device determining method and device |
CN105827812A (en) * | 2015-10-30 | 2016-08-03 | 维沃移动通信有限公司 | Communication mode switching method and mobile communication terminal |
CN107332998A (en) * | 2017-07-05 | 2017-11-07 | 深圳天珑无线科技有限公司 | Call mode switching method, mobile terminal and readable storage medium storing program for executing |
WO2018120487A1 (en) * | 2016-12-29 | 2018-07-05 | 华为技术有限公司 | Call mode switching method and terminal |
-
2018
- 2018-12-11 CN CN201811512683.3A patent/CN109618052A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090023479A1 (en) * | 2007-07-17 | 2009-01-22 | Broadcom Corporation | Method and system for routing phone call audio through handset or headset |
CN103200311A (en) * | 2013-02-25 | 2013-07-10 | 华为终端有限公司 | Control method and control device of communication terminal conversation audio passage and communication terminal |
CN104601815A (en) * | 2015-01-12 | 2015-05-06 | 小米科技有限责任公司 | Answer device determining method and device |
CN105827812A (en) * | 2015-10-30 | 2016-08-03 | 维沃移动通信有限公司 | Communication mode switching method and mobile communication terminal |
WO2018120487A1 (en) * | 2016-12-29 | 2018-07-05 | 华为技术有限公司 | Call mode switching method and terminal |
CN107332998A (en) * | 2017-07-05 | 2017-11-07 | 深圳天珑无线科技有限公司 | Call mode switching method, mobile terminal and readable storage medium storing program for executing |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110083332A (en) * | 2019-04-29 | 2019-08-02 | 努比亚技术有限公司 | Audio switching method, wearable device and computer readable storage medium |
CN110350935A (en) * | 2019-05-27 | 2019-10-18 | 努比亚技术有限公司 | Audio signal output control method, wearable device and readable storage medium storing program for executing |
CN113596232A (en) * | 2020-04-15 | 2021-11-02 | 荣耀终端有限公司 | Sound channel management method, system and mobile terminal |
WO2022110778A1 (en) * | 2020-11-25 | 2022-06-02 | 中兴通讯股份有限公司 | Switching method and apparatus for call answering mode, device and storage medium |
CN114979359A (en) * | 2021-02-20 | 2022-08-30 | 深圳市万普拉斯科技有限公司 | Microphone switching method, mobile terminal and storage medium |
CN115499537A (en) * | 2021-06-18 | 2022-12-20 | Oppo广东移动通信有限公司 | Microphone control method and device, mobile terminal and storage medium |
CN115499537B (en) * | 2021-06-18 | 2024-01-09 | Oppo广东移动通信有限公司 | Microphone control method and device, mobile terminal and storage medium |
CN114501239A (en) * | 2022-02-25 | 2022-05-13 | Oppo广东移动通信有限公司 | Master-slave switching method and device of earphone, Bluetooth earphone and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109618052A (en) | A kind of call audio switching method and device, mobile terminal and readable storage medium storing program for executing | |
CN107528369A (en) | Terminal and its wireless charging control method, computer-readable recording medium | |
CN109743764A (en) | A kind of identification elevator scene method and device, mobile terminal device and storage medium | |
CN107707728A (en) | A kind of audio transmission switching method, terminal and computer-readable recording medium | |
CN108418948A (en) | A kind of based reminding method, mobile terminal and computer storage media | |
CN109618058A (en) | A kind of protection screen is from broken screen method and device, touch control device and storage medium | |
CN109660973A (en) | Bluetooth control method, mobile terminal and storage medium | |
CN108833665A (en) | Communication means, wearable device and computer readable storage medium | |
CN108307462A (en) | A kind of method for connecting network, terminal and computer readable storage medium | |
CN108200267A (en) | A kind of terminal control method, terminal and computer readable storage medium | |
CN109683742A (en) | Prevent touch control device by error touch control method and device, touch control device and storage medium | |
CN109688268A (en) | A kind of method and device, mobile terminal and the storage medium of mixed audio output | |
CN108052812A (en) | A kind of terminal alarms method, terminal and computer readable storage medium | |
CN107567013A (en) | A kind of signal switching method, terminal and computer-readable recording medium | |
CN109725967A (en) | The method of adjustment and device, mobile terminal and storage medium of horizontal/vertical screen display mistake | |
CN109711830A (en) | The quick display methods and device, mobile terminal and storage medium of two dimensional code payment | |
CN108881542A (en) | Mobile terminal call method, mobile terminal and computer readable storage medium | |
CN108769534A (en) | A kind of focalization method and terminal | |
CN110166615A (en) | Automatically switch method, apparatus, terminal and the storage medium in call uplink signal source | |
CN109561221A (en) | A kind of call control method, equipment and computer readable storage medium | |
CN109976644A (en) | Using the implementation method and device of prompt operation, mobile terminal and storage medium | |
CN109766038A (en) | A kind of display methods and device, Intelligent bracelet and computer readable storage medium | |
CN109739301A (en) | A kind of display methods and device, Intelligent bracelet and computer readable storage medium | |
CN109753483A (en) | file management application page display method and device, mobile terminal and storage medium | |
CN109462829A (en) | A kind of call transfer method, equipment and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190412 |