Security authentication method based on secure computer

By collecting and comparing the user's voice sample voiceprint vector in a secure computer, the problem of easy cracking of the network security management system and unstructured data processing in the existing technology is solved, and more efficient user authentication and security are achieved.

CN118568701AInactive Publication Date: 2024-08-30QINGDAO UNIV

Patent Information

Application Number
CN202411025536.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-08-30
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing computer network security management system is prone to being cracked, forged and lost when faced with attacks by speech synthesis and voice changing technology. It is difficult to meet the increasing security requirements, and traditional computer log analysis tools are difficult to process unstructured data. , limiting the timely detection and response of security incidents.

Method used

Using a secure computer-based security authentication method, the user's voice sample is collected through a voice collection device, the voiceprint vector is extracted, and stored in a secure storage unit with the identity information. When the user is authenticated, the voiceprint vector of the current voice sample is compared with the registered one. The voiceprint vector is matched and the matching coefficient is determined for authentication.

Benefits of technology

It effectively reduces the risk of being impersonated, improves user experience and convenience, enhances security, and meets the needs of modern society for convenience and contactless operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568701A
    Figure CN118568701A
Patent Text Reader

Abstract

The invention relates to the technical field of computer identity recognition, and particularly discloses a security authentication method based on a secure computer, which comprises the following steps: providing an initial voice sample by a user through voice acquisition equipment, analyzing and processing the acquired initial voice sample by the secure computer, extracting a voiceprint vector of the user, and sending the voiceprint vector to the user; the method comprises the following steps: acquiring a current voice sample of a user, storing the current voice sample and identity information of the user in a secure storage unit, when the user needs identity authentication, providing the current voice sample by the user through voice acquisition equipment again, processing and analyzing the current voice sample by a secure computer, extracting a voiceprint vector corresponding to the current voice sample, and sending the voiceprint vector to the user; and the voiceprint vector is compared with the user voiceprint vector registered in the secure storage unit, so that the matching coefficient of the current voice sample corresponding to the user is determined, the risk of masquerading is effectively reduced, the user can securely access the service through a simple voice instruction without memorizing a complex password or carrying a physical key, and the user experience is improved. And the user experience and convenience are greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of computer identity recognition and relates to a security authentication method based on a secure computer. Background Art

[0002] In the context of the digital age, the widespread application of computer network technology has brought serious security issues. The continuous evolution of network attack methods, especially the unsafe authentication behaviors using speech synthesis and voice changing technology, has brought new challenges to the existing network security management system.

[0003] Traditional identity authentication methods, such as static passwords and hardware tokens, are vulnerable to cracking, forgery, and loss, making it difficult to meet the increasing security requirements. At the same time, real-time monitoring and security auditing of massive network communication data face bottlenecks in efficiency and accuracy. Traditional computer log analysis tools are difficult to handle unstructured data such as audio, which greatly limits the timely discovery and response of security incidents. Summary of the invention

[0004] In view of the above problems in the prior art, the present invention provides a security authentication method based on a secure computer, which is used to solve the above technical problems.

[0005] In order to achieve the above purpose and other purposes, the technical solution adopted by the present invention is as follows: In one aspect, the present invention provides a security authentication method based on a secure computer, the method comprising the following steps: Step 1: System initialization: configuring hardware and software devices in the secure computer, including sound collection equipment, data processing unit and secure storage unit; Step 2: User registration: The user provides his / her initial voice sample through the sound collection device. The secure computer analyzes and processes the collected initial voice sample, extracts the user's voiceprint vector, and stores it together with the user's identity information in a secure storage unit. Step 3: User authentication: When the user needs to authenticate his / her identity, the user again provides his / her current voice sample through the sound collection device. The secure computer processes and analyzes the current voice sample, extracts the voiceprint vector corresponding to the current voice sample, and compares it with the registered user voiceprint vector in the secure storage unit. Step 4: Authentication comparison: The security computer determines the matching coefficient of the user corresponding to the current voice sample based on the comparison result; Step 5, system operation terminal: If the user's matching coefficient corresponding to the current voice sample is higher than the set threshold, the authentication is successful, allowing the user to access protected resources or perform sensitive operations. If the user's matching coefficient corresponding to the current voice sample is lower than the threshold, the authentication fails and the user's access or operation request is denied.

