WO2017067126A1 - 控制终端的多麦克风降噪的拾音范围的方法和装置 - Google Patents

控制终端的多麦克风降噪的拾音范围的方法和装置 Download PDF

Info

Publication number
WO2017067126A1
WO2017067126A1 PCT/CN2016/075952 CN2016075952W WO2017067126A1 WO 2017067126 A1 WO2017067126 A1 WO 2017067126A1 CN 2016075952 W CN2016075952 W CN 2016075952W WO 2017067126 A1 WO2017067126 A1 WO 2017067126A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
transfer function
user
posture
similarity
Prior art date
Application number
PCT/CN2016/075952
Other languages
English (en)
French (fr)
Inventor
姜开宇
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP16856573.7A priority Critical patent/EP3253034B1/en
Priority to US15/735,895 priority patent/US10148801B2/en
Publication of WO2017067126A1 publication Critical patent/WO2017067126A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M9/00Arrangements for interconnection not involving centralised switching
    • H04M9/08Two-way loud-speaking telephone systems with means for conditioning the signal, e.g. for suppressing echoes for one or both directions of traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/19Arrangements of transmitters, receivers, or complete sets to prevent eavesdropping, to attenuate local noise or to prevent undesired transmission; Mouthpieces or receivers specially adapted therefor
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0208Noise filtering
    • G10L21/0216Noise filtering characterised by the method used for estimating noise
    • G10L21/0232Processing in the frequency domain
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/20Arrangements for obtaining desired frequency or directional characteristics
    • H04R1/32Arrangements for obtaining desired frequency or directional characteristics for obtaining desired directional characteristic only
    • H04R1/40Arrangements for obtaining desired frequency or directional characteristics for obtaining desired directional characteristic only by combining a number of identical transducers
    • H04R1/406Arrangements for obtaining desired frequency or directional characteristics for obtaining desired directional characteristic only by combining a number of identical transducers microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/005Circuits for transducers, loudspeakers or microphones for combining the signals of two or more microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2410/00Microphones
    • H04R2410/05Noise reduction with a separate noise microphone
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2499/00Aspects covered by H04R or H04S not otherwise provided for in their subgroups
    • H04R2499/10General applications
    • H04R2499/11Transducers incorporated or for use in hand-held devices, e.g. mobile phones, PDA's, camera's
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/04Circuits for transducers, loudspeakers or microphones for correcting frequency response

