CN104795076A - Audio detection method - Google Patents

Audio detection method Download PDF

Info

Publication number
CN104795076A
CN104795076A CN201410028528.XA CN201410028528A CN104795076A CN 104795076 A CN104795076 A CN 104795076A CN 201410028528 A CN201410028528 A CN 201410028528A CN 104795076 A CN104795076 A CN 104795076A
Authority
CN
China
Prior art keywords
sampling time
sampling
sampled point
reference threshold
time length
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
CN201410028528.XA
Other languages
Chinese (zh)
Other versions
CN104795076B (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.)
Ningbo Polygala cubic Energy Technology Co Ltd
Original Assignee
Red Bench 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 Red Bench Technology Co Ltd filed Critical Red Bench Technology Co Ltd
Priority to CN201410028528.XA priority Critical patent/CN104795076B/en
Publication of CN104795076A publication Critical patent/CN104795076A/en
Application granted granted Critical
Publication of CN104795076B publication Critical patent/CN104795076B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Emergency Alarm Devices (AREA)

Abstract

The invention discloses an audio detection method, which comprises the following steps: after audio monitoring is started, environmental background noise is sampled, an energy value corresponding to each sampling point is calculated, and a maximal value and a minimal value are obtained through comparing energy values corresponding to all sampling points during a sampling time of 20 to 40s; sound in a monitoring region is sampled at a sampling time interval deltat of 1/64 to 1/2s, an energy value corresponding to each sampling point is calculated, an energy value corresponding to each sampling point obtained within a sampling time length S2 is compared with an alarm reference threshold, alarm is triggered when the number of the sampling points whose energy values exceed the alarm reference threshold is larger than a value N/2, and no alarm is triggered when the number of the sampling points whose energy values exceed the alarm reference threshold is smaller than a value N/2, wherein the N is a sampling point number S2/deltat within the sampling time length S2. The method can eliminate surrounding regular noise or surrounding burst noise or interference and can detect abnormal sound.

Description

