Nothing Special   »   [go: up one dir, main page]

CN107835482A - Method, device and electronic equipment for detecting sound leakage - Google Patents

Method, device and electronic equipment for detecting sound leakage Download PDF

Info

Publication number
CN107835482A
CN107835482A CN201710964753.8A CN201710964753A CN107835482A CN 107835482 A CN107835482 A CN 107835482A CN 201710964753 A CN201710964753 A CN 201710964753A CN 107835482 A CN107835482 A CN 107835482A
Authority
CN
China
Prior art keywords
noise reduction
sound leakage
reduction microphone
leakage rate
sound
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710964753.8A
Other languages
Chinese (zh)
Inventor
罗恒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710964753.8A priority Critical patent/CN107835482A/en
Publication of CN107835482A publication Critical patent/CN107835482A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements

Landscapes

  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)

Abstract

The application provides a method and a device for detecting sound leakage and electronic equipment, wherein the method comprises the steps of controlling a receiver of the electronic equipment to play a test signal; starting a recording function of the noise reduction microphone, and controlling a pickup hole in the noise reduction microphone to enter a preset state; acquiring recording data obtained by recording of a noise reduction microphone at a preset state of a pickup hole; and detecting the sound leakage amount according to the recording data. The microphone sealing performance can be effectively detected through the method and the device.

Description

声音泄漏量的检测方法、装置及电子设备Method, device and electronic equipment for detecting sound leakage

技术领域technical field

本申请涉及电子设备技术领域,尤其涉及一种声音泄漏量的检测方法、装置及电子设备。The present application relates to the technical field of electronic equipment, in particular to a sound leakage detection method, device and electronic equipment.

背景技术Background technique

相关技术中,双MIC或多MIC配置的电子设备应用越来越广泛,如大部分的SMARTPHONE、PAD SMARTSPAKER等。但在生产时,如此众多的MIC,由于气密性原因,如果密封不好,造成机身内部泄漏,如靠近听筒的副MIC,被听筒从机身内部产生的声音泄漏量所干扰,会造成降噪强度忽大忽小,从而导致对方语音也会忽大忽小,通话质量下降。In related technologies, electronic devices configured with dual MICs or multiple MICs are more and more widely used, such as most SMARTPHONEs, PAD SMARTSPAKERs, and the like. However, during production, due to the airtightness of so many MICs, if the seal is not good, the internal leakage of the fuselage will be caused. The intensity of noise reduction fluctuates, causing the voice of the other party to fluctuate, and the quality of the call deteriorates.

发明内容Contents of the invention

本申请旨在至少在一定程度上解决相关技术中的技术问题之一。This application aims to solve one of the technical problems in the related art at least to a certain extent.

为此,本申请提出一种声音泄漏量的检测方法、装置及电子设备,能够有效地对麦克风的密封性能进行检测。For this reason, the present application proposes a sound leakage detection method, device and electronic equipment, which can effectively detect the sealing performance of the microphone.

本申请第一方面实施例提出的声音泄漏量的检测方法,应用于配置有降噪麦克风的电子设备中,包括:控制所述电子设备的听筒播放测试信号;启动所述降噪麦克风的录音功能,并控制所述降噪麦克风中的拾音孔进入预设状态;在所述拾音孔处于所述预设状态下,获取所述降噪麦克风录音得到的录音数据;根据所述录音数据对所述声音泄漏量进行检测。The sound leakage detection method proposed in the embodiment of the first aspect of the present application is applied to an electronic device equipped with a noise reduction microphone, including: controlling the earpiece of the electronic device to play a test signal; activating the recording function of the noise reduction microphone , and control the sound pickup hole in the noise reduction microphone to enter a preset state; when the sound pickup hole is in the preset state, obtain the recording data obtained by recording the noise reduction microphone; The amount of sound leakage is detected.

本申请第一方面实施例提出的声音泄漏量的检测方法,通过控制电子设备的听筒播放测试信号,启动降噪麦克风的录音功能,并控制降噪麦克风中的拾音孔进入预设状态,在拾音孔处于预设状态下,获取降噪麦克风录音得到的录音数据,以及根据录音数据对声音泄漏量进行检测,能够有效地对麦克风的密封性能进行检测。The sound leakage detection method proposed in the embodiment of the first aspect of the present application controls the earpiece of the electronic device to play a test signal, starts the recording function of the noise reduction microphone, and controls the sound pickup hole in the noise reduction microphone to enter a preset state. When the sound pickup hole is in a preset state, the recording data obtained by the noise-reduction microphone recording is obtained, and the sound leakage is detected according to the recording data, which can effectively detect the sealing performance of the microphone.

