Phoneme-level random voice interference noise generation method and device

Through phoneme processing of TIMIT and VOICES data sets, random broadband interference signals that do not require user recording are generated, which solves the problem of inconvenient generation of interference signals in multi-user scenarios and achieves effective interference effects for multiple users.

CN118588104APending Publication Date: 2024-09-03CHENGDU CHENXIN IOT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410943723.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

The existing technology requires users to record their own voices in advance when generating interference signals in a multi-user scenario, which causes inconvenience. Moreover, interference signals related to fundamental frequency and speech rate are difficult to effectively interfere with multiple speakers.

Method used

Phonemes are extracted and classified through the TIMIT data set, combined with the high-frequency phonemes of the VOICES data set, to form an interference signal phoneme candidate library, and randomly superimposed in the time domain to generate a completely random broadband interference signal to avoid pre-recording the user's voice. Require.

Benefits of technology

It realizes the generation of effective interference signals without user cooperation, is suitable for multi-user scenarios, and has good interference effects on different speech recognition systems and devices, improving practicality and convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118588104A
    Figure CN118588104A
Patent Text Reader

Abstract

The invention relates to a phoneme-level random voice interference noise generation method and device, and the method comprises the steps: carrying out the extraction and classification of phonemes in a statement through a TIMIT data set, and obtaining a needed basic phoneme file; extracting a high-frequency phoneme file from the VOICES data set, and integrating the high-frequency phoneme file with the basic phoneme file to form an interference signal phoneme alternative library; and randomly extracting a plurality of fragments from the phoneme alternative library, using the longest phoneme signal as a reference length, filling all signals shorter than the longest phoneme signal with zero at the tail to align the length, directly superposing in a time domain to obtain an interference signal of the anti-recording equipment, processing the interference signal, randomly extracting phonemes from the interference signal, and obtaining a completely random broadband interference signal. According to the invention, when the interference signal is generated, the user does not need to cooperate to carry out voice pre-recording, and the method has a good interference effect on different voice recognition systems and different devices, and has better practicability and convenience compared with the existing scheme.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of noise generation, and in particular to a method and device for generating random speech interference noise at a phoneme level. Background Art

[0002] In previous noise design work, the principle of interference signal design has always been to reduce the signal-to-noise ratio of the recording equipment; most anti-recording systems focus on increasing the power of the interference, or try to reduce the power of the signal; both methods will have a negative impact on the recording quality. Although low signal-to-noise ratio signals are less effective when using speech recognition algorithms for content recognition, it does not mean that people cannot understand such an interfered speech, because human recognition of information in sound does not rely entirely on the signal-to-noise ratio.

[0003] Currently, there is a technology called InfoMasker, which does not rely entirely on the signal-to-noise ratio. It attempts to use interference signals to destroy the semantic information in the sentence and specially designs corresponding interference signals. Specifically, this technology designs three pre-prepared speech signals, namely S 1 , S 2 , S 3 , S 1 is a vowel sequence, whose vowels are smoothly connected by a Hamming window, S 2 is another set of vowel sequences, the connection intervals between the phonemes are random, S 3 It is a consonant sequence used to increase the diversity of noise. This interference noise is designed based on fundamental frequency and speaking rate. In human voice, fundamental frequency is related to the vibration frequency of the vocal cords. Generally, the fundamental frequency of men is lower than that of women, and the fundamental frequency of children is higher than that of adults. However, there are problems with the design of such interference signals. Fundamental frequency and speaking rate are two characteristics closely related to the speaker, and sounds in different frequency bands are difficult to interfere with each other. If the goal of the system is to interfere with the voices of multiple speakers, each person is required to record a piece of his or her own voice in advance to generate an interference signal. This requirement will bring inconvenience to users in multi-user scenarios. Summary of the invention

[0004] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a method and device for generating random speech interference noise at the phoneme level, thereby solving the deficiencies of the prior art.

[0005] The object of the present invention is achieved by the following technical solution: a method for generating random speech interference noise at the phoneme level, the interference noise generation method comprising: Step 1: Multiple vowel phonemes are concatenated to form an interference signal, and the phonemes in the sentence are extracted and classified through the TIMIT dataset to obtain the required basic phoneme file; at the same time, high-frequency phoneme files are extracted from the VOICES dataset and integrated with the basic phoneme files to form an interference signal phoneme candidate library; Step 2: randomly extract multiple segments from the phoneme candidate library, use the longest phoneme signal as the reference length, and fill all signals shorter than it with zeros at the end to align the length, and directly superimpose them in the time domain to obtain the interference signal of the anti-recording device; Step 3: Process the interference signal of the anti-recording device, randomly extract phonemes greater than a preset number, and obtain a completely random broadband interference signal by superimposing time domain signals.

