A method and device for detecting and locating regionally generated audio based on high-frequency features

Through high-frequency features and twin network structures, audio signals are extracted and processed into frames, and segment detection is performed based on frame time. This solves the problem of difficulty in locating speech splicing forged areas in the existing technology and improves detection accuracy and reliability.

CN118298852BActive Publication Date: 2024-09-10INST OF AUTOMATION CHINESE ACAD OF SCI
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202410726562.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-09-10
Estimated Expiration
2044-06-06

AI Technical Summary

Technical Problem

It is difficult to effectively locate the speech splicing forgery area with existing technology, resulting in limited detection accuracy.

Method used

Using a twin network structure based on high-frequency features, the audio signal is extracted through empirical wavelet transform, processed into frames and a similarity matrix is ​​generated, segment detection and positioning are performed based on frame time, and the twin network model is used to capture local dynamic changes to lock potential forgery areas. .

Benefits of technology

It improves the accuracy and reliability of speech splicing forgery detection, avoids detection failure when forged sections are the same as real data, and enhances the ability to identify generated sections.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118298852B
    Figure CN118298852B
Patent Text Reader

Abstract

The present invention provides a method and device for region-generated audio detection and positioning based on high-frequency features, which is applied to the field of audio processing. The method includes: extracting a signal of a target frequency in the audio to be detected to obtain a signal to be detected; performing frame processing on the signal to be detected to obtain at least two frames to be detected; for each frame to be detected in the at least two frames to be detected, combining the frame to be detected with other frames to be detected in the at least two frames to be detected to generate at least one pair of frames to be detected; inputting at least one pair of frames to be detected into a trained audio detection and positioning model, and outputting the similarity corresponding to at least one pair of frames to be detected; detecting and locating a generated segment from the audio to be detected based on the similarity corresponding to at least one pair of frames to be detected and the frame time corresponding to at least two frames to be detected. The method of the present invention can detect and locate a generated segment from the audio to be detected, solving the problem of difficulty in locating a generated segment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of audio processing technology, and more specifically to a method and device for detecting and locating regionally generated audio based on high-frequency features. Background Art

[0002] With the rapid iteration and optimization of AI-generated content technology, voice deep fake technology has achieved significant improvements in the naturalness, realism, and diversity of fake voices. Voice deep fake methods are mainly divided into four categories, namely, imitating sound, recording playback, voice splicing, and voice synthesis. In response to the above technologies, voice deep fake identification methods are also mainly carried out around the above four aspects. However, unlike the other three methods, voice splicing forgery detection puts forward higher requirements on the detection method. The relevant technology for voice splicing forgery detection mainly focuses on detecting the authenticity of the voice signal, and it is difficult to locate the forged area. Summary of the invention

[0003] In view of the above problems, the present invention provides a method and device for detecting and locating regionally generated audio based on high-frequency features.

[0004] According to a first aspect of the present invention, a region-generated audio detection and positioning method is provided, comprising: extracting a signal of a target frequency in an audio to be detected by using a preset extraction method to obtain a signal to be detected; performing frame processing on the signal to be detected to obtain at least two frames to be detected, wherein the at least two frames to be detected have respective corresponding frame times, and the frame time represents a time range in which the frames to be detected are located in the signal to be detected; for each frame to be detected in the at least two frames to be detected, combining the frame to be detected with other frames to be detected in the at least two frames to be detected to generate at least one frame pair to be detected; inputting at least one frame pair to be detected into a pre-trained audio detection and positioning model, and outputting the corresponding similarity of at least one frame pair to be detected; and detecting and positioning a generated segment from the audio to be detected according to the respective corresponding similarity of at least one frame pair to be detected and the respective corresponding frame times of at least two frames to be detected.

[0005] According to an embodiment of the present invention, based on the similarities corresponding to at least one pair of frames to be detected and the frame times corresponding to at least two frames to be detected, detecting and locating the generated segments from the audio to be detected includes: generating a similarity matrix based on the similarities corresponding to at least one pair of frames to be detected, wherein the similarity matrix is ​​arranged in frame time order of at least two frames to be detected; determining the column or row in the similarity matrix where the similarity meets a preset threshold, and obtaining a target row or target column; and detecting and locating the generated segments in the audio to be detected based on the frame times of the frames to be detected corresponding to the target columns or target rows.

[0006] According to an embodiment of the present invention, the method further includes: performing matrix visualization processing on the similarity matrix using a gray value image generation function to obtain a similarity intuitive map; and displaying the similarity intuitive map.

[0007] According to an embodiment of the present invention, based on the similarities corresponding to at least one pair of frames to be detected and the frame times corresponding to at least two frames to be detected, detecting and locating the generated segment from the audio to be detected includes: extracting the similarities that meet a preset threshold from the similarities corresponding to at least one pair of frames to be detected to obtain candidate similarities; and detecting and locating the generated segment from the audio to be detected based on the frame times of the frames to be detected corresponding to the candidate similarities.

[0008] According to an embodiment of the present invention, a preset extraction method is used to extract a signal of a target frequency in the audio to be detected, and obtaining the signal to be detected includes: performing signal decomposition processing on the audio to be detected using an empirical wavelet transform to obtain at least one sub-modal signal; and extracting the highest frequency signal from at least one sub-modal signal to obtain the signal to be detected.

[0009] According to an embodiment of the present invention, a training method for an audio detection and positioning model includes: obtaining a sample signal, wherein the sample signal is a signal belonging to a target frequency in a sample audio signal; performing frame processing on the sample signal to obtain a sample frame set, wherein each sample frame in the sample frame set has a corresponding sample frame label; generating M sample pairs according to the sample frame set and the sample frame label corresponding to each sample frame, wherein M is a positive integer ≥1, and each sample pair has a corresponding sample pair label; for each sample pair in the M sample pairs, inputting the sample pair into a twin network, and outputting the similarity between the two sample frames in the sample pair; based on a preset loss function, determining a loss value according to the similarity and the sample pair label; when the loss value does not meet the preset iteration conditions, adjusting the network parameters of the twin network until the loss value meets the preset iteration conditions; determining the network parameters when the loss value meets the preset iteration conditions as the audio detection and positioning model.

