Earphone control method and earphone

By simultaneously turning on the active noise reduction and transmissive links in the headphones to process external audio signals, the problem of cumbersome operation of traditional noise reduction headphones is solved, and convenient external sound perception and efficient noise reduction effect are achieved.

CN119893352APending Publication Date: 2025-04-25ANKER INNOVATIONS TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202311381433.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-23
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

Traditional noise-cancelling headphones are cumbersome when users need to perceive external sounds, making it difficult to achieve convenient external sound perception.

Method used

By simultaneously opening the active noise reduction link and the first transparent link, an external audio signal is obtained, and noise-proof processing is performed through the active noise reduction link. At the same time, non-target type audio signals are denoised through the transparent link to retain the target type audio signal.

Benefits of technology

It realizes the target type audio signal while actively reducing noise, so that users can easily perceive external sound without cumbersome operations, improving the convenience of using the headset.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119893352A_ABST
    Figure CN119893352A_ABST
Patent Text Reader

Abstract

The invention relates to an earphone control method and an earphone. According to the method, an active noise reduction link and a first unvarnished transmission link are started at the same time, an anti-noise signal is generated through the active noise reduction link, the anti-noise signal is played through a loudspeaker, external audio signals can be suppressed, noise reduction processing is carried out on audio signals of a non-target type in the external audio signals through the first unvarnished transmission link, and noise-reduced audio signals are obtained. The first unvarnished transmission link can remove audio signals of a non-target type, so that the noise reduction audio signals reserve audio signals of a target type in external audio signals. The audio signal of the target type can be transmitted to the ears of the user by playing the noise reduction audio signal through the loudspeaker, and the user can focus on the audio signal of the target type which the user wants to perceive. By adopting the method, when the audio signal of the target type in the external audio signal needs to be perceived, a user does not need to carry out tedious operation, so that the use convenience of the earphone is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of audio technology, and in particular to an earphone control method and an earphone. Background Art

[0002] In recent years, the use of headphone users has grown rapidly. As people's demand for sound quality increases, the demand for noise-canceling headphones is also growing.

[0003] Noise-cancelling headphones can be divided into active noise-cancelling and passive noise-cancelling according to the noise-cancelling method. With the improvement of the noise-cancelling quality of headphones, when people need to perceive external sounds while using noise-cancelling headphones, they usually need to take off the headphones and put them back on when the perception needs to end. Therefore, traditional noise-cancelling headphones have the problem of cumbersome operation when users need to perceive external sounds. Summary of the invention

[0004] Based on this, it is necessary to provide a headset control method, device, headset, computer-readable storage medium and computer program product that can improve operational convenience in response to the above technical problems.

[0005] In a first aspect, the present application provides a headset control method, the method comprising:

[0006] Enable the active noise reduction link and the first transparent transmission link at the same time;

[0007] Acquire external audio signals;

[0008] Performing active noise reduction processing on the external audio signal through an active noise reduction link to obtain an anti-noise signal, and playing the anti-noise signal through a speaker;

[0009] A non-target type of audio signal in the external audio signal is subjected to noise reduction processing through the first transparent transmission link to obtain a noise-reduced audio signal, and the noise-reduced audio signal is played through the speaker.

[0010] In a second aspect, the present application provides an earphone control device, the device comprising:

[0011] A control module, used to simultaneously enable the active noise reduction link and the first transparent transmission link;

[0012] Acquisition module, used to obtain external audio signals;

[0013] An active noise reduction module, used to perform active noise reduction processing on the external audio signal through an active noise reduction link to obtain an anti-noise signal, and play the anti-noise signal through a speaker;

[0014] The focus is on the noise reduction module, which is used to perform noise reduction processing on the non-target type audio signal in the external audio signal through the first transparent transmission link to obtain a noise-reduced audio signal, and play the noise-reduced audio signal through the speaker.

[0015] In a third aspect, the present application provides a device including a microphone and a controller connected to the microphone, the controller having a memory and a processor, the memory storing a computer program, and the processor implementing the steps of the method described in the above embodiments when executing the computer program.

[0016] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, and the processor implements the steps of the method described in the above embodiments when executing the computer program.

[0017] In a fifth aspect, the present application provides a computer program product, including a computer program, which implements the steps of the methods described in the above embodiments when executed by a processor.

[0018] The above-mentioned headphone control method, device, headphone, computer-readable storage medium and computer program product simultaneously start the active noise reduction link and the first transparent transmission link, generate an anti-noise signal through the active noise reduction link, play the anti-noise signal through the speaker, and can suppress the external audio signal. At the same time, the non-target type of audio signal in the external audio signal is subjected to noise reduction processing through the first transparent transmission link to obtain a noise-reduced audio signal. The first transparent transmission link can remove the non-target type of audio signal, so that the noise-reduced audio signal retains the target type of audio signal in the external audio signal. Playing the noise-reduced audio signal through the speaker can transparently transmit the target type of audio signal to the user's ears, and the user can focus on the target type of audio signal that he wants to perceive. With this method, when there is a need to perceive the target type of audio signal in the external audio signal, the user does not need to perform cumbersome operations, which improves the convenience of using the headphone. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 A schematic diagram of an application scenario of a headset control method in an embodiment;

[0020] Figure 2 is a flowchart of an earphone control method in one embodiment;

[0021] Figure 3 A schematic diagram of a process flow focusing on the transparent transmission step in an embodiment;

[0022] Figure 4 A schematic diagram illustrating the principle of volume adjustment in one embodiment;

[0023] Figure 5 A schematic diagram of a scene selection interface in one embodiment;

[0024] Figure 6 A schematic diagram of a target type setting interface in one embodiment;

[0025] Figure 7 is a flowchart of an earphone control method in one embodiment;

[0026] Figure 8 is a schematic diagram illustrating active noise reduction in an embodiment;

[0027] Fig. 9 is a schematic diagram illustrating the noise reduction capabilities of different noise reduction methods in one embodiment;

[0028] Fig.10 is a structural block diagram of an earphone control device in an embodiment;

[0029] Fig.11 FIG. 4 is a diagram showing the internal structure of an earphone in one embodiment. DETAILED DESCRIPTION

