WO2021147381A1 - Method and device for testing listening module of terminal device - Google Patents

Method and device for testing listening module of terminal device Download PDF

Info

Publication number
WO2021147381A1
WO2021147381A1 PCT/CN2020/120883 CN2020120883W WO2021147381A1 WO 2021147381 A1 WO2021147381 A1 WO 2021147381A1 CN 2020120883 W CN2020120883 W CN 2020120883W WO 2021147381 A1 WO2021147381 A1 WO 2021147381A1
Authority
WO
WIPO (PCT)
Prior art keywords
audio data
frequency
listening module
original audio
qualified
Prior art date
Application number
PCT/CN2020/120883
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 WO2021147381A1 publication Critical patent/WO2021147381A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/24Arrangements for testing
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/03Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters
    • G10L25/18Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters the extracted parameters being spectral information of each sub-band
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/48Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
    • G10L25/51Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination

Definitions

  • This application relates to the field of device detection, and in particular, to a method and device for detecting a listening module of a terminal device.
  • the listening module of the terminal equipment is used to emit and record sound, such as the speaker of a mobile phone.
  • the listening module converts electrical and acoustic signals, and its performance has a great impact on the sound quality; performance testing is required when the listening module is produced.
  • the audio test plays an important role.
  • the current audio detection needs to detect the complete waveform of the acquired sound data, and the acquired sound usually contains a lot of external interference during the detection, which causes the detection result to be inaccurate.
  • One purpose of this application is to provide a method and device for detecting the listening module of a terminal device, which solves the problem that the audio detection of the listening module in the prior art needs to obtain a complete waveform and that the detection result is greatly interfered by the outside world and the detection is inaccurate. problem.
  • a method for detecting a listening module of a terminal device including:
  • judging whether the listening module is qualified according to the calculation result and the original audio data includes:
  • the frequency of each segment of audio data is calculated to obtain the calculation result, including:
  • judging whether the listening module is qualified according to the calculation result and the original audio data includes:
  • the piece of audio data is a qualified audio segment
  • the detection result of the listening module is qualified.
  • the method further includes:
  • comparing the calculation result with the original audio data to obtain a comparison result, and judging whether the listening module is qualified according to the comparison result and a preset proportion includes:
  • obtaining the original audio data of the listening module in the threshold state includes:
  • calculating the frequency of each piece of audio data after cutting the original audio data into multiple segments includes:
  • the original audio data is cut into multiple segments according to the recording time and a preset segmented processing data threshold, and the frequency of each segment of audio data is calculated.
  • a device for detecting a listening module of a terminal device including:
  • the deployment device is used to adjust the listening module of the terminal device to a threshold state through a preset detection program
  • a calculating device for calculating the frequency of each piece of audio data after cutting the original audio data into multiple segments to obtain a calculation result
  • the judging device is used for judging whether the listening module is qualified according to the calculation result and the original audio data.
  • the judging device is used for:
  • computing device is used for:
  • the judging device is used for:
  • the piece of audio data is a qualified audio segment
  • the detection result of the listening module is qualified.
  • the device further includes:
  • the second acquiring device is used to acquire the frequency of the original audio data when the listening module is adjusted to the threshold state.
  • the judging device is used for:
  • the acquiring device is used for:
  • computing device is used for:
  • the original audio data is cut into multiple segments according to the recording time and a preset segmented processing data threshold, and the frequency of each segment of audio data is calculated.
  • a computer-readable medium having computer-readable instructions stored thereon, and the computer-readable instructions can be executed by a processor to implement the aforementioned method.
  • this application adjusts the listening module of the terminal device to a threshold state through a preset detection program; obtains the original audio data of the listening module in the threshold state; cuts the original audio data into multiple segments Calculate the frequency of each piece of audio data to obtain the calculation result; determine whether the listening module is qualified according to the calculation result and the original audio data; thus, the detection can be performed without obtaining a complete waveform, and the external interference is greatly reduced, Improve the accuracy of detection.
  • Fig. 1 shows a schematic flowchart of a method for detecting a listening module of a terminal device according to an aspect of the present application
  • Fig. 2 shows a frequency domain schematic diagram of a segment of audio file converted by a fast algorithm of discrete Fourier transform in an embodiment of the present application
  • Fig. 3 shows a schematic structural diagram of a device for detecting a listening module of a terminal device according to another aspect of the present application.
  • the terminal, the equipment of the service network, and the trusted party all include one or more processors (for example, a central processing unit (CPU)), input/output interfaces, network interfaces, and memory .
  • processors for example, a central processing unit (CPU)
  • Memory may include non-permanent memory in computer readable media, random access memory (RAM) and/or non-volatile memory, such as read only memory (ROM) or flash memory (Read Only Memory). flash RAM). Memory is an example of computer readable media.
  • RAM random access memory
  • ROM read only memory
  • flash RAM Read Only Memory
  • Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology.
  • the information can be computer-readable instructions, data structures, program modules, or other data.
  • Examples of computer storage media include, but are not limited to, Phase-Change RAM (PRAM), Static Random Access Memory (SRAM), and Dynamic Random Access Memory (DRAM) , Other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), flash memory or other memory technologies, only CD-ROM (Compact Disc Read-Only Memory), Digital Versatile Disk (DVD) or other optical storage, magnetic cassette tape, magnetic tape disk storage or other magnetic storage devices or any other Non-transmission media that can be used to store information that can be accessed by computing devices.
  • computer-readable media does not include non-transitory computer-readable media (transitory media), such as modulated data
  • Fig. 1 shows a schematic flowchart of a method for detecting a listening module of a terminal device according to an aspect of the present application.
  • the method includes: step S11 to step S14,
  • step S11 the listening module of the terminal device is adjusted to the threshold state through the preset detection program; here, when the listening module of the terminal device is detected, the listening module is automatically adjusted to the threshold through the preset detection program in the detection machine Status, where the listening module is used to obtain external sounds and play the sounds of terminal devices, such as the microphones and speakers of mobile phones, and the threshold state is the state of maximum playback or sound collection, that is, the volume is adjusted to the maximum.
  • step S12 the original audio data of the listening module in the threshold state is obtained; here, after the listening module is adjusted to the threshold state, the original audio data sent by the listening module at this time is obtained, such as when the volume is adjusted.
  • the sound emitted by the listening module is the original audio data, which reduces the detection inaccuracy caused by external interference.
  • step S13 the original audio data is cut into multiple segments and the frequency of each piece of audio data is calculated to obtain the calculation result; here, the recorded original audio data is segmented, and after being cut into multiple segments, you can use Discrete Fourier algorithm calculates the frequency of each segment of audio data, that is, converts the waveform data to point data, and obtains the frequency of the sound in each segment; among them, the audio data after interference is converted by discrete Fourier calculation (such as FFT) After obtaining the peak values of multiple points, you can take the peak values of the largest three points, and then convert the peak values of the three points into frequencies. Therefore, in step S14, it is judged whether the listening module is qualified according to the calculation result and the original audio data.
  • FFT discrete Fourier calculation
  • the calculated frequency of each piece of audio data is compared with the original audio data, and audio analysis is performed to determine whether the calculated audio data is original audio data. If they are consistent, the audio performance of the listening module is qualified. For example, the peak value of multiple points obtained after FFT conversion of a certain piece of audio data is taken, and then the peak value of the largest three points is converted into frequency. If the frequency of a certain point is the same as the frequency of the source audio file, it can be considered as the peak value. Pieces of audio are eligible. This avoids the possibility of audio analysis even if the sound waveform is incomplete to determine whether the audio meets the conditions.
  • step S14 the calculation result is compared with the original audio data to obtain a comparison result, and it is determined whether the listening module is qualified according to the comparison result and a preset proportion.
  • the frequency of each piece of audio data obtained by calculation is analyzed and compared with the original data. If the comparison result exceeds the specified proportion, it is judged that the audio has passed the detection and the audio detection of the listening module is qualified.
  • the method further includes: acquiring the frequency of the original audio data when the listening module is adjusted to a threshold state.
  • the frequency of the corresponding audio data output when the listening module is adjusted to the maximum volume is obtained, so that when the audio of the listening module is detected, the frequency of the sound data recorded under the maximum volume is the same as the original output frequency.
  • step S14 compare whether the frequency of each piece of audio is the same as the frequency of the original audio data, and locate the location of the frequency when the same; according to the preset proportion and the location The location judges whether the listening module is qualified.
  • search for the segment in which the frequency of all segments of audio is consistent with the frequency of the original audio data locate the segment, and determine the audio of this analysis based on the specified proportion and the location of the segment. Whether it passes the test; for example, the frequency of the original audio data is sent out under 1000HZ. After the recorded audio data is cut and analyzed, the frequency of 10 segments of audio data is obtained. Among them, the frequency may appear 200HZ or 300HZ.
  • the preset proportion is 80%. When the frequency of 1000HZ in each segment exceeds 80%, the audio data of this segment can be considered qualified. When the number of qualified segments occupies the total number of segments and exceeds the preset proportion value At the time, it is considered that the audio data detection passed this time.
  • step S13 after the original audio data is cut into multiple segments, each segment is subjected to discrete Fourier transform to obtain multiple discrete points; the peak point is selected from the multiple discrete points The discrete points are sorted according to the peak value; the frequency corresponding to the sorted discrete points is calculated, and the calculation result is obtained. Furthermore, in step S14, if the frequency corresponding to the sorted discrete point corresponding to each piece of audio data has a frequency that is consistent with the frequency of the original audio data, then the piece of audio data is a qualified audio segment; If the total number is greater than the preset proportion, the detection result of the listening module is qualified.
  • FIG. 2 it is a schematic diagram of the frequency domain of an audio file converted by FFT (Fast Algorithm of Discrete Fourier Transform). It can be seen from the figure that peaks appear at points 1, 51, and 76. The point is close to 0, and the peak data is sorted from largest to smallest, and the three peak points are taken to calculate the frequency respectively.
  • FFT Fast Algorithm of Discrete Fourier Transform
  • step S12 the listening module is played in the threshold state, and the sound emitted by the listening module is recorded; the recorded sound is analyzed, and it is determined according to the analysis result whether it is admitted to the listening module.
  • the original audio data of the listening module when the audio data that needs to be detected is obtained, the sound is played at the maximum volume state, and then the sound data at this time is recorded, and the recorded sound is analyzed to determine whether the audio data that needs to be detected is actually recorded, that is, The original audio data has been recorded.
  • step S13 the recording time for recording the sound emitted by the listening module is determined; the original audio data is cut into multiple segments according to the recording time and a preset segmented processing data threshold, Calculate the frequency of each piece of audio data.
  • the recording time for recording the sound emitted by the speaker is 10s
  • the preset segment processing data is M
  • the 10s original audio data is based on the data volume within 10s and the data M that can be processed in each segment Carry out segmentation, cut into multiple segments, then calculate the frequency of each segment of audio data, and analyze each segment of audio data.
  • the device includes: a deployment device 11, an acquisition device 12, a calculation device 13, and a judgment device 14.
  • the deployment device 11 is used to adjust the listening module of the terminal device to the threshold state through the preset detection program; here, when the listening module of the terminal device is detected, the listening module is automatically adjusted to the preset detection program in the detection machine Threshold state, where the listening module is used to acquire external sounds and play the sounds of terminal devices, such as the microphone and speaker of a mobile phone.
  • the threshold state is the state of maximum playback or sound collection, that is, the volume is adjusted to the maximum.
  • the obtaining device 12 is used to obtain the original audio data of the listening module in the threshold state; here, after the listening module is adjusted to the threshold state, obtain the original audio data sent by the listening module at this time, for example, when the volume is adjusted to In the case of the maximum value, the sound emitted by the listening module is the original audio data, which reduces the detection inaccuracy caused by external interference.
  • the calculating device 13 is used to calculate the frequency of each piece of audio data after cutting the original audio data into multiple segments to obtain the calculation result; here, the recorded original audio data is divided into multiple segments, and then the discrete
  • the Fourier algorithm calculates the frequency of each segment of audio data, that is, converts the waveform data into point data, and obtains the frequency of the sound in each segment; among them, the audio data after interference is transformed by discrete Fourier calculation (such as FFT) To obtain the peak values of multiple points, you can take the peak values of the largest three points, and then convert the peak values of the three points into frequencies.
  • the judging device 14 is used for judging whether the listening module is qualified according to the calculation result and the original audio data.
  • the calculated frequency of each piece of audio data is compared with the original audio data, and audio analysis is performed to determine whether the calculated audio data is original audio data. If they are consistent, the audio performance of the listening module is qualified. This avoids the possibility of audio analysis even if the sound waveform is incomplete to determine whether the audio meets the conditions.
  • the judging device 14 is used to compare the calculation result with the original audio data to obtain a comparison result, and determine whether the listening module is qualified according to the comparison result and a preset proportion.
  • the frequency of each piece of audio data obtained by calculation is analyzed and compared with the original data. If the comparison result exceeds the specified proportion, it is judged that the audio has passed the detection and the audio detection of the listening module is qualified. For example, the peak value of multiple points obtained after FFT conversion of a certain piece of audio data is taken, and then the peak value of the largest three points is converted into frequency. If the frequency of a certain point is the same as the frequency of the source audio file, it can be considered as the peak value. Pieces of audio are eligible. This avoids the possibility of audio analysis even if the sound waveform is incomplete to determine whether the audio meets the conditions.
  • the device further includes: a second acquiring device, configured to acquire the frequency of the original audio data when the listening module is adjusted to a threshold state.
  • a second acquiring device configured to acquire the frequency of the original audio data when the listening module is adjusted to a threshold state.
  • the frequency of the corresponding audio data output when the listening module is adjusted to the maximum volume is obtained, so that when the audio of the listening module is detected, the frequency of the sound data recorded under the maximum volume is the same as the original output frequency.
  • the judging device 14 is used to compare whether the frequency of each piece of audio is the same as the frequency of the original audio data, and locate the position of the frequency when the same; according to the preset proportion and the location The location judges whether the listening module is qualified.
  • search for the segment in which the frequency of all segments of audio is consistent with the frequency of the original audio data locate the segment, and determine the audio of this analysis based on the specified proportion and the location of the segment. Whether it passes the test; for example, the frequency of the original audio data is sent out under 1000HZ. After the recorded audio data is cut and analyzed, the frequency of 10 segments of audio data is obtained. Among them, the frequency may appear 200HZ or 300HZ.
  • the preset proportion is 80%. When the frequency of 1000HZ in each segment exceeds 80%, the audio data of this segment can be considered qualified. When the number of qualified segments occupies the total number of segments and exceeds the preset proportion value At the time, it is considered that the audio data detection passed this time.
  • the computing device 13 is configured to: after cutting the original audio data into multiple segments, perform discrete Fourier transform on each segment to obtain multiple discrete points; and select the peak value from the multiple discrete points.
  • the discrete points of the points are sorted according to the peak value; the frequency corresponding to the sorted discrete points is calculated, and the calculation result is obtained.
  • the judging device 14 is used for: if there is a frequency consistent with the frequency of the original audio data in the frequency corresponding to the sorted discrete point corresponding to each piece of audio data, then the piece of audio data is a qualified audio segment; If the total number is greater than the preset proportion, the detection result of the listening module is qualified.
  • FIG. 2 it is a schematic diagram of the frequency domain of an audio file converted by FFT (Fast Algorithm of Discrete Fourier Transform). It can be seen from the figure that peaks appear at points 1, 51, and 76. The point is close to 0, and the peak data is sorted from largest to smallest, and the three peak points are taken to calculate the frequency respectively.
  • FFT Fast Algorithm of Discrete Fourier Transform
  • the acquiring device 12 is used to play the listening module in the threshold state, and record the sound emitted by the listening module; analyze the recorded sound, and determine whether it is admitted to the station according to the analysis result.
  • the original audio data of the listening module when the audio data that needs to be detected is obtained, the sound is played at the maximum volume state, and then the sound data at this time is recorded, and the recorded sound is analyzed to determine whether the audio data that needs to be detected is actually recorded, that is, The original audio data has been recorded.
  • the computing device 13 is used to determine the recording time for recording the sound emitted by the listening module; cutting the original audio data into multiple segments according to the recording time and a preset segmented processing data threshold, Calculate the frequency of each piece of audio data.
  • the recording time for recording the sound emitted by the speaker is 10s
  • the preset segment processing data is M
  • the 10s original audio data is based on the data volume within 10s and the data M that can be processed in each segment Carry out segmentation, cut into multiple segments, then calculate the frequency of each segment of audio data, and analyze each segment of audio data.
  • the embodiments of the present application also provide a computer-readable medium, on which computer-readable instructions are stored, and the computer-readable instructions can be executed by a processor to implement the aforementioned method for detecting a listening module of a terminal device. method.
  • this application can be implemented in software and/or a combination of software and hardware.
  • it can be implemented using an application specific integrated circuit (ASIC), a general purpose computer or any other similar hardware device.
  • ASIC application specific integrated circuit
  • the software program of the present application may be executed by a processor to realize the steps or functions described above.
  • the software program (including related data structures) of the present application can be stored in a computer-readable recording medium, for example, RAM memory, magnetic or optical drives or floppy disks and similar devices.
  • some steps or functions of the present application may be implemented by hardware, for example, as a circuit that cooperates with a processor to execute each step or function.
  • a part of this application can be applied as a computer program product, such as a computer program instruction, when it is executed by a computer, through the operation of the computer, the method and/or technical solution according to this application can be invoked or provided.
  • the program instructions for calling the method of the present application may be stored in a fixed or removable recording medium, and/or be transmitted through a data stream in a broadcast or other signal-bearing medium, and/or be stored in accordance with the Said program instructions run in the working memory of the computer equipment.
  • an embodiment according to the present application includes a device that includes a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the device triggers
  • the operation of the device is based on the aforementioned methods and/or technical solutions according to multiple embodiments of the present application.