A kind of audio frequency method for detecting
Technical field
The invention belongs to surveillance equipment field, particularly a kind of audio frequency method for detecting.
Background technology
For simple video monitoring mode, poor effect under night and overcast sky, voice signal is not then by the impact of light and weather.Voice Surveillance product has acoustic pickup, player, voice mail system, sound recorded book etc., and core is acoustic pickup.For audio frequency and video integrated monitoring, video camera is eyes, and acoustic pickup is ear.But simple with sound size for whether reporting to the police according to detecting, blowing a whistle the natural phonation such as sound, a sound firecrackers sound as thunder, car also can trigger alarm, causes wrong report.Meanwhile, it can not use in a noisy environment, is very easy to fail to report and report by mistake.
Summary of the invention
In order to overcome the deficiencies in the prior art, the invention provides a kind of audio frequency method for detecting, determine whether to there is illegal invasion with audio frequency, carry out the detection of abnormal sound, the method can get rid of the noise or paroxysmal noise effect or interference that there is regularity around, can not to blow a whistle the natural sound of sound etc. and trigger alarm because of neighbouring thunder, car, more can not be ineffective near the business district of background noise complexity, be mainly used in the sound detection of safety defense monitoring system under comparatively complex environment in this way.
Technical scheme provided by the invention is:
A kind of audio frequency method for detecting, comprises the following steps:
After step one, Voice Surveillance are opened, sample with the environmental background noise of the sampling rate of 8k ~ 44.1kHz to guarded region and calculate energy value corresponding to each sampled point, sampling time length S1 is 20 ~ 40 seconds, by the energy value that all sampled points in this time period of comparison are corresponding, obtain maximal value E maxwith minimum value E min;
After step 2, the environmental background noise to guarded region described in step one carry out sampling in 20 ~ 40 seconds, then sample with the sound of sampling time interval Δ t to guarded region of 1/64 ~ 1/2 second and calculate energy value corresponding to each sampled point, sampling time length S2 is the time span that exists of abnormal sound that expectation that user sets listens to 5 ~ 60 seconds, the energy value that each sampled point obtained in sampling time length S2 is corresponding all compares with a warning reference threshold, and the computing method of described warning reference threshold are E max+ (E max-E min) * x, wherein, x is the noise sensitivity that user is arranged, if when the sampled point number being greater than described warning reference threshold exceedes numerical value N/2, then trigger alarm, if when the sampled point number being greater than described warning reference threshold is less than numerical value of N/2, then not trigger alarm, N is the sampled point number S2/ Δ t in sampling time length S2;
When the sampled point number being greater than described warning reference threshold in sampling time length S2 described in step 3, step 2 is less than numerical value of N/2, repeat the step in step 2;
Step 4, every 10-60 minute, repeat the implementation of step one, step 2 and step 3.
Preferably, described audio frequency method for detecting, in step one, sample with the environmental background noise of the sampling rate of 44.1kHz to guarded region, sampling time length S1 is 30 seconds.
Preferably, described audio frequency method for detecting, the sampling time interval Δ t described in step 2 is 1/16.
Preferably, described audio frequency method for detecting, the noise sensitivity x numerical value that the user described in step 2 is arranged is 0.1 ~ 10.0.
Preferably, described audio frequency method for detecting, after the sampled point number being greater than described warning reference threshold is greater than numerical value of N/2 trigger alarm, repeats the implementation in step one and step 2 in the length S2 of sampling time described in step 2.
Wherein, the mode of integration is used to carry out cumulatively obtaining energy value to sound wave area during the energy value that calculating sampling point is corresponding in sampling time length S1 or sampling time length S2 described in step one neutralization procedure two.
Audio frequency method for detecting of the present invention, compared with prior art, one is can run under more constant noisy environment, prevent from failing to report alert, the method can get rid of the noise that there is regularity around, the such as sound of the long time running such as air-conditioning, motor, the brouhaha near business district, Che Sheng, the sound etc. of the lathe running of the environment of plant.Two is to get rid of thunder, and car is blown a whistle the interference of the natural causes such as sound, prevents from making a false report alert.Three is the modes adopting integration, carries out the detection of abnormal sound, more reliable than the compare threshold of pure.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of audio frequency method for detecting of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further detail, can implement according to this with reference to instructions word to make those skilled in the art.
As shown in Figure 1, the invention provides a kind of audio frequency method for detecting, comprising:
After step one, Voice Surveillance are opened, with the sampling rate of 44.1kHz, the environmental background noise of sampling depth to guarded region of 8/16bit is sampled and is calculated energy value corresponding to each sampled point, sampling time length S1 is 30 seconds, the mode of integration is adopted to carry out the cumulative energy value obtaining sound to sound wave area during energy value corresponding to calculating sampling point, obtain one group of energy value like this, by the energy value in this group of comparison, obtain maximal value E maxwith minimum value E min;
After step 2, the environmental background noise to guarded region described in step one carry out sampling in 30 seconds, then sample with the sound of sampling time interval Δ t to guarded region of 1/16 second and calculate energy value corresponding to each sampled point, sampling time length S2 is the time span that exists of abnormal sound that expectation that user sets listens to 5 ~ 60 seconds, the energy value that each sampled point obtained in sampling time length S2 is corresponding all compares with a warning reference threshold, and the computing method of described warning reference threshold are E max+ (E max-E min) * x, wherein, x is the noise sensitivity that user is arranged, if when the sampled point number being greater than described warning reference threshold exceedes numerical value N/2, then trigger alarm, if when the sampled point number being greater than described warning reference threshold is less than numerical value of N/2, then not trigger alarm, N is the sampled point number S2/ Δ t in sampling time length S2;
When the sampled point number being greater than described warning reference threshold in sampling time length S2 described in step 3, step 2 is less than numerical value of N/2, repeat the step in step 2;
Step 4, E maxand E minwarning reference threshold according to the actual needs of user, can upgrade once every 10-60 minute, to adapt to the change of background noise environment, prevents failing to report and making a false report of alert, so every 10-60 minute, repeated the implementation of step one, step 2 and step 3.
Described audio frequency method for detecting, the noise sensitivity x numerical value that the user described in step 2 is arranged is 0.1 ~ 10.0.
Described audio frequency method for detecting, after the sampled point number being greater than described warning reference threshold is greater than numerical value of N/2 trigger alarm, repeats the implementation in step one and step 2 in the length S2 of sampling time described in step 2.
Although embodiment of the present invention are open as above, but it is not restricted to listed in instructions and embodiment utilization, it can be applied to various applicable the field of the invention completely, for those skilled in the art, can easily realize other amendment, therefore do not deviating under the universal that claim and equivalency range limit, the present invention is not limited to specific details and illustrates here and the legend described.

Claims (5)

