WO2019034154A1 - Noise reduction method and device for mobile terminal, and computer storage medium - Google Patents

Noise reduction method and device for mobile terminal, and computer storage medium Download PDF

Info

Publication number
WO2019034154A1
WO2019034154A1 PCT/CN2018/101136 CN2018101136W WO2019034154A1 WO 2019034154 A1 WO2019034154 A1 WO 2019034154A1 CN 2018101136 W CN2018101136 W CN 2018101136W WO 2019034154 A1 WO2019034154 A1 WO 2019034154A1
Authority
WO
WIPO (PCT)
Prior art keywords
noise reduction
mobile terminal
parameter
coordinate data
posture
Prior art date
Application number
PCT/CN2018/101136
Other languages
French (fr)
Chinese (zh)
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 西安中兴新软件有限责任公司
Publication of WO2019034154A1 publication Critical patent/WO2019034154A1/en

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
    • 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
    • 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/0272Voice signal separating
    • G10L21/028Voice signal separating using properties of sound source
    • 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

Definitions

  • the present disclosure relates to, but is not limited to, hand-held calling technology.
  • Handheld voice calls on mobile phones are the most widely used basic functions. In a noisy environment, making a hand-held call makes it difficult for the other party to hear the spoken content.
  • a dual MIC including a primary microphone (MIC) and a secondary MIC can be used to eliminate background noise to enhance the uplink voice call effect.
  • the mouth of the person is closer to the main MIC of the mobile phone and farther away from the auxiliary MIC. Therefore, the voice signal picked up by the main MIC is larger, and the signal picked up by the auxiliary MIC is smaller. The signal picked up by the main MIC subtracts the signal picked up by the auxiliary MIC to cancel out the background noise.
  • the same noise reduction parameter is used for different postures of the user's handheld mobile phone, so that in different postures, the voice volume is too small, or the noise reduction effect is deteriorated, so that the call volume and the noise reduction effect are both The aspect cannot be balanced.
  • An embodiment of the present disclosure provides a method for reducing noise of a mobile terminal, including: collecting current posture information of the mobile terminal when the mobile terminal enters a handheld call mode; and calling and moving from a pre-established noise reduction parameter calibration database a noise reduction parameter configuration file corresponding to the current posture information of the terminal; and performing audio correction and noise reduction processing on the dual microphone of the mobile terminal according to the called noise reduction parameter configuration file.
  • An embodiment of the present disclosure further provides a noise reduction device of a mobile terminal, including: an acquisition unit, when the mobile terminal enters a handheld call mode, the collection unit collects current posture information of the mobile terminal; and a noise reduction processing unit And setting a noise reduction parameter configuration file corresponding to the current posture information of the mobile terminal from a preset noise reduction parameter calibration database, and performing audio on the dual microphone of the mobile terminal according to the invoked noise reduction parameter configuration file. Correction and noise reduction processing.
  • Embodiments of the present disclosure also provide a computer storage medium having stored thereon one or more programs, the one or more programs being executed by one or more processors, the one or more processors executing A noise reduction method of a mobile terminal according to the present disclosure.
  • Figure 1 schematically shows the posture of a standard user-held mobile phone
  • Figure 2 is a schematic illustration of the posture of a non-standard user-held mobile phone
  • FIG. 3 is a flowchart of a noise reduction method of a mobile terminal according to an embodiment of the present disclosure
  • FIG. 4 is a structural block diagram of a noise reduction device of a mobile terminal according to an embodiment of the present disclosure
  • FIG. 5 illustrates a schematic diagram of generating attitude coordinate data in accordance with an embodiment of the present disclosure
  • FIG. 6 shows a diagram of frequency response curve data for a primary microphone and a secondary microphone, in accordance with an embodiment of the present disclosure
  • FIG. 7 shows a schematic diagram of a fit curve between a pose and a parameter correction variable in accordance with an embodiment of the present disclosure
  • FIG. 8 illustrates a flow chart of a noise reduction method of a mobile terminal according to an embodiment of the present disclosure.
  • the voice signal V MAIN picked up by the main MIC may include a call audio signal V CALL_MAIN and a background noise signal V NOISE_MAIN to be filtered out.
  • the voice signal V AUX picked up by the secondary MIC may include a call audio signal V CALL_AUX and a background noise signal V NOISE_AUX to be filtered out.
  • the calculation formula for finally obtaining the speech signal V VOICE by subtracting the speech signal V AUX picked up by the auxiliary MIC from the speech signal V MAIN picked up by the main MIC is as follows:
  • a noise reduction algorithm is needed to implement and optimize the noise reduction function of the dual MIC. In order to effectively eliminate the noise and at the same time ensure the volume of the normal call, it is necessary to obtain a V VOICE signal with a suitable gain.
  • Various noise reduction algorithms each define the gain range of V VOICE to ensure the volume of the call and effective noise reduction.
  • the gain range is defined as [A:B]dB, ie:
  • Fig. 1 schematically shows the posture of a standard user hand held mobile phone
  • Fig. 2 schematically shows the posture of a non-standard user hand held mobile phone.
  • V VOICE (V CALL_MAIN -V CALL_AUX )+(V NOISE_MAIN -V NOISE_AUX ) (2)
  • V VOICE V CALL_MAIN -V CALL_AUX (3)
  • V CALL_MAIN is large and V CALL_AUX is small, so it is easy to adjust V VOICE within the range of [A: B] dB.
  • V CALL_AUX in the language signal V AUX picked up by the auxiliary MIC does not substantially change, so that the V VOICE obtained by the above formula (3) also becomes small.
  • the V VOICE obtained by the above formula (3) does not fall within the range of [A: B] dB.
  • Table 1 shows the various indicator parameters for noise reduction using fixed noise reduction parameters 0 dB and 5 dB for different hand gestures. It will be appreciated that the V CALL_MAIN and V CALL_AUX values in Table 1 select typical values for the frequency response curve to roughly represent the average difference in gain of the two frequency response curves.
  • the gesture information of the mobile phone in different handheld postures can be collected and different noise reduction parameter profiles can be generated in advance for calling in a hand-held call, thereby solving the problem of improving the voice volume and achieving noise reduction in a non-standard posture. problem.
  • FIG. 3 is a flowchart of a noise reduction method of a mobile terminal according to an embodiment of the present disclosure.
  • the noise reduction method of the mobile terminal may include steps S101 to S103.
  • step S101 when the mobile terminal enters the handheld call mode, the current posture information of the mobile terminal is collected.
  • step S102 a noise reduction parameter configuration file corresponding to the current posture information of the mobile terminal is called from the pre-established noise reduction parameter calibration database.
  • step S103 audio correction and noise reduction processing are performed on the dual MIC of the mobile terminal according to the called noise reduction parameter profile.
  • the pre-generated noise reduction parameter calibration database stores at least a noise reduction parameter profile corresponding to the posture information of the mobile terminal, wherein the posture information includes posture coordinate data of the mobile terminal, and the drop corresponding to the posture information
  • the noise parameter profile includes a plurality of parameter correction variables for audio correction and noise reduction processing in the respective poses.
  • the noise reduction method of the mobile terminal may further include the step of establishing a noise reduction parameter calibration database in advance, the step may include: collecting various posture coordinate data of the mobile terminal; testing the mobile terminal under various posture coordinate data The main MIC and the auxiliary MIC audio data to generate frequency response curve data of the main MIC and the auxiliary MIC under different attitude coordinate data; in the generated frequency response curve data of the main MIC and the auxiliary MIC, select a plurality of typical Frequency points, and parameter correction variables are respectively set for the selected typical frequency points; and various posture coordinate data and corresponding plurality of parameter correction variables are fitted to generate a noise reduction parameter configuration file and stored.
  • step S102 may include: searching, in the noise reduction parameter calibration database, posture coordinate data having the smallest difference from the posture coordinate data in the current posture information of the mobile terminal; and according to the obtained posture coordinate data and corresponding multiple a fitting result of the parameter correction variable generates a parameter correction variable corresponding to the posture coordinate data in the current posture information of the mobile terminal; and obtaining a noise reduction parameter configuration file corresponding to the current posture information of the mobile terminal according to the generated parameter correction variable .
  • various attitude coordinate data of the mobile terminal may be acquired using an orientation sensor such as an acceleration transmission, a gyroscope, or the like.
  • FIG. 4 is a structural block diagram of a noise reduction device of a mobile terminal according to an embodiment of the present disclosure.
  • the device of the mobile terminal may include an acquisition unit 401 and a noise reduction processing unit 402.
  • the collecting unit 401 collects the current posture information of the mobile terminal.
  • the noise reduction processing unit 402 is configured to call a noise reduction parameter configuration file corresponding to the current posture information of the mobile terminal from the pre-established noise reduction parameter calibration database 403, and configure the file to the dual MIC of the mobile terminal according to the called noise reduction parameter configuration file. Perform audio correction and noise reduction processing.
  • the frequency response curves of the main MIC and the auxiliary MIC are corrected at each frequency point to realize the main MIC and the auxiliary MIC frequency response curve for the noise reduction calculation during the call.
  • the pre-generated noise reduction parameter calibration database 403 stores at least a noise reduction parameter profile corresponding to the posture information of the mobile terminal, wherein the posture information includes posture coordinate data of the mobile terminal, and corresponds to the posture information.
  • the noise reduction parameter profile includes a plurality of parameter correction variables for audio correction and noise reduction processing in the respective poses.
  • the noise reducer may further include a noise reduction parameter calibration database generation unit 404.
  • the noise reduction parameter calibration database generating unit 404 may include an audio data testing module 4041, an audio parameter correction module 4042, and a noise reduction parameter calibration module 4043.
  • the handset In an audio lab environment, the handset is fixed in various poses using a hand-held mode fixture, and the attitude coordinates data of the mobile terminal in various poses is acquired by the acquisition unit 401.
  • the audio data testing module 4041 tests the audio data of the primary MIC and the secondary MIC of the mobile terminal under various attitude coordinate data to generate frequency response curve data of the primary MIC and the secondary MIC under different attitude coordinate data.
  • FIG. 5 illustrates a schematic diagram of generating attitude coordinate data in accordance with an embodiment of the present disclosure.
  • various posture coordinate data of the mobile terminal can be acquired by an acceleration sensor, a gyroscope, or the like.
  • the audio parameter correction module 4042 is configured to select a plurality of typical frequency points in the frequency response curve data of the main MIC and the auxiliary MIC generated by the audio data test module 4041, and set a parameter correction variable ⁇ for the selected typical frequency points. That is, the main MIC gain and the gain of the secondary MIC are appropriately corrected.
  • FIG. 6 shows a diagram of frequency response curve data for a primary microphone and a secondary microphone, in accordance with an embodiment of the present disclosure.
  • the thick solid line indicates the frequency response curve of the main MIC (referred to as "frequency response curve")
  • the thin solid line indicates the frequency response curve before the auxiliary MIC correction
  • the thin dotted line indicates the modified frequency response curve of the auxiliary MIC. .
  • the noise reduction parameter calibration module 4043 is configured to fit the various posture coordinate data collected by the acquisition unit 401 and the corresponding plurality of parameter correction variables ⁇ to generate a noise reduction parameter configuration file and store the same.
  • the noise reduction processing unit 402 may be configured to: in the noise reduction parameter calibration database 403, look up posture coordinate data having the smallest difference from the posture coordinate data in the current posture information of the mobile terminal; The data and the corresponding fitting result of the plurality of parameter correction variables generate a parameter correction variable corresponding to the posture coordinate data in the current posture information of the mobile terminal; and obtain a parameter corresponding to the current posture information of the mobile terminal according to the generated parameter correction variable.
  • Noise reduction parameter configuration file in the noise reduction parameter calibration database 403, look up posture coordinate data having the smallest difference from the posture coordinate data in the current posture information of the mobile terminal.
  • the data and the corresponding fitting result of the plurality of parameter correction variables generate a parameter correction variable corresponding to the posture coordinate data in the current posture information of the mobile terminal; and obtain a parameter corresponding to the current posture information of the mobile terminal according to the generated parameter correction variable.
  • FIG. 7 shows a schematic diagram of a fit curve between a pose and a parameter correction variable in accordance with an embodiment of the present disclosure.
  • the noise reduction processing unit 402 can find the minimum difference between the attitude coordinate data of the posture 7 and the posture coordinate data of the posture 7 in the noise reduction parameter calibration database 403.
  • the attitude coordinate data finds that the posture coordinate data corresponding to the posture 3 and the posture 4 and the posture coordinate data corresponding to the posture 7 are closest to each other, and therefore, the posture 3 and the posture 4 and the parameter correction variable 3 and the parameter correction variable can be utilized.
  • the fitting result of 4 obtains the parameter correction variable ⁇ corresponding to the posture 7, for example, the parameter corresponding to the posture 7 can be obtained by the local linearization calculation of the parameter correction variable 3 and the parameter correction variable 4 corresponding to the posture 3 and the posture 4. Correct the variable ⁇ .
  • the parameter correction variable ⁇ corresponding to the posture 8 can be obtained by the fitting result of the posture 5 and the posture 6 with the parameter correction variable 5 and the parameter correction variable 6.
  • Table 2 shows various indicator parameters for noise reduction processing using different noise reduction parameters for different handheld gestures in accordance with an embodiment of the present disclosure.
  • FIG. 8 illustrates a flow chart of a noise reduction method of a mobile terminal according to an embodiment of the present disclosure.
  • the noise reduction method of the terminal may include steps S801 to S809.
  • step S801 the attitude coordinate data of the mobile phone is acquired by an azimuth sensor such as an acceleration sensor or a gyroscope.
  • step S802 the audio data of the primary MIC and the secondary MIC are tested under different handset gestures (ie, different attitude coordinate data) by the audio lab environment to generate frequency response curve data of the primary MIC and the secondary MIC.
  • step S803 a plurality of typical frequency points are selected in the frequency response curve data of the main MIC and the auxiliary MIC, and parameter correction variables are respectively set for each of the typical frequency points.
  • a noise reduction parameter profile is generated by fitting the attitude coordinate data and the frequency response curve data and stored in the noise reduction parameter calibration database.
  • step S805 it is judged whether or not the hand-held call mode is entered. If YES, the process proceeds to step S806, otherwise returns.
  • step S806 it is judged whether the hand posture is within a reasonable range. If YES, step S807 is continued, otherwise the mobile phone is considered to be out of the hand, and the flow is ended.
  • the "reasonable range" referred to in step S806 includes standard hand held gestures and various non-standard hand held gestures. When it is detected that the reasonable range is exceeded, it indicates that the mobile phone has been removed from the handheld, for example, in a hands-free conversation state.
  • step S807 the current posture coordinate data of the mobile phone is acquired.
  • step S808 the corresponding noise reduction parameter configuration file is called according to the collected posture coordinate data, and the frequency response curve data of the main MIC and the auxiliary MIC are corrected at each frequency point.
  • step S809 the noise reduction algorithm is performed using the frequency response curve data of the optimized main MIC and the auxiliary MIC to achieve noise reduction.
  • Embodiments of the present disclosure also provide a computer storage medium having stored thereon one or more programs, the one or more programs being executable by one or more processors such that the one or more processors are implemented
  • a noise reduction method of a mobile terminal according to the above embodiments of the present disclosure.
  • the gesture information of the mobile phone in different handheld gestures can be collected and different noise reduction parameter profiles can be generated in advance for calling in the hand-held call, thereby achieving the voice volume in a non-standard posture. Noise reduction.