本申请第二方面实施例提出的声音泄漏量的检测装置,包括:控制模块,用于控制所述电子设备的听筒播放测试信号;第一启动模块,用于启动所述降噪麦克风的录音功能,并控制所述降噪麦克风中的拾音孔进入预设状态;获取模块,用于在所述拾音孔处于所述预设状态下,获取所述降噪麦克风录音得到的录音数据;检测模块,用于根据所述录音数据对所述声音泄漏量进行检测。The sound leakage detection device proposed in the embodiment of the second aspect of the present application includes: a control module, used to control the earpiece of the electronic device to play a test signal; a first starting module, used to start the recording function of the noise reduction microphone , and control the sound pickup hole in the noise-reduction microphone to enter a preset state; an acquisition module, configured to acquire recording data obtained by recording the noise-reduction microphone when the sound pickup hole is in the preset state; detect A module, configured to detect the sound leakage according to the recording data.

本申请第二方面实施例提出的声音泄漏量的检测装置,通过控制电子设备的听筒播放测试信号,启动降噪麦克风的录音功能,并控制降噪麦克风中的拾音孔进入预设状态,在拾音孔处于预设状态下,获取降噪麦克风录音得到的录音数据,以及根据录音数据对声音泄漏量进行检测,能够有效地对麦克风的密封性能进行检测。The sound leakage detection device proposed in the embodiment of the second aspect of the present application controls the earpiece of the electronic device to play a test signal, starts the recording function of the noise reduction microphone, and controls the sound pickup hole in the noise reduction microphone to enter a preset state. When the sound pickup hole is in a preset state, the recording data obtained by the noise-reduction microphone recording is obtained, and the sound leakage is detected according to the recording data, which can effectively detect the sealing performance of the microphone.

本申请第三方面实施例提出的声音泄漏量的检测装置,其特征在于,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为:控制所述电子设备的听筒播放测试信号;启动所述降噪麦克风的录音功能,并控制所述降噪麦克风中的拾音孔进入预设状态;在所述拾音孔处于所述预设状态下,获取所述降噪麦克风录音得到的录音数据;根据所述录音数据对所述声音泄漏量进行检测。The sound leakage detection device proposed in the embodiment of the third aspect of the present application is characterized in that it includes: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to: control the electronic The earpiece of the device plays a test signal; starts the recording function of the noise reduction microphone, and controls the sound pickup hole in the noise reduction microphone to enter a preset state; when the sound pickup hole is in the preset state, obtains the recording data obtained by recording with the noise reduction microphone; and detecting the sound leakage according to the recording data.

本申请第三方面实施例提出的声音泄漏量的检测装置,通过控制电子设备的听筒播放测试信号,启动降噪麦克风的录音功能,并控制降噪麦克风中的拾音孔进入预设状态,在拾音孔处于预设状态下,获取降噪麦克风录音得到的录音数据,以及根据录音数据对声音泄漏量进行检测,能够有效地对麦克风的密封性能进行检测。The sound leakage detection device proposed in the embodiment of the third aspect of the present application controls the earpiece of the electronic device to play a test signal, starts the recording function of the noise reduction microphone, and controls the sound pickup hole in the noise reduction microphone to enter a preset state. When the sound pickup hole is in a preset state, the recording data obtained by the noise-reduction microphone recording is obtained, and the sound leakage is detected according to the recording data, which can effectively detect the sealing performance of the microphone.

本申请第四方面实施例提出了一种非临时性计算机可读存储介质,当所述存储介质中的指令由终端的处理器执行时,使得终端能够执行一种声音泄漏量的检测方法,所述方法包括:控制所述电子设备的听筒播放测试信号;启动所述降噪麦克风的录音功能,并控制所述降噪麦克风中的拾音孔进入预设状态;在所述拾音孔处于所述预设状态下,获取所述降噪麦克风录音得到的录音数据;根据所述录音数据对所述声音泄漏量进行检测。The embodiment of the fourth aspect of the present application proposes a non-transitory computer-readable storage medium. When the instructions in the storage medium are executed by the processor of the terminal, the terminal can execute a sound leakage detection method. The method includes: controlling the earpiece of the electronic device to play a test signal; starting the recording function of the noise reduction microphone, and controlling the sound pickup hole in the noise reduction microphone to enter a preset state; In the preset state, the recording data obtained by the noise reduction microphone recording is obtained; the sound leakage is detected according to the recording data.

本申请第四方面实施例提出的非临时性计算机可读存储介质,通过控制电子设备的听筒播放测试信号,启动降噪麦克风的录音功能,并控制降噪麦克风中的拾音孔进入预设状态,在拾音孔处于预设状态下,获取降噪麦克风录音得到的录音数据,以及根据录音数据对声音泄漏量进行检测,能够有效地对麦克风的密封性能进行检测。The non-transitory computer-readable storage medium proposed in the embodiment of the fourth aspect of the present application controls the earpiece of the electronic device to play a test signal, activates the recording function of the noise reduction microphone, and controls the sound pickup hole in the noise reduction microphone to enter a preset state , when the sound pickup hole is in the preset state, the recording data obtained by the noise reduction microphone recording is obtained, and the sound leakage is detected according to the recording data, which can effectively detect the sealing performance of the microphone.

本申请第五方面还提出一种电子设备,该电子设备包括存储器及处理器,所述存储器中储存有计算机可读指令,所述指令被所述处理器执行时,使得所述处理器执行如本申请第一方面实施例提出的声音泄漏量的检测方法。The fifth aspect of the present application also proposes an electronic device, the electronic device includes a memory and a processor, the memory stores computer-readable instructions, and when the instructions are executed by the processor, the processor performs the following steps: The method for detecting the amount of sound leakage proposed in the embodiment of the first aspect of the present application.