[0030] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0031] Noise-cancelling headphones refer to headphones that can reduce external noise. In terms of noise reduction methods, noise-cancelling headphones can be divided into active noise-cancelling headphones and passive noise-cancelling headphones. Passive noise reduction uses a physical barrier to block external noise and reduce the sound transmitted to the ear. Active noise reduction achieves the purpose of noise reduction by generating reverse sound waves opposite to the external noise and then neutralizing the noise. Active noise reduction has a good noise reduction effect. If the active noise reduction mode is turned on, the user cannot effectively perceive the external sound.

[0032] Considering that users have both the need for noise reduction and the need to perceive external sounds when wearing headphones, some headphones also support transparent transmission mode. Transparent transmission mode refers to a transparent transmission mode that can transmit external sounds to the headphones. In transparent transmission mode, you can hear the surrounding sounds through the headphones, which can meet the need to perceive external sounds in specific scenarios. The transparent transmission mode will truly transmit all external sounds, making it feel like you are not wearing headphones. If the user turns on the transparent transmission mode, whether it is external noise, sudden loud noise or human voice, it will be transmitted to the ears, causing the user to be unable to focus on the sound he wants to hear.

[0033] In response to this problem, the present application provides a headphone control method, which includes the following steps: simultaneously opening an active noise reduction link and a first transparent transmission link; obtaining an external audio signal; performing active noise reduction processing on the external audio signal through the active noise reduction link to obtain an anti-noise signal, and playing the anti-noise signal through a loudspeaker; performing noise reduction processing on a non-target type of audio signal in the external audio signal through the first transparent transmission link to obtain a noise reduction audio signal, and playing the noise reduction audio signal through the loudspeaker. The method generates an anti-noise signal for the external audio signal through the active noise reduction link, which can suppress the external audio signal. At the same time, the audio signal except the target type in the external audio signal is subjected to noise reduction processing through the first transparent transmission link, which can remove the non-target type of audio signal and retain the target type of audio, thereby superimposing the anti-noise signal and the noise reduction audio signal, and can transparently transmit the target type of audio. Finally, only the target type of audio in the external audio signal can be transmitted to the user's ears, and the user can focus on the target type of audio that he wants to perceive. With this method, when there is a need to perceive the target type of audio in the external audio signal, the user does not need to perform cumbersome operations, which improves the convenience of using the headphone.

[0034] like Figure 1 As shown, it shows a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application, and the implementation environment includes a terminal 102 and a headset 104.

[0035] The terminal 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices, and portable wearable devices. IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car devices, etc. Portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc.

[0036] In some embodiments, an application with an audio playback function is installed in the terminal 102. The earphone 104 can be connected to the terminal for communication. The earphone 104 is an electronic device with an audio playback function, which can be a headset, an earmuff-type earphone, an in-ear earphone, a semi-in-ear earphone, etc., which is not limited in this embodiment.

[0037] After the terminal 102 and the headset 104 are connected to each other through the data communication link, the user can control the headset 104 to play audio by performing specific operations on the terminal 102 .

[0038] In one embodiment, Figure 2 As shown, a headset control method is provided, and the method is applied to Figure 1 The following steps are used as an example to illustrate the use of the headset in Figure 1:

[0039] Step 202: simultaneously start the active noise reduction link and the first transparent transmission link.

[0040] Among them, the active noise reduction link is used to achieve active noise reduction of external audio signals. The first transparent transmission link is used to achieve transparent transmission of target type audio signals in external audio signals. By simultaneously opening the active noise reduction link and the first transparent transmission link, it is possible to transparently transmit the target type of audio signals while actively reducing noise.

[0041] Step 204: Acquire external audio signals.

[0042] External audio signals refer to audio signals collected by the headset's microphone. The microphone is located outside the headset or inside the earmuff, and is set as close to the user's ear as possible. The built-in microphone of the headset captures ambient noise signals in the surrounding environment.

[0043] The content of the external audio signal is related to the environment in which the user is located. For example, when the user is in an outdoor road environment, the external audio signal is usually traffic noise. For another example, when the user is in an indoor environment, the external audio signal is usually human voice.

[0044] Step 206: Active noise reduction processing is performed on the external audio signal through an active noise reduction link to obtain an anti-noise signal, and the anti-noise signal is played through a speaker.

[0045] In one embodiment, in order to improve the noise reduction effect, an anti-noise signal may be obtained by combining active noise reduction with passive noise reduction.

[0046] The passive noise reduction principle of headphones is based on the principle of physical isolation. It does not rely on electronic technology or active interference, but reduces the spread of external noise through the structure and materials of the headphones themselves. Among them, active noise reduction can be achieved from the earmuff structure, ear pad material and sound insulation material of the headphones.

[0047] Headphones usually use an earmuff structure, which is the covering part of the outside of the headphones. The earmuffs are usually made of sturdy materials and have a certain degree of sealing. This structure can block external noise from entering the space of the headphones. The ear pads are the part of the headphones that contacts the ears. It usually uses soft materials such as memory foam or sponge to provide a comfortable wearing experience. In addition to comfort, the main function of the ear pads is to create a sealed environment to isolate external noise. Various sound insulation materials may be used in the internal structure of the headphones, such as sound-absorbing cotton or sound insulation layers. These materials can absorb and reduce the spread of noise, thereby reducing the interference of external noise on the sound heard.

[0048] Through the combination of the above structure and materials, the earphones can reduce the interference of external noise to a certain extent, so that the microphone can collect external audio signals with reduced noise interference. Then, the external audio signals captured by the microphone will be sent to the circuit system of the earphones for processing. These signals will go through a series of digital signal processing algorithms, noise analysis and inverted signal generation to obtain anti-noise signals.

[0049] Among them, the data signal processing algorithm includes operations such as filtering, amplification, and phase adjustment. Noise analysis includes spectrum analysis and feature extraction. Through spectrum analysis and feature extraction, the frequency components, amplitude, phase and other characteristics of the external audio signal can be identified. Active noise reduction is specifically to use the circuit system of the headset to generate a sound wave signal opposite to the external audio signal based on the noise analysis results. It is called a reverse signal or anti-noise signal. This signal is opposite in phase to the external audio signal. The external audio signal is mixed with the anti-noise signal through the headset and then played through the speaker of the headset. Since the anti-noise signal is in opposite phase to the external audio signal, they interfere and weaken or offset the noise signal, so that the sound heard by the user is clearer and undisturbed.

