Wireless voiceprint alarm system and method
Through the wireless voiceprint alarm system, multi-frame-long feature matching and LoRa network, the identification and transmission problems of existing security monitoring systems in insufficient light and remote monitoring are solved, real-time and accurate voiceprint recognition and alarm are achieved, and real-time and accurate voiceprint recognition and alarm are improved. The response speed and accuracy of security monitoring are achieved.
Patent Information
- Application Number
- CN202411044447.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-11-01
AI Technical Summary
The existing security monitoring system relies on visual equipment and cannot effectively capture critical events when there is insufficient light or obstructed vision. The voiceprint recognition system is independent and lacks remote communication capabilities, resulting in false alarms, missed alarms and response delays.
Design a wireless voiceprint alarm system, including data acquisition module, feature storage module, front-end processing module, identification module, alarm module and information transmission module, collect sound signals through microphone array, use energy threshold and voice activity detection algorithm to process, extract Multi-frame-long features are matched and supports LoRa network to transmit alarm information from a long distance.
Real-time voiceprint recognition and accurate alarms are realized, the system response speed and recognition accuracy are improved, long-distance information transmission is supported, and potential threats can be effectively identified and responded to inadequate light or wide areas.
Smart Images

Figure CN118887973A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of sensor technology, and in particular to a wireless voiceprint alarm system and method. Background Art
[0002] In existing security monitoring systems, traditional security measures usually rely on visual monitoring devices, such as cameras, which can provide rich scene information but have some limitations. For example, in low light or obstructed vision, visual monitoring may not be able to effectively capture key events. In addition, visual monitoring may not be able to distinguish between different types of events, such as the difference between glass breaking and normal environmental sounds, which may lead to false alarms or missed alarms.
[0003] With the development of technology, voiceprint recognition technology has begun to be applied in the security field. It identifies and classifies sound events by analyzing specific features in sound signals. However, most existing voiceprint recognition systems are independent and may require manual intervention to process the recognition results, which limits the system's degree of automation and response speed.
[0004] In addition, existing voiceprint recognition systems may lack effective long-distance communication capabilities, resulting in limited transmission of alarm information in wide areas or remote monitoring points, which may cause serious problems in security scenarios that require rapid response. Summary of the invention
[0005] The purpose of the present invention is to solve the technical problems in the above background, and proposes 1. A wireless voiceprint alarm system, which is characterized by: comprising a data acquisition module, a feature storage module, a front-end processing module, an identification module, an alarm module and an information transmission module; The data acquisition module collects sound data in the environment through sensors; The feature storage module is used to store specific voiceprint feature waveforms; The front-end processing module is used to collect and analyze environmental sounds in real time and match them with the stored feature library; The recognition module is used to compare the results output by the front-end processing module to identify whether there is a matching voiceprint feature; The alarm module is used to trigger an alarm message when the recognition module determines that there is a matching voiceprint feature; The information transmission module is used to transmit the alarm information to the designated receiving end through a wired or wireless network.
[0006] In a preferred solution, the feature library storage module uses a memory such as EEPROM or flash memory to pre-store common voiceprint feature waveforms.
[0007] In a preferred solution, the front-end processing module includes a microphone array, a signal amplifier, an analog-to-digital converter and a digital signal processor, which are used to collect and process environmental sound signals.
[0008] In a preferred solution, the recognition module uses an embedded processor or a dedicated voiceprint recognition chip to perform matching calculations of voiceprint features.
[0009] In the preferred solution, the information transmission module uses the LoRa network to transmit alarm information over long distances.
[0010] In a preferred solution, the alarm module uses a single-chip microcomputer or an embedded controller to generate and manage alarm information.
[0011] In the preferred solution, the microphone array is used to collect environmental sound data; the signal amplifier is used to amplify the collected sound signal; the analog-to-digital converter converts the analog sound signal into a digital signal; the digital signal processor analyzes and extracts features from the digital signal; and the recognition module matches the voiceprint features output by the front-end processing module with the waveform in the feature library.
[0012] The present invention also provides a wireless voiceprint alarm method, comprising the following steps: S1, collecting sound signals through a microphone array; S2, performing analog-to-digital conversion (ADC) and sampling on the collected analog sound signal; S3. Use energy threshold or voice activity detection (VAD) algorithm to remove silent parts and retain valid speech frames.
[0013] S4, by sliding the window on the signal, the sound signal is divided into two frame lengths X1 and X2, the size of the window corresponds to the frame length, X1 is 20-30ms, X2 is 40-60ms; S5, extracting features with higher time resolution from X1, including energy, zero-crossing rate and short-time Fourier transform (STFT); S6. Extract features with higher frequency resolution from X2, including Mel-frequency cepstral coefficients (MFCCs) and spectral features.
[0014] S7, converting the extracted features into vector form, and normalizing the feature vector to eliminate the differences in dimension and magnitude; S8, comparing and matching the feature vector with the voiceprint database; S9. When the match is successful, the alarm module generates an alarm message; S10. The information transmission module transmits the alarm information to a designated receiving end via a wired or wireless network.
[0015] In a preferred solution, X1 is used to capture fast-changing signals, including burst noise or non-periodic speech parts; X2 is used to analyze the frequency characteristics of periodic speech signals.
[0016] In a preferred solution, according to the Nyquist theorem, the sampling rate in step S2 is at least twice the highest frequency of the signal; In S4, the boundary effect of each frame is reduced by using a Hamming window; In a preferred solution, when dividing the signal in S4, the frame shift is smaller than the frame length; In a preferred solution, the alarm information in S10 includes a timestamp and the location of the sound source.
[0017] The beneficial effects of the present invention are as follows: the present invention can detect and identify specific voiceprint features through voiceprint recognition technology; the front-end processing module can collect and analyze environmental sounds in real time, ensuring the response speed and real-time performance of the system; the recognition module can match the collected sound signal with the pre-stored voiceprint feature waveform, thereby improving the accuracy of recognition. When a matching voiceprint feature is detected, the alarm module can trigger the alarm information in a timely manner, which helps to respond to potential security threats or important events in a timely manner; the information transmission module supports wired or wireless long-distance transmission of alarm information. Combining the features extracted from short frames and long frames provides a more comprehensive voiceprint representation, and the multi-frame length strategy can capture the subtle differences in sound signals, which helps to more accurately identify and distinguish different voiceprint features, and helps to improve the recognition accuracy. The multi-frame length strategy is equivalent to a multi-scale analysis of the sound signal, which helps to understand the characteristics of the signal from different scales. Through the analysis of different frame lengths, the system can better resist the influence of factors such as environmental noise and changes in sound quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a flow chart of a wireless voiceprint alarm method in the present invention. DETAILED DESCRIPTION
[0019] Example 1 A wireless voiceprint alarm system is proposed, which includes a data acquisition module, a feature storage module, a front-end processing module, a recognition module, an alarm module and an information transmission module; The data acquisition module collects sound data in the environment through sensors; The feature storage module is used to store specific voiceprint feature waveforms; The front-end processing module is used to collect and analyze environmental sounds in real time and match them with the stored feature library; The recognition module is used to compare the results output by the front-end processing module to identify whether there is a matching voiceprint feature; The alarm module is used to trigger an alarm message when the recognition module determines that there is a matching voiceprint feature; The information transmission module is used to transmit the alarm information to the designated receiving end through a wired or wireless network (such as a LoRa network).
[0020] The feature library storage module uses a memory such as EEPROM or flash memory to pre-store common voiceprint feature waveforms.
[0021] The front-end processing module includes a microphone array, a signal amplifier, an analog-to-digital converter, and a digital signal processor (DSP), which are used to collect and process ambient sound signals.
[0022] The recognition module uses an embedded processor or a dedicated voiceprint recognition chip to perform matching calculations of voiceprint features.
[0023] The information transmission module uses the LoRa network to transmit alarm information over long distances.
[0024] The alarm module uses a single-chip microcomputer or an embedded controller to generate and manage alarm information.
[0025] The microphone array is used to collect environmental sound data; the signal amplifier is used to amplify the collected sound signal; the analog-to-digital converter (ADC) converts the analog sound signal into a digital signal; the digital signal processor (DSP) analyzes and extracts features from the digital signal; the recognition module matches the voiceprint features output by the front-end processing module with the waveform in the feature library.
[0026] Also includes a power module and a comparator; The comparator is used to compare the collected sound features with the stored voiceprint model features to determine whether they match; The power module is used to provide the power required by the system.
[0027] Example 2 A wireless voiceprint alarm method comprises the following steps: S1, real-time acquisition of sound data in the environment in the data acquisition module; S2, the front-end processing module analyzes the collected data and extracts voiceprint features; S3, analyzing the voiceprint features in the feature storage module, developing a preliminary comparison model, and performing preliminary screening of the voiceprint features obtained in step S2; S4, the recognition module matches the initially screened voiceprint features with the waveform in the feature storage module; S5. When the match is successful, the alarm module generates an alarm message; S6. The information transmission module transmits the alarm information to the designated receiving end through a wired or wireless network.
[0028] In a preferred solution, step S3 further comprises the following steps: S31, analyzing the voiceprint features in the voiceprint database to find common features; S32. Based on the common features identified, develop a preliminary comparison model to quickly screen the digital signals collected in real time; S33, extracting features from the collected sound signals, and determining whether they meet common features through a preliminary comparison model; S34, screening voiceprint features of sound signals that meet common characteristics, and proceeding to step S4.
[0029] Example 3 A method for classifying voiceprint waveforms may include the following steps: First, voiceprint features such as Mel-frequency cepstral coefficients (MFCCs), pitch, formant, etc. are extracted from the sound signal; The extracted voiceprint features are combined into feature vectors, which can be static (single frame) or dynamic (multi-frame); The feature vectors are normalized to eliminate differences between different recording conditions or different speakers.
[0030] Use voiceprint data of known categories to train classification models. This may include traditional machine learning algorithms (such as support vector machines (SVMs), random forests, etc.) or deep learning models (such as convolutional neural networks (CNNs), recurrent neural networks (RNNs, etc.); Optionally, feature selection is performed to identify the most discriminative features, reduce feature dimensionality, and improve classification performance; Evaluate the performance of the classification model on an independent test set, using metrics such as precision, recall, F1 score, etc. For new voiceprint samples, the trained model is used to make classification decisions and determine its most likely category.
[0031] Example 4 like Figure 1 As shown, a wireless voiceprint alarm method includes the following steps: S1, collecting sound signals through a microphone array; S2, performing analog-to-digital conversion and sampling on the collected analog sound signal. According to the Nyquist theorem, the sampling rate is at least twice the highest frequency of the signal; S3, using energy threshold or voice activity detection algorithm to remove the silent part and retain the valid voice frame; S4, by sliding a window on the signal, the sound signal is divided into two frame lengths X1 and X2, the size of the window corresponds to the frame length, X1 is 20-30ms, X2 is 40-60ms; the boundary effect of each frame is reduced by using a Hamming window; in: X1 is used to capture fast-changing signals, including burst noise or non-periodic speech parts; X2 is used to analyze the frequency characteristics of periodic speech signals.
[0032] S5, extracting features with higher time resolution from X1, including energy, zero-crossing rate and short-time Fourier transform; S6, extracting features with higher frequency resolution from X2, including Mel-frequency cepstral coefficients and spectrum features; S7, converting the extracted features into vector form, and normalizing the feature vector to eliminate the differences in dimension and magnitude; S8, comparing and matching the feature vector with the feature vector in the voiceprint library; S9. When the match is successful, the alarm module generates an alarm message, which includes a timestamp and the location of the sound source; S10. Transmit the alarm information to a designated receiving end via a wired or wireless network.
[0033] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A wireless voiceprint alarm system, characterized by: It includes data acquisition module, feature storage module, front-end processing module, identification module, alarm module and information transmission module; The data acquisition module collects sound data in the environment through sensors; The feature storage module is used to store specific voiceprint feature waveforms; The front-end processing module is used to collect and analyze environmental sounds in real time and match them with the stored feature library; The recognition module is used to compare the results output by the front-end processing module to identify whether there is a matching voiceprint feature; The alarm module is used to trigger an alarm message when the recognition module determines that there is a matching voiceprint feature; The information transmission module is used to transmit the alarm information to the designated receiving end through a wired or wireless network.
2. According to the wireless voiceprint alarm system of claim 1, the feature is that: the feature library stores The module uses EEPROM or flash memory to pre-store common voiceprint feature waveforms.
3. According to claim 1, a wireless voiceprint alarm system is characterized by: The front-end processing module includes a microphone array, a signal amplifier, an analog-to-digital converter and a digital signal processor, which are used to collect and process ambient sound signals.
4. According to claim 1, a wireless voiceprint alarm system is characterized by: The recognition module uses an embedded processor or a dedicated voiceprint recognition chip to perform matching calculations of voiceprint features.
5. According to claim 1, a wireless voiceprint alarm system is characterized by: The information transmission module uses the LoRa network to transmit alarm information over long distances.
6. According to claim 1, a wireless voiceprint alarm system is characterized by: The alarm module uses a single-chip microcomputer or an embedded controller to generate and manage alarm information.
7. According to claim 3, a wireless voiceprint alarm system is characterized by: The microphone array is used to collect environmental sound data; the signal amplifier is used to amplify the collected sound signal; the analog-to-digital converter converts the analog sound signal into a digital signal; the digital signal processor analyzes and extracts features from the digital signal; and the recognition module matches the voiceprint features output by the front-end processing module with the waveform in the feature library.
8. A wireless voiceprint alarm method, characterized by: The following steps are involved: S1, collecting sound signals through a microphone array; S2, performing analog-to-digital conversion and sampling on the collected analog sound signal; S3, using energy threshold or voice activity detection algorithm to remove the silent part and retain the valid voice frame; S4, by sliding the window on the signal, the sound signal is divided into two frame lengths X1 and X2, the size of the window corresponds to the frame length, X1 is 20-30ms, X2 is 40-60ms; S5, the features extracted from X1 include energy, zero-crossing rate and short-time Fourier transform; S6, the features extracted from X2 include Mel frequency cepstral coefficients and spectrum features; S7, converting the extracted features into vector form, and normalizing the feature vector to eliminate the differences in dimension and magnitude; S8, comparing and matching the feature vector with the feature vector in the voiceprint library; S9. When the match is successful, the alarm module generates an alarm message; S10. Transmit the alarm information to a designated receiving end via a wired or wireless network.
9. A wireless voiceprint alarm method according to claim 8, characterized in that: X1 is used to capture rapidly changing signals, including burst noise or non-periodic voice parts; X2 is used to analyze the frequency characteristics of periodic speech signals.
10. A wireless voiceprint alarm method according to claim 8, characterized in that: According to the Nyquist theorem, the sampling rate in step S2 is at least twice the highest frequency of the signal; In S4, the boundary effect of each frame is reduced by using a Hamming window; The alarm information in S10 includes a timestamp and the location of the sound source.