Definitions

  • the present invention relates to the field of terminal technologies, and in particular, to a method and apparatus for controlling a sound collection range of a multi-microphone noise reduction of a terminal.
  • the noise reduction process is generally equivalent to forming a pickup range having a certain geometric shape in the vicinity of the mobile phone, collecting the user's uplink voice within the pickup range, and suppressing ambient noise outside the pickup range.
  • the layout of a typical two microphone solution is that a microphone is placed near the top of the mobile phone to collect ambient noise, and another microphone is placed at the bottom of the mobile phone to collect user sounds containing environmental noise.
  • the mobile phone uses multi-microphone noise reduction to process the two microphone input signals, and eliminates the environmental noise in the user's voice containing the environmental noise, and obtains a purer user voice, and transmits the user voice to the opposite end.
  • Multi-microphone noise reduction can be divided into two categories from whether the pickup range is a fixed angle.
  • the fixed pickup range is more stable, but when the user's hand posture is abnormal, such as when the camera's large angle deviates from the user's face, there may be a silent sound, or a small sound, or sound quality because the user's mouth is biased out of a fixed pickup range. difference.
  • Simply setting a larger pickup range usually reduces the filtering effect on ambient noise.
  • some multi-microphone noise reduction schemes currently use the voice call frequency band signal collected by the microphone to estimate the user's hand posture, and according to This controls the multi-microphone noise reduction pickup range of the mobile phone, so as to filter out the ambient noise as much as possible when the user's hand posture is normal, and expands the sound collection range when the hand posture is abnormal, thereby avoiding the user's upward movement.
  • the volume or sound quality of the speech has a significant negative impact.
  • Estimation of the user's hand posture by the signal in the voice band is susceptible to environmental noise, The accuracy of the pickup range that controls the multi-microphone noise reduction is low.
  • the present invention provides a method and apparatus for controlling a sound collection range of a multi-microphone noise reduction of a terminal.
  • the technical solutions are as follows:
  • the present invention provides a method of controlling a sound collection range of a multi-microphone noise reduction of a terminal, the method comprising:
  • the pickup range of the multi-microphone noise reduction of the terminal is adjusted.
  • the first non-speech signal is a first infrared light signal
  • the second non-speech signal is a second infrared light signal
  • Determining, according to the first non-speech signal and the second non-speech signal, whether the gesture of the handheld terminal when the user is talking is a normal gesture including:
  • the posture of the handheld terminal when the user talks is a normal posture.
  • the determining, according to the first strength difference, whether the posture of the handheld terminal when the user is talking is a normal posture include:
  • the gesture of the handheld terminal when the user is talking is not a normal posture
  • a third possible implementation in the first aspect The method further includes: determining, according to the first intensity difference, whether the posture of the user holding the terminal is a normal posture, the method further includes:
  • the second intensity difference is greater than the second preset strength, determining that the posture of the handheld terminal when the user is talking is not a normal posture
  • the second intensity difference is not greater than the second preset strength, performing the step of determining whether the gesture of the handheld terminal is a normal posture according to the first intensity difference when the user talks.
  • the method further includes:
  • the included angle is determined as an eversion angle at which the user holds the terminal.
  • the first non-speech signal is a first high frequency ultrasonic signal
  • the second non-speech signal is a second high frequency ultrasonic signal
  • Determining, according to the first non-speech signal and the second non-speech signal, whether the gesture of the handheld terminal when the user is talking is a normal gesture including:
  • the first transfer function it is determined whether the posture of the handheld terminal when the user talks is a normal posture.
  • the determining, according to the first transfer function, whether a gesture of the handheld terminal when the user is talking is a normal posture include:
  • the first similarity is less than the first preset similarity, determining the posture of the handheld terminal when the user talks The potential is not a normal posture.
  • the determining, according to the first transfer function, determining whether a gesture of the handheld terminal when the user is talking For normal posture including:
  • the comprehensive similarity is less than the second preset similarity, it is determined that the posture of the handheld terminal when the user is talking is not a normal posture.
  • the method further includes:
  • the eversion angle corresponding to the selected transfer function is determined as the eversion angle of the user holding the terminal.
  • the adjusting a sound range of the multi-microphone noise reduction of the terminal includes:
  • the present invention provides an apparatus for controlling a sound collection range of a multi-microphone noise reduction of a terminal, the apparatus comprising:
  • a transmitting module configured to transmit a first non-speech signal
  • a receiving module configured to receive the second non-speech that the first non-speech signal is reflected back by the reflective object Tone signal
  • a first determining module configured to determine, according to the first non-speech signal and the second non-speech signal, whether a gesture of the handheld terminal when the user is talking is a normal posture
  • the adjusting module is configured to adjust a sound collection range of the multi-microphone noise reduction of the terminal if the posture of the handheld terminal is not a normal posture when the user talks.
  • the first non-speech signal is a first infrared light signal
  • the second non-speech signal is a second infrared light signal
  • the first determining module includes:
  • a first acquiring unit configured to acquire a first light intensity of the first proximity light sensor on the terminal to emit the first infrared light signal, and a second light quantity in which the first proximity light sensor receives the second infrared light signal Light intensity
  • a first calculating unit configured to calculate a first intensity difference between the second light intensity and the first light intensity
  • the first determining unit is configured to determine, according to the first intensity difference, whether the posture of the handheld terminal when the user is talking is a normal posture.
  • the first determining unit is configured to: if the first intensity difference is greater than the first preset strength, Then determining that the posture of the handheld terminal when the user is talking is not a normal posture; or,
  • the first determining unit is configured to calculate a first distance between the first proximity light sensor and the reflective object according to the first intensity difference, if the first distance is greater than a first preset distance, Then, it is determined that the posture of the handheld terminal when the user is talking is not a normal posture.
  • the first determining module further includes:
  • a second acquiring unit configured to acquire a third light intensity of the third proximity light sensor on the terminal to emit a third infrared light signal, and the second proximity light sensor to receive the third infrared light signal by the reflective object a fourth light intensity of the reflected fourth infrared light signal;
  • a first calculating unit configured to calculate a second intensity difference between the fourth light intensity and the third light intensity
  • a second determining unit configured to determine that the posture of the handheld terminal is not a normal posture when the user talks, if the second intensity difference is greater than the second preset strength
  • the first determining unit is configured to determine, according to the first intensity difference, whether a gesture of the handheld terminal when the user is talking is a normal posture.
  • the device further includes:
  • a first calculating module configured to respectively calculate a first distance between the first proximity light sensor and the reflective object and the second proximity light sensor according to the first intensity difference and the second intensity difference a second distance from the reflective object;
  • a second calculating module configured to calculate the terminal and the reflection according to the first distance, the second distance, and a third distance between the first proximity photosensor and the second proximity photosensor The angle between objects;
  • a second determining module configured to determine the included angle as an eversion angle of the user holding the terminal.
  • the first non-speech signal is a first high frequency ultrasonic signal
  • the second non-speech signal is a second high frequency ultrasonic signal
  • the first determining module includes:
  • a third acquiring unit configured to acquire, according to the first high frequency ultrasonic signal and the second high frequency ultrasonic signal, a first transfer function of the first high frequency ultrasonic signal from an earpiece of the terminal to a first microphone ;
  • the third determining unit is configured to determine, according to the first transfer function, whether the posture of the handheld terminal when the user is talking is a normal posture.
  • the third determining unit includes:
  • a first calculating subunit configured to calculate a first similarity between the first transfer function and a transfer function corresponding to the normal posture
  • the first determining subunit is configured to determine that the posture of the handheld terminal is not a normal posture when the user talks, if the first similarity is less than the first preset similarity.
  • the third determining unit includes:
  • Obtaining a subunit configured to acquire, according to the first high frequency ultrasonic signal and the second high frequency ultrasonic signal, the first high frequency ultrasonic signal from at least one of the earpiece of the terminal to the at least one second microphone Two transfer function;
  • a second calculation subunit configured to calculate a transfer function corresponding to the first transfer function and a normal posture a first similarity between the first similarity, and a second similarity between each of the at least one second transfer function and the transfer function corresponding to the normal gesture, resulting in at least one second similarity;
  • a third calculating subunit configured to calculate a comprehensive similarity according to the first similarity and the at least one second similarity
  • a second determining subunit configured to determine that the posture of the handheld terminal is not a normal posture when the user talks, if the comprehensive similarity is less than the second preset similarity.
  • the device further includes:
  • a third calculating module configured to separately calculate, according to the first transfer function, a third similarity between each of the transfer function and the transfer function set, wherein the transfer function set is used to store a user a transfer function corresponding to each eversion angle of the handheld terminal during a call;
  • a selection module configured to select a transfer function that has a maximum third similarity to the first transfer function
  • a third determining module configured to determine an eversion angle corresponding to the selected transfer function as an eversion angle of the user holding the terminal.
  • the adjusting module is configured to increase a multi-microphone noise reduction pickup of the terminal Range;
  • the adjustment module includes:
  • a fourth acquiring unit configured to acquire a sound collection range that matches the valgus angle
  • an adjusting unit configured to adjust a sound collection range of the multi-microphone noise reduction of the terminal to a sound pickup range that matches the valgus angle.
  • the present invention provides an apparatus for controlling a multi-microphone noise reduction pickup range of a terminal, the apparatus comprising: a transmitter, a receiver, and a processor;
  • the transmitter is configured to transmit a first non-speech signal
  • the receiver is configured to receive a second non-speech signal that is reflected back by the reflective object by the first non-speech signal;
  • the processor is configured to determine, according to the first non-speech signal and the second non-speech signal, whether a gesture of the handheld terminal when the user is talking is a normal gesture;
  • the processor is further configured to adjust a multi-microphone noise reduction pickup range of the terminal if the posture of the handheld terminal is not a normal posture when the user talks.
  • the first non-speech signal is a first infrared light signal
  • the second non-speech signal is a second infrared light signal
  • the processor is further configured to acquire, by the first proximity photosensor on the terminal, a first light intensity of the first infrared light signal and a first proximity light sensor to receive the second infrared light signal. Two light intensity; calculating a first intensity difference between the second light intensity and the first light intensity; determining, according to the first intensity difference, whether the posture of the handheld terminal when the user is talking is a normal posture.
  • the processor is further configured to: if the first intensity difference is greater than the first preset strength, Determining that the posture of the handheld terminal when the user is talking is not a normal posture; or,
  • the processor is further configured to calculate a first distance between the first proximity light sensor and the reflective object according to the first intensity difference, if the first distance is greater than a first preset distance, It is determined that the posture of the handheld terminal when the user is talking is not a normal posture.
  • the processor is further configured to acquire a second proximity light sensor on the terminal to generate a third infrared a third light intensity of the optical signal and a fourth light intensity of the fourth infrared light signal reflected by the reflective object by the second proximity light sensor;
  • the processor is further configured to calculate a second intensity difference between the fourth light intensity and the third light intensity
  • the processor is further configured to determine that the posture of the handheld terminal is not a normal posture when the user talks, if the second intensity difference is greater than the second preset strength;
  • the processor executes the processor, and further configured to determine, according to the first intensity difference, whether a gesture of the handheld terminal when the user is talking is a normal posture.
  • the device further includes:
  • the processor is further configured to separately calculate a first distance between the first proximity light sensor and the reflective object and the second proximity light according to the first intensity difference and the second intensity difference a second distance between the sensor and the reflective object;
  • the processor is further configured to: according to the first distance, the second distance, and the first proximity Calculating an angle between the terminal and the reflective object by a third distance between the light sensor and the second proximity light sensor;
  • the processor is further configured to determine the included angle as an eversion angle of the user holding the terminal.
  • the device further includes a first microphone, the first non-speech signal is a first high frequency ultrasonic signal, and the second non-speech signal Is a second high frequency ultrasonic signal;
  • the processor is further configured to acquire, according to the first high frequency ultrasonic signal and the second high frequency ultrasonic signal, the first high frequency ultrasonic signal from an earpiece of the terminal to a first microphone a transfer function;
  • the processor is further configured to determine, according to the first transfer function, whether a gesture of the handheld terminal when the user is talking is a normal gesture.
  • the processor is further configured to calculate a transfer function corresponding to the first transfer function and a normal gesture First similarity between
  • the processor is further configured to determine that the gesture of the handheld terminal is not a normal gesture when the user talks, if the first similarity is less than the first preset similarity.
  • the device further includes at least one second microphone
  • the processor is further configured to acquire, according to the first high frequency ultrasonic signal and the second high frequency ultrasonic signal, at least the first high frequency ultrasonic signal from the earpiece of the terminal to the at least one second microphone a second transfer function;
  • the processor is further configured to calculate a first similarity between the first transfer function and a transfer function corresponding to the normal gesture, and each of the at least one second transfer function is normal a second similarity between the transfer functions corresponding to the gestures, obtaining at least one second similarity;
  • the processor is further configured to calculate a comprehensive similarity according to the first similarity and the at least one second similarity;
  • the processor is further configured to determine that the gesture of the handheld terminal is not a normal gesture when the user talks, if the comprehensive similarity is less than the second preset similarity.
  • the device further includes:
  • the processor is further configured to separately calculate, according to the first transfer function, a third similarity between each of the first transfer function and each transfer function set, the transfer function set is used for storing a transfer function corresponding to each eversion angle of the handheld terminal when the user is talking;
  • the processor is further configured to select a transfer function that has a maximum third similarity with the first transfer function
  • the processor is further configured to determine an eversion angle corresponding to the selected transfer function as an eversion angle of the user holding the terminal.
  • the processor is further configured to increase a multi-microphone noise reduction of the terminal Tone range; or,
  • the processor is further configured to acquire a sound collection range that matches the valgus angle, and adjust a sound collection range of the multi-microphone noise reduction of the terminal to a sound pickup range that matches the valgus angle.
  • the present invention provides a computer readable storage medium storing one or more programs, the one or more programs comprising instructions that, when executed by a portable electronic device comprising a plurality of applications The portable electronic device performs transmitting a first non-speech signal and receiving a second non-speech signal that the first non-speech signal is reflected back by the reflective object;
  • the pickup range of the multi-microphone noise reduction of the terminal is adjusted.
  • the first non-speech signal is a first infrared light signal
  • the second non-speech signal is a second infrared light signal
  • the instructions when executed by a portable electronic device comprising a plurality of applications, causing the portable electronic device to perform acquiring a first light intensity of the first proximity light sensor on the terminal to emit the first infrared light signal and the Receiving, by the first proximity photosensor, a second light intensity of the second infrared light signal;
  • the posture of the handheld terminal when the user talks is a normal posture.
  • the instructions when executed by a portable electronic device including a plurality of applications, enable the portable The electronic device performs to determine that the posture of the handheld terminal is not a normal posture when the user talks, if the first intensity difference is greater than the first preset strength; or
  • the instructions when executed by a portable electronic device including a plurality of applications, cause the portable electronic device to perform Acquiring a third light intensity of the second proximity light sensor on the terminal to emit a third infrared light signal and the fourth proximity light sensor receiving the fourth infrared light signal reflected by the reflective object The fourth light intensity of the signal;
  • the second intensity difference is greater than the second preset strength, determining that the posture of the handheld terminal when the user is talking is not a normal posture
  • the second intensity difference is not greater than the second preset strength, performing the step of determining whether the gesture of the handheld terminal is a normal posture according to the first intensity difference when the user talks.
  • the instructions when executed by a portable electronic device including a plurality of applications, cause the portable electronic device to perform Calculating, according to the first intensity difference and the second intensity difference, a first distance between the first proximity light sensor and the reflective object, and between the second proximity light sensor and the reflective object Second distance
  • the included angle is determined as an eversion angle at which the user holds the terminal.
  • the first non-speech signal is a first high frequency ultrasonic signal
  • the second non-speech signal is a second high frequency ultrasonic signal
  • the instructions when executed by a portable electronic device including a plurality of applications, causing the portable electronic device to perform acquiring the first high frequency ultrasound according to the first high frequency ultrasonic signal and the second high frequency ultrasonic signal a first transfer function of the signal from the handset of the terminal to the first microphone;
  • the first transfer function it is determined whether the posture of the handheld terminal when the user talks is a normal posture.
  • the sixth possible implementation in the fourth aspect In a mode, the instructions, when executed by a portable electronic device including a plurality of applications, cause the portable electronic device to perform a first similarity between calculating a transfer function corresponding to the first transfer function and a normal gesture;
  • the posture of the handheld terminal when the user is talking is not a normal posture.
  • the instructions when executed by a portable electronic device including a plurality of applications, cause the portable electronic device to perform Obtaining, according to the first high frequency ultrasonic signal and the second high frequency ultrasonic signal, at least one second transfer function of the first high frequency ultrasonic signal from an earpiece of the terminal to at least one second microphone;
  • the comprehensive similarity is less than the second preset similarity, it is determined that the posture of the handheld terminal when the user is talking is not a normal posture.
  • the instructions when executed by a portable electronic device including a plurality of applications, cause the portable electronic device to perform Calculating, according to the first transfer function, a third similarity between each of the first transfer function and each of the transfer function sets, the transfer function set for storing each of the handheld terminals when the user talks a transfer function corresponding to the eversion angle;
  • the eversion angle corresponding to the selected transfer function is determined as the eversion angle of the terminal when the user talks.
  • the instructions when executed by a portable electronic device including a plurality of applications, enable the portable The electronic device performs a pickup range that increases multi-microphone noise reduction of the terminal;
  • the first non-speech signal is transmitted, and the first non-speech signal is received and reflected.
  • the second non-speech signal reflected by the object determines whether the gesture of the handheld terminal is a normal posture when the user talks according to the first non-speech signal and the second non-speech signal; if the gesture of the handheld terminal is not a normal posture when the user talks, adjusting the terminal.
  • the multi-microphone noise reduction pickup range because the invention adjusts the multi-microphone noise reduction pickup range of the terminal through the non-speech signal, so it is not affected by the environmental noise, and can improve the multi-microphone noise reduction of the adjustment terminal. The accuracy of the pickup range.
  • FIG. 1 is a flowchart of a method for controlling a sound collection range of a multi-microphone noise reduction of a terminal according to an embodiment of the present invention
  • 2-1 is a flowchart of a method for controlling a sound collection range of a multi-microphone noise reduction of a terminal according to an embodiment of the present invention
  • FIG. 2-2 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • 2-3 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
  • 2-4 is a schematic diagram of an interface of a normal posture according to an embodiment of the present invention.
  • FIGS. 2-5 are schematic diagrams of an interface of an eversion posture according to an embodiment of the present invention.
  • FIGS. 2-6 are schematic diagrams of an interface of an external expansion posture according to an embodiment of the present invention.
  • 3-1 is a flowchart of a method for controlling a sound collection range of a multi-microphone noise reduction of a terminal according to an embodiment of the present invention
  • 3-2 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
  • 4-1 is a schematic structural diagram of an apparatus for controlling a sound collection range of a multi-microphone noise reduction of a terminal according to an embodiment of the present invention
  • 4-2 is a schematic structural diagram of a first determining module according to an embodiment of the present invention.
  • 4-3 is a schematic structural diagram of another first determining module according to an embodiment of the present invention.
  • 4-4 is a schematic structural diagram of another apparatus for controlling a multi-microphone noise reduction pickup range of a terminal according to an embodiment of the present invention.
  • FIGS. 4-5 are schematic structural diagrams of another first determining module according to an embodiment of the present invention.
  • FIGS. 4-6 are schematic structural diagrams of another third determining unit according to an embodiment of the present invention.
  • FIG. 4-7 is a schematic structural diagram of another apparatus for controlling a multi-microphone noise reduction pickup range of a terminal according to an embodiment of the present invention.
  • FIGS. 4-8 are schematic structural diagrams of an adjustment module according to an embodiment of the present invention.
  • 5-1 is a schematic structural diagram of another apparatus for controlling a multi-microphone noise reduction pickup range of a terminal according to an embodiment of the present invention.
  • FIG. 5-2 is a schematic structural diagram of another apparatus for controlling a multi-microphone noise reduction pickup range of a terminal according to an embodiment of the present invention.
  • the embodiment of the present invention provides a method for controlling a sound collection range of a multi-microphone noise reduction of a terminal.
  • the execution body of the method is a terminal. Referring to FIG. 1 , the method includes:
  • Step 101 transmitting a first non-speech signal, and receiving a second non-speech signal that is reflected back by the reflective object by the first non-speech signal;
  • Step 102 Determine, according to the first non-speech signal and the second non-speech signal, whether the posture of the handheld terminal when the user is talking is a normal posture;
  • Step 103 If the posture of the handheld terminal is not a normal posture when the user talks, adjust the pickup range of the multi-microphone noise reduction of the terminal.
  • the first non-speech signal is transmitted, and the second non-speech signal reflected by the reflective object by the first non-speech signal is received, and the user is determined to be in a call according to the first non-speech signal and the second non-speech signal.
  • the posture of the handheld terminal is a normal posture; if the posture of the handheld terminal is not a normal posture when the user is talking, adjusting the pickup range of the multi-microphone noise reduction of the terminal, since the present invention adjusts the multi-microphone noise reduction of the terminal through the non-speech signal
  • the pickup range is therefore not affected by environmental noise, and the accuracy of the pickup range of the multi-microphone noise reduction of the adjustment terminal can be improved.
  • the embodiment of the present invention provides a method for controlling a sound collection range of a multi-microphone noise reduction of a terminal.
  • the execution body of the method is a terminal. Referring to FIG. 2-1, the method includes:
  • Step 201 emit a first infrared light signal, and acquire a first light intensity of the first infrared light signal;
  • the terminal is provided with two proximity light sensors.
  • the two proximity light sensors are respectively referred to as a first proximity light sensor and a second proximity light sensor; wherein the first proximity light sensor can be a proximity light sensor located next to the existing earpiece on the terminal, the second proximity The light sensor can be placed on the front side of the terminal and below the terminal screen.
  • a second proximity light sensor can also be placed at the top end of the terminal.
  • the second proximity light sensor may be combined to detect the posture of the handheld terminal during the user's call, and in this step, the second proximity light sensor transmits a third infrared light signal and acquiring a third light intensity of the third infrared light signal.
  • the first infrared light signal emitted by the first proximity light sensor is reflected back by the user's head, and the second proximity light sensor emits the first
  • the three infrared light signals are also transmitted back by the user's head.
  • the infrared light signal obtained by reflecting the first infrared light signal back by the user's head is called a second infrared light signal, and the third infrared light signal is used.
  • the infrared light signal that is transmitted back by the user's head is referred to as a fourth infrared light signal, and step 202 is performed.
  • Step 202 Receive a second infrared light signal that is reflected by the reflective object by the first infrared light signal, and acquire a second light intensity of the second infrared light signal.
  • the second proximity light sensor receives the fourth infrared light signal and acquires a fourth light intensity of the fourth infrared light signal.
  • the reflective object can be the user's head when the handheld terminal is near the user's ear while the user is on a call.
  • Step 203 Calculate a first intensity difference between the second light intensity and the first light intensity
  • the fourth light intensity and the third need to be calculated in this step.
  • Step 204 Determine, according to the first intensity difference, whether the posture of the handheld terminal when the user is talking is a normal posture
  • the normal posture is that the upper end of the terminal is close to the user's ear, and the angle between the lower end of the terminal and the user's face is less than the preset angle.
  • This step can be implemented by the first mode, the second mode, the third mode, or the fourth mode; when the terminal only detects the posture of the handheld terminal when the user talks through the first proximity light sensor, the following first type can be adopted.
  • the method or the second method is implemented.
  • the third manner or the fourth manner may be implemented.
  • this step can be:
  • Determining whether the first intensity difference is greater than the first preset strength If the first intensity difference is greater than the first preset strength, determining that the posture of the handheld terminal when the user is talking is not a normal posture.
  • the first intensity difference is greater than the first preset intensity, determining that the first proximity light sensor is far away from the emitting object, that is, the upper end of the handheld terminal is not close to the user's ear when the user is talking, thereby determining that the posture of the handheld terminal is not normal when the user talks posture.
  • the posture of the handheld terminal during the user's call may be an eversion posture or an external expansion posture; see FIG. 2-5, the eversion posture is that the upper end of the handheld terminal is close to the user when the user talks. The ear, and the angle between the lower end of the terminal and the user's face is greater than the preset angle.
  • the extended position is that the upper end of the handheld terminal is not close to the user's ear when the user is talking, and the angle between the lower end of the terminal and the user's face is greater than a preset angle.
  • the preset angle and the first preset intensity may be set and changed as needed.
  • the preset angle and the first preset intensity are not specifically limited.
  • this step can be:
  • the first distance is greater than the first preset distance, it is determined that the upper end of the handheld terminal is not close to the user's ear when the user talks, thereby determining that the posture of the handheld terminal when the user is talking is not a normal posture.
  • the first preset distance may be set and changed as needed.
  • the first preset distance is not specifically limited; for example, the first preset distance is 0.8 cm or 1 cm or the like.
  • the first proximity light sensor and the second proximity light sensor are combined to determine whether the posture of the handheld terminal is a normal posture when the user talks.
  • Calculating a second intensity difference between the fourth light intensity and the third light intensity determining whether the first intensity difference is greater than the first preset intensity, and determining whether the second intensity difference is greater than the second preset intensity; if the first intensity difference is If the first preset intensity is greater than the first preset strength, or the second intensity difference is greater than the second preset strength, determining that the gesture of the handheld terminal is not a normal posture when the user is talking; if the first intensity difference is not greater than the first preset strength and the second intensity difference is not greater than The second preset strength determines that the posture of the handheld terminal when the user is talking is a normal posture.
  • the terminal may also determine, by the first distance between the first proximity light sensor and the reflective object, and the second distance between the second proximity light sensor and the reflective object, whether the gesture of the handheld terminal during the user's call is For normal posture, including:
  • Calculating a second intensity difference between the fourth light intensity and the third light intensity calculating a first distance between the first proximity light sensor and the reflective object according to the first intensity difference, and calculating a second according to the second intensity difference Approaching a second distance between the light sensor and the reflective object; determining whether the first distance is greater than the first preset distance, and determining whether the second distance is greater than the second preset distance; if the first distance is greater than the first preset distance, or The second distance is greater than the second preset distance, determining that the posture of the handheld terminal when the user is talking is not a normal posture; if the first distance is not greater than the first preset distance and the second distance is not greater than the second preset distance, determining that the user is holding the call The posture of the terminal is a normal posture.
  • the step of calculating a first distance between the first proximity photosensor and the emitting object according to the first intensity difference, and calculating the second distance between the second proximity photosensor and the reflective object according to the second intensity difference may be :
  • the second proximity light sensor when the second proximity light sensor is disposed at the top end of the terminal, when the user talks, the posture of the handheld terminal is a normal posture, and the third infrared light signal may not be reflected back by the user's head at this time.
  • the fourth infrared light signal is received within the preset duration after the three light intensity; if the fourth infrared light signal is not received within the preset time length after the third light intensity, and the first intensity difference is less than the first preset intensity Determining that the posture of the handheld terminal is a normal posture when the user talks; or if the fourth infrared light signal is not received within the preset duration after the third light intensity, and the first distance is less than the first preset distance, determining the user's call The posture of the handheld terminal is a normal posture.
  • the second proximity light sensor is disposed at the top end of the terminal, if the fourth infrared light signal is received within a preset time period after the third light intensity, it is determined that the posture of the handheld terminal when the user is talking is not a normal posture.
  • the second preset intensity, the second preset distance, and the preset duration may be set and changed according to requirements.
  • the second preset intensity, the second preset distance, and the preset duration are not specifically limited.
  • step 205 is performed.
  • Step 205 If the posture of the handheld terminal is not a normal posture when the user talks, adjust the sound collection range of the multi-microphone noise reduction of the terminal.
  • the posture of the handheld terminal is not a normal posture when the user is talking, in order to ensure that the user's posture of the handheld terminal is an eversion posture or an external expansion posture during the conversation, a clear uplink language can be obtained, and the multi-microphone of the terminal can be increased. Noise reduction range.
  • the multi-microphone noise-reduction pickup range of the terminal may be set to the posture of the handheld terminal when the user talks, and the pickup range is acquired, and the posture is stored in the terminal. And the range of the sound pickup, if the posture of the handheld terminal is not a normal posture when the user is talking, according to the abnormal posture, the sound pickup range matching the abnormal posture is obtained from the correspondence relationship between the posture and the sound pickup range, and the multi-microphone of the terminal is obtained.
  • the noise reduction range is set to the pickup range that matches the abnormal posture.
  • the eversion angle of the handheld terminal during the user's call may be acquired, according to the eversion Angle, adjust the pickup range of the multi-microphone noise reduction of the terminal, then this step can be:
  • the terminal stores a correspondence relationship between the eversion angle range and the pickup range, and correspondingly, the step of the terminal acquiring the pickup range matching the eversion angle may be:
  • the terminal determines an eversion angle range in which the eversion angle is located according to the eversion angle, and obtains an eversion angle from a correspondence relationship between the eversion angle range and the pickup range according to the eversion angle range in which the eversion angle is located Matching pickup range.
  • the terminal acquires a sound pickup range that matches the normal posture from the correspondence relationship between the posture and the sound pickup range according to the normal posture, and picks up the multi-microphone noise reduction of the terminal.
  • the sound range is adjusted to the pickup range that matches the normal posture.
  • the first infrared light signal is transmitted, and the second infrared light signal reflected by the reflective object of the first infrared light signal is received, and the user is determined to be in a call according to the first infrared light signal and the second infrared light signal.
  • the posture of the handheld terminal is a normal posture; if the user is talking, the posture of the handheld terminal
  • the potential is not a normal posture, and the pickup range of the multi-microphone noise reduction of the terminal is adjusted. Since the present invention adjusts the pickup range of the multi-microphone noise reduction of the terminal through the optical signal, it is not affected by the environmental noise, and the adjustment terminal can be improved. The accuracy of the multi-microphone noise reduction pickup range.
  • An embodiment of the present invention provides a method for controlling a sound collection range of a multi-microphone noise reduction of a terminal.
  • the execution body of the method is a terminal. Referring to FIG. 3-1, the method includes:
  • Step 301 Transmit a first high-frequency ultrasonic signal, and receive a second high-frequency ultrasonic signal that is reflected back by the reflective object by the first high-frequency ultrasonic signal;
  • the terminal has an earpiece, and the earpiece emits a first high-frequency ultrasonic signal.
  • the frequency of the first high-frequency ultrasonic signal is greater than the frequency of the sound perceived by the user's ear, so that the user's ear cannot sense the first high-frequency ultrasonic signal, and therefore, User caused interference.
  • the microphone on the terminal is referred to as a first microphone and at least one second microphone; the first microphone may be disposed at the bottom of the terminal for collecting the environment. User sound of noise; at least one second microphone can be placed at the top of the terminal for collecting ambient noise.
  • the terminal utilizes multi-microphone noise reduction to process two microphone input signals, and eliminates environmental noise in the user's voice containing ambient noise, thereby obtaining a purer user voice and transmitting the user voice to the opposite end.
  • the second high frequency ultrasonic signal transmitted by the reflective object by the first high frequency ultrasonic signal is received by the first microphone of the terminal, and the first high frequency ultrasonic signal is received by the reflective object by the at least one second microphone.
  • the second high frequency ultrasonic signal is executed in step 302.
  • Step 302 Acquire a first transfer function of the first high frequency ultrasonic signal from the earpiece of the terminal to the first microphone according to the first high frequency ultrasonic signal and the second high frequency ultrasonic signal;
  • the first transfer function is used to represent the first The transmission path of the high frequency ultrasonic signal from the earpiece to the first microphone, and the process of calculating the first high frequency ultrasonic signal from the earpiece of the terminal to the first transfer function of the first microphone is prior art and will not be described in detail herein.
  • the second transfer function is used to represent the first high frequency ultrasound
  • transfer function is an existing concept, and the transfer function will not be described in detail here.
  • Step 303 Determine, according to the first transfer function, whether the posture of the handheld terminal when the user is talking is a normal posture
  • the normal posture is that the upper end of the handheld terminal is close to the user's ear when the user is talking, and the angle between the lower end of the terminal and the user's face is less than the preset angle.
  • This step can be implemented by the following first method or the second method.
  • the step can be implemented by the following steps (1) and (2), including:
  • the transfer function corresponding to the normal posture is stored in the terminal, and the first similarity between the first transfer function and the transfer function corresponding to the normal posture is calculated according to the first transfer function and the transfer function corresponding to the normal posture.
  • Determining whether the first similarity is less than the first preset similarity If the first similarity is less than the first preset similarity, determining that the posture of the handheld terminal is not a normal posture when the user talks; if the first similarity is not less than the first preset Similarity, it is determined that the posture of the handheld terminal when the user is talking is a normal posture.
  • the posture of the handheld terminal during the user's conversation may be an eversion posture or an external expansion posture;
  • the eversion posture is that the upper end of the terminal is close to the user's ear, and the lower end of the terminal is opposite to the user's The angle between the faces is greater than the preset angle.
  • the external expansion posture is that the upper end of the terminal is not close to the user's ear, and the angle between the lower end of the terminal and the user's face is greater than the preset angle.
  • the first preset similarity may be set and changed according to requirements.
  • the first preset similarity is not specifically limited in the embodiment of the present invention; for example, the first preset similarity may be 0.6 or 0.8 or the like.
  • this step can be implemented by the following steps (A) to (D), including:
  • the minimum similarity is selected from the first similarity and the at least one second similarity, and the minimum similarity is taken as the comprehensive similarity.
  • the second preset similarity may be set and changed as needed.
  • the second preset similarity is not specifically limited.
  • the comprehensive similarity is not less than the second preset similarity, it is determined that the posture of the handheld terminal when the user talks is a normal posture.
  • Step 304 Obtain an eversion angle of the handheld terminal if the posture of the handheld terminal is not a normal posture when the user is talking;
  • This step can be implemented by the following steps (1) to (3), including:
  • the transfer function set is used to store a transfer function corresponding to each eversion angle of the handheld terminal when the user talks.
  • the eversion angle corresponding to the selected transfer function is determined as the eversion angle of the handheld terminal when the user talks.
  • Step 305 Adjust the sound collection range of the multi-microphone noise reduction of the terminal according to the eversion angle.
  • the posture of the handheld terminal is not a normal posture when the user is talking, in order to ensure that the user's posture of the handheld terminal is an eversion posture or an external expansion posture during the conversation, a clear uplink language can be obtained, and the multi-microphone of the terminal can be increased. Noise reduction range.
  • the final The pickup range of the multi-microphone noise reduction at the end is set to the pickup range matching the eversion angle, and the correspondence between the eversion angle and the pickup range is stored in the terminal, and the step may be:
  • the pickup range matching the eversion angle is obtained from the correspondence relationship between the eversion angle and the pickup range, and the pickup range of the multi-microphone noise reduction of the terminal is adjusted to be compared with the eversion angle.
  • the matching pickup range is obtained from the correspondence relationship between the eversion angle and the pickup range, and the pickup range of the multi-microphone noise reduction of the terminal is adjusted to be compared with the eversion angle.
  • the pickup range matching the normal posture is acquired, and the pickup range of the multi-microphone noise reduction of the terminal is adjusted to a pickup range that matches the normal posture.
  • the first high frequency ultrasonic signal is transmitted, and the second high frequency ultrasonic signal reflected by the reflective object by the first high frequency ultrasonic signal is received, according to the first high frequency ultrasonic signal and the second high frequency ultrasonic signal.
  • the multi-microphone noise reduction pickup range is therefore not affected by environmental noise, and the accuracy of the pickup range of the multi-microphone noise reduction of the adjustment terminal can be improved.
  • An embodiment of the present invention provides a device for controlling a sound collection range of a multi-microphone noise reduction of a terminal.
  • the device includes:
  • a transmitting module 401 configured to transmit a first non-speech signal
  • the receiving module 402 is configured to receive a second non-speech signal that is reflected back by the reflective object by the first non-speech signal;
  • the first determining module 403 is configured to determine, according to the first non-speech signal and the second non-speech signal, whether the gesture of the handheld terminal is a normal posture when the user talks;
  • the adjusting module 404 is configured to adjust a multi-microphone noise reduction pickup range of the terminal if the posture of the handheld terminal is not a normal posture when the user talks.
  • first non-speech signal is a first infrared light signal
  • second non-speech signal is a second infrared light signal
  • the first determining module 403 includes:
  • the first acquiring unit 4031 is configured to acquire a first light intensity of the first proximity light sensor on the terminal to emit the first infrared light signal and a second light intensity of the first proximity light sensor to receive the second infrared light signal;
  • a first calculating unit 4032 configured to calculate a first strongest between the second light intensity and the first light intensity Degree difference
  • the first determining unit 4033 is configured to determine, according to the first intensity difference, whether the gesture of the handheld terminal when the user is talking is a normal posture.
  • the first determining unit 4033 is configured to determine that the posture of the handheld terminal is not a normal posture when the user talks, if the first intensity difference is greater than the first preset strength; or
  • the first determining unit 4033 is configured to calculate, according to the first intensity difference, a first distance between the first proximity light sensor and the reflective object, and if the first distance is greater than the first preset distance, determine a posture of the handheld terminal when the user talks Not a normal posture.
  • the first determining module 403 further includes:
  • the second acquiring unit 4034 is configured to acquire a third light intensity of the third proximity light sensor on the terminal to emit the third infrared light signal, and a fourth infrared light signal that is received by the second proximity light sensor and the third infrared light signal is reflected by the reflective object.
  • a first calculating unit 4035 configured to calculate a second intensity difference between the fourth light intensity and the third light intensity
  • the second determining unit 4036 is configured to determine that the posture of the handheld terminal is not a normal posture when the user talks, if the second intensity difference is greater than the second preset strength;
  • the first determining unit 4033 is configured to determine, according to the first intensity difference, whether the gesture of the handheld terminal when the user is talking is a normal posture.
  • the apparatus further includes:
  • a first calculating module 405, configured to respectively calculate a first distance between the first proximity light sensor and the reflective object and a second distance between the second proximity light sensor and the reflective object according to the first intensity difference and the second intensity difference ;
  • a second calculating module 406 configured to calculate an angle between the terminal and the reflective object according to the first distance, the second distance, and a third distance between the first proximity light sensor and the second proximity light sensor;
  • the second determining module 407 is configured to determine an angle of the eversion angle of the handheld terminal when the user talks.
  • first non-speech signal is a first high frequency ultrasonic signal
  • second non-speech signal is a second high frequency ultrasonic signal
  • the first determining module 403 includes:
  • a third obtaining unit 4037 configured to acquire, according to the first high frequency ultrasonic signal and the second high frequency ultrasonic signal, a first transfer function of the first high frequency ultrasonic signal from the earpiece of the terminal to the first microphone;
  • the third determining unit 4038 is configured to determine, according to the first transfer function, whether the posture of the handheld terminal when the user is talking is a normal posture.
  • the third determining unit 4037 includes:
  • a first calculating sub-unit 40371 configured to calculate a first similarity between the first transfer function and a transfer function corresponding to the normal posture
  • the first determining subunit 40372 is configured to determine that the posture of the handheld terminal is not a normal posture when the user talks if the first similarity is less than the first preset similarity.
  • the third determining unit 4037 includes:
  • the obtaining subunit 40373 is configured to acquire, according to the first high frequency ultrasonic signal and the second high frequency ultrasonic signal, at least one second transfer function of the first high frequency ultrasonic signal from the earpiece of the terminal to the at least one second microphone;
  • a second calculation sub-unit 40374 configured to calculate a first similarity between the transfer functions of the first transfer function and the normal posture, and each second transfer function of the at least one second transfer function corresponds to the normal posture Transmitting a second similarity between the functions to obtain at least one second similarity;
  • a third calculating subunit 40375 configured to calculate a comprehensive similarity according to the first similarity and the at least one second similarity
  • the second determining subunit 40376 is configured to determine that the posture of the handheld terminal is not a normal posture when the user talks if the integrated similarity is less than the second preset similarity.
  • the apparatus further includes:
  • the third calculating module 408 is configured to separately calculate a third similarity between the first transfer function and each of the transfer function sets according to the first transfer function, where the transfer function set is used to store the handheld terminal of the user during the call a transfer function corresponding to each eversion angle;
  • a selection module 409 for selecting a transfer function that has a maximum third similarity with the first transfer function
  • the third determining module 410 is configured to determine an eversion angle corresponding to the selected transfer function as an eversion angle of the handheld terminal when the user talks.
  • the adjustment module 404 is configured to increase the sound collection range of the multi-microphone noise reduction of the terminal.
  • the adjustment module 404 includes:
  • a fourth obtaining unit 4041 configured to acquire a sound collecting range that matches an everted angle
  • the adjusting unit 4042 is configured to adjust the pickup range of the multi-microphone noise reduction of the terminal to an eversion angle Matching pickup range.
  • the first non-speech signal is transmitted, and the second non-speech signal reflected by the reflective object by the first non-speech signal is received, and the user is determined to be in a call according to the first non-speech signal and the second non-speech signal.
  • the posture of the handheld terminal is a normal posture; if the posture of the handheld terminal is not a normal posture when the user is talking, adjusting the pickup range of the multi-microphone noise reduction of the terminal, since the present invention adjusts the multi-microphone noise reduction of the terminal through the non-speech signal
  • the pickup range is therefore not affected by environmental noise, and the accuracy of the pickup range of the multi-microphone noise reduction of the adjustment terminal can be improved.
  • An embodiment of the present invention provides a device for controlling a multi-microphone noise reduction pickup range of a terminal.
  • the device includes: a transmitter 501, a receiver 502, and a processor 503;
  • a transmitter 501 configured to transmit a first non-speech signal
  • the receiver 502 is configured to receive a second non-speech signal that is reflected back by the reflective object by the first non-speech signal;
  • the processor 503 is configured to determine, according to the first non-speech signal and the second non-speech signal, whether the gesture of the handheld terminal is a normal posture when the user talks;
  • the processor 503 is further configured to adjust a multi-microphone noise reduction pickup range of the terminal if the posture of the handheld terminal is not a normal posture when the user talks.
  • first non-speech signal is a first infrared light signal
  • second non-speech signal is a second infrared light signal
  • the processor 503 is further configured to acquire a first light intensity of the first proximity light sensor on the terminal to emit the first infrared light signal and a second light intensity of the first proximity light sensor to receive the second infrared light signal; calculate the second light intensity And a first intensity difference between the first light intensity and the first light intensity; determining whether the posture of the handheld terminal is a normal posture when the user is talking according to the first intensity difference.
  • the processor 503 is further configured to: if the first intensity difference is greater than the first preset strength, determine that the gesture of the handheld terminal is not a normal posture when the user talks; or
  • the processor 503 is further configured to calculate a first distance between the first proximity light sensor and the reflective object according to the first intensity difference, and if the first distance is greater than the first preset distance, determine that the posture of the handheld terminal when the user talks is not Normal posture.
  • the processor 503 is further configured to acquire a third light intensity of the second proximity light sensor on the terminal to emit the third infrared light signal, and a second proximity light sensor to receive the third infrared light signal to be the reflected object. a fourth light intensity of the reflected fourth infrared light signal;
  • the processor 503 is further configured to calculate a second intensity difference between the fourth light intensity and the third light intensity
  • the processor 503 is further configured to determine that the posture of the handheld terminal is not a normal posture when the user talks, if the second intensity difference is greater than the second preset strength;
  • the processor 503 is further executed, and according to the first, the device further includes:
  • the processor 503 is further configured to separately calculate a first distance between the first proximity light sensor and the reflective object and a second distance between the second proximity light sensor and the reflective object according to the first intensity difference and the second intensity difference;
  • the processor 503 is further configured to calculate an angle between the terminal and the reflective object according to the first distance, the second distance, and a third distance between the first proximity light sensor and the second proximity light sensor;
  • the processor 503 is further configured to determine an angle of an eversion angle of the handheld terminal when the user talks.
  • first non-speech signal is a first high frequency ultrasonic signal
  • second non-speech signal is a second high frequency ultrasonic signal
  • the device further includes a first microphone
  • the processor 503 is further configured to acquire, according to the first high frequency ultrasonic signal and the second high frequency ultrasonic signal, a first transfer function of the first high frequency ultrasonic signal from the earpiece of the terminal to the first microphone;
  • the processor 503 is further configured to determine, according to the first transfer function, whether the gesture of the handheld terminal when the user is talking is a normal gesture.
  • the processor 503 is further configured to calculate a first similarity between the first transfer function and the transfer function corresponding to the normal posture;
  • the processor 503 is further configured to determine that the posture of the handheld terminal is not a normal posture when the user talks if the first similarity is less than the first preset similarity.
  • the device further includes at least one second microphone
  • the processor 503 is further configured to acquire, according to the first high frequency ultrasonic signal and the second high frequency ultrasonic signal, at least one second transfer function of the first high frequency ultrasonic signal from the earpiece of the terminal to the at least one second microphone;
  • the processor 503 is further configured to calculate a first similarity between the transfer functions corresponding to the normal posture of the first transfer function, and a transfer function corresponding to the normal posture of each of the at least one second transfer function a second similarity between the two, to obtain at least one second similarity;
  • the processor 503 is further configured to calculate a comprehensive similarity according to the first similarity and the at least one second similarity degree;
  • the processor 503 is further configured to determine that the gesture of the handheld terminal is not a normal gesture when the user talks if the integrated similarity is less than the second preset similarity.
  • the device further includes:
  • the processor 503 is further configured to separately calculate, according to the first transfer function, a third similarity between each of the first transfer function and each of the transfer function sets, where the transfer function set is used to store each of the handheld terminals when the user talks a transfer function corresponding to an valgus angle;
  • the processor 503 is further configured to select a transfer function that has a maximum third similarity with the first transfer function
  • the processor 503 is further configured to determine an eversion angle corresponding to the selected transfer function as an eversion angle of the handheld terminal when the user talks.
  • the processor 503 is further configured to increase a multi-microphone noise reduction pickup range of the terminal.
  • the processor 503 is further configured to acquire a sound collection range that matches the valgus angle, and adjust the sound collection range of the multi-microphone noise reduction of the terminal to a sound pickup range that matches the valgus angle.
  • the first non-speech signal is transmitted, and the second non-speech signal reflected by the reflective object by the first non-speech signal is received, and the user is determined to be in a call according to the first non-speech signal and the second non-speech signal.
  • the posture of the handheld terminal is a normal posture; if the posture of the handheld terminal is not a normal posture when the user is talking, adjusting the pickup range of the multi-microphone noise reduction of the terminal, since the present invention adjusts the multi-microphone noise reduction of the terminal through the non-speech signal
  • the pickup range is therefore not affected by environmental noise, and the accuracy of the pickup range of the multi-microphone noise reduction of the adjustment terminal can be improved.
  • the present invention provides a computer readable storage medium storing one or more programs, the one or more programs comprising instructions that, when executed by a portable electronic device comprising a plurality of applications, cause the portable electronic
  • the device performs transmitting a first non-speech signal and receiving a second non-speech signal that the first non-speech signal is reflected back by the reflective object;
  • the pickup range of the multi-microphone noise reduction of the terminal is adjusted.
  • the first non-speech signal is a first infrared light signal
  • the second non-speech signal is a second infrared light signal
  • the instructions when executed by a portable electronic device comprising a plurality of applications, causing the portable electronic device to perform acquiring a first light intensity of the first proximity light sensor on the terminal to emit the first infrared light signal and the Receiving, by the first proximity photosensor, a second light intensity of the second infrared light signal;
  • the posture of the handheld terminal when the user talks is a normal posture.
  • the instructions when executed by a portable electronic device including a plurality of applications, cause the portable electronic device to perform, if the first intensity difference is greater than a first preset intensity, determining that the gesture of the handheld terminal is not when the user talks Normal posture; or,
  • the instructions when executed by a portable electronic device including a plurality of applications, causing the portable electronic device to perform acquiring a third light intensity and a third light intensity signal emitted by a second proximity light sensor on the terminal
  • the second proximity light sensor receives a fourth light intensity of the fourth infrared light signal reflected by the reflective object by the third infrared light signal;
  • the second intensity difference is greater than the second preset strength, determining that the posture of the handheld terminal when the user is talking is not a normal posture
  • the second intensity difference is not greater than the second preset strength, performing the step of determining whether the gesture of the handheld terminal is a normal posture according to the first intensity difference when the user talks.
  • the instructions when executed by a portable electronic device including a plurality of applications, causing the portable electronic device to perform calculating the first proximity light sensor according to the first intensity difference and the second intensity difference, respectively a first distance from the reflective object and a second distance between the second proximity light sensor and the reflective object;
  • the included angle is determined as an eversion angle at which the user holds the terminal.
  • first non-speech signal is a first high frequency ultrasonic signal
  • second non-speech signal is a second high frequency ultrasonic signal
  • the instructions cause the portable power when executed by a portable electronic device including a plurality of applications
  • the sub-device performs acquiring a first transfer function of the first high-frequency ultrasonic signal from the earpiece of the terminal to the first microphone according to the first high-frequency ultrasonic signal and the second high-frequency ultrasonic signal;
  • the first transfer function it is determined whether the posture of the handheld terminal when the user talks is a normal posture.
  • the instructions when executed by a portable electronic device including a plurality of applications, cause the portable electronic device to perform a first similarity between calculating a transfer function corresponding to the first transfer function and a normal gesture;
  • the posture of the handheld terminal when the user is talking is not a normal posture.
  • the instructions when executed by a portable electronic device including a plurality of applications, causing the portable electronic device to perform acquiring the first according to the first high frequency ultrasonic signal and the second high frequency ultrasonic signal a high frequency ultrasonic signal from at least one second transfer function of the handset of the terminal to the at least one second microphone;
  • the comprehensive similarity is less than the second preset similarity, it is determined that the posture of the handheld terminal when the user is talking is not a normal posture.
  • the instructions when executed by a portable electronic device including a plurality of applications, cause the portable electronic device to perform calculation of each of the first transfer function and the transfer function set according to the first transfer function a third similarity between the transfer functions, the transfer function set is configured to store a transfer function corresponding to each eversion angle of the handheld terminal when the user talks;
  • the eversion angle corresponding to the selected transfer function is determined as the eversion angle of the terminal when the user talks.
  • the instructions when executed by a portable electronic device including a plurality of applications, cause the portable electronic device to perform a pickup range that increases multi-microphone noise reduction of the terminal;
  • the first non-speech signal is transmitted, and the first non-speech signal is received and reflected.
  • the second non-speech signal reflected by the object determines whether the gesture of the handheld terminal is a normal posture when the user talks according to the first non-speech signal and the second non-speech signal; if the gesture of the handheld terminal is not a normal posture when the user talks, adjusting the terminal.
  • the multi-microphone noise reduction pickup range because the invention adjusts the multi-microphone noise reduction pickup range of the terminal through the non-speech signal, so it is not affected by the environmental noise, and can improve the multi-microphone noise reduction of the adjustment terminal. The accuracy of the pickup range.
  • the apparatus for controlling the multi-microphone noise reduction pickup range of the terminal provided by the above embodiment is only illustrated by the division of the above functional modules when controlling the multi-microphone noise reduction pickup range of the terminal.
  • the above function assignment can be completed by different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
  • the method for controlling the multi-microphone noise reduction pickup range of the control terminal and the method for controlling the multi-microphone noise reduction pickup range of the control terminal provided by the above embodiments are the same concept, and the specific implementation process is described in the method embodiment. I won't go into details here.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Acoustics & Sound (AREA)
  • Physics & Mathematics (AREA)
  • Otolaryngology (AREA)
  • Human Computer Interaction (AREA)
  • Computational Linguistics (AREA)
  • Quality & Reliability (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Multimedia (AREA)
  • General Health & Medical Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)