[0006] Exemplarily, the collected initial voice sample is analyzed and processed, and the specific operation process is as follows: Step S211, extracting features from the collected initial voice sample, thereby converting the voice signal in the user's initial voice sample into feature vectors; Step S212, preprocessing the initial voice sample, and recording the preprocessed initial voice sample as a reference initial voice sample; Step S23: performing speech recognition on the user's reference initial speech sample to obtain a text representation of the user's reference initial speech sample; Step S24: Generate the user's voiceprint vector by combining voiceprint recognition technology.

[0007] Exemplarily, in step S21, the speech signal in the user's corresponding reference initial speech sample is converted into each feature vector, and the specific process is as follows: Step S21-1: extracting the original speech signal at each time point from the user's reference initial speech sample , t is the number of each time point, thus obtaining the speech signal after pre-emphasis processing at each time point , c is the desired weighting coefficient, is the original speech signal at the t-1th time point; The speech signals after pre-emphasis processing at each time point are summarized and integrated, and divided into frames by a set number of milliseconds. The speech signals after pre-emphasis processing of each frame are simply referred to as the speech signals of each frame, and the window function is applied to the speech signals of each frame to obtain the speech signals corresponding to each frame after the window function processing. ,in is the window function, is the speech signal of the nth frame, and n is the number of each frame; Step S21-2, apply fast Fourier transform to the speech signal corresponding to each frame after window function processing, convert it from time domain signal to frequency domain signal, thereby obtaining the sampling frequency f1, FFT point number N and complex spectrum in the FFT result ; Calculate the frequency components of the FFT , k is the frequency index; Calculate the frequency resolution of the FFT ; Step S21-3, applying a set of Mel filters in the frequency domain, obtaining a total number of filters M in the set of Mel filters, and sequentially numbering the filters in the set of Mel filters as m=1,2,...M; Map the frequency resolution of FFT to the Mel scale in each filter, and determine the key points of each filter on the Mel scale, where each key point is divided into the center frequency And the frequency points on the left and right sides and , thus calculating the center frequency of each frequency component of each filter in the FFT spectrum is the actual frequency of the hth frequency component, and h is the number of each frequency component.

[0008] Exemplarily, in step S21, the speech signal in the user's corresponding reference initial speech sample is converted into each feature vector, and the specific operation process also includes the following steps: Step S21-4: Calculate the energy of the output of each filter, and then take the logarithm to obtain the logarithmic energy of the output of each filter. ; Step S21-5: Perform discrete cosine transform on the logarithmic energy of the output of each filter to obtain the Mel-frequency cepstrum coefficient MFCC. The specific calculation formula is: , M is the total number of filters in a set of Mel filters, and i is the index of the cepstral coefficient; Step S21-6: The cepstral coefficients are arranged in descending order according to their index numbers, and the Mel-frequency cepstral coefficients within a set arrangement interval are selected as feature vectors, thereby obtaining each feature vector in the user's corresponding reference initial voice sample.

[0009] Exemplarily, in step S22, the initial speech sample is preprocessed, and the specific process is as follows: Filter the silent segment speech samples from the initial speech samples, and then calculate the power spectrum of the noise corresponding to the initial speech samples based on the silent segment speech samples , k is the frequency index, M represents the number of frames of speech samples in the silent segment, is the Fourier transform of the nth frame at the kth frequency index; Comprehensive analysis obtains the signal spectrum of each frame of the initial speech sample after filtering at each frequency index , is the estimated frequency spectrum of the nth frame at the kth frequency index, is the spectrum of the nth frame at the kth frequency index; The signal spectrum of each frame after filtering at each frequency index is introduced into the initial speech sample to obtain a reference initial speech sample.

[0010] Exemplarily, the text representation of the user's reference initial voice sample is obtained in step S23, and the specific process is as follows: The text representation of the user's reference initial speech sample is obtained by recognizing the text representation of the user's reference initial speech sample using software means configured in the secure computer.

[0011] Exemplarily, the user's voiceprint vector is generated in step S24, and the specific process is as follows: According to the analysis method of converting the speech signal in the user's initial speech sample into each feature vector in step S211, the feature vectors of the user's corresponding reference initial speech sample are obtained by similar analysis; The GMM model is trained using the feature vectors of the user's corresponding reference initial voice sample, thereby obtaining the user's voiceprint vector.

[0012] Exemplarily, the GMM model is trained using the feature vectors of the user's corresponding reference initial voice sample. The specific training process is as follows: A1. Obtain the feature vectors of the user's corresponding reference initial voice sample and mark them as , r is the number of each feature vector in the user's corresponding reference initial voice sample, r = 1, 2, .. q, which is composed of the feature vector set of the user's corresponding reference initial voice sample ; A2. Train a GMM model containing B Gaussian distributions, whose probability density function can be expressed as follows: , is the probability of the rth feature vector of the user corresponding to the reference initial speech sample, b is the number of each Gaussian distribution, b=1,2,...B, is the mixture weight of the b-th Gaussian distribution, So is the mean, is the probability density function of the Gaussian distribution of the covariance matrix; A3. Calculate the posterior probability that each feature vector of the user's corresponding reference initial speech sample comes from each Gaussian distribution , where the denominator is the sum of all b Gaussian distributions at position The weighted sum of the probability density function values ​​of , B is the total number of Gaussian distributions; A4, calculating the covariance matrix of each feature vector of the user corresponding to the reference initial voice sample from each Gaussian distribution; A5. Compare the covariance matrices of the feature vectors of the user's corresponding reference initial voice sample from each Gaussian distribution with the set threshold. If the covariance matrices of the feature vectors of the user's corresponding reference initial voice sample from each Gaussian distribution are greater than the set threshold, repeat steps A3-A4 until the covariance matrices of the feature vectors of the user's corresponding reference initial voice sample from each Gaussian distribution are all less than the set threshold, indicating that the GMM model training is completed.

[0013] Exemplarily, the matching coefficient of the user corresponding to the current voice sample is determined, and the specific determination process is as follows: Get the user's voiceprint vector and record it as E1; Obtain the voiceprint vector corresponding to the current voice sample of the user, and record it as E2; Using the cosine similarity calculation formula , determine the matching coefficient of the user corresponding to the current voice sample , represents the dot product of vectors, They respectively represent the user's voiceprint vector and the norm of the user's voiceprint vector corresponding to the current speech sample.

[0014] Another aspect of the present invention provides a secure computer-based security authentication device, including an electronic device and a computer-readable storage medium; The electronic device comprises a processor, a memory and a communication bus, wherein the memory stores a computer-readable program executable by the processor; The communication bus realizes the connection and communication between the processor and the memory; When the processor executes the computer-readable program, the steps in the above-mentioned security authentication method based on a secure computer are implemented; The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps in the above-mentioned security authentication method based on a secure computer.

[0015] As described above, the present invention provides a security authentication method based on a secure computer, which has at least the following beneficial effects: The present invention provides a security authentication method based on a secure computer. The user provides his initial voice sample through a sound collection device. The secure computer analyzes and processes the collected initial voice sample, extracts the user's voiceprint vector, and stores it together with the user's identity information in a secure storage unit. When the user needs to perform identity authentication, the user provides his current voice sample again through the sound collection device. The secure computer processes and analyzes the current voice sample, extracts the voiceprint vector corresponding to the current voice sample, and compares it with the registered user voiceprint vector in the secure storage unit, thereby determining the matching coefficient of the user corresponding to the current voice sample, effectively reducing the risk of being impersonated. This means that users can securely access services through simple voice commands without having to remember complex passwords or carry physical keys, greatly improving user experience and convenience; in addition, with the growth of remote work and digital services, voice recognition not only enhances security, but also meets the needs of modern society for convenience and contactless operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for describing the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0017] Figure 1 It is a schematic diagram of the connection of each step of the method of the present invention.

[0018] Figure 2 It is a schematic diagram of the structure of the device shown in the present invention. DETAILED DESCRIPTION

[0019] The above contents in combination with the implementation of the present invention are merely examples and explanations of the concept of the present invention. The technical personnel in the relevant technical field may make various modifications or supplements to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the concept of the invention or exceed the scope defined by the claims, they shall all fall within the protection scope of the present invention. Example

[0020] See also Figure 1 As shown, a security authentication method based on a secure computer comprises the following steps: Step 1: System initialization: configuring hardware and software devices in the secure computer, including sound collection equipment, data processing unit and secure storage unit; Step 2: User registration: The user provides his / her initial voice sample through the sound collection device. The secure computer analyzes and processes the collected initial voice sample, extracts the user's voiceprint vector, and stores it together with the user's identity information in a secure storage unit. On the basis of the above embodiment, the collected initial voice sample is analyzed and processed, and the specific operation process is as follows: Step S211, extracting features from the collected initial voice sample, thereby converting the voice signal in the user's initial voice sample into feature vectors; Step S212, preprocessing the initial voice sample, and recording the preprocessed initial voice sample as a reference initial voice sample; Step S23: performing speech recognition on the user's reference initial speech sample to obtain a text representation of the user's reference initial speech sample; Step S24: Generate the user's voiceprint vector by combining voiceprint recognition technology.

[0021] On the basis of the above embodiment, in step S21, the speech signal in the user's corresponding reference initial speech sample is converted into each feature vector, and the specific process is as follows: Step S21-1: extracting the original speech signal at each time point from the user's reference initial speech sample , t is the number of each time point, thus obtaining the speech signal after pre-emphasis processing at each time point , c is the desired weighting coefficient, is the original speech signal at the t-1th time point; Pre-emphasis is a step in speech signal processing that aims to increase the energy of the high-frequency part of the speech signal through filtering, thereby compensating for the high-frequency attenuation caused by the pronunciation system and also helping to improve the spectral resolution of the speech signal.

[0022] The speech signals after pre-emphasis processing at each time point are summarized and integrated, and divided into frames by a set number of milliseconds. The speech signals after pre-emphasis processing of each frame are simply referred to as the speech signals of each frame, and the window function is applied to the speech signals of each frame to obtain the speech signals corresponding to each frame after the window function processing. ,in is the window function, is the speech signal of the nth frame, and n is the number of each frame; Step S21-2, apply fast Fourier transform to the speech signal corresponding to each frame after window function processing, convert it from time domain signal to frequency domain signal, thereby obtaining the sampling frequency f1, FFT point number N and complex spectrum in the FFT result ; Calculate the frequency components of the FFT , k is the frequency index; Calculate the frequency resolution of the FFT ; Step S21-3, applying a set of Mel filters in the frequency domain, obtaining a total number of filters M in the set of Mel filters, and sequentially numbering the filters in the set of Mel filters as m=1,2,...M; Map the frequency resolution of FFT to the Mel scale in each filter, and determine the key points of each filter on the Mel scale, where each key point is divided into the center frequency And the frequency points on the left and right sides and , thus calculating the center frequency of each frequency component of each filter in the FFT spectrum is the actual frequency of the hth frequency component, and h is the number of each frequency component; Step S21-4: Calculate the energy of the output of each filter, and then take the logarithm to obtain the logarithmic energy of the output of each filter. ; Step S21-5: Perform discrete cosine transform on the logarithmic energy of the output of each filter to obtain the Mel-frequency cepstrum coefficient MFCC. The specific calculation formula is: , M is the total number of filters in a set of Mel filters, and i is the index of the cepstral coefficient; Step S21-6: The cepstral coefficients are arranged in descending order according to their index numbers, and the Mel-frequency cepstral coefficients within a set arrangement interval are selected as feature vectors, thereby obtaining each feature vector in the user's corresponding reference initial voice sample.

[0023] It should be added that the 2nd to 13th Mel-frequency cepstral coefficients are selected as feature vectors.

[0024] On the basis of the above embodiment, in step S22, the initial speech sample is preprocessed, and the specific process is as follows: Filter the silent segment speech samples from the initial speech samples, and then calculate the power spectrum of the noise corresponding to the initial speech samples based on the silent segment speech samples , k is the frequency index, M represents the number of frames of speech samples in the silent segment, is the Fourier transform of the nth frame at the kth frequency index; Comprehensive analysis obtains the signal spectrum of each frame of the initial speech sample after filtering at each frequency index , is the estimated frequency spectrum of the nth frame at the kth frequency index, is the spectrum of the nth frame at the kth frequency index; The signal spectrum of each frame after filtering at each frequency index is introduced into the initial speech sample to obtain a reference initial speech sample.

[0025] On the basis of the above embodiment, the text representation of the user's reference initial voice sample is obtained in step S23, and the specific process is as follows: The text representation of the user's reference initial speech sample is obtained by recognizing the text representation of the user's reference initial speech sample using software means configured in the secure computer.

[0026] It should be added that the above-mentioned text representation operation of identifying the user's reference initial voice sample is implemented by using pseudo code, and the specific pseudo code is as follows: def speech_to_text(audio_signal): # Preprocessing processed_signal = preprocess(audio_signal) # Feature extraction features = extract_features(processed_signal) # Acoustic model prediction acoustic_predictions = acoustic_model.predict(features) # Language model assisted decoding text = decode(acoustic_predictions, language_model) # Post-processing processed_text = postprocess(text) return processed_text Based on the above embodiment, the user's voiceprint vector is generated in step S24, and the specific process is as follows: According to the analysis method of converting the speech signal in the user's initial speech sample into each feature vector in step S211, the feature vectors of the user's corresponding reference initial speech sample are obtained by similar analysis; The GMM model is trained using the feature vectors of the user's corresponding reference initial voice sample, thereby obtaining the user's voiceprint vector.

[0027] On the basis of the above embodiment, the feature vectors of the user's corresponding reference initial speech sample are used to train the GMM model. The specific training process is as follows: A1. Obtain the feature vectors of the user's corresponding reference initial voice sample and mark them as , r is the number of each feature vector in the user's corresponding reference initial voice sample, r = 1, 2, .. q, which is composed of the feature vector set of the user's corresponding reference initial voice sample ; A2. Train a GMM model containing B Gaussian distributions, whose probability density function can be expressed as follows: , is the probability of the rth feature vector of the user corresponding to the reference initial speech sample, b is the number of each Gaussian distribution, b=1,2,...B, is the mixture weight of the b-th Gaussian distribution, So is the mean, is the probability density function of the Gaussian distribution of the covariance matrix; A3. Calculate the posterior probability that each feature vector of the user's corresponding reference initial speech sample comes from each Gaussian distribution , where the denominator is the sum of all b Gaussian distributions at position The weighted sum of the probability density function values ​​of , B is the total number of Gaussian distributions; A4, calculating the covariance matrix of each feature vector of the user corresponding to the reference initial voice sample from each Gaussian distribution; It should be added that the calculation of each feature vector of the user's corresponding reference initial voice sample comes from the mixed weights of each Gaussian distribution ; Calculate the mean of each feature vector from each Gaussian distribution corresponding to the user's reference initial voice sample ; Finally, the covariance matrix of each Gaussian distribution of each feature vector of the user's corresponding reference initial voice sample is calculated. , T is the bias of the matrix.

