CN106210236A - A kind of call control method and electronic equipment - Google Patents

A kind of call control method and electronic equipment Download PDF

Info

Publication number
CN106210236A
CN106210236A CN201610496146.9A CN201610496146A CN106210236A CN 106210236 A CN106210236 A CN 106210236A CN 201610496146 A CN201610496146 A CN 201610496146A CN 106210236 A CN106210236 A CN 106210236A
Authority
CN
China
Prior art keywords
sound
electronic equipment
size
voice signal
acoustical signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610496146.9A
Other languages
Chinese (zh)
Inventor
林翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201610496146.9A priority Critical patent/CN106210236A/en
Publication of CN106210236A publication Critical patent/CN106210236A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers
    • H04M1/6016Substation equipment, e.g. for use by subscribers including speech amplifiers in the receiver circuit

Landscapes

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

Abstract

The invention discloses a kind of call control method, during electronic equipment is in hand-held call mode, described method includes: receive the voice signal that the other side sends, and exports described voice signal by the receiver of described electronic equipment and gathers we's voice by the main mike of described electronic equipment simultaneously;The sound in Preset Time is collected by secondary mike;The size of the first acoustical signal that described voice signal mates is determined from described sound;Size based on described first acoustical signal adjusts the volume of described receiver, to prevent described receiver from leaking sound.Meanwhile, the invention also discloses a kind of electronic equipment.Use technical scheme, call leakage sound can be prevented, it is ensured that the speech quality of electronic equipment, promote the experience of user.

Description