Abstract

本发明公开了一种控制终端的多麦克风降噪的拾音范围的方法和装置,属于终端技术领域。方法包括:发射第一非语音信号,并接收所述第一非语音信号被反射物体反射回来的第二非语音信号;根据所述第一非语音信号和所述第二非语音信号,确定用户通话时手持终端的姿势是否为正常姿势;如果用户通话时手持终端的姿势不是正常姿势,调整所述终端的多麦克风降噪的拾音范围。装置包括:发射模块,接收模块,第一确定模块和调整模块。本发明可以提高调整终端的多麦克风降噪的拾音范围的准确性。

Description

控制终端的多麦克风降噪的拾音范围的方法和装置
本申请要求于2015年10月20日提交中国专利局,申请号为201510689091.9发明名称为“控制终端的多麦克风降噪的拾音范围的方法和装置”的中国专利申请,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及终端技术领域,特别涉及一种控制终端的多麦克风降噪的拾音范围的方法和装置。
背景技术
为了过滤手机传递给对端用户声音中的噪声,大部分手机设置有多个麦克风,并利用多麦克风降噪,处理多个麦克风采集的多路麦克风输入信号,得到一路上行输出信号,多麦克风降噪处理通常相当于在手机附近形成具有一定几何形状的拾音范围,采集该拾音范围内的用户上行语音,而抑制该拾音范围外的环境噪声。比如一种典型的两个麦克风方案的布局是一个麦克风设置在手机的顶端附近,主要用于采集环境噪声;另一个麦克风设置在手机的底部,采集包含环境噪声的用户声音。手机利用多麦克风降噪处理两路麦克风输入信号,将包含环境噪声的用户声音中的环境噪声消除,得到较纯净的用户声音,将用户声音传递给对端。
从拾音范围是否是固定的角度,可以将多麦克风降噪分为两类。固定的拾音范围效果比较稳定,但当用户手持姿势异常,比如机身大角度偏离用户脸部时,有可能因为用户嘴巴偏出固定的拾音范围而导致上行无声,或声音小,或音质差。简单设置较大的拾音范围通常会减弱对环境噪声的滤除效果。为了在上行降噪效果和对用户手持姿势的适应能力之间取得更好的平衡,目前有一些多麦克风降噪方案会利用麦克风采集的语音通话频段信号对用户的手持姿势做出估计,并据此控制手机的多麦克风降噪的拾音范围,从而在用户手持姿势正常时以较小的拾音范围尽可能滤除环境噪声,而当手持姿势出现异常时扩大拾音范围,避免对用户上行语音的音量或音质造成明显负面影响。
在实现本发明的过程中,发明人发现现有技术至少存在以下问题:
通过语音频段的信号对用户手持姿势的估计容易受到环境噪声的影响,从 而导致控制多麦克风降噪的拾音范围的准确性低。
发明内容
为了解决现有技术的问题,本发明提供了一种控制终端的多麦克风降噪的拾音范围的方法和装置。技术方案如下:
第一方面,本发明提供了一种控制终端的多麦克风降噪的拾音范围的方法,所述方法包括:
发射第一非语音信号,并接收所述第一非语音信号被反射物体反射回来的第二非语音信号;
根据所述第一非语音信号和所述第二非语音信号,确定用户通话时手持终端的姿势是否为正常姿势;
如果用户通话时手持终端的姿势不是正常姿势,调整所述终端的多麦克风降噪的拾音范围。
结合第一方面,在第一方面的第一种可能的实现方式中,所述第一非语音信号为第一红外光信号,所述第二非语音信号为第二红外光信号;
所述根据所述第一非语音信号和所述第二非语音信号,确定用户通话时手持终端的姿势是否为正常姿势,包括:
获取所述终端上的第一接近光传感器发射所述第一红外光信号的第一光线强度和所述第一接近光传感器接收所述第二红外光信号的第二光线强度;
计算所述第二光线强度和所述第一光线强度之间的第一强度差;
根据所述第一强度差,确定用户通话时手持终端的姿势是否为正常姿势。
结合第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述根据所述第一强度差,确定用户通话时手持终端的姿势是否为正常姿势,包括:
如果所述第一强度差大于第一预设强度,则确定用户通话时手持终端的姿势不是正常姿势;或者,
根据所述第一强度差,计算所述第一接近光传感器与所述反射物体之间的第一距离,如果所述第一距离大于第一预设距离,则确定用户通话时手持终端的姿势不是正常姿势。
结合第一方面的第一种可能的实现方式,在第一方面的第三种可能的实现 方式中,所述根据所述第一强度差,确定用户持终端的姿势是否为正常姿势之前,还包括:
获取所述终端上的第二接近光传感器发射第三红外光信号的第三光线强度和所述第二接近光传感器接收所述第三红外光信号被所述反射物体反射回来的第四红外光信号的第四光线强度;
计算所述第四光线强度和所述第三光线强度之间的第二强度差;
如果所述第二强度差大于第二预设强度,则确定用户通话时手持终端的姿势不是正常姿势;
如果所述第二强度差不大于所述第二预设强度,则执行所述根据所述第一强度差,确定用户通话时手持终端的姿势是否为正常姿势的步骤。
结合第一方面的第三种可能的实现方式,在第一方面的第四种可能的实现方式中,所述方法还包括:
根据所述第一强度差和所述第二强度差,分别计算所述第一接近光传感器与所述反射物体之间的第一距离以及所述第二接近光传感器与所述反射物体之间的第二距离;
根据所述第一距离、所述第二距离以及所述第一接近光传感器和所述第二接近光传感器之间的第三距离,计算所述终端与所述反射物体之间的夹角;
将所述夹角确定为所述用户手持所述终端的外翻角度。
结合第一方面,在第一方面的第五种可能的实现方式中,所述第一非语音信号为第一高频超声信号,所述第二非语音信号为第二高频超声信号;
所述根据所述第一非语音信号和所述第二非语音信号,确定用户通话时手持终端的姿势是否为正常姿势,包括:
根据所述第一高频超声信号和所述第二高频超声信号,获取所述第一高频超声信号从所述终端的听筒到第一麦克风的第一传递函数;
根据所述第一传递函数,确定用户通话时手持终端的姿势是否为正常姿势。
结合第一方面的第五种可能的实现方式,在第一方面的第六种可能的实现方式中,所述根据所述第一传递函数,确定用户通话时手持终端的姿势是否为正常姿势,包括:
计算所述第一传递函数和正常姿势对应的传递函数之间的第一相似度;
如果所述第一相似度小于第一预设相似度,确定用户通话时手持终端的姿 势不是正常姿势。
结合第一方面的第五种可能的实现方式,在第一方面的第七种可能的实现方式中,其特征在于,所述根据所述第一传递函数,确定用户通话时手持终端的姿势是否为正常姿势,包括:
根据所述第一高频超声信号和所述第二高频超声信号,获取所述第一高频超声信号从所述终端的听筒到至少一个第二麦克风的至少一个第二传递函数;
计算所述第一传递函数与正常姿势对应的传递函数之间的第一相似度,以及,所述至少一个第二传递函数中的每个第二传递函数与正常姿势对应的传递函数之间的第二相似度,得到至少一个第二相似度;
根据所述第一相似度和所述至少一个第二相似度,计算综合相似度;
如果所述综合相似度小于第二预设相似度,确定用户通话时手持终端的姿势不是正常姿势。
结合第一方面的第五种可能的实现方式,在第一方面的第八种可能的实现方式中,所述方法还包括:
根据所述第一传递函数,分别计算所述第一传递函数与传递函数集合中的每个传递函数之间的第三相似度,所述传递函数集合用于存储用户通话时手持终端的每个外翻角度对应的传递函数;
选择与所述第一传递函数之间最大的第三相似度的传递函数;
将所述选择的传递函数对应的外翻角度确定为所述用户手持所述终端的外翻角度。
结合第一方面的第四或者第八种可能的实现方式,在第一方面的第九种可能的实现方式中,所述调整所述终端的多麦克风降噪的拾音范围,包括:
增大所述终端的多麦克风降噪的拾音范围;或者,
获取与所述外翻角度相匹配的拾音范围,将所述终端的多麦克风降噪的拾音范围调整为与所述外翻角度相匹配的拾音范围。
第二方面,本发明提供了一种控制终端的多麦克风降噪的拾音范围的装置,所述装置包括:
发射模块,用于发射第一非语音信号;
接收模块,用于接收所述第一非语音信号被反射物体反射回来的第二非语 音信号;
第一确定模块,用于根据所述第一非语音信号和所述第二非语音信号,确定用户通话时手持终端的姿势是否为正常姿势;
调整模块,用于如果用户通话时手持终端的姿势不是正常姿势,调整所述终端的多麦克风降噪的拾音范围。
结合第二方面,在第二方面的第一种可能的实现方式中,所述第一非语音信号为第一红外光信号,所述第二非语音信号为第二红外光信号;
所述第一确定模块,包括:
第一获取单元,用于获取所述终端上的第一接近光传感器发射所述第一红外光信号的第一光线强度和所述第一接近光传感器接收所述第二红外光信号的第二光线强度;
第一计算单元,用于计算所述第二光线强度和所述第一光线强度之间的第一强度差;
第一确定单元,用于根据所述第一强度差,确定用户通话时手持终端的姿势是否为正常姿势。
结合第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,所述第一确定单元,用于如果所述第一强度差大于第一预设强度,则确定用户通话时手持终端的姿势不是正常姿势;或者,
所述第一确定单元,用于根据所述第一强度差,计算所述第一接近光传感器与所述反射物体之间的第一距离,如果所述第一距离大于第一预设距离,则确定用户通话时手持终端的姿势不是正常姿势。
结合第二方面的第一种可能的实现方式,在第二方面的第三种可能的实现方式中,所述第一确定模块,还包括:
第二获取单元,用于获取所述终端上的第二接近光传感器发射第三红外光信号的第三光线强度和所述第二接近光传感器接收所述第三红外光信号被所述反射物体反射回来的第四红外光信号的第四光线强度;
第一计算单元,用于计算所述第四光线强度和所述第三光线强度之间的第二强度差;
第二确定单元,用于如果所述第二强度差大于第二预设强度,则确定用户通话时手持终端的姿势不是正常姿势;
如果所述第二强度差不大于所述第二预设强度,则执行所述第一确定单元,用于根据所述第一强度差,确定用户通话时手持终端的姿势是否为正常姿势。
结合第二方面的第三种可能的实现方式,在第二方面的第四种可能的实现方式中,所述装置还包括:
第一计算模块,用于根据所述第一强度差和所述第二强度差,分别计算所述第一接近光传感器与所述反射物体之间的第一距离以及所述第二接近光传感器与所述反射物体之间的第二距离;
第二计算模块,用于根据所述第一距离、所述第二距离以及所述第一接近光传感器和所述第二接近光传感器之间的第三距离,计算所述终端与所述反射物体之间的夹角;
第二确定模块,用于将所述夹角确定为所述用户手持所述终端的外翻角度。
结合第二方面,在第二方面的第五种可能的实现方式中,所述第一非语音信号为第一高频超声信号,所述第二非语音信号为第二高频超声信号;
所述第一确定模块,包括:
第三获取单元,用于根据所述第一高频超声信号和所述第二高频超声信号,获取所述第一高频超声信号从所述终端的听筒到第一麦克风的第一传递函数;
第三确定单元,用于根据所述第一传递函数,确定用户通话时手持终端的姿势是否为正常姿势。
结合第二方面的第五种可能的实现方式,在第二方面的第六种可能的实现方式中,所述第三确定单元,包括:
第一计算子单元,用于计算所述第一传递函数和正常姿势对应的传递函数之间的第一相似度;
第一确定子单元,用于如果所述第一相似度小于第一预设相似度,确定用户通话时手持终端的姿势不是正常姿势。
结合第二方面的第五种可能的实现方式,在第二方面的第七种可能的实现方式中,所述第三确定单元,包括:
获取子单元,用于根据所述第一高频超声信号和所述第二高频超声信号,获取所述第一高频超声信号从所述终端的听筒到至少一个第二麦克风的至少一个第二传递函数;
第二计算子单元,用于计算所述第一传递函数与正常姿势对应的传递函数 之间的第一相似度,以及,所述至少一个第二传递函数中的每个第二传递函数与正常姿势对应的传递函数之间的第二相似度,得到至少一个第二相似度;
第三计算子单元,用于根据所述第一相似度和所述至少一个第二相似度,计算综合相似度;
第二确定子单元,用于如果所述综合相似度小于第二预设相似度,确定用户通话时手持终端的姿势不是正常姿势。
结合第二方面的第五种可能的实现方式,在第二方面的第八种可能的实现方式中,所述装置还包括:
第三计算模块,用于根据所述第一传递函数,分别计算所述第一传递函数与传递函数集合中的每个传递函数之间的第三相似度,所述传递函数集合用于存储用户通话时手持终端的每个外翻角度对应的传递函数;
选择模块,用于选择与所述第一传递函数之间最大的第三相似度的传递函数;
第三确定模块,用于将所述选择的传递函数对应的外翻角度确定为所述用户手持所述终端的外翻角度。
结合第二方面的第四或者第八种可能的实现方式,在第二方面的第九种可能的实现方式中,所述调整模块,用于增大所述终端的多麦克风降噪的拾音范围;或者,
所述调整模块,包括:
第四获取单元,用于获取与所述外翻角度相匹配的拾音范围;
调整单元,用于将所述终端的多麦克风降噪的拾音范围调整为与所述外翻角度相匹配的拾音范围。
第三方面,本发明提供了一种控制终端的多麦克风降噪的拾音范围的装置,所述装置包括:发射器、接收器和处理器;
所述发射器,用于发射第一非语音信号;
所述接收器,用于接收所述第一非语音信号被反射物体反射回来的第二非语音信号;
所述处理器,用于根据所述第一非语音信号和所述第二非语音信号,确定用户通话时手持终端的姿势是否为正常姿势;
所述处理器,还用于如果用户通话时手持终端的姿势不是正常姿势,调整所述终端的多麦克风降噪的拾音范围。
结合第三方面,在第三方面的第一种可能的实现方式中,所述第一非语音信号为第一红外光信号,所述第二非语音信号为第二红外光信号;
所述处理器,还用于获取所述终端上的第一接近光传感器发射所述第一红外光信号的第一光线强度和所述第一接近光传感器接收所述第二红外光信号的第二光线强度;计算所述第二光线强度和所述第一光线强度之间的第一强度差;根据所述第一强度差,确定用户通话时手持终端的姿势是否为正常姿势。
结合第三方面的第一种可能的实现方式,在第三方面的第二种可能的实现方式中,所述处理器,还用于如果所述第一强度差大于第一预设强度,则确定用户通话时手持终端的姿势不是正常姿势;或者,
所述处理器,还用于根据所述第一强度差,计算所述第一接近光传感器与所述反射物体之间的第一距离,如果所述第一距离大于第一预设距离,则确定用户通话时手持终端的姿势不是正常姿势。
结合第三方面的第一种可能的实现方式,在第三方面的第三种可能的实现方式中,所述处理器,还用于获取所述终端上的第二接近光传感器发射第三红外光信号的第三光线强度和所述第二接近光传感器接收所述第三红外光信号被所述反射物体反射回来的第四红外光信号的第四光线强度;
所述处理器,还用于计算所述第四光线强度和所述第三光线强度之间的第二强度差;
所述处理器,还用于如果所述第二强度差大于第二预设强度,则确定用户通话时手持终端的姿势不是正常姿势;
如果所述第二强度差不大于所述第二预设强度,则执行所述所述处理器,还用于根据所述第一强度差,确定用户通话时手持终端的姿势是否为正常姿势。
结合第三方面的第三种可能的实现方式,在第三方面的第四种可能的实现方式中,所述装置还包括:
所述处理器,还用于根据所述第一强度差和所述第二强度差,分别计算所述第一接近光传感器与所述反射物体之间的第一距离以及所述第二接近光传感器与所述反射物体之间的第二距离;
所述处理器,还用于根据所述第一距离、所述第二距离以及所述第一接近 光传感器和所述第二接近光传感器之间的第三距离,计算所述终端与所述反射物体之间的夹角;
所述处理器,还用于将所述夹角确定为所述用户手持所述终端的外翻角度。
结合第三方面,在第三方面的第五种可能的实现方式中,所述装置还包括第一麦克风,所述第一非语音信号为第一高频超声信号,所述第二非语音信号为第二高频超声信号;
所述处理器,还用于根据所述第一高频超声信号和所述第二高频超声信号,获取所述第一高频超声信号从所述终端的听筒到所述第一麦克风的第一传递函数;
所述处理器,还用于根据所述第一传递函数,确定用户通话时手持终端的姿势是否为正常姿势。
结合第三方面的第五种可能的实现方式,在第三方面的第六种可能的实现方式中,所述处理器,还用于计算所述第一传递函数和正常姿势对应的传递函数之间的第一相似度;
所述处理器,还用于如果所述第一相似度小于第一预设相似度,确定用户通话时手持终端的姿势不是正常姿势。
结合第三方面的第五种可能的实现方式,在第三方面的第七种可能的实现方式中,所述装置还包括至少一个第二麦克风;
所述处理器,还用于根据所述第一高频超声信号和所述第二高频超声信号,获取所述第一高频超声信号从所述终端的听筒到至少一个第二麦克风的至少一个第二传递函数;
所述处理器,还用于计算所述第一传递函数与正常姿势对应的传递函数之间的第一相似度,以及,所述至少一个第二传递函数中的每个第二传递函数与正常姿势对应的传递函数之间的第二相似度,得到至少一个第二相似度;
所述处理器,还用于根据所述第一相似度和所述至少一个第二相似度,计算综合相似度;
所述处理器,还用于如果所述综合相似度小于第二预设相似度,确定用户通话时手持终端的姿势不是正常姿势。
结合第三方面的第五种可能的实现方式,在第三方面的第八种可能的实现方式中,所述装置还包括:
所述处理器,还用于根据所述第一传递函数,分别计算所述第一传递函数与传递函数集合中的每个传递函数之间的第三相似度,所述传递函数集合用于存储用户通话时手持终端的每个外翻角度对应的传递函数;
所述处理器,还用于选择与所述第一传递函数之间最大的第三相似度的传递函数;
所述处理器,还用于将所述选择的传递函数对应的外翻角度确定为所述用户手持所述终端的外翻角度。
结合第三方面的第四或者第八种可能的实现方式,在第三方面的第九种可能的实现方式中,所述处理器,还用于增大所述终端的多麦克风降噪的拾音范围;或者,
所述处理器,还用于获取与所述外翻角度相匹配的拾音范围,将所述终端的多麦克风降噪的拾音范围调整为与所述外翻角度相匹配的拾音范围。
第四方面,本发明提供了一种存储一个或多个程序的计算机可读存储介质,所述一个或多个程序包括指令,所述指令当被包括多个应用程序的便携式电子设备执行时使所述便携式电子设备执行发射第一非语音信号,并接收所述第一非语音信号被反射物体反射回来的第二非语音信号;
根据所述第一非语音信号和所述第二非语音信号,确定用户通话时手持终端的姿势是否为正常姿势;
如果用户通话时手持终端的姿势不是正常姿势,调整所述终端的多麦克风降噪的拾音范围。
结合第四方面,在第四方面的第一种可能的实现方式中,所述第一非语音信号为第一红外光信号,所述第二非语音信号为第二红外光信号;
所述指令当被包括多个应用程序的便携式电子设备执行时使所述便携式电子设备执行获取所述终端上的第一接近光传感器发射所述第一红外光信号的第一光线强度和所述第一接近光传感器接收所述第二红外光信号的第二光线强度;
计算所述第二光线强度和所述第一光线强度之间的第一强度差;
根据所述第一强度差,确定用户通话时手持终端的姿势是否为正常姿势。
结合第四方面的第一种可能的实现方式,在第四方面的第二种可能的实现方式中,所述指令当被包括多个应用程序的便携式电子设备执行时使所述便携 式电子设备执行如果所述第一强度差大于第一预设强度,则确定用户通话时手持终端的姿势不是正常姿势;或者,
根据所述第一强度差,计算所述第一接近光传感器与所述反射物体之间的第一距离,如果所述第一距离大于第一预设距离,则确定用户通话时手持终端的姿势不是正常姿势。
结合第四方面的第一种可能的实现方式,在第四方面的第三种可能的实现方式中,所述指令当被包括多个应用程序的便携式电子设备执行时使所述便携式电子设备执行获取所述终端上的第二接近光传感器发射第三红外光信号的第三光线强度和所述第二接近光传感器接收所述第三红外光信号被所述反射物体反射回来的第四红外光信号的第四光线强度;
计算所述第四光线强度和所述第三光线强度之间的第二强度差;
如果所述第二强度差大于第二预设强度,则确定用户通话时手持终端的姿势不是正常姿势;
如果所述第二强度差不大于所述第二预设强度,则执行所述根据所述第一强度差,确定用户通话时手持终端的姿势是否为正常姿势的步骤。
结合第四方面的第三种可能的实现方式,在第四方面的第四种可能的实现方式中,所述指令当被包括多个应用程序的便携式电子设备执行时使所述便携式电子设备执行根据所述第一强度差和所述第二强度差,分别计算所述第一接近光传感器与所述反射物体之间的第一距离以及所述第二接近光传感器与所述反射物体之间的第二距离;
根据所述第一距离、所述第二距离以及所述第一接近光传感器和所述第二接近光传感器之间的第三距离,计算所述终端与所述反射物体之间的夹角;
将所述夹角确定为所述用户手持所述终端的外翻角度。
结合第四方面,在第四方面的第五种可能的实现方式中,所述第一非语音信号为第一高频超声信号,所述第二非语音信号为第二高频超声信号;
所述指令当被包括多个应用程序的便携式电子设备执行时使所述便携式电子设备执行根据所述第一高频超声信号和所述第二高频超声信号,获取所述第一高频超声信号从所述终端的听筒到第一麦克风的第一传递函数;
根据所述第一传递函数,确定用户通话时手持终端的姿势是否为正常姿势。
结合第四方面的第五种可能的实现方式,在第四方面的第六种可能的实现 方式中,所述指令当被包括多个应用程序的便携式电子设备执行时使所述便携式电子设备执行计算所述第一传递函数和正常姿势对应的传递函数之间的第一相似度;
如果所述第一相似度小于第一预设相似度,确定用户通话时手持终端的姿势不是正常姿势。
结合第四方面的第五种可能的实现方式,在第四方面的第七种可能的实现方式中,所述指令当被包括多个应用程序的便携式电子设备执行时使所述便携式电子设备执行根据所述第一高频超声信号和所述第二高频超声信号,获取所述第一高频超声信号从所述终端的听筒到至少一个第二麦克风的至少一个第二传递函数;
计算所述第一传递函数与正常姿势对应的传递函数之间的第一相似度,以及,所述至少一个第二传递函数中的每个第二传递函数与正常姿势对应的传递函数之间的第二相似度,得到至少一个第二相似度;
根据所述第一相似度和所述至少一个第二相似度,计算综合相似度;
如果所述综合相似度小于第二预设相似度,确定用户通话时手持终端的姿势不是正常姿势。
结合第四方面的第五种可能的实现方式,在第四方面的第八种可能的实现方式中,所述指令当被包括多个应用程序的便携式电子设备执行时使所述便携式电子设备执行根据所述第一传递函数,分别计算所述第一传递函数与传递函数集合中的每个传递函数之间的第三相似度,所述传递函数集合用于存储用户通话时手持终端的每个外翻角度对应的传递函数;
选择与所述第一传递函数之间最大的第三相似度的传递函数;
将所述选择的传递函数对应的外翻角度确定为所述用户通话时手持所述终端的外翻角度。
结合第四方面的第四或者第八种可能的实现方式,在第四方面的第九种可能的实现方式中,所述指令当被包括多个应用程序的便携式电子设备执行时使所述便携式电子设备执行增大所述终端的多麦克风降噪的拾音范围;或者,
获取与所述外翻角度相匹配的拾音范围,将所述终端的多麦克风降噪的拾音范围调整为与所述外翻角度相匹配的拾音范围。
在本发明实施例中,发射第一非语音信号,并接收第一非语音信号被反射 物体反射回来的第二非语音信号,根据第一非语音信号和第二非语音信号,确定用户通话时手持终端的姿势是否为正常姿势;如果用户通话时手持终端的姿势不是正常姿势,调整终端的多麦克风降噪的拾音范围,由于本发明是通过非语音信号,调整终端的多麦克风降噪的拾音范围,因此不会受环境噪声的影响,可以提高调整终端的多麦克风降噪的拾音范围的准确性。
附图说明
图1是本发明实施例提供的一种控制终端的多麦克风降噪的拾音范围的方法流程图;
图2-1是本发明实施例提供的一种控制终端的多麦克风降噪的拾音范围的方法流程图;
图2-2是本发明实施例提供的一种终端的结构示意图;
图2-3是本发明实施例提供的另一种终端的结构示意图;
图2-4是本发明实施例提供的一种正常姿势的界面示意图;
图2-5是本发明实施例提供的一种外翻姿势的界面示意图;
图2-6是本发明实施例提供的一种外扩姿势的界面示意图;
图3-1是本发明实施例提供的一种控制终端的多麦克风降噪的拾音范围的方法流程图;
图3-2是本发明实施例提供的另一种终端的结构示意图;
图4-1是本发明实施例提供的一种控制终端的多麦克风降噪的拾音范围的装置结构示意图;
图4-2是本发明实施例提供的一种第一确定模块的结构示意图;
图4-3是本发明实施例提供的另一种第一确定模块的结构示意图;
图4-4是本发明实施例提供的另一种控制终端的多麦克风降噪的拾音范围的装置结构示意图;
图4-5是本发明实施例提供的另一种第一确定模块的结构示意图;
图4-6是本发明实施例提供的另一种第三确定单元的结构示意图;
图4-7是本发明实施例提供的另一种控制终端的多麦克风降噪的拾音范围的装置结构示意图;
图4-8是本发明实施例提供的一种调整模块的结构示意图;
图5-1是本发明实施例提供的另一种控制终端的多麦克风降噪的拾音范围的装置结构示意图;
图5-2是本发明实施例提供的另一种控制终端的多麦克风降噪的拾音范围的装置结构示意图。
具体实施方式
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。
本发明实施例提供了一种控制终端的多麦克风降噪的拾音范围的方法,该方法的执行主体为终端,参见图1,其中,该方法包括:
步骤101:发射第一非语音信号,并接收第一非语音信号被反射物体反射回来的第二非语音信号;
步骤102:根据第一非语音信号和第二非语音信号,确定用户通话时手持终端的姿势是否为正常姿势;
步骤103:如果用户通话时手持终端的姿势不是正常姿势,调整终端的多麦克风降噪的拾音范围。
在本发明实施例中,发射第一非语音信号,并接收第一非语音信号被反射物体反射回来的第二非语音信号,根据第一非语音信号和第二非语音信号,确定用户通话时手持终端的姿势是否为正常姿势;如果用户通话时手持终端的姿势不是正常姿势,调整终端的多麦克风降噪的拾音范围,由于本发明是通过非语音信号,调整终端的多麦克风降噪的拾音范围,因此不会受环境噪声的影响,可以提高调整终端的多麦克风降噪的拾音范围的准确性。
本发明实施例提供了一种控制终端的多麦克风降噪的拾音范围的方法,该方法的执行主体为终端,参见图2-1,其中,该方法包括:
步骤201:发射第一红外光信号,并获取第一红外光信号的第一光线强度;
参见图2-2,该终端上设置有两个接近光传感器,为了便于描述,将两个接近光传感器分别称为第一接近光传感器和第二接近光传感器;其中,第一接近光传感器可以为终端上现有的位于终端的听筒旁边的接近光传感器,第二接近 光传感器可以设置在终端的正面且终端屏幕的下方。参见图2-3,第二接近光传感器也可以设置在终端的顶端。
进一步地,为了提高控制终端的多麦克风降噪的拾音范围的准确性,也可以结合第二接近光传感器,检测用户通话时手持终端的姿势,则在本步骤中,第二接近光传感器发射第三红外光信号,并获取第三红外光信号的第三光线强度。
当用户在打电话或者接听电话时,用户会手持终端靠近用户的耳朵,因此,第一接近光传感器发射的第一红外光信号会被用户的头部反射回去,第二接近光传感器发射的第三红外光信号也会被用户的头部发射回去,为了便于描述,将第一红外光信号被用户的头部反射回去得到的红外光信号称为第二红外光信号,将第三红外光信号被用户的头部发射回去得到的红外光信号称为第四红外光信号,执行步骤202。
步骤202:接收第一红外光信号被反射物体反射回来的第二红外光信号,并获取第二红外光信号的第二光线强度;
进一步地,第二接近光传感器接收第四红外光信号,并获取第四红外光信号的第四光线强度。
当用户通话时手持终端靠近用户的耳朵时,反射物体可以为用户的头部。
步骤203:计算第二光线强度和第一光线强度之间的第一强度差;
进一步地,如果第二接近光传感器发射第三红外光信号,并接收第三红外光信号被反射物体反射回来的第四红外光信号,则在本步骤中还需要计算第四光线强度和第三光线强度之间的第二强度差。
步骤204:根据第一强度差,确定用户通话时手持终端的姿势是否为正常姿势;
参见图2-4,正常姿势即为终端的上端贴近用户的耳朵,且终端的下端与用户的脸之间的夹角小于预设角度。
本步骤可以通过第一种方式、第二种方式、第三种方式或者第四种方式实现;当终端只通过第一接近光传感器检测用户通话时手持终端的姿势时,可以通过以下第一种方式或者第二种方式实现;当终端结合第一接近光传感器和第二接近光传感器检测用户通话时手持终端的姿势时,可以通过以下第三种方式或者第四种方式实现。
对于第一种实现方式,本步骤可以为:
确定第一强度差是否大于第一预设强度,如果第一强度差大于第一预设强度,确定用户通话时手持终端的姿势不是正常姿势。
如果第一强度差大于第一预设强度,确定第一接近光传感器离发射物体较远,也即用户通话时手持终端的上端没有贴近用户的耳朵,从而确定用户通话时手持终端的姿势不是正常姿势。
用户通话时手持终端的姿势不是正常姿势时,用户通话时手持终端的姿势可能为外翻姿势或者外扩姿势等;参见图2-5,外翻姿势即为用户通话时手持终端的上端贴近用户的耳朵,且终端的下端与用户的脸之间的夹角大于预设角度。参见图2-6,外扩姿势即为用户通话时手持终端的上端没有贴近用户的耳朵,且终端的下端与用户的脸之间的夹角大于预设角度。
预设角度和第一预设强度可以根据需要进行设置并更改,在本发明实施例中,对预设角度和第一预设强度不作具体限定。
对于第二种实现方式,本步骤可以为:
根据第一强度差,计算第一接近光传感器与反射物体之间的第一距离;如果第一距离大于第一预设距离,确定用户通话时手持终端的姿势不是正常姿势。
根据第一强度差,从强度差和距离的对应关系中获取第一强度差对应的距离,将该距离确定为第一接近光传感器与反射物体之间的第一距离。如果第一距离大于第一预设距离,确定用户通话时手持终端的上端没有贴近用户的耳朵,从而确定用户通话时手持终端的姿势不是正常姿势。
第一预设距离可以根据需要进行设置并更改,在本发明实施例中,对第一预设距离不作具体限定;例如,第一预设距离为0.8厘米或者1厘米等。
对于第三种实现方式,当第二接近光传感器设置在终端的正面且终端屏幕的下方时,结合第一接近光传感器和第二接近光传感器,确定用户通话时手持终端的姿势是否为正常姿势,包括:
计算第四光线强度和第三光线强度之间的第二强度差,确定第一强度差是否大于第一预设强度,以及确定第二强度差是否大于第二预设强度;如果第一强度差大于第一预设强度,或者第二强度差大于第二预设强度,确定用户通话时手持终端的姿势不是正常姿势;如果第一强度差不大于第一预设强度且第二强度差不大于第二预设强度,确定用户通话时手持终端的姿势是正常姿势。
对于第四种实现方式,终端也可以通过第一接近光传感器与反射物体之间的第一距离以及第二接近光传感器与反射物体之间的第二距离,确定用户通话时手持终端的姿势是否为正常姿势,包括:
计算第四光线强度和第三光线强度之间的第二强度差,根据第一强度差,计算第一接近光传感器与反射物体之间的第一距离,以及根据第二强度差,计算第二接近光传感器与反射物体之间的第二距离;确定第一距离是否大于第一预设距离,以及确定第二距离是否大于第二预设距离;如果第一距离大于第一预设距离,或者第二距离大于第二预设距离,确定用户通话时手持终端的姿势不是正常姿势;如果第一距离不大于第一预设距离且第二距离不大于第二预设距离,确定用户通话时手持终端的姿势是正常姿势。
其中,根据第一强度差,计算第一接近光传感器与发射物体之间的第一距离,以及根据第二强度差,计算第二接近光传感器与反射物体之间的第二距离的步骤可以为:
根据第一强度差和第二强度差,从强度差和距离的对应关系中获取第一强度差对应的距离以及第二强度差对应的距离;将第一强度差对应的距离确定为第一接近光传感器与发射物体之间的第一距离,将第二强度差对应的距离确定为第二接近光传感器与发射物体之间的第二距离。
需要说明的是,当第二接近光传感器设置在终端的顶端,当用户通话时手持终端的姿势为正常姿势,此时第三红外光信号可能不被用户的头部反射回去,此时检测第三光线强度之后的预设时长内是否接收到第四红外光信号;如果在第三光线强度之后的预设时长内没有接收到第四红外光信号,且第一强度差小于第一预设强度,确定用户通话时手持终端的姿势是正常姿势;或者,如果在第三光线强度之后的预设时长内没有接收到第四红外光信号,且第一距离小于第一预设距离,确定用户通话时手持终端的姿势是正常姿势。
进一步地,当第二接近光传感器设置在终端的顶端,如果在第三光线强度之后的预设时长内接收到第四红外光信号,确定用户通话时手持终端的姿势不是正常姿势。
第二预设强度、第二预设距离和预设时长可以根据需要进行设置并更改,在本发明实施例中,对第二预设强度、第二预设距离和预设时长不作具体限定。
如果用户通话时手持终端的姿势不是正常姿势,执行步骤205。
步骤205:如果用户通话时手持终端的姿势不是正常姿势,调整终端的多麦克风降噪的拾音范围。
如果用户通话时手持终端的姿势不是正常姿势,为了保证用户在通话过程中,即使用户手持终端的姿势为外翻姿势或者外扩姿势,依然可以得到清晰的上行语言,可以增大终端的多麦克风降噪的拾音范围。
进一步地,为了更准确地调整终端的多麦克风降噪的拾音范围,可以将终端的多麦克风降噪的拾音范围设置为用户通话时手持终端的姿势获取拾音范围,则终端中存储姿势和拾音范围,如果用户通话时手持终端的姿势不是正常姿势时,根据非正常姿势,从姿势和拾音范围的对应关系中获取与非正常姿势相匹配的拾音范围,将终端的多麦克风降噪的拾音范围设置为与非正常姿势相匹配的拾音范围。
进一步地,如果第二接近光传感器设置在终端的正面且终端屏幕的下方时,当用户通话时手持终端的姿势不是正常姿势时,可以获取用户通话时手持终端的外翻角度,根据该外翻角度,调整终端的多麦克风降噪的拾音范围,则本步骤可以为:
根据第一距离、第二距离以及第一接近光传感器和第二接近光传感器之间的第三距离,计算用户通话时手持的终端与反射物体之间的夹角,将该夹角确定为用户通话时手持终端的外翻角度,获取与该外翻角度相匹配的拾音范围,将终端的多麦克风降噪的拾音范围调整为与该外翻角度相匹配的拾音范围。
终端中存储有外翻角度范围和拾音范围的对应关系,相应的,终端获取与该外翻角度相匹配的拾音范围的步骤可以为:
终端根据该外翻角度,确定该外翻角度所在的外翻角度范围,根据该外翻角度所在的外翻角度范围,从外翻角度范围和拾音范围的对应关系中获取与该外翻角度相匹配的拾音范围。
进一步地,如果用户通话时手持终端的姿势是正常姿势,终端根据正常姿势,从姿势和拾音范围的对应关系中获取与正常姿势相匹配的拾音范围,将终端的多麦克风降噪的拾音范围调整为与正常姿势相匹配的拾音范围。
在本发明实施例中,发射第一红外光信号,并接收第一红外光信号被反射物体反射回来的第二红外光信号,根据第一红外光信号和第二红外光信号,确定用户通话时手持终端的姿势是否为正常姿势;如果用户通话时手持终端的姿 势不是正常姿势,调整终端的多麦克风降噪的拾音范围,由于本发明是通过光信号,调整终端的多麦克风降噪的拾音范围,因此不会受环境噪声的影响,可以提高调整终端的多麦克风降噪的拾音范围的准确性。
本发明实施例提供了一种控制终端的多麦克风降噪的拾音范围的方法,该方法的执行主体为终端,参见图3-1,其中,该方法包括:
步骤301:发射第一高频超声信号,接收第一高频超声信号被反射物体反射回来的第二高频超声信号;
终端中有听筒,听筒发射第一高频超声信号,第一高频超声信号的频率大于用户的耳朵感知的声音的频率,从而用户的耳朵无法感知第一高频超声信号,因此,不会对用户造成干扰。
参见图3-2,终端上至少有两个麦克风,为了便于描述,将终端上的麦克风称为第一麦克风和至少一个第二麦克风;第一麦克风可以设置在终端的底部,用于采集包含环境噪声的用户声音;至少一个第二麦克风可以设置在终端的顶部,用于采集环境噪声。终端利用多麦克风降噪,处理两路麦克风输入信号,将包含环境噪声的用户声音中的环境噪声消除,得到较纯净的用户声音,将用户声音传递给对端。
在本步骤中,通过终端的第一麦克风接收第一高频超声信号被反射物体发射回来的第二高频超声信号,以及通过至少一个第二麦克风接收第一高频超声信号被反射物体发射回来的第二高频超声信号,执行步骤302。
步骤302:根据第一高频超声信号和第二高频超声信号,获取第一高频超声信号从终端的听筒到第一麦克风的第一传递函数;
根据第一高频超声信号和第一麦克风接收的第二高频超声信号,获取第一高频超声信号从终端的听筒到第一麦克风的第一传递函数;第一传递函数用于表示第一高频超声信号从听筒到第一麦克风的传输路径,并且计算第一高频超声信号从终端的听筒到第一麦克风的第一传递函数的过程为现有技术,在此不再详细说明。
进一步地,对于至少一个第二麦克风中的每个第二麦克风,根据第一高频信号和该第二麦克风接收的第二高频超声信号,获取第一高频超声信号从终端的听筒到该第二麦克风的第二传递函数;第二传递函数用于表示第一高频超声 信号从听筒到该第二麦克风的传输路径,并且计算第一高频超声信号从终端的听筒到该第二麦克风的第二传递函数的过程为现有技术,在此不再详细说明。
需要说明的是,传递函数是现有概念,在此不再对传递函数进行详细说明。
步骤303:根据第一传递函数,确定用户通话时手持终端的姿势是否为正常姿势;
正常姿势即为用户通话时手持终端的上端贴近用户的耳朵,且终端的下端与用户的脸之间的夹角小于预设角度。
本步骤可以通过以下第一种方式或者第二种方式实现,对于第一种实现方式,本步骤可以通过以下步骤(1)和(2)实现,包括:
(1):计算第一传递函数和正常姿势对应的传递函数之间的第一相似度;
终端中存储有正常姿势对应的传递函数,根据第一传递函数和正常姿势对应的传递函数,计算第一传递函数和正常姿势对应的传递函数之间的第一相似度。
(2):如果第一相似度小于第一预设相似度,确定用户通话时手持终端的姿势不是正常姿势;
确定第一相似度是否小于第一预设相似度,如果第一相似度小于第一预设相似度,确定用户通话时手持终端的姿势不是正常姿势;如果第一相似度不小于第一预设相似度,确定用户通话时手持终端的姿势是正常姿势。
用户通话时手持终端的姿势不是正常姿势时,用户通话时手持终端的姿势可能为外翻姿势或者外扩姿势等;外翻姿势即为终端的上端贴近用户的耳朵,且终端的下端与用户的脸之间的夹角大于预设角度。外扩姿势即为终端的上端没有贴近用户的耳朵,且终端的下端与用户的脸之间的夹角大于预设角度。
第一预设相似度可以根据需要进行设置并更改,在本发明实施例中对第一预设相似度不作具体限定;例如,第一预设相似度可以为0.6或者0.8等。
对于第二种实现方式,本步骤可以通过以下步骤(A)至(D)实现,包括:
(A):根据第一高频超声信号和第二高频超声信号,获取第一高频超声信号从终端的听筒到至少一个第二麦克风的第二传递函数,得到至少一个第二传递函数;
(B):计算第一传递函数与正常姿势对应的传递函数之间的第一相似度以及至少一个第二传递函数中的每个第二传递函数与正常姿势对应的传递函数之 间的第二相似度,得到至少一个第二相似度;
(C):根据第一相似度和至少一个第二相似度,计算综合相似度;
获取第一相似度对应的第一权重以及至少一个第二相似度中的每个第二相似度对应的第二权重,根据第一相似度、第一权重、每个第二相似度和每个第二相似度对应的第二权重,计算综合相似度;或者,
从第一相似度和至少一个第二相似度中选择最大相似度,将最大相似度作为综合相似度;或者,
从第一相似度和至少一个第二相似度中选择最小相似度,将最小相似度作为综合相似度。
(D):如果该综合相似度小于第二预设相似度,确定用户通话时手持终端的姿势不是正常姿势。
第二预设相似度可以根据需要进行设置并更改,在发明实施例中,对第二预设相似度不作具体限定。
进一步地,如果该综合相似度不小于第二预设相似度,确定用户通话时手持终端的姿势是正常姿势。
步骤304:如果用户通话时手持终端的姿势不是正常姿势,获取手持终端的外翻角度;
本步骤可以通过以下步骤(1)至(3)实现,包括:
(1):根据第一传递函数,分别计算第一传递函数与传递函数集合中的每个传递函数之间的第三相似度;
传递函数集合用于存储用户通话时手持终端的每个外翻角度对应的传递函数。
(2):选择与第一传递函数之间最大的第三相似度的传递函数;
(3):将选择的传递函数对应的外翻角度确定为用户通话时手持终端的外翻角度。
步骤305:根据该外翻角度,调整终端的多麦克风降噪的拾音范围。
如果用户通话时手持终端的姿势不是正常姿势,为了保证用户在通话过程中,即使用户手持终端的姿势为外翻姿势或者外扩姿势,依然可以得到清晰的上行语言,可以增大终端的多麦克风降噪的拾音范围。
进一步地,为了更准确地调整终端的多麦克风降噪的拾音范围,可以将终 端的多麦克风降噪的拾音范围设置为与该外翻角度相匹配的拾音范围,则终端中存储有外翻角度和拾音范围的对应关系,则本步骤可以为:
根据该外翻角度,从外翻角度和拾音范围的对应关系中获取与该外翻角度相匹配的拾音范围,将终端的多麦克风降噪的拾音范围调整为与该外翻角度相匹配的拾音范围。
进一步地,如果用户通话时手持终端的姿势是正常姿势,获取与正常姿势相匹配的拾音范围,将终端的多麦克风降噪的拾音范围调整为与正常姿势相匹配的拾音范围。
在本发明实施例中,发射第一高频超声信号,并接收第一高频超声信号被反射物体反射回来的第二高频超声信号,根据第一高频超声信号和第二高频超声信号,确定用户通话时手持终端的姿势是否为正常姿势;如果用户通话时手持终端的姿势不是正常姿势,调整终端的多麦克风降噪的拾音范围,由于本发明是通过高频超声信号,调整终端的多麦克风降噪的拾音范围,因此不会受环境噪声的影响,可以提高调整终端的多麦克风降噪的拾音范围的准确性。
本发明实施例提供了一种控制终端的多麦克风降噪的拾音范围的装置,参见图4-1,该装置包括:
发射模块401,用于发射第一非语音信号;
接收模块402,用于接收第一非语音信号被反射物体反射回来的第二非语音信号;
第一确定模块403,用于根据第一非语音信号和第二非语音信号,确定用户通话时手持终端的姿势是否为正常姿势;
调整模块404,用于如果用户通话时手持终端的姿势不是正常姿势,调整终端的多麦克风降噪的拾音范围。
进一步地,第一非语音信号为第一红外光信号,第二非语音信号为第二红外光信号;
参见图4-2,第一确定模块403,包括:
第一获取单元4031,用于获取终端上的第一接近光传感器发射第一红外光信号的第一光线强度和第一接近光传感器接收第二红外光信号的第二光线强度;
第一计算单元4032,用于计算第二光线强度和第一光线强度之间的第一强 度差;
第一确定单元4033,用于根据第一强度差,确定用户通话时手持终端的姿势是否为正常姿势。
进一步地,第一确定单元4033,用于如果第一强度差大于第一预设强度,则确定用户通话时手持终端的姿势不是正常姿势;或者,
第一确定单元4033,用于根据第一强度差,计算第一接近光传感器与反射物体之间的第一距离,如果第一距离大于第一预设距离,则确定用户通话时手持终端的姿势不是正常姿势。
进一步地,参见图4-3,第一确定模块403,还包括:
第二获取单元4034,用于获取终端上的第二接近光传感器发射第三红外光信号的第三光线强度和第二接近光传感器接收第三红外光信号被反射物体反射回来的第四红外光信号的第四光线强度;
第一计算单元4035,用于计算第四光线强度和第三光线强度之间的第二强度差;
第二确定单元4036,用于如果第二强度差大于第二预设强度,则确定用户通话时手持终端的姿势不是正常姿势;
如果第二强度差不大于第二预设强度,则执行第一确定单元4033,用于根据第一强度差,确定用户通话时手持终端的姿势是否为正常姿势。
进一步地,参见图4-4,该装置还包括:
第一计算模块405,用于根据第一强度差和第二强度差,分别计算第一接近光传感器与反射物体之间的第一距离以及第二接近光传感器与反射物体之间的第二距离;
第二计算模块406,用于根据第一距离、第二距离以及第一接近光传感器和第二接近光传感器之间的第三距离,计算终端与反射物体之间的夹角;
第二确定模块407,用于将夹角确定为用户通话时手持终端的外翻角度。
进一步地,第一非语音信号为第一高频超声信号,第二非语音信号为第二高频超声信号;
参见图4-5,第一确定模块403,包括:
第三获取单元4037,用于根据第一高频超声信号和第二高频超声信号,获取第一高频超声信号从终端的听筒到第一麦克风的第一传递函数;
第三确定单元4038,用于根据第一传递函数,确定用户通话时手持终端的姿势是否为正常姿势。
进一步地,参见图4-6,第三确定单元4037,包括:
第一计算子单元40371,用于计算第一传递函数和正常姿势对应的传递函数之间的第一相似度;
第一确定子单元40372,用于如果第一相似度小于第一预设相似度,确定用户通话时手持终端的姿势不是正常姿势。
进一步地,第三确定单元4037,包括:
获取子单元40373,用于根据第一高频超声信号和第二高频超声信号,获取第一高频超声信号从终端的听筒到至少一个第二麦克风的至少一个第二传递函数;
第二计算子单元40374,用于计算第一传递函数与正常姿势对应的传递函数之间的第一相似度,以及,至少一个第二传递函数中的每个第二传递函数与正常姿势对应的传递函数之间的第二相似度,得到至少一个第二相似度;
第三计算子单元40375,用于根据第一相似度和至少一个第二相似度,计算综合相似度;
第二确定子单元40376,用于如果综合相似度小于第二预设相似度,确定用户通话时手持终端的姿势不是正常姿势。
进一步地,参见图4-7,该装置还包括:
第三计算模块408,用于根据第一传递函数,分别计算第一传递函数与传递函数集合中的每个传递函数之间的第三相似度,传递函数集合用于存储用户通话时手持终端的每个外翻角度对应的传递函数;
选择模块409,用于选择与第一传递函数之间最大的第三相似度的传递函数;
第三确定模块410,用于将选择的传递函数对应的外翻角度确定为用户通话时手持终端的外翻角度。
进一步地,参见图4-8,调整模块404,用于增大终端的多麦克风降噪的拾音范围;或者,
调整模块404,包括:
第四获取单元4041,用于获取与外翻角度相匹配的拾音范围;
调整单元4042,用于将终端的多麦克风降噪的拾音范围调整为与外翻角度 相匹配的拾音范围。
在本发明实施例中,发射第一非语音信号,并接收第一非语音信号被反射物体反射回来的第二非语音信号,根据第一非语音信号和第二非语音信号,确定用户通话时手持终端的姿势是否为正常姿势;如果用户通话时手持终端的姿势不是正常姿势,调整终端的多麦克风降噪的拾音范围,由于本发明是通过非语音信号,调整终端的多麦克风降噪的拾音范围,因此不会受环境噪声的影响,可以提高调整终端的多麦克风降噪的拾音范围的准确性。
本发明实施例提供了一种控制终端的多麦克风降噪的拾音范围的装置,参见图5-1,该装置包括:发射器501、接收器502和处理器503;
发射器501,用于发射第一非语音信号;
接收器502,用于接收第一非语音信号被反射物体反射回来的第二非语音信号;
处理器503,用于根据第一非语音信号和第二非语音信号,确定用户通话时手持终端的姿势是否为正常姿势;
处理器503,还用于如果用户通话时手持终端的姿势不是正常姿势,调整终端的多麦克风降噪的拾音范围。
进一步地,第一非语音信号为第一红外光信号,第二非语音信号为第二红外光信号;
处理器503,还用于获取终端上的第一接近光传感器发射第一红外光信号的第一光线强度和第一接近光传感器接收第二红外光信号的第二光线强度;计算第二光线强度和第一光线强度之间的第一强度差;根据第一强度差,确定用户通话时手持终端的姿势是否为正常姿势。
进一步地,处理器503,还用于如果第一强度差大于第一预设强度,则确定用户通话时手持终端的姿势不是正常姿势;或者,
处理器503,还用于根据第一强度差,计算第一接近光传感器与反射物体之间的第一距离,如果第一距离大于第一预设距离,则确定用户通话时手持终端的姿势不是正常姿势。
进一步地,处理器503,还用于获取终端上的第二接近光传感器发射第三红外光信号的第三光线强度和第二接近光传感器接收第三红外光信号被反射物体 反射回来的第四红外光信号的第四光线强度;
处理器503,还用于计算第四光线强度和第三光线强度之间的第二强度差;
处理器503,还用于如果第二强度差大于第二预设强度,则确定用户通话时手持终端的姿势不是正常姿势;
如果第二强度差不大于第二预设强度,则执行处理器503,还用于根据第一进一步地,装置还包括:
处理器503,还用于根据第一强度差和第二强度差,分别计算第一接近光传感器与反射物体之间的第一距离以及第二接近光传感器与反射物体之间的第二距离;
处理器503,还用于根据第一距离、第二距离以及第一接近光传感器和第二接近光传感器之间的第三距离,计算终端与反射物体之间的夹角;
处理器503,还用于将夹角确定为用户通话时手持终端的外翻角度。
进一步地,第一非语音信号为第一高频超声信号,第二非语音信号为第二高频超声信号;
参见图5-2,该装置还包括第一麦克风;
处理器503,还用于根据第一高频超声信号和第二高频超声信号,获取第一高频超声信号从终端的听筒到第一麦克风的第一传递函数;
处理器503,还用于根据第一传递函数,确定用户通话时手持终端的姿势是否为正常姿势。
进一步地,处理器503,还用于计算第一传递函数和正常姿势对应的传递函数之间的第一相似度;
处理器503,还用于如果第一相似度小于第一预设相似度,确定用户通话时手持终端的姿势不是正常姿势。
进一步地,该装置还包括至少一个第二麦克风;
处理器503,还用于根据第一高频超声信号和第二高频超声信号,获取第一高频超声信号从终端的听筒到至少一个第二麦克风的至少一个第二传递函数;
处理器503,还用于计算第一传递函数与正常姿势对应的传递函数之间的第一相似度,以及,至少一个第二传递函数中的每个第二传递函数与正常姿势对应的传递函数之间的第二相似度,得到至少一个第二相似度;
处理器503,还用于根据第一相似度和至少一个第二相似度,计算综合相似 度;
处理器503,还用于如果综合相似度小于第二预设相似度,确定用户通话时手持终端的姿势不是正常姿势。
进一步地,装置还包括:
处理器503,还用于根据第一传递函数,分别计算第一传递函数与传递函数集合中的每个传递函数之间的第三相似度,传递函数集合用于存储用户通话时手持终端的每个外翻角度对应的传递函数;
处理器503,还用于选择与第一传递函数之间最大的第三相似度的传递函数;
处理器503,还用于将选择的传递函数对应的外翻角度确定为用户通话时手持终端的外翻角度。
进一步地,处理器503,还用于增大终端的多麦克风降噪的拾音范围;或者,
处理器503,还用于获取与外翻角度相匹配的拾音范围,将终端的多麦克风降噪的拾音范围调整为与外翻角度相匹配的拾音范围。
在本发明实施例中,发射第一非语音信号,并接收第一非语音信号被反射物体反射回来的第二非语音信号,根据第一非语音信号和第二非语音信号,确定用户通话时手持终端的姿势是否为正常姿势;如果用户通话时手持终端的姿势不是正常姿势,调整终端的多麦克风降噪的拾音范围,由于本发明是通过非语音信号,调整终端的多麦克风降噪的拾音范围,因此不会受环境噪声的影响,可以提高调整终端的多麦克风降噪的拾音范围的准确性。
本发明提供了一种存储一个或多个程序的计算机可读存储介质,所述一个或多个程序包括指令,所述指令当被包括多个应用程序的便携式电子设备执行时使所述便携式电子设备执行发射第一非语音信号,并接收所述第一非语音信号被反射物体反射回来的第二非语音信号;
根据所述第一非语音信号和所述第二非语音信号,确定用户通话时手持终端的姿势是否为正常姿势;
如果用户通话时手持终端的姿势不是正常姿势,调整所述终端的多麦克风降噪的拾音范围。
结合第四方面,在第四方面的第一种可能的实现方式中,所述第一非语音信号为第一红外光信号,所述第二非语音信号为第二红外光信号;
所述指令当被包括多个应用程序的便携式电子设备执行时使所述便携式电子设备执行获取所述终端上的第一接近光传感器发射所述第一红外光信号的第一光线强度和所述第一接近光传感器接收所述第二红外光信号的第二光线强度;
计算所述第二光线强度和所述第一光线强度之间的第一强度差;
根据所述第一强度差,确定用户通话时手持终端的姿势是否为正常姿势。
进一步地,所述指令当被包括多个应用程序的便携式电子设备执行时使所述便携式电子设备执行如果所述第一强度差大于第一预设强度,则确定用户通话时手持终端的姿势不是正常姿势;或者,
根据所述第一强度差,计算所述第一接近光传感器与所述反射物体之间的第一距离,如果所述第一距离大于第一预设距离,则确定用户通话时手持终端的姿势不是正常姿势。
进一步地,所述指令当被包括多个应用程序的便携式电子设备执行时使所述便携式电子设备执行获取所述终端上的第二接近光传感器发射第三红外光信号的第三光线强度和所述第二接近光传感器接收所述第三红外光信号被所述反射物体反射回来的第四红外光信号的第四光线强度;
计算所述第四光线强度和所述第三光线强度之间的第二强度差;
如果所述第二强度差大于第二预设强度,则确定用户通话时手持终端的姿势不是正常姿势;
如果所述第二强度差不大于所述第二预设强度,则执行所述根据所述第一强度差,确定用户通话时手持终端的姿势是否为正常姿势的步骤。
进一步地,所述指令当被包括多个应用程序的便携式电子设备执行时使所述便携式电子设备执行根据所述第一强度差和所述第二强度差,分别计算所述第一接近光传感器与所述反射物体之间的第一距离以及所述第二接近光传感器与所述反射物体之间的第二距离;
根据所述第一距离、所述第二距离以及所述第一接近光传感器和所述第二接近光传感器之间的第三距离,计算所述终端与所述反射物体之间的夹角;
将所述夹角确定为所述用户手持所述终端的外翻角度。
进一步地,所述第一非语音信号为第一高频超声信号,所述第二非语音信号为第二高频超声信号;
所述指令当被包括多个应用程序的便携式电子设备执行时使所述便携式电 子设备执行根据所述第一高频超声信号和所述第二高频超声信号,获取所述第一高频超声信号从所述终端的听筒到第一麦克风的第一传递函数;
根据所述第一传递函数,确定用户通话时手持终端的姿势是否为正常姿势。
进一步地,所述指令当被包括多个应用程序的便携式电子设备执行时使所述便携式电子设备执行计算所述第一传递函数和正常姿势对应的传递函数之间的第一相似度;
如果所述第一相似度小于第一预设相似度,确定用户通话时手持终端的姿势不是正常姿势。
进一步地,所述指令当被包括多个应用程序的便携式电子设备执行时使所述便携式电子设备执行根据所述第一高频超声信号和所述第二高频超声信号,获取所述第一高频超声信号从所述终端的听筒到至少一个第二麦克风的至少一个第二传递函数;
计算所述第一传递函数与正常姿势对应的传递函数之间的第一相似度,以及,所述至少一个第二传递函数中的每个第二传递函数与正常姿势对应的传递函数之间的第二相似度,得到至少一个第二相似度;
根据所述第一相似度和所述至少一个第二相似度,计算综合相似度;
如果所述综合相似度小于第二预设相似度,确定用户通话时手持终端的姿势不是正常姿势。
进一步地,所述指令当被包括多个应用程序的便携式电子设备执行时使所述便携式电子设备执行根据所述第一传递函数,分别计算所述第一传递函数与传递函数集合中的每个传递函数之间的第三相似度,所述传递函数集合用于存储用户通话时手持终端的每个外翻角度对应的传递函数;
选择与所述第一传递函数之间最大的第三相似度的传递函数;
将所述选择的传递函数对应的外翻角度确定为所述用户通话时手持所述终端的外翻角度。
进一步地,所述指令当被包括多个应用程序的便携式电子设备执行时使所述便携式电子设备执行增大所述终端的多麦克风降噪的拾音范围;或者,
获取与所述外翻角度相匹配的拾音范围,将所述终端的多麦克风降噪的拾音范围调整为与所述外翻角度相匹配的拾音范围。
在本发明实施例中,发射第一非语音信号,并接收第一非语音信号被反射 物体反射回来的第二非语音信号,根据第一非语音信号和第二非语音信号,确定用户通话时手持终端的姿势是否为正常姿势;如果用户通话时手持终端的姿势不是正常姿势,调整终端的多麦克风降噪的拾音范围,由于本发明是通过非语音信号,调整终端的多麦克风降噪的拾音范围,因此不会受环境噪声的影响,可以提高调整终端的多麦克风降噪的拾音范围的准确性。
需要说明的是:上述实施例提供的控制终端的多麦克风降噪的拾音范围的装置在控制终端的多麦克风降噪的拾音范围时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的控制终端的多麦克风降噪的拾音范围的装置与控制终端的多麦克风降噪的拾音范围的方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (31)

  1. 一种控制终端的多麦克风降噪的拾音范围的方法,其特征在于,所述方法包括:
    发射第一非语音信号,并接收所述第一非语音信号被反射物体反射回来的第二非语音信号;
    根据所述第一非语音信号和所述第二非语音信号,确定用户通话时手持终端的姿势是否为正常姿势;
    如果用户通话时手持终端的姿势不是正常姿势,调整所述终端的多麦克风降噪的拾音范围。
  2. 如权利要求1所述的方法,其特征在于,所述第一非语音信号为第一红外光信号,所述第二非语音信号为第二红外光信号;
    所述根据所述第一非语音信号和所述第二非语音信号,确定用户通话时手持终端的姿势是否为正常姿势,包括:
    获取所述终端上的第一接近光传感器发射所述第一红外光信号的第一光线强度和所述第一接近光传感器接收所述第二红外光信号的第二光线强度;
    计算所述第二光线强度和所述第一光线强度之间的第一强度差;
    根据所述第一强度差,确定用户通话时手持终端的姿势是否为正常姿势。
  3. 如权利要求2所述的方法,其特征在于,所述根据所述第一强度差,确定用户通话时手持终端的姿势是否为正常姿势,包括:
    如果所述第一强度差大于第一预设强度,则确定用户通话时手持终端的姿势不是正常姿势;或者,
    根据所述第一强度差,计算所述第一接近光传感器与所述反射物体之间的第一距离,如果所述第一距离大于第一预设距离,则确定用户通话时手持终端的姿势不是正常姿势。
  4. 如权利要求2所述的方法,其特征在于,所述根据所述第一强度差,确定用户持终端的姿势是否为正常姿势之前,还包括:
    获取所述终端上的第二接近光传感器发射第三红外光信号的第三光线强度和所述第二接近光传感器接收所述第三红外光信号被所述反射物体反射回来的第四红外光信号的第四光线强度;
    计算所述第四光线强度和所述第三光线强度之间的第二强度差;
    如果所述第二强度差大于第二预设强度,则确定用户通话时手持终端的姿势不是正常姿势;
    如果所述第二强度差不大于所述第二预设强度,则执行所述根据所述第一强度差,确定用户通话时手持终端的姿势是否为正常姿势的步骤。
  5. 如权利要求4所述的方法,其特征在于,所述方法还包括:
    根据所述第一强度差和所述第二强度差,分别计算所述第一接近光传感器与所述反射物体之间的第一距离以及所述第二接近光传感器与所述反射物体之间的第二距离;
    根据所述第一距离、所述第二距离以及所述第一接近光传感器和所述第二接近光传感器之间的第三距离,计算所述终端与所述反射物体之间的夹角;
    将所述夹角确定为所述用户手持所述终端的外翻角度。
  6. 如权利要求1所述的方法,其特征在于,所述第一非语音信号为第一高频超声信号,所述第二非语音信号为第二高频超声信号;
    所述根据所述第一非语音信号和所述第二非语音信号,确定用户通话时手持终端的姿势是否为正常姿势,包括:
    根据所述第一高频超声信号和所述第二高频超声信号,获取所述第一高频超声信号从所述终端的听筒到第一麦克风的第一传递函数;
    根据所述第一传递函数,确定用户通话时手持终端的姿势是否为正常姿势。
  7. 如权利要求6所述的方法,其特征在于,所述根据所述第一传递函数,确定用户通话时手持终端的姿势是否为正常姿势,包括:
    计算所述第一传递函数和正常姿势对应的传递函数之间的第一相似度;
    如果所述第一相似度小于第一预设相似度,确定用户通话时手持终端的姿势不是正常姿势。
  8. 如权利要求6所述的方法,其特征在于,所述根据所述第一传递函数,确定用户通话时手持终端的姿势是否为正常姿势,包括:
    根据所述第一高频超声信号和所述第二高频超声信号,获取所述第一高频超声信号从所述终端的听筒到至少一个第二麦克风的至少一个第二传递函数;
    计算所述第一传递函数与正常姿势对应的传递函数之间的第一相似度,以及,所述至少一个第二传递函数中的每个第二传递函数与正常姿势对应的传递函数之间的第二相似度,得到至少一个第二相似度;
    根据所述第一相似度和所述至少一个第二相似度,计算综合相似度;
    如果所述综合相似度小于第二预设相似度,确定用户通话时手持终端的姿势不是正常姿势。
  9. 如权利要求6所述的方法,其特征在于,所述方法还包括:
    根据所述第一传递函数,分别计算所述第一传递函数与传递函数集合中的每个传递函数之间的第三相似度,所述传递函数集合用于存储用户通话时手持终端的每个外翻角度对应的传递函数;
    选择与所述第一传递函数之间最大的第三相似度的传递函数;
    将所述选择的传递函数对应的外翻角度确定为所述用户通话时手持所述终端的外翻角度。
  10. 如权利要求5或9所述的方法,其特征在于,所述调整所述终端的多麦克风降噪的拾音范围,包括:
    增大所述终端的多麦克风降噪的拾音范围;或者,
    获取与所述外翻角度相匹配的拾音范围,将所述终端的多麦克风降噪的拾音范围调整为与所述外翻角度相匹配的拾音范围。
  11. 一种控制终端的多麦克风降噪的拾音范围的装置,其特征在于,所述装置包括:
    发射模块,用于发射第一非语音信号;
    接收模块,用于接收所述第一非语音信号被反射物体反射回来的第二非语 音信号;
    第一确定模块,用于根据所述第一非语音信号和所述第二非语音信号,确定用户通话时手持终端的姿势是否为正常姿势;
    调整模块,用于如果用户通话时手持终端的姿势不是正常姿势,调整所述终端的多麦克风降噪的拾音范围。
  12. 如权利要求11所述的装置,其特征在于,所述第一非语音信号为第一红外光信号,所述第二非语音信号为第二红外光信号;
    所述第一确定模块,包括:
    第一获取单元,用于获取所述终端上的第一接近光传感器发射所述第一红外光信号的第一光线强度和所述第一接近光传感器接收所述第二红外光信号的第二光线强度;
    第一计算单元,用于计算所述第二光线强度和所述第一光线强度之间的第一强度差;
    第一确定单元,用于根据所述第一强度差,确定用户通话时手持终端的姿势是否为正常姿势。
  13. 如权利要求12所述的装置,其特征在于,
    所述第一确定单元,用于如果所述第一强度差大于第一预设强度,则确定用户通话时手持终端的姿势不是正常姿势;或者,
    所述第一确定单元,用于根据所述第一强度差,计算所述第一接近光传感器与所述反射物体之间的第一距离,如果所述第一距离大于第一预设距离,则确定用户通话时手持终端的姿势不是正常姿势。
  14. 如权利要求12所述的装置,其特征在于,所述第一确定模块,还包括:
    第二获取单元,用于获取所述终端上的第二接近光传感器发射第三红外光信号的第三光线强度和所述第二接近光传感器接收所述第三红外光信号被所述反射物体反射回来的第四红外光信号的第四光线强度;
    第一计算单元,用于计算所述第四光线强度和所述第三光线强度之间的第二强度差;
    第二确定单元,用于如果所述第二强度差大于第二预设强度,则确定用户通话时手持终端的姿势不是正常姿势;
    如果所述第二强度差不大于所述第二预设强度,则执行所述第一确定单元,用于根据所述第一强度差,确定用户通话时手持终端的姿势是否为正常姿势。
  15. 如权利要求14所述的装置,其特征在于,所述装置还包括:
    第一计算模块,用于根据所述第一强度差和所述第二强度差,分别计算所述第一接近光传感器与所述反射物体之间的第一距离以及所述第二接近光传感器与所述反射物体之间的第二距离;
    第二计算模块,用于根据所述第一距离、所述第二距离以及所述第一接近光传感器和所述第二接近光传感器之间的第三距离,计算所述终端与所述反射物体之间的夹角;
    第二确定模块,用于将所述夹角确定为所述用户手持所述终端的外翻角度。
  16. 如权利要求11所述的装置,其特征在于,所述第一非语音信号为第一高频超声信号,所述第二非语音信号为第二高频超声信号;
    所述第一确定模块,包括:
    第三获取单元,用于根据所述第一高频超声信号和所述第二高频超声信号,获取所述第一高频超声信号从所述终端的听筒到第一麦克风的第一传递函数;
    第三确定单元,用于根据所述第一传递函数,确定用户通话时手持终端的姿势是否为正常姿势。
  17. 如权利要求16所述的装置,其特征在于,所述第三确定单元,包括:
    第一计算子单元,用于计算所述第一传递函数和正常姿势对应的传递函数之间的第一相似度;
    第一确定子单元,用于如果所述第一相似度小于第一预设相似度,确定用户通话时手持终端的姿势不是正常姿势。
  18. 如权利要求16所述的装置,其特征在于,所述第三确定单元,包括:
    获取子单元,用于根据所述第一高频超声信号和所述第二高频超声信号, 获取所述第一高频超声信号从所述终端的听筒到至少一个第二麦克风的至少一个第二传递函数;
    第二计算子单元,用于计算所述第一传递函数与正常姿势对应的传递函数之间的第一相似度,以及,所述至少一个第二传递函数中的每个第二传递函数与正常姿势对应的传递函数之间的第二相似度,得到至少一个第二相似度;
    第三计算子单元,用于根据所述第一相似度和所述至少一个第二相似度,计算综合相似度;
    第二确定子单元,用于如果所述综合相似度小于第二预设相似度,确定用户通话时手持终端的姿势不是正常姿势。
  19. 如权利要求16所述的装置,其特征在于,所述装置还包括:
    第三计算模块,用于根据所述第一传递函数,分别计算所述第一传递函数与传递函数集合中的每个传递函数之间的第三相似度,所述传递函数集合用于存储用户通话时手持终端的每个外翻角度对应的传递函数;
    选择模块,用于选择与所述第一传递函数之间最大的第三相似度的传递函数;
    第三确定模块,用于将所述选择的传递函数对应的外翻角度确定为所述用户手持所述终端的外翻角度。
  20. 如权利要求15或19所述的装置,其特征在于,
    所述调整模块,用于增大所述终端的多麦克风降噪的拾音范围;或者,
    所述调整模块,包括:
    第四获取单元,用于获取与所述外翻角度相匹配的拾音范围;
    调整单元,用于将所述终端的多麦克风降噪的拾音范围调整为与所述外翻角度相匹配的拾音范围。
  21. 一种控制终端的多麦克风降噪的拾音范围的装置,其特征在于,所述装置包括:发射器、接收器和处理器;
    所述发射器,用于发射第一非语音信号;
    所述接收器,用于接收所述第一非语音信号被反射物体反射回来的第二非 语音信号;
    所述处理器,用于根据所述第一非语音信号和所述第二非语音信号,确定用户通话时手持终端的姿势是否为正常姿势;
    所述处理器,还用于如果用户通话时手持终端的姿势不是正常姿势,调整所述终端的多麦克风降噪的拾音范围。
  22. 如权利要求21所述的装置,其特征在于,所述第一非语音信号为第一红外光信号,所述第二非语音信号为第二红外光信号;
    所述处理器,还用于获取所述终端上的第一接近光传感器发射所述第一红外光信号的第一光线强度和所述第一接近光传感器接收所述第二红外光信号的第二光线强度;计算所述第二光线强度和所述第一光线强度之间的第一强度差;根据所述第一强度差,确定用户通话时手持终端的姿势是否为正常姿势。
  23. 如权利要求22所述的装置,其特征在于,
    所述处理器,还用于如果所述第一强度差大于第一预设强度,则确定用户通话时手持终端的姿势不是正常姿势;或者,
    所述处理器,还用于根据所述第一强度差,计算所述第一接近光传感器与所述反射物体之间的第一距离,如果所述第一距离大于第一预设距离,则确定用户通话时手持终端的姿势不是正常姿势。
  24. 如权利要求22所述的装置,其特征在于,
    所述处理器,还用于获取所述终端上的第二接近光传感器发射第三红外光信号的第三光线强度和所述第二接近光传感器接收所述第三红外光信号被所述反射物体反射回来的第四红外光信号的第四光线强度;
    所述处理器,还用于计算所述第四光线强度和所述第三光线强度之间的第二强度差;
    所述处理器,还用于如果所述第二强度差大于第二预设强度,则确定用户通话时手持终端的姿势不是正常姿势;
    如果所述第二强度差不大于所述第二预设强度,则执行所述所述处理器,还用于根据所述第一强度差,确定用户通话时手持终端的姿势是否为正常姿势。
  25. 如权利要求24所述的装置,其特征在于,所述装置还包括:
    所述处理器,还用于根据所述第一强度差和所述第二强度差,分别计算所述第一接近光传感器与所述反射物体之间的第一距离以及所述第二接近光传感器与所述反射物体之间的第二距离;
    所述处理器,还用于根据所述第一距离、所述第二距离以及所述第一接近光传感器和所述第二接近光传感器之间的第三距离,计算所述终端与所述反射物体之间的夹角;
    所述处理器,还用于将所述夹角确定为所述用户手持所述终端的外翻角度。
  26. 如权利要求21所述的装置,其特征在于,所述装置还包括第一麦克风,所述第一非语音信号为第一高频超声信号,所述第二非语音信号为第二高频超声信号;
    所述处理器,还用于根据所述第一高频超声信号和所述第二高频超声信号,获取所述第一高频超声信号从所述终端的听筒到所述第一麦克风的第一传递函数;
    所述处理器,还用于根据所述第一传递函数,确定用户通话时手持终端的姿势是否为正常姿势。
  27. 如权利要求26所述的装置,其特征在于,
    所述处理器,还用于计算所述第一传递函数和正常姿势对应的传递函数之间的第一相似度;
    所述处理器,还用于如果所述第一相似度小于第一预设相似度,确定用户通话时手持终端的姿势不是正常姿势。
  28. 如权利要求26所述的装置,其特征在于,所述装置还包括至少一个第二麦克风;
    所述处理器,还用于根据所述第一高频超声信号和所述第二高频超声信号,获取所述第一高频超声信号从所述终端的听筒到至少一个第二麦克风的至少一个第二传递函数;
    所述处理器,还用于计算所述第一传递函数与正常姿势对应的传递函数之间的第一相似度,以及,所述至少一个第二传递函数中的每个第二传递函数与正常姿势对应的传递函数之间的第二相似度,得到至少一个第二相似度;
    所述处理器,还用于根据所述第一相似度和所述至少一个第二相似度,计算综合相似度;
    所述处理器,还用于如果所述综合相似度小于第二预设相似度,确定用户通话时手持终端的姿势不是正常姿势。
  29. 如权利要求26所述的装置,其特征在于,所述装置还包括:
    所述处理器,还用于根据所述第一传递函数,分别计算所述第一传递函数与传递函数集合中的每个传递函数之间的第三相似度,所述传递函数集合用于存储用户通话时手持终端的每个外翻角度对应的传递函数;
    所述处理器,还用于选择与所述第一传递函数之间最大的第三相似度的传递函数;
    所述处理器,还用于将所述选择的传递函数对应的外翻角度确定为所述用户手持所述终端的外翻角度。
  30. 如权利要求25或29所述的装置,其特征在于,
    所述处理器,还用于增大所述终端的多麦克风降噪的拾音范围;或者,
    所述处理器,还用于获取与所述外翻角度相匹配的拾音范围,将所述终端的多麦克风降噪的拾音范围调整为与所述外翻角度相匹配的拾音范围。
  31. 一种存储一个或多个程序的计算机可读存储介质,其特征在于,所述一个或多个程序包括指令,所述指令当被包括多个应用程序的便携式电子设备执行时,使所述便携式电子设备执行根据权利要求1至10任一项所述的方法。
