Bluetooth headset noise reduction processing method, device, equipment and storage medium

Through the combination of multi-microphone array and Bayesian optimization network, Bluetooth headsets can provide efficient and stable noise reduction effects in complex noise environments, solving the shortcomings of existing technologies in high-frequency and multi-source noise processing, and achieving individuality noise reduction and intelligent control.

CN118368561BActive Publication Date: 2024-09-06SHENZHEN LIGHKEEP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing Bluetooth headset noise reduction technology is not effective when faced with complex and changeable noise environments, especially the processing effect of high-frequency, sudden or multi-source noise, and lacks real-time adaptability and personalized adjustment capabilities. , resulting in poor user experience.

Method used

Multiple microphone arrays are used to collect environmental noise data, and the noise spectrogram and characteristic parameters are obtained through extended Kalman filtering algorithm processing. Time-frequency masking and adaptive filtering are performed, and the Bayesian optimization network is combined with the Bayesian optimization network to analyze the noise environment characteristics and dynamically match the noise reduction. mode and adjust in real time to cope with different noise environments.

Benefits of technology

It significantly improves the noise reduction effect and stability of Bluetooth headsets in complex noise environments, meets the diverse needs of users, provides a high-quality listening experience, and improves user satisfaction through intelligent pattern matching and user interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118368561B
    Figure CN118368561B
Patent Text Reader

Abstract

The present application relates to the field of audio processing technology, and discloses a method, device, equipment and storage medium for noise reduction processing of Bluetooth headsets. The method comprises: collecting environmental noise data, performing signal processing on the environmental noise data, obtaining a noise spectrum diagram and characteristic parameters; performing time-frequency masking processing on the environmental noise data according to the noise spectrum diagram and characteristic parameters to obtain an active noise reduction signal; performing adaptive filtering processing on the active noise reduction signal to obtain a filtered noise reduction signal; performing noise environment analysis on the filtered noise reduction signal to obtain noise environment characteristics; matching a target noise reduction mode according to the noise environment characteristics; collecting user noise reduction requirements in real time, and based on the user noise reduction requirements, controlling the noise reduction of the Bluetooth headset according to the target noise reduction mode and the filtered noise reduction signal. The present application improves the efficiency and accuracy of noise reduction processing of Bluetooth headsets.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of audio processing, and in particular to a Bluetooth headset noise reduction processing method, device, equipment and storage medium. Background Art

[0002] At present, Bluetooth headsets are widely used in various daily life and work scenarios, and their noise reduction function has become an important factor that users pay attention to. Existing Bluetooth headset noise reduction technologies are mainly divided into two categories: active noise reduction (ANC) and passive noise reduction (PNC). Active noise reduction technology collects environmental noise through a built-in microphone and generates sound waves with opposite phases to cancel interference, thereby reducing noise. Passive noise reduction technology uses physical structure design, sound insulation materials and the closedness of headphones to block external noise. These two technologies have improved the user's auditory experience to a certain extent.

[0003] However, the existing Bluetooth headset noise reduction technology still has obvious shortcomings when facing complex and changeable noise environments. Active noise reduction technology works better for stable, low-frequency noise, but is not effective when dealing with high-frequency, sudden or multi-source noise; passive noise reduction technology relies on the physical structure of the headset and is difficult to cope with noise changes in different environments. In addition, existing technologies usually use noise reduction algorithms with fixed parameters, lack the ability to adapt to the noise environment in real time, and cannot be dynamically adjusted according to the user's personalized needs, resulting in less than ideal noise reduction effects and poor user experience. Summary of the invention

[0004] The present application provides a Bluetooth headset noise reduction processing method, device, equipment and storage medium for improving the efficiency and accuracy of Bluetooth headset noise reduction processing.

[0005] In a first aspect, the present application provides a Bluetooth headset noise reduction processing method, the Bluetooth headset noise reduction processing method comprising: collecting environmental noise data through a plurality of microphone arrays built into the Bluetooth headset, performing signal processing on the environmental noise data through an extended Kalman filter algorithm, and obtaining a noise spectrum diagram and characteristic parameters;

[0006] According to the noise spectrum diagram and the characteristic parameters, the environmental noise data is subjected to time-frequency masking processing to obtain an active noise reduction signal;

[0007] Performing adaptive filtering on the active noise reduction signal to obtain a filtered noise reduction signal;

[0008] Performing noise environment analysis on the filtered noise reduction signal through a Bayesian optimization network to obtain noise environment characteristics, wherein the noise environment characteristics include: environment type and environment change trend;

[0009] Matching a target noise reduction mode according to the noise environment characteristics, the target noise reduction mode including: active noise reduction, passive noise reduction, and active-passive mixed noise reduction;

[0010] The user's noise reduction demand is collected in real time, and based on the user's noise reduction demand, the Bluetooth headset is controlled to reduce noise according to the target noise reduction mode and the filtered noise reduction signal.

[0011] In combination with the first aspect, in a first implementation of the first aspect of the present application, the ambient noise data is collected by using a plurality of microphone arrays built into the Bluetooth headset, and the ambient noise data is signal processed by an extended Kalman filter algorithm to obtain a noise spectrum diagram and characteristic parameters, including:

[0012] Collecting environmental noise data through multiple microphone arrays built into the Bluetooth headset, and collecting self-noise data of the Bluetooth headset, wherein the self-noise data includes: static noise, microphone noise and noise noise;

[0013] Performing data elimination on the environmental noise data based on the self-noise data to obtain first noise data;

[0014] Performing initial value matching on the first noise data by using the extended Kalman filter algorithm to obtain initial values ​​corresponding to the environmental noise data, wherein the initial values ​​include: initial state data and a covariance matrix;

[0015] Constructing a state space model corresponding to the first noise data, wherein the state space model includes state variables and space variables;

[0016] Time-update the state space model through the state transfer matrix of the extended Kalman filter algorithm to obtain an updated state model, and extract second noise data corresponding to the updated state model;

[0017] Extracting noise frequency distribution data from the second noise data to obtain noise frequency distribution data, and extracting noise features from the second noise data to obtain the feature parameters, wherein the feature parameters include: main frequency data, noise intensity data, and time series features;

[0018] The noise spectrum diagram is generated according to the noise frequency distribution data.

[0019] In combination with the first aspect, in a second implementation of the first aspect of the present application, performing time-frequency masking processing on the ambient noise data according to the noise spectrum diagram and the characteristic parameters to obtain an active noise reduction signal includes:

[0020] Based on the characteristic parameters, the noise spectrum is segmented into short-time windows to obtain a plurality of short-time window data;

[0021] The time-frequency decomposition of each short-time window data is performed by the short-time Fourier transform algorithm to obtain the noise frequency distribution data corresponding to each short-time window data;

[0022] Convert the noise frequency distribution data corresponding to each short-time window data into multiple time-frequency graphs;

[0023] Perform noise video image screening on each time-frequency image to obtain multiple noise time-frequency images;

[0024] Identify the noise components of each noise time-frequency diagram to obtain the noise component data corresponding to each noise time-frequency diagram;

[0025] Generate a time-frequency masking matrix corresponding to each noise time-frequency graph through the noise component data corresponding to each noise time-frequency graph, wherein each element in the time-frequency masking matrix represents a masking value of a corresponding time-frequency point;

[0026] Through the time-frequency masking matrix corresponding to each noise time-frequency diagram, each noise time-frequency diagram is subjected to time-frequency point weighting processing to obtain multiple weighted time-frequency diagrams;

[0027] An inverse short-time Fourier transform is performed on a plurality of weighted time-frequency graphs to obtain the active noise reduction signal.

[0028] In combination with the first aspect, in a third implementation manner of the first aspect of the present application, the step of performing adaptive filtering on the active noise reduction signal to obtain a filtered noise reduction signal includes:

[0029] Performing signal segmentation on the active noise reduction signal to obtain multiple signal segments;

[0030] Calculating the signal error of each signal segment respectively to obtain signal error data of each segment signal;

[0031] Performing gain vector analysis on the signal error data of each segment signal respectively to obtain gain vector data corresponding to each signal error data;