[0050] Step 208: Perform noise reduction processing on the non-target type audio signal in the external audio signal through the first transparent transmission link to obtain a noise-reduced audio signal, and play the noise-reduced audio signal through the speaker.

[0051] The target type of audio signal refers to the audio signal that the user is concerned about in the external audio signal. The target type of audio signal may include multiple types, such as human voice, station announcement sound in a traffic environment, whistle sound in a traffic environment, broadcast sound in a waiting environment, etc. In one embodiment, the target type of audio signal may be at least one.

[0052] The target type of audio signal may be at least one type of preset audio signal, such as human voice. The target type of audio signal may also be at least one type of preset audio signal related to scene features, and the type of the target type of audio signal may change with the change of scene. For example, in scene A, the target type of audio signal includes human voice, and in scene B, the target type of audio signal includes human voice and whistle sound.

[0053] By performing noise reduction processing on the non-target audio signal in the external audio signal through the first transparent transmission link, the non-target audio signal in the external audio signal can be reduced or eliminated, and the obtained noise-reduced audio signal only retains the target audio signal, that is, the audio signal that the user is concerned about. The noise-reduced audio signal is played through the speaker to achieve the transparent transmission of the target audio signal to the user's ear through the earphone.

[0054] For the convenience of description, the active noise reduction link can be referred to as processing link 1, and the first transparent transmission link can be referred to as processing link 2. The two processing links are performed simultaneously. Figure 3 As shown in , processing link one and processing link two are independent of each other, do not affect each other, and run at the same time. Processing link one implements an active noise reduction method, performs active noise reduction processing on the external audio signal, and obtains an anti-noise signal. Through the processing of processing link one, the external audio signal is suppressed. Processing link two implements a selective noise reduction algorithm, and performs noise reduction processing on the non-target type of audio signal in the external audio signal through the first transparent transmission link to obtain a noise-reduced audio signal. Through the processing of processing link two, non-target type of audio signals are suppressed. Through the processing of processing link one and processing link two, while realizing active noise reduction, it is also possible to transparently transmit only the target type of audio signal to the user's ears.

[0055] Because the sound is suppressed very small by processing link one, but the sound is larger than that of processing link one by processing link two. When the active noise reduction link and the first transparent transmission link are turned on at the same time, due to the masking effect of human hearing (masking in audiology refers to the increase in the human ear's perception threshold of a sound due to the presence of another sound. For example, the human ear can distinguish slight sounds in a quiet environment, but in a noisy environment, these slight sounds will be drowned out by noise. This auditory perception of a weaker sound (masked sound) is affected by another stronger sound (masking sound), which is called the masking effect of the human ear), the human ear cannot perceive the sound of the processing link below at low latency, so the user only perceives the retained target type of audio signal.

[0056] In this embodiment, active noise reduction processing is performed on the external audio signal through processing link one to obtain an anti-noise signal, and noise reduction processing is performed on non-target type audio signals in the external audio signal through processing link two, and only audio signals including the target type are retained. Under the effect of sound masking, the user hears the audio signal of the target type.

[0057] The headset control method allows the user to pay attention to the external ambient sound without taking off the headset, etc., and can transmit the target type of audio signals while actively reducing noise, thereby improving the convenience of operation. For example, when the headset user has a conversation need, the human voice is used as the target type of audio signal, and the human voice of the external audio signal can be retained. When the user uses the headset, the human voice in the external environment can be perceived, and the conversation content can be perceived without taking off the headset. For example, when the headset user has the need to perceive the broadcast in the waiting environment, the broadcast is used as the target type of audio signal, and the broadcast sound of the external audio signal can be retained. When the user uses the headset, the broadcast can be perceived without taking off the headset to perceive the broadcast content, so as to avoid missing the waiting notice. For example, when the headset user has the need to perceive the station announcement broadcast in the environment of riding a vehicle, the station announcement broadcast is used as the target type of audio signal, and the station announcement broadcast of the external audio signal can be retained. When the user uses the headset, the station announcement broadcast can be perceived, and the broadcast content can be perceived without taking off the headset, so as to avoid the occurrence of the wrong station and the like.

[0058] At least one target type of audio signal that the user is concerned about can be set by the user. For example, when the user has a need to perceive external ambient sound, the user can select the target type of audio signal to be concerned about through the earphone control program in the terminal. Thus, the user can flexibly set the target type of audio signal concerned about based on his own needs.

[0059] At least one target type of audio sound that the user is concerned about can also be matched according to the scene. For example, according to at least one of the environment and the application state, the scene feature is determined, and then the corresponding target type of audio sound is matched according to the scene feature. In this way, the target type of audio sound concerned can be flexibly matched according to at least one of the environment and the application state of the user.

[0060] In one embodiment, the noise reduction model may be called to perform noise reduction processing on non-target audio types in the external audio signal.

[0061] The headphone control method of the present application simultaneously turns on the active noise reduction link and the first transparent transmission link, generates an anti-noise signal through the active noise reduction link, plays the anti-noise signal through the speaker, can suppress the external audio signal, and at the same time, performs noise reduction processing on the non-target type of audio signal in the external audio signal through the first transparent transmission link to obtain a noise-reduced audio signal. The first transparent transmission link can remove the non-target type of audio signal, so that the noise-reduced audio signal retains the target type of audio signal in the external audio signal. Playing the noise-reduced audio signal through the speaker can transparently transmit the target type of audio signal to the user's ears, and the user can focus on the target type of audio signal that he wants to perceive. With this method, when there is a need to perceive the target type of audio signal in the external audio signal, the user does not need to perform cumbersome operations, which improves the convenience of using the headphone.

[0062] In another embodiment, the first transparent transmission link includes a noise reduction model, and noise reduction processing is performed on non-target type audio signals in the external audio signal through the first transparent transmission link to obtain a noise-reduced audio signal, including: determining at least one target type of audio signal to be transparently transmitted; using the noise reduction model, performing noise reduction processing on non-target type audio signals in the external audio signal to obtain a noise-reduced audio signal.

[0063] In one embodiment, the user may set the target type of the audio signal of interest, and may also determine the target type of the audio signal of interest corresponding to the scene based on scene matching. Specifically, the scene feature may be determined based on at least one of the environment and the application state, and then the audio signal of the corresponding target type may be matched based on the scene feature.

[0064] In this embodiment, the noise reduction model is called to perform noise reduction processing on the non-target type audio signal in the external audio signal. The noise reduction model can be obtained by training the training data set. The training data set includes an input signal with noise and a corresponding audio signal of the target type, and the audio signal of the target type is the annotation result of the input signal with noise. It can be understood that it is necessary to prepare corresponding training data sets for audio signals of different target types. Then a lightweight causal model is built. The model input is the frequency domain features of the input signal with noise, and the output is the amplitude spectrum information of the enhanced speech of the predicted target type audio signal. The training process of the model is to calculate the loss function through the deviation between the audio signal of the labeled target type and the audio signal of the predicted target type, and iterative training is performed based on the loss function. The loss function is used to measure the difference between the audio signal of the predicted target type and the audio signal of the labeled target type. Commonly used loss functions include mean square error (MSE) and structural similarity index (SSIM), which can measure the degree of difference between the predicted signal and the real signal.

[0065] In the specific training process, the model is trained using a training data set and a defined loss function through an optimization algorithm (such as gradient descent). The model will continuously adjust its internal parameters to minimize the difference between the predicted target type of audio signal and the labeled target type of audio signal. During the training process, batch training or stochastic gradient descent and other methods can be used to update the model parameters. After the model training is completed, convergence is achieved and a denoising model is obtained. The input of the denoising model is a noisy input signal (such as an external audio signal). The model will make predictions based on the learned features and parameters, and output a denoised signal, that is, an audio signal including at least one target type.

[0066] In this embodiment, the noise reduction model is used to perform noise reduction processing on non-target audio signals in the external audio signal. Compared with the noise reduction method based on spectral features, it can effectively remove other environmental noises other than the target type of audio signal, including other sudden noises in the external environment, thereby preventing the user from being frightened by sudden noises during transparent transmission.

[0067] In one embodiment, before the step of calling the noise reduction model to perform noise reduction processing on the non-target type of audio signal in the external audio signal to obtain the noise-reduced audio signal, the method further includes: preprocessing the external audio signal.

[0068] The preprocessing may include at least one of framing, windowing, frequency domain conversion processing and compression.

[0069] Framing is to divide the speech signal into multiple segments to analyze its characteristic parameters. Each segment is called a frame, and a frame is usually 10-30 milliseconds. Speech has a short-term stable characteristic, and it is easier to estimate the characteristics of a stable periodic signal.

[0070] In order to reduce the spectrum leakage caused by the discontinuity between frames during the framing process, the data after framing needs to be windowed. After framing, there are mutations at both ends of each frame, which will introduce spectrum leakage and lead to inaccurate spectrum analysis results. The windowing process applies a window function to each frame to gradually attenuate the frame signal from the signal value to zero, making the connection between frames smoother and reducing the occurrence of leakage.

[0071] Frequency domain conversion processing converts the external audio signal from the time domain to the frequency domain. Among them, Fourier transform can be used for frequency domain conversion processing.

[0072] Dynamic feature compression can reduce the dynamic range of compressed features and reduce model processing pressure. The range of dynamic compression is generally logarithmic or square root.

[0073] Before the noise reduction model is used for processing, the external audio signal is preprocessed as described above to obtain an audio signal that meets the model processing requirements, so that the preprocessed external audio signal can be input into the noise reduction model for processing.

[0074] In the noise reduction model, noise reduction processing is performed on non-target audio signals in the external audio signal to obtain a noise-reduced audio signal, and then output adjustment is performed on the noise-reduced audio signal to obtain an adjusted noise-reduced audio signal, wherein the output adjustment includes at least one of volume adjustment and audio equalization adjustment; and playing the noise-reduced audio signal through the speaker includes: playing the adjusted noise-reduced audio signal through the speaker.

[0075] The noise reduction model has a large number of parameters and has the ability to reduce noise after being trained with a large amount of data. The model input is an external audio signal and the output is an enhanced speech signal that predicts the audio signal of the target type.

[0076] By performing output adjustment on the predicted speech signal, the output quality of the audio signal of interest including at least one target type of audio signal can be improved. The output adjustment can include one or more of equalizer EQ adjustment or volume adjustment.

[0077] Specifically, the volume adjustment includes: performing volume mapping processing on the predicted speech signal and adjusting the output volume of the predicted speech signal. Specifically, the volume adjustment can adopt the WDRC algorithm (wide dynamic range compression algorithm). The algorithm dynamically adjusts the gain and compression ratio of the signal according to the volume level of the signal and the set compression parameters.

[0078] Wide dynamic range compression algorithm Figure 4 As shown. I_min and I_max represent the hearing threshold and pain threshold of normal people, respectively, and O_min and O_max represent the hearing threshold and pain threshold of patients, respectively. When the sound pressure level of the received speech is lower than the hearing threshold I_min, the human ear cannot perceive this part of the speech, and the algorithm does not process the speech signal. When the sound pressure level of the received speech is greater than the pain domain I_max, the sound pressure at this time has reached the limit that the human ear can bear, and the algorithm sets the gain of this part of the speech signal to 0. When the sound pressure level of the received speech is between the hearing threshold I_min and the pain domain I_max, the algorithm linearly matches to the target dynamic range to achieve dynamic compression of the entire sound pressure level. The compressed speech sound pressure level will fall exactly within the patient's hearing dynamic range. The dynamic range of the compressed speech signal becomes smaller at most frequencies, but for patients with hearing loss, the speech quality is higher, achieving the purpose of the loudness compensation algorithm.

[0079] Based on the algorithm, in this embodiment, the predicted voice signal is volume mapped to adjust the output volume of the predicted voice signal. Specifically, when the predicted voice signal exceeds I_max, the speaker volume is lowered, mainly for hearing protection. When the predicted voice signal is less than I_min, it is slightly amplified to maintain the user's perception of the external environment.

[0080] Specifically, audio equalization processing is used to adjust the gain of audio signals in different frequency ranges to change the frequency response of the sound. It can increase or decrease the signal energy in a specific frequency range, thereby achieving balanced adjustment of the audio spectrum. In this embodiment, different frequency points of the predicted speech signal are multiplied by different coefficients to achieve a more natural listening experience.

[0081] In this embodiment, the external audio signal is preprocessed before using the noise reduction model to obtain a preprocessed signal that meets the model input requirements, and then the predicted speech signal output by the model is output adjusted to improve the output quality of the predicted speech signal.

[0082] In another embodiment, the output adjustment further includes: adjusting the output of the predicted speech signal according to the state of the playing content.

[0083] The content playing state refers to the content state of the user playing audio using headphones. The content playing state can be divided into: normal rhythm playing state, slow rhythm playing state, strong rhythm music state, call state, music playing state, video playing state and learning resource playing state.

[0084] For example, when the playback content is in a slow-paced playback state, the rhythm of the predicted voice signal can be increased to distinguish it from the currently playing slow-paced voice content, thereby highlighting the selected transparently transmitted ambient audio.

[0085] For another example, when the content being played is a strong rhythmic music state, the volume of the predicted voice signal may be increased so that the ambient audio of interest that is selected for transparent transmission may be perceived by the user.

[0086] In another embodiment, the at least one target type of audio signal includes human voice. In this embodiment, the noise reduction model is used to perform noise reduction on non-human voices in the external audio signal, and the human voices in the external audio signal are retained, such as speaking voices, broadcasting voices, hawking voices, etc.

[0087] In another embodiment, at least one target type of audio signal includes human voice and scene-related attention sound. Scene-related attention sound is the sound that the user pays attention to in the headset usage scenario. Among them, the scene-related attention sound can be set by the user when using it. The attention sound of different scenes can also be pre-set. During the use of the headset, the attention sound of the scene is determined by identifying the usage scenario of the headset. In this embodiment, a noise reduction model is used to perform noise reduction processing on non-human voices and non-attention sounds in the external audio signal, and the human voice and attention sound in the external audio signal are retained. For example, in the usage scenario of the headset, the corresponding attention sound is a whistle. Therefore, in this scenario, the first transparent link outputs human voice and whistle sound.

[0088] In another embodiment, at least one target type of audio signal includes a scene-related attention sound. The scene-related attention sound is the sound that the user pays attention to in the headset usage scenario. Among them, the scene-related attention sound can be set by the user when using it. The attention sounds of different scenes can also be pre-set. During the use of the headset, the attention sound of the scene is determined by identifying the usage scenario of the headset. In this embodiment, a noise reduction model is used to perform noise reduction on non-attention sounds in the external audio signal, and the attention sound in the external audio signal is retained. For example, when the usage scenario of the headset is a waiting scene, the corresponding attention sound is broadcast sound. Therefore, in this scenario, the first transparent transmission link outputs the broadcast sound.

[0089] In another embodiment, the method of determining the scene-related attention sound includes: determining an application scene of the headset; and obtaining a preset attention sound corresponding to the application scene.

[0090] Among them, the application scenario of the headset may include at least one of the headset's playback scenario and application environment, and the application environment refers to the external environment in which the user is in when using the headset. According to the type of use environment, the application environment can be divided into: indoor environment, outdoor environment, road traffic environment, waiting environment, waiting environment, public transportation environment. The playback scenario is related to the application currently used by the headset / terminal. According to the application, it can be divided into sports scene, call scene, music playback scene, video playback scene and learning resource playback scene, etc.

[0091] The application scenario may be determined according to at least one of a playback scenario using the earphone and an application environment.

[0092] A mapping relationship between application scenarios and the types of attention sounds is preset, and the corresponding attention sounds are determined based on the application scenarios. The mapping relationship table between application scenarios and attention sounds can be preset based on experience, or can be set by the user according to their own needs. For example, the user can adjust the default application scenarios and attention sounds based on their own needs.

[0093] In one implementation, a terminal device connected to the headset may collect at least one of environmental data, audio data, location data, and application data, determine an application scenario, send the application scenario to the headset, and the headset determines the attention sound based on the above data. A terminal device connected to the headset may also collect at least one of environmental data, audio data, location data, and application data, and send the data to the headset, and the headset determines the application scenario based on the above data. On the headset side, when the application scenario is obtained, the attention sound corresponding to the current application scenario is determined based on the mapping relationship between the application scenario and the attention sound.

[0094] The mapping relationship table of application scenarios and attention sounds of an embodiment is shown in Table 1

[0095] Table 1 Mapping relationship between application scenarios and attention sounds

[0096] Indoor environment Vocals Road traffic environment Traffic horn sound Waiting environment Broadcast sound Public transport environment Arrival announcement Sports scenes, outdoor environments Traffic horns, human voices Call scene, outdoor environment Traffic horns, human voices Music playback scene, outdoor environment Traffic horns, human voices Video playback scene, outdoor environment Traffic horns, human voices

[0097] In this embodiment, the concerned sound to be transparently transmitted is determined according to the application scenario, and the external environmental sound concerned by the user can be transparently transmitted according to the application scenario.

[0098] In one implementation, the application scenario can also be obtained through user settings, specifically, obtaining the application scenario of the headset configured through the scenario setting interface. Figure 5 The terminal responds to the application scene selected by the user on the scene setting interface and sends the selected application scene to the headset.

[0099] In one embodiment, at least one target type of audio signal that the user actually wants to perceive can also be set by the user. In one embodiment, a terminal device connected to the headset is installed with an application for controlling the headset, and the application provides a transparent transmission type setting interface, which provides multiple types of target types of audio signals to be transparently transmitted that can be selected, and the user can select the target type based on the transparent transmission type setting interface. The transparent transmission type setting interface of one embodiment can be as follows: Figure 6 As shown. The terminal responds to the target type of the audio signal that needs to be transparently transmitted selected by the user on the transparent transmission type setting interface, and sends the selected target type to the headset. On the headset side, the non-target type audio signal in the external audio signal is subjected to noise reduction processing to obtain a noise-reduced audio signal. For example, in a waiting environment, the user can select the waiting broadcast sound as the target type through the terminal application terminal. Thus, when the headset is used, the selective transparent transmission of the waiting broadcast sound is achieved.

[0100] In one embodiment, multiple target types of audio signals to be transparently transmitted can be determined based on user needs during the development phase, and multiple target types can be used as default configurations. In actual applications, for external audio signals, noise reduction processing is performed on non-target audio signals to obtain multiple audio signals that need to be transparently transmitted. In this embodiment, the headset can transparently transmit the audio signal of the default target type. The audio signal of the default target type may include human voices, station announcements in a traffic environment, whistle sounds in a traffic environment, broadcast sounds in a waiting environment, etc. Audio signals of multiple target types can adapt to multiple environments, and when the user includes the audio signal of the target type in the environment, the audio signal of the target type is selectively transparently transmitted.

[0101] In one embodiment, the headphone control method further includes: when a trigger instruction of the selective transparent transmission mode is obtained, executing the step of simultaneously starting the active noise reduction link and the first transparent transmission link.

[0102] In this embodiment, the step of simultaneously starting the active noise reduction link and the first transparent transmission link is performed only after receiving a trigger instruction of the selective transparent transmission mode, so as to achieve selective transparent transmission of the target type of audio signal.

[0103] Among them, the selective transparent transmission mode refers to the transparent transmission of the voice signal of concern to the user in the environment while actively reducing noise. The selective transparent transmission mode selectively transparently transmits the voice signal of concern to the user while realizing active noise reduction. The selective transparent transmission mode can be triggered by the user by operating the headset. In one embodiment, a touch button is provided on the headset to realize the switching of multiple operating modes. When the user has the need to pay attention to a specific sound in the external environment, the button can be operated to trigger the selective transparent transmission mode, and the headset responds to the trigger instruction of the selective transparent transmission mode to run the selective transparent transmission mode. The selective transparent transmission mode can also be triggered when the headset or terminal detects that it is in a specific scene. When the headset or terminal determines the scene characteristics based on the collected environmental data, audio data, location data, motion data, etc., when it is in the target scene, the selective transparent transmission mode is triggered. Among them, the target scene can include road traffic scenes, waiting scenes, waiting scenes, public transportation scenes, etc.

[0104] In this embodiment, after the selective transparent transmission mode is triggered, the selective transparent transmission of the target type of audio signal is realized. The selective transparent transmission mode can be triggered manually or when the scene feature is detected to meet the triggering condition.

[0105] The earphones involved in this application can provide three working modes, namely: full transparent transmission mode, selective transparent transmission mode and active noise reduction mode.

[0106] In another embodiment, the headphone control method further includes: in response to a trigger instruction of an active noise reduction mode, performing active noise reduction processing on the external audio signal through an active noise reduction link to obtain an anti-noise signal, and playing the anti-noise signal through a speaker.

[0107] Among them, the active noise reduction mode means that all external sounds will be shielded by running the active noise reduction algorithm. The active noise reduction mode can meet the user's demand for high-quality noise reduction. In one embodiment, a touch button is provided on the headset to realize the switching of multiple operating modes. When the user has the need for active noise reduction, the button can be operated to trigger the active noise reduction mode, and the headset responds to the trigger instruction of the active noise reduction mode to run the active noise reduction mode. The active noise reduction mode can also be triggered when the headset or terminal detects that it is in a specific scene. When the headset or terminal determines the scene characteristics based on the collected environmental data, audio data, location data, motion data, etc., when it is in the target scene, the selective transparent transmission mode is triggered. Among them, the target scene can include a safe scene or a specific playback scene, such as a learning audio and video playback scene.

[0108] In this embodiment, by triggering the active noise reduction mode, the user's demand for high-quality noise reduction of headphones can be met.

[0109] In another embodiment, the headphone control method further includes: in response to a switching instruction of the full transparent transmission mode, starting a second transparent transmission link; acquiring an external audio signal; filtering the external audio signal through the second transparent transmission link, and playing the filtered external audio signal through a speaker.

[0110] As mentioned above, the active noise reduction mode will block all external sounds and provide users with high-quality noise reduction effects. But at the same time, it will also cause users to be unable to hear or hear all external sounds, including horns, vehicles passing by, key information sources such as people around them talking, etc., resulting in the user being unable to maintain real-time contact with the external environment, affecting the pace of life and even personal safety. In this embodiment, in addition to the first transparent transmission link, a second transparent transmission link is also included. In the full transparent transmission mode, the external audio signal is filtered through the second transparent transmission link, and the filtered external audio signal is played through the speaker. In other words, the full transparent transmission mode will truly transmit all external sounds, achieving the same listening experience as not wearing headphones.

[0111] In one embodiment, in the selective transparent transmission mode, the external audio signal is actively processed for noise reduction through an active noise reduction link to obtain an anti-noise signal, which can offset the external audio signal and achieve active noise reduction. At the same time, through the first transparent transmission link, the non-target type of audio signal in the external audio signal is processed for noise reduction, and the target type of audio signal is retained, so that what finally reaches the user's ears is the audio signal including the target type. While enjoying the high-quality noise reduction effect of active noise reduction, the target type of audio signal of the external world of concern is retained, so that the user can perceive external information. Taking the example of paying attention to audio signals including human voices, while enjoying the high-quality noise reduction effect of active noise reduction, the user can also pay attention to the people around him and communicate better with the people around him.

[0112] In another embodiment, the headphone control method also includes: obtaining an application scenario; when a change in the application scenario triggers a change in the headphone operating mode, controlling the headphone to switch the operating mode; the operating mode includes at least two of a selective transparent transmission mode, an active noise reduction mode and a full transparent transmission mode.

[0113] In one implementation, a terminal device connected to the headset may collect at least one of environmental data, audio data, location data, and application data to determine an application scenario, and send the application scenario to the headset, which determines the category based on the above data. A terminal device connected to the headset may also collect at least one of environmental data, audio data, location data, and application data, and send the data to the headset, which determines the application scenario based on the above data. On the headset side, when an application scenario is acquired, whether to trigger the switching of the headset operation mode is monitored based on the application scenario.

[0114] Specifically, a mapping relationship between an application scenario and an earphone operating mode may be set, and when the application scenario changes, resulting in a change in the earphone operating mode, the earphone operating mode is switched.

[0115] The mapping relationship table of application scenarios and headset operation modes of an embodiment is shown in Table 2

[0116] Table 2 Mapping relationship between application scenarios and headset operation modes

[0117] Quiet indoor environment Active noise cancellation mode Indoor environment with people talking Selective Transparency Mode Road traffic environment Selective Transparency Mode Waiting environment Selective Transparency Mode Public transport environment Selective Transparency Mode Sports scenes, outdoor environments Selective Transparency Mode Noisy environment Fully transparent mode

[0118] In order to more accurately adapt to the headphone usage mode required by the user, from the perspective of operational convenience, touch buttons can be set on the headphones. If the user is in a particularly noisy scene and does not want to hear anything, the user can operate the touch button to select the active noise reduction mode. If the user wants to fully control the external environment when using the headphones, the user can operate the touch button to select the full transparent mode. If the user wants both noise reduction and a little control over the external environment, the user can operate the touch button to select the selective transparent mode.

[0119] In one embodiment, the headset control method is as follows Figure 7 As shown, the implementation of the selective transparent mode utilizes the two signal processing chains of the headset.

[0120] Among them, the signal processing link 1 realizes active noise reduction, and at the same time, the processing link 2 realizes noise reduction processing of non-target type audio signals in external audio signals, and realizes selective transparent transmission of target type audio signals.

[0121] like Figure 7 As shown, processing link 1 consists of passive noise reduction and active noise reduction. PNC is the passive noise reduction of headphones. The principle of passive noise reduction of headphones is based on the principle of physical isolation. It does not rely on electronic technology or active interference, but reduces the propagation of external noise through the structure and materials of the headphones themselves. However, passive noise reduction technology has a strong attenuation of high-frequency sounds, but the attenuation of low-frequency noise is not enough. Therefore, active noise reduction technology (ANC) can be turned on. The principle of active noise reduction of headphones is to actively detect, analyze and combat external noise by using electronic technology and built-in microphones, thereby reducing noise interference. The result of active noise reduction is shown in the figure. Figure 8 shown.

[0122] Active noise cancellation involves the following steps:

[0123] Step 1, microphone pickup, the microphone is located outside the headset or inside the earmuff, as close as possible to the user's ear. The built-in microphone of the headset will capture ambient noise signals in the surrounding environment, including aircraft engine sound, traffic noise, etc. Among them, the microphone pickup can adopt passive noise reduction (PNC) to improve the quality of sound pickup. The passive noise reduction principle of headphones is based on the principle of physical isolation. It does not rely on electronic technology or active interference, but reduces the propagation of external noise through the structure and materials of the headset itself. Among them, noise reduction can be achieved from the earmuff structure, ear pad material and sound insulation material of the headset.

[0124] Step 2, signal processing, the external audio signals captured by the microphone will be sent to the circuit system of the headset for processing. These signals will go through a series of digital signal processing algorithms, including filtering, amplification, phase adjustment and other operations. Noise analysis: The processed noise signal will undergo spectrum analysis and feature extraction. These analyses are used to identify the frequency components, amplitude and phase characteristics of the noise, and understand the characteristics of the external audio signal. In order to proceed to the next step of processing.

[0125] Step 3, reverse signal generation: Based on the analysis of the external audio signal, the circuit system of the headset will generate a sound wave signal opposite to the external audio signal, called a reverse signal or anti-noise signal. This signal will be in the opposite phase to the external audio signal to achieve the effect of interference and noise cancellation.

[0126] Step 4, Mixing and Playing: The generated reverse signal will be played through the speaker of the headset. Since the reverse signal is in opposite phase to the external audio signal, they will interfere and weaken or cancel the noise signal, so that the sound heard by the user is clearer and undisturbed.

[0127] Active noise reduction technology relies on complex signal processing and feedback systems, and can analyze and cancel external audio signals in real time through high sampling rates. It is particularly suitable for eliminating low-frequency noise, and the suppression effect of high-frequency noise is relatively poor; while passive headphones are particularly suitable for high-frequency noise suppression, and low-frequency is poor, but they are usually combined with passive noise reduction technology of headphones to provide better noise reduction effects and provide a better audio experience.

[0128] like Figure 8 As shown, the processing of signal chain 2 includes the following steps:

[0129] Step 1: Downsample the collected audio signal to 16kHz for processing by the noise reduction model.

[0130] Step 2: framing, windowing, and FFT processing.

[0131] Step 3: dynamic feature compression processing.

[0132] Step 4: Using the noise reduction model, perform noise reduction processing on the non-target type audio signal in the external audio signal to obtain a noise-reduced audio signal.

[0133] Step 5: Use WDRC to adjust the volume of the noise reduction audio signal.

[0134] Step 6: The audio processed by WDRC is subjected to equalization processing (EQ).

[0135] Step 7: IFFT, de-framing.

[0136] Step 8: Output through the speaker.

[0137] Due to the processing of processing link one, the sound will be suppressed very small, but through the processing of processing link two, the sound is larger than that of processing link one. When active noise reduction and transparent transmission are turned on at the same time, due to the hearing masking effect of the human ear, the human ear cannot perceive the sound of processing link one under low latency, so the user only perceives the retained target type of audio signal. At the same time, if active noise reduction is not turned on, the volume level of the sound of link one and link two is not much different, and the human ear will obviously perceive the dragging sound, so the noise reduction capability of processing link one is crucial. The noise reduction capability of processing link one ANC+PNC in the 8K frequency band should be as low as possible, Fig. 9It is the ANC\PNC\TNC curve of a certain headset.

[0138] The headphone control method of the present application can provide a selective transparent transmission mode between the active noise reduction mode and the full transparent transmission mode, which can selectively transparently transmit the target environment of interest. It avoids the polarized hearing experience of hearing nothing after turning on the active noise reduction mode and hearing everything after turning on the full transparent mode. This mode shields the ambient noise while still being able to clearly hear the voice signals of interest to the outside world.

[0139] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0140] Based on the same inventive concept, the embodiment of the present application also provides an earphone control device for implementing the earphone control method involved above. The implementation solutions provided by each device to solve the problem are similar to the implementation solutions recorded in the above method, so the specific limitations in the embodiments of each device provided below can refer to the limitations of the method above, and will not be repeated here.

[0141] In one embodiment, a headset control device is provided, such as Fig.10 As shown, including:

[0142] The control module 1002 is used to simultaneously start the active noise reduction link and the first transparent transmission link.

[0143] The acquisition module 1004 is used to acquire external audio signals.

[0144] The active noise reduction module 1006 is used to perform active noise reduction processing on the external audio signal through an active noise reduction link to obtain an anti-noise signal, and play the anti-noise signal through a speaker.

[0145] Focus on the noise reduction module 1008, which is used to perform noise reduction processing on the non-target type audio signal in the external audio signal through the first transparent transmission link to obtain a noise-reduced audio signal, and play the noise-reduced audio signal through the speaker.

[0146] In another embodiment, a noise reduction module is provided, comprising:

[0147] The ambient sound type determination module is used to determine at least one target type of the audio signal to be transparently transmitted.

[0148] The noise reduction processing module is used to use the noise reduction model to perform noise reduction processing on the non-target type audio signal in the external audio signal to obtain a noise-reduced audio signal.

[0149] In another embodiment, an adjustment module is further included, which is used to perform output adjustment on the noise reduction audio signal to obtain an adjusted noise reduction audio signal, and the output adjustment includes at least one of volume adjustment and audio balance adjustment.

[0150] In another embodiment, the ambient sound type determination module is used to obtain scene features; determine at least one type of target type audio signal corresponding to the scene features, or obtain at least one type of target type audio signal selected through a target type audio signal interface.