PCT/CN2016/075952 2015-10-20 2016-03-09 控制终端的多麦克风降噪的拾音范围的方法和装置 WO2017067126A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP16856573.7A EP3253034B1 (en) 2015-10-20 2016-03-09 Method and apparatus for controlling sound collection range of multi-microphone de-noising of terminal
US15/735,895 US10148801B2 (en) 2015-10-20 2016-03-09 Method and apparatus for controlling multi-microphone noise-canceling sound pickup range of terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510689091.9 2015-10-20
CN201510689091.9A CN106604183B (zh) 2015-10-20 2015-10-20 控制终端的多麦克风降噪的拾音范围的方法和装置

Publications (1)

Publication Number Publication Date
WO2017067126A1 true WO2017067126A1 (zh) 2017-04-27

Family

ID=58555492

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/075952 WO2017067126A1 (zh) 2015-10-20 2016-03-09 控制终端的多麦克风降噪的拾音范围的方法和装置

Country Status (4)

Country Link
US (1) US10148801B2 (zh)
EP (1) EP3253034B1 (zh)
CN (1) CN106604183B (zh)
WO (1) WO2017067126A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107592407A (zh) * 2017-08-11 2018-01-16 北京安云世纪科技有限公司 在通话过程中调整通话相关信息的方法及装置

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107979663B (zh) * 2017-11-22 2020-03-06 Oppo广东移动通信有限公司 传感器组件、显示屏组件及电子设备
CN108712551A (zh) * 2018-06-04 2018-10-26 联想(北京)有限公司 一种通话控制方法及电子设备
US10547939B1 (en) * 2018-09-14 2020-01-28 Lenovo (Singapore) Pte. Ltd. Pickup range control
CN113284504A (zh) * 2020-02-20 2021-08-20 北京三星通信技术研究有限公司 姿态检测方法、装置、电子设备及计算机可读存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104335600A (zh) * 2013-02-25 2015-02-04 展讯通信(上海)有限公司 多麦克风移动装置中检测及切换降噪模式的方法
CN104618570A (zh) * 2013-10-22 2015-05-13 诺基亚公司 多麦克风的音频捕获
WO2015131706A1 (zh) * 2014-08-20 2015-09-11 中兴通讯股份有限公司 麦克选择方法、装置和计算机存储介质

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488981A (zh) * 2008-01-18 2009-07-22 上海晨兴电子科技有限公司 一种提高手机语音通话质量的手机结构及方法
US8218397B2 (en) 2008-10-24 2012-07-10 Qualcomm Incorporated Audio source proximity estimation using sensor array for noise reduction
CN102137318B (zh) * 2010-01-22 2014-08-20 华为终端有限公司 拾音控制方法和装置
US8320974B2 (en) 2010-09-02 2012-11-27 Apple Inc. Decisions on ambient noise suppression in a mobile communications handset device
GB2484722B (en) * 2010-10-21 2014-11-12 Wolfson Microelectronics Plc Noise cancellation system
US8326385B2 (en) * 2011-04-05 2012-12-04 Research In Motion Limited Mobile wireless communications device with proximity based transmitted power control and related methods
CN102801861B (zh) * 2012-08-07 2015-08-19 歌尔声学股份有限公司 一种应用于手机的语音增强方法和装置
KR20140029931A (ko) * 2012-08-31 2014-03-11 삼성전자주식회사 스피커에서 출력되는 음성을 소멸시켜 에코 발생을 차단하는 전자 장치 및 방법
CN102857598A (zh) * 2012-09-19 2013-01-02 惠州Tcl移动通信有限公司 一种自动控制手机双麦克风消噪的方法及手机
KR101978688B1 (ko) * 2012-10-22 2019-05-15 삼성전자주식회사 마이크로폰 장치를 갖는 전자 장치 및 그 운용 방법
CN103079148B (zh) * 2012-12-28 2018-05-04 中兴通讯股份有限公司 一种终端双麦克风降噪的方法及装置
US9462379B2 (en) * 2013-03-12 2016-10-04 Google Technology Holdings LLC Method and apparatus for detecting and controlling the orientation of a virtual microphone
US9451076B2 (en) * 2013-04-05 2016-09-20 Blackberry Limited Methods and devices for adjusting sensitivity of proximity sensor
CN103369142B (zh) * 2013-07-09 2015-02-04 广东欧珀移动通信有限公司 一种防止打电话误操作的方法及系统
CN103928025B (zh) * 2014-04-08 2017-06-27 华为技术有限公司 一种语音识别的方法及移动终端
CN104052851B (zh) * 2014-06-30 2017-07-21 歌尔科技有限公司 提高免提通话设备通话质量的方法、装置和免提通话设备
CN105335182A (zh) 2014-08-06 2016-02-17 中兴通讯股份有限公司 一种实现升级包制作的方法及装置
WO2016189285A1 (en) * 2015-05-22 2016-12-01 Cirrus Logic International Semiconductor Limited Adaptive receiver
KR20170010494A (ko) * 2015-07-20 2017-02-01 엘지전자 주식회사 이동 단말기 및 그 제어 방법

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104335600A (zh) * 2013-02-25 2015-02-04 展讯通信(上海)有限公司 多麦克风移动装置中检测及切换降噪模式的方法
CN104618570A (zh) * 2013-10-22 2015-05-13 诺基亚公司 多麦克风的音频捕获
WO2015131706A1 (zh) * 2014-08-20 2015-09-11 中兴通讯股份有限公司 麦克选择方法、装置和计算机存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3253034A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107592407A (zh) * 2017-08-11 2018-01-16 北京安云世纪科技有限公司 在通话过程中调整通话相关信息的方法及装置

