CN106453835A - Method and terminal for switching answering modes - Google Patents
Method and terminal for switching answering modes Download PDFInfo
- Publication number
- CN106453835A CN106453835A CN201610812346.0A CN201610812346A CN106453835A CN 106453835 A CN106453835 A CN 106453835A CN 201610812346 A CN201610812346 A CN 201610812346A CN 106453835 A CN106453835 A CN 106453835A
- Authority
- CN
- China
- Prior art keywords
- sound source
- user
- microphone
- less
- apart
- 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.)
- Granted
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/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Telephone Function (AREA)
Abstract
The embodiments of the invention disclose a method and terminal for switching answering modes, aiming at automatically completing the switching of the answering modes without the manual operation of a user. The method includes the following steps: determining the voice source from a user's mouth among all voice sources in the process of conversation; positioning the voice source and computing a distance d1 between the voice source and a first microphone and a distance d2 between the voice source and a second microphone; if d1 and d2 are less than a preset distance d, switching to microphone mode; and if d1 and d2 are not less than the preset distance d, switching to a hands-free mode. According to the embodiments of the invention, the technical solution enables a user to switch answering modes without manual operation, such that the user can automatically achieve the switching of answering modes when the user can not manually switch the answering modes. The method helps the user to use smart terminals, such as a smart phone.
Description
Technical field
The present invention relates to electronic technology field, more particularly, to a kind of method of switching answering mode and terminal.
Background technology
At present, the intelligent terminal such as smart mobile phone becomes the important means of communication of people.In order to adapt to various application occasions, one
As smart mobile phone have two kinds of answering modes:Handset mode and hands-free mode.So-called handset mode, refers to the receiver of mobile phone
The ear being close to the users is answering, and hands-free mode is just contrary, is the ear that the receiver of mobile phone need not be close to the users
Answer, hands-free mode also becomes outer mode playback sometimes.
When user is using smart mobile phone it is sometimes desirable to be switched to another kind of answering mode from a kind of answering mode.For example,
User has incoming call when just holding thing on hand, now, generally requires and handset mode is switched to hands-free mode carrys out incoming call answering.Existing
The method of some switching answering modes mainly has two kinds, and one kind is to do distance detection using range sensor, when detecting not
When having object to shelter from range sensor, then handset mode is switched to hands-free mode, shelters from distance when object has been detected
Sensor, then switch back answering mode again.The method of another kind of switching answering mode is to be switched by certain gestures.
The defect of the first changing method above-mentioned is to possess an important prerequisite, and other objects can not be had to block
Live range sensor, if leather sheath being carried on mobile phone or being placed in pocket, be now cannot to be answered using first method
The switching of mode.The defect of above-mentioned second changing method is to need user to use manually operated, when user cannot vacate
When hand is to be operated (for example, on the run), then can not complete the switching of answering mode.
Content of the invention
The embodiment of the present invention provides a kind of switching method of answering mode and terminal, with manually can be automatically complete without user
Become the switching of answering mode.
In a first aspect, embodiments providing a kind of method of switching answering mode, methods described includes:
Determine the sound source only from user's face in the various sound sources of communication process;
Described sound source is positioned and is calculated with described sound source with the first microphone apart from d1 and described sound source and second
Microphone apart from d2;
If described d1 and described d2 is respectively less than predeterminable range d, switches to handset mode and answer;
If described d1 and described d2 all not less than described predeterminable range d, switches to hands free mode answering.
Second aspect, embodiments provides a kind of terminal, and described terminal includes:
Sound source determining unit, for determining the sound source only from user's face in the various sound sources of communication process;
Auditory localization unit, for described sound source is positioned and calculated described sound source and the first microphone apart from d1 with
And described sound source with the second microphone apart from d2;
First switch unit, if being respectively less than predeterminable range d for described d1 and described d2, switching to handset mode and connecing
Listen;
Second switch unit, if for described d1 and described d2 all not less than described predeterminable range d, switch to hands-free mould
Formula is answered.
The embodiment of the present invention passes through the sound source in the various sound sources determine communication process only from user's face;Right
Described sound source is positioned and is calculated described sound source and the distance apart from d1 and described sound source and the second microphone of the first microphone
d2;If described d1 and described d2 is respectively less than predeterminable range d, switches to handset mode and answer;If described d1 and described d2 is all not
Less than described predeterminable range d, then switch to hands free mode answering, enabling to user need not be changeable answering mode manually,
Rise in user and do not sell under the scene come, be automatically performed the switching of answering mode, the intelligence such as smart mobile phone convenient for users
Terminal.
Brief description
In order to be illustrated more clearly that embodiment of the present invention technical scheme, required use in embodiment being described below
Accompanying drawing be briefly described it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area
For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow diagram of the method for transmission information that the embodiment of the present invention one provides;
Fig. 2 is the schematic block diagram of the terminal that the embodiment of the present invention two provides;
Fig. 3 is the schematic block diagram of the terminal that the embodiment of the present invention three provides;
Fig. 4 is the schematic block diagram of the terminal that the embodiment of the present invention four provides;
Fig. 5 is the schematic block diagram of the terminal that the embodiment of the present invention five provides;
Fig. 6-a is the schematic block diagram of the terminal that the embodiment of the present invention six provides;
Fig. 6-b is the schematic block diagram of the terminal that the embodiment of the present invention seven provides;
Fig. 6-c is the schematic block diagram of the terminal that the embodiment of the present invention eight provides;
Fig. 6-d is the schematic block diagram of the terminal that the embodiment of the present invention nine provides;
Fig. 7 is the schematic block diagram of the terminal that the embodiment of the present invention ten provides.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation description is it is clear that described embodiment a part of embodiment that is the present invention, rather than whole embodiments.Based on this
Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under the premise of not making creative work
Example, broadly falls into the scope of protection of the invention.
It should be appreciated that when using in this specification and in the appended claims, term " inclusion " and "comprising" indicate
The presence of described feature, entirety, step, operation, element and/or assembly, but it is not precluded from one or more of the other feature, whole
Body, step, operation, the presence of element, assembly and/or its set or interpolation.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh describing specific embodiment
And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on
Hereafter clearly indicate other situations, otherwise " one " of singulative, " one " and " being somebody's turn to do " are intended to including plural form.
It will be further appreciated that, used in description of the invention and appended claims, term "and/or" is
Refer to any combinations of one or more of the associated item listed and be possible to combine, and include these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase is " if really
Fixed " or " if [described condition or event] is detected " can be interpreted to mean according to context " once it is determined that " or " ring
Should be in determination " or " once [described condition or event] is detected " or " in response to [described condition or event] is detected ".
In implementing, the terminal described in the embodiment of the present invention including but not limited to such as has touch sensitive surface
Other of the mobile phone of (for example, touch-screen display and/or touch pad), laptop computer or tablet PC etc is just
Portable device.It is to be further understood that in certain embodiments, described equipment not portable communication device, but have tactile
Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch pad).
In discussion below, describe the terminal including display and touch sensitive surface.It is, however, to be understood that
It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control bar.
Terminal supports various application programs, for example one or more of following:Drawing application program, demonstration application journey
Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application
Program, telephony application, videoconference application, email application, instant messaging applications, exercise
Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application
Program, digital music player application and/or video frequency player application program.
The various application programs that can execute in terminal can be public using at least one of such as touch sensitive surface
Physical user-interface device.Can adjust among applications and/or in corresponding application programs and/or change and touch sensitive table
The corresponding information of display in the one or more functions in face and terminal.So, the public physical structure of terminal (for example, touches
Sensing surface) the various application programs with user interface directly perceived and transparent for a user can be supported.
Referring to accompanying drawing 1, it is a kind of schematic flow diagram of the method for switching answering mode provided in an embodiment of the present invention.This reality
The executive agent applying the method sending information in example can be terminal.Terminal can be the mobile terminals such as mobile phone, panel computer.As
The method of switching answering mode shown in accompanying drawing 1 may include following steps S101 to S104, describes in detail as follows:
S101, determines the sound source only from user's face in the various sound sources of communication process.
Because, during using smart phone call, the sound source that microphone is taken in is various, for example, have environment miscellaneous
Sound, or even cross-talk.It is thus necessary to determine that only from the sound source of user's face in the various sound sources of communication process, so,
Calculate in follow-up positioning to the sound source from user's face etc. and be only possible to accurately.Due to it is considered that being derived from the sound of user's face
Source is to be sent by the face of user, therefore, in follow-up description, also uses " face of user " this description to replace " being derived from
This description of the sound source of user's face ".
As one embodiment of the invention, determine the sound only from user's face in the various sound sources of communication process
Source can S1011 and S1012 be realized as follows:
S1011, by the vocal print feature in sound sources various in communication process compared with the vocal print feature of the user prestoring.
S1012, the vocal print feature of vocal print features and the user prestoring is extracted in the various sound sources from communication process
The sound source of coupling is as the sound source from user's face.
For step S1012, in other words, that is, the comparison through step S1011, the various sound of communication process are filtered
Its vocal print feature and the vocal print feature of the user prestoring unmatched sound source in source, remaining sound source is taken as
Sound source from user's face.
S102, is positioned and is calculated this sound source and the first words to the sound source from user's face determining through step S101
Cylinder apart from d1 and this sound source with the second microphone apart from d2.
General smart mobile phone has two microphones (also referred to as Mike is mic), in embodiments of the present invention, the first microphone
Can be a microphone of smart mobile phone, the second microphone can be another microphone of smart mobile phone.As one enforcement of the present invention
Example, is positioned and is calculated this sound source with the first microphone apart from d1 to the sound source from user's face determining through step S101
And this sound source with the second microphone apart from d2 can be:In conjunction with reaching time-difference (Time Difference Of Arrival,
TDOA) between algorithm and ear potential difference (Interaural Level Difference, ILD) algorithm to determining through step S101
Positioned and calculated this sound source from the sound source of user's face with the first microphone apart from d1 and this sound source and the second microphone
Apart from d2.Specific algorithm is as follows, including following (1) to (7):
(1), in two dimensional surface, when that is, sound source and microphone are in same plane, the signal model that microphone receives exists
It is represented by (formula 1), in formula, s (t) is source signal during the inverse square law considering signal propagation;N (t) is additive white noise;d
It is respectively distance and the time delay that signal reaches microphone with t.
X (t)=s (t- τ)/d+n (t) (formula 1)
(2), Delay can be ignored using ILD method when calculating energy.In [0, l] time range, microphone
The signal energy that receives it is simply that in this time period signal sampling quadratic sum, that is,:
(3), for the array of two microphones composition, can get microphone and receive the energy of signal with microphone away from sound
The relation of source distance is (formula 3), in formula
(4), when noise ratio difference is less, η can be approximated to be the error term of zero-mean, if (xi, yi) is i-th Mike position
Put coordinate, (x0, y0) is the position coordinates of the sound source from user's face, can obtain under conditions of not considering influence of noise
Arrive:
E1[(x1-x0)2+(y1-y0)2=E2[(x2-x0)2+(y2-y0)2] (formula 4)
(5), after the signal of system detectio reaches the time difference τ 12 of two microphones, equation can be obtained:
(6), setα is substituted into (formula 4), and (formula 4) is updated to (formula 5) abbreviation and can obtain:
(7), another equation can be obtained in the same manner:
The equation group that solution (formula 6) and (formula 7) forms just can get sound source position coordinate, permissible by further conversion
Obtain the closed solution of the equation.
S103, if d1 and d2 is respectively less than predeterminable range d, switches to handset mode and answers.
In embodiments of the present invention, if the positioning through step S102 and calculating, d1 and d2 is respectively less than predeterminable range d, i.e. intelligence
Two microphones of energy mobile phone and the distance of the face of user are respectively less than predeterminable range, illustrate that now smart mobile phone distance users compare
Closely, suitable handset mode is answered, and therefore, switches to handset mode and answers.
S104, if d1 and d2, all not less than predeterminable range d, switches to hands free mode answering.
In embodiments of the present invention, if the positioning through step S102 and calculating, d1 and d2 all not less than predeterminable range d, that is,
The distance of two microphones of smart mobile phone and the face of user is all higher than or is equal to predeterminable range, and now smart mobile phone distance is described
User is distant, suitable hands free mode answering, therefore, switches to hands free mode answering.
If in the two of smart mobile phone microphones, distance with the face of user is more than preset value d, another and user
Face distance be less than preset value d, i.e. d1 < d < d2 or d2 < d < d1, then now there is no need switch answering mode, that is,
Keep original answering mode.
In an alternative embodiment of the invention, if detecting earphone insertion mobile phone, and d1 and d2 be all not less than predeterminable range d,
And the microphone of earphone is calculated with the sound source from user's face apart from d3 using the method that similar step S102 is similar to
Not less than predeterminable range d, then switch to hands free mode answering;If detecting earphone insertion mobile phone, and d1 and d2 being all not less than pre-
If apart from d, and microphone and the sound source from user's face being calculated earphone using the method that similar step S102 is similar to
Apart from d3 be less than predeterminable range d, then keep using earphone receiving mode.
Knowable to the method for the switching answering mode that above-mentioned accompanying drawing 1 example provides, from the sound source and first of user's face
Can automatically the calculating apart from d2 apart from d1 and from the sound source of user's face with the second microphone, if described d1 and institute of microphone
State d2 and be respectively less than predeterminable range d, then automatically switch to handset mode and answer;If described d1 and described d2 is all default not less than described
Apart from d, then automatically switch to hands free mode answering, enabling to user need not be changeable answering mode manually, rise in user
Do not sell under the scene come, be automatically performed the switching of answering mode, the intelligent terminal such as smart mobile phone convenient for users.
Referring to accompanying drawing 2, it is a kind of schematic block diagram of terminal provided in an embodiment of the present invention.Terminal can be mobile phone, put down
The mobile terminals such as plate computer, but it is not limited to this, can also be other-end, not be limited herein.The terminal bag of the present embodiment
The each module including is used for executing each step in the corresponding embodiment of accompanying drawing 1, specifically refers to accompanying drawing 1 and accompanying drawing 1 is corresponding
Associated description in embodiment, does not repeat herein.The terminal 02 of the present embodiment includes sound source determining unit 201, auditory localization list
First 202, first switch unit 203 and the second switch unit 204, wherein:
Sound source determining unit 201, for determining the sound only from user's face in the various sound sources of communication process
Source;
Auditory localization unit 202, the sound source from user's face for determining to sound source determining unit 201 positions
And calculate this sound source and the first microphone apart from d1 and this sound source with the second microphone apart from d2;
First switch unit 203, if being respectively less than predeterminable range d for d1 and d2, switching to handset mode and answering;
Second switch unit 204, if for d1 and d2 all not less than predeterminable range d, switch to hands free mode answering.
The auditory localization unit 202 of accompanying drawing 2 example can include algorithm unit 301, the embodiment of the present invention as shown in Figure 3
The terminal 03 of three offers.Algorithm unit 301 is used for reference to potential difference ILD algorithm between reaching time-difference TDOA algorithm and ear to being derived from
The sound source that the sound source of user's face is positioned and calculated from user's face apart from d1 and is derived from user with the first microphone
The sound source of face and the second microphone are apart from d2.
The terminal of accompanying drawing 2 example can also include the first holding unit 401, and the embodiment of the present invention four carries as shown in Figure 4
For terminal 04.If the first holding unit 401 is used for d1 < d < d2 or d2 < d < d1, keep original answering mode.
The terminal of accompanying drawing 2 example can also include the 3rd switch unit 501 and the second holding unit 502, as shown in Figure 5
The terminal 05 that the embodiment of the present invention five provides, wherein:
3rd switch unit 501, if for detect earphone insertion mobile phone, and d1 and d2 all not less than predeterminable range d with
And the microphone of earphone is not less than predeterminable range d with from user's face sound source apart from d3, then switch to hands free mode answering;
Second holding unit 502, if for detect earphone insertion mobile phone, and d1 and d2 all not less than predeterminable range d with
And the microphone of earphone is less than predeterminable range d with the sound source from user's face apart from d3, then keep the side using earphone receiving
Formula.
The sound source determining unit 201 of accompanying drawing 2 to 5 any example can include comparing unit 601 and extraction unit 602, such as
The terminal 06a to 06b that accompanying drawing 6-a provides to the embodiment of the present invention six to nine shown in accompanying drawing 6-d, wherein:
Comparing unit 601, for by the vocal print of the vocal print feature in sound sources various in communication process and the user prestoring
Feature is compared;
Extraction unit 602, extracts vocal print feature with the user's prestoring for the various sound sources from communication process
The sound source of vocal print feature coupling is as the sound source from user's face.
Referring to accompanying drawing 7, it is a kind of terminal 07 schematic block diagram that another embodiment of the present invention provides.This enforcement as depicted
Terminal in example can include:One or more processors 701;One or more input equipments 702, one or more outputs set
For 703 and memory 704.Above-mentioned processor 701, input equipment 702, output equipment 703 and memory 704 pass through bus 705
Connect.
Memory 704 is used for storage program and instructs.
Processor 701 is used for the following operation of programmed instruction execution according to memory 704 storage:Determine each of communication process
Plant the sound source only from user's face in sound source;Sound source from user's face is positioned and is calculated from user
The sound source of face and the first microphone sound source apart from d1 and from user's face is with the second microphone apart from d2;If d1 and d2
It is respectively less than predeterminable range d, then switch to handset mode and answer;If d1 and d2, all not less than predeterminable range d, switches to hands-free mould
Formula is answered.
Further, processor 701 is additionally operable to reference to potential difference ILD algorithm between reaching time-difference TDOA algorithm and ear to next
Positioned and calculated sound source from user's face and the first microphone from the sound source of user's face apart from d1 and using by oneself
The sound source of family face and the second microphone are apart from d2.
Further, if processor 701 is additionally operable to d1 < d < d2 or d2 < d < d1, keep original answering mode.
Further, if processor 701 is additionally operable to detect earphone insertion mobile phone, and described d1 and described d2 is all not less than
The microphone of predeterminable range d and earphone is not less than predeterminable range d with the sound source from user's face apart from d3, then switch to and exempt from
The pattern of carrying is answered;If detect earphone insertion mobile phone, and d1 and d2 all not less than predeterminable range d and earphone microphone be derived from
The mode being less than predeterminable range d apart from d3, then keeping using earphone receiving of the sound source of user's face.
Further, processor 701 is additionally operable to the vocal print feature in sound sources various in communication process and the use prestoring
The vocal print feature at family is compared;The vocal print feature of vocal print feature and the user prestoring is extracted in various sound sources from communication process
The sound source of coupling is as the sound source from user's face.
It should be appreciated that in embodiments of the present invention, alleged processor 701 can be CPU (Central
Processing Unit, CPU), this processor can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), special IC (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
Reason device can also be any conventional processor etc..
Input equipment 702 can include Trackpad, fingerprint adopts sensor (for gathering the finger print information of user and fingerprint
Directional information), microphone etc., output equipment 703 can include display (LCD etc.), loudspeaker etc..
This memory 704 can include read-only storage and random access memory, and to processor 701 provide instruction and
Data.The a part of of memory 704 can also include nonvolatile RAM.For example, memory 704 can also be deposited
The information of storage device type.
In implementing, processor 701 described in the embodiment of the present invention, input equipment 702 and output equipment 703 can
Reality described in the first embodiment of method of execution switching provided in an embodiment of the present invention answering mode and second embodiment
Existing mode, also can perform the implementation of the terminal described by the embodiment of the present invention, will not be described here.
Those of ordinary skill in the art are it is to be appreciated that combine the list of each example of the embodiments described herein description
Unit and algorithm steps, can be with electronic hardware, computer software or the two be implemented in combination in, in order to clearly demonstrate hardware
With the interchangeability of software, generally describe composition and the step of each example in the above description according to function.This
A little functions to be executed with hardware or software mode actually, the application-specific depending on technical scheme and design constraint.Specially
Industry technical staff can use different methods to each specific application realize described function, but this realization is not
It is considered as beyond the scope of this invention.
Those skilled in the art can be understood that, for convenience of description and succinctly, the end of foregoing description
End and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
It should be understood that disclosed terminal and method in several embodiments provided herein, can be passed through it
Its mode is realized.For example, device embodiment described above is only schematically, for example, the division of described unit, and only
It is only a kind of division of logic function, actual can have other dividing mode when realizing, and for example multiple units or assembly can be tied
Close or be desirably integrated into another system, or some features can be ignored, or do not execute.In addition, shown or discussed phase
Coupling between mutually or direct-coupling or communication connection can be INDIRECT COUPLING or the communication by some interfaces, device or unit
Connect or electricity, machinery or other forms connect.
Step in present invention method can carry out order according to actual needs and adjust, merges and delete.
Unit in embodiment of the present invention terminal can merge according to actual needs, divides and delete.
The described unit illustrating as separating component can be or may not be physically separate, show as unit
The part showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected according to the actual needs to realize embodiment of the present invention scheme
Purpose.
In addition, can be integrated in a processing unit in each functional unit in each embodiment of the present invention it is also possible to
It is that unit is individually physically present or two or more units are integrated in a unit.Above-mentioned integrated
Unit both can be to be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If described integrated unit is realized and as independent production marketing or use using in the form of SFU software functional unit
When, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part in other words prior art being contributed, or all or part of this technical scheme can be in the form of software product
Embody, this computer software product is stored in a storage medium, including some instructions with so that a computer
Equipment (can be personal computer, server, or network equipment etc.) executes the complete of each embodiment methods described of the present invention
Portion or part steps.And aforesaid storage medium includes:USB flash disk, portable hard drive, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, and any
Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replace
Change, these modifications or replacement all should be included within the scope of the present invention.Therefore, protection scope of the present invention should be with right
The protection domain requiring is defined.
Claims (10)
1. a kind of method of switching answering mode is it is characterised in that methods described includes:
Determine the sound source only from user's face in the various sound sources of communication process;
Described sound source is positioned and is calculated with described sound source with the first microphone apart from d1 and described sound source and the second microphone
Apart from d2;
If described d1 and described d2 is respectively less than predeterminable range d, switches to handset mode and answer;
If described d1 and described d2 all not less than described predeterminable range d, switches to hands free mode answering.
2. method according to claim 1 is it is characterised in that described positioned to described sound source and calculated described sound source
With the first microphone including apart from d2 apart from d1 and described sound source and the second microphone:
In conjunction with potential difference ILD algorithm between reaching time-difference TDOA algorithm and ear, described sound source is positioned and calculated described sound source
With the first microphone apart from d1 and described sound source with the second microphone apart from d2.
3. method according to claim 1 is it is characterised in that methods described also includes:
If d1 < d < d2 or d2 < d < d1, keep original answering mode.
4. method according to claim 1 is it is characterised in that methods described also includes:
If detect earphone insertion mobile phone, and described d1 and described d2 is all not less than described predeterminable range d and described earphone
Microphone is not less than described predeterminable range d with described sound source apart from d3, then switch to hands free mode answering;
If detect earphone insertion mobile phone, and described d1 and described d2 is all not less than described predeterminable range d and described earphone
Microphone is less than described predeterminable range d with described sound source apart from d3, then keep the mode using earphone receiving.
5. the method according to Claims 1-4 any one is it is characterised in that the various sound of described determination communication process
In source of sound head, the sound source only from user's face includes:
By the vocal print feature in sound sources various in described communication process compared with the vocal print feature of the described user prestoring;
The vocal print feature of vocal print features and the described user prestoring is extracted in various sound sources from described communication process
The sound source joined is as the sound source from user's face.
6. a kind of terminal is it is characterised in that described terminal includes:
Sound source determining unit, for determining the sound source only from user's face in the various sound sources of communication process;
Auditory localization unit, for being positioned to described sound source and being calculated described sound source with the first microphone apart from d1 and institute
State sound source with the second microphone apart from d2;
First switch unit, if being respectively less than predeterminable range d for described d1 and described d2, switching to handset mode and answering;
Second switch unit, if for described d1 and described d2 all not less than described predeterminable range d, switching to hands-free mode and connect
Listen.
7. terminal according to claim 6 is it is characterised in that described auditory localization unit includes:
Algorithm unit, for positioning to described sound source with reference to potential difference ILD algorithm between reaching time-difference TDOA algorithm and ear
And calculate described sound source and the first microphone apart from d1 and described sound source with the second microphone apart from d2.
8. terminal according to claim 6 is it is characterised in that described terminal also includes:
First holding unit, if for d1 < d < d2 or d2 < d < d1, keep original answering mode.
9. terminal according to claim 6 is it is characterised in that described terminal also includes:
3rd switch unit, if for detect earphone insertion mobile phone, and described d1 and described d2 all be not less than described preset away from
Microphone from d and described earphone is not less than described predeterminable range d with described sound source distance d3, then switch to hands-free mode and connect
Listen;
Second holding unit, if for detect earphone insertion mobile phone, and described d1 and described d2 all be not less than described preset away from
Microphone from d and described earphone is less than described predeterminable range d with described sound source distance d3, then keep using earphone receiving
Mode.
10. the terminal according to claim 6 to 9 any one is it is characterised in that described sound source determining unit includes:
Comparing unit, for by the vocal print of the vocal print feature in sound sources various in described communication process and the described user prestoring
Feature is compared;
Extraction unit, extracts vocal print feature and the described user's prestoring for the various sound sources from described communication process
The sound source of vocal print feature coupling is as the sound source from user's face.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610812346.0A CN106453835B (en) | 2016-09-09 | 2016-09-09 | A kind of method and terminal switching answering mode |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610812346.0A CN106453835B (en) | 2016-09-09 | 2016-09-09 | A kind of method and terminal switching answering mode |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106453835A true CN106453835A (en) | 2017-02-22 |
CN106453835B CN106453835B (en) | 2019-10-22 |
Family
ID=58164387
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610812346.0A Active CN106453835B (en) | 2016-09-09 | 2016-09-09 | A kind of method and terminal switching answering mode |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106453835B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107659709A (en) * | 2017-08-11 | 2018-02-02 | 北京安云世纪科技有限公司 | Hands-free method and device is opened in communication process |
CN111694539A (en) * | 2020-06-23 | 2020-09-22 | 北京小米松果电子有限公司 | Method, apparatus and medium for switching between earpiece and speaker |
CN112019677A (en) * | 2019-05-30 | 2020-12-01 | 北京小米移动软件有限公司 | Electronic equipment control method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1952684A (en) * | 2005-10-20 | 2007-04-25 | 松下电器产业株式会社 | Method and device for localization of sound source by microphone |
CN101640720A (en) * | 2008-07-31 | 2010-02-03 | 鸿富锦精密工业(深圳)有限公司 | Mobile communication terminal and switching method of answer mode thereof |
CN101931686A (en) * | 2009-06-19 | 2010-12-29 | 宏达国际电子股份有限公司 | Mobile device capable of automatically switching calling mode and method for switching calling mode |
CN105323352A (en) * | 2014-06-30 | 2016-02-10 | 中兴通讯股份有限公司 | Audio adjustment method and device |
CN105611014A (en) * | 2014-11-21 | 2016-05-25 | 中兴通讯股份有限公司 | Method and device for mobile terminal call voice noise reduction |
-
2016
- 2016-09-09 CN CN201610812346.0A patent/CN106453835B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1952684A (en) * | 2005-10-20 | 2007-04-25 | 松下电器产业株式会社 | Method and device for localization of sound source by microphone |
CN101640720A (en) * | 2008-07-31 | 2010-02-03 | 鸿富锦精密工业(深圳)有限公司 | Mobile communication terminal and switching method of answer mode thereof |
CN101931686A (en) * | 2009-06-19 | 2010-12-29 | 宏达国际电子股份有限公司 | Mobile device capable of automatically switching calling mode and method for switching calling mode |
CN105323352A (en) * | 2014-06-30 | 2016-02-10 | 中兴通讯股份有限公司 | Audio adjustment method and device |
CN105611014A (en) * | 2014-11-21 | 2016-05-25 | 中兴通讯股份有限公司 | Method and device for mobile terminal call voice noise reduction |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107659709A (en) * | 2017-08-11 | 2018-02-02 | 北京安云世纪科技有限公司 | Hands-free method and device is opened in communication process |
CN112019677A (en) * | 2019-05-30 | 2020-12-01 | 北京小米移动软件有限公司 | Electronic equipment control method and device |
CN111694539A (en) * | 2020-06-23 | 2020-09-22 | 北京小米松果电子有限公司 | Method, apparatus and medium for switching between earpiece and speaker |
CN111694539B (en) * | 2020-06-23 | 2024-01-30 | 北京小米松果电子有限公司 | Method, device and medium for switching between earphone and loudspeaker |
Also Published As
Publication number | Publication date |
---|---|
CN106453835B (en) | 2019-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11844123B2 (en) | Point-to-point ad hoc voice communication | |
US8224395B2 (en) | Auditory spacing of sound sources based on geographic locations of the sound sources or user placement | |
CN106210521A (en) | A kind of photographic method and terminal | |
CN106953990A (en) | The incoming call sound method and mobile terminal of mobile terminal | |
US20220391169A1 (en) | Spatial management of audio | |
CN108900770A (en) | Method and device for controlling rotation of camera, smart watch and mobile terminal | |
CN107610698A (en) | A kind of method for realizing Voice command, robot and computer-readable recording medium | |
CN106454139A (en) | Shooting method and mobile terminal | |
CN106385537A (en) | Photographing method and terminal | |
CN106375548A (en) | Method for processing voice information and terminal | |
CN107193598A (en) | Application starting method, mobile terminal and computer readable storage medium | |
CN106453835A (en) | Method and terminal for switching answering modes | |
CN104902092A (en) | Method and system for setting delay time length of alarm clock | |
CN112394901A (en) | Audio output mode adjusting method and device and electronic equipment | |
CN106254677A (en) | A kind of scene mode setting method and terminal | |
CN110175015A (en) | A kind of method, apparatus and terminal device of the volume of controlling terminal equipment | |
CN107864295A (en) | Call control method, mobile terminal and computer-readable recording medium | |
CN106502647A (en) | A kind of method of split screen application compatible processing and terminal | |
CN106547539A (en) | A kind of footmark display packing and terminal | |
CN106980535A (en) | The processing method and mobile terminal of a kind of event interrupt | |
KR20150019061A (en) | Method for wireless pairing and electronic device thereof | |
CN106227752A (en) | A kind of photograph sharing method and terminal | |
CN109547329A (en) | The display methods and Related product of group information | |
CN107577484A (en) | A kind of advertisement broadcast method, terminal and computer-readable recording medium | |
CN106230693A (en) | The method of a kind of information transmission and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210316 Address after: 518057 Desai Science and Technology Building, 9789 Shennan Avenue, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 17th Floor (15th Floor of Natural Floor) 1702-1703 Patentee after: Shenzhen Microphone Holdings Co.,Ltd. Address before: 518040 21 floor, east block, Times Technology Building, 7028 Shennan Road, Futian District, Shenzhen, Guangdong. Patentee before: DONGGUAN GOLDEX COMMUNICATION TECHNOLOGY Co.,Ltd. |