[0032] Setting the filter weight corresponding to the signal error data of each segment signal according to the gain vector data corresponding to each signal error data;

[0033] Through the multiple filters after weight setting, error data is eliminated for each signal segment to obtain multiple filtered signal segments, and the filtered noise reduction signal is generated according to the multiple filtered signal segments.

[0034] In combination with the first aspect, in a fourth implementation of the first aspect of the present application, the Bayesian optimization network includes an input layer, a convolution layer, a pooling layer, a Bayesian reasoning layer, and an output layer, and the noise environment analysis is performed on the filtered noise reduction signal through the Bayesian optimization network to obtain noise environment characteristics, and the noise environment characteristics include: environment type and environment change trend, including:

[0035] Inputting the filtered denoised signal into the input layer for data normalization processing to obtain a normalized signal;

[0036] Inputting the normalized signal into the convolution layer to perform a convolution operation to obtain a convolution feature;

[0037] Inputting the convolutional features into the pooling layer for average pooling processing to obtain pooling features;

[0038] Inputting the pooled features into the Bayesian inference layer for probability modeling to obtain a noise probability model;

[0039] Performing noise distribution probability analysis on the noise probability model to obtain noise distribution probability data;

[0040] Performing a change trend analysis on the filtered noise reduction signal based on the noise distribution probability data to obtain an environmental change trend;

[0041] A noise type analysis is performed on the filtered noise reduction signal according to the noise distribution probability data to obtain an environment type, wherein the environment type includes: wind noise, office noise and street noise.

[0042] In combination with the first aspect, in a fifth implementation of the first aspect of the present application, the target noise reduction mode is matched according to the noise environment characteristics, and the target noise reduction mode includes: active noise reduction, passive noise reduction, and active and passive mixed noise reduction, including:

[0043] Matching a first initial noise reduction mode according to the environment type, and performing an environmental noise prediction value analysis on the environmental change trend to obtain an environmental noise prediction value;

[0044] When the environmental noise prediction value is greater than or equal to a first preset threshold, performing mode fusion on the first initial noise reduction mode to obtain a fused noise reduction mode;

[0045] Performing mode switching frequency matching on the fusion noise reduction mode to obtain a first mode switching frequency, and generating the target noise reduction mode according to the first mode switching frequency;

[0046] When the environmental noise prediction value is less than the first preset threshold, switching the first initial noise reduction mode to obtain a second noise reduction mode;

[0047] The second noise reduction mode is subjected to mode switching frequency matching to obtain a second mode switching frequency, and the target noise reduction mode is generated according to the second mode switching frequency. The target noise reduction mode includes: active noise reduction, passive noise reduction, and active and passive mixed noise reduction.

[0048] In combination with the first aspect, in a sixth implementation manner of the first aspect of the present application, the real-time collection of user noise reduction requirements, and based on the user noise reduction requirements, the noise reduction control of the Bluetooth headset according to the target noise reduction mode and the filtered noise reduction signal includes:

[0049] Collect user noise reduction requirements in real time and extract voice data in the user noise reduction requirements;

[0050] Converting the voice data into text to obtain text data;

[0051] Extracting the noise reduction instruction corresponding to the text data, parsing the noise reduction instruction, and obtaining instruction parsing data, wherein the instruction parsing data includes: noise reduction mode switching data and noise reduction control data;

[0052] Noise reduction control parameters are generated according to the instruction parsing data, and based on the noise reduction control parameters, noise reduction control is performed on the Bluetooth headset through the target noise reduction mode and the filtered noise reduction signal.

[0053] In a second aspect, the present application provides a Bluetooth headset noise reduction processing device, the Bluetooth headset noise reduction processing device comprising:

[0054] The acquisition module is used to collect environmental noise data through multiple microphone arrays built into the Bluetooth headset, and perform signal processing on the environmental noise data through an extended Kalman filter algorithm to obtain a noise spectrum diagram and characteristic parameters;

[0055] A processing module, configured to perform time-frequency masking processing on the environmental noise data according to the noise spectrum diagram and the characteristic parameters to obtain an active noise reduction signal;

[0056] A filtering module, used for performing adaptive filtering on the active noise reduction signal to obtain a filtered noise reduction signal;

[0057] An analysis module, configured to perform noise environment analysis on the filtered noise reduction signal through a Bayesian optimization network to obtain noise environment characteristics, wherein the noise environment characteristics include: environment type and environment change trend;

[0058] A matching module, used for matching a target noise reduction mode according to the noise environment characteristics, wherein the target noise reduction mode includes: active noise reduction, passive noise reduction, and active-passive mixed noise reduction;

[0059] The control module is used to collect the user's noise reduction requirements in real time, and based on the user's noise reduction requirements, perform noise reduction control on the Bluetooth headset according to the target noise reduction mode and the filtered noise reduction signal.

[0060] The third aspect of the present application provides a Bluetooth headset noise reduction processing device, comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the Bluetooth headset noise reduction processing device executes the above-mentioned Bluetooth headset noise reduction processing method.

[0061] A fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, and when the computer-readable storage medium is run on a computer, the computer executes the above-mentioned Bluetooth headset noise reduction processing method.

[0062] In the technical solution provided by the present application, the environmental noise data can be collected in real time through the multiple microphone arrays built into the Bluetooth headset, and the signal processing of these environmental noise data is performed using the extended Kalman filter algorithm, so as to obtain accurate noise spectrum and characteristic parameters. This efficient noise data collection and processing method enables the Bluetooth headset to more accurately identify and analyze environmental noise, laying a solid foundation for subsequent noise reduction processing. According to the noise spectrum and characteristic parameters, the environmental noise data is subjected to time-frequency masking processing to obtain an active noise reduction signal. This process realizes the accurate filtering of noise of different frequencies and the generation of noise reduction signals through the combination of short-time Fourier transform algorithm and time-frequency masking matrix, ensuring the efficiency and accuracy of the active noise reduction signal. Through such processing, the Bluetooth headset can provide stable and high-quality noise reduction effects in various complex noise environments, significantly improving the user's auditory experience. Further, the active noise reduction signal is adaptively filtered to obtain a filtered noise reduction signal. This process dynamically adjusts and optimizes the filter parameters through steps such as signal segmentation, error calculation, gain vector analysis and filter weight setting, so that the filtered noise reduction signal is more accurate and efficient, and can adapt to changes in environmental noise in real time. This adaptive filtering processing method not only improves the stability of the noise reduction effect, but also provides consistent noise reduction performance in different noise environments to meet the diverse needs of users. The noise environment analysis of the filtered noise reduction signal through the Bayesian optimization network can obtain the noise environment characteristics including the environment type and the trend of environmental changes. The Bayesian optimization network deeply analyzes and models the filtered noise reduction signal through the input layer, convolution layer, pooling layer, Bayesian reasoning layer and output layer, and realizes the comprehensive analysis and accurate classification of the noise environment. This optimization algorithm based on the probability model can not only process complex noise data, but also provide prediction and trend analysis of the noise environment, providing reliable data support for the optimization of the noise reduction mode. Matching the target noise reduction mode according to the noise environment characteristics enables the Bluetooth headset to automatically select the best noise reduction strategy in different noise environments. The target noise reduction mode includes active noise reduction, passive noise reduction and active and passive mixed noise reduction. Through matching algorithms and priority settings, it ensures that the optimal noise reduction mode is selected in various noise environments, thereby providing the best noise reduction effect. This intelligent mode matching and selection mechanism not only improves the intelligence and flexibility of the noise reduction effect, but also significantly improves user satisfaction and usage experience. It collects user noise reduction needs in real time, and dynamically adjusts the noise reduction mode and parameters based on these needs, achieving a perfect combination of user needs and noise reduction effects. Through voice recognition and natural language processing technology, the user's voice commands are converted into specific noise reduction commands, and noise reduction control parameters are generated based on these commands to dynamically adjust the noise reduction processing unit of the Bluetooth headset.Such user interaction and feedback mechanism not only makes the noise reduction process more humane and intelligent, but also provides customized noise reduction services based on the user's personalized needs, significantly improving the user's overall experience and satisfaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are 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.