Also Published As

Publication number Publication date
EP3253034B1 (en) 2021-05-05
CN106604183A (zh) 2017-04-26
EP3253034A4 (en) 2018-04-04
US10148801B2 (en) 2018-12-04
EP3253034A1 (en) 2017-12-06
US20180213073A1 (en) 2018-07-26
CN106604183B (zh) 2020-06-26

Similar Documents

Publication Publication Date Title
US11705135B2 (en) Detection of liveness
WO2017067126A1 (zh) 控制终端的多麦克风降噪的拾音范围的方法和装置
CN105280195B (zh) 语音信号的处理方法及装置
EP2973558B1 (en) Methods for adaptive acoustic processing based on characterising the acoustic environment
JP5876154B2 (ja) 雑音を制御するための電子デバイス
US20190082276A1 (en) Low latency audio enhancement
US10061010B2 (en) Distance measurement
CN107749925B (zh) 音频播放方法及装置
US20130202130A1 (en) Motion Based Compensation of Uplinked Audio
US20130202132A1 (en) Motion Based Compensation of Downlinked Audio
WO2020062900A1 (zh) 一种声音处理方法、装置与设备
KR20140145108A (ko) 이동 통신 장치에서의 음성 통신 개선방법 및 시스템
WO2020207376A1 (zh) 一种去噪方法及电子设备
US11997461B2 (en) Proximity detection
US20140341386A1 (en) Noise reduction
US20150003634A1 (en) Audio Tuning Based Upon Device Location
CN110390953B (zh) 啸叫语音信号的检测方法、装置、终端及存储介质
TW202021378A (zh) 耳機組控制方法和耳機組
CN113660597A (zh) 无线耳机的入耳检测方法、装置及存储介质
WO2022199354A1 (zh) 通话音量的调节方法、装置、终端及存储介质
CN110290576A (zh) 电子设备控制方法及装置
WO2016000297A1 (zh) 音频的调节方法及装置
CN107197403A (zh) 一种终端音频参数管理方法、装置及系统
CN113314121B (zh) 无声语音识别方法、装置、介质、耳机及电子设备
CN116778942A (zh) 电子设备及其语音降噪方法和介质

Legal Events

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

Ref document number: 16856573

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2016856573

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 15735895

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE