CN111405452A - Method, system and device for detecting mute mode of microphone - Google Patents

Method, system and device for detecting mute mode of microphone Download PDF

Info

Publication number
CN111405452A
CN111405452A CN202010200129.2A CN202010200129A CN111405452A CN 111405452 A CN111405452 A CN 111405452A CN 202010200129 A CN202010200129 A CN 202010200129A CN 111405452 A CN111405452 A CN 111405452A
Authority
CN
China
Prior art keywords
microphone
audio data
detecting
mute
hardware
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.)
Granted
Application number
CN202010200129.2A
Other languages
Chinese (zh)
Other versions
CN111405452B (en
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.)
Hangzhou Tuya Information Technology Co Ltd
Original Assignee
Hangzhou Tuya 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 Hangzhou Tuya Information Technology Co Ltd filed Critical Hangzhou Tuya Information Technology Co Ltd
Priority to CN202010200129.2A priority Critical patent/CN111405452B/en
Publication of CN111405452A publication Critical patent/CN111405452A/en
Application granted granted Critical
Publication of CN111405452B publication Critical patent/CN111405452B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Abstract

The invention relates to the technical field of microphone performance detection, in particular to a method, a system and a device for detecting a microphone mute mode. A method for detecting a microphone mute mode judges whether a microphone is a hardware blocking mute mode or not by detecting an audio stream of the microphone. The method for detecting the mute mode of the microphone provided by the invention judges whether the microphone is blocked by hardware or not by using the existence of the audio stream in the detected audio data, thereby effectively solving the synchronization problem of hardware key event judgment. The method is easier and simpler, and can stably judge the hardware blocking event of the microphone.

Description