[0010] According to an embodiment of the present invention, a twin network includes a first subnetwork and a second subnetwork; a sample pair includes a first sample frame and a second sample frame; the sample pair is input into the twin network, and the similarity between the two sample frames in the output sample pair includes: inputting the first sample frame into the first subnetwork, and outputting a first sample feature corresponding to the first sample frame; inputting the second sample frame into the second subnetwork, and outputting a second sample feature corresponding to the second sample frame; and outputting the similarity between the first sample frame and the second sample frame based on the first sample feature and the second sample feature.

[0011] According to an embodiment of the present invention, the method further includes: acquiring a sample audio signal; performing signal decomposition processing on the sample audio signal using an empirical wavelet transform to obtain at least one submodal signal; and extracting the signal with the highest frequency from the at least one submodal signal to obtain a sample signal.

[0012] According to an embodiment of the present invention, generating M sample pairs according to a sample frame set and a sample frame label corresponding to each sample frame includes: dividing the sample frame set into a positive sample frame set and a negative sample frame set according to the sample frame label corresponding to the sample frame, wherein the positive sample frames in the positive sample frame set belong to a non-generated region segment in the sample signal, and the negative sample frames in the negative sample frame set belong to a generated region segment in the sample signal; generating M1 first positive sample pairs according to the positive sample frame set, wherein each first positive sample pair includes two positive sample frames, 1≤M1≤M; generating M2 second positive sample pairs according to the negative sample frame set, wherein each second positive sample pair includes two negative sample frames, 1≤M2≤M; generating M3 negative sample pairs according to the positive sample frame set and the negative sample frame set, wherein each negative sample pair includes a positive sample frame and a negative sample frame, wherein 1≤M3≤M, M1+M2+M3=M; generating M sample pairs according to the M1 first positive sample pairs, the M2 second positive sample pairs and the M3 negative sample pairs.

[0013] A second aspect of the present invention provides a regional generated audio detection and positioning device, comprising:

[0014] An extraction module, used to extract a signal of a target frequency in the audio to be detected by using a preset extraction method to obtain a signal to be detected;

[0015] A framing module, used for framing the signal to be detected to obtain at least two frames to be detected, wherein the at least two frames to be detected have respective corresponding frame times, and the frame time represents the time range of the frame to be detected in the signal to be detected;

[0016] A combining module, for each of the at least two frames to be detected, combining the frame to be detected with other frames to be detected in the at least two frames to be detected, to generate at least one pair of frames to be detected;

[0017] An input-output module, used to input at least one pair of frames to be detected into a pre-trained audio detection and positioning model, and output the similarity corresponding to each of at least one pair of frames to be detected;

[0018] The positioning module is used to detect and locate the generated segment from the audio to be detected according to the similarity corresponding to at least one pair of frames to be detected and the frame time corresponding to at least two frames to be detected.

[0019] A third aspect of the present invention provides an electronic device, comprising: one or more processors; a memory for storing one or more computer programs, wherein the one or more processors execute the one or more computer programs to implement the steps of the above method.

[0020] The fourth aspect of the present invention further provides a computer-readable storage medium on which a computer program or instruction is stored, and the steps of the above method are implemented when the above computer program or instruction is executed by a processor.

[0021] The fifth aspect of the present invention also provides a computer program product, including a computer program or instructions, which implement the steps of the above method when executed by a processor.

[0022] According to an embodiment of the present invention, by using a preset extraction method, a signal of a target frequency in the audio to be detected is extracted to obtain a signal to be detected; then the signal to be detected is framed to obtain at least two frames to be detected, wherein at least two frames to be detected have respective corresponding frame times, and the frame time represents the time range of the frame to be detected in the signal to be detected; then for each of the at least two frames to be detected, the frame to be detected is combined with other frames to be detected in the at least two frames to be detected to generate at least one pair of frames to be detected; and at least one pair of frames to be detected is input into a pre-trained audio detection and positioning model, and the similarity corresponding to at least one pair of frames to be detected is output; then, according to the respective similarity corresponding to at least one pair of frames to be detected and the respective frame times corresponding to at least two frames to be detected, a generated segment is detected and located from the audio to be detected. Since the similarity of each two frames to be detected in the signal to be detected is analyzed, the start time and the end time of the generated segment can be determined according to the size of the similarity and the frame time of each frame to be detected, so that the generated segment can be detected and located from the audio to be detected. At least partially solves the technical problem of difficulty in locating the generated segment in the related art. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The above contents and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:

[0024] Figure 1 A flow chart of a method for detecting and locating area-generated audio according to an embodiment of the present invention is shown.

[0025] Figure 2 A flow chart of a method for generating segment positioning according to an embodiment of the present invention is shown.

[0026] Figure 3 A schematic diagram of a similarity intuitive graph according to an embodiment of the present invention is shown.

[0027] Figure 4 A flow chart of a method for training an audio detection and positioning model according to an embodiment of the present invention is shown.

[0028] Figure 5 A schematic diagram of a training method for an audio detection and positioning model according to an embodiment of the present invention is shown.

[0029] Figure 6 A structural block diagram of a regional audio generation detection and positioning device according to an embodiment of the present invention is shown.

[0030] Figure 7 A block diagram of an electronic device suitable for implementing the above method according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0031] Below, embodiments of the present invention will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present invention. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of embodiments of the present invention. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of concepts of the present invention.

[0032] The terms used herein are only for describing specific embodiments and are not intended to limit the present invention. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0033] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.

[0034] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0035] In the technical solution of the present disclosure, the user information (including but not limited to user personal information, user image information, user device information, such as location information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with relevant laws, regulations and standards, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0036] In the scenario of using personal information for automated decision-making, the methods, devices, and systems provided by the embodiments of the present disclosure provide users with corresponding operation portals for users to choose to agree or reject the automated decision-making results; if the user chooses to reject, the expert decision-making process will be entered. The expression "automated decision-making" here refers to the activity of automatically analyzing and evaluating a person's behavioral habits, interests and hobbies, or economic, health, credit status, etc. through computer programs, and making decisions. The expression "expert decision-making" here refers to the activity of making decisions by people who specialize in a certain field, have specialized experience, knowledge and skills, and have reached a certain level of professionalism.

[0037] Existing speech region generation detection and positioning methods use traditional temporal network structures (such as RNN\LSTM\Transformer, etc.) for training. Such methods mainly emphasize the temporal relationship of sequences. However, due to the increasingly advanced forgery generation methods, the abnormal characteristics of the forgery position in terms of temporal relationship are weakened. Therefore, such methods are not conducive to capturing abnormal characteristics, that is, they do not truly capture the characteristic change information of regional forgery, affecting the detection accuracy.

[0038] In response to the above technical problems, the present invention constructs identifiable high-frequency features and uses a twin network structure to complete feature modeling, thereby realizing the detection and positioning of forged interval splicing traces. Since the present invention focuses on the consistency analysis of the dynamic structure of high-frequency signals, it locks the potential forged area sites by detecting local dynamic changes, avoiding the problem of detection failure when the forged interval segment is also real data, and improving the detection reliability.

[0039] Figure 1 A flow chart of a method for detecting and locating area-generated audio according to an embodiment of the present invention is shown.

[0040] like Figure 1 As shown, the area-generated audio detection and positioning method of this embodiment includes operations S110 to S150.

[0041] In operation S110, a signal of a target frequency in the audio to be detected is extracted by using a preset extraction method to obtain a signal to be detected.

[0042] According to an embodiment of the present invention, before extracting the signal to be detected, the step of acquiring the audio to be detected may be included.

[0043] According to an embodiment of the present invention, the audio to be detected may be voice data included in the video data stored in the database, or voice data acquired by the terminal through a voice acquisition device during the user's interaction with the terminal, or voice data in a quiet environment, or voice data in a noisy environment. This embodiment does not impose any restrictions on the type of voice data.

[0044] According to an embodiment of the present invention, the preset extraction method may be any method that can extract the target frequency from the audio to be detected. For example, the preset extraction method may be an empirical wavelet transform, or a Fourier transform, etc.

[0045] According to an embodiment of the present invention, the target frequency may be a frequency in the audio to be detected that can reflect the difference between natural speech and disguised speech. In one embodiment, the signal of the target frequency may be the highest frequency signal in the speech spectrum, that is, the signal to be detected is the highest frequency signal in the audio to be detected.

[0046] According to the embodiments of the present invention, high-frequency signals often contain information related to environmental background noise and information that is difficult for the human ear to distinguish. Therefore, for partially forged audio, due to the audio splicing operation, its high-frequency information part will generally have obvious abnormalities in the splicing area. Using high-frequency information to perform regional audio generation detection and positioning can improve detection accuracy.

[0047] In operation S120, the signal to be detected is framed to obtain at least two frames to be detected, wherein the at least two frames to be detected have respective corresponding frame times, and the frame time represents a time range in which the frames to be detected are located in the signal to be detected.

[0048] According to an embodiment of the present invention, performing frame processing on the signal to be detected may include dividing the signal to be detected into segments to analyze its characteristic parameters, wherein each segment is called a "frame", and in one or more embodiments, the frame length may be 20 to 50 ms. In this way, for the entire speech signal, the characteristic parameter time series composed of the characteristic parameters of each frame is analyzed.

[0049] In some embodiments, performing frame processing on the signal to be detected to obtain at least two frames to be detected may include: performing frame processing on the signal to be detected to obtain N frames with a length of 25 ms.

[0050] According to the embodiment of the present invention, the characteristics of the speech signal as a whole vary with time, and each frame has its own time range in the entire speech signal.

[0051] In operation S130, for each of the at least two frames to be detected, the frame to be detected is combined with other frames to be detected in the at least two frames to be detected to generate at least one pair of frames to be detected.

[0052] In operation S140, at least one pair of frames to be detected is input into a pre-trained audio detection and positioning model, and the similarity corresponding to each of the at least one pair of frames to be detected is output.

[0053] According to an embodiment of the present invention, the audio detection and positioning model includes a twin network, and the twin network includes a first network and a second network. Inputting at least one pair of frames to be detected into a pre-trained audio detection and positioning model, and outputting the similarity corresponding to each of at least one pair of frames to be detected can include: inputting the first frame to be detected in the pair of frames to be detected into the first network, and outputting the first feature; inputting the second frame to be detected in the pair of frames to be detected into the second network, and outputting the second feature; analyzing the similarity of the first feature and the second feature, and outputting the similarity corresponding to the pair of frames to be detected.

[0054] In operation S150, a segment is detected and located from the audio to be detected according to the similarities corresponding to at least one pair of frames to be detected and the frame times corresponding to at least two frames to be detected.

[0055] According to an embodiment of the present invention, by using a preset extraction method, a signal of a target frequency in the audio to be detected is extracted to obtain a signal to be detected; then the signal to be detected is framed to obtain at least two frames to be detected, wherein at least two frames to be detected have respective corresponding frame times, and the frame time represents the time range of the frame to be detected in the signal to be detected; then for each of the at least two frames to be detected, the frame to be detected is combined with other frames to be detected in the at least two frames to be detected to generate at least one pair of frames to be detected; and at least one pair of frames to be detected is input into a pre-trained audio detection and positioning model, and the similarity corresponding to at least one pair of frames to be detected is output; then, according to the respective similarity corresponding to at least one pair of frames to be detected and the respective frame times corresponding to at least two frames to be detected, a generated segment is detected and located from the audio to be detected. Since the similarity of each two frames to be detected in the signal to be detected is analyzed, the start time and the end time of the generated segment can be determined according to the size of the similarity and the frame time of each frame to be detected, so that the generated segment can be detected and located from the audio to be detected. At least partially solves the technical problem of difficulty in locating the generated segment in the related art.

[0056] According to an embodiment of the present invention, a preset extraction method is used to extract a signal of a target frequency in the audio to be detected, and obtaining the signal to be detected includes: performing signal decomposition processing on the audio to be detected using an empirical wavelet transform (Empirical Wavelet Transform, EWT) to obtain at least one sub-modal signal; and extracting the highest frequency signal from at least one sub-modal signal to obtain the signal to be detected.

[0057] According to an embodiment of the present invention, the empirical wavelet transform is an adaptive signal processing technology, which can select a suitable wavelet basis function according to the local characteristics of the signal, so as to decompose the signal. This algorithm is different from the traditional method based on a fixed wavelet basis, and it can better adapt to different types of signals and provide more accurate decomposition results. The basic principle of EWT is to decompose the signal into multiple local band-pass wavelet components, which can capture the local characteristics of the signal and perform adaptive time-frequency analysis. The main steps of the EWT algorithm include initialization, signal decomposition, Hilbert transform of each local band-pass signal, and summing or averaging according to the local characteristics on the time-frequency diagram to obtain the time-frequency diagram of the original signal. The advantages of the EWT decomposition algorithm include good frequency local characteristics, adaptability to various types of signals, effective processing of high-frequency signals and mutation signals, and avoidance of the Gibbs phenomenon in wavelet transform. In addition, the EWT decomposition algorithm has high adaptability and high decomposition accuracy, and high computational efficiency. The present invention mainly uses this technology to obtain high-frequency signal features from the original waveform signal of the audio to be detected for subsequent feature modeling and analysis.

[0058] According to an embodiment of the present invention, the specific steps of performing signal decomposition processing on the audio to be detected by using the empirical wavelet transform may include:

[0059] (1) Spectrum division

[0060] First, determine the number of signals N to be detected. According to the amplitude, the maximum amplitude sequence of the signal spectrum is Perform descending sorting, where M is the total number of maximum amplitudes of the signal spectrum, and i is the sequence number of the maximum amplitudes of the signal spectrum after descending sorting; and set the threshold to And the range is adjustable, where α∈(0,1) represents the relative amplitude ratio; in the arranged sequence, the maximum value greater than the threshold is recorded as the main maximum value, and the number of main maximum values ​​is the number N of signals to be detected; then determine the boundary ω of the divided spectrum n The frequency of two adjacent main maxima in the spectrum is Ω n and Ω n+1 The midpoint of the spectrum is the boundary ω n ,in , represents the nth spectrum boundary; ω0=0,ω N=π. Among them, around each ω n Define a transition segment T n , width is 2μ n , where μ n =γω n , γ is the coefficient.

[0061] (2) Mathematical model of empirical wavelet and empirical scale.

[0062] Spectrum Boundaryω n After determination, the empirical wavelet ψ is constructed according to the Meyer wavelet construction method. n (ω) as in formula (1) and the empirical scale as in formula (2), respectively, are expressed as:

[0063] (1);

[0064] (2);

[0065] Among them, in formula (1) and (2),

[0066] (3);

[0067] Let the intermediate variable ,but

[0068] (4).

[0069] (3) Empirical wavelet transform and inverse transform.

[0070] The original signal f (t) is scaled with the empirical scale and the empirical wavelet ψ n (t) Through inner product processing, we get the approximate coefficient As shown in formula (5) and the detail coefficient As shown in formula (6):

[0071] (5);

[0072] (6);

[0073] in, Represents the empirical scale The complex conjugate of represents the empirical wavelet ψ n The complex conjugate of (t); represents the Fourier transform of the original signal f(t); Represents the empirical scale Fourier transform of Empirical wavelet ψ n The Fourier transform of (t); F-1 [ .] is the inverse Fourier transform, and f(τ) is the original signal at time τ.

[0074] The original signal is reconstructed as shown in formula (7):

[0075] (7);

[0076] in" ” is the convolution processing; represents the empirical scale, ψ n (t) represents the empirical wavelet; Represents the empirical scale Fourier transform of represents the empirical wavelet ψ n Fourier transform of (t); Represents the approximate coefficient The Fourier transform of Represents detail coefficient Fourier transform of -1 [ .] is the inverse Fourier transform.

[0077] The empirical mode f obtained by decomposing the original signal f(t) k (t) is defined as

[0078] (8);

[0079] (9);

[0080] but (10);

[0081] in, is the approximate coefficient, is the kth single component detail coefficient; N represents the total number of single components; ψ k (t) is the k-th single-component empirical wavelet; For the empirical scale.

[0082] Figure 2 A flow chart of a method for generating segment positioning according to an embodiment of the present invention is shown.

[0083] like Figure 2 As shown, this embodiment is a method for generating a segment positioning including operations S210 to S230.

[0084] In operation S210, a similarity matrix is ​​generated according to the similarities corresponding to at least one pair of frames to be detected, wherein the similarity matrix is ​​arranged in the frame time sequence of at least two frames to be detected.

[0085] According to an embodiment of the present invention, the similarities are sorted according to the sequence of frame times of the frames to be detected to obtain a similarity matrix.

[0086] In operation S220, a column or row in the similarity matrix where a similarity that meets a preset threshold is located is determined to obtain a target row or a target column.

[0087] According to an embodiment of the present invention, determining the columns or rows in the similarity matrix where the similarity meets the preset threshold may include rows or columns where the similarity is lower than the preset threshold.

[0088] In operation S230 , a generated segment in the audio to be detected is located according to a frame time of a frame to be detected corresponding to a target column or a target row.

[0089] According to an embodiment of the present invention, since each row or column in the similarity matrix corresponds to the frame time of the frame to be detected, after determining the target row or target column, the frame time corresponding to the target row or target column can be determined, and the time at which the generated segment is located in the audio to be detected can be determined based on the frame time.

[0090] According to an embodiment of the present invention, the method further includes: performing matrix visualization processing on the similarity matrix using a gray value image generation function to obtain a similarity intuitive map; and displaying the similarity intuitive map.

[0091] According to an embodiment of the present invention, performing matrix visualization processing on the similarity matrix using a gray value image generation function to obtain a similarity intuitive map may include: for the ith similarity in the similarity matrix, determining the ith grayscale corresponding to the ith similarity using a gray value image generation function, and filling the ith similarity in the similarity matrix with the ith grayscale. In this way, each similarity in the similarity matrix is ​​filled with the corresponding grayscale. The higher the similarity, the darker the grayscale color, and the lower the similarity, the lighter the grayscale color.

[0092] Figure 3 A schematic diagram of a similarity intuitive graph according to an embodiment of the present invention is shown.

[0093] like Figure 3 As shown, the signal to be detected is divided into the first segment signal (A), the second segment signal (B) and the third segment signal (C), wherein the white area in the figure is the similarity between the second segment signal (B) and the first segment signal (A), and the similarity between the second segment signal (B) and the third segment signal (C). Since the color of this area is white, the similarity value of this area is low, so it can be intuitively seen that the second segment signal (B) is a generated segment. The first segment signal (A) and the third segment signal (C) are real segments.

[0094] By the attached Figure 3It can be seen that the color of the area corresponding to the similarity between the frames to be detected in the first segment signal (A) is black, such as the upper left black area, and the area corresponding to the similarity between the frames to be detected in the first segment signal (A) and the third segment signal (C) is gray, such as the lower left gray area. Although the first segment signal (A) and the third segment signal (C) are both real segments, the difference in color represented on the similarity intuitive diagram is because the second segment signal (B) is spliced ​​between the first segment signal (A) and the third segment signal (C), which will have a certain impact on the third segment signal (C), thereby reducing the similarity between the third segment signal (C) and the first segment signal (A).

[0095] According to an embodiment of the present invention, based on the similarities corresponding to at least one pair of frames to be detected and the frame times corresponding to at least two frames to be detected, detecting and locating the generated segment from the audio to be detected includes: extracting the similarities that meet a preset threshold from the similarities corresponding to at least one pair of frames to be detected to obtain candidate similarities; and detecting and locating the generated segment from the audio to be detected based on the frame times of the frames to be detected corresponding to the candidate similarities.

[0096] According to an embodiment of the present invention, extracting a similarity that satisfies a preset threshold from the similarities corresponding to at least one pair of frames to be detected, and obtaining the candidate similarities may include:

[0097] From the similarities corresponding to at least one pair of frames to be detected, similarities less than a preset threshold are extracted to obtain candidate similarities.

[0098] According to an embodiment of the present invention, by modeling the consistency of the dynamic characteristics of the audio high-frequency signal, and by capturing the difference in the high-frequency signal distribution characteristics between the inserted and spliced ​​forged area and the inserted and spliced ​​area, the audio area generation detection and positioning is achieved. This method locks the potential generation area site by detecting local dynamic changes, avoids the problem of detection failure when the generated interval segment is also real data, and improves the detection reliability. At the same time, the present invention can cover the scenario where different types of audio are spliced ​​as generated data.

[0099] Figure 4 A flow chart of a method for training an audio detection and positioning model according to an embodiment of the present invention is shown.

[0100] like Figure 4 As shown, the training method of the audio detection and positioning model of this embodiment includes operations S410 to S480.

[0101] In operation S410, a sample signal is obtained, wherein the sample signal is a signal belonging to a target frequency in the sample audio signal.

[0102] According to an embodiment of the present invention, the signal of the target frequency may be a signal with the highest frequency in the sample audio signal.

[0103] In operation S420, the sample signal is framed to obtain a sample frame set, wherein each sample frame in the sample frame set has a corresponding sample frame label.

[0104] In operation S430 , M sample pairs are generated according to the sample frame set and the sample frame label corresponding to each sample frame, where M is a positive integer ≥1, and each sample pair has a corresponding sample pair label.

[0105] According to an embodiment of the present invention, generating M sample pairs according to a sample frame set and a sample frame label corresponding to each sample frame includes: dividing the sample frame set into a positive sample frame set and a negative sample frame set according to the sample frame label corresponding to the sample frame, wherein the positive sample frames in the positive sample frame set belong to a non-generated region segment in the sample signal, and the negative sample frames in the negative sample frame set belong to a generated region segment in the sample signal; generating M1 first positive sample pairs according to the positive sample frame set, wherein each first positive sample pair includes two positive sample frames, 1≤M1≤M; generating M2 second positive sample pairs according to the negative sample frame set, wherein each second positive sample pair includes two negative sample frames, 1≤M2≤M; generating M3 negative sample pairs according to the positive sample frame set and the negative sample frame set, wherein each negative sample pair includes a positive sample frame and a negative sample frame, wherein 1≤M3≤M, M1+M2+M3=M; generating M sample pairs according to the M1 first positive sample pairs, the M2 second positive sample pairs and the M3 negative sample pairs.

[0106] According to an embodiment of the present invention, the high-frequency signal is divided into frames, and a positive sample frame set and a negative sample frame set at the frame level are formed based on the training data label, wherein the positive sample frame refers to each frame signal of the non-generated region segment signal, and the negative sample frame refers to each frame signal of the generated region segment signal. Then, sample frames are randomly selected from the positive sample frame set and the negative sample frame set in turn to form sample pairs.

[0107] In operation S440, for each sample pair of the M sample pairs, the sample pair is input into the twin network, and the similarity between the two sample frames in the sample pair is output.

[0108] According to an embodiment of the present invention, the twin network can be a twin network structure with MLP-MIXER as the backbone. The network output result is the similarity relationship between sample pairs, and the true similar relationship of the sample pairs is used as the true label, that is, the sample pair label. If they belong to the same positive sample set or negative sample set, the true relationship label is +1, otherwise it is 0.

[0109] In operation S450 , a loss value is determined according to the similarity and the sample pair label based on a preset loss function.

[0110] In operation S460, it is determined whether the loss value satisfies a preset iteration condition. If not, operation S470 is performed; if so, operation S480 is performed.

[0111] In operation S470 , network parameters of the twin network are adjusted, and then operation S440 is performed.

[0112] In operation S480, it is determined that the network parameter when the loss value satisfies the preset iteration condition is an audio detection and positioning model.

[0113] According to an embodiment of the present invention, a twin network includes a first subnetwork and a second subnetwork; a sample pair includes a first sample frame and a second sample frame; the sample pair is input into the twin network, and the similarity between the two sample frames in the output sample pair includes: inputting the first sample frame into the first subnetwork, and outputting a first sample feature corresponding to the first sample frame; inputting the second sample frame into the second subnetwork, and outputting a second sample feature corresponding to the second sample frame; and outputting the similarity between the first sample frame and the second sample frame based on the first sample feature and the second sample feature.

[0114] According to an embodiment of the present invention, the method further includes: acquiring a sample audio signal; performing signal decomposition processing on the sample audio signal using an empirical wavelet transform to obtain at least one submodal signal; and extracting the signal with the highest frequency from the at least one submodal signal to obtain a sample signal.

[0115] According to an embodiment of the present invention, the method of performing signal decomposition processing on the sample audio signal using the empirical wavelet transform is the same as the method of performing signal decomposition processing on the to-be-detected signal using the empirical wavelet transform, which will not be described in detail herein.

[0116] Figure 5 A schematic diagram of a training method for an audio detection and positioning model according to an embodiment of the present invention is shown.

[0117] like Figure 5 As shown in the figure, for the input speech sample signal, it is first sent to the EWT signal decomposition module to decompose the speech signal into sub-modal signals of the specified dimension N, and the highest frequency sequence is selected as the output of the module. Then, the high-frequency signal is divided into frames, and frame-level positive and negative sample sets are formed based on the labels of the speech sample signals, where positive samples refer to each frame signal of the non-generated area segment signal, and negative samples refer to each frame signal of the generated area segment signal. The sum of the two samples is randomly selected from the positive and negative sample data sets to form sample pairs, such as sample x1 and sample x2, and the sample pairs are sent to the twin network structure with MLP-MIXER as the backbone, and the features h1 and h2 of sample x1 and sample x2 are output respectively. Then, the features h1 and h2 are analyzed for similarity, and the similarity relationship between the sample pairs is output, and then the sigmoid function ( Figure 5 The normalized value sim(x1, x2) is obtained by normalizing the similarity relationship value (shown in the middle curve part), and the value range is [0, 1]. Then the true category relationship of the sample pair is used as the true label for loss (LOSS) calculation, and the network parameters are adjusted based on the loss until the network training is completed.

[0118] In one embodiment, the number of sub-modalities of the EWT signal decomposition module is N=3, the MLP-MIXER network adopts a 3-layer Mixer layer structure, the hidden layer dimension is 128, followed by a 3-layer fully connected network, and the similarity calculation of the sample pair is completed through the sigmoid activation function. After the model is constructed according to the above description, the model is trained according to the training method to obtain an audio detection and positioning model.

[0119] The training data used in the speech area generation detection and positioning method of the related technology is trained by uniformly marking the inserted and spliced ​​areas as F and the original audio areas as T. However, in actual situations, the audio of the inserted and spliced ​​areas may be highly similar to the original audio. This labeling method will confuse the network during the learning process.

[0120] According to the embodiment of the present invention, the present invention decomposes the signal at the frame level and then trains it in the form of sample pairs, so even a small sample data set can provide sufficient training data, so that the method proposed by the present invention is applicable to small sample data. At the same time, the speech region generation detection and positioning method based on the twin network structure makes the trained audio detection and positioning model have a higher accuracy.

[0121] Based on the above-mentioned area-generated audio detection and positioning method, the present invention also provides an area-generated audio detection and positioning device. Figure 6 The device is described in detail.

[0122] Figure 6 A structural block diagram of a regional audio generation detection and positioning device according to an embodiment of the present invention is shown.

[0123] like Figure 6 As shown, the area generation audio detection and positioning device 600 of this embodiment includes an extraction module 610, a frame division module 620, a combination module 630, an input and output module 640 and a positioning module 650.

[0124] The extraction module 610 is used to extract the signal of the target frequency in the audio to be detected by using a preset extraction method to obtain the signal to be detected. In one embodiment, the extraction module 610 can be used to perform the operation S110 described above, which will not be repeated here.

[0125] The framing module 620 is used to perform framing processing on the signal to be detected to obtain at least two frames to be detected, wherein the at least two frames to be detected have respective corresponding frame times, and the frame time represents the time range of the frame to be detected in the signal to be detected. In one embodiment, the framing module 620 can be used to perform the operation S120 described above, which will not be repeated here.

[0126] The combination module 630 is used to combine the frame to be detected with other frames to be detected in the at least two frames to be detected for each frame to be detected in the at least two frames to be detected, so as to generate at least one frame pair to be detected. In one embodiment, the combination module 630 can be used to perform the operation S130 described above, which will not be described in detail here.

[0127] The input-output module 640 is used to input at least one pair of frames to be detected into a pre-trained audio detection and positioning model, and output the similarity corresponding to at least one pair of frames to be detected. In one embodiment, the input-output module 640 can be used to perform the operation S140 described above, which will not be repeated here.

[0128] The positioning module 650 is used to detect and locate the generated segment from the audio to be detected according to the similarity corresponding to at least one pair of frames to be detected and the frame time corresponding to at least two frames to be detected. In one embodiment, the positioning module 650 can be used to perform the operation S150 described above, which will not be repeated here.

[0129] According to an embodiment of the present invention, any multiple modules among the extraction module 610, the framing module 620, the combination module 630, the input-output module 640 and the positioning module 650 can be combined into one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present invention, at least one of the extraction module 610, the framing module 620, the combination module 630, the input-output module 640 and the positioning module 650 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or can be implemented in any one of the three implementation modes of software, hardware and firmware or in a proper combination of any of them. Alternatively, at least one of the extraction module 610, the framing module 620, the combination module 630, the input / output module 640 and the positioning module 650 may be at least partially implemented as a computer program module, which may perform corresponding functions when executed.

[0130] Figure 7 A block diagram of an electronic device suitable for implementing the above method according to an embodiment of the present invention is shown.

[0131] like Figure 7 As shown, the electronic device according to an embodiment of the present invention includes a processor 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 708 to a random access memory (RAM) 703. The processor 701 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 701 may also include an onboard memory for caching purposes. The processor 701 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present invention.

[0132] In RAM 703, various programs and data required for the operation of the electronic device are stored. The processor 701, ROM 702 and RAM 703 are connected to each other via a bus 704. The processor 701 performs various operations of the method flow according to the embodiment of the present invention by executing the programs in ROM 702 and / or RAM 703. It should be noted that the program can also be stored in one or more memories other than ROM 702 and RAM 703. The processor 701 can also perform various operations of the method flow according to the embodiment of the present invention by executing the programs stored in the one or more memories.

[0133] According to an embodiment of the present invention, the electronic device may further include an input / output (I / O) interface 705, which is also connected to the bus 704. The electronic device may further include one or more of the following components connected to the I / O interface 705: an input portion 706 including a keyboard, a mouse, etc.; an output portion 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 708 including a hard disk, etc.; and a communication portion 709 including a network interface card such as a LAN card, a modem, etc. The communication portion 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed, so that a computer program read therefrom is installed into the storage portion 708 as needed.

[0134] The present invention also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiment; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present invention is implemented.

[0135] According to an embodiment of the present invention, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, it may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present invention, the computer-readable storage medium may include the ROM 702 and / or RAM 703 described above and / or one or more memories other than ROM 702 and RAM 703.

[0136] The embodiment of the present invention also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the above method provided by the embodiment of the present invention.

[0137] The computer program executes the above functions defined in the system / device of the embodiment of the present invention when it is executed by the processor 701. According to the embodiment of the present invention, the system, device, module, unit, etc. described above can be implemented by a computer program module.

[0138] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 707, and / or installed from the removable medium 711. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0139] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 707, and / or installed from the removable medium 711. When the computer program is executed by the processor 701, the above functions defined in the system of the embodiment of the present invention are performed. According to the embodiment of the present invention, the system, device, means, module, unit, etc. described above can be implemented by a computer program module.

[0140] According to an embodiment of the present invention, the program code for executing the computer program provided by the embodiment of the present invention can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (e.g., using an Internet service provider to connect through the Internet).

[0141] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0142] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present invention may be combined and / or combined in various ways, even if such combinations and / or combinations are not explicitly described in the present invention. In particular, the features described in the various embodiments and / or claims of the present invention may be combined and / or combined in various ways without departing from the spirit and teachings of the present invention. All of these combinations and / or combinations fall within the scope of the present invention.

[0143] The embodiments of the present invention are described above. However, these embodiments are only for the purpose of illustration, and are not intended to limit the scope of the present invention. Although each embodiment is described above, it does not mean that the measures in each embodiment cannot be used in combination. The scope of the present invention is defined by the attached claims and their equivalents. Without departing from the scope of the present invention, those skilled in the art may make various substitutions and modifications, which should all fall within the scope of the present invention.

Claims

1. A method for detecting and locating regionally generated audio, characterized in that: The method comprises: Using a preset extraction method, extracting a signal of a target frequency in the audio to be detected to obtain a signal to be detected, wherein the target frequency is a signal with the highest frequency in the audio to be detected, and the signal with the highest frequency includes background noise information; Performing frame processing on the signal to be detected to obtain at least two frames to be detected, wherein the at least two frames to be detected have respective corresponding frame times, and the frame times represent the time range in which the frames to be detected are located in the signal to be detected; For each of the at least two frames to be detected, combining the frame to be detected with other frames to be detected in the at least two frames to be detected, to generate at least one pair of frames to be detected; Inputting the at least one to-be-detected frame pair into a pre-trained audio detection and positioning model, and outputting the similarity corresponding to each of the at least one to-be-detected frame pair, wherein the similarity represents the similarity relationship of noise dynamic characteristics between two to-be-detected frames in the to-be-detected frame pair, wherein the audio detection and positioning model includes a sigmoid activation function, and the sigmoid activation function is used to calculate the similarity of the to-be-detected frame pair; According to the respective similarities of the at least one pair of frames to be detected and the respective frame times of the at least two frames to be detected, a segment is detected and located from the audio to be detected.

2. The method according to claim 1, characterized in that The detecting and locating the generated segment from the audio to be detected according to the respective similarities of the at least one pair of frames to be detected and the respective frame times of the at least two frames to be detected comprises: Generate a similarity matrix according to the similarities corresponding to the at least one pair of frames to be detected, wherein the similarity matrix is ​​arranged in the frame time sequence of the at least two frames to be detected; Determine the column or row in the similarity matrix where the similarity meets a preset threshold, and obtain a target row or a target column; According to the frame time of the to-be-detected frame corresponding to the target column or the target row, the generated segment in the to-be-detected audio is detected and located.

3. The method according to claim 2, characterized in that The method further comprises: Performing matrix visualization processing on the similarity matrix using a gray value image generation function to obtain a similarity intuitive graph; Display the similarity visualization diagram.

4. The method according to claim 1, characterized in that The detecting and locating the generated segment from the audio to be detected according to the respective similarities of the at least one pair of frames to be detected and the respective frame times of the at least two frames to be detected comprises: Extracting similarities that meet a preset threshold from the similarities corresponding to the at least one pair of frames to be detected to obtain candidate similarities; According to the frame time of the to-be-detected frame corresponding to the candidate similarity, a segment is detected and located from the to-be-detected audio.

5. The method according to claim 1, characterized in that The method of extracting a signal of a target frequency in the audio to be detected by using a preset extraction method to obtain the signal to be detected includes: Performing signal decomposition processing on the audio to be detected by using empirical wavelet transform to obtain at least one sub-modal signal; The signal with the highest frequency is extracted from the at least one sub-modal signal to obtain the signal to be detected.

6. The method according to claim 1, characterized in that The training method of the audio detection and positioning model includes: Acquire a sample signal, wherein the sample signal is a signal belonging to a target frequency in the sample audio signal; Performing frame processing on the sample signal to obtain a sample frame set, wherein each sample frame in the sample frame set has a corresponding sample frame label; Generate M sample pairs according to the sample frame set and the sample frame label corresponding to each of the sample frames, where M is a positive integer ≥ 1, and each of the sample pairs has a corresponding sample pair label; For each sample pair of the M sample pairs, input the sample pair into the twin network, and output the similarity between two sample frames in the sample pair; Based on a preset loss function, determining a loss value according to the similarity and the sample pair label; When the loss value does not satisfy the preset iteration condition, adjusting the network parameters of the twin network until the loss value satisfies the preset iteration condition; The network parameter determined when the loss value satisfies the preset iteration condition is the audio detection and positioning model.

7. The method according to claim 6, characterized in that The twin network includes a first sub-network and a second sub-network; the sample pair includes a first sample frame and a second sample frame; Inputting the sample pair into the twin network and outputting the similarity between two sample frames in the sample pair includes: Inputting the first sample frame into the first sub-network, and outputting a first sample feature corresponding to the first sample frame; Inputting the second sample frame into the second sub-network, and outputting second sample features corresponding to the second sample frame; The similarity between the first sample frame and the second sample frame is output according to the first sample feature and the second sample feature.

8. The method according to claim 6, characterized in that The method further comprises: Get a sample audio signal; Performing signal decomposition processing on the sample audio signal by using empirical wavelet transform to obtain at least one sub-modal signal; The signal with the highest frequency is extracted from the at least one sub-modal signal to obtain the sample signal.

9. The method according to claim 6, characterized in that The generating M sample pairs according to the sample frame set and the sample frame label corresponding to each sample frame comprises: According to the sample frame labels corresponding to the sample frames, the sample frame set is divided into a positive sample frame set and a negative sample frame set, wherein the positive sample frames in the positive sample frame set belong to the non-generated region segment in the sample signal, and the negative sample frames in the negative sample frame set belong to the generated region segment in the sample signal; Generate M1 first positive sample pairs according to the positive sample frame set, wherein each of the first positive sample pairs includes two positive sample frames, 1≤M1≤M; Generate M2 second positive sample pairs according to the negative sample frame set, wherein each of the second positive sample pairs includes two of the negative sample frames, and 1≤M2≤M; Generate M3 negative sample pairs according to the positive sample frame set and the negative sample frame set, wherein each negative sample pair includes one positive sample frame and one negative sample frame, wherein 1≤M3≤M, M1+M2+M3=M; The M sample pairs are generated according to the M1 first positive sample pairs, the M2 second positive sample pairs, and the M3 negative sample pairs.

10. A regional generated audio detection and positioning device, characterized in that: The device comprises: An extraction module, used to extract a signal of a target frequency in the audio to be detected by using a preset extraction method to obtain a signal to be detected, wherein the target frequency is a signal with the highest frequency in the audio to be detected, and the signal with the highest frequency includes background noise information; A framing module, used for performing framing processing on the signal to be detected to obtain at least two frames to be detected, wherein the at least two frames to be detected have respective corresponding frame times, and the frame time represents a time range in which the frame to be detected is located in the signal to be detected; A combining module, configured to combine, for each of the at least two frames to be detected, the frame to be detected with other frames to be detected in the at least two frames to be detected, respectively, to generate at least one pair of frames to be detected; An input-output module, used for inputting the at least one to-be-detected frame pair into a pre-trained audio detection and positioning model, and outputting the similarity corresponding to each of the at least one to-be-detected frame pair, wherein the similarity represents the similarity relationship of the noise dynamic characteristics between two to-be-detected frames in the to-be-detected frame pair, wherein the audio detection and positioning model includes a sigmoid activation function, and the sigmoid activation function is used to calculate the similarity of the to-be-detected frame pair; The positioning module is used to detect and locate the generated segment from the audio to be detected according to the similarity corresponding to the at least one pair of frames to be detected and the frame time corresponding to the at least two frames to be detected.

Citation Information

Patent Citations

  • Video processing method, system and device and storage medium

    CN114299944A

  • Audio data processing method and device, electronic equipment and medium

    CN115294947A

  • Repeated audio detection method and device of voice, and storage medium

    CN115641856A

  • Voice keyword detection and positioning method and device based on multiple view angles

    CN116453514A

  • Dialect classification method and system based on self-supervised voice representation

    CN116631375A