CN109951349A - Microphone fault detection method and device, readable storage medium storing program for executing - Google Patents

Microphone fault detection method and device, readable storage medium storing program for executing Download PDF

Info

Publication number
CN109951349A
CN109951349A CN201910015813.0A CN201910015813A CN109951349A CN 109951349 A CN109951349 A CN 109951349A CN 201910015813 A CN201910015813 A CN 201910015813A CN 109951349 A CN109951349 A CN 109951349A
Authority
CN
China
Prior art keywords
microphone
audio data
fault detection
mass fraction
detection method
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
CN201910015813.0A
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.)
Shanghai Lake Information Technology Co Ltd
Original Assignee
Shanghai Lake Information Technology Co 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 Shanghai Lake Information Technology Co Ltd filed Critical Shanghai Lake Information Technology Co Ltd
Priority to CN201910015813.0A priority Critical patent/CN109951349A/en
Publication of CN109951349A publication Critical patent/CN109951349A/en
Pending legal-status Critical Current

Links

Abstract

A kind of microphone fault detection method and device, readable storage medium storing program for executing, the microphone fault detection method, comprising: obtain the collected audio data of microphone;Calculate the mass fraction of the audio data;When the mass fraction of the audio data is less than preset threshold, determine that there are failures for the microphone.Using the above scheme, the microphone failure on interactive terminal facility can be effectively detected out.

Description