本申请第五方面实施例提出的电子设备,通过控制电子设备的听筒播放测试信号,启动降噪麦克风的录音功能,并控制降噪麦克风中的拾音孔进入预设状态,在拾音孔处于预设状态下,获取降噪麦克风录音得到的录音数据,以及根据录音数据对声音泄漏量进行检测,能够有效地对麦克风的密封性能进行检测。The electronic device proposed in the embodiment of the fifth aspect of the present application controls the earpiece of the electronic device to play a test signal, starts the recording function of the noise reduction microphone, and controls the sound pickup hole in the noise reduction microphone to enter a preset state. In the preset state, the recording data obtained by recording with the noise-reduction microphone is obtained, and the sound leakage is detected according to the recording data, which can effectively detect the sealing performance of the microphone.

本申请附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请的实践了解到。Additional aspects and advantages of the application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application.

附图说明Description of drawings

本申请上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present application will become apparent and easy to understand from the following description of the embodiments in conjunction with the accompanying drawings, wherein:

图1是本申请一实施例提出的声音泄漏量的检测方法的流程示意图;Fig. 1 is a schematic flow chart of a method for detecting sound leakage proposed by an embodiment of the present application;

图2是本申请另一实施例提出的声音泄漏量的检测方法的流程示意图;Fig. 2 is a schematic flow chart of a sound leakage detection method proposed in another embodiment of the present application;

图3为本申请实施例中对双MIC手机的声音泄漏量进行自耦合路径检测示意图;3 is a schematic diagram of self-coupling path detection for the sound leakage of a dual MIC mobile phone in the embodiment of the present application;

图4是本申请另一实施例提出的声音泄漏量的检测方法的流程示意图;Fig. 4 is a schematic flow chart of a sound leakage detection method proposed in another embodiment of the present application;

图5是本申请一实施例提出的声音泄漏量的检测装置的结构示意图;Fig. 5 is a schematic structural diagram of a sound leakage detection device proposed by an embodiment of the present application;

图6是本申请另一实施例提出的声音泄漏量的检测装置的结构示意图。Fig. 6 is a schematic structural diagram of a sound leakage detecting device according to another embodiment of the present application.

具体实施方式Detailed ways

下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本申请,而不能理解为对本申请的限制。相反,本申请的实施例包括落入所附加权利要求书的精神和内涵范围内的所有变化、修改和等同物。Embodiments of the present application are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary, and are only for explaining the present application, and should not be construed as limiting the present application. On the contrary, the embodiments of the present application include all changes, modifications and equivalents falling within the spirit and scope of the appended claims.

图1是本申请一实施例提出的声音泄漏量的检测方法的流程示意图。FIG. 1 is a schematic flowchart of a sound leakage detection method proposed by an embodiment of the present application.

本申请的实施例应用于配置有降噪麦克风的电子设备中。The embodiments of the present application are applied to electronic devices equipped with noise reduction microphones.

本申请的实施例可以应用在用户对电子设备中降噪麦克风的声音泄漏量进行检测。The embodiments of the present application may be applied to a user's detection of sound leakage of a noise reduction microphone in an electronic device.

需要说明的是,本申请实施例的执行主体,在硬件上可以例如为电子设备的中央处理器(Central Processing Unit,CPU),在软件上可以例如为电子设备中的MMI自动化测试服务程序,对此不作限制。It should be noted that, the execution subject of the embodiment of the present application may be, for example, a central processing unit (Central Processing Unit, CPU) of an electronic device in terms of hardware, and may be, for example, an MMI automated test service program in an electronic device in terms of software. This is not limited.

参见图1,该方法包括:Referring to Figure 1, the method includes:

S101:控制电子设备的听筒播放测试信号。S101: Control the earpiece of the electronic device to play a test signal.

可选地,参见图2,在S101之前,还可以包括:Optionally, referring to FIG. 2, before S101, it may also include:

S201:启动电子设备的MMI自动化测试服务程序。S201: Start the MMI automated testing service program of the electronic device.

本申请实施例具体地可以对电子设备制造过程中,由于其上的降噪麦克风密封性能不佳所造成的声音泄漏量进行检测。The embodiment of the present application can specifically detect the amount of sound leakage caused by poor sealing performance of the noise reduction microphone on the electronic device during the manufacturing process.

因此,本申请实施例能够提供一种对电子设备声音泄漏量进行自耦合路径检测的自动化软件算法,以双MIC手机为例,参见图3,图3为本申请实施例中对双MIC手机的声音泄漏量进行自耦合路径检测示意图。Therefore, the embodiment of the present application can provide an automatic software algorithm for detecting the self-coupling path of the sound leakage of electronic equipment. Taking a dual-MIC mobile phone as an example, see FIG. Schematic diagram of self-coupling path detection for sound leakage.