[0006] In the step 1, all sentences in the TIMIT data set are segmented and annotated at the phoneme level, and the audio is segmented at the phoneme level based on the annotated data, thereby dividing the audio into 48 files corresponding to the 48 phonemes, and merging the 48 phoneme files into 39 phoneme files.

[0007] The processing of the interference signal of the anti-recording device in the step three includes: randomly extracting 500 audios from each phoneme file, padding the length of the extracted 500 audios in the time domain, superimposing the 500 audios with unified length in the time domain and normalizing them.

[0008] A device for generating random speech interference noise at the phoneme level, the device comprising a phoneme candidate library constituent module, a signal processing module and a random interference signal constituent module; The phoneme candidate library construction module is used to concatenate multiple vowel phonemes to form an interference signal, and extract and classify the phonemes in the sentence through the TIMIT data set to obtain the required basic phoneme file; at the same time, extract the high-frequency phoneme file from the VOICES data set, and integrate it with the basic phoneme file to form an interference signal phoneme candidate library; The signal processing module is used to randomly extract multiple segments from the phoneme candidate library, use the longest phoneme signal as a reference length, fill all signals shorter than it with zeros at the end to align the length, and directly superimpose them in the time domain to obtain the interference signal of the anti-recording device; The random interference signal forming module is used to process the interference signal of the anti-recording device, randomly extract phonemes greater than a preset number, and obtain a completely random broadband interference signal by superimposing time domain signals.

[0009] All sentences in the TIMIT data set in the phoneme candidate library constituent module are segmented and annotated at the phoneme level, and the audio is segmented at the phoneme level based on the annotated data, thereby being divided into 48 files corresponding to the 48 phonemes, and the 48 phoneme files are merged into 39 phoneme files.

[0010] The signal processing module processes the interference signal of the anti-recording device, including: randomly extracting 500 audios from each phoneme file, padding the length of the extracted 500 audios in the time domain, superimposing the 500 audios with unified length in the time domain and normalizing them.

[0011] The present invention has the following advantages: a method and device for generating random speech interference noise at the phoneme level, which does not require user cooperation for pre-recording of speech when generating interference signals, and has good interference effects on different speech recognition systems and different devices. Compared with existing solutions, it has better practicality and convenience. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 It is a schematic diagram of the process of the present invention; Figure 2 A schematic diagram showing a comparison of word error rates generated by the interference signal of the present invention and white noise under the same signal-to-noise ratio; Figure 3 A comparative schematic diagram of the effects of the interference signal of the present invention on different languages; Figure 4 A schematic diagram showing the comparison of interference signals of the present invention on different language interfaces; Figure 5 It is a schematic diagram of the interference effect of the interference signal of the present invention on different devices. DETAILED DESCRIPTION

[0013] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the detailed description of the embodiments of the present application provided below in conjunction with the drawings is not intended to limit the scope of protection of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application. The present invention is further described below in conjunction with the drawings.

[0014] The present invention specifically relates to a method for generating random voice interference noise at the phoneme level. The design of the interference signal used for voice interference should meet three key requirements: first, the interference signal should be able to structurally interfere with the voice signal, rather than just suppressing the voice signal in terms of signal strength; second, the generation mode of the interference signal should be similar to the key stream generation principle in the stream cipher, which is unpredictable and non-replicable, in order to prevent potential attackers from reconstructing the interference signal and using it to eliminate the noise of the interfered device; third, the generation of the interference signal should not rely on the user's pre-recorded voice signal. The generation method of pre-recorded voice is not suitable for scenarios where the user is uncertain, such as public meeting rooms, which limits the application scenarios of the jammer.

[0015] like Figure 1 As shown, specifically including the following: Step 1: Select the basic signal that constitutes the interference signal; In linguistics, the pronunciation of each word can be decomposed into multiple phonemes. Since people's understanding of semantic information mainly depends on vowel syllables. Therefore, by interfering with the vowel part, people may make wrong semantic judgments on the speech content. Therefore, the present invention can splice many vowel phonemes to form an interference signal. Taking English as an example, there are 48 phonemes in English phonetic symbols, of which there are 20 vowel phonemes, including [i:], [i], [e], [ae], etc. The present invention can splice the pronunciation audio of a person corresponding to these vowel phonetics and consonant phonetics in sequence to form an interference signal. However, the disadvantage is that the interference signal spliced ​​in this way can only interfere with people whose pronunciation is similar to this person in the frequency domain. Therefore, in order to ensure the applicability of the interference signal to multiple users, the basic signal that generates the interference signal should include the voices of men and women and people of all ages.

[0016] In order to generate interference signals that effectively interfere with anyone, the present invention requires a large amount of voice materials. Therefore, the present invention uses the TIMIT voice data set. The TIMIT data set is a well-known standard data set in the field of speech recognition, which is jointly constructed by Texas Instruments and the Massachusetts Institute of Technology. The data set includes 630 people from 8 major regions of the United States, each of whom speaks 10 specified sentences. The TIMIT data set was originally used in fields such as speech recognition. In order to facilitate machine learning, all sentences were manually segmented and labeled at the phoneme level. Using such labeled data facilitates the present invention to extract and classify the phonemes in the sentences, as well as to extract the required phonemes in the step of interfering noise synthesis. For example, "she" will be labeled as: "9640 11240 sh, 11240 12783 iy" in a certain audio in the TIMIT data set. The numbers represent the specific positions of "sh" and "iy" in the entire audio. Therefore, the present invention can segment the audio at the phoneme level according to the labeled labels. Thus, 48 ​​folders corresponding to 48 phonemes are divided according to 48 phonemes. Then, according to the 48->39 phoneme conversion relationship, the 48 folders are merged into 39 phonemes.

[0017] At the same time, since signals with frequencies lower than 2000Hz will be removed, however, due to the presence of high-frequency female voices, the interference performance of the interference signal on the high-frequency part of the speech is still somewhat insufficient. This is because the frequency of the sound of a female news anchor reading aloud will exceed 2000Hz, and the TIMIT dataset does not contain such high-frequency speech signals; therefore, it is necessary to supplement the female voice signals in a new dataset VOICES, and at the same time extract 39 high-frequency phoneme files from the VOICES dataset, and combine them with the 39 basic phoneme files to obtain 39 alternative phoneme files.

[0018] Step 2: Processing the candidate phoneme files; Next, it is necessary to ensure that the interference signal generated by the TIMIT speech data set has sufficient interference capability; specifically, the frequency band of the interference signal needs to be wide enough to cover the entire range of human voice frequencies and contain rich phoneme information. In digital telephone systems, the voice transmission frequency range used is 300Hz-3400Hz. The present invention randomly extracts 500 fragments from 39 wide-band phoneme files, uses the longest phoneme signal as the reference length, and fills all signals shorter than it with zeros at the end to align the length, and directly superimposes them in the time domain. The purpose of this is to retain the frequency information of different signals. The signal obtained by this superposition constitutes the interference signal of the anti-recording device.

[0019] Step 3: Generate a completely random broadband interference signal; Finally, in order to randomize the interference signal, all the phoneme files in the 39 broadband phoneme files are read separately each time, and the following operations are performed on the 39 phoneme files respectively: 1. Randomly extract 500 audios from each phoneme file by using the random.sample() function in Python; 2. Fill the length of the 500 extracted audios in the time domain, and unify the length to the longest selected phoneme segment; 3. Superimpose the 500 audios of uniform length in the time domain and normalize them.

[0020] In this way, 39 processed phoneme segments are obtained. Then, 20 phonemes are randomly selected from the 39 phonemes using the random.sample() function, and the interference signal is obtained by superimposing the time domain signal. Figure 1 As shown in the figure, 20 phonemes are randomly extracted from the 39 pre-prepared broadband phoneme file corpus each time. In the actual operation, the random.sample() function is used to randomly select elements from the specified sequence to achieve sampling without replacement. In this step, the number of phonemes drawn each time will significantly affect the interference effect. If too few phonemes are extracted at a time, the interference signal will not be able to effectively interfere with all the phonemes appearing in the speech. Through experiments, it is found that at least 17 phonemes need to be extracted each time to produce a relatively stable destructive effect on the speech signal.

[0021] The interference effect evaluation standard for the interference signal constructed by the present invention is the word error rate, which is a common indicator for evaluating the performance of a speech recognition system. It is mainly used to measure the degree of difference between the text output by the speech recognition system and the real text.

[0022] The present invention compares the constructed interference signals from the following aspects: 1. Comparison of interference effects with white noise under different signal-to-noise ratios; The WER caused by the jammer and white noise interference under the same SNR is compared, such as Figure 2 As shown, the results show that under the same signal-to-noise ratio, the WER caused by the interference signal designed by the present invention is at least 40% higher than the WER caused by white noise, which indicates that the interference signal constructed by the present invention is more destructive than white noise.

[0023] 2. Interference effects on different languages; The interference effect of the jamming signal on different languages ​​was evaluated. Several popular languages ​​around the world were selected for testing, including English, Chinese, French, Italian, German, Japanese, Russian, Spanish and Arabic. The test materials included one-minute recordings made by news anchors in these languages. Figure 3As shown in FIG. 1 , the interference WER for different languages ​​all reaches more than 95%, which indicates that the interference signal designed by the present invention can interfere with multiple languages.

[0024] 3. Interference effects on 6 speech recognition interfaces at different distances; like Figure 4 As shown in Figure 2, the experimental results show that when the interference distance is less than 8 meters, the WER of the recordings recorded by the unauthorized device is always over 95%. When the interference distance exceeds 8 meters, the interference effect decreases. This is mainly due to the attenuation of ultrasonic waves.

[0025] 4. Interference effect on different devices; like Figure 5 As shown, 9 different models of devices from 7 brands were used to evaluate the interference effect. The recordings from each device were recognized by the 6 speech recognition systems mentioned above and the WER was calculated. The invention keeps the interference distance at 2 meters.

[0026] The results show that the jamming signal constructed by the present invention maintains a stable jamming capability for most brands and devices, and the WER of most devices remains above 97% after being recognized by 6 speech recognition systems. However, some mobile phones, such as HUAWEI Mate40 Pro and Redmi Note9, show slightly lower performance. This may be due to differences in hardware modules. Previous work has also shown that different hardware devices respond differently to ultrasonic attacks.

[0027] The above is only a preferred embodiment of the present invention. It should be understood that the present invention is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used for various other combinations, modifications and improvements, and can be modified within the scope of the concept described herein through the above teachings or the technology or knowledge of the relevant field. The changes and modifications made by those skilled in the art do not deviate from the spirit and scope of the present invention, and should be within the scope of protection of the claims attached to the present invention.

Claims

1. A method for generating random speech interference noise at phoneme level, characterized in that: The interference noise generation method comprises: Step 1: Multiple vowel phonemes are concatenated to form an interference signal, and the phonemes in the sentence are extracted and classified through the TIMIT dataset to obtain the required basic phoneme file; at the same time, high-frequency phoneme files are extracted from the VOICES dataset and integrated with the basic phoneme files to form an interference signal phoneme candidate library; Step 2: randomly extract multiple segments from the phoneme candidate library, use the longest phoneme signal as the reference length, and fill all signals shorter than it with zeros at the end to align the length, and directly superimpose them in the time domain to obtain the interference signal of the anti-recording device; Step 3: Process the interference signal of the anti-recording device, randomly extract phonemes greater than a preset number, and obtain a completely random broadband interference signal by superimposing time domain signals.

2. The method for generating random speech interference noise at the phoneme level according to claim 1, characterized in that: In the step 1, all sentences in the TIMIT data set are segmented and annotated at the phoneme level, and the audio is segmented at the phoneme level based on the annotated data, thereby dividing the audio into 48 files corresponding to the 48 phonemes, and merging the 48 phoneme files into 39 phoneme files.

3. The method for generating random speech interference noise at the phoneme level according to claim 2, characterized in that: The processing of the interference signal of the anti-recording device in the step three includes: randomly extracting 500 audios from each phoneme file, padding the length of the extracted 500 audios in the time domain, superimposing the 500 audios with unified length in the time domain and normalizing them.

4. A device for generating random speech interference noise at the phoneme level, characterized in that: The device comprises a phoneme candidate library constituent module, a signal processing module and a random interference signal constituent module; The phoneme candidate library forming module is used to concatenate multiple vowel phonemes to form an interference signal, and extract and classify the phonemes in the sentence through the TIMIT data set to obtain the required basic phoneme file; At the same time, high-frequency phoneme files are extracted from the VOICES data set and integrated with the basic phoneme files to form an alternative library of interference signal phonemes; The signal processing module is used to randomly extract multiple segments from the phoneme candidate library, use the longest phoneme signal as a reference length, fill all signals shorter than it with zeros at the end to align the length, and directly superimpose them in the time domain to obtain the interference signal of the anti-recording device; The random interference signal forming module is used to process the interference signal of the anti-recording device, randomly extract phonemes greater than a preset number, and obtain a completely random broadband interference signal by superimposing time domain signals.

5. The device for generating random speech interference noise at the phoneme level according to claim 4, characterized in that: All sentences in the TIMIT data set in the phoneme candidate library constituent module are segmented and annotated at the phoneme level, and the audio is segmented at the phoneme level based on the annotated data, thereby being divided into 48 files corresponding to the 48 phonemes, and the 48 phoneme files are merged into 39 phoneme files.

6. The device for generating random speech interference noise at the phoneme level according to claim 5, characterized in that: The signal processing module processes the interference signal of the anti-recording device, including: randomly extracting 500 audios from each phoneme file, padding the length of the extracted 500 audios in the time domain, superimposing the 500 audios with unified length in the time domain and normalizing them.