A kind of call control method and electronic equipment
Technical field
The present invention relates to communication technical field, be specifically related to a kind of call control method and electronic equipment.
Background technology
At present, when people are conversed with the opposing party by electronic equipments such as mobile phones, if electronic equipment is in common call mode, I.e. hand-hold electronic equipments makes electronic equipment paste ear, in communication process, if the sound in the receiver in electronic equipment is bigger than normal, Being easy to be heard the content described in the opposing party by the people of periphery, the privacy causing oneself is compromised.But when call, user is past Toward being difficult to control In Call, it is also difficult to make call not leak sound.
Summary of the invention
In view of this, present invention contemplates that a kind of call control method of offer and electronic equipment, call leakage sound can be prevented, it is ensured that The speech quality of electronic equipment, promotes the experience of user.
For reaching above-mentioned purpose, the technical scheme is that and be achieved in that:
The invention provides a kind of call control method, described method includes:
During electronic equipment is in hand-held call mode:
Receive the voice signal that the other side sends, export described voice signal by the receiver of described electronic equipment and pass through simultaneously The main mike of described electronic equipment gathers we's voice;
The sound in Preset Time is collected by secondary mike;
The size of the first acoustical signal that described voice signal mates is determined from described sound;
Size based on described first acoustical signal adjusts the volume of described receiver, to prevent described receiver from leaking sound.
In such scheme, alternatively, described collect the sound in Preset Time by secondary mike before, also include:
Detect when electronic equipment receives the first operation, it is thus achieved that the first triggering command;
Wherein, described first triggering command is used for starting electronic equipment leakproof sound function;Described electronic equipment anti-leak-stopping sound Function includes: described during electronic equipment is in hand-held call mode, crosses secondary mike collection Preset Time by described The step of interior sound;Described during electronic equipment is in hand-held call mode, from described sound, determine that described voice is believed The step of size of the first acoustical signal of number coupling;Described during electronic equipment is in hand-held call mode based on described The size of the first acoustical signal adjusts the volume of described receiver, to prevent the step of described receiver leakage sound.
In such scheme, alternatively, described the first acoustical signal determining that from described sound described voice signal mates Size before, also include:
Determine the sound size of described voice signal;
Determine that whether the sound size of described voice signal is more than first threshold;
In the case of the sound size of described voice signal is more than first threshold, determine from described sound described in execution The step of the size of the first acoustical signal of described voice signal coupling.
In such scheme, alternatively, described the first acoustical signal determining that from described sound described voice signal mates Size include:
The sound of described secondary mike collection is filtered by waveform based on described voice signal by wave filter, obtains First acoustical signal corresponding with described voice signal;
Determine the size of described first acoustical signal.
In such scheme, alternatively, described size based on described first acoustical signal adjusts the volume bag of described receiver Include:
When the size of sound of the first acoustical signal is more than when presetting leakage value, automatically currently export sound at described receiver Turn down in amount, until the size of the sound of the first acoustical signal is less than described default leakage value;
When the size of the sound of the first acoustical signal is less than and presets leakage value, voice output volume is not made an amendment.
In such scheme, alternatively, described method also includes:
Judge the position of described secondary mike;
Position based on described secondary mike determines presets leakage value.
Present invention also offers a kind of electronic equipment, described electronic equipment includes:
Receiver, for exporting the voice signal that the other side sends;
Main mike, is used for gathering we's voice;
Secondary mike, for collecting the sound in Preset Time;
Processor, for during electronic equipment is in hand-held call mode, receives the voice signal that the other side sends, logical The receiver crossing described electronic equipment exports described voice signal simultaneously by main mike collection we's language of described electronic equipment Sound;Control secondary mike and collect the sound in Preset Time;The first sound that described voice signal mates is determined from described sound The size of tone signal;Size based on described first acoustical signal adjusts the volume of described receiver, to prevent described receiver from leaking sound.
In such scheme, alternatively, described electronic equipment also includes:
Induction apparatus, for sensing the first operation;
Described processor, before being additionally operable to control the sound in secondary mike collection Preset Time, detects electronic equipment When receiving the first operation, it is thus achieved that the first triggering command;
Wherein, described first triggering command is used for starting electronic equipment leakproof sound function;Described electronic equipment anti-leak-stopping sound Function includes: described during electronic equipment is in hand-held call mode, crosses secondary mike collection Preset Time by described The step of interior sound;Described during electronic equipment is in hand-held call mode, from described sound, determine that described voice is believed The step of size of the first acoustical signal of number coupling;Described during electronic equipment is in hand-held call mode based on described The size of the first acoustical signal adjusts the volume of described receiver, to prevent the step of described receiver leakage sound.
In such scheme, alternatively, described processor, it is additionally operable to: from described sound, determine that described voice signal mates The first acoustical signal size before,
Determine the sound size of described voice signal;
Determine that whether the sound size of described voice signal is more than first threshold;
In the case of the sound size of described voice signal is more than first threshold, determine from described sound described in execution The step of the size of the first acoustical signal of described voice signal coupling.
In such scheme, alternatively, described processor, it is additionally operable to:
The sound of described secondary mike collection is filtered by waveform based on described voice signal by wave filter, obtains First acoustical signal corresponding with described voice signal;
Determine the size of described first acoustical signal.
In such scheme, alternatively, described processor, it is additionally operable to:
When the size of sound of the first acoustical signal is more than when presetting leakage value, automatically currently export sound at described receiver Turn down in amount, until the size of the sound of the first acoustical signal is less than described default leakage value;
When the size of the sound of the first acoustical signal is less than and presets leakage value, voice output volume is not made an amendment.
In such scheme, alternatively, described processor, it is additionally operable to:
Judge the position of described secondary mike;
Position based on described secondary mike determines presets leakage value.
The call control method of present invention offer and electronic equipment, during electronic equipment is in hand-held call mode, Receive the voice signal that the other side sends, export described voice signal simultaneously by described electronics by the receiver of described electronic equipment The main mike of equipment gathers we's voice;The sound in Preset Time is collected by secondary mike;Determine from described sound The size of the first acoustical signal of described voice signal coupling;Size based on described first acoustical signal adjusts described receiver Volume, to prevent described receiver from leaking sound;Call leakage sound can be prevented, it is ensured that the speech quality of electronic equipment, promote the use of user Experience.
Accompanying drawing explanation
Fig. 1 be embodiment of the present invention call control method realize schematic flow sheet one;
Fig. 2 be embodiment of the present invention call control method realize schematic flow sheet two;
Fig. 3 provides volume adjusting schematic diagram under hand-held call mode for the embodiment of the present invention;
Fig. 4 is the structural representation one of embodiment of the present invention electronic equipment;
Fig. 5 is the structural representation two of embodiment of the present invention electronic equipment.
Detailed description of the invention
Realization to the present invention is described in detail below in conjunction with the accompanying drawings, appended accompanying drawing purposes of discussion only for reference, not It is used for limiting the present invention.
Embodiment one
Fig. 1 be embodiment of the present invention call control method realize schematic flow sheet one, described call control method is applied In electronic equipment, in a preferred embodiment of the invention, described call control method mainly comprises the steps that
Step 101: during electronic equipment is in hand-held call mode, receives the voice signal that the other side sends, passes through The receiver of described electronic equipment exports described voice signal and gathers we's voice by the main mike of described electronic equipment simultaneously.
In general, the call mode of electronic equipment can be divided into: hand-held call mode, earphone call mode, hand-free call Pattern.Generally, under hand-held call mode, user's hand-hold electronic equipments, electronic equipment is attached near ear, can be by electricity Subset is conversed with the other side.
Here, described hand-held call mode refers to be exported what the other side received sent by the receiver of described electronic equipment Voice signal.
In general, electronic equipment includes at least two mike, and one of them is main mike, and another is secondary Mike Wind.
Step 102: collect the sound in Preset Time by secondary mike.
Here, the sound in Preset Time is collected by secondary mike, it may include:
The sound of the other side exported by receiver;And
The sound of surrounding.
Here, described Preset Time can be set according to practical situation.Under normal circumstances, described Preset Time is system Default value, but the demand also dependent on user has user to be set.
Such as, described Preset Time can be 500 milliseconds of (mS), 800mS etc..
Step 103: determine the size of the first acoustical signal that described voice signal mates from described sound.
As a kind of embodiment, described from described sound, determine the first acoustical signal that described voice signal mates Size includes:
The sound of described secondary mike collection is filtered by waveform based on described voice signal by wave filter, obtains First acoustical signal corresponding with described voice signal;
Determine the size of described first acoustical signal.
Here, described first acoustical signal is it is to be understood that utilize the voice exported by receiver that secondary mike collects Signal.
In general, the waveform of voice signal can be obtained by the modem in electronic equipment.
In one embodiment, the described size determining the first acoustical signal that described voice signal mates from described sound Before, also include:
Determine the sound size of described voice signal;
Determine that whether the sound size of described voice signal is more than first threshold;
In the case of the sound size of described voice signal is more than first threshold, determine from described sound described in execution The step of the size of the first acoustical signal of described voice signal coupling.
So, the sound size of the voice signal exported by receiver is first determined, only at the voice signal exported by receiver Sound size more than in the case of first threshold, just determine from described sound described in execution that described voice signal mates the The step of the size of one acoustical signal, i.e. determines, from the sound that secondary mike is collected, the first sound that described voice signal mates The size of tone signal.
Here, the size of described first threshold can determine according to ambient parameter.Such as, described first threshold is permissible It is-10 decibels (db).
In the present embodiment, described first threshold is more than the default leakage value described in step 104.
In one embodiment, before whether the described sound size determining described voice signal is more than first threshold, described Method also includes:
Detect the environmental information residing for described electronic equipment;
Described environmental information is mated with the ambient parameter of storage;
Search the first threshold corresponding with described ambient parameter.
Alternatively, described environmental information is environmental location information, environmental voice information.
It is to say, pre-build the mapping relations of ambient parameter and first threshold.
Under normal circumstances, if the environmental information residing for electronic equipment is noisy environment, described first threshold is relatively Greatly;If the environmental information residing for electronic equipment is quiet environment, described first threshold is relatively small.
So, it is possible the volume for the described receiver of follow-up adjustment and reference frame is provided.
Step 104: size based on described first acoustical signal adjusts the volume of described receiver, to prevent described receiver from leaking Sound.
As a kind of embodiment, described size based on described first acoustical signal adjusts the volume bag of described receiver Include:
When the size of sound of the first acoustical signal is more than when presetting leakage value, automatically currently export sound at described receiver Turn down in amount, until the size of the sound of the first acoustical signal is less than described default leakage value;
When the size of the sound of the first acoustical signal is less than and presets leakage value, voice output volume is not made an amendment.
So, it is possible the volume by adjusting receiver, prevent described receiver from leaking sound.
It is to say, by the sound of secondary mike identification downstream signal, adjust the sound of downstream signal according to recognition result The output of sound, to reach the purpose of anti-leak-stopping sound.
Generally, for different electronic equipments, the position of its secondary mike is the most different.
For example, understand according to experiment: illustrate as a example by electronic equipment is as mobile phone, shooting is placed on for secondary mike The situation of vicinity of head, if the size of the sound of downstream signal that secondary mike is collected is less than-50db, then the leakage sound base of mobile phone Originally not having, around the people of 1 meter does not hears the sound that receiver exports;When secondary mike is placed on mobile phone top, if secondary wheat The size of the sound of gram downstream signal that wind is collected is less than-45db, then the leakage sound of mobile phone does not has substantially.
In one embodiment, described method also includes:
Judge the position of described secondary mike;
Position based on described secondary mike determines presets leakage value.
So, it is possible position based on secondary mike and determine the most default leakage value, thus for adjusting receiver Volume provides and adjusts reference frame the most accurately.
In embodiments of the present invention, during electronic equipment is in hand-held call mode, receive the voice that the other side sends Signal, exports described voice signal simultaneously by the main mike collection of described electronic equipment by the receiver of described electronic equipment We's voice;The sound in Preset Time is collected by secondary mike;From described sound, determine what described voice signal mated The size of the first acoustical signal;Size based on described first acoustical signal adjusts the volume of described receiver, listens described in preventing Cylinder leakage sound;So, call leakage sound can be prevented, it is ensured that the speech quality of electronic equipment, promote the experience of user.
Embodiment two
Fig. 2 be embodiment of the present invention call control method realize schematic flow sheet two, described call control method is applied In electronic equipment, in a preferred embodiment of the invention, described call control method mainly comprises the steps that
Step 201: during electronic equipment is in hand-held call mode, receives the voice signal that the other side sends, passes through The receiver of described electronic equipment exports described voice signal and gathers we's voice by the main mike of described electronic equipment simultaneously.
Here, described hand-held call mode refers to be exported what the other side received sent by the receiver of described electronic equipment Voice signal.
In the present embodiment, electronic equipment includes at least two mike, and one of them is main mike, and another is secondary wheat Gram wind.
Step 202: detect when electronic equipment receives the first operation, it is thus achieved that the first triggering command.
Wherein, described first triggering command is used for starting electronic equipment leakproof sound function.
Wherein, described electronic equipment anti-leak-stopping sound function includes: described be in hand-held call mode process at electronic equipment In, by the step of the described sound crossed in secondary mike collection Preset Time;Described it is in hand-held call mould at electronic equipment From described sound, the step of the size of the first acoustical signal that described voice signal mates is determined during formula;Described at electronics Equipment is the volume of the described receiver of size based on described first acoustical signal adjustment during being in hand-held call mode, to prevent The step of described receiver leakage sound.
So, leakproof sound function can actively be opened by user.
For example, user to good friend combat smuggling cipher telegram words time, it is undesirable to occur that people around hears the sound of good friend, in It is the leakproof sound function that can actively open electronic equipment, it is to avoid occur because the moment is afraid of that stranger hears that the sound of good friend brings Anxiety, improve the experience of user.
The most for example, user is when making a phone call to friends of the opposite sex, it is desirable to occur that people around hears friends of the opposite sex's Sound, to show the glamour oneself welcome by the opposite sex;So, user can not select to open the leakproof sound function of electronic equipment, So, even if leakage speech sound is very big, before not receiving the instruction opening leakproof sound function that user sends, electronic equipment is still Do not perform leakproof sound function.
Specifically, described electronic equipment can be provided with leakproof sound switch.
Wherein, described leakproof sound switch is prevented for the unlatching accepting to be triggered by touch operation the most on an electronic device Leakage sound pattern, or accept to utilize input equipment and the unlatching leakproof sound pattern that triggers, described input equipment is can be with described electricity The equipment that subset matches.Such as, described electronic equipment is mobile phone, and described input equipment is to match with described electronic equipment Pointer.
Wherein, described leakproof sound switch is arranged on electronic equipment body, or on input equipment;Described leakproof sound switch is Entity touch switch or virtual touch switch.
203: collect the sound in Preset Time by secondary mike.
Here, the sound in Preset Time is collected by secondary mike, it may include:
The sound of the other side exported by receiver;And
The sound of surrounding.
Here, described Preset Time can be set according to practical situation.Under normal circumstances, described Preset Time is system Default value, but the demand also dependent on user has user to be set.
Step 204: determine the size of the first acoustical signal that described voice signal mates from described sound.
As a kind of embodiment, described from described sound, determine the first acoustical signal that described voice signal mates Size includes:
The sound of described secondary mike collection is filtered by waveform based on described voice signal by wave filter, obtains First acoustical signal corresponding with described voice signal;
Determine the size of described first acoustical signal.
Here, described first acoustical signal is it is to be understood that utilize the voice exported by receiver that secondary mike collects Signal.
In general, the waveform of voice signal can be obtained by the modem in electronic equipment.
In one embodiment, the described size determining the first acoustical signal that described voice signal mates from described sound Before, also include:
Determine the sound size of described voice signal;
Determine that whether the sound size of described voice signal is more than first threshold;
In the case of the sound size of described voice signal is more than first threshold, determine from described sound described in execution The step of the size of the first acoustical signal of described voice signal coupling.
So, the sound size of the voice signal exported by receiver is first determined, only at the voice signal exported by receiver Sound size more than in the case of first threshold, just determine from described sound described in execution that described voice signal mates the The step of the size of one acoustical signal, i.e. determines, from the sound that secondary mike is collected, the first sound that described voice signal mates The size of tone signal.
Step 205: size based on described first acoustical signal adjusts the volume of described receiver, to prevent described receiver from leaking Sound.
As a kind of embodiment, described size based on described first acoustical signal adjusts the volume bag of described receiver Include:
When the size of sound of the first acoustical signal is more than when presetting leakage value, automatically currently export sound at described receiver Turn down in amount, until the size of the sound of the first acoustical signal is less than described default leakage value;
When the size of the sound of the first acoustical signal is less than and presets leakage value, voice output volume is not made an amendment.
So, it is possible the volume by adjusting receiver, prevent described receiver from leaking sound.
Fig. 3 is for showing volume adjusting schematic diagram under a kind of hand-held call mode, when the sound the first acoustical signal being detected The size of sound, more than when presetting leakage value, controls mobile phone and automatically turns down on the current output volume of described receiver, until first The size of the sound of acoustical signal is less than described default leakage value;From figure 3, it can be seen that the current output volume of described receiver by Diminish greatly.In the present embodiment, the holding mode of mobile phone and the position of mobile phone distance ear can also setting according to equipment itself Meter difference and different, the application does not limits.Such as handset size is less, and user can grip hands by thumb and little finger Machine, and mobile phone contacts with a part for ear;Or such as handset size is relatively big, its weight is relatively big, user can be by all Finger grip mobile phone, and mobile phone distance ear can have certain distance.
In embodiments of the present invention, during electronic equipment is in hand-held call mode, receive the voice that the other side sends Signal, exports described voice signal simultaneously by the main mike collection of described electronic equipment by the receiver of described electronic equipment We's voice;Detect when electronic equipment receives the first operation, it is thus achieved that the first triggering command;Then, trigger based on described first Instruction, just collects the sound in Preset Time by secondary mike;Determine from described sound that described voice signal mates The size of one acoustical signal;Size based on described first acoustical signal adjusts the volume of described receiver, to prevent described receiver Leakage sound;So, user can choose whether to start leakproof sound function autonomy, it is possible to when being not intended to call leakage sound, prevents Call leakage sound, it is ensured that the speech quality of electronic equipment;When wishing phone leakage sound, moreover it is possible to avoid because electronic equipment actively is taked to prevent The people of surrounding that cannot allow leaking sound function and cause hears the situation of call sound, improves the experience of user.
Embodiment three
The embodiment of the present invention provides a kind of electronic equipment, and as shown in Figure 4, described electronic equipment includes:
Receiver 41, for exporting the voice signal that the other side sends;
Main mike 42, is used for gathering we's voice;
Secondary mike 43, for collecting the sound in Preset Time;
Processor 44, for during electronic equipment is in hand-held call mode, receives the voice signal that the other side sends, Export described voice signal by the receiver 41 of described electronic equipment to be gathered by the main mike 42 of described electronic equipment simultaneously We's voice;Control secondary mike 43 and collect the sound in Preset Time;From described sound, determine that described voice signal mates The size of the first acoustical signal;Size based on described first acoustical signal adjusts the volume of described receiver 41, to prevent State receiver leakage sound.
As a kind of embodiment, described processor 44, it is additionally operable to:
Before determining the size of the first acoustical signal that described voice signal mates from described sound,
Determine the sound size of described voice signal;
Determine that whether the sound size of described voice signal is more than first threshold;
In the case of the sound size of described voice signal is more than first threshold, determine from described sound described in execution The step of the size of the first acoustical signal of described voice signal coupling.
As a kind of embodiment, described processor 44, it is additionally operable to:
The sound that described secondary mike 43 is gathered by waveform based on described voice signal by wave filter is filtered, To first acoustical signal corresponding with described voice signal;
Determine the size of described first acoustical signal.
As a kind of embodiment, described processor 44, it is additionally operable to:
When the size of the sound of the first acoustical signal is more than and presets leakage value, automatically in the current output of described receiver 41 Volume UP is little, until the size of the sound of the first acoustical signal is less than described default leakage value;
When the size of the sound of the first acoustical signal is less than and presets leakage value, voice output volume is not made an amendment.
As a kind of embodiment, described processor 44, it is additionally operable to:
Judge the position of described secondary mike 43;
Position based on described secondary mike 43 determines presets leakage value.
Electronic equipment described in the present embodiment, the problem that can solve to prevent call leakage sound in prior art, it is ensured that electronics The speech quality of equipment, promotes the experience of user.
Alternatively, described electronic equipment also includes:
Induction apparatus 45, for sensing the first operation;
Described processor 44, before being additionally operable to control the sound that secondary mike 43 is collected in Preset Time, detects electronics When equipment receives the first operation, it is thus achieved that the first triggering command;
Wherein, described first triggering command is used for starting electronic equipment leakproof sound function;Described electronic equipment anti-leak-stopping sound Function includes: described during electronic equipment is in hand-held call mode, crosses secondary mike collection Preset Time by described The step of interior sound;Described during electronic equipment is in hand-held call mode, from described sound, determine that described voice is believed The step of size of the first acoustical signal of number coupling;Described during electronic equipment is in hand-held call mode based on described The size of the first acoustical signal adjusts the volume of described receiver, to prevent the step of described receiver leakage sound.
So, user can choose whether to start leakproof sound function autonomy, it is possible to when being not intended to call leakage sound, anti- Stop-pass words leakage sound, it is ensured that the speech quality of electronic equipment;When wishing phone leakage sound, moreover it is possible to avoid because electronic equipment is actively taked Leakproof sound function and cause cannot allow the people of surrounding hear call sound situation, improve the experience of user.
It will be appreciated by those skilled in the art that the function of each processing module in the electronic equipment of the embodiment of the present invention, can join Understand, each processing module in the electronic equipment of the embodiment of the present invention according to the associated description of aforementioned call control method, can pass through Realize the analog circuit of the function described in the embodiment of the present invention and realize, it is also possible to by performing the merit described in the embodiment of the present invention Can software operation on an electronic device and realize.
Wherein, described processor 52 in actual applications, all can by electronic equipment central processing unit (CPU, Central Processing Unit), microprocessor (MCU, Micro Controller Unit), digital signal processor (DSP, Digital Signal Processing) or PLD (PLC, Programmable Logic Etc. Controller) realize.
Electronic equipment described in the present embodiment, the problem that at least can solve to prevent call leakage sound in prior art, it is ensured that The speech quality of electronic equipment, promotes the experience of user.
Embodiment four
The embodiment of the present invention provides a kind of electronic equipment, as it is shown in figure 5, described electronic equipment includes:
First control unit 51, for during electronic equipment is in hand-held call mode, receives the language that the other side sends Tone signal, exports described voice signal simultaneously by main Mike's elegance of described electronic equipment by the receiver of described electronic equipment Collection we's voice;
Second control unit 52, for collecting the sound in Preset Time by secondary mike;
Determine unit 53, for determining the size of the first acoustical signal that described voice signal mates from described sound;
Adjustment unit 54, adjusts the volume of described receiver, to prevent for size based on described first acoustical signal State receiver leakage sound.
In a detailed description of the invention, described determine unit 53, be additionally operable to: described from described sound, determine described voice Before the size of the first acoustical signal of Signal Matching, also include:
Determine the sound size of described voice signal;
Determine that whether the sound size of described voice signal is more than first threshold;
In the case of the sound size of described voice signal is more than first threshold, determine from described sound described in execution The step of the size of the first acoustical signal of described voice signal coupling.
In a detailed description of the invention, described determine unit 53, specifically for:
The sound of described secondary mike collection is filtered by waveform based on described voice signal by wave filter, obtains First acoustical signal corresponding with described voice signal;
Determine the size of described first acoustical signal.
In a detailed description of the invention, described adjustment unit 54, specifically for:
When the size of sound of the first acoustical signal is more than when presetting leakage value, automatically currently export sound at described receiver Turn down in amount, until the size of the sound of the first acoustical signal is less than described default leakage value;
When the size of the sound of the first acoustical signal is less than and presets leakage value, voice output volume is not made an amendment.
In a detailed description of the invention, described adjustment unit 54, it is additionally operable to:
Judge the position of described secondary mike;
Position based on described secondary mike determines presets leakage value.
Electronic equipment described in the present embodiment, the problem that can solve to prevent call leakage sound in prior art, it is ensured that electronics The speech quality of equipment, promotes the experience of user.
Alternatively, described electronic equipment can also include:
Detector unit 55, for detection the first operation;Described first operation is indicated for opening the behaviour of leakproof sound function Make;Described electronic equipment anti-leak-stopping sound function includes: described during electronic equipment is in hand-held call mode, by described Cross secondary mike and collect the step of the sound in Preset Time;Described during electronic equipment is in hand-held call mode from institute State the step of the size of the first acoustical signal determining in sound that described voice signal mates;Described be at electronic equipment hand-held During call mode, size based on described first acoustical signal adjusts the volume of described receiver, to prevent described receiver from leaking sound Step
Acquiring unit 56, is used for detecting when electronic equipment receives the first operation, based on described first operation acquisition first Triggering command.Wherein, described first triggering command is used for starting electronic equipment leakproof sound function.
So, user can choose whether to start leakproof sound function autonomy, it is possible to when being not intended to call leakage sound, anti- Stop-pass words leakage sound, it is ensured that the speech quality of electronic equipment;When wishing phone leakage sound, moreover it is possible to avoid because electronic equipment is actively taked Leakproof sound function and cause cannot allow the people of surrounding hear call sound situation, improve the experience of user.
It will be appreciated by those skilled in the art that the function of each processing module in the electronic equipment of the embodiment of the present invention, can join Understand, each processing module in the electronic equipment of the embodiment of the present invention according to the associated description of aforementioned call control method, can pass through Realize the analog circuit of the function described in the embodiment of the present invention and realize, it is also possible to by performing the merit described in the embodiment of the present invention Can software operation on an electronic device and realize.
Wherein, described first control unit the 51, second control unit 52, determine unit 53, adjustment unit 54, acquiring unit 56, in actual applications, all can be realized by the central processor CPU in electronic equipment, MCU, DSP or PLC etc..When described electronics When being provided with leakproof sound switch on apparatus body, when described leakproof sound switch switchs for virtual key, described detector unit 51 can Realized by the touch screen of described electronic equipment;When described leakproof sound switch switchs for physical button, described detector unit 51 can Realized by the sensor of described electronic equipment;When being provided with leakproof sound switch on the input equipment mated with described electronic equipment Time, described detector unit 51 can be realized by the communicator of described electronic equipment.
Electronic equipment described in the present embodiment, the problem that at least can solve to prevent call leakage sound in prior art, it is ensured that The speech quality of electronic equipment, promotes the experience of user.
In several embodiments provided herein, it should be understood that disclosed equipment and method, can be passed through it Its mode realizes.Apparatus embodiments described above is only schematically, such as, the division of described unit, it is only A kind of logic function divides, and actual can have other dividing mode, such as when realizing: multiple unit or assembly can be in conjunction with, or It is desirably integrated into another system, or some features can be ignored, or do not perform.It addition, shown or discussed each composition portion Dividing coupling each other or direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, equipment or unit Or communication connection, can be electrical, machinery or other form.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, shows as unit The parts shown can be or may not be physical location;Both may be located at a place, it is also possible to be distributed to multiple network list In unit;Part or all of unit therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.
It addition, each functional unit in various embodiments of the present invention can be fully integrated in a processing unit, it is possible to Being that each unit is individually as a unit, it is also possible to two or more unit are integrated in a unit;Above-mentioned Integrated unit both can realize to use the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit and realizes.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can be passed through The hardware that programmed instruction is relevant completes, and aforesaid program can be stored in computer read/write memory medium, and this program exists During execution, perform to include the step of said method embodiment;And aforesaid storage medium includes: movable storage device, read-only deposit Reservoir (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or The various medium that can store program code such as CD.
Or, if the above-mentioned integrated unit of the present invention is using the form realization of software function module and as independent product When selling or use, it is also possible to be stored in a computer read/write memory medium.Based on such understanding, the present invention implements The part that prior art is contributed by the technical scheme of example the most in other words can embody with the form of software product, This computer software product is stored in a storage medium, including some instructions with so that a computer equipment is (permissible It is personal computer, server or the network equipment etc.) perform all or part of of method described in each embodiment of the present invention. And aforesaid storage medium includes: movable storage device, ROM, RAM, magnetic disc or CD etc. are various can store program code Medium.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art, in the technical scope that the invention discloses, can readily occur in change or replace, should contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with described scope of the claims.

Claims (12)

1. a call control method, described method includes:
During electronic equipment is in hand-held call mode:
Receive the voice signal that the other side sends, export described voice signal simultaneously by described by the receiver of described electronic equipment The main mike of electronic equipment gathers we's voice;
The sound in Preset Time is collected by secondary mike;
The size of the first acoustical signal that described voice signal mates is determined from described sound;
Size based on described first acoustical signal adjusts the volume of described receiver, to prevent described receiver from leaking sound.
Method the most according to claim 1, it is characterised in that described by the sound in secondary mike collection Preset Time Before, also include:
Detect when electronic equipment receives the first operation, it is thus achieved that the first triggering command;
Wherein, described first triggering command is used for starting electronic equipment leakproof sound function;Described electronic equipment anti-leak-stopping sound function Including: described during electronic equipment is in hand-held call mode, crossed in secondary mike collection Preset Time by described The step of sound;Described during electronic equipment is in hand-held call mode, from described sound, determine described voice signal The step of the size of the first acoustical signal joined;Described during electronic equipment is in hand-held call mode based on described first The size of acoustical signal adjusts the volume of described receiver, to prevent the step of described receiver leakage sound.
Method the most according to claim 1 and 2, it is characterised in that described determine described voice signal from described sound Before the size of the first acoustical signal of coupling, also include:
Determine the sound size of described voice signal;
Determine that whether the sound size of described voice signal is more than first threshold;
In the case of the sound size of described voice signal is more than first threshold, determine described described in execution from described sound The step of the size of the first acoustical signal of voice signal coupling.
Method the most according to claim 1, it is characterised in that described determine that from described sound described voice signal mates The size of the first acoustical signal include:
The sound of described secondary mike collection is filtered by waveform based on described voice signal by wave filter, obtains and institute The first acoustical signal that predicate tone signal is corresponding;
Determine the size of described first acoustical signal.
Method the most according to claim 1, it is characterised in that described size based on described first acoustical signal adjusts institute The volume stating receiver includes:
When the size of the sound of the first acoustical signal is more than and presets leakage value, automatically on the current output volume of described receiver Turn down, until the size of the sound of the first acoustical signal is less than described default leakage value;
When the size of the sound of the first acoustical signal is less than and presets leakage value, voice output volume is not made an amendment.
Method the most according to claim 5, it is characterised in that described method also includes:
Judge the position of described secondary mike;
Position based on described secondary mike determines presets leakage value.
7. an electronic equipment, described electronic equipment includes:
Receiver, for exporting the voice signal that the other side sends;
Main mike, is used for gathering we's voice;
Secondary mike, for collecting the sound in Preset Time;
Processor, for during electronic equipment is in hand-held call mode, receives the voice signal that the other side sends, by institute The receiver stating electronic equipment exports described voice signal simultaneously by main mike collection we's voice of described electronic equipment;Control The sound in Preset Time collected by the secondary mike of system;The first acoustical signal that described voice signal mates is determined from described sound Size;Size based on described first acoustical signal adjusts the volume of described receiver, to prevent described receiver from leaking sound.
Electronic equipment the most according to claim 7, it is characterised in that described electronic equipment also includes:
Induction apparatus, for sensing the first operation;
Described processor, before being additionally operable to control the sound in secondary mike collection Preset Time, detects that electronic equipment receives During the first operation, it is thus achieved that the first triggering command;
Wherein, described first triggering command is used for starting electronic equipment leakproof sound function;Described electronic equipment anti-leak-stopping sound function Including: described during electronic equipment is in hand-held call mode, crossed in secondary mike collection Preset Time by described The step of sound;Described during electronic equipment is in hand-held call mode, from described sound, determine described voice signal The step of the size of the first acoustical signal joined;Described during electronic equipment is in hand-held call mode based on described first The size of acoustical signal adjusts the volume of described receiver, to prevent the step of described receiver leakage sound.
9. according to the electronic equipment described in claim 7 or 8, it is characterised in that described processor, it is additionally operable to: from described sound Before the middle size determining the first acoustical signal that described voice signal mates,
Determine the sound size of described voice signal;
Determine that whether the sound size of described voice signal is more than first threshold;
In the case of the sound size of described voice signal is more than first threshold, determine described described in execution from described sound The step of the size of the first acoustical signal of voice signal coupling.
Electronic equipment the most according to claim 7, it is characterised in that described processor, is additionally operable to:
The sound of described secondary mike collection is filtered by waveform based on described voice signal by wave filter, obtains and institute The first acoustical signal that predicate tone signal is corresponding;
Determine the size of described first acoustical signal.
11. electronic equipments according to claim 7, it is characterised in that described processor, are additionally operable to:
When the size of the sound of the first acoustical signal is more than and presets leakage value, automatically on the current output volume of described receiver Turn down, until the size of the sound of the first acoustical signal is less than described default leakage value;
When the size of the sound of the first acoustical signal is less than and presets leakage value, voice output volume is not made an amendment.
12. electronic equipments according to claim 11, it is characterised in that described processor, are additionally operable to:
Judge the position of described secondary mike;
Position based on described secondary mike determines presets leakage value.
CN201610496146.9A 2016-06-29 2016-06-29 A kind of call control method and electronic equipment Pending CN106210236A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610496146.9A CN106210236A (en) 2016-06-29 2016-06-29 A kind of call control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610496146.9A CN106210236A (en) 2016-06-29 2016-06-29 A kind of call control method and electronic equipment

Publications (1)

Publication Number Publication Date
CN106210236A true CN106210236A (en) 2016-12-07

Family

ID=57463310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610496146.9A Pending CN106210236A (en) 2016-06-29 2016-06-29 A kind of call control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN106210236A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108462784A (en) * 2017-02-22 2018-08-28 北京小米移动软件有限公司 In Call method of adjustment and device
CN110754097A (en) * 2017-08-18 2020-02-04 Oppo广东移动通信有限公司 Call control method, device, terminal equipment and storage medium
CN111212364A (en) * 2020-03-19 2020-05-29 锐迪科微电子(上海)有限公司 Audio output device and method for eliminating sound leakage thereof
CN112118339A (en) * 2019-06-20 2020-12-22 华为技术有限公司 Electronic device, signal processing method and apparatus
CN112449041A (en) * 2020-11-24 2021-03-05 维沃移动通信有限公司 Control method and electronic device
CN113890936A (en) * 2021-11-09 2022-01-04 Oppo广东移动通信有限公司 Volume adjustment method, device and storage medium
US11449302B2 (en) 2018-09-28 2022-09-20 Hewlett-Packard Development Company, L.P. Volume adjustments based on ambient sounds and voices
WO2022199354A1 (en) * 2021-03-24 2022-09-29 深圳市锐尔觅移动通信有限公司 Call volume adjustment method and apparatus, and terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909566A (en) * 2005-07-05 2007-02-07 Lg电子株式会社 Apparatus and method for preventing leakage audio of call in communication terminal
CN101212833A (en) * 2006-12-25 2008-07-02 索尼株式会社 Audio output apparatus, audio output method, audio output system, and program for audio output processing
CN101227762A (en) * 2007-01-16 2008-07-23 索尼株式会社 Sound outputting apparatus, sound outputting method, sound outputting system and sound output processing program
JP2010056722A (en) * 2008-08-27 2010-03-11 Sony Corp Acoustic reproducer with handsfree call function, and handsfree call method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909566A (en) * 2005-07-05 2007-02-07 Lg电子株式会社 Apparatus and method for preventing leakage audio of call in communication terminal
CN101212833A (en) * 2006-12-25 2008-07-02 索尼株式会社 Audio output apparatus, audio output method, audio output system, and program for audio output processing
CN101227762A (en) * 2007-01-16 2008-07-23 索尼株式会社 Sound outputting apparatus, sound outputting method, sound outputting system and sound output processing program
JP2010056722A (en) * 2008-08-27 2010-03-11 Sony Corp Acoustic reproducer with handsfree call function, and handsfree call method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108462784A (en) * 2017-02-22 2018-08-28 北京小米移动软件有限公司 In Call method of adjustment and device
CN110754097A (en) * 2017-08-18 2020-02-04 Oppo广东移动通信有限公司 Call control method, device, terminal equipment and storage medium
US11449302B2 (en) 2018-09-28 2022-09-20 Hewlett-Packard Development Company, L.P. Volume adjustments based on ambient sounds and voices
CN112118339A (en) * 2019-06-20 2020-12-22 华为技术有限公司 Electronic device, signal processing method and apparatus
CN111212364A (en) * 2020-03-19 2020-05-29 锐迪科微电子(上海)有限公司 Audio output device and method for eliminating sound leakage thereof
WO2021184501A1 (en) * 2020-03-19 2021-09-23 锐迪科微电子(上海)有限公司 Audio output device and sound leakage elimination method therefor
CN112449041A (en) * 2020-11-24 2021-03-05 维沃移动通信有限公司 Control method and electronic device
WO2022199354A1 (en) * 2021-03-24 2022-09-29 深圳市锐尔觅移动通信有限公司 Call volume adjustment method and apparatus, and terminal and storage medium
CN113890936A (en) * 2021-11-09 2022-01-04 Oppo广东移动通信有限公司 Volume adjustment method, device and storage medium
CN113890936B (en) * 2021-11-09 2023-02-24 Oppo广东移动通信有限公司 Volume adjustment method, device and storage medium

Similar Documents

Publication Publication Date Title
CN106210236A (en) A kind of call control method and electronic equipment
CN105554616B (en) A kind of headset control method and earphone
CN104717360B (en) A kind of call recording method and terminal
CN102411425B (en) Method and device for controlling function of touch screen
CN110164440B (en) Voice interaction awakening electronic device, method and medium based on mouth covering action recognition
CN110139262A (en) Bluetooth communication control method and Related product
CN106101929A (en) A kind of protection human ear audition method and mobile terminal
CN107454508A (en) The television set and television system of microphone array
CN107978316A (en) The method and device of control terminal
CN108052079A (en) Apparatus control method, device, plant control unit and storage medium
CN108600059A (en) Apparatus control method and Related product
CN102293013A (en) Acoustic in-ear detection for earpiece
CN108769850A (en) Apparatus control method and Related product
CN105282345A (en) Method and device for regulation of conversation volume
CN108540906A (en) Volume adjusting method, earphone and computer readable storage medium
CN108683968A (en) Display control method and related product
CN108710615A (en) Interpretation method and relevant device
CN109561219A (en) Music adjusting method, device, mobile terminal and readable storage medium storing program for executing
CN105516850A (en) Noise canceling headphone and noise reduction method
CN106231071A (en) A kind of speech output method and terminal
CN103916511B (en) The method and electronic equipment of information processing
CN109144454A (en) double-sided screen display control method and related product
CN109067965A (en) Interpretation method, translating equipment, wearable device and storage medium
CN108959273A (en) Interpretation method, electronic device and storage medium
CN108810235A (en) Terminal and its control method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161207

RJ01 Rejection of invention patent application after publication