具体地,本申请实施例中可以首先启动电子设备的MMI自动化测试服务程序,而后,在MMI自动化测试服务程序的测试流程中,加入一条从听筒播放测试信号,降噪麦克风录音的测试通道,MMI自动化测试服务程序启动电子设备的听筒播放测试信号,该测试信号例如为正弦扫频信号,本申请实施例通过直接启动电子设备的MMI自动化测试服务程序,并基于该启动电子设备的MMI自动化测试服务程序控制控制电子设备的听筒播放测试信号,简便易实现,且节约硬件资源消耗。Specifically, in the embodiment of the present application, the MMI automated test service program of the electronic device can be started at first, and then, in the test process of the MMI automated test service program, a test channel is added to play the test signal from the earpiece and record the noise reduction microphone. MMI The automated test service program starts the earpiece of the electronic device to play a test signal. The test signal is, for example, a sine frequency sweep signal. In the embodiment of the present application, the MMI automated test service program of the electronic device is started directly, and based on this, the MMI automated test service of the electronic device is started. The program control controls the earpiece of the electronic device to play the test signal, which is simple and easy to implement, and saves hardware resource consumption.

S102:启动降噪麦克风的录音功能,并控制降噪麦克风中的拾音孔进入预设状态。S102: Start the recording function of the noise reduction microphone, and control the sound pickup hole in the noise reduction microphone to enter a preset state.

可选地,可以通过MMI自动化测试服务程序启动降噪麦克风的录音功能,并控制降噪麦克风中的拾音孔进入预设状态。Optionally, the recording function of the noise reduction microphone can be started through the MMI automated test service program, and the sound pickup hole in the noise reduction microphone can be controlled to enter a preset state.

其中,拾音孔处于预设状态下,不对听筒所播放的测试信号进行接收。Wherein, when the sound pickup hole is in a preset state, the test signal played by the earpiece is not received.

可以理解的是,若通过MMI自动化测试服务程序启动降噪麦克风的录音功能,并控制降噪麦克风中的拾音孔进入预设状态。此时控制降噪麦克风,在其中的拾音孔处于预设状态下,对听筒播放测试信号进行接收,由于拾音孔处于预设状态时是不对听筒所播放的测试信号进行接收。It can be understood that if the recording function of the noise reduction microphone is activated through the MMI automated test service program, and the sound pickup hole in the noise reduction microphone is controlled to enter a preset state. At this time, the noise reduction microphone is controlled, and the test signal played by the earpiece is received when the sound pickup hole is in the preset state, but the test signal played by the earpiece is not received when the sound pickup hole is in the preset state.

因此,若此时降噪麦克风对测试信号进行录制仍然能得到录音数据,则表明降噪麦克风的气密性不佳。Therefore, if the noise reduction microphone can still obtain recording data when recording the test signal at this time, it indicates that the airtightness of the noise reduction microphone is not good.

S103:在拾音孔处于预设状态下,获取降噪麦克风录音得到的录音数据。S103: When the sound pickup hole is in a preset state, acquire recording data obtained by recording with a noise reduction microphone.

S104:根据录音数据对声音泄漏量进行检测。S104: Detect the amount of sound leakage according to the recording data.

因此,本申请实施例中,可以根据降噪麦克风在其中的拾音孔处于预设状态下,录音得到的录音数据对声音泄漏量进行检测。Therefore, in the embodiment of the present application, the amount of sound leakage may be detected according to the recording data obtained by recording when the sound pickup hole of the noise reduction microphone is in a preset state.

可选地,一些实施例中,参见图4,S104具体可以包括:Optionally, in some embodiments, referring to FIG. 4, S104 may specifically include:

S401:根据录音数据确定实际声音泄漏量。S401: Determine an actual sound leakage amount according to the recording data.

其中,可以采用相关技术对录音数据进行检测分析,得出实际声音泄漏量,在此不作赘述。Among them, related technologies can be used to detect and analyze the recording data to obtain the actual amount of sound leakage, which will not be repeated here.

S402:判断实际声音泄漏量是否达到预设阈值。S402: Determine whether the actual sound leakage reaches a preset threshold.

其中的预设阈值是预先设定的。The preset threshold is preset.

可选地,预设阈值可以由电子设备的出厂程序预先设定,或者,预设阈值也可以由测试人员根据实际测试需求设定,对此不作限制。Optionally, the preset threshold may be preset by a factory program of the electronic device, or the preset threshold may also be set by a tester according to actual testing requirements, which is not limited.

S403:若达到,则确定降噪麦克风的密封性能存在故障。S403: If yes, it is determined that there is a fault in the sealing performance of the noise reduction microphone.

本实施例中,通过控制电子设备的听筒播放测试信号,启动降噪麦克风的录音功能,并控制降噪麦克风中的拾音孔进入预设状态,在拾音孔处于预设状态下,获取降噪麦克风录音得到的录音数据,以及根据录音数据对声音泄漏量进行检测,能够有效地对麦克风的密封性能进行检测。In this embodiment, by controlling the earpiece of the electronic device to play a test signal, the recording function of the noise reduction microphone is started, and the sound pickup hole in the noise reduction microphone is controlled to enter a preset state. The recording data obtained by the noise microphone recording, and the detection of the sound leakage according to the recording data can effectively detect the sealing performance of the microphone.