1. an audio frequency method for detecting, is characterized in that, comprises the following steps:
After step one, Voice Surveillance are opened, sample with the environmental background noise of the sampling rate of 8k ~ 44.1kHz to guarded region and calculate energy value corresponding to each sampled point, sampling time length S1 is 20 ~ 40 seconds, by the energy value that all sampled points in this time period of comparison are corresponding, obtain maximal value E maxwith minimum value E min;
After step 2, the environmental background noise to guarded region described in step one carry out sampling in 20 ~ 40 seconds, then sample with the sound of sampling time interval Δ t to guarded region of 1/64 ~ 1/2 second and calculate energy value corresponding to each sampled point, sampling time length S2 is the time span that exists of abnormal sound that expectation that user sets listens to 5 ~ 60 seconds, the energy value that each sampled point obtained in sampling time length S2 is corresponding all compares with a warning reference threshold, and the computing method of described warning reference threshold are E max+ (E max-E min) * x, wherein, x is the noise sensitivity that user is arranged, if when the sampled point number being greater than described warning reference threshold exceedes numerical value N/2, then trigger alarm, if when the sampled point number being greater than described warning reference threshold is less than numerical value of N/2, then not trigger alarm, N is the sampled point number S2/ Δ t in sampling time length S2;
When the sampled point number being greater than described warning reference threshold in sampling time length S2 described in step 3, step 2 is less than numerical value of N/2, repeat the step in step 2;
Step 4, every 10-60 minute, repeat the implementation of step one, step 2 and step 3.
2. audio frequency method for detecting as claimed in claim 1, it is characterized in that, in step one, sample with the environmental background noise of the sampling rate of 44.1kHz to guarded region, sampling time length S1 is 30 seconds.
3. audio frequency method for detecting as claimed in claim 2, it is characterized in that, the sampling time interval Δ t described in step 2 is 1/16.
4. audio frequency method for detecting as claimed in claim 3, is characterized in that, the noise sensitivity x numerical value that the user described in step 2 is arranged is 0.1 ~ 10.0.
5. audio frequency method for detecting as claimed in claim 1, is characterized in that, after the sampled point number being greater than described warning reference threshold is greater than numerical value of N/2 trigger alarm, repeats the implementation in step one and step 2 in the length S2 of sampling time described in step 2.
CN201410028528.XA 2014-01-21 2014-01-21 A kind of audio method for detecting Active CN104795076B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410028528.XA CN104795076B (en) 2014-01-21 2014-01-21 A kind of audio method for detecting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410028528.XA CN104795076B (en) 2014-01-21 2014-01-21 A kind of audio method for detecting

Publications (2)

Publication Number Publication Date
CN104795076A true CN104795076A (en) 2015-07-22
CN104795076B CN104795076B (en) 2018-08-14

Family

ID=53559834

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410028528.XA Active CN104795076B (en) 2014-01-21 2014-01-21 A kind of audio method for detecting

Country Status (1)