[0028] A5. Compare the covariance matrices of the feature vectors of the user's corresponding reference initial voice sample from each Gaussian distribution with the set threshold. If the covariance matrices of the feature vectors of the user's corresponding reference initial voice sample from each Gaussian distribution are greater than the set threshold, repeat steps A3-A4 until the covariance matrices of the feature vectors of the user's corresponding reference initial voice sample from each Gaussian distribution are all less than the set threshold, indicating that the GMM model training is completed.

[0029] Step 3: User authentication: When the user needs to authenticate his / her identity, the user again provides his / her current voice sample through the sound collection device. The secure computer processes and analyzes the current voice sample, extracts the voiceprint vector corresponding to the current voice sample, and compares it with the registered user voiceprint vector in the secure storage unit. Step 4: Authentication comparison: The security computer determines the matching coefficient of the user corresponding to the current voice sample based on the comparison result; Based on the above embodiment, the matching coefficient of the user corresponding to the current voice sample is determined, and the specific determination process is as follows: Get the user's voiceprint vector and record it as E1; Obtain the voiceprint vector corresponding to the current voice sample of the user, and record it as E2; Using the cosine similarity calculation formula , determine the matching coefficient of the user corresponding to the current voice sample , represents the dot product of vectors, They respectively represent the user's voiceprint vector and the norm of the user's voiceprint vector corresponding to the current speech sample.

[0030] Step 5, system operation terminal: If the user's matching coefficient corresponding to the current voice sample is higher than the set threshold, the authentication is successful, allowing the user to access protected resources or perform sensitive operations. If the user's matching coefficient corresponding to the current voice sample is lower than the threshold, the authentication fails and the user's access or operation request is denied.

[0031] Example 2 According to an exemplary embodiment, a security authentication device based on a secure computer includes: an electronic device and a computer-readable storage medium; Figure 2 It is a structural diagram of a security authentication device based on a secure computer provided in an embodiment of the present application. The device may have relatively large differences due to different configurations or performances, and can include one or more processors (Central Processing Units, CPU) and one or more memories, wherein at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor to implement the above-mentioned security authentication method based on a secure computer.

[0032] The electronic device comprises a processor, a memory and a communication bus, wherein the memory stores a computer-readable program executable by the processor; The communication bus realizes the connection and communication between the processor and the memory; The processor implements the above-mentioned security authentication method based on a secure computer by calling the computer program stored in the memory and executing the computer readable program; The computer-readable storage medium stores one or more programs. When executed on an electronic device, the one or more programs can be executed by one or more processors to provide a user input interface to implement the above-mentioned security authentication method based on a secure computer.

[0033] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0034] It should be understood that determining B based on A does not mean determining B only based on A. B can also be determined based on A and / or other information.

[0035] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0036] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A secure authentication method based on a secure computer, It is characterized in that include: Step 1: System initialization: configuring hardware and software devices in the secure computer, including sound collection equipment, data processing unit and secure storage unit; Step 2: User registration: The user provides his / her initial voice sample through the sound collection device. The secure computer analyzes and processes the collected initial voice sample, extracts the user's voiceprint vector, and stores it together with the user's identity information in a secure storage unit. Step 3: User authentication: When the user needs to authenticate his / her identity, the user again provides his / her current voice sample through the sound collection device. The secure computer processes and analyzes the current voice sample, extracts the voiceprint vector corresponding to the current voice sample, and compares it with the registered user voiceprint vector in the secure storage unit. Step 4: Authentication comparison: The security computer determines the matching coefficient of the user corresponding to the current voice sample based on the comparison result; Step 5, system operation terminal: If the user's matching coefficient corresponding to the current voice sample is higher than the set threshold, the authentication is successful, allowing the user to access protected resources or perform sensitive operations. If the user's matching coefficient corresponding to the current voice sample is lower than the threshold, the authentication fails and the user's access or operation request is denied.