Abstract

The present application aims to provide a method and device for testing a listening module of a terminal device. The method of the present application comprises: adjusting a listening module of a terminal device to a threshold state by means of a pre-configured test program; acquiring original audio data of the listening module in the threshold state; cutting the original audio data into multiple segments, and then calculating the frequency of each segment of audio data to obtain a calculation result; and determining, according to the calculation result and the original audio data, whether the listening module is up to standard. Therefore, a test can be performed without obtaining a complete waveform, and the external interference is greatly reduced, thereby improving the test accuracy.

Description

一种用于检测终端设备的收听模块的方法及设备Method and equipment for detecting listening module of terminal equipment 技术领域Technical field
本申请涉及设备的检测领域,尤其涉及一种用于检测终端设备的收听模块的方法及设备。This application relates to the field of device detection, and in particular, to a method and device for detecting a listening module of a terminal device.
背景技术Background technique
终端设备的收听模块用于发出和录取声音,比如手机的扬声器,收听模块是对电信号和声信号的转换,其性能对音质的影响很大;在生产收听模块时需要对其进行性能测试,其中音频的测试起到重要的作用。而目前的音频检测需要对获取到的声音数据的完整波形进行检测,且在检测时因获取到的声音通常包含很多外界的干扰,导致检测结果不准确。The listening module of the terminal equipment is used to emit and record sound, such as the speaker of a mobile phone. The listening module converts electrical and acoustic signals, and its performance has a great impact on the sound quality; performance testing is required when the listening module is produced. Among them, the audio test plays an important role. However, the current audio detection needs to detect the complete waveform of the acquired sound data, and the acquired sound usually contains a lot of external interference during the detection, which causes the detection result to be inaccurate.
发明内容Summary of the invention
本申请的一个目的是提供一种用于检测终端设备的收听模块的方法及设备,解决现有技术中收听模块的音频检测时需要得到完整波形以及检测结果受外界干扰较大,检测不准确的问题。One purpose of this application is to provide a method and device for detecting the listening module of a terminal device, which solves the problem that the audio detection of the listening module in the prior art needs to obtain a complete waveform and that the detection result is greatly interfered by the outside world and the detection is inaccurate. problem.
根据本申请的一个方面,提供了一种用于检测终端设备的收听模块的方法,该方法包括:According to one aspect of the present application, there is provided a method for detecting a listening module of a terminal device, the method including:
通过预置检测程序将终端设备的收听模块调到阈值状态;Adjust the listening module of the terminal device to the threshold state through the preset detection program;
获取在所述阈值状态下的收听模块的原始音频数据;Acquiring the original audio data of the listening module in the threshold state;
将所述原始音频数据切成多段后计算每一段音频数据的频率,得到计算结果;After cutting the original audio data into multiple segments, calculate the frequency of each segment of audio data to obtain a calculation result;
根据所述计算结果与所述原始音频数据判断所述收听模块是否合格。Determine whether the listening module is qualified according to the calculation result and the original audio data.
进一步地,根据所述计算结果与所述原始音频数据判断所述收听模块是否合格,包括:Further, judging whether the listening module is qualified according to the calculation result and the original audio data includes:
比较所述计算结果与所述原始音频数据,得到比较结果,并根据所述比较结果与预设占比判断所述收听模块是否合格。Comparing the calculation result with the original audio data to obtain a comparison result, and judging whether the listening module is qualified according to the comparison result and a preset proportion.
进一步地,将所述原始音频数据切成多段后计算每一段音频数据的频率,得到计算结果,包括:Further, after the original audio data is cut into multiple segments, the frequency of each segment of audio data is calculated to obtain the calculation result, including:
将所述原始音频数据切成多段后,每一段进行离散傅里叶变换,得到多个离散点;After the original audio data is cut into multiple segments, discrete Fourier transform is performed on each segment to obtain multiple discrete points;
从多个离散点中选出为峰值点的离散点,并按照峰值进行排序;Select the discrete points as peak points from multiple discrete points and sort them according to the peak value;
计算排序后的离散点对应的频率,得到计算结果。Calculate the frequency corresponding to the discrete points after sorting, and obtain the calculation result.
进一步地,根据所述计算结果与所述原始音频数据判断所述收听模块是否合格,包括:Further, judging whether the listening module is qualified according to the calculation result and the original audio data includes:
若每一段音频数据对应的排序后的离散点对应的频率中存在与原始音频数据的频率一致的频率,则该段音频数据为合格的音频段;If the frequency corresponding to the sorted discrete point corresponding to each piece of audio data has a frequency that is consistent with the frequency of the original audio data, then the piece of audio data is a qualified audio segment;
若合格的音频段的总数大于预设占比,则所述收听模块的检测结果为合格。If the total number of qualified audio segments is greater than the preset proportion, the detection result of the listening module is qualified.
进一步地,所述方法还包括:Further, the method further includes:
获取将所述收听模块调到阈值状态下时的原始音频数据的频率。Obtain the frequency of the original audio data when the listening module is adjusted to the threshold state.
进一步地,比较所述计算结果与所述原始音频数据,得到比较结果,并根据所述比较结果与预设占比判断所述收听模块是否合格,包括:Further, comparing the calculation result with the original audio data to obtain a comparison result, and judging whether the listening module is qualified according to the comparison result and a preset proportion, includes:
比较所述每一段音频的频率与所述原始音频数据的频率是否相同,定位相同时的频率所在的位置;Comparing whether the frequency of each piece of audio is the same as the frequency of the original audio data, and locating the position of the frequency when the frequency is the same;
根据预设占比以及定位到的位置判断所述收听模块是否合格。Determine whether the listening module is qualified according to the preset proportion and the located position.
进一步地,获取在所述阈值状态下的收听模块的原始音频数据包括:Further, obtaining the original audio data of the listening module in the threshold state includes:
在所述阈值状态下播放所述收听模块,录取所述收听模块发出的声音;Playing the listening module in the threshold state, and recording the sound emitted by the listening module;
对录取到的声音进行分析,根据分析结果判断是否录取到所述收听模块的原始音频数据。Analyze the recorded sound, and determine whether the original audio data of the listening module is recorded according to the analysis result.
进一步地,将所述原始音频数据切成多段后计算每一段音频数据的频 率包括:Further, calculating the frequency of each piece of audio data after cutting the original audio data into multiple segments includes:
确定录取所述收听模块发出的声音的录取时间;Determine the admission time for the sound emitted by the listening module;
根据所述录取时间及预设的分段处理数据阈值将所述原始音频数据切成多段,计算每一段音频数据的频率。The original audio data is cut into multiple segments according to the recording time and a preset segmented processing data threshold, and the frequency of each segment of audio data is calculated.
根据本申请另一个方面,还提供一种用于检测终端设备的收听模块的设备,该设备包括:According to another aspect of the present application, there is also provided a device for detecting a listening module of a terminal device, the device including:
调配装置,用于通过预置检测程序将终端设备的收听模块调到阈值状态;The deployment device is used to adjust the listening module of the terminal device to a threshold state through a preset detection program;
获取装置,用于获取在所述阈值状态下的收听模块的原始音频数据;Acquiring means for acquiring the original audio data of the listening module in the threshold state;
计算装置,用于将所述原始音频数据切成多段后计算每一段音频数据的频率,得到计算结果;A calculating device for calculating the frequency of each piece of audio data after cutting the original audio data into multiple segments to obtain a calculation result;
判断装置,用于根据所述计算结果与所述原始音频数据判断所述收听模块是否合格。The judging device is used for judging whether the listening module is qualified according to the calculation result and the original audio data.
进一步地,所述判断装置用于:Further, the judging device is used for:
比较所述计算结果与所述原始音频数据,得到比较结果,并根据所述比较结果与预设占比判断所述收听模块是否合格。Comparing the calculation result with the original audio data to obtain a comparison result, and judging whether the listening module is qualified according to the comparison result and a preset proportion.
进一步地,所述计算装置用于:Further, the computing device is used for:
将所述原始音频数据切成多段后,每一段进行离散傅里叶变换,得到多个离散点;After the original audio data is cut into multiple segments, discrete Fourier transform is performed on each segment to obtain multiple discrete points;
从多个离散点中选出为峰值点的离散点,并按照峰值进行排序;Select the discrete points as peak points from multiple discrete points and sort them according to the peak value;
计算排序后的离散点对应的频率,得到计算结果。Calculate the frequency corresponding to the discrete points after sorting, and obtain the calculation result.
进一步地,所述判断装置用于:Further, the judging device is used for:
若每一段音频数据对应的排序后的离散点对应的频率中存在与原始音频数据的频率一致的频率,则该段音频数据为合格的音频段;If the frequency corresponding to the sorted discrete point corresponding to each piece of audio data has a frequency that is consistent with the frequency of the original audio data, then the piece of audio data is a qualified audio segment;
若合格的音频段的总数大于预设占比,则所述收听模块的检测结果为合格。If the total number of qualified audio segments is greater than the preset proportion, the detection result of the listening module is qualified.
进一步地,所述设备还包括:Further, the device further includes:
第二获取装置,用于获取将所述收听模块调到阈值状态下时的原始音频数据的频率。The second acquiring device is used to acquire the frequency of the original audio data when the listening module is adjusted to the threshold state.
进一步地,所述判断装置用于:Further, the judging device is used for:
比较所述每一段音频的频率与所述原始音频数据的频率是否相同,定位相同时的频率所在的位置;Comparing whether the frequency of each piece of audio is the same as the frequency of the original audio data, and locating the position of the frequency when the frequency is the same;
根据预设占比以及定位到的位置判断所述收听模块是否合格。Determine whether the listening module is qualified according to the preset proportion and the located position.
进一步地,所述获取装置用于:Further, the acquiring device is used for:
在所述阈值状态下播放所述收听模块,录取所述收听模块发出的声音;Playing the listening module in the threshold state, and recording the sound emitted by the listening module;
对录取到的声音进行分析,根据分析结果判断是否录取到所述收听模块的原始音频数据。Analyze the recorded sound, and determine whether the original audio data of the listening module is recorded according to the analysis result.
进一步地,所述计算装置用于:Further, the computing device is used for:
确定录取所述收听模块发出的声音的录取时间;Determine the admission time for the sound emitted by the listening module;
根据所述录取时间及预设的分段处理数据阈值将所述原始音频数据切成多段,计算每一段音频数据的频率。The original audio data is cut into multiple segments according to the recording time and a preset segmented processing data threshold, and the frequency of each segment of audio data is calculated.
根据本申请再一个方面,还提供了一种计算机可读介质,其上存储有计算机可读指令,所述计算机可读指令可被处理器执行以实现如前述所述的方法。According to still another aspect of the present application, there is also provided a computer-readable medium having computer-readable instructions stored thereon, and the computer-readable instructions can be executed by a processor to implement the aforementioned method.
与现有技术相比,本申请通过预置检测程序将终端设备的收听模块调到阈值状态;获取在所述阈值状态下的收听模块的原始音频数据;将所述原始音频数据切成多段后计算每一段音频数据的频率,得到计算结果;根据所述计算结果与所述原始音频数据判断所述收听模块是否合格;从而无需得到完整波形就可以进行检测,且极大降低了外界的干扰,提高检测的准确性。Compared with the prior art, this application adjusts the listening module of the terminal device to a threshold state through a preset detection program; obtains the original audio data of the listening module in the threshold state; cuts the original audio data into multiple segments Calculate the frequency of each piece of audio data to obtain the calculation result; determine whether the listening module is qualified according to the calculation result and the original audio data; thus, the detection can be performed without obtaining a complete waveform, and the external interference is greatly reduced, Improve the accuracy of detection.
附图说明Description of the drawings
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:By reading the detailed description of the non-limiting embodiments with reference to the following drawings, other features, purposes, and advantages of the present application will become more apparent:
图1示出根据本申请的一个方面提供的一种用于检测终端设备的收听模块的方法的流程示意图;Fig. 1 shows a schematic flowchart of a method for detecting a listening module of a terminal device according to an aspect of the present application;
图2示出本申请一实施例中一段音频文件经过离散傅里叶变换的快速算法转换的频域示意图;Fig. 2 shows a frequency domain schematic diagram of a segment of audio file converted by a fast algorithm of discrete Fourier transform in an embodiment of the present application;
图3示出根据本申请的另一个方面提供的一种用于检测终端设备的收听模块的设备的结构示意图。Fig. 3 shows a schematic structural diagram of a device for detecting a listening module of a terminal device according to another aspect of the present application.
附图中相同或相似的附图标记代表相同或相似的部件。The same or similar reference signs in the drawings represent the same or similar components.
具体实施方式Detailed ways
下面结合附图对本申请作进一步详细描述。The application will be further described in detail below in conjunction with the accompanying drawings.
在本申请一个典型的配置中,终端、服务网络的设备和可信方均包括一个或多个处理器(例如中央处理器(Central Processing Unit,CPU))、输入/输出接口、网络接口和内存。In a typical configuration of this application, the terminal, the equipment of the service network, and the trusted party all include one or more processors (for example, a central processing unit (CPU)), input/output interfaces, network interfaces, and memory .
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(Random Access Memory,RAM)和/或非易失性内存等形式,如只读存储器(Read Only Memory,ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-permanent memory in computer readable media, random access memory (RAM) and/or non-volatile memory, such as read only memory (ROM) or flash memory (Read Only Memory). flash RAM). Memory is an example of computer readable media.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(Phase-Change RAM,PRAM)、静态随机存取存储器(Static Random Access Memory,SRAM)、动态随机存取存储器(Dynamic Random Access Memory,DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(Electrically Erasable  Programmable Read-Only Memory,EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、数字多功能光盘(Digital Versatile Disk,DVD)或其他光学存储、磁盒式磁带,磁带磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括非暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, Phase-Change RAM (PRAM), Static Random Access Memory (SRAM), and Dynamic Random Access Memory (DRAM) , Other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), flash memory or other memory technologies, only CD-ROM (Compact Disc Read-Only Memory), Digital Versatile Disk (DVD) or other optical storage, magnetic cassette tape, magnetic tape disk storage or other magnetic storage devices or any other Non-transmission media that can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include non-transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.
图1示出根据本申请的一个方面提供的一种用于检测终端设备的收听模块的方法的流程示意图,该方法包括:步骤S11~步骤S14,Fig. 1 shows a schematic flowchart of a method for detecting a listening module of a terminal device according to an aspect of the present application. The method includes: step S11 to step S14,
在步骤S11中,通过预置检测程序将终端设备的收听模块调到阈值状态;在此,对终端设备的收听模块进行检测时,通过检测机器内的预置检测程序自动将收听模块调到阈值状态,其中,收听模块用于获取外界声音以及播放终端设备的声音,比如手机的麦克风、喇叭,阈值状态为最大播放或收取声音的状态,即将音量调到最大值。In step S11, the listening module of the terminal device is adjusted to the threshold state through the preset detection program; here, when the listening module of the terminal device is detected, the listening module is automatically adjusted to the threshold through the preset detection program in the detection machine Status, where the listening module is used to obtain external sounds and play the sounds of terminal devices, such as the microphones and speakers of mobile phones, and the threshold state is the state of maximum playback or sound collection, that is, the volume is adjusted to the maximum.
接着,在步骤S12中,获取在所述阈值状态下的收听模块的原始音频数据;在此,收听模块被调到阈值状态后,获取此时通过收听模块发出的原始音频数据,比如在音量调到最大值的情况下收听模块发出的声音为原始音频数据,降低外界的干扰导致的检测不准确。Next, in step S12, the original audio data of the listening module in the threshold state is obtained; here, after the listening module is adjusted to the threshold state, the original audio data sent by the listening module at this time is obtained, such as when the volume is adjusted. When the maximum value is reached, the sound emitted by the listening module is the original audio data, which reduces the detection inaccuracy caused by external interference.
随后,在步骤S13中,将所述原始音频数据切成多段后计算每一段音频数据的频率,得到计算结果;在此,将录取到的原始音频数据进行切分,切成多段后,可以利用离散傅里叶算法计算每一段音频数据的频率,即将波形数据转换为点数据,得到每一段内的声音的频率情况;其中,经过干扰后的音频数据经过离散傅里叶计算(比如FFT)转换后得到多个点的峰值,可以取最大的三个点的峰值,再将该三个点的峰值转换为频率。从而在步骤S14中,根据所述计算结果与所述原始音频数据判断所述收听模块是否合格。在此,利用计算的每一段音频数据的频率与原始音频数据进行比较,进行音频分析,判断计算得到的音频数据是否为原始音频数据,若 一致,则说明收听模块的音频性能为合格。比如,某一段音频数据进行FFT转换后得到的多个点的峰值,取最大的三个点的峰值再转换为频率,若其中某个点的频率和源音频文件的频率相同,则可以认为该段音频是符合条件的。从而规避了即使声音的波形不完整也可以进行音频分析,判断音频是否符合条件。Subsequently, in step S13, the original audio data is cut into multiple segments and the frequency of each piece of audio data is calculated to obtain the calculation result; here, the recorded original audio data is segmented, and after being cut into multiple segments, you can use Discrete Fourier algorithm calculates the frequency of each segment of audio data, that is, converts the waveform data to point data, and obtains the frequency of the sound in each segment; among them, the audio data after interference is converted by discrete Fourier calculation (such as FFT) After obtaining the peak values of multiple points, you can take the peak values of the largest three points, and then convert the peak values of the three points into frequencies. Therefore, in step S14, it is judged whether the listening module is qualified according to the calculation result and the original audio data. Here, the calculated frequency of each piece of audio data is compared with the original audio data, and audio analysis is performed to determine whether the calculated audio data is original audio data. If they are consistent, the audio performance of the listening module is qualified. For example, the peak value of multiple points obtained after FFT conversion of a certain piece of audio data is taken, and then the peak value of the largest three points is converted into frequency. If the frequency of a certain point is the same as the frequency of the source audio file, it can be considered as the peak value. Pieces of audio are eligible. This avoids the possibility of audio analysis even if the sound waveform is incomplete to determine whether the audio meets the conditions.
在本申请一实施例中,在步骤S14中,比较所述计算结果与所述原始音频数据,得到比较结果,并根据所述比较结果与预设占比判断所述收听模块是否合格。在此,对计算得到的每一段音频数据的频率进行分析,与原始数据进行比较,若比较结果中超过规定的占比,则判断音频是检测通过的,收听模块的音频检测合格。In an embodiment of the present application, in step S14, the calculation result is compared with the original audio data to obtain a comparison result, and it is determined whether the listening module is qualified according to the comparison result and a preset proportion. Here, the frequency of each piece of audio data obtained by calculation is analyzed and compared with the original data. If the comparison result exceeds the specified proportion, it is judged that the audio has passed the detection and the audio detection of the listening module is qualified.
在本申请一实施例中,所述方法还包括:获取将所述收听模块调到阈值状态下时的原始音频数据的频率。在此,获取当收听模块调到音量最大值时,对应的音频数据输出的频率,从而对收听模块的音频进行检测时,将该音量最大值下录取到的声音数据的频率与原始的应该输出的频率进行比较;具体地:在步骤S14中,比较所述每一段音频的频率与所述原始音频数据的频率是否相同,定位相同时的频率所在的位置;根据预设占比以及定位到的位置判断所述收听模块是否合格。在此,在所有段音频的频率中查找与原始音频数据的频率相一致时所在的分段,定位到该分段,根据规定的占比以及定位到的分段的情况判断此次分析的音频是否通过检测;比如,原始音频数据的频率是在1000HZ下发出的,录取到的该音频数据进行切断分析后,得到10段的音频数据的频率,其中,频率有出现200HZ、300HZ的情况,若预设占比为80%,则当每一段内出现1000HZ的频率超过80%时,则可认为此段的音频数据为合格,当合格的分段的数量占据总分段数超过预设占比值时,认为此次的音频数据检测通过。In an embodiment of the present application, the method further includes: acquiring the frequency of the original audio data when the listening module is adjusted to a threshold state. Here, the frequency of the corresponding audio data output when the listening module is adjusted to the maximum volume is obtained, so that when the audio of the listening module is detected, the frequency of the sound data recorded under the maximum volume is the same as the original output frequency. Specifically: in step S14, compare whether the frequency of each piece of audio is the same as the frequency of the original audio data, and locate the location of the frequency when the same; according to the preset proportion and the location The location judges whether the listening module is qualified. Here, search for the segment in which the frequency of all segments of audio is consistent with the frequency of the original audio data, locate the segment, and determine the audio of this analysis based on the specified proportion and the location of the segment. Whether it passes the test; for example, the frequency of the original audio data is sent out under 1000HZ. After the recorded audio data is cut and analyzed, the frequency of 10 segments of audio data is obtained. Among them, the frequency may appear 200HZ or 300HZ. The preset proportion is 80%. When the frequency of 1000HZ in each segment exceeds 80%, the audio data of this segment can be considered qualified. When the number of qualified segments occupies the total number of segments and exceeds the preset proportion value At the time, it is considered that the audio data detection passed this time.
在本申请一实施例中,在步骤S13中,将所述原始音频数据切成多段后,每一段进行离散傅里叶变换,得到多个离散点;从多个离散点中选出 为峰值点的离散点,并按照峰值进行排序;计算排序后的离散点对应的频率,得到计算结果。进而在步骤S14中,若每一段音频数据对应的排序后的离散点对应的频率中存在与原始音频数据的频率一致的频率,则该段音频数据为合格的音频段;若合格的音频段的总数大于预设占比,则所述收听模块的检测结果为合格。如图2所示,为一段音频文件经过FFT(离散傅里叶变换的快速算法)转换的频域示意图,从图中可看出,在第1,51,76点时出现了峰值,其它各点接近0,按照峰值数据从大到小排序,取3个峰值点分别计算频率,通过公式:Fn=(n-1)*Fs/N进行计算,其中,Fn为n点的频率,Fs为采样频率,N为采样点数,图2中的采样频率为256,采样点数为256,从而可以得出该音频文件的频率为0Hz,50Hz,75Hz。若源音频文件的频率为100Hz,则这三个点都是不符合的,同理可得出其它段音频数据是否符合条件,每一段音频数据符合就总数累加1,最后算出通过占比r=(pt/t)*100,其中,pt为符合的音频段数,t为总段数,r为是否合格结果,若r大于80,则认为源音频数据无问题,终端设备无问题,即终端设备的音频检测无问题。In an embodiment of the present application, in step S13, after the original audio data is cut into multiple segments, each segment is subjected to discrete Fourier transform to obtain multiple discrete points; the peak point is selected from the multiple discrete points The discrete points are sorted according to the peak value; the frequency corresponding to the sorted discrete points is calculated, and the calculation result is obtained. Furthermore, in step S14, if the frequency corresponding to the sorted discrete point corresponding to each piece of audio data has a frequency that is consistent with the frequency of the original audio data, then the piece of audio data is a qualified audio segment; If the total number is greater than the preset proportion, the detection result of the listening module is qualified. As shown in Figure 2, it is a schematic diagram of the frequency domain of an audio file converted by FFT (Fast Algorithm of Discrete Fourier Transform). It can be seen from the figure that peaks appear at points 1, 51, and 76. The point is close to 0, and the peak data is sorted from largest to smallest, and the three peak points are taken to calculate the frequency respectively. The calculation is carried out by the formula: Fn=(n-1)*Fs/N, where Fn is the frequency of point n, and Fs is Sampling frequency, N is the number of sampling points, the sampling frequency in Figure 2 is 256, and the number of sampling points is 256, so that the frequency of the audio file can be obtained as 0Hz, 50Hz, 75Hz. If the frequency of the source audio file is 100Hz, these three points are not met. Similarly, it can be concluded whether other pieces of audio data meet the conditions. If each piece of audio data meets the conditions, the total is added to 1, and finally the passing ratio r= (pt/t)*100, where pt is the number of matching audio segments, t is the total number of segments, r is the result of qualification, if r is greater than 80, it is considered that there is no problem with the source audio data, and there is no problem with the terminal device, that is, the terminal device’s There is no problem with audio detection.
在本申请一实施例中,在步骤S12中,在所述阈值状态下播放所述收听模块,录取所述收听模块发出的声音;对录取到的声音进行分析,根据分析结果判断是否录取到所述收听模块的原始音频数据。在此,得到需要检测的音频数据时,先在音量最大值状态下播放声音,再录取此时的声音数据,对录取的声音进行分析,以判断是否真正录取到了所需要检测的音频数据,即录取到了原始音频数据。In an embodiment of the present application, in step S12, the listening module is played in the threshold state, and the sound emitted by the listening module is recorded; the recorded sound is analyzed, and it is determined according to the analysis result whether it is admitted to the listening module. The original audio data of the listening module. Here, when the audio data that needs to be detected is obtained, the sound is played at the maximum volume state, and then the sound data at this time is recorded, and the recorded sound is analyzed to determine whether the audio data that needs to be detected is actually recorded, that is, The original audio data has been recorded.
在本申请一实施例中,在步骤S13中,确定录取所述收听模块发出的声音的录取时间;根据所述录取时间及预设的分段处理数据阈值将所述原始音频数据切成多段,计算每一段音频数据的频率。在此,比如录取喇叭发出的声音的录取时间为10s,而预设的分段处理数据为M,则根据10s内的数据量以及每一分段可以处理的数据M将该10s的原始音频数据进行 切分,切成多段,然后计算每一段音频数据的频率,对每一段的音频数据进行分析。In an embodiment of the present application, in step S13, the recording time for recording the sound emitted by the listening module is determined; the original audio data is cut into multiple segments according to the recording time and a preset segmented processing data threshold, Calculate the frequency of each piece of audio data. Here, for example, the recording time for recording the sound emitted by the speaker is 10s, and the preset segment processing data is M, then the 10s original audio data is based on the data volume within 10s and the data M that can be processed in each segment Carry out segmentation, cut into multiple segments, then calculate the frequency of each segment of audio data, and analyze each segment of audio data.
图2示出根据本申请的另一个方面提供的一种用于检测终端设备的收听模块的设备的结构示意图,该设备包括:调配装置11、获取装置12、计算装置13和判断装置14,2 shows a schematic structural diagram of a device for detecting a listening module of a terminal device according to another aspect of the present application. The device includes: a deployment device 11, an acquisition device 12, a calculation device 13, and a judgment device 14.
调配装置11,用于通过预置检测程序将终端设备的收听模块调到阈值状态;在此,对终端设备的收听模块进行检测时,通过检测机器内的预置检测程序自动将收听模块调到阈值状态,其中,收听模块用于获取外界声音以及播放终端设备的声音,比如手机的麦克风、喇叭,阈值状态为最大播放或收取声音的状态,即将音量调到最大值。The deployment device 11 is used to adjust the listening module of the terminal device to the threshold state through the preset detection program; here, when the listening module of the terminal device is detected, the listening module is automatically adjusted to the preset detection program in the detection machine Threshold state, where the listening module is used to acquire external sounds and play the sounds of terminal devices, such as the microphone and speaker of a mobile phone. The threshold state is the state of maximum playback or sound collection, that is, the volume is adjusted to the maximum.
获取装置12,用于获取在所述阈值状态下的收听模块的原始音频数据;在此,收听模块被调到阈值状态后,获取此时通过收听模块发出的原始音频数据,比如在音量调到最大值的情况下收听模块发出的声音为原始音频数据,降低外界的干扰导致的检测不准确。The obtaining device 12 is used to obtain the original audio data of the listening module in the threshold state; here, after the listening module is adjusted to the threshold state, obtain the original audio data sent by the listening module at this time, for example, when the volume is adjusted to In the case of the maximum value, the sound emitted by the listening module is the original audio data, which reduces the detection inaccuracy caused by external interference.
计算装置13,用于将所述原始音频数据切成多段后计算每一段音频数据的频率,得到计算结果;在此,将录取到的原始音频数据进行切分,切成多段后,可以利用离散傅里叶算法计算每一段音频数据的频率,即将波形数据转换为点数据,得到每一段内的声音的频率情况;其中,经过干扰后的音频数据经过离散傅里叶计算(比如FFT)转换后得到多个点的峰值,可以取最大的三个点的峰值,再将该三个点的峰值转换为频率。判断装置14,用于根据所述计算结果与所述原始音频数据判断所述收听模块是否合格。在此,利用计算的每一段音频数据的频率与原始音频数据进行比较,进行音频分析,判断计算得到的音频数据是否为原始音频数据,若一致,则说明收听模块的音频性能为合格。从而规避了即使声音的波形不完整也可以进行音频分析,判断音频是否符合条件。The calculating device 13 is used to calculate the frequency of each piece of audio data after cutting the original audio data into multiple segments to obtain the calculation result; here, the recorded original audio data is divided into multiple segments, and then the discrete The Fourier algorithm calculates the frequency of each segment of audio data, that is, converts the waveform data into point data, and obtains the frequency of the sound in each segment; among them, the audio data after interference is transformed by discrete Fourier calculation (such as FFT) To obtain the peak values of multiple points, you can take the peak values of the largest three points, and then convert the peak values of the three points into frequencies. The judging device 14 is used for judging whether the listening module is qualified according to the calculation result and the original audio data. Here, the calculated frequency of each piece of audio data is compared with the original audio data, and audio analysis is performed to determine whether the calculated audio data is original audio data. If they are consistent, the audio performance of the listening module is qualified. This avoids the possibility of audio analysis even if the sound waveform is incomplete to determine whether the audio meets the conditions.
在本申请一实施例中,判断装置14用于比较所述计算结果与所述原 始音频数据,得到比较结果,并根据所述比较结果与预设占比判断所述收听模块是否合格。在此,对计算得到的每一段音频数据的频率进行分析,与原始数据进行比较,若比较结果中超过规定的占比,则判断音频是检测通过的,收听模块的音频检测合格。比如,某一段音频数据进行FFT转换后得到的多个点的峰值,取最大的三个点的峰值再转换为频率,若其中某个点的频率和源音频文件的频率相同,则可以认为该段音频是符合条件的。从而规避了即使声音的波形不完整也可以进行音频分析,判断音频是否符合条件。In an embodiment of the present application, the judging device 14 is used to compare the calculation result with the original audio data to obtain a comparison result, and determine whether the listening module is qualified according to the comparison result and a preset proportion. Here, the frequency of each piece of audio data obtained by calculation is analyzed and compared with the original data. If the comparison result exceeds the specified proportion, it is judged that the audio has passed the detection and the audio detection of the listening module is qualified. For example, the peak value of multiple points obtained after FFT conversion of a certain piece of audio data is taken, and then the peak value of the largest three points is converted into frequency. If the frequency of a certain point is the same as the frequency of the source audio file, it can be considered as the peak value. Pieces of audio are eligible. This avoids the possibility of audio analysis even if the sound waveform is incomplete to determine whether the audio meets the conditions.
在本申请一实施例中,所述设备还包括:第二获取装置,用于获取将所述收听模块调到阈值状态下时的原始音频数据的频率。在此,获取当收听模块调到音量最大值时,对应的音频数据输出的频率,从而对收听模块的音频进行检测时,将该音量最大值下录取到的声音数据的频率与原始的应该输出的频率进行比较;具体地:判断装置14用于比较所述每一段音频的频率与所述原始音频数据的频率是否相同,定位相同时的频率所在的位置;根据预设占比以及定位到的位置判断所述收听模块是否合格。在此,在所有段音频的频率中查找与原始音频数据的频率相一致时所在的分段,定位到该分段,根据规定的占比以及定位到的分段的情况判断此次分析的音频是否通过检测;比如,原始音频数据的频率是在1000HZ下发出的,录取到的该音频数据进行切断分析后,得到10段的音频数据的频率,其中,频率有出现200HZ、300HZ的情况,若预设占比为80%,则当每一段内出现1000HZ的频率超过80%时,则可认为此段的音频数据为合格,当合格的分段的数量占据总分段数超过预设占比值时,认为此次的音频数据检测通过。In an embodiment of the present application, the device further includes: a second acquiring device, configured to acquire the frequency of the original audio data when the listening module is adjusted to a threshold state. Here, the frequency of the corresponding audio data output when the listening module is adjusted to the maximum volume is obtained, so that when the audio of the listening module is detected, the frequency of the sound data recorded under the maximum volume is the same as the original output frequency. Specifically: the judging device 14 is used to compare whether the frequency of each piece of audio is the same as the frequency of the original audio data, and locate the position of the frequency when the same; according to the preset proportion and the location The location judges whether the listening module is qualified. Here, search for the segment in which the frequency of all segments of audio is consistent with the frequency of the original audio data, locate the segment, and determine the audio of this analysis based on the specified proportion and the location of the segment. Whether it passes the test; for example, the frequency of the original audio data is sent out under 1000HZ. After the recorded audio data is cut and analyzed, the frequency of 10 segments of audio data is obtained. Among them, the frequency may appear 200HZ or 300HZ. The preset proportion is 80%. When the frequency of 1000HZ in each segment exceeds 80%, the audio data of this segment can be considered qualified. When the number of qualified segments occupies the total number of segments and exceeds the preset proportion value At the time, it is considered that the audio data detection passed this time.
在本申请一实施例中,计算装置13用于:将所述原始音频数据切成多段后,每一段进行离散傅里叶变换,得到多个离散点;从多个离散点中选出为峰值点的离散点,并按照峰值进行排序;计算排序后的离散点对应 的频率,得到计算结果。判断装置14用于:若每一段音频数据对应的排序后的离散点对应的频率中存在与原始音频数据的频率一致的频率,则该段音频数据为合格的音频段;若合格的音频段的总数大于预设占比,则所述收听模块的检测结果为合格。如图2所示,为一段音频文件经过FFT(离散傅里叶变换的快速算法)转换的频域示意图,从图中可看出,在第1,51,76点时出现了峰值,其它各点接近0,按照峰值数据从大到小排序,取3个峰值点分别计算频率,通过公式:Fn=(n-1)*Fs/N进行计算,其中,Fn为n点的频率,Fs为采样频率,N为采样点数,图2中的采样频率为256,采样点数为256,从而可以得出该音频文件的频率为0Hz,50Hz,75Hz。若源音频文件的频率为100Hz,则这三个点都是不符合的,同理可得出其它段音频数据是否符合条件,每一段音频数据符合就总数累加1,最后算出通过占比r=(pt/t)*100,其中,pt为符合的音频段数,t为总段数,r为是否合格结果,若r大于80,则认为源音频数据无问题,终端设备无问题,即终端设备的音频检测无问题。In an embodiment of the present application, the computing device 13 is configured to: after cutting the original audio data into multiple segments, perform discrete Fourier transform on each segment to obtain multiple discrete points; and select the peak value from the multiple discrete points. The discrete points of the points are sorted according to the peak value; the frequency corresponding to the sorted discrete points is calculated, and the calculation result is obtained. The judging device 14 is used for: if there is a frequency consistent with the frequency of the original audio data in the frequency corresponding to the sorted discrete point corresponding to each piece of audio data, then the piece of audio data is a qualified audio segment; If the total number is greater than the preset proportion, the detection result of the listening module is qualified. As shown in Figure 2, it is a schematic diagram of the frequency domain of an audio file converted by FFT (Fast Algorithm of Discrete Fourier Transform). It can be seen from the figure that peaks appear at points 1, 51, and 76. The point is close to 0, and the peak data is sorted from largest to smallest, and the three peak points are taken to calculate the frequency respectively. The calculation is carried out by the formula: Fn=(n-1)*Fs/N, where Fn is the frequency of point n, and Fs is Sampling frequency, N is the number of sampling points, the sampling frequency in Figure 2 is 256, and the number of sampling points is 256, so that the frequency of the audio file can be obtained as 0Hz, 50Hz, 75Hz. If the frequency of the source audio file is 100Hz, these three points are not met. Similarly, it can be concluded whether other pieces of audio data meet the conditions. If each piece of audio data meets the conditions, the total is added to 1, and finally the passing ratio r= (pt/t)*100, where pt is the number of matching audio segments, t is the total number of segments, r is the result of qualification, if r is greater than 80, it is considered that there is no problem with the source audio data, and there is no problem with the terminal device, that is, the terminal device’s There is no problem with audio detection.
在本申请一实施例中,获取装置12用于在所述阈值状态下播放所述收听模块,录取所述收听模块发出的声音;对录取到的声音进行分析,根据分析结果判断是否录取到所述收听模块的原始音频数据。在此,得到需要检测的音频数据时,先在音量最大值状态下播放声音,再录取此时的声音数据,对录取的声音进行分析,以判断是否真正录取到了所需要检测的音频数据,即录取到了原始音频数据。In an embodiment of the present application, the acquiring device 12 is used to play the listening module in the threshold state, and record the sound emitted by the listening module; analyze the recorded sound, and determine whether it is admitted to the station according to the analysis result. The original audio data of the listening module. Here, when the audio data that needs to be detected is obtained, the sound is played at the maximum volume state, and then the sound data at this time is recorded, and the recorded sound is analyzed to determine whether the audio data that needs to be detected is actually recorded, that is, The original audio data has been recorded.
在本申请一实施例中,计算装置13用于确定录取所述收听模块发出的声音的录取时间;根据所述录取时间及预设的分段处理数据阈值将所述原始音频数据切成多段,计算每一段音频数据的频率。在此,比如录取喇叭发出的声音的录取时间为10s,而预设的分段处理数据为M,则根据10s内的数据量以及每一分段可以处理的数据M将该10s的原始音频数据进行切分,切成多段,然后计算每一段音频数据的频率,对每一段的音频数据 进行分析。In an embodiment of the present application, the computing device 13 is used to determine the recording time for recording the sound emitted by the listening module; cutting the original audio data into multiple segments according to the recording time and a preset segmented processing data threshold, Calculate the frequency of each piece of audio data. Here, for example, the recording time for recording the sound emitted by the speaker is 10s, and the preset segment processing data is M, then the 10s original audio data is based on the data volume within 10s and the data M that can be processed in each segment Carry out segmentation, cut into multiple segments, then calculate the frequency of each segment of audio data, and analyze each segment of audio data.
此外,本申请实施例还提供了一种计算机可读介质,其上存储有计算机可读指令,所述计算机可读指令可被处理器执行以实现前述一种用于检测终端设备的收听模块的方法。In addition, the embodiments of the present application also provide a computer-readable medium, on which computer-readable instructions are stored, and the computer-readable instructions can be executed by a processor to implement the aforementioned method for detecting a listening module of a terminal device. method.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the application without departing from the spirit and scope of the application. In this way, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalent technologies, then this application is also intended to include these modifications and variations.
需要注意的是,本申请可在软件和/或软件与硬件的组合体中被实施,例如,可采用专用集成电路(ASIC)、通用目的计算机或任何其他类似硬件设备来实现。在一个实施例中,本申请的软件程序可以通过处理器执行以实现上文所述步骤或功能。同样地,本申请的软件程序(包括相关的数据结构)可以被存储到计算机可读记录介质中,例如,RAM存储器,磁或光驱动器或软磁盘及类似设备。另外,本申请的一些步骤或功能可采用硬件来实现,例如,作为与处理器配合从而执行各个步骤或功能的电路。It should be noted that this application can be implemented in software and/or a combination of software and hardware. For example, it can be implemented using an application specific integrated circuit (ASIC), a general purpose computer or any other similar hardware device. In an embodiment, the software program of the present application may be executed by a processor to realize the steps or functions described above. Likewise, the software program (including related data structures) of the present application can be stored in a computer-readable recording medium, for example, RAM memory, magnetic or optical drives or floppy disks and similar devices. In addition, some steps or functions of the present application may be implemented by hardware, for example, as a circuit that cooperates with a processor to execute each step or function.
另外,本申请的一部分可被应用为计算机程序产品,例如计算机程序指令,当其被计算机执行时,通过该计算机的操作,可以调用或提供根据本申请的方法和/或技术方案。而调用本申请的方法的程序指令,可能被存储在固定的或可移动的记录介质中,和/或通过广播或其他信号承载媒体中的数据流而被传输,和/或被存储在根据所述程序指令运行的计算机设备的工作存储器中。在此,根据本申请的一个实施例包括一个装置,该装置包括用于存储计算机程序指令的存储器和用于执行程序指令的处理器,其中,当该计算机程序指令被该处理器执行时,触发该装置运行基于前述根据本申请的多个实施例的方法和/或技术方案。In addition, a part of this application can be applied as a computer program product, such as a computer program instruction, when it is executed by a computer, through the operation of the computer, the method and/or technical solution according to this application can be invoked or provided. The program instructions for calling the method of the present application may be stored in a fixed or removable recording medium, and/or be transmitted through a data stream in a broadcast or other signal-bearing medium, and/or be stored in accordance with the Said program instructions run in the working memory of the computer equipment. Here, an embodiment according to the present application includes a device that includes a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the device triggers The operation of the device is based on the aforementioned methods and/or technical solutions according to multiple embodiments of the present application.
对于本领域技术人员而言,显然本申请不限于上述示范性实施例的细节,而且在不背离本申请的精神或基本特征的情况下,能够以其他的具体 形式实现本申请。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。装置权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。For those skilled in the art, it is obvious that the present application is not limited to the details of the above exemplary embodiments, and the present application can be implemented in other specific forms without departing from the spirit or basic characteristics of the present application. Therefore, no matter from which point of view, the embodiments should be regarded as exemplary and non-limiting. The scope of this application is defined by the appended claims rather than the above description, and therefore it is intended to fall into the claims. All changes in the meaning and scope of the equivalent elements of are included in this application. Any reference signs in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "including" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the device claims can also be implemented by one unit or device through software or hardware. Words such as first and second are used to denote names, but do not denote any specific order.

Claims (17)

  1. 一种用于检测终端设备的收听模块的方法,其特征在于,所述方法包括:A method for detecting a listening module of a terminal device, characterized in that the method includes:
    通过预置检测程序将终端设备的收听模块调到阈值状态;Adjust the listening module of the terminal device to the threshold state through the preset detection program;
    获取在所述阈值状态下的收听模块的原始音频数据;Acquiring the original audio data of the listening module in the threshold state;
    将所述原始音频数据切成多段后计算每一段音频数据的频率,得到计算结果;After cutting the original audio data into multiple segments, calculate the frequency of each segment of audio data to obtain a calculation result;
    根据所述计算结果与所述原始音频数据判断所述收听模块是否合格。Determine whether the listening module is qualified according to the calculation result and the original audio data.
  2. 根据权利要求1所述的方法,其特征在于,根据所述计算结果与所述原始音频数据判断所述收听模块是否合格,包括:The method according to claim 1, wherein judging whether the listening module is qualified according to the calculation result and the original audio data comprises:
    比较所述计算结果与所述原始音频数据,得到比较结果,并根据所述比较结果与预设占比判断所述收听模块是否合格。Comparing the calculation result with the original audio data to obtain a comparison result, and judging whether the listening module is qualified according to the comparison result and a preset proportion.
  3. 根据权利要求1所述的方法,其特征在于,将所述原始音频数据切成多段后计算每一段音频数据的频率,得到计算结果,包括:将所述原始音频数据切成多段后,每一段进行离散傅里叶变换,得到多个离散点;The method according to claim 1, wherein after the original audio data is cut into multiple segments, the frequency of each segment of audio data is calculated to obtain the calculation result, comprising: after the original audio data is cut into multiple segments, each segment Perform discrete Fourier transform to obtain multiple discrete points;
    从多个离散点中选出为峰值点的离散点,并按照峰值进行排序;Select the discrete points as peak points from multiple discrete points and sort them according to the peak value;
    计算排序后的离散点对应的频率,得到计算结果。Calculate the frequency corresponding to the discrete points after sorting, and obtain the calculation result.
  4. 根据权利要求3所述的方法,其特征在于,根据所述计算结果与所述原始音频数据判断所述收听模块是否合格,包括:The method according to claim 3, wherein judging whether the listening module is qualified according to the calculation result and the original audio data comprises:
    若每一段音频数据对应的排序后的离散点对应的频率中存在与原始音频数据的频率一致的频率,则该段音频数据为合格的音频段;If the frequency corresponding to the sorted discrete point corresponding to each piece of audio data has a frequency that is consistent with the frequency of the original audio data, then the piece of audio data is a qualified audio segment;
    若合格的音频段的总数大于预设占比,则所述收听模块的检测结果为合格。If the total number of qualified audio segments is greater than the preset proportion, the detection result of the listening module is qualified.
  5. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    获取将所述收听模块调到阈值状态下时的原始音频数据的频率。Obtain the frequency of the original audio data when the listening module is adjusted to the threshold state.
  6. 根据权利要求2或5所述的方法,其特征在于,比较所述计算结果与所述原始音频数据,得到比较结果,并根据所述比较结果与预设占比判断所述收听模块是否合格,包括:The method according to claim 2 or 5, characterized in that, comparing the calculation result with the original audio data to obtain a comparison result, and judging whether the listening module is qualified according to the comparison result and a preset proportion, include:
    比较所述每一段音频的频率与所述原始音频数据的频率是否相同,定位相同时的频率所在的位置;Comparing whether the frequency of each piece of audio is the same as the frequency of the original audio data, and locating the position of the frequency when the frequency is the same;
    根据预设占比以及定位到的位置判断所述收听模块是否合格。Determine whether the listening module is qualified according to the preset proportion and the located position.
  7. 根据权利要求1所述的方法,其特征在于,获取在所述阈值状态下的收听模块的原始音频数据包括:The method according to claim 1, wherein acquiring the original audio data of the listening module in the threshold state comprises:
    在所述阈值状态下播放所述收听模块,录取所述收听模块发出的声音;Playing the listening module in the threshold state, and recording the sound emitted by the listening module;
    对录取到的声音进行分析,根据分析结果判断是否录取到所述收听模块的原始音频数据。Analyze the recorded sound, and determine whether the original audio data of the listening module is recorded according to the analysis result.
  8. 根据权利要求7所述的方法,其特征在于,将所述原始音频数据切成多段后计算每一段音频数据的频率包括:The method according to claim 7, wherein the calculation of the frequency of each piece of audio data after cutting the original audio data into multiple pieces comprises:
    确定录取所述收听模块发出的声音的录取时间;Determine the admission time for the sound emitted by the listening module;
    根据所述录取时间及预设的分段处理数据阈值将所述原始音频数据切成多段,计算每一段音频数据的频率。The original audio data is cut into multiple segments according to the enrollment time and a preset segmented processing data threshold, and the frequency of each segment of audio data is calculated.
  9. 一种用于检测终端设备的收听模块的设备,其特征在于,所述设备包括:A device for detecting a listening module of a terminal device, characterized in that the device includes:
    调配装置,用于通过预置检测程序将终端设备的收听模块调到阈值状态;The deployment device is used to adjust the listening module of the terminal device to a threshold state through a preset detection program;
    获取装置,用于获取在所述阈值状态下的收听模块的原始音频数据;Acquiring means for acquiring the original audio data of the listening module in the threshold state;
    计算装置,用于将所述原始音频数据切成多段后计算每一段音频数据的频率,得到计算结果;A calculating device for calculating the frequency of each piece of audio data after cutting the original audio data into multiple segments to obtain a calculation result;
    判断装置,用于根据所述计算结果与所述原始音频数据判断所述收听模块是否合格。The judging device is used for judging whether the listening module is qualified according to the calculation result and the original audio data.
  10. 根据权利要求9所述的设备,其特征在于,所述判断装置用于:The device according to claim 9, wherein the judging device is used for:
    比较所述计算结果与所述原始音频数据,得到比较结果,并根据所述比较结果与预设占比判断所述收听模块是否合格。Comparing the calculation result with the original audio data to obtain a comparison result, and judging whether the listening module is qualified according to the comparison result and a preset proportion.
  11. 根据权利要求9所述的设备,其特征在于,所述计算装置用于:The device according to claim 9, wherein the computing device is used for:
    将所述原始音频数据切成多段后,每一段进行离散傅里叶变换,得到多个离散点;After the original audio data is cut into multiple segments, discrete Fourier transform is performed on each segment to obtain multiple discrete points;
    从多个离散点中选出为峰值点的离散点,并按照峰值进行排序;Select the discrete points as peak points from multiple discrete points and sort them according to the peak value;
    计算排序后的离散点对应的频率,得到计算结果。Calculate the frequency corresponding to the discrete points after sorting, and obtain the calculation result.
  12. 根据权利要求11所述的设备,其特征在于,所述判断装置用于:The device according to claim 11, wherein the judging device is used for:
    若每一段音频数据对应的排序后的离散点对应的频率中存在与原始音频数据的频率一致的频率,则该段音频数据为合格的音频段;If the frequency corresponding to the sorted discrete point corresponding to each piece of audio data has a frequency that is consistent with the frequency of the original audio data, then the piece of audio data is a qualified audio segment;
    若合格的音频段的总数大于预设占比,则所述收听模块的检测结果为合格。If the total number of qualified audio segments is greater than the preset proportion, the detection result of the listening module is qualified.
  13. 根据权利要求9所述的设备,其特征在于,所述设备还包括:The device according to claim 9, wherein the device further comprises:
    第二获取装置,用于获取将所述收听模块调到阈值状态下时的原始音频数据的频率。The second acquiring device is used to acquire the frequency of the original audio data when the listening module is adjusted to the threshold state.
  14. 根据权利要求10或13所述的设备,其特征在于,所述判断装置 用于:The device according to claim 10 or 13, wherein the judging device is used for:
    比较所述每一段音频的频率与所述原始音频数据的频率是否相同,定位相同时的频率所在的位置;Comparing whether the frequency of each piece of audio is the same as the frequency of the original audio data, and locating the position of the frequency when the frequency is the same;
    根据预设占比以及定位到的位置判断所述收听模块是否合格。Determine whether the listening module is qualified according to the preset proportion and the located position.
  15. 根据权利要求9所述的设备,其特征在于,所述获取装置用于:The device according to claim 9, wherein the acquiring device is used for:
    在所述阈值状态下播放所述收听模块,录取所述收听模块发出的声音;Playing the listening module in the threshold state, and recording the sound emitted by the listening module;
    对录取到的声音进行分析,根据分析结果判断是否录取到所述收听模块的原始音频数据。Analyze the recorded sound, and determine whether the original audio data of the listening module is recorded according to the analysis result.
  16. 根据权利要求15所述的设备,其特征在于,所述计算装置用于:The device according to claim 15, wherein the computing device is used for:
    确定录取所述收听模块发出的声音的录取时间;Determine the admission time for the sound emitted by the listening module;
    根据所述录取时间及预设的分段处理数据阈值将所述原始音频数据切成多段,计算每一段音频数据的频率。The original audio data is cut into multiple segments according to the enrollment time and a preset segmented processing data threshold, and the frequency of each segment of audio data is calculated.
  17. 一种计算机可读介质,其上存储有计算机可读指令,所述计算机可读指令可被处理器执行以实现如权利要求1至8中任一项所述的方法。A computer-readable medium having computer-readable instructions stored thereon, and the computer-readable instructions can be executed by a processor to implement the method according to any one of claims 1 to 8.
PCT/CN2020/120883 2020-01-21 2020-10-14 Method and device for testing listening module of terminal device WO2021147381A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010072281.7A CN111314536B (en) 2020-01-21 2020-01-21 Method and equipment for detecting listening module of terminal equipment
CN202010072281.7 2020-01-21

Publications (1)

Publication Number Publication Date
WO2021147381A1 true WO2021147381A1 (en) 2021-07-29

Family

ID=71148295

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/120883 WO2021147381A1 (en) 2020-01-21 2020-10-14 Method and device for testing listening module of terminal device

Country Status (2)

Country Link
CN (1) CN111314536B (en)
WO (1) WO2021147381A1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110013779A1 (en) * 2009-07-17 2011-01-20 Apple Inc. Apparatus for testing audio quality of an electronic device
CN104244161A (en) * 2014-09-17 2014-12-24 苏州酷果信息技术有限公司 Method and device for testing equipment with voice playing function and voice recording function
CN104485117A (en) * 2014-12-16 2015-04-01 福建星网视易信息系统有限公司 Method and system for detecting sound recording equipment
CN104661169A (en) * 2013-11-25 2015-05-27 深圳中电长城信息安全系统有限公司 Audio testing method and device
CN106161705A (en) * 2015-04-22 2016-11-23 小米科技有限责任公司 Audio frequency apparatus method of testing and device
CN106791825A (en) * 2016-12-23 2017-05-31 深圳创维数字技术有限公司 A kind of audio automated testing method and terminal
CN108347686A (en) * 2018-02-07 2018-07-31 广州视源电子科技股份有限公司 Audio testing method, device, smart machine and storage medium
CN109040940A (en) * 2018-09-20 2018-12-18 歌尔股份有限公司 A kind of detection method and device of loudspeaker

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729635B (en) * 2009-12-30 2013-12-04 中兴通讯股份有限公司 Method and device for testing audio loop of communication terminal
JP2014057140A (en) * 2012-09-11 2014-03-27 Hitachi Building Systems Co Ltd Inspection apparatus for elevator external communication device
CN105810222A (en) * 2014-12-30 2016-07-27 研祥智能科技股份有限公司 Defect detection method, device and system for audio equipment
CN106052852B (en) * 2016-06-01 2019-03-08 中国电子科技集团公司第三研究所 A kind of detection method and device of pulse acoustical signal
CN110177166A (en) * 2019-06-10 2019-08-27 深圳市中诺通讯有限公司 A kind of mobile phone audio test method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110013779A1 (en) * 2009-07-17 2011-01-20 Apple Inc. Apparatus for testing audio quality of an electronic device
CN104661169A (en) * 2013-11-25 2015-05-27 深圳中电长城信息安全系统有限公司 Audio testing method and device
CN104244161A (en) * 2014-09-17 2014-12-24 苏州酷果信息技术有限公司 Method and device for testing equipment with voice playing function and voice recording function
CN104485117A (en) * 2014-12-16 2015-04-01 福建星网视易信息系统有限公司 Method and system for detecting sound recording equipment
CN106161705A (en) * 2015-04-22 2016-11-23 小米科技有限责任公司 Audio frequency apparatus method of testing and device
CN106791825A (en) * 2016-12-23 2017-05-31 深圳创维数字技术有限公司 A kind of audio automated testing method and terminal
CN108347686A (en) * 2018-02-07 2018-07-31 广州视源电子科技股份有限公司 Audio testing method, device, smart machine and storage medium
CN109040940A (en) * 2018-09-20 2018-12-18 歌尔股份有限公司 A kind of detection method and device of loudspeaker

Also Published As

Publication number Publication date
CN111314536A (en) 2020-06-19
CN111314536B (en) 2021-08-10

Similar Documents

Publication Publication Date Title
RU2596592C2 (en) Spatial audio processor and method of providing spatial parameters based on acoustic input signal
US20140337021A1 (en) Systems and methods for noise characteristic dependent speech enhancement
WO2020248308A1 (en) Audio pop detection method and apparatus, and storage medium
JP2010112994A (en) Voice processing device, voice processing method and program
WO2016184138A1 (en) Method, mobile terminal and computer storage medium for adjusting audio parameters
US8050422B2 (en) Audio test apparatus capable of decreasing noise influence in process of audio device testing and method thereof
CN111918196B (en) Method, device and equipment for diagnosing recording abnormity of audio collector and storage medium
US20210098008A1 (en) A method and system for triggering events
CN110111811B (en) Audio signal detection method, device and storage medium
CN104244162A (en) Noise detecting method and device of loudspeaker
CN113259832B (en) Microphone array detection method and device, electronic equipment and storage medium
US20080281599A1 (en) Processing audio data
WO2019001158A1 (en) Method and apparatus for determining position of loudspeaker, and loudspeaker
CN109903775B (en) Audio popping detection method and device
CN111782861A (en) Noise detection method and device and storage medium
CN108093356B (en) Howling detection method and device
WO2021147381A1 (en) Method and device for testing listening module of terminal device
CN107885845B (en) Audio classification method and device, computer equipment and storage medium
JP5815435B2 (en) Sound source position determination apparatus, sound source position determination method, program
CN113316075B (en) Howling detection method and device and electronic equipment
CN112995882B (en) Intelligent equipment audio open loop test method
CN115731943A (en) Plosive detection method, plosive detection system, storage medium and electronic equipment
JP2006178333A (en) Proximity sound separation and collection method, proximity sound separation and collecting device, proximity sound separation and collection program, and recording medium
CN111885474A (en) Microphone testing method and device
CN112581975A (en) Ultrasonic voice instruction defense method based on signal aliasing and two-channel correlation

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

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

Country of ref document: EP

Kind code of ref document: A1