[0151] In another embodiment, the at least one target type of audio signal includes human voice, or the at least one target type of audio signal includes human voice and scene-related attention sound, or the at least one target type of audio signal includes scene-related attention sound.

[0152] In another embodiment, the present invention further comprises a scene determination module for determining an application scene of the headset and an attention sound determination module for acquiring a preset attention sound corresponding to the application scene.

[0153] In another embodiment, the attention sound determination module is used to determine the application scenario of the headset according to the external audio signal, or to obtain the application scenario of the headset configured through the scenario setting interface.

[0154] In another embodiment, the focus is on the noise reduction module, which is used to obtain at least one target type of the audio signal to be transparently transmitted through a setting interface of the target type.

[0155] In another embodiment, the control module is further configured to execute the simultaneous opening of the active noise reduction link and the first transparent transmission link when a trigger instruction of the selective transparent transmission mode is obtained.

[0156] In another embodiment, the earphone control device further includes:

[0157] The fully transparent transmission module is used to respond to the switching instruction of the fully transparent transmission mode, open the second transparent transmission link; obtain the external audio signal; filter the external audio signal through the second transparent transmission link, and play the filtered external audio signal through the speaker.

[0158] Each module in the headset control device can be implemented in whole or in part by software, hardware, or a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the corresponding operations of the above modules.