Landscapes

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

Abstract

Provided in the present disclosure are a noise reduction method and device for a mobile terminal, and a computer storage medium. The method comprises: when a mobile terminal enters into a speaker mode, acquiring current orientation information of the mobile terminal; invoking a noise reduction parameter configuration document corresponding to the current orientation information of the mobile terminal from a pre-built noise reduction parameter calibration database; and performing an audio modification and noise reduction processing on two microphones of the mobile terminal according to the invoked noise reduction parameter configuration document.

Description

移动终端的降噪方法、装置和计算机存储介质Noise reduction method, device and computer storage medium for mobile terminal 技术领域Technical field
本公开涉及(但不限于)手持通话技术。The present disclosure relates to, but is not limited to, hand-held calling technology.
背景技术Background technique
手机的手持语音通话,是使用最为广泛的基础功能。在比较嘈杂的环境里,进行手持通话,对方很难听清说话的语音内容。为了解决这个问题,可以使用包括主麦克风(MIC)和辅MIC的双MIC来消除背景噪声以提升上行语音通话效果。通话时,人嘴距离手机主MIC较近,距离辅MIC较远,因此主MIC拾取的语音信号较大,辅MIC拾取的信号较小。用主MIC拾取的信号减掉辅MIC拾取的信号,以便抵消掉背景噪声。Handheld voice calls on mobile phones are the most widely used basic functions. In a noisy environment, making a hand-held call makes it difficult for the other party to hear the spoken content. To solve this problem, a dual MIC including a primary microphone (MIC) and a secondary MIC can be used to eliminate background noise to enhance the uplink voice call effect. During the call, the mouth of the person is closer to the main MIC of the mobile phone and farther away from the auxiliary MIC. Therefore, the voice signal picked up by the main MIC is larger, and the signal picked up by the auxiliary MIC is smaller. The signal picked up by the main MIC subtracts the signal picked up by the auxiliary MIC to cancel out the background noise.
在相关技术中,对于用户手持手机的不同姿势,使用相同的降噪参数,因此会导致在不同的姿势下,要么通话音量偏小,要么降噪效果变差,使得通话音量和降噪效果两方面的无法兼顾。In the related art, the same noise reduction parameter is used for different postures of the user's handheld mobile phone, so that in different postures, the voice volume is too small, or the noise reduction effect is deteriorated, so that the call volume and the noise reduction effect are both The aspect cannot be balanced.
发明内容Summary of the invention
本公开的实施例提供了一种移动终端的降噪方法,包括:当移动终端进入手持通话模式时,采集移动终端当前的姿态信息;从预先建立的降噪参数校准数据库中调用与所述移动终端当前的姿态信息对应的降噪参数配置文件;以及按照所调用的降噪参数配置文件对所述移动终端的双麦克风进行音频修正和降噪处理。An embodiment of the present disclosure provides a method for reducing noise of a mobile terminal, including: collecting current posture information of the mobile terminal when the mobile terminal enters a handheld call mode; and calling and moving from a pre-established noise reduction parameter calibration database a noise reduction parameter configuration file corresponding to the current posture information of the terminal; and performing audio correction and noise reduction processing on the dual microphone of the mobile terminal according to the called noise reduction parameter configuration file.
本公开的实施例还提供了一种移动终端的降噪装置,包括:采集单元,在移动终端进入手持通话模式时,所述采集单元采集移动终端当前的姿态信息;以及降噪处理单元,其设置为从预先建立的降噪参数校准数据库中调用与所述移动终端当前的姿态信息对应的降噪参数配置文件,并且按照所调用的降噪参数配置文件对所述移动终端的双麦克风进行音频修正和降噪处理。An embodiment of the present disclosure further provides a noise reduction device of a mobile terminal, including: an acquisition unit, when the mobile terminal enters a handheld call mode, the collection unit collects current posture information of the mobile terminal; and a noise reduction processing unit And setting a noise reduction parameter configuration file corresponding to the current posture information of the mobile terminal from a preset noise reduction parameter calibration database, and performing audio on the dual microphone of the mobile terminal according to the invoked noise reduction parameter configuration file. Correction and noise reduction processing.
本公开的实施例还提供了一种计算机存储介质,其上存储有一 个或者多个程序,所述一个或者多个程序被一个或者多个处理器执行时,所述一个或者多个处理器执行根据本公开的移动终端的降噪方法。Embodiments of the present disclosure also provide a computer storage medium having stored thereon one or more programs, the one or more programs being executed by one or more processors, the one or more processors executing A noise reduction method of a mobile terminal according to the present disclosure.
附图说明DRAWINGS
附图用来提供对本公开实施例的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本公开,并不构成对本公开的限制。在附图中:The drawings are intended to provide a further understanding of the embodiments of the invention, and are in the In the drawing:
图1示意性地示出了一种标准的用户手持手机的姿势;Figure 1 schematically shows the posture of a standard user-held mobile phone;
图2示意性地示出了一种非标准的用户手持手机的姿势;Figure 2 is a schematic illustration of the posture of a non-standard user-held mobile phone;
图3是根据本公开实施例的移动终端的降噪方法的流程图;FIG. 3 is a flowchart of a noise reduction method of a mobile terminal according to an embodiment of the present disclosure; FIG.
图4是根据本公开实施例的移动终端的降噪装置的结构框图;4 is a structural block diagram of a noise reduction device of a mobile terminal according to an embodiment of the present disclosure;
图5示出了根据本公开实施例的生成姿态坐标数据的原理图;FIG. 5 illustrates a schematic diagram of generating attitude coordinate data in accordance with an embodiment of the present disclosure;
图6示出了根据本公开实施例的对主麦克风和辅麦克风的频率响应曲线数据的示图;6 shows a diagram of frequency response curve data for a primary microphone and a secondary microphone, in accordance with an embodiment of the present disclosure;
图7示出了根据本公开实施例的姿态与参数修正变量之间的拟合曲线示意图;7 shows a schematic diagram of a fit curve between a pose and a parameter correction variable in accordance with an embodiment of the present disclosure;
图8示出了根据本公开实施例的移动终端的降噪方法的流程图。FIG. 8 illustrates a flow chart of a noise reduction method of a mobile terminal according to an embodiment of the present disclosure.
具体实施方式Detailed ways
下面将结合具体实施方式对本公开的实施例进行详细说明。需要说明的是,在不冲突的情况下,本公开各实施例中的特征可以任意相互组合。Embodiments of the present disclosure will be described in detail below with reference to specific embodiments. It should be noted that the features in the embodiments of the present disclosure may be combined with each other arbitrarily without conflict.
首先阐述利用双MIC消除背景噪声的基本原理。主MIC拾取的语音信号V MAIN可以包括通话音频信号V CALL_MAIN和待滤除的背景噪声信号V NOISE_MAIN。辅MIC拾取的语音信号V AUX可以包括通话音频信号V CALL_AUX和待滤除的背景噪声信号V NOISE_AUX。用主MIC拾取的语音信号V MAIN减掉辅MIC拾取的语音信号V AUX而最终获取语音信号V VOICE的计算公式如下: First, the basic principle of eliminating background noise with dual MICs is described. The voice signal V MAIN picked up by the main MIC may include a call audio signal V CALL_MAIN and a background noise signal V NOISE_MAIN to be filtered out. The voice signal V AUX picked up by the secondary MIC may include a call audio signal V CALL_AUX and a background noise signal V NOISE_AUX to be filtered out. The calculation formula for finally obtaining the speech signal V VOICE by subtracting the speech signal V AUX picked up by the auxiliary MIC from the speech signal V MAIN picked up by the main MIC is as follows:
V VOICE=V MAIN-V AUX=(V CALL_MAIN+V NOISE_MAIN)-(V CALL_AUX+V NOISE_AUX)    (1) V VOICE =V MAIN -V AUX =(V CALL_MAIN +V NOISE_MAIN )-(V CALL_AUX +V NOISE_AUX ) (1)
需要执行降噪算法来实现和优化双MIC的降噪功能。为了有效 的消除噪声,并同时保证正常通话的音量大小,需要获得一个合适增益的V VOICE信号。各种降噪算法都各自对V VOICE的增益范围进行了定义,以保证通话的音量和有效的降噪。增益范围定义为[A:B]dB,即: A noise reduction algorithm is needed to implement and optimize the noise reduction function of the dual MIC. In order to effectively eliminate the noise and at the same time ensure the volume of the normal call, it is necessary to obtain a V VOICE signal with a suitable gain. Various noise reduction algorithms each define the gain range of V VOICE to ensure the volume of the call and effective noise reduction. The gain range is defined as [A:B]dB, ie:
AdB<V VOICE<BdB AdB<V VOICE <BdB
不同的编码解码器(CODEC)芯片提供的增益范围[A:B]会略有不同,总体来看,如果A=6,B=9,则可以保证各CODEC芯片的MIC降噪算法的兼容性。The gain range [A:B] provided by different codec (CODEC) chips will be slightly different. In general, if A=6, B=9, the compatibility of the MIC noise reduction algorithm of each CODEC chip can be guaranteed. .
另外,在实际应用中,用户手持手机的不同手持姿势也会对MIC降噪算法造成一定的影响。下面结合图1和图2对不同手持姿势对MIC降噪算法造成的影响进行说明。In addition, in practical applications, different handheld gestures of the user's handheld mobile phone may also have a certain impact on the MIC noise reduction algorithm. The effects of different handheld gestures on the MIC noise reduction algorithm will be described below with reference to FIGS. 1 and 2.
图1示意性地示出了一种标准的用户手持手机的姿势,图2示意性地示出了一种非标准的用户手持手机的姿势。Fig. 1 schematically shows the posture of a standard user hand held mobile phone, and Fig. 2 schematically shows the posture of a non-standard user hand held mobile phone.
根据以上公式(1)可以得到以下公式(2):According to the above formula (1), the following formula (2) can be obtained:
V VOICE=(V CALL_MAIN-V CALL_AUX)+(V NOISE_MAIN-V NOISE_AUX)    (2) V VOICE =(V CALL_MAIN -V CALL_AUX )+(V NOISE_MAIN -V NOISE_AUX ) (2)
由于背景噪声V NOISE_MAIN和V NOISE_AUX大小基本相同,进而可以得到公式(3): Since the background noises V NOISE_MAIN and V NOISE_AUX are basically the same size, equation (3) can be obtained:
V VOICE=V CALL_MAIN-V CALL_AUX    (3) V VOICE =V CALL_MAIN -V CALL_AUX (3)
在如图1所示的标准姿势下,而V CALL_MAIN较大而V CALL_AUX较小,因此,很容易将V VOICE调整在[A:B]dB的范围内。 In the standard posture as shown in Fig. 1, V CALL_MAIN is large and V CALL_AUX is small, so it is easy to adjust V VOICE within the range of [A: B] dB.
然而,在如图2所示的非标准姿势下,由于手持姿势改变,导致主MIC到人嘴的距离变远,进而导致V CALL_MAIN变小。而辅MIC拾取的语言信号V AUX中的V CALL_AUX基本没有变化,从而使得由上述公式(3)得到的V VOICE也会变小。特别地,在某些手持姿势下,通过上述公式(3)得到的V VOICE不会落在[A:B]dB的范围内。 However, in the non-standard posture as shown in FIG. 2, the distance from the main MIC to the human mouth becomes longer due to the change in the hand posture, which in turn causes V CALL_MAIN to become smaller. On the other hand, V CALL_AUX in the language signal V AUX picked up by the auxiliary MIC does not substantially change, so that the V VOICE obtained by the above formula (3) also becomes small. In particular, in some hand-held postures, the V VOICE obtained by the above formula (3) does not fall within the range of [A: B] dB.
因此,在不同的手持姿势下,主MIC的频率响应曲线存在明显差异。然而,使用固定的降噪参数只能对V CALL_MAIN和V CALL_AUX的增益进行整体提升或衰减。 Therefore, there are significant differences in the frequency response curves of the main MIC in different hand-held postures. However, using a fixed noise reduction parameter can only increase or attenuate the gain of V CALL_MAIN and V CALL_AUX as a whole.
表1示出了针对不同手持姿势使用固定的降噪参数0dB和5dB进行降噪的各指标参数。应当认识到,表1中V CALL_MAIN和V CALL_AUX数值选取了频率响应曲线的典型值,以大致表现出两条频率响应曲线增益 的平均差值。 Table 1 shows the various indicator parameters for noise reduction using fixed noise reduction parameters 0 dB and 5 dB for different hand gestures. It will be appreciated that the V CALL_MAIN and V CALL_AUX values in Table 1 select typical values for the frequency response curve to roughly represent the average difference in gain of the two frequency response curves.
表1Table 1
Figure PCTCN2018101136-appb-000001
Figure PCTCN2018101136-appb-000001
从表1可以看出,在使用固定的降噪参数0dB的情况下,对于姿势1和姿势2,通话响度和降噪效果可以满足要求,而对于姿势3和姿势4,通话响度较小无法满足要求。在使用固定的降噪参数5dB的情况下,通话响度基本满足要求(姿势1和姿势2的通话响度偏大),但降噪效果被消弱,没有起到预期的双MIC降噪的目的。It can be seen from Table 1 that in the case of using a fixed noise reduction parameter of 0 dB, for the posture 1 and the posture 2, the call loudness and the noise reduction effect can satisfy the requirement, and for the posture 3 and the posture 4, the call loudness is small and cannot be satisfied. Claim. In the case of using a fixed noise reduction parameter of 5 dB, the call loudness basically satisfies the requirement (the call loudness of posture 1 and posture 2 is too large), but the noise reduction effect is weakened, and the intended double MIC noise reduction is not achieved.
综上,在相关技术中,如果用户手持手机的非标准姿势和标准姿势相差较大时,会导致通话音量减小且降噪效果变差,并且无法同时改善这两方面问题的情况。In summary, in the related art, if the non-standard posture and the standard posture of the user's hand-held mobile phone differ greatly, the volume of the call is reduced and the noise reduction effect is deteriorated, and the situation of both of these problems cannot be improved at the same time.
根据本公开,可以对不同手持姿势下的手机姿态信息进行采集并预先生成不同的降噪参数配置文件,以供手持通话时调用,从而解决在非标准姿势下提高通话音量并同时实现降噪的问题。According to the present disclosure, the gesture information of the mobile phone in different handheld postures can be collected and different noise reduction parameter profiles can be generated in advance for calling in a hand-held call, thereby solving the problem of improving the voice volume and achieving noise reduction in a non-standard posture. problem.
图3是根据本公开实施例的移动终端的降噪方法的流程图。FIG. 3 is a flowchart of a noise reduction method of a mobile terminal according to an embodiment of the present disclosure.
如图3所示,根据本公开实施的移动终端的降噪方法可以包括步骤S101至S103。As shown in FIG. 3, the noise reduction method of the mobile terminal according to an implementation of the present disclosure may include steps S101 to S103.
在步骤S101,当移动终端进入手持通话模式时,采集移动终端当前的姿态信息。In step S101, when the mobile terminal enters the handheld call mode, the current posture information of the mobile terminal is collected.
在步骤S102,从预先建立的降噪参数校准数据库中调用与移动终端当前的姿态信息对应的降噪参数配置文件。In step S102, a noise reduction parameter configuration file corresponding to the current posture information of the mobile terminal is called from the pre-established noise reduction parameter calibration database.
在步骤S103,按照所调用的降噪参数配置文件对移动终端的双MIC进行音频修正和降噪处理。In step S103, audio correction and noise reduction processing are performed on the dual MIC of the mobile terminal according to the called noise reduction parameter profile.
根据本公开实施例,预先生成的降噪参数校准数据库至少存储 有与移动终端的姿态信息对应的降噪参数配置文件,其中,姿态信息包括移动终端的姿态坐标数据,并且与姿态信息对应的降噪参数配置文件包括在相应的姿态下用于音频修正和降噪处理的多个参数修正变量。According to an embodiment of the present disclosure, the pre-generated noise reduction parameter calibration database stores at least a noise reduction parameter profile corresponding to the posture information of the mobile terminal, wherein the posture information includes posture coordinate data of the mobile terminal, and the drop corresponding to the posture information The noise parameter profile includes a plurality of parameter correction variables for audio correction and noise reduction processing in the respective poses.
根据本公开实施例的移动终端的降噪方法还可以包括预先建立降噪参数校准数据库的步骤,该步骤可以包括:采集移动终端的各种姿态坐标数据;测试移动终端在各种姿态坐标数据下的主MIC和辅MIC的音频数据,以生成在不同姿态坐标数据下的主MIC和辅MIC的频率响应曲线数据;在所生成的主MIC和辅MIC的频率响应曲线数据中,选取多个典型频点,并针对所选取的典型频点分别设定参数修正变量;以及将各种姿态坐标数据和对应的多个参数修正变量进行拟合,以生成降噪参数配置文件并存储。The noise reduction method of the mobile terminal according to an embodiment of the present disclosure may further include the step of establishing a noise reduction parameter calibration database in advance, the step may include: collecting various posture coordinate data of the mobile terminal; testing the mobile terminal under various posture coordinate data The main MIC and the auxiliary MIC audio data to generate frequency response curve data of the main MIC and the auxiliary MIC under different attitude coordinate data; in the generated frequency response curve data of the main MIC and the auxiliary MIC, select a plurality of typical Frequency points, and parameter correction variables are respectively set for the selected typical frequency points; and various posture coordinate data and corresponding plurality of parameter correction variables are fitted to generate a noise reduction parameter configuration file and stored.
根据本公开实施例,步骤S102可以包括:在降噪参数校准数据库中查找与移动终端当前的姿态信息中的姿态坐标数据差值最小的姿态坐标数据;根据所查找的姿态坐标数据和对应的多个参数修正变量的拟合结果生成与移动终端当前的姿态信息中的姿态坐标数据对应的参数修正变量;以及根据所生成的参数修正变量得到与移动终端当前的姿态信息对应的降噪参数配置文件。According to an embodiment of the present disclosure, step S102 may include: searching, in the noise reduction parameter calibration database, posture coordinate data having the smallest difference from the posture coordinate data in the current posture information of the mobile terminal; and according to the obtained posture coordinate data and corresponding multiple a fitting result of the parameter correction variable generates a parameter correction variable corresponding to the posture coordinate data in the current posture information of the mobile terminal; and obtaining a noise reduction parameter configuration file corresponding to the current posture information of the mobile terminal according to the generated parameter correction variable .
根据本公开实施例,可以利用方位传感器,例如加速度传、陀螺仪等采集移动终端的各种姿态坐标数据。According to an embodiment of the present disclosure, various attitude coordinate data of the mobile terminal may be acquired using an orientation sensor such as an acceleration transmission, a gyroscope, or the like.
图4是根据本公开实施例的移动终端的降噪装置的结构框图。4 is a structural block diagram of a noise reduction device of a mobile terminal according to an embodiment of the present disclosure.
如图4所示,根据本公开实施例的移动终端的将在装置可以包括采集单元401和降噪处理单元402。As shown in FIG. 4, the device of the mobile terminal according to an embodiment of the present disclosure may include an acquisition unit 401 and a noise reduction processing unit 402.
在移动终端进入手持通话模式时,采集单元401采集移动终端当前的姿态信息。降噪处理单元402设置为从预先建立的降噪参数校准数据库403中调用与移动终端当前的姿态信息对应的降噪参数配置文件,并且按照所调用的降噪参数配置文件对移动终端的双MIC进行音频修正和降噪处理。When the mobile terminal enters the handheld call mode, the collecting unit 401 collects the current posture information of the mobile terminal. The noise reduction processing unit 402 is configured to call a noise reduction parameter configuration file corresponding to the current posture information of the mobile terminal from the pre-established noise reduction parameter calibration database 403, and configure the file to the dual MIC of the mobile terminal according to the called noise reduction parameter configuration file. Perform audio correction and noise reduction processing.
主MIC和辅MIC的频率响应曲线,在各个频点进行修正,实现主MIC和辅MIC频率响应曲线供通话过程中的降噪计算。The frequency response curves of the main MIC and the auxiliary MIC are corrected at each frequency point to realize the main MIC and the auxiliary MIC frequency response curve for the noise reduction calculation during the call.
根据本公开实施例,预先生成的降噪参数校准数据库403至少存储有与移动终端的姿态信息对应的降噪参数配置文件,其中,姿态信息包括移动终端的姿态坐标数据,并且与姿态信息对应的降噪参数配置文件包括在相应的姿态下用于音频修正和降噪处理的多个参数修正变量。According to an embodiment of the present disclosure, the pre-generated noise reduction parameter calibration database 403 stores at least a noise reduction parameter profile corresponding to the posture information of the mobile terminal, wherein the posture information includes posture coordinate data of the mobile terminal, and corresponds to the posture information. The noise reduction parameter profile includes a plurality of parameter correction variables for audio correction and noise reduction processing in the respective poses.
根据本公开实施例的降噪装置还可以包括降噪参数校准数据库生成单元404。如图4所示,降噪参数校准数据库生成单元404可以包括音频数据测试模块4041、音频参数修正模块4042和降噪参数校准模块4043。The noise reducer according to an embodiment of the present disclosure may further include a noise reduction parameter calibration database generation unit 404. As shown in FIG. 4, the noise reduction parameter calibration database generating unit 404 may include an audio data testing module 4041, an audio parameter correction module 4042, and a noise reduction parameter calibration module 4043.
在音频实验室环境里,使用手持模式夹具将手机固定在在各种姿态下,并且由采集单元401采集移动终端的在各种姿态下的姿态坐标数据。音频数据测试模块4041测试在移动终端在各种姿态坐标数据下的主MIC和辅MIC的音频数据,以生成在不同姿态坐标数据下的主MIC和辅MIC的频率响应曲线数据。In an audio lab environment, the handset is fixed in various poses using a hand-held mode fixture, and the attitude coordinates data of the mobile terminal in various poses is acquired by the acquisition unit 401. The audio data testing module 4041 tests the audio data of the primary MIC and the secondary MIC of the mobile terminal under various attitude coordinate data to generate frequency response curve data of the primary MIC and the secondary MIC under different attitude coordinate data.
图5示出了根据本公开实施例的生成姿态坐标数据的原理图。FIG. 5 illustrates a schematic diagram of generating attitude coordinate data in accordance with an embodiment of the present disclosure.
如图5所示,可以通过加速度传感器和陀螺仪等采集移动终端的各种姿态坐标数据。As shown in FIG. 5, various posture coordinate data of the mobile terminal can be acquired by an acceleration sensor, a gyroscope, or the like.
音频参数修正模块4042设置为,在音频数据测试模块4041生成的主MIC和辅MIC的频率响应曲线数据中,选取多个典型频点,并针对所选取的典型频点分别设定参数修正变量Δ,即,分别对主MIC增益和辅MIC的增益进行适度修正。The audio parameter correction module 4042 is configured to select a plurality of typical frequency points in the frequency response curve data of the main MIC and the auxiliary MIC generated by the audio data test module 4041, and set a parameter correction variable Δ for the selected typical frequency points. That is, the main MIC gain and the gain of the secondary MIC are appropriately corrected.
图6示出了根据本公开实施例的对主麦克风和辅麦克风的频率响应曲线数据的示图。如图6所示,粗实线表示主MIC的频率响应曲线(简称为“频响曲线”),细实线表示辅MIC修正前的频响曲线,细虚线表示辅MIC修改后的频响曲线。FIG. 6 shows a diagram of frequency response curve data for a primary microphone and a secondary microphone, in accordance with an embodiment of the present disclosure. As shown in Fig. 6, the thick solid line indicates the frequency response curve of the main MIC (referred to as "frequency response curve"), the thin solid line indicates the frequency response curve before the auxiliary MIC correction, and the thin dotted line indicates the modified frequency response curve of the auxiliary MIC. .
降噪参数校准模块4043设置为,将采集单元401采集的各种姿态坐标数据和对应的多个参数修正变量Δ进行拟合,以生成降噪参数配置文件并存储。The noise reduction parameter calibration module 4043 is configured to fit the various posture coordinate data collected by the acquisition unit 401 and the corresponding plurality of parameter correction variables Δ to generate a noise reduction parameter configuration file and store the same.
根据本公开实施例,降噪处理单元402可以设置为:在降噪参数校准数据库403中查找与移动终端当前的姿态信息中的姿态坐标 数据差值最小的姿态坐标数据;根据所查找的姿态坐标数据和对应的多个参数修正变量的拟合结果生成与移动终端当前的姿态信息中的姿态坐标数据对应的参数修正变量;以及根据所生成的参数修正变量得到与移动终端当前的姿态信息对应的降噪参数配置文件。According to an embodiment of the present disclosure, the noise reduction processing unit 402 may be configured to: in the noise reduction parameter calibration database 403, look up posture coordinate data having the smallest difference from the posture coordinate data in the current posture information of the mobile terminal; The data and the corresponding fitting result of the plurality of parameter correction variables generate a parameter correction variable corresponding to the posture coordinate data in the current posture information of the mobile terminal; and obtain a parameter corresponding to the current posture information of the mobile terminal according to the generated parameter correction variable. Noise reduction parameter configuration file.
图7示出了根据本公开实施例的姿态与参数修正变量之间的拟合曲线示意图。FIG. 7 shows a schematic diagram of a fit curve between a pose and a parameter correction variable in accordance with an embodiment of the present disclosure.
如图7所示,例如,在建立降噪参数校准数据库时,对移动终端的姿态1至姿态6与参数修正变量1至参数修正变量6进行了拟合。因此,当采集单元401采集的移动终端当前的姿态信息包括与姿态7对应的坐标数据时,降噪处理单元402可以在降噪参数校准数据库403中查找与姿态7的姿态坐标数据差值最小的姿态坐标数据,例如,查找到,与姿态3和姿态4对应的姿态坐标数据和与姿态7对应的姿态坐标数据最为接近,因此,可以利用姿态3和姿态4与参数修正变量3和参数修正变量4的拟合结果得到与姿态7对应的参数修正变量Δ,例如,可以通过与姿态3和姿态4对应的参数修正变量3和参数修正变量4的局部线性化计算来获得与姿态7对应的参数修正变量Δ。基于相同的原理,可以利用姿态5和姿态6与参数修正变量5和参数修正变量6的拟合结果得到与姿态8对应的参数修正变量Δ。As shown in FIG. 7, for example, when the noise reduction parameter calibration database is established, the posture 1 to posture 6 of the mobile terminal are fitted with the parameter correction variable 1 to the parameter correction variable 6. Therefore, when the current posture information of the mobile terminal collected by the collecting unit 401 includes the coordinate data corresponding to the posture 7, the noise reduction processing unit 402 can find the minimum difference between the attitude coordinate data of the posture 7 and the posture coordinate data of the posture 7 in the noise reduction parameter calibration database 403. The attitude coordinate data, for example, finds that the posture coordinate data corresponding to the posture 3 and the posture 4 and the posture coordinate data corresponding to the posture 7 are closest to each other, and therefore, the posture 3 and the posture 4 and the parameter correction variable 3 and the parameter correction variable can be utilized. The fitting result of 4 obtains the parameter correction variable Δ corresponding to the posture 7, for example, the parameter corresponding to the posture 7 can be obtained by the local linearization calculation of the parameter correction variable 3 and the parameter correction variable 4 corresponding to the posture 3 and the posture 4. Correct the variable Δ. Based on the same principle, the parameter correction variable Δ corresponding to the posture 8 can be obtained by the fitting result of the posture 5 and the posture 6 with the parameter correction variable 5 and the parameter correction variable 6.
表2示出了根据本公开实施例的降噪方法针对不同手持姿势使用不同的降噪参数进行降噪处理的各指标参数。Table 2 shows various indicator parameters for noise reduction processing using different noise reduction parameters for different handheld gestures in accordance with an embodiment of the present disclosure.
表2Table 2
Figure PCTCN2018101136-appb-000002
Figure PCTCN2018101136-appb-000002
从表2可以看出,在针对不同的姿势使用不同的降噪参数进行降噪处理的情况下,各个姿势下的通话响度和降噪效果都可以满足要求。It can be seen from Table 2 that in the case of using different noise reduction parameters for different postures for noise reduction processing, the call loudness and noise reduction effect in each posture can satisfy the requirements.
图8示出了根据本公开实施例的移动终端的降噪方法的流程图。FIG. 8 illustrates a flow chart of a noise reduction method of a mobile terminal according to an embodiment of the present disclosure.
如图8所示,根据本公开实施例的终端的降噪方法可以包括步 骤S801至S809。As shown in FIG. 8, the noise reduction method of the terminal according to an embodiment of the present disclosure may include steps S801 to S809.
在步骤S801,通过加速度传感器、陀螺仪等方位传感器采集手机的姿态坐标数据。In step S801, the attitude coordinate data of the mobile phone is acquired by an azimuth sensor such as an acceleration sensor or a gyroscope.
在步骤S802,借助音频实验室环境,在不同的手机姿态(即,不同的姿态坐标数据)下,测试主MIC和辅MIC的音频数据,以生成主MIC和辅MIC的频率响应曲线数据。In step S802, the audio data of the primary MIC and the secondary MIC are tested under different handset gestures (ie, different attitude coordinate data) by the audio lab environment to generate frequency response curve data of the primary MIC and the secondary MIC.
在步骤S803,在主MIC和辅MIC的频率响应曲线数据中选取多个典型频点,并针对各典型频点分别设定参数修正变量。In step S803, a plurality of typical frequency points are selected in the frequency response curve data of the main MIC and the auxiliary MIC, and parameter correction variables are respectively set for each of the typical frequency points.
在步骤S804:通过将姿态坐标数据和频率响应曲线数据进行拟合,以生成降噪参数配置文件并存储在降噪参数校准数据库中。At step S804: a noise reduction parameter profile is generated by fitting the attitude coordinate data and the frequency response curve data and stored in the noise reduction parameter calibration database.
在步骤S805,判断是否进入手持通话模式,如果“是”,则继续执行步骤S806,否则返回。In step S805, it is judged whether or not the hand-held call mode is entered. If YES, the process proceeds to step S806, otherwise returns.
在步骤S806,判断手持姿势是否在合理范围内,如果“是”,则继续执行步骤S807,否则认为手机已脱离手持,并结束本流程。In step S806, it is judged whether the hand posture is within a reasonable range. If YES, step S807 is continued, otherwise the mobile phone is considered to be out of the hand, and the flow is ended.
应当认识到,在步骤S806所涉及的“合理范围”包括了标准手持姿势和各种非标准手持姿势。当检测到超出了合理范围时,则说明手机已经脱离了手持,例如,处于免提通话状态下。It will be appreciated that the "reasonable range" referred to in step S806 includes standard hand held gestures and various non-standard hand held gestures. When it is detected that the reasonable range is exceeded, it indicates that the mobile phone has been removed from the handheld, for example, in a hands-free conversation state.
在步骤S807,采集手机当前的姿态坐标数据。In step S807, the current posture coordinate data of the mobile phone is acquired.
在步骤S808,根据采集的姿态坐标数据调用对应的降噪参数配置文件,并对主MIC和辅MIC的频率响应曲线数据在各个频点进行修正。In step S808, the corresponding noise reduction parameter configuration file is called according to the collected posture coordinate data, and the frequency response curve data of the main MIC and the auxiliary MIC are corrected at each frequency point.
在步骤S809,利用优化后主MIC和辅MIC的频率响应曲线数据执行降噪算法,以实现降噪。In step S809, the noise reduction algorithm is performed using the frequency response curve data of the optimized main MIC and the auxiliary MIC to achieve noise reduction.
本公开实施例还提供了一种计算机存储介质,其上存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,使得所述一个或者多个处理器实现根据本公开上述各实施例的移动终端的降噪方法。Embodiments of the present disclosure also provide a computer storage medium having stored thereon one or more programs, the one or more programs being executable by one or more processors such that the one or more processors are implemented A noise reduction method of a mobile terminal according to the above embodiments of the present disclosure.
根据本公开的方案,可以针对不同手持姿势下的手机姿态信息进行采集并预先生成不同的降噪参数配置文件,以供手持通话时调用,从而非标准姿势下,在提高通话音量的同时实现了降噪。According to the solution of the present disclosure, the gesture information of the mobile phone in different handheld gestures can be collected and different noise reduction parameter profiles can be generated in advance for calling in the hand-held call, thereby achieving the voice volume in a non-standard posture. Noise reduction.
本领域普通技术人员可以理解,上述本公开实施例中的全部或部分步骤可通过程序来指令相关硬件完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。此外,上述各实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述各实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本申请不限制于任何特定形式的硬件和软件的结合。A person skilled in the art can understand that all or part of the steps in the above embodiments of the present disclosure may be completed by a program to instruct related hardware, and the program may be stored in a computer readable storage medium such as a read only memory, a magnetic disk or an optical disk. . Furthermore, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in each of the above embodiments may be implemented in the form of hardware or in the form of a software function module. This application is not limited to any specific combination of hardware and software.
以上所述,仅为本公开的实施例,并非用于限定本公开的保护范围。凡在本公开的精神和原则之内做出的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。The above description is only an embodiment of the present disclosure, and is not intended to limit the scope of the disclosure. Any modifications, equivalents, improvements, etc. made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (13)

  1. 一种移动终端的降噪方法,包括:A noise reduction method for a mobile terminal, comprising:
    当移动终端进入手持通话模式时,采集移动终端当前的姿态信息;When the mobile terminal enters the handheld call mode, collecting current gesture information of the mobile terminal;
    从预先建立的降噪参数校准数据库中调用与所述移动终端当前的姿态信息对应的降噪参数配置文件;以及Recalling, from a pre-established noise reduction parameter calibration database, a noise reduction parameter configuration file corresponding to the current posture information of the mobile terminal;
    按照所调用的降噪参数配置文件对所述移动终端的双麦克风进行音频修正和降噪处理。Audio correction and noise reduction processing is performed on the dual microphone of the mobile terminal according to the called noise reduction parameter profile.
  2. 如权利要求1所述的降噪方法,其中,所述降噪参数校准数据库至少存储有与移动终端的姿态信息对应的降噪参数配置文件,所述姿态信息包括移动终端的姿态坐标数据,与姿态信息对应的降噪参数配置文件包括在相应的姿态下用于音频修正和降噪处理的多个参数修正变量。The noise reduction method according to claim 1, wherein the noise reduction parameter calibration database stores at least a noise reduction parameter configuration file corresponding to posture information of the mobile terminal, the posture information including posture coordinate data of the mobile terminal, and The noise reduction parameter profile corresponding to the attitude information includes a plurality of parameter correction variables for audio correction and noise reduction processing in the corresponding posture.
  3. 如权利要求2所述的降噪方法,还包括:预先建立所述降噪参数校准数据库,其包括:The noise reduction method of claim 2, further comprising: pre-establishing the noise reduction parameter calibration database, comprising:
    采集移动终端的各种姿态坐标数据;Collecting various posture coordinate data of the mobile terminal;
    测试移动终端在各种姿态坐标数据下的主麦克风和辅麦克风的音频数据,以生成在不同姿态坐标数据下的主麦克风和辅麦克风的频率响应曲线数据;Testing audio data of the primary microphone and the secondary microphone of the mobile terminal under various attitude coordinate data to generate frequency response curve data of the primary microphone and the secondary microphone under different attitude coordinate data;
    在所生成的主麦克风和辅麦克风的频率响应曲线数据中,选取多个典型频点,并针对所选取的典型频点分别设定参数修正变量;以及In the generated frequency response curve data of the main microphone and the auxiliary microphone, selecting a plurality of typical frequency points, and respectively setting parameter correction variables for the selected typical frequency points;
    将各种姿态坐标数据和对应的多个参数修正变量进行拟合,以生成降噪参数配置文件并存储。The various pose coordinate data and the corresponding plurality of parameter correction variables are fitted to generate a noise reduction parameter profile and stored.
  4. 如权利要求3所述的降噪方法,其中,从预先建立的降噪参数校准数据库中调用与所述移动终端当前的姿态信息对应的降噪参 数配置文件的步骤包括:The noise reduction method according to claim 3, wherein the step of invoking a noise reduction parameter profile corresponding to the current posture information of the mobile terminal from the pre-established noise reduction parameter calibration database comprises:
    在所述降噪参数校准数据库中查找与所述移动终端当前的姿态信息中的姿态坐标数据差值最小的姿态坐标数据;Locating, in the noise reduction parameter calibration database, attitude coordinate data having the smallest difference from the attitude coordinate data in the current posture information of the mobile terminal;
    根据所查找的姿态坐标数据和对应的多个参数修正变量的拟合结果生成与所述移动终端当前的姿态信息中的姿态坐标数据对应的参数修正变量;以及Generating a parameter correction variable corresponding to the posture coordinate data in the current posture information of the mobile terminal according to the searched posture coordinate data and the fitting result of the corresponding plurality of parameter correction variables;
    根据所生成的参数修正变量得到与所述移动终端当前的姿态信息对应的降噪参数配置文件。And obtaining a noise reduction parameter configuration file corresponding to the current posture information of the mobile terminal according to the generated parameter correction variable.
  5. 如权利要求2或3所述的降噪方法,其中,通过方位传感器采集所述移动终端的各种姿态坐标数据。The noise reduction method according to claim 2 or 3, wherein the plurality of posture coordinate data of the mobile terminal are acquired by an orientation sensor.
  6. 如权利要求5所述的降噪方法,其中,所述方位传感器包括加速度传感器和陀螺仪。The noise reduction method of claim 5, wherein the orientation sensor comprises an acceleration sensor and a gyroscope.
  7. 一种移动终端的降噪装置,包括:A noise reduction device for a mobile terminal, comprising:
    采集单元,在移动终端进入手持通话模式时,所述采集单元采集移动终端当前的姿态信息;以及a collecting unit, when the mobile terminal enters the handheld call mode, the collecting unit collects current posture information of the mobile terminal;
    降噪处理单元,其设置为从预先建立的降噪参数校准数据库中调用与所述移动终端当前的姿态信息对应的降噪参数配置文件,并且按照所调用的降噪参数配置文件对所述移动终端的双麦克风进行音频修正和降噪处理。a noise reduction processing unit configured to call a noise reduction parameter configuration file corresponding to the current posture information of the mobile terminal from a pre-established noise reduction parameter calibration database, and to perform the movement according to the called noise reduction parameter configuration file The terminal's dual microphone performs audio correction and noise reduction processing.
  8. 如权利要求7所述的降噪装置,其中,所述降噪参数校准数据库至少存储有与移动终端的姿态信息对应的降噪参数配置文件,所述姿态信息包括移动终端的姿态坐标数据,与姿态信息对应的降噪参数配置文件包括在相应的姿态下用于音频修正和降噪处理的多个参数修正变量。The noise reduction device according to claim 7, wherein the noise reduction parameter calibration database stores at least a noise reduction parameter profile corresponding to posture information of the mobile terminal, the posture information including posture coordinate data of the mobile terminal, and The noise reduction parameter profile corresponding to the attitude information includes a plurality of parameter correction variables for audio correction and noise reduction processing in the corresponding posture.
  9. 如权利要求8所述的降噪装置,还包括降噪参数校准数据库 生成单元,其包括音频数据测试模块、音频参数修正模块和降噪参数校准模块,其中A noise reduction device according to claim 8, further comprising a noise reduction parameter calibration database generating unit including an audio data test module, an audio parameter correction module, and a noise reduction parameter calibration module, wherein
    所述音频数据测试模块测试在所述采集单元采集的移动终端在各种姿态坐标数据下的主麦克风和辅麦克风的音频数据,以生成在不同姿态坐标数据下的主麦克风和辅麦克风的频率响应曲线数据,The audio data test module tests audio data of the primary microphone and the secondary microphone of the mobile terminal collected by the acquisition unit under various attitude coordinate data to generate frequency responses of the primary microphone and the secondary microphone under different attitude coordinate data. Curve data,
    所述音频参数修正模块设置为,在所述音频数据测试模块生成的主麦克风和辅麦克风的频率响应曲线数据中,选取多个典型频点,并针对所选取的典型频点分别设定参数修正变量,并且The audio parameter correction module is configured to select a plurality of typical frequency points in the frequency response curve data of the primary microphone and the secondary microphone generated by the audio data test module, and set parameter corrections for the selected typical frequency points respectively. Variable, and
    所述降噪参数校准模块设置为,将所述采集单元采集的各种姿态坐标数据和对应的多个参数修正变量进行拟合,以生成降噪参数配置文件并存储。The noise reduction parameter calibration module is configured to fit various posture coordinate data collected by the acquisition unit and corresponding plurality of parameter correction variables to generate a noise reduction parameter configuration file and store the noise reduction parameter.
  10. 如权利要求9所述的降噪装置,其中,所述降噪处理单元设置为:The noise reduction device of claim 9, wherein the noise reduction processing unit is configured to:
    在所述降噪参数校准数据库中查找与所述移动终端当前的姿态信息中的姿态坐标数据差值最小的姿态坐标数据;Locating, in the noise reduction parameter calibration database, attitude coordinate data having the smallest difference from the attitude coordinate data in the current posture information of the mobile terminal;
    根据所查找的姿态坐标数据和对应的多个参数修正变量的拟合结果生成与所述移动终端当前的姿态信息中的姿态坐标数据对应的参数修正变量;以及Generating a parameter correction variable corresponding to the posture coordinate data in the current posture information of the mobile terminal according to the searched posture coordinate data and the fitting result of the corresponding plurality of parameter correction variables;
    根据所生成的参数修正变量得到与所述移动终端当前的姿态信息对应的降噪参数配置文件。And obtaining a noise reduction parameter configuration file corresponding to the current posture information of the mobile terminal according to the generated parameter correction variable.
  11. 如权利要求7所述的降噪装置,其中,所述采集单元包括方位传感器。The noise reducer of claim 7 wherein said acquisition unit comprises an orientation sensor.
  12. 如权利要求11所述的降噪装置,其中,所述方位传感器包括加速度传感器和陀螺仪。The noise reducer of claim 11 wherein said orientation sensor comprises an acceleration sensor and a gyroscope.
  13. 一种计算机存储介质,其上存储有一个或者多个程序,所述一个或者多个程序被一个或者多个处理器执行时,所述一个或者多 个处理器执行如权利要求1至6中任一项所述的移动终端的降噪方法。A computer storage medium having stored thereon one or more programs, the one or more processors being executed by one or more processors, the one or more processors performing as claimed in claims 1 to 6 A noise reduction method for a mobile terminal as described.