2. A security authentication method based on a secure computer according to claim 1, It is characterized in that The collected initial voice samples are analyzed and processed. The specific operation process is as follows: Step S211, extracting features from the collected initial voice sample, thereby converting the voice signal in the user's initial voice sample into feature vectors; Step S212, preprocessing the initial voice sample, and recording the preprocessed initial voice sample as a reference initial voice sample; Step S23: performing speech recognition on the user's reference initial speech sample to obtain a text representation of the user's reference initial speech sample; Step S24: Generate the user's voiceprint vector by combining voiceprint recognition technology.

3. A security authentication method based on a secure computer according to claim 2, It is characterized in that In step S21, the speech signal in the user's corresponding reference initial speech sample is converted into each feature vector. The specific process is as follows: Step S21-1: extracting the original speech signal at each time point from the user's reference initial speech sample , t is the number of each time point, thus obtaining the speech signal after pre-emphasis processing at each time point , c is the desired weighting coefficient, is the original speech signal at the t-1th time point; The pre-emphasized speech signals at each time point are summarized and integrated, and divided into frames by a set number of milliseconds. The pre-emphasized speech signals of each frame are simply referred to as the speech signals of each frame, and the window function is applied to the speech signals of each frame to obtain the windowed speech signals of each frame. ,in is the window function, is the speech signal of the nth frame, and n is the number of each frame; Step S21-2, apply fast Fourier transform to the speech signal corresponding to each frame after window function processing, convert it from time domain signal to frequency domain signal, thereby obtaining the sampling frequency f1, FFT point number N and complex spectrum in the FFT result ; Calculate the frequency components of the FFT , k is the frequency index; Calculate the frequency resolution of the FFT ; Step S21-3, applying a set of Mel filters in the frequency domain, obtaining a total number of filters M in the set of Mel filters, and sequentially numbering the filters in the set of Mel filters as m=1,2,...M; Map the frequency resolution of FFT to the Mel scale in each filter, and determine the key points of each filter on the Mel scale, where each key point is divided into the center frequency And the frequency points on the left and right sides and , thus calculating the center frequency of each frequency component of each filter in the FFT spectrum is the actual frequency of the hth frequency component, and h is the number of each frequency component.

4. A security authentication method based on a secure computer according to claim 3, It is characterized in that In step S21, the speech signal in the user's corresponding reference initial speech sample is converted into each feature vector. The specific operation process also includes the following steps: Step S21-4: Calculate the energy of the output of each filter, and then take the logarithm to obtain the logarithmic energy of the output of each filter. ; Step S21-5: Perform discrete cosine transform on the logarithmic energy of the output of each filter to obtain the Mel-frequency cepstrum coefficient MFCC. The specific calculation formula is: , M is the total number of filters in a set of Mel filters, and i is the index of the cepstral coefficient; Step S21-6: The cepstral coefficients are arranged in descending order according to their index numbers, and the Mel-frequency cepstral coefficients within a set arrangement interval are selected as feature vectors, thereby obtaining each feature vector in the user's corresponding reference initial voice sample.

5. A security authentication method based on a secure computer according to claim 3, It is characterized in that In step S22, the initial speech sample is preprocessed, and the specific process is as follows: Filter the silent segment speech samples from the initial speech samples, and then calculate the power spectrum of the noise corresponding to the initial speech samples based on the silent segment speech samples , k is the frequency index, M represents the number of frames of speech samples in the silent segment, is the Fourier transform of the nth frame at the kth frequency index; Comprehensive analysis obtains the signal spectrum of each frame of the initial speech sample after filtering at each frequency index , is the estimated frequency spectrum of the nth frame at the kth frequency index, is the spectrum of the nth frame at the kth frequency index; The signal spectrum of each frame after filtering at each frequency index is introduced into the initial speech sample to obtain a reference initial speech sample.

