CN101778333B - Detection method and device of microphone state - Google Patents

Detection method and device of microphone state Download PDF

Info

Publication number
CN101778333B
CN101778333B CN 201010101514 CN201010101514A CN101778333B CN 101778333 B CN101778333 B CN 101778333B CN 201010101514 CN201010101514 CN 201010101514 CN 201010101514 A CN201010101514 A CN 201010101514A CN 101778333 B CN101778333 B CN 101778333B
Authority
CN
China
Prior art keywords
state
microphone
energy
opening
duration
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.)
Active
Application number
CN 201010101514
Other languages
Chinese (zh)
Other versions
CN101778333A (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies 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 H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN 201010101514 priority Critical patent/CN101778333B/en
Publication of CN101778333A publication Critical patent/CN101778333A/en
Application granted granted Critical
Publication of CN101778333B publication Critical patent/CN101778333B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a detection method of a microphone state, which comprises the following steps: obtaining signal energy collected from a microphone channel within a specified time period; and determining the state of the microphone according to preset energy threshold values and the signal energy. In the invention, the reliability of the microphone state detection is higher, and simultaneously the occupation of hardware resource is reduced.

Description

A kind of detection method of microphone state and device
Technical field
The present invention relates to communication field, relate in particular to a kind of detection method and device of microphone state.
Background technology
In media conference, various conference model Imitating microphones all are modal audio input devices.In order to grasp the operating position of microphone, need to realize controlled as can be known to link and the use state of microphone.Whether be connected state in place by detecting microphone, the processing procedure of division effect that can be meticulousr, the resource consumption of minimizing terminal unit; Also can in conference process, better launch various meeting controls professional, allow the conference administrator under the state of closing the input of sub-venue microphone, rely on detected state to know the speech application in meeting-place, increase interaction capabilities etc.
Conference terminal equipment of the prior art generally all has the means of microphone detection in place.Concrete, can enter the state that the voltage loads that in the conference terminal device procedures hardware circuit is produced changes to detect microphone by the microphone plug, hardware circuit feeds back to driving by register flag again with testing result, report conference terminal equipment by driving, thereby realize the detection of microphone state.
In the prior art, the state that detects microphone by hardware circuit possesses higher resolution.But the problem of its existence is: when microphone had circuit switching and is in closed condition, although the voltage difference that produces in plug process variation can be by hardware detection, microphone still was in closed condition subsequently, and hardware circuit can't detect.In addition, can only detect the process of a state variation by hardware circuit, the result only has microphone two states in place or not in place, can not get the whether out of Memory such as intensity, energy size of actual available, signal of microphone.Testing result is single isolated, can not play correlation with other business and function.
Summary of the invention
The invention provides a kind of detection method and device of microphone state, be used for realizing that microphone uses accurately detecting in real time of state.
In order to achieve the above object, the invention provides a kind of detection method of microphone state, comprising:
Obtain and specify the signal energy that collects from microphone channel in the duration;
When described signal energy during less than energy value corresponding to Ripple Noise, determine that the state of described microphone is for closing;
When described signal energy is not less than energy value corresponding to Ripple Noise, and during greater than the default wind-induced energy jump peak value of insertion Mike, several specify the Energy distribution of duration continuously according to the front, determine that the state of described microphone is for opening or inserting, wherein, it is described that several specify the Energy distribution of duration continuously according to the front, determine that the state of described microphone is for opening or inserting, comprise: when the front continuously several Energy distribution of specifying durations be when evenly distributing, determine that the state of described microphone is for opening; When the front continuously several Energy distribution of specifying durations be not when evenly distributing, determine that the state of described microphone is for inserting;
When described signal energy is not less than energy value corresponding to Ripple Noise, and be not more than the wind-induced energy jump peak value of default insertion Mike, and the signal energy of the some appointment durations before the current appointment duration is greater than default when extracting the wind-induced energy jump peak value of Mike, several specify the Energy distribution of duration and current appointment duration continuously according to the front, determine that the state of described microphone is for opening or extracting, wherein, it is described that several specify the Energy distribution of duration and current appointment duration continuously according to the front, determine that the state of described microphone is for opening or extracting, comprise: when the front continuously several Energy distribution of specifying durations and current appointment duration be when evenly distributing, determine that the state of described microphone is for opening; When the front continuously several Energy distribution of specifying durations and current appointment duration be not when evenly distributing, determine that the state of described microphone is for extracting;
When described signal energy is not less than energy value corresponding to Ripple Noise, and be not more than the wind-induced energy jump peak value of default insertion Mike, and the signal energy of the some appointment durations before the current appointment duration is not more than default when extracting the wind-induced energy jump peak value of Mike, determines that the state of described microphone is for opening.
Described obtaining specified the signal energy that collects from microphone channel in the duration, comprising:
Maximum according to the absolute value of the signal energy of each sampled point in the described appointment duration is obtained described signal energy; Perhaps,
Maximum according to the quadratic sum of the signal energy of each sampled point in the described appointment duration is obtained described signal energy; Perhaps,
Subduplicate maximum according to the signal energy of each sampled point in the described appointment duration is obtained described signal energy.
The method further comprises:
The state of the microphone that a plurality of appointment durations in long according to default window are determined respectively judge default window long in the state of microphone, be specially:
The state of the microphone of determining respectively when described a plurality of appointment durations has the insertion state, determine described default window long in the state of described microphone for inserting;
The state of the microphone of determining respectively when described a plurality of appointment durations has the state of extracting, determine described default window long in the state of described microphone for extracting;
The state of the microphone of determining respectively when described a plurality of appointment durations does not insert state and extracts state, if the ratio that the state of the microphone that a plurality of appointment durations are determined respectively has an opening is during greater than default ratio, determine that the state of the long interior described microphone of described default window is for opening, otherwise, determine that the state of the long interior described microphone of described default window is for closing.
The method further comprises:
Judge whether to report request floor according to the state of described microphone and the state of the last described microphone of determining; Be specially:
For single microphone access, if the state of described microphone switches to opening from closed condition, judge to report request floor; If the state of described microphone switches to closed condition from opening, judge not report request floor;
For the access of a plurality of microphones, if the state of a microphone switches to opening and other microphones are in closed condition from closed condition, judge to report request floor; Switch to a plurality of microphones and be in opening if be in opening from a microphone, judge not report request floor; Switch to a microphone and be in opening if be in opening from a plurality of microphones, judge not report request floor; Be in closed condition if a plurality of microphones switch to whole microphones from opening, judge not report request floor.
A kind of checkout gear of microphone state comprises:
Signal gathering unit is used for obtaining the signal energy that collects from microphone channel in the appointment duration;
Status determining unit is used for determining that when described signal energy during less than energy value corresponding to Ripple Noise the state of described microphone is for closing;
When described signal energy is not less than energy value corresponding to Ripple Noise, and during greater than the default wind-induced energy jump peak value of insertion Mike, several specify the Energy distribution of duration continuously according to the front, determine that the state of described microphone is for opening or inserting, wherein, described status determining unit specifically is used for, when the front continuously several Energy distribution of specifying durations be when evenly distributing, determine that the state of described microphone is for opening; When the front continuously several Energy distribution of specifying durations be not when evenly distributing, determine that the state of described microphone is for inserting;
When described signal energy is not less than energy value corresponding to Ripple Noise, and be not more than the wind-induced energy jump peak value of default insertion Mike, and the signal energy of the some appointment durations before the current appointment duration is greater than default when extracting the wind-induced energy jump peak value of Mike, several specify the Energy distribution of duration and current appointment duration continuously according to the front, determine that the state of described microphone is for opening or extracting, wherein, described status determining unit specifically is used for, when the front continuously several Energy distribution of specifying durations and current appointment duration be when evenly distributing, determine that the state of described microphone is for opening; When the front continuously several Energy distribution of specifying durations and current appointment duration be not when evenly distributing, determine that the state of described microphone is for extracting;
When described signal energy is not less than energy value corresponding to Ripple Noise, and be not more than the wind-induced energy jump peak value of default insertion Mike, and the signal energy of the some appointment durations before the current appointment duration is not more than default when extracting the wind-induced energy jump peak value of Mike, determines that the state of described microphone is for opening.
Described signal gathering unit specifically is used for,
Maximum according to the absolute value of the signal energy of each sampled point in the described appointment duration is obtained described signal energy; Perhaps,
Maximum according to the quadratic sum of the signal energy of each sampled point in the described appointment duration is obtained described signal energy; Perhaps,
Subduplicate maximum according to the signal energy of each sampled point in the described appointment duration is obtained described signal energy.
Described device also comprises the long interior microphone state determining unit of default window, and the state of microphone is judged the state of microphone in the default window length in each appointment duration that the long interior microphone state determining unit of this default window is used for determining according to described status determining unit:
The state of the microphone of determining respectively when a plurality of appointment durations has the insertion state, determine described default window long in the state of described microphone for inserting;
The state of the microphone of determining respectively when a plurality of appointment durations has the state of extracting, determine described default window long in the state of described microphone for extracting;
The state of the microphone of determining respectively when a plurality of appointment durations does not insert state and extracts state, if the ratio that the state of the microphone that described a plurality of appointment duration is determined respectively has an opening is during greater than default ratio, determine that the state of the long interior described microphone of described default window is for opening, otherwise, determine that the state of the long interior described microphone of described default window is for closing.
Also comprise:
Processing unit is used for judging whether to report request floor according to the state of the definite microphone of the long interior microphone state determining unit of described default window and the state of the last described microphone of determining;
Described processing unit is further used for: for single microphone access, if the state of described microphone switches to opening from closed condition, judge to report request floor; If the state of described microphone switches to closed condition from opening, judge not report request floor;
For the access of a plurality of microphones, if the state of a microphone switches to opening and other microphones are in closed condition from closed condition, judge to report request floor; Switch to a plurality of microphones and be in opening if be in opening from a microphone, judge not report request floor; Switch to a microphone and be in opening if be in opening from a plurality of microphones, judge not report request floor; Be in closed condition if a plurality of microphones switch to whole microphones from opening, judge not report request floor.
Compared with prior art, the present invention has the following advantages:
Adopt the method for energy measuring to reflect that in real time state, the especially on off state of microphone detect, the reliability of detection is higher, has reduced simultaneously hardware resource and has taken.In addition, utilize the microphone energy of Real-time Collection, can real-time judge whether report request floor and conference status is assessed, for the adaptive process that echo is eliminated, the noise reduction texts is processed provides foundation.
Description of drawings
Fig. 1 is the detection method schematic diagram of a kind of microphone state of proposing of the present invention;
Fig. 2 is the detection method schematic diagram of a kind of microphone state of proposing under a kind of concrete application of the present invention;
Fig. 3 is the structure of the detecting device figure of a kind of microphone state of proposing of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The invention provides a kind of detection method of microphone state, as shown in Figure 1, comprising:
Step s101, obtain and specify the signal energy that collects from microphone channel in the duration;
Step s102, according to default energy threshold and described signal energy, determine the state of described microphone.Wherein, this default energy threshold comprises energy value corresponding to Ripple Noise, inserts the wind-induced energy jump peak value of Mike and extracts the wind-induced energy jump peak value of Mike etc.
Concrete, (1) determines that when described signal energy during less than energy value corresponding to Ripple Noise the state of described microphone is for closing; (2) be not less than energy value corresponding to Ripple Noise when described signal energy, and during greater than the default wind-induced energy jump peak value of insertion Mike, several specify the Energy distribution of duration continuously according to the front, determine that the state of described microphone is for opening or inserting; (3) be not less than energy value corresponding to Ripple Noise when described signal energy, and be not more than the wind-induced energy jump peak value of default insertion Mike, and the signal energy of the some appointment durations before the current appointment duration is greater than default when extracting the wind-induced energy jump peak value of Mike, several specify the Energy distribution of duration and current appointment duration continuously according to the front, determine that the state of described microphone is for opening or extracting; (4) be not less than energy value corresponding to Ripple Noise when described signal energy, and be not more than the wind-induced energy jump peak value of default insertion Mike, and the signal energy of the some appointment durations before the current appointment duration is not more than default when extracting the wind-induced energy jump peak value of Mike, determines that the state of described microphone is for opening.
Below in conjunction with concrete execution mode, the detection method of the microphone state that provides among the present invention is described in detail.Wherein, this determine microphone state flow process as shown in Figure 2, may further comprise the steps:
Step s201, obtain the energy of specifying in the duration t.Wherein, this appointment duration t can be considered an instantaneous time span, can select according to actual needs size, for example, can will specify duration t to be chosen as 10ms, the signal unit of this appointment duration also can be called frame, obtains the energy of specifying the interior sampled point energy of duration t to be all sampled points that obtain a frame signal.For convenience of description, in subsequent process, this appointment duration t all describes as an example of frame example.
Concrete, take the device that carries out signals collecting as DSP (Digital Signal Processing, digital signal processor) be that example is (for other signal pickup assembly, processing procedure is identical with the processing procedure of DSP, repeat no more among the present invention), the duration of each sampled signal is a frame, and the energy of all sampled points that collect in the frame time is as the reference energy in this frame.
According to the energy CurrentPow in the energy acquisition present frame of each sampled point; Concrete acquisition methods includes but not limited to: the subduplicate maximum of the maximum of the quadratic sum of the maximum of the absolute value of the energy by each sampled point or the energy of each sampled point or the energy of each sampled point obtains the energy CurrentPow in the present frame.
Step s202, whether judge CurrentPow less than RipVal, be then to carry out step s203, otherwise carry out step s204.
Wherein, RipVal is the default energy value corresponding with Ripple Noise, can or measure the output voltage amplitude conversion by direct measurement Ripple Noise and obtain.Ripple Noise refers in the situation that the noise signal that measures in input channel without input signal.
Step s203, Pow[index is set] be off, carry out step s212.
Wherein, Pow[index] state of the microphone that gets access to for the index time of expression, as CurrentPow during less than Ripple Noise value RipVal, the state of judgement microphone is off (closing).
Step s204, whether judge CurrentPow greater than InMicVal, be then to carry out step s205, otherwise carry out step s208.
Wherein, InMicVal is the default wind-induced energy jump peak value of insertion Mike.
Step s205, judge microphone state according to front four frame energy, when judged result is carried out step s206 when opening, when judged result is carried out step s207 when inserting.
Wherein, according to the distribution consistency degree of front four frame energy, can judge that microphone is in opening or is in because microphone inserts the insertion state of mutagenesis, and store the state of correspondence into Pow[index according to judged result] in.
Concrete, front four frames are respectively Last4Pow (being the fourth from the last frame of present frame), Last3Pow, Last2Pow and Last1Pow.If the energy of above-mentioned four frames is equally distributed, illustrate that then microphone is to be in opening, and if above-mentioned four frames are not equally distributed, illustrate that then microphone is the insertion state that inserts mutagenesis.For example, the energy of Last4Pow is less than 2 times CurrentPow, be that the energy of Last4Pow is near the energy of off state, the energy of Last3Pow is less than 1/32nd InMicVal, the energy of Last2Pow is less than 1/8th InMicVal, the energy of Last1Pow illustrates then that less than 1/2nd InMicVal energy is equally distributed, and microphone is to be in opening.
Need to prove, be not limited among the present invention according to front four frame energy and judge microphone state, in the practical application, can be according to actual needs arbitrarily the former frames of selective basis (three frames, five frames etc.) energy judge microphone state, among the present invention to judge that according to front four frame energy microphone state describes as example.
Step s206, Pow[index is set] be on, carry out step s212.
Step s207, Pow[index is set] be input, carry out step s212.
Step s208, whether judge Last4Pow greater than OutMicVal, be then to carry out step s209, otherwise carry out step s211.
Wherein, OutMicVal is the default wind-induced energy jump peak value of Mike of extracting.Last4Pow is the before energy of the 4th frame of present frame.Only describe as an example of Last4Pow example herein, certainly, in actual applications, can also adopt that energy and the OutMicVal of other frames compares before the present frame, and process according to comparative result.
Step s209, judge microphone state according to front four frames and present frame energy, when judged result is carried out step s210 when extracting, when judged result is carried out step s211 during for unlatching.
Wherein, according to the 4th frame before the present frame to the present frame distribution consistency degree of totally five frame energy, can judge that microphone is in opening or is in because microphone is extracted the state of extracting of mutagenesis, and store the state of correspondence into Pow[index according to judged result] in.
With judging opening according to the distribution consistency degree of front four frame energy among the step s205 and insert like the state class be, in this step, can judge that according to the distribution consistency degree of front four frames and present frame energy microphone is in opening or is in the state of extracting of extracting mutagenesis owing to microphone.Wherein, if the energy of front four frames and present frame is equally distributed, illustrate that then microphone is to be in opening, and if the energy of above-mentioned four frames and present frame is not equally distributed, illustrate that then microphone is because microphone is extracted the state of extracting of mutagenesis.
Certainly, in actual applications, can also be according to other frames before the present frame to present frame (for example, the 3rd frame is to present frame totally four frames before the present frame) the distribution consistency degree of energy judge that microphone is in opening or is in the state of extracting mutagenesis owing to microphone, repeats no more among the present invention.
Step s210, Pow[index is set] be output, carry out step s212.
Step s211, Pow[index is set] be on, carry out step s212.
Step s212, obtain the state of microphone.
Concrete, the mode of obtaining the state of microphone includes but not limited to: directly according to default energy threshold (for example, RipVal, InMicVal and OutMicVal etc.) and frame in signal energy (for example, CurrentPow) determine the state of microphone, for example, when CurrentPow was less than RipVal in step 202, the state of microphone was set to off, and the state that namely obtains microphone is off.
Be understandable that, because the signal energy in the frame is the instantaneous signal energy that collects, therefore the state according to the determined microphone of signal energy in the frame may be inaccurate, and in order to improve the accuracy of detection, in the present invention, can realize by the long mode of window is set the testing process of microphone state.
The state of microphone was decided by the state of the microphone of determining in the long interior a plurality of appointment durations of this window in a window was long.Each specifies the state Pow[index of the determined microphone of duration] represent.Take the initial value of index as 0 and at every turn cumulative 1, the long N=10 of window as example, then need to obtain Pow[0], Pow[1], Pow[2], Pow[3], Pow[4], Pow[5], Pow[6], Pow[7], Pow[8], Pow[9] after, comprehensively the state of microphone is judged, thereby improved the accuracy that microphone state detects.Concrete Rule of judgment is:
Pow[index in window] in microphone state have the insertion state, then determine this window long in the state of this microphone be the insertion state;
Pow[index in window] in microphone state have the state of extracting, then determine this window long in the state of this microphone be set to and extract;
It should be noted that the technical scheme that the application of the invention provides, all Pow[index in window is long] in, insertion state and extract state and can not occur simultaneously, and if the insertion state with extract state at Pow[index] in when all not occurring,
Whether then need further to judge in the window has greater than a certain proportion of Pow[index] state be opening (wherein, this ratio can be selected according to actual needs, such as, greater than 80%Pow[index] state is opening), be set to unlatching if sometimes, then determine the state of long interior this microphone of this window; Otherwise, determine this window long in the state of this microphone be set to and close.
In addition, after the state of microphone is determined to finish, also need to upgrade the Pow[index in the window].For example, can according to default renewal step-length M (M is not more than N), upgrade a time M the earliest Pow[index in the window].After flow process in again get access to M Pow[index] time, then window is namely full, triggers the acquisition process of microphone state.By the value of M is set, can when judging, the state of microphone obtain better continuity.
Among the present invention, when the state of microphone obtain finish after, can also judge whether to report request floor according to the state of microphone and the state of the last microphone of determining, concrete Rule of judgment includes but not limited to:
Situation for single microphone access:
(1) switches to opening if judge single microphone from closed condition, then report request floor;
(2) switch to closed condition if judge single microphone from opening, then do not report request floor;
And in actual applications, can there be the situation of a plurality of microphone accesses in each meeting-place, and whether situation about accessing for a plurality of microphones among the present invention reports the Rule of judgment of request floor also to comprise:
(3), when the access of a plurality of microphones, open and other microphones are in closed condition from being closed to if judge single microphone, then report request floor;
(4), when the access of a plurality of microphones, be in opening from a microphone and switch to a plurality of microphones and be in opening if judge, then do not report request floor;
(5), when the access of a plurality of microphones, switch to a microphone and be in opening from being in opening if judge a plurality of microphones, then do not report request floor;
(6), when the access of a plurality of microphones, switch to whole microphones from opening and be in closed condition if judge a plurality of microphones, then do not report request floor;
Be understandable that, report in the process of request floor judging whether, if when certain microphone interface is not chosen, no matter microphone is in opening or closed condition, and then the result of energy measuring is invalid, does not also report request floor even state changes.
Among the present invention, can carry out request floor according to the state of microphone, send the command information of request floor to server or network equipment; By in command information, carrying parameter, announcement server or the network equipment request floors such as meeting-place name, meeting-place address information, request floor sign.After server or network equipment receive command information, by interface prompt administrative staff meeting-place request floor.Administrative staff determine whether to grant an application according to the actual process of meeting and parameter preset, and carry out the microphone in this meeting-place is controlled.
The method that the application of the invention provides adopts the method for energy measuring to reflect that in real time state, the especially on off state of microphone detect, and detecting reliability is higher, has reduced simultaneously hardware resource and has taken.In addition, obtain the state of microphone and trigger reporting of request floor according to default condition by energy measuring, can help the keeper in conference process, to hold the information in microphone meeting-place, strengthen sub-venue and main meeting-place in the interaction of significant instant, the meeting quality is got a promotion.At last, can also utilize the microphone energy of Real-time Collection, the assessment conference status is for the adaptive process that echo is eliminated, the noise reduction texts is processed provides foundation.
The present invention also provides a kind of checkout gear of microphone state, as shown in Figure 3, comprising:
Signal gathering unit 10 is used for obtaining the signal energy that collects from microphone channel in the appointment duration.
Concrete, described signal gathering unit 10 specifically is used for, and obtains described signal energy according to the maximum of the absolute value of the signal energy of each sampled point in the described appointment duration; Perhaps, obtain described signal energy according to the maximum of the quadratic sum of the signal energy of each sampled point in the described appointment duration; Perhaps, obtain described signal energy according to the subduplicate maximum of the signal energy of each sampled point in the described appointment duration.
Status determining unit 20 is used for determining that when described signal energy during less than energy value corresponding to Ripple Noise the state of described microphone is for closing; When described signal energy is not less than energy value corresponding to Ripple Noise, and during greater than the default wind-induced energy jump peak value of insertion Mike, several specify the Energy distribution of durations continuously according to the front, determine that the state of described microphone is for opening or inserting; When described signal energy is not less than energy value corresponding to Ripple Noise, and be not more than the wind-induced energy jump peak value of default insertion Mike, and the signal energy of the some appointment durations before the current appointment duration is greater than default when extracting the wind-induced energy jump peak value of Mike, several specify the Energy distribution of duration and current appointment duration continuously according to the front, determine that the state of described microphone is for opening or extracting; When described signal energy is not less than energy value corresponding to Ripple Noise, and be not more than the wind-induced energy jump peak value of default insertion Mike, and the signal energy of the some appointment durations before the current appointment duration is not more than default when extracting the wind-induced energy jump peak value of Mike, determines that the state of described microphone is for opening.
It should be noted that, specifying the Energy distribution of durations according to continuous several in front, when the state of determining described microphone is unlatching or insertion, described status determining unit 20 specifically is used for, when the front continuously several Energy distribution of specifying durations be when evenly distributing, determine that the state of described microphone is for opening; When the front continuously several Energy distribution of specifying durations be not when evenly distributing, determine that the state of described microphone is for inserting;
Specifying the Energy distribution of durations and current appointment duration according to continuous several in front, the state of determining described microphone is when opening or extracting, described status determining unit 20 specifically is used for, when the front continuously several Energy distribution of specifying durations and current appointment duration be when evenly distributing, determine that the state of described microphone is for opening; When the front continuously several Energy distribution of specifying durations and current appointment duration be not when evenly distributing, determine that the state of described microphone is for extracting.
In the device provided by the invention, also comprise:
Microphone state determining unit 30 in default window is long, specify the state of microphone in the duration to judge the state of the long interior microphone of default window for each that determine according to described status determining unit 20: further,
The state of the microphone of determining respectively when a plurality of appointment durations has the insertion state, determine described default window long in the state of described microphone for inserting; The state of the microphone of determining respectively when a plurality of appointment durations has the state of extracting, determine described default window long in the state of described microphone for extracting; The state of the microphone of determining respectively when a plurality of appointment durations does not insert state and extracts state, if the ratio that the state of the microphone that a plurality of appointment durations are determined respectively has an opening is during greater than default ratio, determine that the state of the long interior described microphone of described default window is for opening, otherwise, determine that the state of the long interior described microphone of described default window is for closing.
In the checkout gear of microphone state provided by the invention, also comprise:
Processing unit 40, be used for long according to described default window in the state of the microphone determined of microphone state determining unit 30 and the state of the last described microphone of determining judge whether to report request floor;
Further, described processing unit 40 specifically is used for:
For single microphone access, if the state of described microphone switches to opening from closed condition, judge to report request floor; If the state of described microphone switches to closed condition from opening, judge not report request floor;
For the access of a plurality of microphones, if the state of a microphone switches to opening and other microphones are in closed condition from closed condition, judge to report request floor; Switch to a plurality of microphones and be in opening if be in opening from a microphone, judge not report request floor; Switch to a microphone and be in opening if be in opening from a plurality of microphones, judge not report request floor; Be in closed condition if a plurality of microphones switch to whole microphones from opening, judge not report request floor.
The device that the application of the invention provides adopts the method for energy measuring to reflect that in real time state, the especially on off state of microphone detect, and detecting reliability is higher, has reduced simultaneously hardware resource and has taken.In addition, obtain the state of microphone and trigger reporting of request floor according to default condition by energy measuring, can help the keeper in conference process, to hold the information in microphone meeting-place, strengthen sub-venue and main meeting-place in the interaction of significant instant, the meeting quality is got a promotion.At last, can also utilize the microphone energy of Real-time Collection, the assessment conference status is for the adaptive process that echo is eliminated, the noise reduction texts is processed provides foundation.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the unit in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the unit in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from the present embodiment.A unit can be merged in the unit of above-described embodiment, also can further split into a plurality of subelements.
The invention described above embodiment sequence number does not represent the quality of embodiment just to description.

Claims (8)

1. the detection method of a microphone state is characterized in that, comprising:
Obtain and specify the signal energy that collects from microphone channel in the duration;
When described signal energy during less than energy value corresponding to Ripple Noise, determine that the state of described microphone is for closing;
When described signal energy is not less than energy value corresponding to Ripple Noise, and during greater than the default wind-induced energy jump peak value of insertion Mike, several specify the Energy distribution of duration continuously according to the front, determine that the state of described microphone is for opening or inserting, wherein, it is described that several specify the Energy distribution of duration continuously according to the front, determine that the state of described microphone is for opening or inserting, comprise: when the front continuously several Energy distribution of specifying durations be when evenly distributing, determine that the state of described microphone is for opening; When the front continuously several Energy distribution of specifying durations be not when evenly distributing, determine that the state of described microphone is for inserting;
When described signal energy is not less than energy value corresponding to Ripple Noise, and be not more than the wind-induced energy jump peak value of default insertion Mike, and the signal energy of the some appointment durations before the current appointment duration is greater than default when extracting the wind-induced energy jump peak value of Mike, several specify the Energy distribution of duration and current appointment duration continuously according to the front, determine that the state of described microphone is for opening or extracting, wherein, it is described that several specify the Energy distribution of duration and current appointment duration continuously according to the front, determine that the state of described microphone is for opening or extracting, comprise: when the front continuously several Energy distribution of specifying durations and current appointment duration be when evenly distributing, determine that the state of described microphone is for opening; When the front continuously several Energy distribution of specifying durations and current appointment duration be not when evenly distributing, determine that the state of described microphone is for extracting;
When described signal energy is not less than energy value corresponding to Ripple Noise, and be not more than the wind-induced energy jump peak value of default insertion Mike, and the signal energy of the some appointment durations before the current appointment duration is not more than default when extracting the wind-induced energy jump peak value of Mike, determines that the state of described microphone is for opening.
2. the method for claim 1 is characterized in that, described obtaining specified the signal energy that collects from microphone channel in the duration, comprising:
Maximum according to the absolute value of the signal energy of each sampled point in the described appointment duration is obtained described signal energy; Perhaps,
Maximum according to the quadratic sum of the signal energy of each sampled point in the described appointment duration is obtained described signal energy; Perhaps,
Subduplicate maximum according to the signal energy of each sampled point in the described appointment duration is obtained described signal energy.
3. the method for claim 1 is characterized in that, the method further comprises:
The state of the microphone that a plurality of appointment durations in long according to default window are determined respectively judge default window long in the state of microphone, be specially:
The state of the microphone of determining respectively when described a plurality of appointment durations has the insertion state, determine described default window long in the state of described microphone for inserting;
The state of the microphone of determining respectively when described a plurality of appointment durations has the state of extracting, determine described default window long in the state of described microphone for extracting;
The state of the microphone of determining respectively when described a plurality of appointment durations does not insert state and extracts state, if the ratio that the state of the microphone that a plurality of appointment durations are determined respectively has an opening is during greater than default ratio, determine that the state of the long interior described microphone of described default window is for opening, otherwise, determine that the state of the long interior described microphone of described default window is for closing.
4. such as each described method in the claims 1 to 3, it is characterized in that, the method further comprises:
Judge whether to report request floor according to the state of described microphone and the state of the last described microphone of determining; Be specially:
For single microphone access, if the state of described microphone switches to opening from closed condition, judge to report request floor; If the state of described microphone switches to closed condition from opening, judge not report request floor;
For the access of a plurality of microphones, if the state of a microphone switches to opening and other microphones are in closed condition from closed condition, judge to report request floor; Switch to a plurality of microphones and be in opening if be in opening from a microphone, judge not report request floor; Switch to a microphone and be in opening if be in opening from a plurality of microphones, judge not report request floor; Be in closed condition if a plurality of microphones switch to whole microphones from opening, judge not report request floor.
5. the checkout gear of a microphone state is characterized in that, comprising:
Signal gathering unit is used for obtaining the signal energy that collects from microphone channel in the appointment duration;
Status determining unit is used for determining that when described signal energy during less than energy value corresponding to Ripple Noise the state of described microphone is for closing;
When described signal energy is not less than energy value corresponding to Ripple Noise, and during greater than the default wind-induced energy jump peak value of insertion Mike, several specify the Energy distribution of duration continuously according to the front, determine that the state of described microphone is for opening or inserting, wherein, described status determining unit specifically is used for, when the front continuously several Energy distribution of specifying durations be when evenly distributing, determine that the state of described microphone is for opening; When the front continuously several Energy distribution of specifying durations be not when evenly distributing, determine that the state of described microphone is for inserting;
When described signal energy is not less than energy value corresponding to Ripple Noise, and be not more than the wind-induced energy jump peak value of default insertion Mike, and the signal energy of the some appointment durations before the current appointment duration is greater than default when extracting the wind-induced energy jump peak value of Mike, several specify the Energy distribution of duration and current appointment duration continuously according to the front, determine that the state of described microphone is for opening or extracting, wherein, described status determining unit specifically is used for, when the front continuously several Energy distribution of specifying durations and current appointment duration be when evenly distributing, determine that the state of described microphone is for opening; When the front continuously several Energy distribution of specifying durations and current appointment duration be not when evenly distributing, determine that the state of described microphone is for extracting;
When described signal energy is not less than energy value corresponding to Ripple Noise, and be not more than the wind-induced energy jump peak value of default insertion Mike, and the signal energy of the some appointment durations before the current appointment duration is not more than default when extracting the wind-induced energy jump peak value of Mike, determines that the state of described microphone is for opening.
6. device as claimed in claim 5 is characterized in that, described signal gathering unit specifically is used for,
Maximum according to the absolute value of the signal energy of each sampled point in the described appointment duration is obtained described signal energy; Perhaps,
Maximum according to the quadratic sum of the signal energy of each sampled point in the described appointment duration is obtained described signal energy; Perhaps,
Subduplicate maximum according to the signal energy of each sampled point in the described appointment duration is obtained described signal energy.
7. device as claimed in claim 5 is characterized in that, described device also comprises:
Microphone state determining unit in default window is long, specify the state of microphone in the duration to judge the state of the long interior microphone of default window for each that determine according to described status determining unit:
The state of the microphone of determining respectively when a plurality of appointment durations has the insertion state, determine described default window long in the state of described microphone for inserting;
The state of the microphone of determining respectively when a plurality of appointment durations has the state of extracting, determine described default window long in the state of described microphone for extracting;
The state of the microphone of determining respectively when a plurality of appointment durations does not insert state and extracts state, if the ratio that the state of the microphone that described a plurality of appointment duration is determined respectively has an opening is during greater than default ratio, determine that the state of the long interior described microphone of described default window is for opening, otherwise, determine that the state of the long interior described microphone of described default window is for closing.
8. device as claimed in claim 7 is characterized in that, also comprises:
Processing unit is used for judging whether to report request floor according to the state of the definite microphone of the long interior microphone state determining unit of described default window and the state of the last described microphone of determining;
Described processing unit is further used for: for single microphone access, if the state of described microphone switches to opening from closed condition, judge to report request floor; If the state of described microphone switches to closed condition from opening, judge not report request floor;
For the access of a plurality of microphones, if the state of a microphone switches to opening and other microphones are in closed condition from closed condition, judge to report request floor; Switch to a plurality of microphones and be in opening if be in opening from a microphone, judge not report request floor; Switch to a microphone and be in opening if be in opening from a plurality of microphones, judge not report request floor; Be in closed condition if a plurality of microphones switch to whole microphones from opening, judge not report request floor.
CN 201010101514 2010-01-27 2010-01-27 Detection method and device of microphone state Active CN101778333B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010101514 CN101778333B (en) 2010-01-27 2010-01-27 Detection method and device of microphone state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010101514 CN101778333B (en) 2010-01-27 2010-01-27 Detection method and device of microphone state

Publications (2)

Publication Number Publication Date
CN101778333A CN101778333A (en) 2010-07-14
CN101778333B true CN101778333B (en) 2013-01-16

Family

ID=42514621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010101514 Active CN101778333B (en) 2010-01-27 2010-01-27 Detection method and device of microphone state

Country Status (1)

Country Link
CN (1) CN101778333B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI618390B (en) * 2016-01-27 2018-03-11 環旭電子股份有限公司 Gapless recording method on android system

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102300140B (en) 2011-08-10 2013-12-18 歌尔声学股份有限公司 Speech enhancing method and device of communication earphone and noise reduction communication earphone
CN102739783B (en) * 2012-06-14 2016-08-03 北京真视通科技股份有限公司 The method that conferencing information merges automatically
US8934622B2 (en) * 2012-10-01 2015-01-13 Via Telecom Co., Ltd. Method for detecting double-talk condition and system using the same
CN105142090B (en) * 2015-08-24 2018-04-13 歌尔股份有限公司 Determine the method and system of the ripple factor of background noise test power supply
CN108243369A (en) * 2016-12-27 2018-07-03 杭州海康威视数字技术股份有限公司 A kind of control method of vehicle-mounted voice band device, apparatus and system
CN106921878A (en) * 2017-03-01 2017-07-04 珠海迈科智能科技股份有限公司 The data processing method and device of Set Top Box
CN110677780B (en) * 2019-09-26 2021-12-14 北京小米移动软件有限公司 Detection method and device of audio input module and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0439309A2 (en) * 1990-01-22 1991-07-31 Seiko Epson Corporation Apparatus for reproducing and amplifying sound
CN1114122A (en) * 1993-08-27 1995-12-27 莫托罗拉公司 A voice activity detector for an echo suppressor and an echo suppressor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0439309A2 (en) * 1990-01-22 1991-07-31 Seiko Epson Corporation Apparatus for reproducing and amplifying sound
CN1114122A (en) * 1993-08-27 1995-12-27 莫托罗拉公司 A voice activity detector for an echo suppressor and an echo suppressor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI618390B (en) * 2016-01-27 2018-03-11 環旭電子股份有限公司 Gapless recording method on android system

Also Published As

Publication number Publication date
CN101778333A (en) 2010-07-14

Similar Documents

Publication Publication Date Title
CN101778333B (en) Detection method and device of microphone state
CN107919130B (en) Cloud-based voice processing method and device
AU2016260156B2 (en) Method and device for improving audio processing performance
Rossi et al. AmbientSense: A real-time ambient sound recognition system for smartphones
JP2009518662A (en) Determining audio device quality
CN109547910B (en) Electronic equipment acoustic assembly performance testing method, device, equipment and storage medium
CN106951209A (en) A kind of control method, device and electronic equipment
CN105118522A (en) Noise detection method and device
CN110265064A (en) Audio sonic boom detection method, device and storage medium
EP3147903B1 (en) Voice processing apparatus, voice processing method, and non-transitory computer-readable storage medium
CN105611491B (en) A kind of Bluetooth connecting method and device
JP2015537237A (en) Real-time traffic detection
CN108702568B (en) Method and equipment for testing time delay of audio loop
CN102520269A (en) Data collecting and analyzing device for energy storage system and collecting and analyzing method thereof
CN103107902A (en) Attack detection system based on decision-making tree
CN110335593A (en) Sound end detecting method, device, equipment and storage medium
WO2016060620A1 (en) Frame based spike detection module
CN109116196A (en) A kind of power cable fault discharging sound intelligent identification Method
CN109561222A (en) A kind of method for detecting abnormality and device of voice data
CN104783928B (en) A kind of assessment system testing cochlear implant speech strategy performance
CN109142966A (en) Fault distance-finding method, device, equipment and medium based on route measured data
CN106297795B (en) Audio recognition method and device
CN107403629B (en) Far-field pickup performance evaluation method and system, and electronic device
CN110096612A (en) The acquisition methods and system of the online audio analysis data of voice log
CN108802586A (en) A kind of recognition methods for transmission line of electricity corona discharge and paradoxical discharge

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address