[0159] In one embodiment, a headset is provided, and its internal structure diagram can be as follows: Fig.11 As shown. The headset includes a processor, a memory and a microphone connected via a system bus. Among them, the processor of the headset is used to provide computing and control capabilities. The memory of the headset includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the headset is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a headset control method is implemented.

[0160] Those skilled in the art will understand that Fig.11 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the headphones to which the scheme of the present application is applied. The specific headphones may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0161] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the methods of the above embodiments are implemented.

[0162] In one embodiment, a computer program product is provided, including a computer program, which implements the steps of the methods of the above embodiments when executed by a processor.

[0163] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0164] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0165] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for controlling a headset, characterized in that: The method comprises: Enable the active noise reduction link and the first transparent transmission link at the same time; Acquire external audio signals; Performing active noise reduction processing on the external audio signal through an active noise reduction link to obtain an anti-noise signal, and playing the anti-noise signal through a speaker; A non-target type of audio signal in the external audio signal is subjected to noise reduction processing through the first transparent transmission link to obtain a noise-reduced audio signal, and the noise-reduced audio signal is played through the speaker.

2. The method according to claim 1, characterized in that The first transparent transmission link includes a noise reduction model, and the noise reduction process is performed on the non-target type audio signal in the external audio signal through the first transparent transmission link to obtain the noise-reduced audio signal, including: Determining at least one target type of the audio signal to be transparently transmitted; The noise reduction model is used to perform noise reduction processing on the non-target type audio signal in the external audio signal to obtain a noise-reduced audio signal.