图5是本申请一实施例提出的声音泄漏量的检测装置的结构示意图。Fig. 5 is a schematic structural diagram of a sound leakage detection device proposed by an embodiment of the present application.

参见图5,该装置500包括:控制模块501、第一启动模块502、获取模块503,以及检测模块504,其中,Referring to FIG. 5, the device 500 includes: a control module 501, a first startup module 502, an acquisition module 503, and a detection module 504, wherein,

控制模块501,用于控制电子设备的听筒播放测试信号。The control module 501 is configured to control the earpiece of the electronic device to play a test signal.

第一启动模块502,用于启动降噪麦克风的录音功能,并控制降噪麦克风中的拾音孔进入预设状态。The first starting module 502 is configured to start the recording function of the noise-cancelling microphone, and control the sound pickup hole in the noise-cancelling microphone to enter a preset state.

获取模块503,用于在拾音孔处于预设状态下,获取降噪麦克风录音得到的录音数据。The acquiring module 503 is configured to acquire recording data obtained by recording with a noise reduction microphone when the sound pickup hole is in a preset state.

检测模块504,用于根据录音数据对声音泄漏量进行检测。The detection module 504 is configured to detect the amount of sound leakage according to the recording data.

可选地,一些实施例中,参见图6,还包括:Optionally, in some embodiments, referring to Fig. 6, it also includes:

第二启动模块505,用于启动电子设备的MMI自动化测试服务程序。The second starting module 505 is used to start the MMI automated testing service program of the electronic device.

可选地,一些实施例中,第一启动模块502,具体用于:Optionally, in some embodiments, the first startup module 502 is specifically configured to:

通过MMI自动化测试服务程序启动降噪麦克风的录音功能,并控制降噪麦克风中的拾音孔进入预设状态。Start the recording function of the noise reduction microphone through the MMI automated test service program, and control the sound pickup hole in the noise reduction microphone to enter the preset state.

可选地,一些实施例中,检测模块504,具体用于:Optionally, in some embodiments, the detection module 504 is specifically used to:

根据录音数据确定实际声音泄漏量;判断实际声音泄漏量是否达到预设阈值;若达到,则确定降噪麦克风的密封性能存在故障。Determine the actual sound leakage according to the recording data; judge whether the actual sound leakage reaches the preset threshold; if it does, determine that there is a fault in the sealing performance of the noise reduction microphone.

需要说明的是,前述图1-图4实施例中对声音泄漏量的检测方法实施例的解释说明也适用于该实施例的声音泄漏量的检测装置500,其实现原理类似,此处不再赘述。It should be noted that the explanations for the embodiment of the detection method for the amount of sound leakage in the aforementioned embodiments of FIGS. 1-4 are also applicable to the detection device 500 for the amount of sound leakage in this embodiment. repeat.

本实施例中,通过控制电子设备的听筒播放测试信号,启动降噪麦克风的录音功能,并控制降噪麦克风中的拾音孔进入预设状态,在拾音孔处于预设状态下,获取降噪麦克风录音得到的录音数据,以及根据录音数据对声音泄漏量进行检测,能够有效地对麦克风的密封性能进行检测。In this embodiment, by controlling the earpiece of the electronic device to play a test signal, the recording function of the noise reduction microphone is started, and the sound pickup hole in the noise reduction microphone is controlled to enter a preset state. The recording data obtained by the noise microphone recording, and the detection of the sound leakage according to the recording data can effectively detect the sealing performance of the microphone.

为了实现上述实施例,本申请还提出一种电子设备,包括存储器及处理器,存储器中储存有计算机可读指令,指令被处理器执行时,使得处理器执行如上述的声音泄漏量的检测方法。In order to realize the above-mentioned embodiments, the present application also proposes an electronic device, including a memory and a processor, wherein computer-readable instructions are stored in the memory, and when the instructions are executed by the processor, the processor is made to execute the method for detecting sound leakage as described above .

为了实现上述实施例,本申请还提出一种非临时性计算机可读存储介质,当存储介质中的指令由终端的处理器执行时,使得终端能够执行一种声音泄漏量的检测方法,方法包括:控制电子设备的听筒播放测试信号;启动降噪麦克风的录音功能,并控制降噪麦克风中的拾音孔进入预设状态;在拾音孔处于预设状态下,获取降噪麦克风录音得到的录音数据;根据录音数据对声音泄漏量进行检测。In order to implement the above-mentioned embodiments, the present application also proposes a non-transitory computer-readable storage medium. When the instructions in the storage medium are executed by the processor of the terminal, the terminal can execute a sound leakage detection method, the method includes : Control the earpiece of the electronic device to play the test signal; start the recording function of the noise reduction microphone, and control the sound pickup hole in the noise reduction microphone to enter the preset state; when the sound pickup hole is in the preset state, obtain the sound recorded by the noise reduction microphone Recording data; detect the amount of sound leakage according to the recording data.