Method, system and device for detecting mute mode of microphone
Technical Field
The invention relates to the technical field of microphone performance detection, in particular to a method, a system and a device for detecting a microphone mute mode.
Background
Most of products with microphones in the current market adopt software to prohibit data streams in a mode of prohibiting data streams of the microphones, so that on occasions with higher security requirements, once the software is tampered and attacked by hackers, audio privacy can be leaked, such as illegal wiretapping and the like; in order to avoid the influence caused by software bugs, most products still use hardware blocking to stop microphone data.
Intercepting the data stream in hardware avoids eavesdropping due to software bugs, but also introduces additional problems in needing to know the actual mute/blocked state of the microphone, or how to obtain information in software that the hardware has blocked.
At present, a hardware blocking is used as a physical key, and whether the hardware blocking is disconnected or not is judged by monitoring an event of the key, so that the problem that whether the key event and the blocking are synchronous or not can be caused, and the method is not a good method.
Disclosure of Invention
The invention aims to provide a method for judging whether the mute of a microphone is hardware blocking by using the existence of an audio stream, thereby effectively solving the synchronization problem of key event judgment; the hardware blocking event is judged more easily, simply and stably; and the state of the microphone audio stream can be known in real time on software.
Based on the above, the technical solution of the first aspect of the present invention provides a method for detecting a mute mode of a microphone, which determines whether the microphone is a hardware blocking mute mode by detecting an audio stream of the microphone.
In some possible embodiments, detecting received audio data captured by an audio capture circuit on the microphone;
and if the audio stream is not detected, judging that the hardware blocks silence.
In some possible embodiments, the received audio data captured by the audio capture circuit on the microphone is detected in real-time.
In some possible embodiments, in the detecting of the audio data, the audio data when the hardware blocks the mute is set to 0;
reading the received audio data, reading one frame of audio data each time, and comparing the read audio data with 0;
and judging whether the microphone is a hardware blocking mute or not according to the comparison result.
In some possible embodiments, if the audio data in 2 frames or more are all different from 0, the hardware blocking mute is determined.
The technical solution of the second aspect of the present invention provides a system for detecting a mute mode of a microphone, including:
the receiving module is used for receiving audio data collected by an audio collecting circuit on the microphone;
the detection module is used for detecting whether the audio data of the receiving module has an audio stream or not;
and the output module is used for outputting whether the microphone is a hardware blocking mute or not according to the result of the detection module.
In some possible embodiments, the detection module detects the audio data of the receiving module in real time.
In some possible embodiments, the detection module includes a setting unit, a reading unit, a comparing unit, and a judging unit;
the setting unit is used for setting the audio data to be 0 when the hardware blocks the mute;
the reading unit is used for reading the received audio data and reading one frame of audio data each time;
the comparison unit is used for comparing the read audio data with 0;
and the judging unit is used for judging whether the microphone is a hardware blocking mute or not according to the comparison result.
An aspect of the third aspect of the present invention provides a storage medium for storing executable instructions, where the executable instructions, when executed, implement the steps of the method for detecting a mute mode of a microphone.
The technical scheme of the fourth aspect of the invention provides a device for detecting the mute mode of a microphone, which comprises the storage medium.
Compared with the prior art, the invention at least has the following beneficial effects:
1. the method for detecting the mute mode of the microphone provided by the invention judges by detecting the audio stream of the microphone, thereby effectively solving the problem of synchronization of judgment of key events.
2. The method for detecting the mute mode of the microphone can acquire the state of the audio stream of the microphone in real time, is easier and simpler in the whole detection method, and can stably judge the hardware blocking event.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 shows a block flow diagram of a method of detecting a manner of muting a microphone in accordance with an embodiment of the invention;
FIG. 2 shows a schematic diagram of a detected audio stream involved in an embodiment of the present invention;
FIG. 3 is a block diagram of a system for detecting a manner of muting a microphone in accordance with an embodiment of the present invention;
fig. 4 is a block diagram showing another system for detecting a manner of muting a microphone according to an embodiment of the present invention.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings. It should be noted that the embodiments of the present invention and features of the embodiments may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited to the specific embodiments disclosed below.
The embodiment of the invention provides a method for detecting a microphone mute mode, which judges whether a microphone is a hardware blocking mute mode or not by detecting an audio stream of the microphone.
Specifically, as shown in fig. 1, the method for detecting the mute mode of the microphone includes the following steps:
detecting received audio data collected by an audio collection circuit on the microphone;
and if the audio stream is not detected, judging that the hardware blocks silence.
The method for detecting the mute mode of the microphone provided by the embodiment of the invention judges whether the microphone is blocked by hardware or not by detecting whether the audio stream in the audio data exists or not, thereby effectively solving the synchronization problem of hardware key event judgment. The method is easier and simpler, and can stably judge the hardware blocking event of the microphone.
In some possible embodiments, the received audio data captured by the audio capture circuit on the microphone is detected in real-time.
In the embodiment of the invention, the audio data collected by the audio collecting circuit on the microphone is transmitted to the detection software in real time, and the detection software also detects the received audio data collected by the audio collecting circuit on the microphone in real time so as to judge whether the microphone is a hardware blocking mute or not in real time.
In some possible embodiments, in the detecting of the audio data, the audio data when the hardware blocks the mute is set to 0;
reading the received audio data, reading one frame of audio data each time, and comparing the read audio data with 0;
and judging whether the microphone is a hardware blocking mute or not according to the comparison result.
After the microphone hardware blocks silence, audio data collected by an audio collecting circuit of the microphone has no audio stream and no environmental noise; under the condition that the microphone is not blocked by hardware, the audio data collected by the audio collecting circuit of the microphone can be normally captured into the audio stream, and even if the surrounding environment is quite quiet, the audio data such as noise in the environment can be normally captured.
Therefore, in the detection program, the audio data when the hardware blocks the mute is set to be 0, and then the detected audio data is compared with 0, if the detected audio data is not 0, the microphone is not the hardware blocks the mute; if the detected audio data is 0, the microphone is indicated to be hardware-blocking mute.
In some possible embodiments, if the audio data in 2 frames or more are all different from 0, the hardware blocking mute is determined.
In different embodiments, if 2 frames of continuous audio data are different from 0, it is determined that the hardware blocks silence; or if 3 frames of continuous audio data are different from 0, judging that the hardware blocks silence; or if 5 frames of continuous audio data are different from 0, judging that the hardware blocks silence; or judging that the hardware blocks silence when 6 continuous frames of audio data are different from 0; or judging that the hardware blocks silence when 8 continuous frames of audio data are different from 0; and so on. In actual detection, in order to obtain a detection result in time, generally, audio data in 2-5 frames are different from 0, and it is determined that the hardware is blocked and muted.
For example, n frames of data are continuously read from a segment of audio data, each time one frame of data is read, the n frames of data are compared with 0, and if the n-5 frames of continuously compared data are all 0, it can be determined that the microphone is muted by hardware block; otherwise, if there is a data frame other than 0 in the continuous frames with n being 5, the microphone is considered to have been muted by the hardware block at this time. The detected audio stream is shown in fig. 2.
As shown in fig. 3, there is also provided a system for detecting a mute mode of a microphone according to an embodiment of the present invention, including:
the receiving module is used for receiving audio data collected by an audio collecting circuit on the microphone;
the detection module is used for detecting whether the audio data of the receiving module has an audio stream or not;
and the output module is used for outputting whether the microphone is a hardware blocking mute or not according to the result of the detection module.
In the system for detecting the mute mode of the microphone provided by the embodiment of the invention, the receiving module is used for receiving the audio data of the microphone; the detection module is used for detecting whether the received audio data has audio streams; the output module judges whether the microphone is blocked by hardware or not by using the existence of the audio stream in the detected audio data, and the synchronization problem of hardware key event judgment is effectively solved. The method is easier and simpler, and can stably judge the hardware blocking event of the microphone.
In some possible embodiments, the detection module detects the audio data of the receiving module in real time.
In the embodiment of the invention, the audio data collected by the audio collecting circuit on the microphone is transmitted to the detection software in real time, and the detection software also detects the received audio data collected by the audio collecting circuit on the microphone in real time so as to judge whether the microphone is a hardware blocking mute or not in real time.
As shown in fig. 4, in some possible embodiments, the detection module includes a setting unit, a reading unit, a comparing unit, and a judging unit;
the setting unit is used for setting the audio data to be 0 when the hardware blocks the mute;
the reading unit is used for reading the received audio data and reading one frame of audio data each time;
the comparison unit is used for comparing the read audio data with 0;
and the judging unit is used for judging whether the microphone is a hardware blocking mute or not according to the comparison result.
After the microphone hardware blocks silence, audio data collected by an audio collecting circuit of the microphone has no audio stream and no environmental noise; under the condition that the microphone is not blocked by hardware, the audio data collected by the audio collecting circuit of the microphone can be normally captured into the audio stream, and even if the surrounding environment is quite quiet, the audio data such as noise in the environment can be normally captured.
Therefore, in the detection module, different units are provided to process the detected items, respectively. If the setting unit is used, the audio data when the hardware blocks the mute is set to be 0; the reading unit reads the received audio data and reads one frame of audio data each time; a comparing unit comparing with 0 according to the detected audio data; the judging unit judges whether the microphone is hardware blocking mute or not according to the comparison result, and if the detected audio data contains data which is not 0, the microphone is not hardware blocking mute; and if the detected audio data are all 0, the microphone is indicated to be mute by hardware blocking.
In some possible embodiments, if the audio data in 2 frames or more are all different from 0, the hardware blocking mute is determined.
In different embodiments, if 2 frames of continuous audio data are different from 0, it is determined that the hardware blocks silence; or if 3 frames of continuous audio data are different from 0, judging that the hardware blocks silence; or if 5 frames of continuous audio data are different from 0, judging that the hardware blocks silence; or judging that the hardware blocks silence when 6 continuous frames of audio data are different from 0; or judging that the hardware blocks silence when 8 continuous frames of audio data are different from 0; and so on. In actual detection, in order to obtain a detection result in time, generally, audio data in 2-5 frames are different from 0, and it is determined that the hardware is blocked and muted.
Based on the method for detecting the mute manner of the microphone, an embodiment of the present invention further provides a storage medium for storing executable instructions, which when executed implement the steps of the method for detecting the mute manner of the microphone.
Based on this understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored on an electronic device executing the methods of the various implementation scenarios of the present invention. Other modules may also be included in the storage medium.
The embodiment of the invention also provides a device for detecting the mute mode of the microphone, which comprises the storage medium.
The detectable product device of the invention has the following conditions:
1) an audio device having a microphone;
2) a device for acquiring microphone audio data by software;
3) with the capability of hardware blocking of audio streams (hardware muting).
In addition, it should be noted that, in the different embodiments of the present invention, the technical features in some possible implementations may be arbitrarily combined to form different embodiments. And will not be described herein.
In the present invention, the terms "first", "second", and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance; the term "plurality" means two or more unless expressly limited otherwise. The terms "mounted," "connected," "fixed," and the like are to be construed broadly, and for example, "connected" may be a fixed connection, a removable connection, an integral connection, or a virtual connection; "coupled" may be direct or indirect through an intermediary. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
The flowchart and block diagrams in the figures of the present invention illustrate the architecture, functionality, and operation of possible implementations of systems, methods and apparatus according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In the description of the present specification, the description of the terms "some possible implementations" or the like means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for detecting a microphone mute mode is characterized in that whether a microphone is a hardware blocking mute mode or not is judged by detecting an audio stream of the microphone.
2. The method of claim 1, wherein detecting received audio data captured by an audio capture circuit on the microphone;
and if the audio stream is not detected, judging that the hardware blocks silence.
3. The method of claim 1, wherein the received audio data collected by an audio collection circuit on the microphone is detected in real time.
4. The method according to claim 3, wherein in the detecting of the audio data, the audio data when the hardware blocks the mute is set to 0;
reading the received audio data, reading one frame of audio data each time, and comparing the read audio data with 0;
and judging whether the microphone is a hardware blocking mute or not according to the comparison result.
5. The method as claimed in claim 4, wherein the hardware-blocking mute is determined when the audio data of 2 or more frames are different from 0.
6. A system for detecting a manner of muting a microphone, comprising:
the receiving module is used for receiving audio data collected by an audio collecting circuit on the microphone;
the detection module is used for detecting whether the audio data of the receiving module has an audio stream or not;
and the output module is used for outputting whether the microphone is a hardware blocking mute or not according to the result of the detection module.
7. The system for detecting the mute mode of a microphone according to claim 6, wherein the detection module detects the audio data of the receiving module in real time.
8. The system for detecting the mute manner of the microphone according to claim 6 or 7, wherein the detection module comprises a setting unit, a reading unit, a comparing unit and a judging unit;
the setting unit is used for setting the audio data to be 0 when the hardware blocks the mute;
the reading unit is used for reading the received audio data and reading one frame of audio data each time;
the comparison unit is used for comparing the read audio data with 0;
and the judging unit is used for judging whether the microphone is a hardware blocking mute or not according to the comparison result.
9. A storage medium storing executable instructions which, when executed, implement the steps of the method of detecting a manner of muting a microphone of any one of claims 1-5.
10. An apparatus for detecting a mute mode of a microphone, comprising the storage medium according to claim 9.
CN202010200129.2A 2020-03-20 2020-03-20 Method, system and device for detecting mute mode of microphone Active CN111405452B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010200129.2A CN111405452B (en) 2020-03-20 2020-03-20 Method, system and device for detecting mute mode of microphone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010200129.2A CN111405452B (en) 2020-03-20 2020-03-20 Method, system and device for detecting mute mode of microphone