3. The method according to claim 2, characterized in that After using the noise reduction model to perform noise reduction processing on the non-target type audio signal in the external audio signal to obtain the noise-reduced audio signal, the method includes: Performing output adjustment on the noise reduction audio signal to obtain an adjusted noise reduction audio signal, wherein the output adjustment includes at least one of volume adjustment and audio balance adjustment; Playing the noise reduction audio signal through the speaker includes: playing the adjusted noise reduction audio signal through the speaker.

4. The method according to claim 2, characterized in that: The at least one target type of audio signal includes human voice, or the at least one target type of audio signal includes human voice and scene-related attention sound, or the at least one target type of audio signal includes scene-related attention sound.

5. The method according to claim 4, characterized in that The method of determining the scene-related attention sound includes: Determine the application scenarios of the headset; Obtain a preset attention tone corresponding to the application scenario.

6. The method according to claim 5, characterized in that The determining of the application scenario of the headset includes: determining the application scenario of the headset according to the external audio signal, or acquiring the application scenario of the headset configured through a scenario setting interface.

7. The method according to claim 2, characterized in that The determining of at least one target type of the audio signal to be transparently transmitted includes: At least one target type of the audio signal to be transparently transmitted is obtained through the target type setting interface.

8. The method according to claim 1, characterized in that When a trigger instruction of the selective transparent transmission mode is obtained, the step of simultaneously starting the active noise reduction link and the first transparent transmission link is performed.

9. The method according to claim 8, characterized in that The method further comprises: In response to a switching instruction of the full transparent transmission mode, opening a second transparent transmission link; Acquire external audio signals; The external audio signal is filtered through the second transparent transmission link, and the filtered external audio signal is played through a speaker.

10. A headset, comprising a microphone, and a controller connected to the microphone, the controller having a memory and a processor, the memory storing a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 9 are implemented.

Citation Information

Cited By

  • Audio noise reduction method and system based on Polar code transmission

    CN120498595A