本实施例中的非临时性计算机可读存储介质,通过控制电子设备的听筒播放测试信号,启动降噪麦克风的录音功能,并控制降噪麦克风中的拾音孔进入预设状态,在拾音孔处于预设状态下,获取降噪麦克风录音得到的录音数据,以及根据录音数据对声音泄漏量进行检测,能够有效地对麦克风的密封性能进行检测。The non-transitory computer-readable storage medium in this embodiment controls the earpiece of the electronic device to play a test signal, starts the recording function of the noise reduction microphone, and controls the sound pickup hole in the noise reduction microphone to enter a preset state. When the hole is in a preset state, the recording data obtained from the recording of the noise reduction microphone is obtained, and the sound leakage is detected according to the recording data, which can effectively detect the sealing performance of the microphone.

为了实现上述实施例,本申请还提出一种计算机程序产品,当计算机程序产品中的指令被处理器执行时,执行一种声音泄漏量的检测方法,方法包括:控制电子设备的听筒播放测试信号;启动降噪麦克风的录音功能,并控制降噪麦克风中的拾音孔进入预设状态;在拾音孔处于预设状态下,获取降噪麦克风录音得到的录音数据;根据录音数据对声音泄漏量进行检测。In order to realize the above-mentioned embodiments, the present application also proposes a computer program product. When the instructions in the computer program product are executed by the processor, a sound leakage detection method is executed. The method includes: controlling the earpiece of the electronic device to play a test signal ;Start the recording function of the noise reduction microphone, and control the pickup hole in the noise reduction microphone to enter the preset state; when the pickup hole is in the preset state, obtain the recording data obtained by recording the noise reduction microphone; Quantity is tested.

本实施例中的计算机程序产品,通过控制电子设备的听筒播放测试信号,启动降噪麦克风的录音功能,并控制降噪麦克风中的拾音孔进入预设状态,在拾音孔处于预设状态下,获取降噪麦克风录音得到的录音数据,以及根据录音数据对声音泄漏量进行检测,能够有效地对麦克风的密封性能进行检测。The computer program product in this embodiment, by controlling the earpiece of the electronic device to play the test signal, starts the recording function of the noise reduction microphone, and controls the sound pickup hole in the noise reduction microphone to enter the preset state, and the sound pickup hole is in the preset state Under the condition, obtaining the recording data obtained from the recording of the noise reduction microphone, and detecting the sound leakage according to the recording data can effectively detect the sealing performance of the microphone.

需要说明的是,在本申请的描述中,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。此外,在本申请的描述中,除非另有说明,“多个”的含义是两个或两个以上。It should be noted that in the description of the present application, terms such as "first" and "second" are used for description purposes only, and should not be understood as indicating or implying relative importance. In addition, in the description of the present application, unless otherwise specified, "plurality" means two or more.

流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。Any process or method descriptions in flowcharts or otherwise described herein may be understood to represent modules, segments or portions of code comprising one or more executable instructions for implementing specific logical functions or steps of the process , and the scope of preferred embodiments of the present application includes additional implementations in which functions may be performed out of the order shown or discussed, including in substantially simultaneous fashion or in reverse order depending on the functions involved, which shall It should be understood by those skilled in the art to which the embodiments of the present application belong.

应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that each part of the present application may be realized by hardware, software, firmware or a combination thereof. In the embodiments described above, various steps or methods may be implemented by software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques known in the art: Discrete logic circuits, ASICs with suitable combinational logic gates, Programmable Gate Arrays (PGAs), Field Programmable Gate Arrays (FPGAs), etc.

本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。Those of ordinary skill in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. During execution, one or a combination of the steps of the method embodiments is included.

此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing module, each unit may exist separately physically, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. If the integrated modules are realized in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium.

上述提到的存储介质可以是只读存储器,磁盘或光盘等。The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, and the like.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of this specification, descriptions referring to the terms "one embodiment", "some embodiments", "example", "specific examples", or "some examples" mean that specific features described in connection with the embodiment or example , structure, material or characteristic is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limitations on the present application, and those skilled in the art can make the above-mentioned The embodiments are subject to changes, modifications, substitutions and variations.