Publications (2)

Publication Number Publication Date
CN111405452A true CN111405452A (en) 2020-07-10
CN111405452B CN111405452B (en) 2021-03-09

Family

ID=71431066

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010200129.2A Active CN111405452B (en) 2020-03-20 2020-03-20 Method, system and device for detecting mute mode of microphone

Country Status (1)

Country Link
CN (1) CN111405452B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62195963A (en) * 1986-02-24 1987-08-29 Fujitsu Ltd Talking state detector
CN1536912A (en) * 2003-04-06 2004-10-13 梁闽海 Method for preventing mobile communication equipment from being remote controlled and become into wiretapper and its device
CN103327173A (en) * 2013-05-17 2013-09-25 广东欧珀移动通信有限公司 Voice controlling method and device of mobile terminal
CN204316592U (en) * 2015-01-13 2015-05-06 曹海 A kind of privacy device of mobile terminal
CN108781316A (en) * 2016-04-27 2018-11-09 思科技术公司 satellite microphone assembly
US10291591B2 (en) * 2015-07-01 2019-05-14 Felicity Taiwan Corporation Anti-eavesdropping system for mobile phone communication

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62195963A (en) * 1986-02-24 1987-08-29 Fujitsu Ltd Talking state detector
CN1536912A (en) * 2003-04-06 2004-10-13 梁闽海 Method for preventing mobile communication equipment from being remote controlled and become into wiretapper and its device
CN103327173A (en) * 2013-05-17 2013-09-25 广东欧珀移动通信有限公司 Voice controlling method and device of mobile terminal
CN204316592U (en) * 2015-01-13 2015-05-06 曹海 A kind of privacy device of mobile terminal
US10291591B2 (en) * 2015-07-01 2019-05-14 Felicity Taiwan Corporation Anti-eavesdropping system for mobile phone communication
CN108781316A (en) * 2016-04-27 2018-11-09 思科技术公司 satellite microphone assembly