Microphone fault detection method and device, readable storage medium storing program for executing
Technical field
It is the invention belongs to technical field of intelligent equipment, in particular to a kind of microphone fault detection method and device, readable Storage medium.
Background technique
Various interactive terminal facilities, such as interactive voice robot, intelligent sound box etc. on the market at present, be equipped with The directly interactive audio data collecting equipment of user, such as microphone etc..And it is that assessment terminal is set that whether microphone is working properly A standby whole whether normally important ring.
There are mainly two types of regular microphones inspection methods working properly: one is the recording that machine acquisition is listened in artificial sampling observation It is whether normal, time-consuming and laborious and higher cost;Another kind is remotely to check that whether just microphone calls log to judge microphone It is often called.But call the mode of log that can only judge whether microphone circuit is normal or whether call normal, cannot but sentence Whether its recording substance that breaks is normal, can not judge whether microphone breaks down.
Summary of the invention
What the embodiment of the present invention solved is the microphone failure how being effectively detected out on interactive terminal facility.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of microphone fault detection method, microphone failure Detection method includes: to obtain the collected audio data of microphone;Calculate the mass fraction of the audio data;When the audio When the mass fraction of data is less than preset threshold, determine that there are failures for the microphone.
Optionally, the mass fraction for calculating the audio data, comprising: the audio number is calculated using SRMR algorithm According to mass fraction.
Optionally, when the mass fraction of the audio data is more than preset threshold, determine that the microphone works are normal.
Optionally, after calculating the mass fraction of the audio data using SRMR algorithm, further includes: by the quality Score is sent to remote server.
Optionally, the collected audio data of the acquisition microphone, comprising: it is collected to obtain at least one microphone Audio data.
In order to solve the above technical problems, the embodiment of the invention also discloses a kind of microphone fault detection means, microphone Fault detection means includes: acquiring unit, for obtaining the collected audio data of microphone;Computing unit, for calculating State the mass fraction of audio data;Judging unit, for determining when the mass fraction of the audio data is less than preset threshold There are failures for the microphone.
Optionally, the computing unit calculates institute using SRMR algorithm for calculating the mass fraction of the audio data State the mass fraction of audio data.
Optionally, the computing unit, is also used to: when the mass fraction of the audio data is more than preset threshold, sentencing The fixed microphone works are normal.
Optionally, the computing unit, is also used to: the mass fraction is sent to remote server.
Optionally, the acquiring unit, is used for: obtaining the collected audio data of at least one microphone.
The embodiment of the invention also discloses a kind of computer readable storage mediums, are stored thereon with computer instruction, described The step of microphone fault detection method described in executing any of the above-described kind when computer instruction operation.
It is described to deposit the embodiment of the invention also provides a kind of microphone fault detection means, including memory and processor The computer instruction that can be run on the processor is stored on reservoir, the processor is held when running the computer instruction The step of microphone fault detection method described in any of the above-described kind of row.
Compared with prior art, the technical solution of the embodiment of the present invention has the advantages that
By the mass fraction of the calculating collected audio data of microphone, then judge the mass fraction of the audio data Whether preset threshold is less than, and then whether the microphone detected on interactive terminal facility breaks down.
Further, the terminal device not strong for computing capability, by the microphone fault detection means in remote server The audio data that receiving terminal apparatus is sent, and use SRMR algorithm calculates the mass fraction of the audio data, it can be effective Whether the mass fraction of the audio data collected of the different terminal device of detection computing capability is less than preset threshold, Jin Erjian The microphone measured on the interactive terminal facility breaks down.
Detailed description of the invention
Fig. 1 is a kind of flow chart of microphone fault detection method of the embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of microphone fault detection means of the embodiment of the present invention.
Specific embodiment
Various interactive terminal facilities, such as interactive voice robot, intelligent sound box etc. on the market at present, be equipped with The directly interactive audio data collecting equipment of user, such as microphone etc..And it is that assessment terminal is set that whether microphone is working properly A standby whole whether normally important ring.
There are mainly two types of regular microphones inspection methods working properly: one is the recording that machine acquisition is listened in artificial sampling observation It is whether normal, time-consuming and laborious and higher cost;Another kind is remotely to check that whether just microphone calls log to judge microphone It is often called.But call the mode of log that can only judge whether microphone circuit is normal or whether call normal, cannot but sentence Whether its recording substance that breaks is normal, can not judge whether microphone breaks down.
In the embodiment of the present invention, by the mass fraction of the calculating collected audio data of microphone, then the sound is judged Whether the mass fraction of frequency evidence is less than preset threshold, and then the microphone on interactive terminal facility can be effectively detected out Whether break down.
It is understandable to enable the above-mentioned purpose, feature and beneficial effect of the embodiment of the present invention to become apparent, below with reference to attached Figure is described in detail specific embodiments of the present invention.
The embodiment of the invention provides a kind of microphone fault detection methods, referring to Fig.1, carry out below by way of specific steps It is described in detail.
The microphone fault detection method provided in the embodiment of the present invention can be applied to all kinds of interactive intelligent terminals and set It is standby.
Step S101 obtains the collected audio data of microphone.
In practical applications, microphone fault detection means can be deployed on all kinds of interactive intelligent terminal devices, Microphone fault detection means obtains the collected audio data of microphone institute of terminal device.It is understood that interactive Intelligent terminal includes all kinds of self-help terminal equipments, such as service class self-help terminal equipment;Also it is adopted including all kinds of by audio The intelligent terminal, such as intelligent sound box, intelligent refrigerator etc. that collection equipment and user interact.The present invention does not go to live in the household of one's in-laws on getting married herein It states.
In specific implementation, the collected audio number of at least one available microphone of microphone fault detection means According to.Specifically, microphone fault detection means is disposed when the data-handling capacity of terminal device or poor computing capability On remote equipment, the collected audio number of the microphone at least one terminal device is obtained by microphone fault detection means According to, it is unified to be calculated by remote equipment, and then judge whether the microphone of corresponding terminal device is working properly.
Step S102 calculates the mass fraction of the audio data.
In specific implementation, energy ratio (Speech-to-Reverberation can be modulated using speech reverberation Modulation energy Ratio, SRMR) algorithm calculates the mass fraction of the audio data.
SRMR algorithm is the objective evaluation method of a kind of voice quality based on voice signal modulation spectrum characterization and intelligibility. The mass fraction of audio data is calculated using SRMR algorithm, obtained mass fraction represents the voice quality of this section audio data. When mass fraction is less than preset threshold, it is possible to determine that the quality of the audio is poor, while also illustrating corresponding microphone work Make abnormal.Therefore, the mass fraction that the audio data is calculated using SRMR algorithm can be convenient and effectively judge corresponding sound Frequency detects whether corresponding microphone is working properly according to whether quality is intact.
It in specific implementation, can also be by institute after calculating the mass fraction of the audio data using SRMR algorithm It states mass fraction and is sent to remote server.
In practical applications, when microphone fault detection means is deployed on interactive intelligent terminal device, by Mike Wind fault detection means calculate microphone collected audio data mass fraction.After the completion of calculating, microphone failure Mass fraction can be sent to remote server and summarized by detection device, the end managed using the manager of remote server it The state of end equipment is recorded, and is facilitated and subsequent is had good grounds when something goes wrong.
Step S103 determines that the microphone has event when the mass fraction of the audio data is less than preset threshold Barrier.
In practical applications, when microphone fault detection means is deployed on interactive intelligent terminal device, by Mike Wind fault detection means calculate microphone collected audio data mass fraction.When determining the microphone, there are failures Afterwards, one of mass fraction, judging result and deterministic process data or a variety of data can be sent to remote server, Allow manager to grasp the fault condition of terminal device in time, and carries out subsequent troubleshooting.
When microphone fault detection means is deployed on remote equipment, remembered by the microphone detection device on remote equipment Record corresponding mass fraction, judging result and deterministic process data.
In specific implementation, when the mass fraction of the audio data is more than preset threshold, determine the microphone work Make normal.
In practical applications, it when the corresponding microphone works of judgement are normal, is deployed on interactive intelligent terminal device Microphone fault detection means can recorde corresponding detection data, and send detection data to remote equipment;And it is deployed in Microphone fault detection means on remote equipment can directly record corresponding detection data.Therefore, above two deployment side Method can guarantee that the process of microphone fault detection has good grounds, and facilitate unified management of the manager to terminal device.
In conclusion by the mass fraction for calculating the collected audio data of microphone, then judge the audio data Mass fraction whether be less than preset threshold, and then whether the microphone detected on interactive terminal facility breaks down.
Further, the terminal device not strong for computing capability, by the microphone fault detection means in remote server The audio data that receiving terminal apparatus is sent, and use SRMR algorithm calculates the mass fraction of the audio data, it can be effective Whether the mass fraction of the audio data collected of the different terminal device of detection computing capability is less than preset threshold, Jin Erjian The microphone measured on the interactive terminal facility breaks down.
Referring to Fig. 2, the embodiment of the invention also provides a kind of microphone fault detection means 20.The microphone failure inspection Surveying device 20 includes: acquiring unit 201, computing unit 202 and judging unit 203;
Wherein, the acquiring unit 201, for obtaining the collected audio data of microphone;
The computing unit 202, for calculating the mass fraction of the audio data;
The judging unit 203, for determining the wheat when the mass fraction of the audio data is less than preset threshold There are failures for gram wind.
In specific implementation, the computing unit 202 can be used for calculating the mass fraction of the audio data, use SRMR algorithm calculates the mass fraction of the audio data.
In specific implementation, the computing unit 202, can be also used for: when the mass fraction of the audio data is more than When preset threshold, determine that the microphone works are normal.
In specific implementation, the computing unit 202, can be also used for: the mass fraction is sent to remote service Device.
In specific implementation, the acquiring unit 201, can be used for: obtain the collected audio of at least one microphone Data.
The embodiment of the invention also provides a kind of computer readable storage medium, computer readable storage medium is non-volatile Property storage medium or non-transitory storage media, be stored thereon with computer instruction, the computer instruction executes this hair when running The step of any microphone fault detection method provided in bright above-described embodiment.
It is described to deposit the embodiment of the invention also provides a kind of microphone fault detection means, including memory and processor The computer instruction that can be run on the processor is stored on reservoir, when the processor runs shown computer instruction, The step of any microphone fault detection method provided in the above embodiment of the present invention is provided.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can store in any computer readable storage medium storing program for executing, deposit Storage media may include: ROM, RAM, disk or CD etc..
Although present disclosure is as above, present invention is not limited to this.Anyone skilled in the art are not departing from this It in the spirit and scope of invention, can make various changes or modifications, therefore protection scope of the present invention should be with claim institute Subject to the range of restriction.