Claims (11)

  1. A kind of 1. detection method of sound leakage rate, it is characterised in that applied to being configured with the electronic equipment of noise reduction microphone, It the described method comprises the following steps:
    The receiver of the electronic equipment is controlled to play test signal;
    Start the sound-recording function of the noise reduction microphone, and control the pickup hole in the noise reduction microphone to enter preset state;
    Under being in the preset state in the pickup hole, the recording data that the noise reduction microphone records to obtain is obtained;
    The sound leakage rate is detected according to the recording data.
  2. 2. the detection method of sound leakage rate as claimed in claim 1, it is characterised in that in the control electronic equipment Receiver play test signal before, in addition to:
    Start the MMI automatic test service routines of the electronic equipment.
  3. 3. the detection method of sound leakage rate as claimed in claim 1, it is characterised in that described to start the noise reduction microphone Sound-recording function, and control the pickup hole in the noise reduction microphone to enter preset state, including:
    Start the sound-recording function of the noise reduction microphone by the MMI automatic tests service routine, and control the noise reduction Pickup hole in microphone enters preset state.
  4. 4. the detection method of sound leakage rate as claimed in claim 1, it is characterised in that described according to the recording data pair The sound leakage rate is detected, including:
    Actual sound leakage rate is determined according to the recording data;
    Judge whether the actual sound leakage rate reaches predetermined threshold value;
    If reach, it is determined that the sealing property of the noise reduction microphone has failure.
  5. 5. the detection method of the sound leakage rate as described in claim any one of 1-4, it is characterised in that the pickup hole is in Under the preset state, the test signal not played to the receiver receives.
  6. A kind of 6. detection means of sound leakage rate, it is characterised in that including:
    Control module, for controlling the receiver of the electronic equipment to play test signal;
    First starting module, for starting the sound-recording function of the noise reduction microphone, and control picking up in the noise reduction microphone Sound hole enters preset state;
    Acquisition module, under being in the preset state in the pickup hole, obtain the noise reduction microphone and record what is obtained Recording data;
    Detection module, for being detected according to the recording data to the sound leakage rate.
  7. 7. the detection means of sound leakage rate as claimed in claim 6, it is characterised in that also include:
    Second starting module, for starting the MMI automatic test service routines of the electronic equipment.
  8. 8. the detection means of sound leakage rate as claimed in claim 6, it is characterised in that first starting module, specifically For:
    Start the sound-recording function of the noise reduction microphone by the MMI automatic tests service routine, and control the noise reduction Pickup hole in microphone enters preset state.
  9. 9. the detection means of sound leakage rate as claimed in claim 6, it is characterised in that the detection module, be specifically used for:
    Actual sound leakage rate is determined according to the recording data;
    Judge whether the actual sound leakage rate reaches predetermined threshold value;
    If reach, it is determined that the sealing property of the noise reduction microphone has failure.
  10. 10. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, it is characterised in that the program The detection method of the sound leakage rate as any one of claim 1-5 is realized when being executed by processor.
  11. 11. a kind of electronic equipment, including memory and processor, computer-readable instruction is stored in the memory, it is described When instruction is by the computing device so that sound leakage of the computing device as any one of claim 1 to 5 The detection method of amount.
CN201710964753.8A 2017-10-17 2017-10-17 Method, device and electronic equipment for detecting sound leakage Pending CN107835482A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710964753.8A CN107835482A (en) 2017-10-17 2017-10-17 Method, device and electronic equipment for detecting sound leakage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710964753.8A CN107835482A (en) 2017-10-17 2017-10-17 Method, device and electronic equipment for detecting sound leakage

Publications (1)

Publication Number Publication Date
CN107835482A true CN107835482A (en) 2018-03-23

Family

ID=61648322

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710964753.8A Pending CN107835482A (en) 2017-10-17 2017-10-17 Method, device and electronic equipment for detecting sound leakage

Country Status (1)