[0064] Figure 1 This is a schematic diagram of an embodiment of a Bluetooth headset noise reduction processing method in an embodiment of the present application;

[0065] Figure 2 This is a schematic diagram of an embodiment of a Bluetooth headset noise reduction processing device in an embodiment of the present application. DETAILED DESCRIPTION

[0066] The embodiments of the present application provide a method, device, equipment and storage medium for noise reduction processing of a Bluetooth headset. The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0067] For ease of understanding, the specific process of the embodiment of the present application is described below. Figure 1 , an embodiment of the Bluetooth headset noise reduction processing method in the embodiment of the present application includes:

[0068] Step S101, collecting environmental noise data through a plurality of microphone arrays built into the Bluetooth headset, and performing signal processing on the environmental noise data through an extended Kalman filter algorithm to obtain a noise spectrum diagram and characteristic parameters;

[0069] It is understandable that the execution subject of the present application may be a Bluetooth headset noise reduction processing device, or a terminal or a server, which is not limited here. The present application embodiment is described by taking a server as the execution subject as an example.

[0070] Specifically, the environmental noise data is collected by multiple microphone arrays built into the Bluetooth headset, and the self-noise data of the Bluetooth headset is collected at the same time, wherein the self-noise data includes electrostatic noise, microphone noise and noise noise. The environmental noise data is eliminated based on the self-noise data to obtain the first noise data. The first noise data is matched with the initial value by the extended Kalman filter algorithm to obtain the initial value corresponding to the environmental noise data, and these initial values ​​include initial state data and covariance matrix. After obtaining the initial value, a state space model corresponding to the first noise data is constructed, and the model includes state variables and space variables. The state space model is updated in time by the state transition matrix of the extended Kalman filter algorithm to obtain an updated state model, and the second noise data corresponding to the updated state model is extracted from it. This helps to dynamically adjust the noise model to reflect the changing characteristics of the environmental noise. The noise frequency distribution data is extracted from the second noise data to obtain the noise frequency distribution data. At the same time, the noise feature is extracted from the second noise data to obtain the feature parameters, which include the main frequency data, the noise intensity data and the time series feature. Through these feature parameters, the nature and behavior pattern of the noise are better understood. A noise spectrum diagram is generated according to the noise frequency distribution data. The noise spectrum diagram can effectively assist time-frequency masking processing and adaptive filtering processing, thereby achieving better results in the noise reduction processing of Bluetooth headsets.

[0071] Step S102: performing time-frequency masking processing on the ambient noise data according to the noise spectrum and characteristic parameters to obtain an active noise reduction signal;

[0072] Specifically, based on the characteristic parameters, the noise spectrum is segmented into short-time windows to obtain multiple short-time window data. Each short-time window data represents the noise information captured in a specific time period. The short-time Fourier transform algorithm is used to perform time-frequency decomposition on each short-time window data to obtain the noise frequency distribution data corresponding to each short-time window data. The time domain data is converted into frequency domain data, so that the analysis of frequency components is more intuitive and accurate. The noise frequency distribution data corresponding to each short-time window data is converted into multiple time-frequency graphs, each of which represents the noise distribution at a specific time and frequency point. The noise frequency graph is screened for each time-frequency graph to obtain multiple noise time-frequency graphs. Through the screening process, it is identified which time-frequency points correspond to the signal that is noise. The noise component is identified for each noise time-frequency graph to obtain the noise component data corresponding to each noise time-frequency graph. The noise component data describes the specific distribution of noise at each time-frequency point, which is helpful to optimize the noise reduction process. Based on the noise component data, a corresponding time-frequency masking matrix is ​​generated for each noise time-frequency graph. Each element in the matrix represents the masking value of the corresponding time-frequency point, which is used to quantify the noise level at the point. Through the time-frequency masking matrix corresponding to each noise time-frequency graph, each noise time-frequency graph is weighted to obtain multiple weighted time-frequency graphs. The masking matrix is ​​used to weight the time-frequency points, effectively reducing the impact of noise components and retaining useful audio signals. The multiple weighted time-frequency graphs are inversely short-time Fourier transformed to restore the time domain signal and finally obtain the active noise reduction signal.

[0073] Step S103, performing adaptive filtering processing on the active noise reduction signal to obtain a filtered noise reduction signal;

[0074] Specifically, the active noise reduction signal is segmented to obtain multiple signal segments. These signal segments represent audio data captured in different time periods. Signal error calculation is performed on each signal segment to obtain signal error data of each segment signal. The noise component in the signal is revealed by calculating the difference between the actual signal and the expected signal of each segment. Gain vector analysis is performed on the signal error data of each segment signal to obtain gain vector data corresponding to each signal error data. The purpose of gain vector analysis is to identify how to adjust the gain of the signal to minimize the error, thereby improving the signal quality. According to the gain vector data corresponding to each signal error data, the filter weight corresponding to the signal error data of each segment signal is set. The filter weight is used to adjust the parameters of the filter so that it can filter out the noise component more effectively. Through multiple filters with weight setting, error data is eliminated for each signal segment to obtain multiple filtered signal segments. In this process, the filter uses the set weight to process each signal segment, eliminate the noise component therein, and only retain the useful audio signal. A filtered noise reduction signal is generated according to multiple filtered signal segments. By recombining all the filtered signal segments, an overall noise reduction signal with lower noise components and higher audio quality is obtained.

[0075] Step S104: performing noise environment analysis on the filtered noise reduction signal through a Bayesian optimization network to obtain noise environment characteristics, where the noise environment characteristics include: environment type and environment change trend;

[0076] Specifically, the Bayesian optimization network includes an input layer, a convolution layer, a pooling layer, a Bayesian inference layer, and an output layer. The Bayesian optimization network is used to analyze the noise environment of the filtered denoised signal to obtain noise environment characteristics, which include the type of environment and the trend of environmental change. The filtered denoised signal is input into the input layer for data normalization processing to obtain a normalized signal. The signal data is standardized so that it is easier to process in subsequent processing steps and has better numerical stability. The normalized signal is input into the convolution layer for convolution operation to obtain convolution features. The convolution layer extracts features from the signal by applying multiple convolution kernels, and can capture local features and patterns in the signal. After obtaining the convolution features, it is input into the pooling layer for average pooling processing to obtain pooling features. The pooling layer downsamples the convolution features to reduce the dimension and complexity of the features while retaining key information, thereby improving the computational efficiency and robustness of the network. The pooling features are input into the Bayesian inference layer for probability modeling to obtain a noise probability model. The Bayesian inference layer combines the Bayesian statistical method to perform probability modeling on the signal, which can effectively capture the uncertainty and change trend in the signal. The noise probability model is subjected to noise distribution probability analysis to obtain noise distribution probability data. Noise distribution probability data describes the distribution of noise at different frequencies and times. Based on the noise distribution probability data, the filter noise reduction signal is subjected to change trend analysis to obtain the environmental change trend. By analyzing the change of noise over time, the dynamic characteristics of the noise environment are revealed, such as whether the noise is gradually increasing or decreasing, and whether it is stable or fluctuating. According to the noise distribution probability data, the filter noise reduction signal is subjected to noise type analysis to obtain the environmental type. Environmental types include wind noise, office noise, and street noise. Different types of noise have different frequency distribution and time series characteristics. By analyzing these characteristics, the specific type of noise can be accurately identified.

[0077] Step S105, matching a target noise reduction mode according to the noise environment characteristics, the target noise reduction mode including: active noise reduction, passive noise reduction, and active and passive mixed noise reduction;

[0078] Specifically, the first initial noise reduction mode is matched according to the environment type, and the initial noise reduction mode selects the most suitable noise reduction strategy according to the currently detected environment type, such as wind noise, office noise or street noise. The environmental noise prediction value is analyzed for the environmental change trend to obtain the environmental noise prediction value. The environmental noise prediction value is predicted based on the current noise level and the change trend, so as to estimate the intensity of the future noise environment. When the environmental noise prediction value is greater than or equal to the first preset threshold, the first initial noise reduction mode is subjected to mode fusion to obtain a fused noise reduction mode. Different types of noise reduction modes, such as active noise reduction and passive noise reduction, are combined to cope with a higher intensity noise environment, thereby improving the noise reduction effect. The fused noise reduction mode is subjected to mode switching frequency matching to obtain a first mode switching frequency. According to the frequency of change of the environmental noise, the switching frequency of the noise reduction mode is adjusted to make the noise reduction effect more stable and efficient. According to the first mode switching frequency, a target noise reduction mode is generated, and the target noise reduction mode is switched between different noise reduction strategies to cope with the current noise environment in the best way. If the environmental noise prediction value is less than the first preset threshold, the first initial noise reduction mode is subjected to mode switching to obtain a second noise reduction mode. Mode switching refers to switching from the initial noise reduction mode to a noise reduction mode that is more suitable for the current environment when the noise intensity is low, such as switching from active noise reduction to passive noise reduction, or from active noise reduction to active and passive hybrid noise reduction. The mode switching frequency of the second noise reduction mode is matched to obtain the second mode switching frequency. This ensures that the noise reduction mode can be switched in time when the noise intensity changes to maintain the best noise reduction effect. Finally, the target noise reduction mode is generated according to the second mode switching frequency.

[0079] Step S106: collect the user's noise reduction requirements in real time, and based on the user's noise reduction requirements, perform noise reduction control on the Bluetooth headset according to the target noise reduction mode and the filtered noise reduction signal.

[0080] Specifically, the user's noise reduction needs are collected in real time, and the voice data in the user's noise reduction needs are extracted. The user's instructions are monitored in real time through the built-in microphone of the headset to ensure that the voice instructions related to noise reduction can be captured in time when the user issues them. The voice data is converted into text data to obtain text data. The user's voice instructions are converted into text format using voice recognition technology, which facilitates subsequent instruction parsing and processing. The noise reduction instructions corresponding to the text data are extracted, and these noise reduction instructions are parsed to obtain instruction parsing data. The instruction parsing data includes noise reduction mode switching data and noise reduction control data, which are extracted according to the specific needs of the user and cover the user's requirements for noise reduction mode and control method. Noise reduction control parameters are generated according to the instruction parsing data. Including how to adjust the current noise reduction mode and control parameters to meet the needs of the user. Based on the noise reduction control parameters, the Bluetooth headset is noise-reduced through the target noise reduction mode and the filtered noise reduction signal, and the Bluetooth headset is dynamically adjusted to provide the best noise reduction effect.

[0081] In the embodiment of the present application, the environmental noise data can be collected in real time through the multiple microphone arrays built into the Bluetooth headset, and the signal processing of these environmental noise data is performed using the extended Kalman filter algorithm, so as to obtain accurate noise spectrum and characteristic parameters. This efficient noise data collection and processing method enables the Bluetooth headset to more accurately identify and analyze environmental noise, laying a solid foundation for subsequent noise reduction processing. According to the noise spectrum and characteristic parameters, the environmental noise data is subjected to time-frequency masking processing to obtain an active noise reduction signal. This process realizes the accurate filtering of noise of different frequencies and the generation of noise reduction signals through the combination of short-time Fourier transform algorithm and time-frequency masking matrix, ensuring the efficiency and accuracy of the active noise reduction signal. Through such processing, the Bluetooth headset can provide stable and high-quality noise reduction effects in various complex noise environments, significantly improving the user's auditory experience. Further, the active noise reduction signal is adaptively filtered to obtain a filtered noise reduction signal. This process dynamically adjusts and optimizes the filter parameters through steps such as signal segmentation, error calculation, gain vector analysis and filter weight setting, so that the filtered noise reduction signal is more accurate and efficient, and can adapt to changes in environmental noise in real time. This adaptive filtering processing method not only improves the stability of the noise reduction effect, but also provides consistent noise reduction performance in different noise environments to meet the diverse needs of users. The noise environment analysis of the filtered noise reduction signal through the Bayesian optimization network can obtain the noise environment characteristics including the environment type and the trend of environmental changes. The Bayesian optimization network deeply analyzes and models the filtered noise reduction signal through the input layer, convolution layer, pooling layer, Bayesian reasoning layer and output layer, and realizes the comprehensive analysis and accurate classification of the noise environment. This optimization algorithm based on the probability model can not only process complex noise data, but also provide prediction and trend analysis of the noise environment, providing reliable data support for the optimization of the noise reduction mode. Matching the target noise reduction mode according to the noise environment characteristics enables the Bluetooth headset to automatically select the best noise reduction strategy in different noise environments. The target noise reduction mode includes active noise reduction, passive noise reduction and active and passive mixed noise reduction. Through matching algorithms and priority settings, it ensures that the optimal noise reduction mode is selected in various noise environments, thereby providing the best noise reduction effect. This intelligent mode matching and selection mechanism not only improves the intelligence and flexibility of the noise reduction effect, but also significantly improves user satisfaction and usage experience. It collects user noise reduction needs in real time, and dynamically adjusts the noise reduction mode and parameters based on these needs, achieving a perfect combination of user needs and noise reduction effects. Through voice recognition and natural language processing technology, the user's voice commands are converted into specific noise reduction commands, and noise reduction control parameters are generated based on these commands to dynamically adjust the noise reduction processing unit of the Bluetooth headset.Such user interaction and feedback mechanism not only makes the noise reduction process more humane and intelligent, but also provides customized noise reduction services based on the user's personalized needs, significantly improving the user's overall experience and satisfaction.

[0082] In a specific embodiment, the process of executing step S101 may specifically include the following steps:

[0083] (1) Collecting environmental noise data and self-noise data of the Bluetooth headset through multiple microphone arrays built into the Bluetooth headset, where the self-noise data includes: static noise, microphone noise, and noise noise;

[0084] (2) Eliminating the environmental noise data based on the self-noise data to obtain first noise data;

[0085] (3) performing initial value matching on the first noise data by using an extended Kalman filter algorithm to obtain an initial value corresponding to the environmental noise data, where the initial value includes: initial state data and a covariance matrix;

[0086] (4) constructing a state space model corresponding to the first noise data, where the state space model includes state variables and space variables;

[0087] (5) updating the state space model in time through the state transfer matrix of the extended Kalman filter algorithm to obtain an updated state model, and extracting the second noise data corresponding to the updated state model;

[0088] (6) extracting noise frequency distribution data from the second noise data to obtain noise frequency distribution data, and extracting noise features from the second noise data to obtain feature parameters, the feature parameters including: main frequency data, noise intensity data, and time series features;

[0089] (7) Generate a noise spectrum diagram based on the noise frequency distribution data.

[0090] Specifically, multiple microphone arrays can capture the noise in the surrounding environment, and these noise data include various sounds from the environment. At the same time, the microphone array collects the noise generated by the Bluetooth headset itself, and these self-noise data mainly include static noise, microphone noise and other noise noise. Static noise is an interference signal generated by the accumulation of charge on the microphone element; microphone noise is the noise generated when the microphone itself works; and noise noise is other non-signal sounds generated when the electronic components inside the headset work. Based on the collected self-noise data, the environmental noise data is eliminated to obtain the first noise data. By eliminating the noise generated by the headset itself, it can be ensured that the remaining noise data mainly comes from the external environment, thereby improving the accuracy of subsequent processing. The data elimination method can use a simple subtraction operation to subtract the self-noise data from the total noise data to obtain the first noise data. The first noise data is matched with the initial value by the extended Kalman filter algorithm to obtain the initial value corresponding to the environmental noise data. These initial values ​​include initial state data and covariance matrix. The extended Kalman filter algorithm is a filtering method for processing nonlinear systems, which can provide better estimation results when processing nonlinear noise data. The initial state data usually represents the state of the system at the initial moment, such as the intensity and frequency distribution of the noise, while the covariance matrix represents the uncertainty of the initial state.

[0091] ;

[0092] in, represents the initial state estimate, represents the expected value of the initial state, represents the initial covariance matrix, is the covariance of the initial state. After obtaining the initial value, a state space model corresponding to the first noise data is constructed. The state space model includes state variables and space variables. State variables can represent the characteristics of noise, such as frequency, intensity, etc., while space variables represent the evolution of noise over time. The construction of the state space model can be expressed by the following equation:

[0093] ;

[0094] in, represents the state variable, represents the state variable at the next time point, represents the control variable, represents the process noise, represents the observed variable, represents the measurement noise, and They are the state transfer function and the observation function. The state space model is updated in time through the state transfer matrix of the extended Kalman filter algorithm to obtain an updated state model, and the second noise data corresponding to the updated state model is extracted. In this process, the state transfer matrix is ​​used to predict the state of the system at the next moment, and is corrected in combination with the current observation data to obtain a more accurate state estimate. The time update step can be expressed by the following formula:

[0095] ;

[0096] in, Represents the predicted state, represents the prediction covariance matrix, represents the state transfer matrix, represents the covariance matrix at the previous time point, represents the process noise covariance matrix, is the state transition function, is the control input. The noise frequency distribution data of the second noise data is extracted to obtain the noise frequency distribution data, and the noise feature is extracted to obtain the feature parameters. These feature parameters include main frequency data, noise intensity data and time series features. The main frequency data represents the most significant part of the frequency component in the noise signal, the noise intensity data represents the intensity or energy of the noise signal, and the time series features describe the temporal variation pattern of the noise signal. The noise spectrum is generated using the extracted noise frequency distribution data and feature parameters. The noise spectrum is a visualization tool that shows the distribution of the noise signal in the frequency domain and can intuitively reflect the frequency characteristics and intensity of the noise. The noise spectrum can be generated by plotting the noise frequency distribution data on the frequency and intensity coordinate system, where the horizontal axis represents the frequency and the vertical axis represents the noise intensity.

[0097] In a specific embodiment, the process of executing step S102 may specifically include the following steps:

[0098] (1) Based on the characteristic parameters, the noise spectrum is segmented into short-time windows to obtain multiple short-time window data;

[0099] (2) Perform time-frequency decomposition on each short-time window data using the short-time Fourier transform algorithm to obtain the noise frequency distribution data corresponding to each short-time window data;

[0100] (3) Convert the noise frequency distribution data corresponding to each short-time window data into multiple time-frequency graphs;

[0101] (4) Screening the noise video graph for each time-frequency graph to obtain multiple noise time-frequency graphs;

[0102] (5) Identify the noise components of each noise time-frequency diagram to obtain the noise component data corresponding to each noise time-frequency diagram;

[0103] (6) Generate a time-frequency masking matrix corresponding to each noise time-frequency graph through the noise component data corresponding to each noise time-frequency graph, where each element in the time-frequency masking matrix represents the masking value of the corresponding time-frequency point;

[0104] (7) Using the time-frequency masking matrix corresponding to each noise time-frequency graph, perform time-frequency point weighting processing on each noise time-frequency graph to obtain multiple weighted time-frequency graphs;

[0105] (8) Perform inverse short-time Fourier transform on multiple weighted time-frequency graphs to obtain active noise reduction signals.

[0106] Specifically, the characteristic parameters are analyzed, including main frequency data, noise intensity data and time series characteristics. Through these parameters, the length and overlap ratio of the short-time window are determined to perform more refined time-frequency analysis. Short-time window segmentation refers to dividing the entire noise signal into multiple short-time windows according to the time axis. Each window contains noise data of a fixed length, so that the frequency changes of the noise signal in different time periods can be captured in the time-frequency analysis. The noise frequency distribution data corresponding to each short-time window data is obtained by short-time Fourier transform. Short-time Fourier transform is an algorithm that converts time domain signals into time-frequency domain signals. By performing Fourier transform on each short-time window, the frequency distribution of the signal in the window is obtained. The formula of short-time Fourier transform is as follows:

[0107] ;

[0108] in, represents the time-frequency domain signal, represents the time domain signal, represents a short-term window function, represents the angular frequency, is an imaginary unit. Through short-time Fourier transform, the noise frequency distribution data corresponding to each short-time window data is converted into multiple time-frequency diagrams. The time-frequency diagram is a visualization tool that shows the intensity distribution of the signal at different times and frequencies. By analyzing the time-frequency diagram, the characteristics of the noise signal can be understood more intuitively. After the time-frequency diagram is generated, each time-frequency diagram is screened for noise video diagrams to obtain multiple noise time-frequency diagrams. The noise component is identified from the time-frequency diagram, separated, and a time-frequency diagram containing only the noise component is generated. The noise component is identified for each noise time-frequency diagram to obtain the noise component data corresponding to each noise time-frequency diagram. By analyzing the frequency and intensity distribution of the noise in the time-frequency diagram, the main components of the noise are identified and the corresponding data are generated. These data include the main frequency, intensity and time characteristics of the noise. The time-frequency masking matrix corresponding to each noise time-frequency diagram is generated through the noise component data corresponding to each noise time-frequency diagram. The time-frequency masking matrix is ​​a two-dimensional matrix, in which each element represents the masking value of the corresponding time-frequency point. The masking value reflects the noise intensity of the time-frequency point, and the larger the value, the stronger the noise. The generation of the time-frequency masking matrix can be achieved by analyzing the noise component data to determine the noise level of each time-frequency point, thereby generating the corresponding masking value. Through the time-frequency masking matrix corresponding to each noise time-frequency graph, each noise time-frequency graph is weighted to obtain multiple weighted time-frequency graphs. According to the value of the masking matrix, each time-frequency point is weighted to reduce the impact of the noise component. Weighted processing is performed using the following formula:

[0109] ;

[0110] in, represents the weighted time-frequency domain signal, represents the original time-frequency domain signal, Represents the time-frequency masking matrix. Perform an inverse short-time Fourier transform on the weighted time-frequency graph and convert it back to the time domain signal to obtain the active noise reduction signal. The formula for the inverse short-time Fourier transform is as follows:

[0111] ;

[0112] in, represents the time domain signal, represents the time-frequency domain signal, Is an imaginary unit.

[0113] In a specific embodiment, the process of executing step S103 may specifically include the following steps:

[0114] (1) Segment the active noise reduction signal to obtain multiple signal segments;

[0115] (2) Calculate the signal error for each signal segment to obtain the signal error data of each segment signal;

[0116] (3) performing gain vector analysis on the signal error data of each segment signal respectively to obtain gain vector data corresponding to each signal error data;

[0117] (4) setting a filter weight corresponding to the signal error data of each segment signal according to the gain vector data corresponding to each signal error data;

[0118] (5) Through the multiple filters after weight setting, error data of each signal segment is eliminated to obtain multiple filtered signal segments, and a filtered noise reduction signal is generated according to the multiple filtered signal segments.

[0119] Specifically, the active noise reduction signal is segmented through a window of fixed length to obtain multiple signal segments. For example, the entire active noise reduction signal is segmented into a signal segment every 100 milliseconds. The signal error is calculated for each signal segment to obtain the signal error data of each segment signal, which measures the difference between the actual noise signal and the ideal noise reduction signal in each signal segment. The signal error data of each segment signal is analyzed by gain vector to obtain the gain vector data corresponding to each signal error data. Gain vector analysis is an optimization algorithm that analyzes the characteristics of the error signal and adjusts the gain vector to minimize the error signal. Assume that the gain vector is , then the update of the gain vector can be achieved by the following formula:

[0120] ;

[0121] in, Indicates The gain vector of the signal fragment, represents the gain vector of the previous signal segment, is the learning rate, which controls the pace of adjustment of the gain vector, and Respectively represent the error signal and actual signal of the current segment. Through this process, the gain vector data of each signal segment is obtained. The filter weight corresponding to the signal error data of each segment signal is set according to the gain vector data corresponding to each signal error data. The setting of the filter weight is based on the gain vector data, and the purpose is to better suppress the noise signal by adjusting the weight of the filter. The filter weight can be expressed as:

[0122] ;

[0123] in, Indicates The filter weights for each signal segment, represents the filter weights of the previous signal segment, Represents the gain vector of the current segment. Through this process, the corresponding filter weights are set for each signal segment. Through multiple filters with weight setting, error data is removed for each signal segment to obtain multiple filtered signal segments. By applying the set filter weights, the signal is filtered to remove the noise component. A filtered noise reduction signal is generated based on multiple filtered signal segments. All filtered signal segments are recombined in time order to obtain a complete filtered noise reduction signal.

[0124] In a specific embodiment, the process of executing step S104 may specifically include the following steps:

[0125] (1) Input the filtered denoised signal into the input layer for data normalization to obtain a normalized signal;

[0126] (2) Input the normalized signal into the convolution layer for convolution operation to obtain the convolution feature;

[0127] (3) Input the convolutional features into the pooling layer for average pooling to obtain the pooled features;

[0128] (4) Input the pooled features into the Bayesian inference layer for probability modeling to obtain a noise probability model;

[0129] (5) Perform noise distribution probability analysis on the noise probability model to obtain noise distribution probability data;

[0130] (6) Analyze the change trend of the filtered noise reduction signal based on the noise distribution probability data to obtain the environmental change trend;

[0131] (7) Perform noise type analysis on the filtered noise reduction signal according to the noise distribution probability data to obtain the environment type, where the environment type includes: wind noise, office noise, and street noise.

[0132] Specifically, the filtered denoised signal is input into the input layer for data normalization to obtain a normalized signal. The amplitude of the signal is adjusted to a standard range to eliminate the amplitude difference between different signals, which is convenient for subsequent processing. The normalized signal is input into the convolution layer for convolution operation to obtain convolution features. The convolution layer extracts local features in the signal, scans the signal through the convolution kernel, and captures the local pattern and structure of the signal. The formula for the convolution operation is as follows:

[0133] ;

[0134] in, represents the convolution feature, represents the input signal, represents the convolution kernel, and Represents the index of the signal and the convolution kernel. Through the convolution operation, the local features of the signal are obtained. The convolution features are input into the pooling layer for average pooling to obtain the pooling features. The function of the pooling layer is to reduce the dimension and compress the convolution features, thereby reducing the dimension and calculation amount of the data. The formula for average pooling is as follows:

[0135] ;

[0136] in, represents the pooling feature, represents the convolution feature, Represents the size of the pooling window. Through average pooling, the main features of the signal are obtained, and the dimension and amount of calculation of the data are reduced. The pooled features are input into the Bayesian inference layer for probability modeling to obtain the noise probability model. The function of the Bayesian inference layer is to perform probability modeling on the signal and calculate the posterior probability distribution of the signal through the Bayesian formula. The Bayesian formula is as follows:

[0137] ;

[0138] in, Indicates that in the known In the case The probability of Indicated in In case of occurrence The probability of Indicates an event The prior probability of Indicates an event The prior probability of the signal. The Bayesian formula can be used to calculate the posterior probability distribution of the signal, thereby obtaining the noise probability model. The noise probability model is subjected to noise distribution probability analysis to obtain noise distribution probability data, and the distribution of noise at different frequencies and times is determined. By analyzing the noise probability model, the distribution probability data of noise is obtained, thereby determining the frequency and time characteristics of noise. Based on the noise distribution probability data, the change trend of the filtered noise reduction signal is analyzed to obtain the environmental change trend. Determine the temporal change law of the noise signal, thereby predicting the future noise situation. By analyzing the noise distribution probability data, the change trend of noise is obtained, thereby predicting the future noise situation. According to the noise distribution probability data, the noise type of the filtered noise reduction signal is analyzed to obtain the environmental type. According to the noise distribution probability data, the specific type of noise is determined based on the frequency and time characteristics of the noise. For example, wind noise usually has a lower frequency component, while office noise and street noise have different frequency distributions. By analyzing the noise distribution probability data, the specific type of noise can be determined, thereby obtaining the environmental type.

[0139] In a specific embodiment, the process of executing step S105 may specifically include the following steps:

[0140] (1) matching the first initial noise reduction mode according to the environment type, and analyzing the environmental noise prediction value based on the environmental change trend to obtain the environmental noise prediction value;

[0141] (2) When the environmental noise prediction value is greater than or equal to a first preset threshold, performing mode fusion on the first initial noise reduction mode to obtain a fused noise reduction mode;

[0142] (3) performing mode switching frequency matching on the fusion noise reduction mode to obtain a first mode switching frequency, and generating a target noise reduction mode according to the first mode switching frequency;

[0143] (4) When the predicted value of the ambient noise is less than a first preset threshold, switching the first initial noise reduction mode to obtain a second noise reduction mode;

[0144] (5) Performing mode switching frequency matching on the second noise reduction mode to obtain the second mode switching frequency, and generating a target noise reduction mode according to the second mode switching frequency. The target noise reduction mode includes: active noise reduction, passive noise reduction, and active and passive mixed noise reduction.

[0145] Specifically, the current environment type is determined through real-time monitoring and analysis of environmental noise. Environmental types may include wind noise, office noise, and street noise, etc. According to different environmental types, different initial noise reduction modes are selected to adapt to the current noise environment. For example, in a wind noise environment, a noise reduction mode with stronger adaptability is selected, while in an office noise environment, a noise reduction mode optimized for human voice frequency is selected. The environmental noise prediction value is analyzed on the environmental change trend to obtain the environmental noise prediction value. The environmental noise prediction value is a prediction result based on the current noise level and change trend, which is used to judge the noise intensity in the future. Noise prediction can be achieved through time series analysis methods, such as the ARIMA model (autoregressive integrated moving average model). Assume that the noise intensity at the current moment is , the noise intensity at the future moment is predicted to be , the prediction formula is as follows:

[0146] ;

[0147] in, represents the autoregressive coefficient, represents the moving average coefficient, represents the error term, and are respectively the order of the model. When the predicted value of the ambient noise is greater than or equal to the first preset threshold, the first initial noise reduction mode is subjected to mode fusion to obtain a fused noise reduction mode. Multiple noise reduction modes are combined to cope with a high-intensity noise environment. For example, active noise reduction and passive noise reduction are combined to form an active and passive mixed noise reduction mode, thereby improving the noise reduction effect. The fused noise reduction mode is subjected to mode switching frequency matching to obtain a first mode switching frequency, and a target noise reduction mode is generated according to the first mode switching frequency. Mode switching frequency matching refers to adjusting the switching frequency of the noise reduction mode according to the frequency of change of the ambient noise to adapt to the noise change of the current environment. Assuming that the noise change frequency is fn and the mode switching frequency is fs, the goal of mode switching frequency matching is to make fs as close to fn as possible. In this way, it is ensured that the switching of the noise reduction mode can respond to the change of the ambient noise in a timely manner, thereby providing the best noise reduction effect. When the predicted value of the ambient noise is less than the first preset threshold, the first initial noise reduction mode is subjected to mode switching to obtain a second noise reduction mode. Mode switching refers to switching from the initial noise reduction mode to another noise reduction mode suitable for the current environment in a low-intensity noise environment. For example, in a quieter environment, a more energy-efficient passive noise reduction mode is selected, while in an environment with a certain amount of background noise, an active noise reduction mode can be selected. The mode switching frequency of the second noise reduction mode is matched to obtain the second mode switching frequency, and the target noise reduction mode is generated according to the second mode switching frequency. According to the noise change frequency, the mode switching frequency is adjusted to ensure that the noise reduction mode can respond to environmental changes in a timely manner.

[0148] In a specific embodiment, the process of executing step S106 may specifically include the following steps:

[0149] (1) Collect user noise reduction requirements in real time and extract voice data required by users;

[0150] (2) Convert the voice data into text to obtain text data;

[0151] (3) extracting the noise reduction instruction corresponding to the text data, parsing the noise reduction instruction, and obtaining instruction parsing data, wherein the instruction parsing data includes: noise reduction mode switching data and noise reduction control data;

[0152] (4) Generate noise reduction control parameters according to the instruction parsing data, and based on the noise reduction control parameters, perform noise reduction control on the Bluetooth headset through the target noise reduction mode and the filtered noise reduction signal.

[0153] Specifically, the user's voice commands are collected in real time through the built-in microphone of the Bluetooth headset. These voice commands may include requirements such as "increase noise reduction", "switch to office mode" or "turn off noise reduction". The collected voice data is converted into text to obtain text data. The voice signal is converted into corresponding text representation using voice recognition technology. The voice recognition technology analyzes the spectral characteristics of the voice signal and matches it with the pre-trained voice model to identify the specific content of the voice. Commonly used voice recognition methods include hidden Markov models and deep neural networks. The user's voice command is converted into readable text data, for example, "increase noise reduction" is converted into the text "increase noise reduction". The noise reduction instructions corresponding to the text data are extracted, and these noise reduction instructions are parsed to obtain instruction parsing data. Natural language processing technology identifies the specific instructions contained in the text by parsing the grammatical structure and semantic content of the text. Assuming there is an instruction "switch to office mode", through parsing, "switch" is identified as an operation verb and "office mode" is the target state. The instruction parsing data includes noise reduction mode switching data and noise reduction control data, the former indicating the noise reduction mode to be switched, and the latter indicating the specific noise reduction parameter settings. Generate noise reduction control parameters according to the instruction parsing data. The noise reduction control parameters may include the type of target noise reduction mode, noise reduction intensity, filter settings, etc. For example, for the "increase noise reduction" instruction, the noise reduction intensity parameter may be increased by a preset value; for the "switch to office mode" instruction, the target noise reduction mode may be set to a noise reduction mode optimized for an office environment. The noise reduction control parameters may be represented as a vector, where each parameter represents a specific control parameter. Based on the noise reduction control parameters, the Bluetooth headset is subjected to noise reduction control through the target noise reduction mode and the filtered noise reduction signal. This includes applying the control parameters to the noise reduction algorithm, adjusting the filter weights and other noise reduction settings, so as to achieve the noise reduction effect desired by the user. For example, assume that a user uses a Bluetooth headset in an open office and issues a voice command "increase noise reduction". The headset collects the user's voice command in real time through a built-in microphone and performs preliminary noise filtering to ensure the clarity of the voice data. The user's voice signal is converted into the text "increase noise reduction" through voice recognition technology. Through natural language processing technology, the text is parsed, "increase" is identified as the operation verb, "noise reduction" is identified as the target operation, and instruction parsing data is generated, indicating that the noise reduction intensity needs to be increased. According to the instruction parsing data, the corresponding noise reduction control parameters are generated. For example, the noise reduction intensity parameter is increased by 10% to generate a new noise reduction control parameter vector. These control parameters are applied to the noise reduction algorithm of the headphones to adjust the weights and other settings of the filter to achieve a stronger noise reduction effect.

[0154] The above describes the Bluetooth headset noise reduction processing method in the embodiment of the present application. The following describes the Bluetooth headset noise reduction processing device in the embodiment of the present application. Figure 2 In the embodiment of the present application, an embodiment of the Bluetooth headset noise reduction processing device includes:

[0155] The acquisition module 201 is used to collect environmental noise data through multiple microphone arrays built into the Bluetooth headset, and perform signal processing on the environmental noise data through an extended Kalman filter algorithm to obtain a noise spectrum diagram and characteristic parameters;

[0156] A processing module 202 is used to perform time-frequency masking processing on the environmental noise data according to the noise spectrum diagram and the characteristic parameters to obtain an active noise reduction signal;

[0157] A filtering module 203 is used to perform adaptive filtering on the active noise reduction signal to obtain a filtered noise reduction signal;

[0158] An analysis module 204 is used to perform noise environment analysis on the filtered noise reduction signal through a Bayesian optimization network to obtain noise environment characteristics, wherein the noise environment characteristics include: environment type and environment change trend;

[0159] A matching module 205 is used to match a target noise reduction mode according to the noise environment characteristics, wherein the target noise reduction mode includes: active noise reduction, passive noise reduction, and active-passive mixed noise reduction;

[0160] The control module 206 is used to collect the user's noise reduction requirements in real time, and based on the user's noise reduction requirements, perform noise reduction control on the Bluetooth headset according to the target noise reduction mode and the filtered noise reduction signal.

[0161] Through the cooperation of the above components, the built-in multiple microphone arrays of the Bluetooth headset can collect environmental noise data in real time, and use the extended Kalman filter algorithm to process these environmental noise data, so as to obtain accurate noise spectrum and characteristic parameters. This efficient noise data collection and processing method enables the Bluetooth headset to more accurately identify and analyze environmental noise, laying a solid foundation for subsequent noise reduction processing. According to the noise spectrum and characteristic parameters, the environmental noise data is subjected to time-frequency masking processing to obtain an active noise reduction signal. This process realizes the accurate filtering of noise of different frequencies and the generation of noise reduction signals through the combination of short-time Fourier transform algorithm and time-frequency masking matrix, ensuring the efficiency and accuracy of the active noise reduction signal. Through such processing, the Bluetooth headset can provide stable and high-quality noise reduction effects in various complex noise environments, significantly improving the user's auditory experience. Further, the active noise reduction signal is adaptively filtered to obtain a filtered noise reduction signal. This process dynamically adjusts and optimizes the filter parameters through steps such as signal segmentation, error calculation, gain vector analysis and filter weight setting, so that the filtered noise reduction signal is more accurate and efficient, and can adapt to changes in environmental noise in real time. This adaptive filtering processing method not only improves the stability of the noise reduction effect, but also provides consistent noise reduction performance in different noise environments to meet the diverse needs of users. The noise environment analysis of the filtered noise reduction signal through the Bayesian optimization network can obtain the noise environment characteristics including the environment type and the trend of environmental changes. The Bayesian optimization network deeply analyzes and models the filtered noise reduction signal through the input layer, convolution layer, pooling layer, Bayesian reasoning layer and output layer, and realizes the comprehensive analysis and accurate classification of the noise environment. This optimization algorithm based on the probability model can not only process complex noise data, but also provide prediction and trend analysis of the noise environment, providing reliable data support for the optimization of the noise reduction mode. Matching the target noise reduction mode according to the noise environment characteristics enables the Bluetooth headset to automatically select the best noise reduction strategy in different noise environments. The target noise reduction mode includes active noise reduction, passive noise reduction and active and passive mixed noise reduction. Through matching algorithms and priority settings, it ensures that the optimal noise reduction mode is selected in various noise environments, thereby providing the best noise reduction effect. This intelligent mode matching and selection mechanism not only improves the intelligence and flexibility of the noise reduction effect, but also significantly improves user satisfaction and usage experience. It collects user noise reduction needs in real time, and dynamically adjusts the noise reduction mode and parameters based on these needs, achieving a perfect combination of user needs and noise reduction effects. Through voice recognition and natural language processing technology, the user's voice commands are converted into specific noise reduction commands, and noise reduction control parameters are generated based on these commands to dynamically adjust the noise reduction processing unit of the Bluetooth headset.Such user interaction and feedback mechanism not only makes the noise reduction process more humane and intelligent, but also provides customized noise reduction services based on the user's personalized needs, significantly improving the user's overall experience and satisfaction.

[0162] The present application also provides a Bluetooth headset noise reduction processing device, which includes a memory and a processor. The memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor executes the steps of the Bluetooth headset noise reduction processing method in the above-mentioned embodiments.

[0163] The present application also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the Bluetooth headset noise reduction processing method.

[0164] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems, systems and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0165] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.

[0166] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A Bluetooth headset noise reduction processing method, It is characterized in that The Bluetooth headset noise reduction processing method comprises: The environmental noise data is collected by using a plurality of microphone arrays built into the Bluetooth headset, and the environmental noise data is signal processed by using an extended Kalman filter algorithm to obtain a noise spectrum diagram and characteristic parameters; According to the noise spectrum diagram and the characteristic parameters, the environmental noise data is subjected to time-frequency masking processing to obtain an active noise reduction signal; Performing adaptive filtering on the active noise reduction signal to obtain a filtered noise reduction signal; Performing noise environment analysis on the filtered noise reduction signal through a Bayesian optimization network to obtain noise environment characteristics, wherein the noise environment characteristics include: noise environment type and environment change trend; Matching a target noise reduction mode according to the noise environment characteristics, the target noise reduction mode including: passive noise reduction and active-passive mixed noise reduction; The user's noise reduction demand is collected in real time, and based on the user's noise reduction demand, the Bluetooth headset is controlled to reduce noise according to the target noise reduction mode and the filtered noise reduction signal.