PCT/CN2018/101136 2017-08-17 2018-08-17 Noise reduction method and device for mobile terminal, and computer storage medium WO2019034154A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710709083.5 2017-08-17
CN201710709083.5A CN109413253A (en) 2017-08-17 2017-08-17 A kind of noise-eliminating method and device for realizing mobile terminal

Publications (1)

Publication Number Publication Date
WO2019034154A1 true WO2019034154A1 (en) 2019-02-21

Family

ID=65361736

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/101136 WO2019034154A1 (en) 2017-08-17 2018-08-17 Noise reduction method and device for mobile terminal, and computer storage medium

Country Status (2)

Country Link
CN (1) CN109413253A (en)
WO (1) WO2019034154A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110191220B (en) * 2019-05-31 2021-09-10 维沃移动通信有限公司 Voice processing method and terminal equipment
CN112261201B (en) * 2020-10-20 2022-08-05 Oppo广东移动通信有限公司 Call method, device, mobile terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080312918A1 (en) * 2007-06-18 2008-12-18 Samsung Electronics Co., Ltd. Voice performance evaluation system and method for long-distance voice recognition
CN102739867A (en) * 2012-06-19 2012-10-17 青岛海信移动通信技术股份有限公司 Method and mobile terminal for reducing noise by double microphones (MICs)
CN102801861A (en) * 2012-08-07 2012-11-28 歌尔声学股份有限公司 Voice enhancing method and device applied to cell phone
CN103079148A (en) * 2012-12-28 2013-05-01 中兴通讯股份有限公司 Method and device for reducing noise of two microphones of terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873625B (en) * 2014-03-31 2015-11-25 努比亚技术有限公司 A kind of enhancing receives the method for speech loudness, device and mobile terminal
CN104363543B (en) * 2014-11-10 2017-10-20 广东欧珀移动通信有限公司 The method of adjustment and device of microphone frequency response curve
CN106161751B (en) * 2015-04-14 2019-07-19 电信科学技术研究院 A kind of noise suppressing method and device
US9401158B1 (en) * 2015-09-14 2016-07-26 Knowles Electronics, Llc Microphone signal fusion

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080312918A1 (en) * 2007-06-18 2008-12-18 Samsung Electronics Co., Ltd. Voice performance evaluation system and method for long-distance voice recognition
CN102739867A (en) * 2012-06-19 2012-10-17 青岛海信移动通信技术股份有限公司 Method and mobile terminal for reducing noise by double microphones (MICs)
CN102801861A (en) * 2012-08-07 2012-11-28 歌尔声学股份有限公司 Voice enhancing method and device applied to cell phone
CN103079148A (en) * 2012-12-28 2013-05-01 中兴通讯股份有限公司 Method and device for reducing noise of two microphones of terminal