Also Published As

Publication number Publication date
CN111405452B (en) 2021-03-09

Similar Documents

Publication Publication Date Title
CN105049592B (en) Mobile intelligent terminal voice safety protection method and system
US8774601B2 (en) Method and apparatus for copy protection detection in a video signal
US20080127346A1 (en) System and method of detecting anomaly malicious code by using process behavior prediction technique
CN1619971A (en) System and method for detecting eavesdropping device
US7505673B2 (en) Video recorder for detection of occurrences
CN107690051A (en) One kind alarm video recording method and device
US20120062738A1 (en) Removal/abandonment determination device and removal/abandonment determination method
CN111147313B (en) Message abnormity monitoring method and device, storage medium and electronic equipment
CN111405452B (en) Method, system and device for detecting mute mode of microphone
CN116707965A (en) Threat detection method and device, storage medium and electronic equipment
KR930011708A (en) Recording device and video device using it
CN113095272B (en) Living body detection method, living body detection device, living body detection medium and computer program product
CN113839912B (en) Method, device, medium and equipment for analyzing abnormal host by active and passive combination
CN108667683B (en) Method and apparatus for monitoring data related to broadcasting and/or streaming
CN113543005B (en) Audio device detection method and system
JP6168049B2 (en) Analysis system
Nagothu et al. Detecting Malicious False Frame Injection Attacks on Video Surveillance at the Edge Using Electrical Network Frequency Signals
JPWO2013150734A1 (en) Analysis system
CN114154160B (en) Container cluster monitoring method and device, electronic equipment and storage medium
CN112929808A (en) Method, module and system for detecting whether campus broadcasting equipment can work normally
US20080022402A1 (en) Method of detecting that a unit is sending a large number of frames over a network
CN113779583B (en) Behavior detection method and device, storage medium and electronic equipment
CN113239355B (en) Big data safety protection system based on trusted computing
WO2013145531A1 (en) Analysis system
US11011150B2 (en) Electronic device and method for eliminating noises from recordings

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
GR01 Patent grant
GR01 Patent grant