Claims (12)

1. a kind of microphone fault detection method characterized by comprising
Obtain the collected audio data of microphone;
Calculate the mass fraction of the audio data;
When the mass fraction of the audio data is less than preset threshold, determine that there are failures for the microphone.
2. microphone fault detection method as described in claim 1, which is characterized in that the matter for calculating the audio data Measure score, comprising: the mass fraction of the audio data is calculated using SRMR algorithm.
3. microphone fault detection method as described in claim 1, which is characterized in that further include: when the audio data When mass fraction is more than preset threshold, determine that the microphone works are normal.
4. microphone fault detection method as described in claim 1, which is characterized in that calculating the sound using SRMR algorithm After the mass fraction of frequency evidence, further includes: the mass fraction is sent to remote server.
5. microphone fault detection method as described in claim 1, which is characterized in that the collected sound of the acquisition microphone Frequency evidence, comprising: obtain the collected audio data of at least one microphone.
6. a kind of microphone fault detection means characterized by comprising
Acquiring unit, for obtaining the collected audio data of microphone;
Computing unit, for calculating the mass fraction of the audio data;
Judging unit, for determining that the microphone has event when the mass fraction of the audio data is less than preset threshold Barrier.
7. microphone fault detection means as claimed in claim 6, which is characterized in that the computing unit, for calculating The mass fraction for stating audio data calculates the mass fraction of the audio data using SRMR algorithm.
8. microphone fault detection means as claimed in claim 6, which is characterized in that the computing unit is also used to: working as institute When stating the mass fraction of audio data more than preset threshold, determine that the microphone works are normal.
9. microphone fault detection means as claimed in claim 6, which is characterized in that the computing unit is also used to: by institute It states mass fraction and is sent to remote server.
10. microphone fault detection means as claimed in claim 6, which is characterized in that the acquiring unit is used for: obtaining The collected audio data of at least one microphone.
11. a kind of computer readable storage medium, computer readable storage medium is non-volatile memory medium or non-transient deposits Storage media is stored thereon with computer instruction, which is characterized in that perform claim requires in 1 to 5 when the computer instruction is run The step of described in any item microphone fault detection methods.
12. a kind of microphone fault detection means, including memory and processor, being stored on the memory can be at the place The computer instruction run on reason device, which is characterized in that perform claim requires 1 when the processor runs the computer instruction The step of to 5 described in any item microphone fault detection methods.
CN201910015813.0A 2019-01-08 2019-01-08 Microphone fault detection method and device, readable storage medium storing program for executing Pending CN109951349A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910015813.0A CN109951349A (en) 2019-01-08 2019-01-08 Microphone fault detection method and device, readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910015813.0A CN109951349A (en) 2019-01-08 2019-01-08 Microphone fault detection method and device, readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN109951349A true CN109951349A (en) 2019-06-28