Country Link
CN (1) CN104795076B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105261368A (en) * 2015-08-31 2016-01-20 华为技术有限公司 Voice wake-up method and apparatus
CN106448700A (en) * 2016-10-31 2017-02-22 济南中维世纪科技有限公司 High-pitched sound detection method and system
CN106531193A (en) * 2016-10-31 2017-03-22 济南中维世纪科技有限公司 Abnormal sound detection method and system of background noise adaption
CN106653045A (en) * 2015-11-02 2017-05-10 It魔力有限公司 Method and diagnostic apparatus for extracting diagnostic signal from audio signal
CN107343160A (en) * 2017-08-30 2017-11-10 无锡北斗星通信息科技有限公司 Night motorcycle caution system
CN107493376A (en) * 2017-07-05 2017-12-19 宇龙计算机通信科技(深圳)有限公司 A kind of ringing volume adjusting method and device
CN107767880A (en) * 2016-08-16 2018-03-06 杭州萤石网络有限公司 A kind of speech detection method, video camera and smart home nursing system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4101839A (en) * 1974-11-27 1978-07-18 The United States Of America As Represented By The Secretary Of The Navy Analog-digital ratio detector
GB2103406A (en) * 1981-05-28 1983-02-16 Bedford Printed Circuits Limit Improvements in or relating to microprocessor alarm systems
US20060267756A1 (en) * 2004-05-27 2006-11-30 Lawrence Kates System and method for high-sensitivity sensor
CN101930649A (en) * 2010-08-20 2010-12-29 宁波诺可电子科技发展有限公司 Method for preventing false alarm under severe weather conditions for fiber fence alarm system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4101839A (en) * 1974-11-27 1978-07-18 The United States Of America As Represented By The Secretary Of The Navy Analog-digital ratio detector
GB2103406A (en) * 1981-05-28 1983-02-16 Bedford Printed Circuits Limit Improvements in or relating to microprocessor alarm systems
US20060267756A1 (en) * 2004-05-27 2006-11-30 Lawrence Kates System and method for high-sensitivity sensor
CN101930649A (en) * 2010-08-20 2010-12-29 宁波诺可电子科技发展有限公司 Method for preventing false alarm under severe weather conditions for fiber fence alarm system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105261368A (en) * 2015-08-31 2016-01-20 华为技术有限公司 Voice wake-up method and apparatus
CN106653045A (en) * 2015-11-02 2017-05-10 It魔力有限公司 Method and diagnostic apparatus for extracting diagnostic signal from audio signal
CN107767880A (en) * 2016-08-16 2018-03-06 杭州萤石网络有限公司 A kind of speech detection method, video camera and smart home nursing system
CN106448700A (en) * 2016-10-31 2017-02-22 济南中维世纪科技有限公司 High-pitched sound detection method and system
CN106531193A (en) * 2016-10-31 2017-03-22 济南中维世纪科技有限公司 Abnormal sound detection method and system of background noise adaption
CN106448700B (en) * 2016-10-31 2019-09-17 济南中维世纪科技有限公司 A kind of piping detection method and system
CN107493376A (en) * 2017-07-05 2017-12-19 宇龙计算机通信科技(深圳)有限公司 A kind of ringing volume adjusting method and device
CN107343160A (en) * 2017-08-30 2017-11-10 无锡北斗星通信息科技有限公司 Night motorcycle caution system

Also Published As

Publication number Publication date
CN104795076B (en) 2018-08-14

Similar Documents

Publication Publication Date Title
CN104795076A (en) Audio detection method
CN107371085B (en) Safety protection method and device and intelligent sound box
CN109616140B (en) Abnormal sound analysis system
JP2011517799A (en) Illegal intrusion detection system with signal recognition
CN106027865B (en) Vehicle collision triggering alarm and recording device and detection method thereof
CN205140120U (en) Long -range monitoring and forewarning system of thing networking image conflagration
KR20200037399A (en) How to defend your voice assistant from being controlled by machine learning based silence commands
KR101384781B1 (en) Apparatus and method for detecting unusual sound
TW201333900A (en) Method of controlling a flight obstacle lighting arrangement and a wind park for carrying out such a method
US20160188284A1 (en) Noise cancellation with enhancement of danger sounds
US20170004684A1 (en) Adaptive audio-alert event notification
CN109361728B (en) Hierarchical event reporting system and method based on multi-source sensing data relevance
CN103345807B (en) A kind of safety defense monitoring system based on acceleration transducer and method
CN110800053A (en) Method and apparatus for obtaining event indications based on audio data
US11297429B2 (en) Proximity detection for wireless in-ear listening devices
CN206257454U (en) A kind of anti-climbing detection early warning system of urban duct based on optical fiber sensing technology
CN204833568U (en) Broken detection device of glass and LED lighting device
CN116207708B (en) Transformer fault defense method and device
JP3433144B2 (en) Earthquake early detection warning and control system
CN108063890A (en) A kind of monitoring device control method and device
CN106408829A (en) Internet-based remote intelligent anti-theft alarm system
CN109087666A (en) The identification device and method that prison is fought
CN108919191A (en) Library Reading management system and management method
CN104574725A (en) Signal processing alarm unit and electronic wall formed by signal processing alarm unit
CN104309578B (en) A kind of malice taps determination methods and the judgment means of vehicle glass

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20180704

Address after: 315012 room 1025, Liyuan North Road, Haishu District, Ningbo, Zhejiang, China, 755

Applicant after: Ningbo Polygala cubic Energy Technology Co Ltd

Address before: 100080 Zhichun Road, Haidian District, Haidian District, Beijing, seven layers

Applicant before: Red Bench Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 546100 standard workshop area B, Xingbin District, Laiwu second level road, Xingbin District, Laibin City, Guangxi Zhuang Autonomous Region

Patentee after: Ningbo Polygala cubic Energy Technology Co Ltd

Address before: 315012 Zhejiang Province, Ningbo city Haishu District Liyuan Road No. 755 room 1025

Patentee before: Ningbo Polygala cubic Energy Technology Co Ltd