2. The Bluetooth headset noise reduction processing method according to claim 1, It is characterized in that The environmental noise data is collected by using a plurality of microphone arrays built into the Bluetooth headset, and the environmental noise data is signal processed by using an extended Kalman filter algorithm to obtain a noise spectrum diagram and characteristic parameters, including: Collecting environmental noise data through multiple microphone arrays built into the Bluetooth headset, and collecting self-noise data of the Bluetooth headset, wherein the self-noise data includes: static noise, microphone noise and noise noise; Performing data elimination on the environmental noise data based on the self-noise data to obtain first noise data; Performing initial value matching on the first noise data by using the extended Kalman filter algorithm to obtain initial values ​​corresponding to the environmental noise data, wherein the initial values ​​include: initial state data and a covariance matrix; Constructing a state space model corresponding to the first noise data, wherein the state space model includes state variables and space variables; Time-update the state space model through the state transfer matrix of the extended Kalman filter algorithm to obtain an updated state model, and extract second noise data corresponding to the updated state model; Extracting noise frequency distribution data from the second noise data to obtain noise frequency distribution data, and extracting noise features from the second noise data to obtain the feature parameters, wherein the feature parameters include: main frequency data, noise intensity data, and time series features; the main frequency data represents the most significant part of the frequency component in the noise signal; The noise spectrum diagram is generated according to the noise frequency distribution data.

3. The Bluetooth headset noise reduction processing method according to claim 1, It is characterized in that The step of performing time-frequency masking processing on the ambient noise data according to the noise spectrum diagram and the characteristic parameters to obtain an active noise reduction signal includes: Based on the characteristic parameters, the noise spectrum is segmented into short-time windows to obtain a plurality of short-time window data; The time-frequency decomposition of each short-time window data is performed by the short-time Fourier transform algorithm to obtain the noise frequency distribution data corresponding to each short-time window data; Convert the noise frequency distribution data corresponding to each short-time window data into multiple time-frequency graphs; Perform noise time-frequency diagram screening on each time-frequency diagram to obtain multiple noise time-frequency diagrams; Identify the noise components of each noise time-frequency diagram to obtain the noise component data corresponding to each noise time-frequency diagram; Generate a time-frequency masking matrix corresponding to each noise time-frequency graph through the noise component data corresponding to each noise time-frequency graph, wherein each element in the time-frequency masking matrix represents a masking value of a corresponding time-frequency point; Through the time-frequency masking matrix corresponding to each noise time-frequency diagram, each noise time-frequency diagram is subjected to time-frequency point weighting processing to obtain multiple weighted time-frequency diagrams; An inverse short-time Fourier transform is performed on a plurality of weighted time-frequency graphs to obtain the active noise reduction signal.

4. The Bluetooth headset noise reduction processing method according to claim 1, It is characterized in that The step of performing adaptive filtering on the active noise reduction signal to obtain a filtered noise reduction signal includes: Performing signal segmentation on the active noise reduction signal to obtain multiple signal segments; Calculating the signal error of each signal segment respectively to obtain the signal error data of each segment signal; Performing gain vector analysis on the signal error data of each segment signal respectively to obtain gain vector data corresponding to each signal error data; Setting the filter weight corresponding to the signal error data of each segment signal according to the gain vector data corresponding to each signal error data; Through the multiple filters after weight setting, error data is eliminated for each signal segment to obtain multiple filtered signal segments, and the filtered noise reduction signal is generated according to the multiple filtered signal segments.

5. The Bluetooth headset noise reduction processing method according to claim 1, It is characterized in that The Bayesian optimization network includes an input layer, a convolution layer, a pooling layer, a Bayesian reasoning layer and an output layer. The Bayesian optimization network is used to perform noise environment analysis on the filtered noise reduction signal to obtain noise environment characteristics. The noise environment characteristics include: noise environment type and environment change trend, including: Inputting the filtered denoised signal into the input layer for data normalization processing to obtain a normalized signal; Inputting the normalized signal into the convolution layer to perform a convolution operation to obtain a convolution feature; Inputting the convolutional features into the pooling layer for average pooling processing to obtain pooling features; Inputting the pooled features into the Bayesian inference layer for probability modeling to obtain a noise probability model; Performing noise distribution probability analysis on the noise probability model to obtain noise distribution probability data; Performing a change trend analysis on the filtered noise reduction signal based on the noise distribution probability data to obtain an environmental change trend; A noise type analysis is performed on the filtered noise reduction signal according to the noise distribution probability data to obtain a noise environment type, wherein the noise environment type includes: office noise and street noise.

6. The Bluetooth headset noise reduction processing method according to claim 5, It is characterized in that The target noise reduction mode is matched according to the noise environment characteristics, and the target noise reduction mode includes: passive noise reduction and active and passive mixed noise reduction, including: Matching a first initial noise reduction mode according to the noise environment type, and performing an environmental noise prediction value analysis on the environmental change trend to obtain an environmental noise prediction value; When the environmental noise prediction value is greater than or equal to a first preset threshold, performing mode fusion on the first initial noise reduction mode to obtain a fused noise reduction mode; Performing mode switching frequency matching on the fusion noise reduction mode to obtain a first mode switching frequency, and generating the target noise reduction mode according to the first mode switching frequency; When the environmental noise prediction value is less than the first preset threshold, switching the first initial noise reduction mode to obtain a second noise reduction mode; The second noise reduction mode is subjected to mode switching frequency matching to obtain a second mode switching frequency, and the target noise reduction mode is generated according to the second mode switching frequency. The target noise reduction mode includes: passive noise reduction and active-passive hybrid noise reduction.

7. The Bluetooth headset noise reduction processing method according to claim 1, It is characterized in that The real-time collection of user noise reduction requirements, and based on the user noise reduction requirements, the noise reduction control of the Bluetooth headset according to the target noise reduction mode and the filtered noise reduction signal, includes: Collect user noise reduction requirements in real time and extract voice data in the user noise reduction requirements; Converting the voice data into text to obtain text data; Extracting the noise reduction instruction corresponding to the text data, parsing the noise reduction instruction, and obtaining instruction parsing data, wherein the instruction parsing data includes: noise reduction mode switching data and noise reduction control data; Noise reduction control parameters are generated according to the instruction parsing data, and based on the noise reduction control parameters, noise reduction control is performed on the Bluetooth headset through the target noise reduction mode and the filtered noise reduction signal.

8. A Bluetooth headset noise reduction processing device, It is characterized in that The Bluetooth headset noise reduction processing device comprises: The acquisition module is used to collect environmental noise data through multiple microphone arrays built into the Bluetooth headset, and perform signal processing on the environmental noise data through an extended Kalman filter algorithm to obtain a noise spectrum diagram and characteristic parameters; A processing module, configured to perform time-frequency masking processing on the environmental noise data according to the noise spectrum diagram and the characteristic parameters to obtain an active noise reduction signal; A filtering module, used for performing adaptive filtering on the active noise reduction signal to obtain a filtered noise reduction signal; An analysis module, configured to perform noise environment analysis on the filtered noise reduction signal through a Bayesian optimization network to obtain noise environment characteristics, wherein the noise environment characteristics include: noise environment type and environment change trend; A matching module, used for matching a target noise reduction mode according to the noise environment characteristics, wherein the target noise reduction mode includes: passive noise reduction and active-passive mixed noise reduction; The control module is used to collect the user's noise reduction requirements in real time, and based on the user's noise reduction requirements, perform noise reduction control on the Bluetooth headset according to the target noise reduction mode and the filtered noise reduction signal.

9. A Bluetooth headset noise reduction processing device, It is characterized in that The Bluetooth headset noise reduction processing device comprises: a memory and at least one processor, wherein instructions are stored in the memory; The at least one processor calls the instruction in the memory to enable the Bluetooth headset noise reduction processing device to execute the Bluetooth headset noise reduction processing method according to any one of claims 1 to 7.

10. A computer-readable storage medium having instructions stored thereon, It is characterized in that When the instructions are executed by the processor, the Bluetooth headset noise reduction processing method according to any one of claims 1 to 7 is implemented.