Family

ID=67007199

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910015813.0A Pending CN109951349A (en) 2019-01-08 2019-01-08 Microphone fault detection method and device, readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN109951349A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105979053A (en) * 2016-04-18 2016-09-28 广东欧珀移动通信有限公司 Method and device for detecting microphone in mobile terminal and mobile terminal
CN106303804A (en) * 2016-07-28 2017-01-04 维沃移动通信有限公司 The control method of a kind of mike and mobile terminal
US9607627B2 (en) * 2015-02-05 2017-03-28 Adobe Systems Incorporated Sound enhancement through deverberation
CN108737615A (en) * 2018-06-27 2018-11-02 努比亚技术有限公司 microphone reception method, mobile terminal and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9607627B2 (en) * 2015-02-05 2017-03-28 Adobe Systems Incorporated Sound enhancement through deverberation
CN105979053A (en) * 2016-04-18 2016-09-28 广东欧珀移动通信有限公司 Method and device for detecting microphone in mobile terminal and mobile terminal
CN106303804A (en) * 2016-07-28 2017-01-04 维沃移动通信有限公司 The control method of a kind of mike and mobile terminal
CN108737615A (en) * 2018-06-27 2018-11-02 努比亚技术有限公司 microphone reception method, mobile terminal and computer readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
付建梅: "提取耳蜗熵值的语音可懂度客观评测算法研究", 《提取耳蜗熵值的语音可懂度客观评测算法研究 *
张雄伟等: "语音去混响技术的研究进展与展望", 《数字采集与处理》 *

Similar Documents

Publication Publication Date Title
WO2018028136A1 (en) Battery management system testing system and method
CN104536855B (en) Fault detection method and device
CN104333752B (en) Carry out the method and device of audio quality diagnosis
CN107704359B (en) Monitoring system of big data platform
CN111245648A (en) Cloud mobile phone fault alarming and automatic recovery method
CN204264183U (en) A kind of infra-red heat axis channel monitors diagnostic system
CN109034423B (en) Fault early warning judgment method, device, equipment and storage medium
CN105471620A (en) Broadband intelligent terminal embedded network analysis and diagnosis device and method thereof
CN112994972B (en) Distributed probe monitoring platform
CN104486470B (en) The self checking method and system of acoustical device in terminal device
CN113595251B (en) Automatic monitoring and early warning system and method for substation power equipment
CN103957551B (en) Communications status method for real-time monitoring in automatic weather station
CN103941722A (en) Method monitoring and diagnosing equipment failure through component characteristic frequency multiplication amplitude trend
WO2016197819A1 (en) Reverse power supply line detection processing method and apparatus
CN106791223A (en) A kind of monitor terminal goes offline the detection method and system of reason
CN109951349A (en) Microphone fault detection method and device, readable storage medium storing program for executing
CN112491635A (en) Method, system, implementation equipment and storage medium for link quality detection
CN103634158B (en) A kind of method for testing pressure and device of snmp management process
CN115426244B (en) Network equipment fault detection method based on big data
CN108122036B (en) Substation live operation and inspection auxiliary analysis method
CN113382348B (en) Earphone detection method, device and system and computer readable storage medium
CN109699041A (en) A kind of RRU channel failure diagnosis processing method and RRU device
CN108957260A (en) Partial discharge detecting system and method, storage medium, processor
CN104270622A (en) Switch cabinet detection method and system
CN113592108A (en) Charging fault management method of charging pile and related equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190628