6. A security authentication method based on a secure computer according to claim 5, It is characterized in that In step S23, the text representation of the user's reference initial voice sample is obtained, and the specific process is as follows: The text representation of the user's reference initial speech sample is obtained by recognizing the text representation of the user's reference initial speech sample using software means configured in the secure computer.

7. A security authentication method based on a secure computer according to claim 6, It is characterized in that In step S24, the user's voiceprint vector is generated. The specific process is as follows: According to the analysis method of converting the speech signal in the user's initial speech sample into each feature vector in step S211, the feature vectors of the user's corresponding reference initial speech sample are obtained by similar analysis; The GMM model is trained using the feature vectors of the user's corresponding reference initial voice sample, thereby obtaining the user's voiceprint vector.

8. A security authentication method based on a secure computer according to claim 7, It is characterized in that The GMM model is trained using the feature vectors of the user's corresponding reference initial speech sample. The specific training process is as follows: A1. Obtain the feature vectors of the user's corresponding reference initial voice sample and mark them as , r is the number of each feature vector in the user's corresponding reference initial voice sample, r = 1, 2, .. q, which is composed of the feature vector set of the user's corresponding reference initial voice sample ; A2. Train a GMM model containing B Gaussian distributions, whose probability density function can be expressed as follows: , is the probability of the rth feature vector of the user corresponding to the reference initial speech sample, b is the number of each Gaussian distribution, b=1,2,...B, is the mixture weight of the b-th Gaussian distribution, So is the mean, is the probability density function of the Gaussian distribution of the covariance matrix; A3. Calculate the posterior probability that each feature vector of the user's corresponding reference initial speech sample comes from each Gaussian distribution , where the denominator is the sum of all b Gaussian distributions at position The weighted sum of the probability density function values ​​of , B is the total number of Gaussian distributions; A4, calculating the covariance matrix of each feature vector of the user corresponding to the reference initial voice sample from each Gaussian distribution; A5. Compare the covariance matrices of the feature vectors of the user's corresponding reference initial voice sample from each Gaussian distribution with the set threshold. If the covariance matrices of the feature vectors of the user's corresponding reference initial voice sample from each Gaussian distribution are greater than the set threshold, repeat steps A3-A4 until the covariance matrices of the feature vectors of the user's corresponding reference initial voice sample from each Gaussian distribution are all less than the set threshold, indicating that the GMM model training is completed.

9. A security authentication method based on a secure computer according to claim 1, It is characterized in that Determine the matching coefficient of the user corresponding to the current voice sample. The specific determination process is as follows: Get the user's voiceprint vector and record it as E1; Obtain the voiceprint vector corresponding to the current voice sample of the user, and record it as E2; Using the cosine similarity calculation formula , determine the matching coefficient of the user corresponding to the current voice sample , represents the dot product of vectors, They respectively represent the user's voiceprint vector and the norm of the user's voiceprint vector corresponding to the current speech sample.

10. A security authentication device based on a secure computer, Features: It is implemented based on a secure computer-based security authentication method according to any one of claims 1 to 9, comprising an electronic device and a computer-readable storage medium; The electronic device comprises a processor, a memory and a communication bus, wherein the memory stores a computer-readable program executable by the processor; The communication bus realizes the connection and communication between the processor and the memory; When the processor executes the computer-readable program, the steps in the secure computer-based security authentication method according to any one of claims 1 to 9 are implemented; The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps in a secure computer-based security authentication method as described in any one of claims 1-9.

Citation Information

Patent Citations

  • Music noise judgment method and voice noise elimination method

    CN102314883A

  • Electronic device, voiceprint-based authentication method and storage medium

    CN107993071A

Cited By

  • Electric toy car control method and system based on voice auxiliary operation

    CN119673158A