Country Link
CN (1) CN107835482A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109151145A (en) * 2018-09-07 2019-01-04 深圳市万普拉斯科技有限公司 A kind of detection method and device of voice-grade channel
CN110113701A (en) * 2019-03-26 2019-08-09 晶晨半导体(上海)股份有限公司 A kind of hardware adjustment method for simulating microphone
CN110381431A (en) * 2019-07-10 2019-10-25 珠海格力电器股份有限公司 Method, device and system for testing terminal microphone
CN110475196A (en) * 2019-08-20 2019-11-19 上海闻泰电子科技有限公司 Test fixture, acoustical device test macro and method
CN111432323A (en) * 2020-04-01 2020-07-17 Oppo(重庆)智能科技有限公司 Microphone testing method, device, electronic device and storage medium of mobile terminal
CN112104969A (en) * 2020-10-23 2020-12-18 苏州思必驰信息科技有限公司 Detection method and device for Bluetooth headset
CN112188378A (en) * 2020-09-28 2021-01-05 维沃移动通信有限公司 Electronic equipment sound production optimization method and device and electronic equipment
CN113824838A (en) * 2021-08-26 2021-12-21 RealMe重庆移动通信有限公司 Sound production control method and device, electronic equipment and storage medium
CN115119127A (en) * 2021-03-22 2022-09-27 北京小米移动软件有限公司 Testing method and device for sealing performance, and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102572671A (en) * 2010-12-20 2012-07-11 歌尔声学股份有限公司 Test method, test tool and test system for microphone tightness
CN104640054A (en) * 2015-02-12 2015-05-20 广东欧珀移动通信有限公司 Earphone/loudspeaker testing method and system for mobile terminal
US20150195662A1 (en) * 2014-01-09 2015-07-09 Wistron Corporation Method and apparatus for audio testing
CN105372026A (en) * 2015-10-15 2016-03-02 Tcl移动通信科技(宁波)有限公司 Air tightness detection device and method of microphone pickup structure path
US20160150334A1 (en) * 2014-11-26 2016-05-26 Fu Tai Hua Industry (Shenzhen) Co., Ltd. Apparatus and method for testing acoustic devices
CN106453768A (en) * 2016-09-19 2017-02-22 广东小天才科技有限公司 Method and device for detecting communication equipment call echo problem
CN106535075A (en) * 2016-11-10 2017-03-22 深圳市燕麦科技股份有限公司 Microphone sound leak test device and test method thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102572671A (en) * 2010-12-20 2012-07-11 歌尔声学股份有限公司 Test method, test tool and test system for microphone tightness
US20150195662A1 (en) * 2014-01-09 2015-07-09 Wistron Corporation Method and apparatus for audio testing
US20160150334A1 (en) * 2014-11-26 2016-05-26 Fu Tai Hua Industry (Shenzhen) Co., Ltd. Apparatus and method for testing acoustic devices
CN105704632A (en) * 2014-11-26 2016-06-22 富泰华工业(深圳)有限公司 Audio test device
CN104640054A (en) * 2015-02-12 2015-05-20 广东欧珀移动通信有限公司 Earphone/loudspeaker testing method and system for mobile terminal
CN105372026A (en) * 2015-10-15 2016-03-02 Tcl移动通信科技(宁波)有限公司 Air tightness detection device and method of microphone pickup structure path
CN106453768A (en) * 2016-09-19 2017-02-22 广东小天才科技有限公司 Method and device for detecting communication equipment call echo problem
CN106535075A (en) * 2016-11-10 2017-03-22 深圳市燕麦科技股份有限公司 Microphone sound leak test device and test method thereof

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109151145A (en) * 2018-09-07 2019-01-04 深圳市万普拉斯科技有限公司 A kind of detection method and device of voice-grade channel
CN110113701A (en) * 2019-03-26 2019-08-09 晶晨半导体(上海)股份有限公司 A kind of hardware adjustment method for simulating microphone
CN110381431A (en) * 2019-07-10 2019-10-25 珠海格力电器股份有限公司 Method, device and system for testing terminal microphone
CN110475196A (en) * 2019-08-20 2019-11-19 上海闻泰电子科技有限公司 Test fixture, acoustical device test macro and method
CN110475196B (en) * 2019-08-20 2022-04-05 上海闻泰电子科技有限公司 Test fixture, acoustic device test system and method
CN111432323A (en) * 2020-04-01 2020-07-17 Oppo(重庆)智能科技有限公司 Microphone testing method, device, electronic device and storage medium of mobile terminal
CN112188378A (en) * 2020-09-28 2021-01-05 维沃移动通信有限公司 Electronic equipment sound production optimization method and device and electronic equipment
CN112188378B (en) * 2020-09-28 2021-08-17 维沃移动通信有限公司 Sound production optimization method, device, electronic device, and readable storage medium for electronic equipment
CN112104969A (en) * 2020-10-23 2020-12-18 苏州思必驰信息科技有限公司 Detection method and device for Bluetooth headset
CN112104969B (en) * 2020-10-23 2022-02-22 思必驰科技股份有限公司 Detection method and device for Bluetooth headset
CN115119127A (en) * 2021-03-22 2022-09-27 北京小米移动软件有限公司 Testing method and device for sealing performance, and electronic equipment
CN113824838A (en) * 2021-08-26 2021-12-21 RealMe重庆移动通信有限公司 Sound production control method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107835482A (en) Method, device and electronic equipment for detecting sound leakage
CN104640054B (en) Mobile terminal receiver/loudspeaker method of testing and system
CN105979053A (en) Method and device for detecting microphone in mobile terminal and mobile terminal
CN104754094B (en) Mobile terminal motor detecting method and system
CN106911996A (en) Microphone state detection method, device and terminal equipment
CN110719461B (en) Audio and video equipment testing method and device and computer readable storage medium
US20170330579A1 (en) Method and device for improving audio processing performance
TWI469648B (en) Audio testing system and audio testing method for under-testing device
CN106878909A (en) Loudspeaker sound hole blockage treatment method, device and terminal equipment
CN106851516A (en) Electronic device and detection method based on loudness
CN104317709A (en) Method and system for testing performance of software
CN103973863A (en) Method for automatically adjusting call volume and communication terminal
CN106131312B (en) Voice message playing method and device and mobile terminal
CN105243007A (en) Aging testing method and apparatus for memory in mobile terminal
CN105096977A (en) Control method for multimedia playing and mobile terminal
CN111432323B (en) Microphone testing method and device of mobile terminal, electronic equipment and storage medium
WO2021257369A1 (en) System and method for evaluating an ear seal using external stimulus
US20110195757A1 (en) Electronic device and alerting method of incoming call
CN112714391B (en) Microphone internal sealing performance testing method and device and computer equipment
CN105930809A (en) Fingerprint identification control method, fingerprint identification control device and electronic device
CN108605067B (en) Method and mobile terminal for playing audio
CN109857615B (en) Method and device for detecting memory leakage
US10129382B2 (en) Electronic device and method for controlling electronic device using headset
CN108769364A (en) Call control method, device, mobile terminal and computer-readable medium
CN106210335A (en) The detection method of a kind of audio parts duty and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20180323

RJ01 Rejection of invention patent application after publication