Also Published As

Publication number Publication date
CN109413253A (en) 2019-03-01

Similar Documents

Publication Publication Date Title
US10535362B2 (en) Speech enhancement for an electronic device
KR102305066B1 (en) Sound processing method and device
US20220360883A1 (en) Noise reduction method and apparatus for microphone array of earphone, earphone and tws earphone
EP3096318B1 (en) Noise reduction in multi-microphone systems
KR20200019954A (en) Earbud Speech Estimation
WO2014101429A1 (en) Noise reduction method and device for bi-microphone of terminal
US20140363008A1 (en) Use of vibration sensor in acoustic echo cancellation
WO2015154424A1 (en) Method and system for determining main microphone and auxiliary microphone among multiple microphones
WO2017096923A1 (en) Method and system for alleviating hands-free call echo of mobile terminal
WO2016078369A1 (en) Mobile terminal conversation voice noise reduction method and apparatus and storage medium
US9812149B2 (en) Methods and systems for providing consistency in noise reduction during speech and non-speech periods
US10516941B2 (en) Reducing instantaneous wind noise
WO2020252629A1 (en) Residual acoustic echo detection method, residual acoustic echo detection device, voice processing chip, and electronic device
US10884696B1 (en) Dynamic modification of audio signals
US20210090548A1 (en) Translation system
WO2017166751A1 (en) Audio adjusting method and apparatus of mobile terminal, and electronic device
WO2019034154A1 (en) Noise reduction method and device for mobile terminal, and computer storage medium
WO2017166495A1 (en) Method and device for voice signal processing
CN112735370B (en) Voice signal processing method and device, electronic equipment and storage medium
US11449302B2 (en) Volume adjustments based on ambient sounds and voices
CN113923294B (en) Audio zooming method and device, folding screen equipment and storage medium
US10366701B1 (en) Adaptive multi-microphone beamforming
JP6638248B2 (en) Audio determination device, method and program, and audio signal processing device
WO2022041485A1 (en) Method for processing audio signal, electronic device and storage medium
CN111757211B (en) Noise reduction method, terminal device and storage medium

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: 18846590

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18846590

Country of ref document: EP

Kind code of ref document: A1