Earphone sound quality adjustment method, earphone, apparatus, storage medium, and program product

By adjusting the equalizer and noise reduction parameters of the headphones based on the vent valve opening, the problem of decreased sound quality and discomfort caused by the vent valve opening was solved, realizing a headphone sound quality adjustment method that optimizes sound quality and improves comfort.

WO2026108790A1PCT designated stage Publication Date: 2026-05-28EARWEISS TECHNOLOGY (SHENZHEN) CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/135547
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-07-17
Filing Date
2025-11-17
Publication Date
2026-05-28

AI Technical Summary

Technical Problem

Traditional in-ear headphones cause low-frequency leakage in the headphone cavity when the vent valve is open, affecting sound quality. At the same time, wearing them for a long time can cause a feeling of stuffiness and pain in the ear.

Method used

By obtaining the current opening degree of the vent valve, the corresponding equalizer parameters and noise reduction parameters are determined, and the audio playback and active noise reduction modes are adjusted. The opening degree of the vent valve can be flexibly switched to optimize sound quality and wearing comfort.

Benefits of technology

By adjusting equalizer and noise reduction parameters under different vent valve openings, the audio playback effect is optimized, the sound quality is improved, and the wearing comfort is enhanced. The mode switching operation is simplified to meet the usage needs of different scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025135547_28052026_PF_FP_ABST
    Figure CN2025135547_28052026_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of earphones and relates to an earphone sound quality adjustment method, an earphone, an apparatus, a storage medium, and a program product. The method comprises: acquiring a current degree of opening of a ventilation valve; on the basis of the current degree of opening of the ventilation valve, determining a current equalizer parameter; and, on the basis of the current equalizer parameter, performing audio playback. When the earphone of the present application performs audio playback, the current equalizer parameter is determined by means of acquiring the current degree of opening of the ventilation valve, so that, on the basis of different degrees of opening of the ventilation valve, different equalizer parameters are flexibly used to perform audio playback, thereby optimizing the sound quality during audio playback, compensating for the influence of air pressure changes caused by different degrees of opening of the ventilation valve on the sound quality, and improving the sound quality effect during audio playback.
Need to check novelty before this filing date? Find Prior Art

Description

Headphone sound quality adjustment methods, headphones, devices, storage media and software products

[0001] Cross-references to related applications

[0002] This application claims priority to Chinese Patent Application No. 202411707689.1, filed on November 25, 2024, entitled "Method for Switching Headphone Operating Modes, Headphones, Readable Storage Medium, and Program Product", and Chinese Patent Application No. 202510990915.X, filed on July 17, 2025, entitled "Method for Adjusting Sound Quality of In-Ear Headphones, In-Ear Headphones, Storage Medium, and Computer Program Product", the entire contents of which are incorporated herein by reference. Technical Field

[0003] This application relates to the field of headphone technology, and in particular to a headphone sound quality adjustment method, headphone, device, storage medium, and computer program product. Background Technology

[0004] With the development of headphone technology, in-ear headphones emerged. Traditional in-ear headphones offer good sealing, strong physical PNC (Passive Noise Control), and effective active noise cancellation. However, prolonged wear can cause a feeling of fullness and discomfort in the ear. To address this issue, related technologies have proposed incorporating a vent valve into in-ear headphones. When the vent valve is open, it can counteract the occlusion effect. However, when the vent valve is open, it can cause low-frequency leakage within the headphone cavity, thus affecting sound quality. Summary of the Invention

[0005] Therefore, it is necessary to provide a headphone sound quality adjustment method, headphones, device, storage medium, and program product to address the above-mentioned technical problems.

[0006] In a first aspect, this application provides a headphone sound quality adjustment method, applied to headphones, the headphones including: a vent valve, the vent valve being used to allow or restrict communication between the external auditory canal and the external environment, the method including: obtaining the current opening degree of the vent valve; determining current equalizer parameters based on the current opening degree of the vent valve; and playing audio based on the current equalizer parameters.

[0007] In one embodiment, the current opening degree of the vent valve includes one of the following: maximum opening degree, minimum opening degree, and intermediate opening degree.

[0008] In one embodiment, the step of determining the current equalizer parameter based on the current opening of the vent valve includes: when the current opening of the vent valve is at its maximum opening, determining the first equalizer parameter as the current equalizer parameter; and when the current opening of the vent valve is at its minimum opening, determining the second equalizer parameter as the current equalizer parameter.

[0009] In one embodiment, the step of determining the current equalizer parameter based on the current opening degree of the vent valve further includes: when the current opening degree of the vent valve is an intermediate opening degree, determining the third equalizer parameter as the current equalizer parameter.

[0010] In one embodiment, the first equalization parameter is the equalizer parameter obtained by adjusting the headphones to the first target sound quality effect when the vent valve is at its maximum opening; the second equalization parameter is the equalizer parameter obtained by adjusting the headphones to the second target sound quality effect when the vent valve is at its minimum opening; and the third equalization parameter is the equalizer parameter obtained by adjusting the headphones to the third target sound quality effect when the vent valve is at its intermediate opening.

[0011] In one embodiment, the headphones further include an active noise cancellation module, the active noise cancellation module having an operating state including off and on. After the step of obtaining the current opening degree of the vent valve, the method further includes: when the active noise cancellation module is on, determining current noise cancellation parameters based on the current opening degree of the vent valve; determining current audio compensation parameters based on the current opening degree of the vent valve, the current equalizer parameters, and the current noise cancellation parameters; and playing audio based on the current equalizer parameters and the current audio compensation parameters.

[0012] In one embodiment, the step of determining the current noise reduction parameter based on the current opening of the vent valve includes: when the current opening of the vent valve is at its maximum opening, determining a first noise reduction parameter as the current noise reduction parameter, wherein the first noise reduction parameter is the noise reduction parameter obtained by adjusting the headphones to a first target noise reduction effect when the vent valve is at its maximum opening; and when the current opening of the vent valve is at its minimum opening, determining a second noise reduction parameter as the current noise reduction parameter, wherein the second noise reduction parameter is the noise reduction parameter obtained by adjusting the headphones to a second target noise reduction effect when the vent valve is at its minimum opening.

[0013] In one embodiment, the step of determining the current noise reduction parameter based on the current opening of the vent valve further includes: when the current opening of the vent valve is at a middle opening, determining the third noise reduction parameter as the current noise reduction parameter, wherein the third noise reduction parameter is the noise reduction parameter obtained by adjusting the headphones to the third target noise reduction effect when the vent valve is at a middle opening.

[0014] In one embodiment, the step of determining the current audio compensation parameter based on the current opening of the vent valve, the current equalizer parameter, and the current noise reduction parameter includes: when the current opening of the vent valve is at its maximum, the current equalizer parameter is the first equalization parameter, and the current noise reduction parameter is the first noise reduction parameter, the first compensation parameter obtained by adjusting the current frequency response curve of the headphones to the first target frequency response curve is used as the current audio compensation parameter, wherein the first target frequency response curve is the frequency response curve tested when the current opening of the vent valve is at its maximum, the current equalizer parameter is the first equalization parameter, and the active noise reduction module is off; when the current opening of the vent valve is at its minimum, the current equalizer parameter is the second equalization parameter, and the current noise reduction parameter is the second noise reduction parameter, the second compensation parameter obtained by adjusting the current frequency response curve of the headphones to the second target frequency response curve is used as the current audio compensation parameter, wherein the second target frequency response curve is the frequency response curve tested when the current opening of the vent valve is at its minimum, the current equalizer parameter is the second equalization parameter, and the active noise reduction module is off.

[0015] In one embodiment, the step of determining the current audio compensation parameter based on the current opening of the vent valve, the current equalizer parameter, and the current noise reduction parameter further includes: when the current opening of the vent valve is at a medium opening, the current equalizer parameter is the third equalization parameter, and the current noise reduction parameter is the third noise reduction parameter, the third compensation parameter obtained by adjusting the current frequency response curve of the headphones to the third target frequency response curve is used as the current audio compensation parameter. The third target frequency response curve is the frequency response curve obtained by testing when the current opening of the vent valve is at a medium opening, the current equalizer parameter is the third equalization parameter, and the active noise reduction module is turned off.

[0016] In one embodiment, before the step of obtaining the current opening degree of the vent valve, the method further includes: obtaining the current operating mode; and determining the current opening degree of the vent valve based on the current operating mode.

[0017] In one embodiment, before obtaining the current working mode, the method further includes: obtaining head pose data; and determining the current working mode based on the head pose data.

[0018] In one embodiment, the step of determining the current opening degree of the vent valve based on the current operating mode includes: when the current operating mode is one of the first operating mode, the second operating mode, and the third operating mode, determining the current opening degree of the vent valve as the maximum opening degree; and when the current operating mode is one of the fourth operating mode, the fifth operating mode, and the sixth operating mode, determining the current opening degree of the vent valve as the minimum opening degree.

[0019] In one embodiment, the headphones further include an active noise cancellation module, and the method further includes: when the current working mode is a first working mode, the current opening degree of the vent valve is the maximum opening degree, the active noise cancellation module is turned off, and a first transparency algorithm is used as the current transparency algorithm; or when the current working mode is a second working mode, the current opening degree of the vent valve is the maximum opening degree, the transparency mode is turned off, and a first noise reduction parameter is used as the current noise reduction parameter; or when the current working mode is a third working mode, the current opening degree of the vent valve is the maximum opening degree, the active noise cancellation module is turned off, and the transparency mode is turned off; or when the current working mode is a fourth working mode, the current opening degree of the vent valve is the minimum opening degree, the active noise cancellation module is turned off, and a second transparency algorithm is used as the current transparency algorithm; or when the current working mode is a fifth working mode, the current opening degree of the vent valve is the minimum opening degree, the transparency mode is turned off, and a second noise reduction parameter is used as the current noise reduction parameter; or when the current working mode is a sixth working mode, the current opening degree of the vent valve is the minimum opening degree, the active noise cancellation module is turned off, and the transparency mode is turned off.

[0020] In one embodiment, the method further includes: in response to a mode selection instruction, determining a plurality of operating modes from a plurality of operating modes based on the mode selection instruction.

[0021] In one embodiment, after the step of determining several working modes from multiple working modes based on the mode selection instruction, the method further includes: acquiring head pose data; and determining the current working mode from the several working modes based on the head pose data.

[0022] In one embodiment, the method further includes: adjusting the current opening of the vent valve based on the opening control command in response to the opening control command.

[0023] In one embodiment, before acquiring the current opening of the ventilator, the method further includes: acquiring head posture data; and adjusting the current opening of the ventilator based on the head posture data.

[0024] In one embodiment, the headphones further include an active noise cancellation module; before obtaining the current opening degree of the ventilator, the method includes: obtaining head posture data; adjusting the current opening degree of the ventilator and the working state of the active noise cancellation module according to the head posture data, and switching the current working mode.

[0025] In one embodiment, the head pose data includes first head pose data or second head pose data.

[0026] In one embodiment, the current opening of the ventilation valve and the working state of the active noise cancellation module are adjusted according to the head posture data to switch the current working mode, including at least one of the following: when the head posture data is the first head posture data and the current working mode is the first working mode, the current opening of the ventilation valve and the working state of the active noise cancellation module are adjusted to switch the first working mode to the second working mode; when the head posture data is the first head posture data and the current working mode is not the first working mode, the current opening of the ventilation valve and the working state of the active noise cancellation module are adjusted to switch the current working mode to the first working mode.

[0027] In one embodiment, the current opening of the ventilation valve and the working state of the active noise cancellation module are adjusted according to the head posture data to switch the current working mode, including at least one of the following: when the head posture data is the second head posture data and the current working mode is the third working mode, the current opening of the ventilation valve and the working state of the active noise cancellation module are adjusted to switch the third working mode to the fourth working mode; when the head posture data is the second head posture data and the current working mode is not the third working mode, the current opening of the ventilation valve and the working state of the active noise cancellation module are adjusted to switch the current working mode to the third working mode.

[0028] In one embodiment, the first operating mode is that the vent valve is at its minimum opening and the active noise reduction module is on; the second operating mode is that the vent valve is at its maximum opening and the active noise reduction module is off.

[0029] In one embodiment, the third operating mode is that the vent valve is at its minimum opening and the active noise reduction module is off; the fourth operating mode is that the vent valve is at its intermediate opening and the active noise reduction module is off.

[0030] In one embodiment, the first head posture data includes any one of nodding, turning the head, shaking the head, raising the head, lowering the head, moving the head along a certain trajectory, and a combination of nodding and turning the head; the second head posture data includes any one of shaking the head, turning the head, shaking the head, raising the head, lowering the head, moving the head along a certain trajectory, and a combination of shaking the head and turning the head; wherein the first head posture data and the second head posture data are different.

[0031] In one embodiment, before switching the current working mode by adjusting the current opening of the ventilation valve and the working state of the active noise cancellation module based on the head posture data, the method further includes: obtaining the current call status; if the current call status is that a call exists, then performing call control based on the head posture data.

[0032] In one embodiment, the head posture data includes first head posture data or second head posture data; the first head posture data is nodding data; the second head posture data is head shaking data; the existing call state includes incoming call or ongoing call; if the current call state is an ongoing call, call control is performed based on the head posture data, including: performing call control based on the first head posture data or the second head posture data, wherein, if the current call state is an incoming call, the incoming call is answered based on the nodding data; if the current call state is an incoming call, the incoming call is rejected based on the head shaking data; if the current call state is an ongoing call, the current call is ended based on the head shaking data.

[0033] Secondly, this application also provides a headphone sound quality adjustment device, comprising: a terminal, configured to determine several working modes from multiple working modes based on a mode selection command in response to a mode selection command; a headphone, including a vent valve for allowing or restricting communication between the external auditory canal and the external environment; the headphone for acquiring head posture data; determining the current working mode from several working modes based on the head posture data, determining the current opening degree of the vent valve based on the current working mode, determining the current equalizer parameters based on the current opening degree of the vent valve; and playing audio based on the current equalizer parameters.

[0034] Thirdly, this application also provides an earphone, which includes: a memory for storing a computer program; and a processor for executing the computer program to implement the steps of the method described above.

[0035] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described method.

[0036] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the above-described method.

[0037] The aforementioned headphone sound quality adjustment method, headphones, devices, storage media, and program products determine the current equalizer parameters by acquiring the current opening degree of the vent valve during audio playback. This allows for flexible use of different equalizer parameters based on different vent valve opening degrees to optimize the sound quality during audio playback, compensate for the impact of air pressure changes caused by different vent valve opening degrees on sound quality, and improve the sound quality effect during audio playback.

[0038] Meanwhile, the earphones include a vent valve and an active noise cancellation module. By acquiring head posture data, the vent valve's opening and the active noise cancellation module's operating state are adjusted accordingly to switch between operating modes. When the vent valve is at its maximum opening, such as when the valve or gas channel is fully open, the ear canal is allowed to connect with the external environment. External airflow can enter the ear canal through the vent valve, or airflow from the ear canal can enter the external environment through the vent valve, reducing or eliminating the ear blockage effect and achieving wearing comfort. When the vent valve is at its minimum opening, such as when the valve or gas channel is fully closed, the connection between the ear canal and the external environment is restricted, meaning the ear canal and the external environment are isolated. This avoids or reduces the impact of external airflow on the internal components and sound quality of the wireless earphones, and also prevents environmental noise from entering the ear canal through the vent valve, thus providing a certain degree of noise isolation. When the active noise cancellation module is turned on, it reduces environmental noise through anti-phase noise cancellation, achieving active noise cancellation. When the active noise cancellation module is turned off, no external environmental noise is reduced. The operating status of the ventilation valve and the active noise cancellation module can be adjusted solely through head movements, without touching the headphones or using a mobile device application to adjust the current opening of the ventilation valve and the operating status of the active noise cancellation module, thereby switching headphone modes. This greatly simplifies the operation process of switching modes, improves the convenience of operation, and increases the efficiency of headphone mode switching. It also enables the headphones to have noise cancellation function and / or wearing comfort, meeting the user's needs in different scenarios. Attached Figure Description

[0039] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0040] Figure 1 is a schematic diagram of the first process of the sound quality adjustment method in an embodiment of this application;

[0041] Figure 2 is a flowchart illustrating the process of determining the current equalizer parameters in one embodiment;

[0042] Figure 3 is a schematic diagram of the second process of the sound quality adjustment method in the embodiment of this application;

[0043] Figure 4 is a flowchart illustrating the process of determining the current noise reduction parameters in one embodiment;

[0044] Figure 5 is a flowchart illustrating the process of determining the current opening degree of the vent valve in one embodiment;

[0045] Figure 6 is a flowchart illustrating the process of determining the current working mode in one embodiment;

[0046] Figure 7 is a schematic diagram of the third process of the sound quality adjustment method in the embodiments of this application;

[0047] Figure 8 is a flowchart illustrating the process of switching working modes based on head posture data in one embodiment;

[0048] Figure 9 is a schematic diagram of the fourth process of the sound quality adjustment method in the embodiments of this application;

[0049] Figure 10 is a schematic diagram of a process for controlling a call based on head posture data in one embodiment;

[0050] Figure 11 is a flowchart illustrating the process of controlling a call and switching modes by nodding twice in one embodiment;

[0051] Figure 12 is a flowchart illustrating the process of controlling calls and switching modes by shaking the head twice in another embodiment. Detailed Implementation

[0052] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0053] The headphone sound quality adjustment method provided in this application embodiment can be applied to headphones. The headphones include a vent valve, which allows or restricts communication between the ear canal and the external environment. When the vent valve is closed, airflow between the ear canal and the external environment is restricted, thereby blocking external noise and preventing sound leakage; when the vent valve is open, airflow between the ear canal and the external environment is allowed, avoiding ear blockage and wearing discomfort. The vent valve can be a mechanical vent valve or an electronic vent valve. A mechanical vent valve can adjust its opening by rotating the valve body, sliding the cover, or pressing the cover; an electronic vent valve can be an electromagnetic vent valve, a piezoelectric vent valve, etc., which uses a stepper motor or piezoelectric ceramic to drive the valve plate, thereby adjusting the vent valve opening. This application does not limit the specific type of vent valve, as long as it can adjust the opening to allow or close communication between the ear canal and the external environment. The headphones include, but are not limited to, smart headphones, Bluetooth headphones, bone conduction headphones, in-ear headphones, semi-in-ear headphones, and over-ear headphones, etc.

[0054] In one embodiment, as shown in Figure 1, a method for adjusting headphone sound quality is provided. Taking the application of this method to headphones as an example, the method includes the following steps:

[0055] Step S110: Obtain the current opening degree of the vent valve.

[0056] Specifically, the headphones acquire the opening degree of the vent valve at the current time and use it as the current opening degree. When the vent valve is a mechanical vent valve, the headphones can monitor the opening degree in real time through its built-in angle sensor or displacement sensor; when the vent valve is an electronic vent valve, the headphones can directly read its opening digital signal. Furthermore, this application can also obtain the current opening degree of the vent valve through other methods, and this application does not impose specific limitations on these methods.

[0057] Step S120: Determine the current equalizer parameters based on the current opening degree of the vent valve.

[0058] Specifically, after the headphones obtain the current opening degree of the vent valve, they can determine the corresponding current equalizer parameters based on this opening degree. For example, the headphones can use preset matching rules to match the current opening degree, thereby obtaining the equalizer parameters corresponding to the current opening degree, and using these as the current equalizer parameters. Equalizer (EQ) parameters are parameters used to adjust the amplification of electrical signals at various frequency components. By adjusting the gain of different frequency bands, they compensate for the frequency response defects of the headphones or adapt to subjective listening perception, thereby achieving the purpose of adjusting the sound effect. In some embodiments, one current opening degree corresponds to one current equalizer parameter. In some other embodiments, multiple current opening degrees can also correspond to one current equalizer parameter.

[0059] Step S130: Play audio based on the current equalizer parameters.

[0060] Specifically, after the headphones determine the current equalizer parameters, they can process the audio signal (such as a music signal) to be played according to the current equalizer parameters and then play the audio. The headphone sound quality adjustment method of this application can flexibly use different equalizer parameters to play audio based on different vent valve openings, thereby optimizing the sound quality during audio playback, compensating for the impact of air pressure changes caused by different vent valve openings on sound quality, and improving the sound quality effect during audio playback.

[0061] In one embodiment, the audio can be music, which includes rhythmic, melodic, or harmonic artistic sounds containing signals such as instruments and / or vocals. Then, in step S130, music playback can be performed based on the current equalizer parameters.

[0062] In one embodiment, the current equalizer parameters include: Center Frequency (Fc): used to define the core position of the frequency band to be adjusted. It needs to be selected based on the defects of the headphone frequency response curve (such as resonance peaks / valleys) or psychoacoustic models (such as Bark band division); Gain: used to define the amount of boost / attenuation (dB) to the target frequency band. However, the dynamic compression of Bluetooth transmission may limit the actual adjustable range, and clipping should be avoided; Q value (Quality Factor): used to control the bandwidth (narrowband / wideband) of the adjusted frequency band. The higher the Q value, the narrower the bandwidth. It is calculated as Q = Fc / Δf (Δf is the -3dB bandwidth); Filter Type: used to indicate the specific type of filter, such as: low-pass / high-pass (LOW_PASS / HIGH_PASS), band-pass (PEAK), bass boost / treble boost (LOW_SHELF / HIGH_SHELF), etc. An equalizer can consist of a set of filters, which contains multiple filters. Different equalizer parameters can be obtained by adjusting the type and parameters (center frequency, gain, Q value) of each filter.

[0063] In one embodiment, the current opening degree includes one of the following: maximum opening degree, minimum opening degree, and intermediate opening degree. Specifically, in this embodiment, during the adjustment process, the opening degree of the vent valve can be one of the following: maximum opening degree, minimum opening degree, or intermediate opening degree. The maximum opening degree of the vent valve is the maximum value that the vent valve can reach when adjusting its opening degree, such as 100%, 98%, 95%, 80%, 70%, etc.; the minimum opening degree of the vent valve is the minimum value that the vent valve can reach when adjusting its opening degree, such as 0%, 2%, 5%, etc.; the intermediate opening degree of the vent valve is the intermediate value between the maximum and minimum values ​​when adjusting its opening degree, such as 10%, 30%, 50%, 60%, etc. It is understood that the maximum and minimum opening degrees of the vent valve are determined by the vent valve's own performance, and the intermediate opening degree can be set as needed, and is not limited here. A vent valve can have two opening degrees, such as maximum and minimum opening; a vent valve can also have multiple opening degrees, such as maximum, intermediate, and minimum opening. The intermediate opening degree does not mean there is only one stage; a vent valve can have multiple intermediate opening degrees. Furthermore, the vent valve can be infinitely adjustable.

[0064] For example, the headphone sound quality adjustment method provided in this application embodiment can be specifically applied to in-ear headphones.

[0065] In one embodiment, as shown in FIG2, step S120, the step of determining the current equalizer parameters based on the current opening degree of the vent valve, includes:

[0066] Step S121: When the current opening degree of the vent valve is the maximum opening degree, the first equalization parameter is determined as the current equalizer parameter.

[0067] Specifically, in this embodiment, if the current opening degree of the vent valve obtained by the headphones is the maximum opening degree, the equalizer parameter obtained after matching is the first equalizer parameter. At this time, the first equalizer parameter is used as the current equalizer parameter for audio playback.

[0068] In embodiments of this application, the headphones may further include an active noise cancellation module, and the operating state of the active noise cancellation module may include off and on.

[0069] In one embodiment, the first equalization parameter is the equalizer parameter obtained by adjusting the headphones to a first target sound quality effect when the vent valve is at its maximum opening. Specifically, using the golden ear frequency response curve (e.g., the "Harman curve") of open-back headphones as a reference benchmark and taking it as the first target sound quality effect, in a noise-canceling laboratory environment, with the vent valve at its maximum opening and the active noise cancellation module turned off, the equalizer parameters are adjusted and obtained to obtain the first equalization parameter. This allows the headphones to achieve a sound quality effect that meets or even surpasses that of open-back headphones while maintaining comfortable wearing comfort.

[0070] In one embodiment, as shown in FIG2, step S120, the step of determining the current equalizer parameters based on the current opening degree of the vent valve, includes:

[0071] Step S122: When the current opening degree of the vent valve is the minimum opening degree, the second equalization parameter is determined as the current equalizer parameter.

[0072] Specifically, in this embodiment, if the current opening of the vent valve obtained by the headphones is the minimum opening, the equalizer parameter obtained after matching is the second equalizer parameter. At this time, the second equalizer parameter is used as the current equalizer parameter for audio playback.

[0073] In one embodiment, the second equalization parameter is the equalizer parameter obtained by adjusting the headphones to achieve the second target sound quality effect when the vent valve is at its minimum opening. Specifically, using the equal loudness curve of human hearing and the headphone's audio golden ear curve (e.g., the "Harman curve") as a frequency response reference and taking it as the second target sound quality effect, in a noise-canceling laboratory environment, with the vent valve at its minimum opening and the active noise cancellation module turned off, the equalizer parameters are adjusted and obtained to obtain the second equalization parameter, enabling the headphones to achieve a sound quality effect that meets or exceeds the corresponding second target sound quality effect.

[0074] In one embodiment, as shown in FIG2, step S120, the step of determining the current equalizer parameters based on the current opening degree of the vent valve, includes:

[0075] Step S123: When the current opening degree of the vent valve is the middle opening degree, the third equalization parameter is determined as the current equalizer parameter.

[0076] Specifically, in this embodiment, if the current opening degree of the vent valve obtained by the headphones is a medium opening degree (such as an opening degree of 30%, 50%, or 70%), the equalizer parameter obtained after matching is the third equalizer parameter. At this time, the third equalizer parameter is used as the current equalizer parameter for audio playback.

[0077] In one embodiment, the third equalization parameter is the equalizer parameter obtained by adjusting the headphones to the third target sound quality effect when the vent valve is at the middle opening. Specifically, using the golden ear frequency response curve (e.g., the "Harman curve") of a semi-open headphone as a reference benchmark and taking it as the third target sound quality effect, in a noise-canceling laboratory environment, with the vent valve at the middle opening and the active noise cancellation module turned off, the equalizer parameters are adjusted to obtain the third equalization parameter. This allows the headphones to achieve sound quality that meets or even surpasses that of semi-open headphones while maintaining comfortable wearing performance.

[0078] Since ANC noise cancellation primarily focuses on the mid-to-low frequency range, in noise cancellation mode, the speakers generate sound waves with opposite phase. If music is played simultaneously, this will cause the mid-to-low frequencies to cancel each other out, resulting in severe attenuation of the mid-to-low frequencies during audio playback and a deterioration in mid-to-low frequency sound quality. Furthermore, the degree of mid-to-low frequency attenuation varies depending on the depth of noise cancellation. Simultaneously, the opening and closing of the vent valve also affects the sealing of the inner and outer cavities of the audio chamber. When open, low frequencies from the speakers inside the inner cavity leak into the outer cavity, leading to severe attenuation of low frequencies during audio playback.

[0079] Based on this, this application also proposes a headphone sound quality adjustment method to improve the sound effect when playing audio in noise cancellation mode.

[0080] In embodiments of this application, the headphones may further include an active noise cancellation module, the operating state of which may include off and on. In one embodiment, as shown in FIG3, after obtaining the current opening degree of the vent valve in step S110, the headphone sound quality adjustment method further includes:

[0081] Step S210: When in noise reduction mode, determine the current noise reduction parameters based on the current opening degree of the vent valve.

[0082] Specifically, when the active noise cancellation module is activated, the headphones are in noise cancellation mode. Since the opening of the vent valve affects the passive noise cancellation effect, the noise cancellation parameters of the active noise cancellation are also affected by the vent valve opening. In this embodiment, in noise cancellation mode, after the headphones obtain the current opening of the vent valve, they determine the corresponding current noise cancellation parameters based on the current opening. For example, the headphones can use a preset matching rule to match the current opening, thereby obtaining the noise cancellation parameters corresponding to the current opening, and using these as the current noise cancellation parameters. It is understood that the headphones achieve the best noise cancellation effect under the current noise cancellation parameters.

[0083] Step S220: Determine the current audio compensation parameters based on the current opening degree of the vent valve, the current equalizer parameters, and the current noise reduction parameters.

[0084] Specifically, when playing audio in noise-canceling mode, the speaker generates sound waves with opposite phase under the current noise-canceling parameters. When these waves mix with the simultaneously played music, they cancel each other out in the mid-to-low frequencies, resulting in severe attenuation of the mid-to-low frequencies and a deterioration in sound quality. Therefore, audio compensation parameters need to be set to compensate for this and improve sound quality. The headphones determine the current equalizer and noise-canceling parameters based on the current opening of the vent valve, and then determine the corresponding audio compensation parameter (Music Cancel, MC) based on the obtained parameters, using it as the current audio compensation parameter. In some embodiments, the current audio compensation parameter can be obtained by matching the current opening, current equalizer parameters, and current noise-canceling parameters. In other embodiments, since both the current equalizer and noise-canceling parameters match the current opening of the vent valve, the current audio compensation parameter can be directly determined based on the current opening of the vent valve when playing audio in noise-canceling mode.

[0085] In one embodiment, the audio can be music. Then, in step S220, the current music compensation parameters are determined based on the current opening degree of the vent valve, the current equalizer parameters, and the current noise reduction parameters.

[0086] Step S230: Play audio based on the current equalizer parameters and the current audio compensation parameters.

[0087] Specifically, after the headphones determine the current equalizer parameters and current audio compensation parameters, they play audio based on these parameters. Because the current audio compensation parameters compensate for the attenuation of mid-low frequencies caused by the current noise reduction parameters, the music sound waves and noise reduction waves, after being mixed and superimposed, can still maintain the sound quality achieved under the current equalizer parameters, improving the user experience.

[0088] In one embodiment, the audio can be music, and the current audio compensation parameter can be the current music compensation parameter. Therefore, in step S230, music is played based on the current equalizer parameters and the current music compensation parameters.

[0089] In one embodiment, the current audio compensation parameters include: compensation switch, total gain, reverse phase switch, filter switch (IIR_by_pass), limiter parameter (Limiter_Enable), digital-to-analog converter switch (AC_PA OFF), analog-to-digital converter switch (ADC_PA OFF), and IIR filter parameters; wherein, the IIR filter parameters include: filter type (Peak / Notcl, LowSheIf, HighSheIf, Lowpass, Highpass, etc.), gain value, center frequency (Hz), and Q value.

[0090] When the active noise cancellation module is enabled, meaning the headphones are in noise-canceling mode, they feature Active Noise Cancellation (ANC). The ANC algorithm adjusts based on the opening and closing of the vent valve and the design requirements of different application scenarios. The required noise reduction depth and frequency band vary depending on the scenario. The opening and closing of the vent valve affects the PNC noise reduction effect. When open, external noise directly enters the cavity, degrading the PNC effect; conversely, when the vent valve is closed, physical sound isolation makes the passive PNC noise reduction effect better than when it's open. Therefore, the opening and closing of the vent valve affects the ANC noise reduction depth (i.e., ANC noise reduction parameters). Different noise reduction parameters can be obtained by adjusting the filter type and parameters (center frequency, gain, Q value).

[0091] In one embodiment, as shown in FIG4, step S210, the step of determining the current noise reduction parameters based on the current opening degree of the vent valve, includes:

[0092] Step S211: When the current opening degree of the vent valve is the maximum opening degree, the first noise reduction parameter is determined as the current noise reduction parameter.

[0093] Specifically, in this embodiment, if the current opening degree of the vent valve obtained by the earphone is the maximum opening degree, the noise reduction parameter obtained after matching is the first noise reduction parameter. At this time, the first noise reduction parameter is used as the current noise reduction parameter for active noise reduction.

[0094] In one embodiment, the first noise reduction parameter is the noise reduction parameter obtained by adjusting the headphones to achieve the first target noise reduction effect when the vent valve is at its maximum opening. Specifically, in a laboratory environment, the vent valve is set to its maximum opening, and the noise reduction parameter is adjusted so that the sound waves emitted by the headphone speaker cancel out the noise emitted by the noise simulation system, thereby achieving the first target noise reduction effect and obtaining the first noise reduction parameter.

[0095] In the embodiments of this application, the headphones may have a first working mode, a second working mode, a third working mode, a fourth working mode, a fifth working mode, and a sixth working mode.

[0096] For example, in the first scenario shown in Figures 1 to 6, the first working mode can be a fresh air transparency mode, the second working mode can be a fresh air noise cancellation mode, the third working mode can be a fresh air natural mode, the fourth working mode can be a silent transparency mode, the fifth working mode can be a deep noise cancellation mode, and the sixth working mode can be a quiet natural mode. Thus, when the headphones are in the first and fourth working modes, they can be said to be in transparency mode; when the headphones are in the second and fifth working modes, they can be said to be in noise cancellation mode.

[0097] In one embodiment, environments such as cafes and gyms have relatively low low-frequency noise, with noise mainly consisting of human voices or musical instruments, primarily in the mid-frequency range of 200Hz to 2kHz. In such cases, user comfort and ease of communication in the environment need to be considered. Therefore, the ventilation valve is generally open to reduce the pressure difference between the inner and outer ear. Additionally, because the ventilation valve is open, the physical sound insulation effect of the PNC (Platelet-Near Glass) is weaker compared to when the ventilation valve is closed. Therefore, for the open vent valve state, the independent ANC noise reduction algorithm is tuned. The corresponding FF feedforward and FB feedback noise reduction parameters are adjusted mainly in the low-frequency range of 200Hz to 2KHz. The filter type, center frequency, Q value, and gain are adjusted accordingly, and the parameter values ​​are smaller than those in the fifth working mode. The FF+FB microphone collects noise, which is filtered by the active noise reduction module. A set of sound waves with the same amplitude and opposite phase as the noise is emitted from the speaker to cancel out the scene noise. ANC active noise reduction + PNC passive noise reduction can achieve a strong noise reduction effect in the 200Hz to 20KHz frequency range, with a comprehensive noise reduction depth of over 38dB. At this time, the headphone is in the second working mode. Compared with the fifth working mode, the overall noise reduction effect of the second working mode is weaker, but the comfort is better. The ear pressure is significantly reduced, providing the wearing comfort of a semi-in-ear headphone while offering a better noise reduction effect.

[0098] In one embodiment, as shown in FIG4, step S210, the step of determining the current noise reduction parameters based on the current opening degree of the vent valve, includes:

[0099] Step S212: When the current opening degree of the vent valve is the minimum opening degree, the second noise reduction parameter is determined as the current noise reduction parameter.

[0100] Specifically, in this embodiment, if the current opening degree of the vent valve obtained by the earphone is the minimum opening degree, the noise reduction parameter obtained after matching is the second noise reduction parameter. At this time, the second noise reduction parameter is used as the current noise reduction parameter for active noise reduction.

[0101] In one embodiment, the second noise reduction parameter is the noise reduction parameter obtained by adjusting the headphones to achieve the second target noise reduction effect when the vent valve is at its minimum opening. Specifically, in a laboratory environment, the vent valve is set to its minimum opening, and the noise reduction parameter is adjusted so that the sound waves emitted by the headphone speaker cancel out the noise emitted by the noise simulation system, thereby achieving the second target noise reduction effect and obtaining the second noise reduction parameter.

[0102] In one embodiment, for example, in noisy environments such as airports, subways, and high-speed trains, the noise energy in the low-frequency band of 20Hz to 200Hz is relatively strong. At this time, the vent valve is generally in the closed state to isolate most of the high-frequency noise in the environment. After the vent valve is closed and isolated, there is still residual mid-to-low frequency environmental noise. At this time, the active noise cancellation algorithm is used for filtering and noise reduction. The corresponding FF feedforward and FB feedback noise reduction parameters are adjusted in the low-frequency band of 20Hz to 2KHz. The filter type, center frequency, Q value, and gain are increased accordingly. The microphone collects the noise, which is filtered by the active noise cancellation module. A set of sound waves with the same amplitude and opposite phase as the noise are emitted from the speaker to cancel the noise. ANC active noise cancellation + PNC passive noise cancellation can achieve a strong noise reduction effect in the entire frequency band of 20Hz to 20KHz. The comprehensive noise reduction depth can reach more than 45dB. At this time, the working mode of the headphones is the fifth working mode to achieve a deep noise reduction effect in noisy environments such as airports, subways, and high-speed trains.

[0103] In one embodiment, as shown in FIG4, step S210, the step of determining the current noise reduction parameters based on the current opening degree of the vent valve, includes:

[0104] Step S213: When the current opening degree of the vent valve is the middle opening degree, the third noise reduction parameter is determined as the current noise reduction parameter.

[0105] Specifically, in this embodiment, if the current opening degree of the vent valve obtained by the earphone is the middle opening degree, the noise reduction parameter obtained after matching is the third noise reduction parameter. At this time, the third noise reduction parameter is used as the current noise reduction parameter for active noise reduction.

[0106] In one embodiment, the third noise reduction parameter is the noise reduction parameter obtained by adjusting the headphones to the target noise reduction effect when the vent valve is at its middle opening. Specifically, in a laboratory environment, the vent valve is set to its middle opening, and the noise reduction parameter is adjusted so that the sound waves emitted by the headphone speaker cancel out the noise emitted by the noise simulation system, thus achieving the third target noise reduction effect, and thereby obtaining the third noise reduction parameter. It is understood that the first target noise reduction effect, the second target noise reduction effect, and the third target noise reduction effect can be the same or different. When they are set to be different, they have different noise reduction depths.

[0107] In one embodiment, step S220, which involves determining the current audio compensation parameter based on the current opening of the vent valve, the current equalizer parameter, and the current noise reduction parameter, includes: when the current opening of the vent valve is at its maximum, the current equalizer parameter is the first equalization parameter, and the current noise reduction parameter is the first noise reduction parameter, the first compensation parameter obtained by adjusting the current frequency response curve of the headphones to the first target frequency response curve is used as the current audio compensation parameter.

[0108] Specifically, in this embodiment, if the current opening of the vent valve is at its maximum, then the corresponding current equalizer parameter is the first equalization parameter, and the current noise reduction parameter is the first noise reduction parameter. In this state, based on the first target frequency response curve, the current frequency response curve of the headphones is changed by adjusting the compensation parameters until the current frequency response curve is adjusted to the first target frequency response curve. At this time, the corresponding compensation parameter is used as the first compensation parameter and stored. When needed, the corresponding first compensation parameter can be obtained by matching and used as the current audio compensation parameter.

[0109] In one embodiment, the first target frequency response curve is the frequency response curve obtained by testing with the vent valve at its maximum opening, the current equalizer parameter at the first equalization parameter, and the noise cancellation mode off. Specifically, when the active noise cancellation module is off, the headphone's noise cancellation mode is also off. In this embodiment, the first target frequency response curve is the frequency response curve obtained by playing audio when the vent valve is at its maximum opening, the current equalizer parameter is the first equalization parameter, and the noise cancellation mode is off. Under these conditions, the frequency response curve is not affected by the sound waves generated by the noise cancellation mode, resulting in the best sound quality, i.e., the first target sound quality effect.

[0110] In one embodiment, step S220, which involves determining the current audio compensation parameter based on the current opening of the vent valve, the current equalizer parameter, and the current noise reduction parameter, includes: when the current opening of the vent valve is at its minimum, the current equalizer parameter is the second equalization parameter, and the current noise reduction parameter is the second noise reduction parameter, the second compensation parameter obtained by adjusting the current frequency response curve of the headphones to the second target frequency response curve is used as the current audio compensation parameter.

[0111] Specifically, in this embodiment, if the current opening of the vent valve is at its minimum, then the corresponding current equalizer parameter is the second equalization parameter, and the current noise reduction parameter is the second noise reduction parameter. In this state, based on the second target frequency response curve, the current frequency response curve of the headphones is changed by adjusting the compensation parameters until the current frequency response curve is adjusted to the second target frequency response curve. At this time, the corresponding compensation parameter is used as the second compensation parameter and stored. When needed, the corresponding second compensation parameter can be obtained by matching and used as the current audio compensation parameter.

[0112] In one embodiment, the second target frequency response curve is the frequency response curve obtained by testing with the vent valve at its minimum opening, the current equalizer parameter at the second equalizer parameter, and the noise cancellation mode off (i.e., the active noise cancellation module off). Specifically, in this embodiment, the second target frequency response curve is the frequency response curve obtained by playing audio when the vent valve is at its minimum opening, the current equalizer parameter is the second equalizer parameter, and the noise cancellation mode is off. Under these conditions, the frequency response curve is not affected by the sound waves generated by the noise cancellation mode, resulting in the best sound quality, which is the second target sound quality effect.

[0113] In one embodiment, step S220, which involves determining the current audio compensation parameter based on the current opening of the vent valve, the current equalizer parameter, and the current noise reduction parameter, includes: when the current opening of the vent valve is at the middle opening, the current equalizer parameter is the third equalization parameter, and the current noise reduction parameter is the third noise reduction parameter, the third compensation parameter obtained by adjusting the current frequency response curve of the headphones to the third target frequency response curve is used as the current audio compensation parameter.

[0114] Specifically, in this embodiment, if the current opening degree of the vent valve is the middle opening degree, then the corresponding current equalizer parameter is the third equalization parameter, and the current noise reduction parameter is the third noise reduction parameter. In this state, based on the third target frequency response curve, the current frequency response curve of the headphones is changed by adjusting the compensation parameters until the current frequency response curve is adjusted to the third target frequency response curve. At this time, the corresponding compensation parameter is used as the third compensation parameter and stored. When needed, the corresponding third compensation parameter can be obtained by matching and used as the current audio compensation parameter.

[0115] In one embodiment, the third target frequency response curve is the frequency response curve obtained by testing with the vent valve currently at its middle opening, the current equalizer parameter at the third equalizer parameter, and noise cancellation mode off (i.e., the active noise cancellation module off). Specifically, in this embodiment, the third target frequency response curve is the frequency response curve obtained by playing audio when the vent valve is currently at its middle opening, the current equalizer parameter is the third equalizer parameter, and noise cancellation mode is off. Under these conditions, the frequency response curve is not affected by the sound waves generated by the noise cancellation mode, and the sound quality is optimal, i.e., it is at the third target sound quality level.

[0116] In one embodiment, as shown in FIG5, before the step of obtaining the current opening degree of the vent valve in step S110, the headphone sound quality adjustment method further includes:

[0117] Step S310: Obtain the current working mode;

[0118] Step S320: Determine the current opening degree of the vent valve based on the current operating mode.

[0119] Specifically, the earphones in this embodiment have different operating modes for different application scenarios, and the current opening degree of the vent valve can be different in different operating modes. The earphones can obtain the user's currently selected operating mode through one or more of the following methods: touch sensor, physical button, accelerometer (e.g., tapping), head movements, or APP interface, thereby obtaining the corresponding current operating mode. After determining the current operating mode, the current opening degree of the vent valve can be obtained by matching the current operating mode, and subsequent steps such as audio playback and voice calls can be performed according to the current opening degree.

[0120] In one embodiment, the user first selects several working modes from a variety of working modes through the APP interface, and then switches between several working modes through head gestures to obtain the current working mode.

[0121] The current working modes include one of the following: working mode 1, working mode 2, working mode 3, working mode 4, working mode 5, and working mode 6.

[0122] In one embodiment, step S320, determining the current opening degree of the vent valve based on the current operating mode, includes: when the current operating mode is one of a first operating mode, a second operating mode, or a third operating mode, determining the current opening degree of the vent valve as the maximum opening degree. Specifically, in the first, second, and third operating modes set in this embodiment, the vent valve is set to the maximum opening degree to prevent ear blockage, improve user wearing comfort, and facilitate conversation between the user and other people.

[0123] In one embodiment, step S320, determining the current opening degree of the vent valve based on the current operating mode, includes: when the current operating mode is one of the fourth, fifth, or sixth operating modes, determining the current opening degree of the vent valve as the minimum opening degree. Specifically, in the fourth, fifth, and sixth operating modes set in this embodiment, the vent valve is set to the minimum opening degree to improve the passive noise reduction effect and allow the user to focus more.

[0124] In one embodiment, when the current operating mode is the first operating mode, the vent valve is at its maximum opening, the active noise cancellation module is off, and the first transparency algorithm is used as the current transparency algorithm. Specifically, when the headphones determine that the current operating mode is the first operating mode, the vent valve is set to its maximum opening to reduce the ear-closure effect and improve wearing comfort. At the same time, active noise cancellation is turned off, transparency mode is turned on, and the preset first transparency algorithm is used as the current transparency algorithm. In transparency mode, the transparency algorithm can use the microphone to collect external sounds, process the external sounds, and then play them through the speaker. In some embodiments, the first transparency algorithm is used to perform dynamic gain compensation on the ambient sound frequency band in the external sounds to keep the user alert to the surrounding environment. This is suitable for outdoor running, walking, cycling, and other scenarios. Moreover, in the first operating mode, the vent valve is at its maximum opening, which can improve the user's wearing comfort.

[0125] In one embodiment, when the current operating mode is the fourth operating mode, the vent valve is at its minimum opening, the active noise cancellation module is off, and the second transparency algorithm is used as the current transparency algorithm. Specifically, when the headphones determine that the current operating mode is the fourth operating mode, the vent valve is set to its minimum opening to enhance the passive noise cancellation effect, while active noise cancellation is turned off, transparency mode is turned on, and the preset second transparency algorithm is used as the current transparency algorithm. In some embodiments, the second transparency algorithm is used to attenuate low-frequency environmental noise in external sounds and enhance the human voice frequency band to reduce interference from external environmental sounds and enhance external human voices, which is suitable for scenarios such as indoor offices, meetings, and exhibition communication.

[0126] In one embodiment, when the current operating mode is the second operating mode, the vent valve is at its maximum opening, the transparency mode is off, and the first noise reduction parameter is used as the current noise reduction parameter. Specifically, when the headphones determine that the current operating mode is the second operating mode, the vent valve is set to its maximum opening to reduce the ear-closure effect and improve wearing comfort. Simultaneously, the transparency mode is off, the noise reduction mode is on, and the preset first noise reduction parameter is used as the current noise reduction parameter. In noise reduction mode, the noise reduction parameter can use the microphone to collect external sounds and emit a set of sound waves with equal amplitude and opposite phase to the noise to cancel it out, thereby performing active noise reduction. Because the vent valve is set to its maximum opening, some ambient sound leakage will occur. Therefore, the second operating mode is suitable for relatively quiet environments that require noise reduction and are semi-open, such as in cafes or gyms.

[0127] In one embodiment, when the current operating mode is the fifth operating mode, the vent valve is at its minimum opening, the transparency mode is off, and the second noise reduction parameter is used as the current noise reduction parameter. Specifically, when the headphones determine that the current operating mode is the fifth operating mode, the vent valve is set to its minimum opening to enhance the passive noise reduction effect. At the same time, the transparency mode is turned off, the noise reduction mode is turned on, and the preset second noise reduction parameter is used as the current noise reduction parameter. Because the vent valve is set to its minimum opening, noise is isolated to the greatest extent, achieving immersive silence, which is suitable for noisy environments such as subways, airports, and high-speed trains.

[0128] In one embodiment, when the current operating mode is the third operating mode, the vent valve is at its maximum opening, the active noise cancellation module is off, and the transparency mode is off. Specifically, when the headphones determine that the current operating mode is the third operating mode, the vent valve is set to its maximum opening to reduce the occlusion effect, improve wearing comfort, and the active noise cancellation and transparency mode are turned off to transmit ambient sounds naturally. The third operating mode is suitable for relatively quiet environments where it is necessary to hear ambient sounds, such as a study or library.

[0129] In one embodiment, when the current operating mode is the sixth operating mode, the vent valve is at its minimum opening, the active noise cancellation module is off, and the transparency mode is off. Specifically, when the headphones determine that the current operating mode is the sixth operating mode, the vent valve is set to its minimum opening to enhance the passive noise cancellation effect, and both active noise cancellation and transparency mode are turned off, with all noise cancellation performed passively. The sixth operating mode is suitable for relatively quiet environments that require physical sound isolation, such as enjoying music at home in a quiet environment.

[0130] In one embodiment, as shown in Figure 6, the sound quality adjustment method further includes:

[0131] Step S410: In response to the mode selection instruction, determine several operating modes from multiple operating modes based on the mode selection instruction.

[0132] Specifically, in this embodiment, when determining the current working mode, the user can choose from several pre-selected working modes, improving the efficiency of switching working modes. In some embodiments, the APP interface can display all preset working modes. The user selects several working modes from multiple working modes through the APP interface and sends the corresponding mode selection command to the headset. After receiving the corresponding mode selection command, the headset responds to the mode selection command and determines the several working modes selected by the user. When switching working modes, the user can conveniently select from several working modes, improving the efficiency of mode switching. For example, based on usage habits, the user selects the fourth and fifth working modes as optional working modes from six working modes: first working mode, second working mode, third working mode, fourth working mode, fifth working mode, and sixth working mode. At this time, the user can conveniently switch between these two working modes through the button on the headset or the user's head movements.

[0133] In one embodiment, as shown in FIG6, after step S410, which determines several selectable working modes from multiple working modes based on the mode selection instruction, the headphone sound quality adjustment method further includes:

[0134] Step S420: Obtain head pose data;

[0135] Step S430: Determine the current working mode from several working modes based on head pose data.

[0136] Specifically, in this embodiment, the user can control the current working mode by adjusting their head posture. The headphones monitor the user's head movements in real time using a posture sensor (such as a six-axis sensor) to obtain head posture data. When the headphones detect that the user's head posture is a preset trigger action, they will switch the current working mode, thereby adjusting the current opening of the vent valve; or they will set a preset specific working mode as the current working mode, and when switching or selecting the current working mode, they will select from several selectable working modes to adjust the current opening of the vent valve. Thus, before obtaining the current opening of the vent valve, i.e., before step S110 is executed, the headphone sound quality adjustment method may include: obtaining head posture data; and adjusting the current opening of the vent valve according to the head posture data.

[0137] In some embodiments, the selectable operating modes include a fourth operating mode and a fifth operating mode. If the user nods once based on head posture data, the fifth operating mode is determined as the current operating mode; if the user shakes their head once based on head posture data, the fourth operating mode is determined as the current operating mode. In some embodiments, the selectable operating modes include a fourth operating mode and a fifth operating mode. If the user nods twice based on head posture data, the current operating mode switches between the fourth and fifth operating modes. In some other embodiments, the selectable operating modes include a second operating mode and a fifth operating mode. If the user shakes their head twice based on head posture data, the current operating mode switches between the second and fifth operating modes.

[0138] In one embodiment, the headphone sound quality adjustment method further includes: adjusting the current opening of the vent valve based on the opening control command in response to the opening control command.

[0139] Specifically, in this embodiment, the headphones can actively respond to the user's opening control command to automatically adjust the current opening of the vent valve. The vent valve is generally an electronic vent valve, which uses a stepper motor or piezoelectric ceramic to drive the valve plate, thereby adjusting the vent valve's opening. The headphones can obtain the user's input opening control command through touch sensors, physical buttons, accelerometers (e.g., taps), head movements, or an app interface. After receiving the opening control command, the headphones will adjust the current opening of the vent valve according to the corresponding command. For example, when the vent valve is only set to fully open or closed, the user can input an opening control command through a physical button to switch the current opening of the vent valve to the maximum or minimum opening; when the vent valve opening can be linearly adjusted, the user can input an opening control command through a physical knob to control the current opening of the vent valve.

[0140] In some scenarios, headphones can have multiple working modes, such as active noise cancellation, previous track, and next track switching. However, traditional headphones require switching between working modes via headphone buttons or a mobile application, which is relatively cumbersome.

[0141] As shown in Figure 7, Figure 7 provides a method for adjusting headphone sound quality, which can specifically be a method for switching headphone working modes.

[0142] In one embodiment, as shown in FIG7, before obtaining the current opening degree of the vent valve, i.e. before executing step S110, the headphone sound quality adjustment method includes the following steps:

[0143] Step S102: Obtain head pose data.

[0144] Head posture data can be posture data generated by head movement. Head posture data can include nodding, shaking, flipping, tilting the head, turning the head, tilting the head down, a certain trajectory of head movement, a combination of nodding and turning the head, etc.

[0145] Optionally, the headphones are equipped with sensors that collect raw data. The processor then uses intelligent algorithms to generate quaternion or Euler angle data, thereby obtaining the user's head posture data, such as nodding, shaking, and other head posture data. The sensors can be gyroscope sensors, six-axis sensors, or nine-axis sensors.

[0146] Step S104: Adjust the current opening degree of the ventilation valve and the working state of the active noise reduction module according to the head posture data to switch the current working mode.

[0147] The active noise reduction module reduces ambient noise by using anti-phase noise.

[0148] Optionally, the headphones adjust the current opening of the vent valve and the operating state of the active noise cancellation module based on the acquired head posture data, so that the current opening of the vent valve is at its maximum, minimum, or intermediate level; and the active noise cancellation module is in an on or off state. By adjusting the current opening of the vent valve and adjusting the active noise cancellation module to different operating states, the headphones switch their current operating mode. For example, if the headphones are currently in transparency mode, and the headphones acquire head posture data of the user wearing the headphones, such as head nodding data, then the headphones adjust the vent valve to its minimum opening and the active noise cancellation module to be on, thus switching from transparency mode to noise cancellation mode; or if the headphones are currently in noise cancellation mode, and the headphones acquire head posture data of the user wearing the headphones, such as head nodding data, then the headphones adjust the vent valve to its maximum opening and the active noise cancellation module to be off, thus switching from noise cancellation mode to transparency mode. The head nodding data can be one nod, two nods, or three nods.

[0149] For example, in the second case shown in Figures 7 to 12, when the vent valve is at its maximum opening, the valve or gas passage of the vent valve is fully open; when the vent valve is at its intermediate opening, the valve or gas passage of the vent valve is partially open; and when the vent valve is at its minimum opening, the valve or gas passage of the vent valve is closed.

[0150] It should be noted that the different current opening degrees of the vent valve and the different operating states of the active noise cancellation module determine the different operating modes of the headphones. Adjusting the current opening degree of the vent valve and the operating state of the active noise cancellation module can switch the current operating mode of the headphones.

[0151] The aforementioned headphone sound quality adjustment method is applied to headphones, which include a vent valve and an active noise cancellation module. It acquires head posture data and adjusts the current opening of the vent valve and the working state of the active noise cancellation module based on this data, switching between the current working modes. The vent valve at its maximum opening allows communication between the ear canal and the external environment; external airflow can enter the ear canal through the vent valve, or airflow from the ear canal can enter the external environment through the vent valve, reducing or eliminating the ear-blocking effect and achieving wearing comfort. The vent valve at its minimum opening restricts communication between the ear canal and the external environment, isolating the ear canal and the external environment. This avoids or reduces the impact of external airflow on the internal components and sound quality of the wireless headphones, and also prevents environmental noise from entering the ear canal through the vent valve, thus providing some noise isolation. Turning on the active noise cancellation module reduces environmental noise through phase-inverse noise cancellation, achieving active noise cancellation; turning off the active noise cancellation module does not reduce external environmental noise. The headphone mode can be switched by adjusting the current opening of the vent valve and the working status of the active noise cancellation module simply by head movements, without touching the headphones or through a mobile device application. This greatly simplifies the operation process of switching modes, improves the convenience of operation, and increases the efficiency of headphone mode switching. It also allows the headphones to balance noise cancellation and wearing comfort, meeting the user's needs in different scenarios.

[0152] It is understood that after steps S102 and S104 are completed, that is, after obtaining head posture data, adjusting the current opening of the ventilation valve and the working state of the active noise reduction module according to the head posture data, and switching the current working mode, step S110 can be executed to obtain the current opening of the ventilation valve.

[0153] In the above embodiments, the head posture data includes first head posture data or second head posture data.

[0154] Optionally, the headphones can adjust the current opening of the ventilation valve and the working state of the active noise cancellation module based on the first head posture data or the second head posture data to switch the current working mode.

[0155] Optionally, the headphones can adjust the ventilation valve to be closed and the active noise cancellation module to be turned on based on the first head posture data, thus switching the current working mode.

[0156] Optionally, the headphones can also switch the current working mode by adjusting the ventilation valve to be open and the active noise cancellation module to be closed based on the second head posture data.

[0157] It should be noted that the three working states of the ventilation valve and the two working states of the active noise reduction module can be combined arbitrarily and adjusted using the first head posture data or the second head posture data.

[0158] In this embodiment, the three working states of the ventilation valve and the two working states of the active noise cancellation module are adjusted according to the first head posture data or the second head posture data. That is, the current working mode is determined by adjusting the working states of the ventilation valve and the active noise cancellation module through different head posture data, and the switching is performed. This simplifies the switching process, improves the convenience of operation, and improves the efficiency of headphone mode switching. It also allows the headphones to balance noise cancellation and wearing comfort, meeting the user's needs in different scenarios.

[0159] In an exemplary embodiment, as shown in FIG8, the current opening degree of the ventilation valve and the working state of the active noise cancellation module are adjusted according to the head posture data. The switching of the current working mode includes at least one of the following steps S202 to S208:

[0160] In an exemplary embodiment, as shown in FIG8, a sound quality adjustment method is provided, which adjusts the current opening degree of the ventilation valve and the working state of the active noise cancellation module according to head posture data, and switches the current working mode, including at least one of the following steps S202 to S204:

[0161] In step S202, if the head posture data is the first head posture data and the current working mode is the first working mode, then adjust the current opening degree of the ventilation valve and the working state of the active noise reduction module to switch the first working mode to the second working mode.

[0162] The first head posture data includes any one of the following: nodding, turning the head, shaking the head, raising the head, lowering the head, moving the head along a certain trajectory, or a combination of nodding and turning the head. Nodding can include nodding once, nodding twice, or nodding three times, or raising the head can include raising the head once, raising the head twice, raising the head three times, or a combination of nodding and raising the head, etc.

[0163] For example, in the second case shown in Figures 7 to 12, the first working mode can be the noise reduction mode and the second working mode can be the transparency mode; conversely, the first working mode can be the transparency mode and the second working mode can be the noise reduction mode.

[0164] Optionally, if the first head posture data is two nods, three nods, two head raises, or three head raises, and the current working mode is noise reduction mode, then adjust the ventilation valve to the maximum opening, and the active noise reduction model is in the off state, and switch the noise reduction mode to the transparency mode.

[0165] Optionally, if the first head posture data is two nods, three nods, two head raises, or three head raises, and the current working mode is the transparent mode, then adjust the ventilation valve to the minimum opening, and the active noise reduction model is in the on state, and switch the transparent mode to the noise reduction mode.

[0166] Step S204: If the head posture data is the first head posture data and the current working mode is not the first working mode, then adjust the current opening degree of the ventilation valve and the working state of the active noise reduction module to switch the current working mode to the first working mode.

[0167] Optionally, when the head posture data is any of the aforementioned first head posture data, such as nodding twice, nodding three times, or raising the head twice or raising the head three times, and the current working mode is not noise reduction mode, that is, the current working mode can be transparency mode, music mode, or comfort mode, then adjust the ventilation valve to the minimum opening and the active noise reduction model to be in the on state, and switch the current working mode to noise reduction mode.

[0168] Optionally, if the head posture data is any of the aforementioned first head posture data, such as nodding twice, nodding three times, or raising the head twice or raising the head three times, and the current working mode is not the transparent mode, then adjust the ventilation valve to the maximum opening and the active noise reduction model to the off state, and switch the current working mode to the transparent mode.

[0169] In this embodiment, the current working mode is switched by using the first head posture data. By adjusting the current opening of the ventilation valve and the working state of the active noise reduction module using the first head posture data, the first working mode can be switched to the second working mode, or a non-first working mode can be switched to the first working mode. Compared with the above-mentioned switching using multiple head posture data, the first head posture data is less numerous, which is convenient for user operation. Users do not need to remember too many head posture data and the correspondence between mode switching, making the operation more efficient and convenient.

[0170] In an exemplary embodiment, as shown in FIG8, FIG8 provides a sound quality adjustment method, which can specifically be a headphone working mode switching method. The method adjusts the current opening of the ventilator and the working state of the active noise cancellation module based on head posture data to switch the current working mode, including at least one of the following steps S206 to S208:

[0171] In step S206, if the head posture data is the second head posture data and the current working mode is the third working mode, then adjust the current opening of the ventilation valve and the working state of the active noise reduction module to switch the third working mode to the fourth working mode.

[0172] The second head posture data includes any one of the following: head shaking, head turning, head flicking, head raising, head lowering, head movement along a certain trajectory, or a combination of head shaking and head turning. Head shaking can include shaking the head once, twice, three times, or shaking the head twice to the left, twice to the right, or other combinations of head shaking movements, etc.

[0173] For example, in the second case shown in Figures 7 to 12, the third working mode can be music mode and the fourth working mode can be comfort mode; conversely, the third working mode can be comfort mode and the fourth working mode can be music mode.

[0174] Optionally, when the head posture data is any of the above-mentioned second head posture data, such as shaking the head twice, shaking the head three times, or shaking the head twice to the left, shaking the head twice to the right, or other combinations of head shaking actions, and the current working mode is music mode, then the ventilation valve is adjusted to the middle opening, and the active noise cancellation model is turned off, and the music mode is switched to comfort mode.

[0175] Optionally, when the head posture data is any of the above-mentioned second head posture data, such as shaking the head twice, shaking the head three times, or shaking the head twice to the left, shaking the head twice to the right, or other combinations of head shaking actions, and the current working mode is comfort mode, then the ventilation valve is adjusted to the minimum opening, and the active noise cancellation model is turned off, and the comfort mode is switched to music mode.

[0176] In step S208, if the head posture data is the second head posture data and the current working mode is not the third working mode, then adjust the current opening degree of the ventilation valve and the working state of the active noise reduction module to switch the current working mode to the third working mode.

[0177] Optionally, when the head posture data is any of the second head posture data mentioned above, such as shaking the head twice, shaking the head three times, or shaking the head twice to the left, shaking the head twice to the right, or other combinations of head shaking actions, and the current working mode is not music mode, it can be comfort mode, noise reduction mode, or transparency mode. In this case, the ventilation valve is adjusted to the minimum opening, and the active noise reduction model is turned off, and the current working mode is switched to music mode.

[0178] Optionally, when the head posture data includes any of the above-mentioned second head posture data, such as shaking the head twice, shaking the head three times, or shaking the head twice to the left, shaking the head twice to the right, or other combinations of head shaking movements, and the current working mode is not the comfort mode, it can be the music mode, noise reduction mode, or transparency mode. In this case, the ventilation valve is adjusted to the middle opening, and the active noise reduction model is turned off, switching the current working mode to the comfort mode.

[0179] In this embodiment, the current working mode is switched by using the second head posture data. By adjusting the current opening of the ventilation valve and the working state of the active noise reduction module using the second head posture data, the third working mode can be switched to the fourth working mode, or a non-third working mode can be switched to the third working mode. Compared with the above-mentioned switching using multiple head posture data, the second head posture data is less numerous, which is convenient for users to operate. Users do not need to remember too many head posture data and the correspondence between mode switching, making the operation more efficient and convenient.

[0180] In one exemplary embodiment, the first operating mode is that the vent valve is at its minimum opening and the active noise reduction module is in the on state; the second operating mode is that the vent valve is at its maximum opening and the active noise reduction module is in the off state.

[0181] Optionally, the first operating mode is characterized by the vent valve being at its minimum opening and the active noise cancellation module being on. When the vent valve is at its minimum opening, the connection between the external auditory canal and the external environment is restricted, effectively isolating the external auditory canal from the external environment. When the active noise cancellation module is on, it reduces ambient noise through inverse noise, thus achieving active noise cancellation. This first operating mode can be referred to as the noise cancellation mode.

[0182] Optionally, the second operating mode is when the vent valve is at its maximum opening and the active noise cancellation module is off. When the vent valve is at its maximum opening, it allows communication between the external auditory canal and the external environment; external airflow can enter the external auditory canal through the vent valve, or airflow from the external auditory canal can enter the external environment through the vent valve. When the active noise cancellation module is off, no reduction of external ambient noise is performed. The second operating mode can be called the transparency mode.

[0183] Optionally, depending on the current working mode (noise cancellation mode or transparency mode), the working mode of the headphones can be switched by adjusting the current opening of the ventilation valve and the working state of the active noise cancellation module through the first head posture data.

[0184] In this embodiment, the current opening of the ventilation valve and the working state of the active noise cancellation module are adjusted based on the first head posture data, switching between a first working mode and a second working mode, i.e., switching between a transparency mode and a noise cancellation mode. In the first working mode, the ventilation valve is at its minimum opening and the active noise cancellation module is in the on state, which can avoid or reduce the impact of external airflow on the internal components and sound quality of the wireless earphone, and also prevent environmental noise from entering the ear canal through the ventilation valve, thus playing a certain role in noise isolation; and by reducing environmental noise through phase inversion, active noise cancellation is achieved, which can quickly and conveniently complete the noise cancellation mode switching, while also allowing users to experience powerful noise cancellation in high-noise environments. The second working mode is when the vent valve is at its maximum opening and the active noise cancellation module is in the off state, allowing the ear canal to connect with the external environment. External airflow can enter the ear canal through the vent valve, or airflow from the ear canal can enter the external environment through the vent valve, reducing or eliminating the ear blockage effect and achieving wearing comfort. No external environmental noise is reduced, allowing users to naturally hear external sounds (for example, in the event of danger, they can be aware of external environmental sounds and perceive danger in time, or they can naturally hear others' voices without removing the headphones while they are talking). This enables the headphones to achieve noise cancellation and / or wearing comfort, meeting the user's needs in different scenarios.

[0185] Following the previous embodiment, adjusting the current opening degree of the vent valve and the working state of the active noise reduction module to switch the first working mode to the second working mode includes: sending a noise reduction shutdown command to the active noise reduction module and sending a vent valve opening command to the vent valve; the vent valve is used to adjust to the maximum opening degree according to the vent valve opening command; the active noise reduction module is used to perform a shutdown operation according to the noise reduction shutdown command to switch the first working mode to the second working mode.

[0186] When the ventilation valve is at its maximum opening, it means that the valve or gas passage of the ventilation valve is fully open, allowing the external auditory canal to connect with the external environment. External airflow can enter the external auditory canal through the ventilation valve, or airflow from the external auditory canal can enter the external environment through the ventilation valve. Users can naturally hear external sounds (for example, in the event of danger, they can be aware of external environmental sounds and perceive danger in time, or they can naturally hear the voices of others without removing the headphones while they are communicating), while reducing the ear blockage effect and achieving wearing comfort.

[0187] When the active noise cancellation module is in the off state, it means that the active noise cancellation module does not reduce ambient noise through anti-phase noise; that is, when the active noise cancellation module is in the off state, the noise cancellation function is turned off.

[0188] In the second scenario described above, four working modes are set depending on whether the vent valve and ANC module are open or closed, which can adapt to various scenarios in which users use headphones.

[0189] The headphones include a processor, an active noise cancellation (ANC) module, and a venting valve. The processor is connected to both the ANC module and the venting valve. It should be noted that the processor can be directly connected to the ANC module and the venting valve, or indirectly connected to them.

[0190] Optionally, upon receiving the first head posture data and with the current operating mode set to noise cancellation, the headphones send a noise cancellation off command to the ANC module via the processor, and also send a vent valve open command to the vent valve via the processor. Upon receiving the vent valve open command from the processor, the vent valve adjusts to its maximum opening. Upon receiving the noise cancellation off command from the processor, the ANC module performs a shutdown operation, effectively disabling the noise cancellation function of the active noise cancellation module, thus switching the noise cancellation mode to transparency mode.

[0191] In this embodiment, the current opening of the ventilator and the working state of the active noise cancellation module are adjusted by the first head posture data, so that the ventilator is at its maximum opening, the active noise cancellation function is in the off state, and the headphone noise cancellation mode is switched to the transparency mode. The head posture data can quickly and conveniently complete the working mode switching, while external sounds can enter the ear canal through the ventilator, allowing the user to naturally hear external sounds. The external environment and the ear canal are in a connected state, which can eliminate or reduce the ear blockage effect and improve wearing comfort. At the same time, compared with the situation of using multiple head posture data to switch as described above, the first head posture data has fewer items, which is easier for users to operate. Users do not need to remember too many head posture data and the correspondence between mode switching, making the operation more efficient and convenient.

[0192] Continuing from the previous embodiment, adjusting the current opening degree of the vent valve and the working state of the active noise reduction module to switch the current working mode to the first working mode includes: sending a noise reduction activation command to the active noise reduction module and sending a vent valve closing command to the vent valve; the vent valve is used to adjust to the minimum opening degree according to the vent valve closing command; the active noise reduction module is used to perform an activation operation according to the noise reduction activation command to switch the current working mode to the first working mode.

[0193] The first working mode is when the vent valve is at its minimum opening and the active noise reduction module is in the on state, which is the noise reduction mode.

[0194] Optionally, when the first head posture data is received and the current working mode is not noise cancellation mode, if the current working mode is transparency mode, music mode, or comfort mode, the headphones send a noise cancellation activation command to the ANC module through the processor, and also send a vent valve closing command to the vent valve through the processor. After receiving the vent valve closing command sent by the processor, the vent valve adjusts to the minimum opening. After receiving the noise cancellation activation command sent by the processor, the ANC module performs the activation operation, that is, activates the noise cancellation function of the active noise cancellation module to switch the current working mode to noise cancellation mode.

[0195] In this embodiment, the current opening of the ventilation valve and the working state of the active noise cancellation module are adjusted by the first head posture data, so that the ventilation valve is at its minimum opening and the active noise cancellation function is in the on state. The headphone transparency mode is controlled to switch to the noise cancellation mode. While the working mode can be switched quickly and conveniently, external sounds cannot enter the ear canal through the ventilation valve. That is, the ear canal and the external environment are isolated. This can avoid or reduce the impact of external airflow on the internal components and sound quality of the wireless headphone, and also prevent environmental noise from entering the ear canal through the ventilation valve, thus playing a certain role in noise isolation. The active noise cancellation module is activated to reduce ambient noise through anti-phase noise reduction. Headphone modes are switched by adjusting the vent valve's opening and the active noise cancellation module's operating status using only head movements, without physical contact with the headphones or via a mobile app. This greatly simplifies the mode-switching process, improves ease of use, and increases efficiency. It also allows users to experience powerful noise cancellation in noisy environments. Furthermore, compared to using multiple head posture data points for switching, the first set of head posture data requires fewer points, making it easier for users to operate and eliminating the need to memorize numerous head posture data points and their corresponding mode switching relationships, resulting in more efficient and convenient operation.

[0196] In one exemplary embodiment, the third operating mode is that the vent valve is at its minimum opening and the active noise reduction module is in the off state; the fourth operating mode is that the vent valve is at its intermediate opening and the active noise reduction module is in the off state.

[0197] Optionally, upon receiving the second head posture data, the third operating mode is characterized by the ventilator being at its minimum opening and the active noise cancellation module being off. The ventilator being at its minimum opening restricts communication between the external auditory canal and the external environment, effectively isolating the external auditory canal from the external environment. The active noise cancellation module being off means that no external ambient noise is reduced. This third operating mode can be referred to as the music mode.

[0198] Optionally, the fourth operating mode is characterized by the vent valve being at a medium opening and the active noise cancellation module being off. When the vent valve is at a medium opening, it allows a certain degree of communication between the auditory canal and the external environment; some external airflow can enter the auditory canal through the vent valve, or airflow from the auditory canal can enter the external environment through the vent valve. When the active noise cancellation module is off, no external environmental noise is reduced. This fourth operating mode can be referred to as the comfort mode.

[0199] Optionally, based on the second head posture data and the current working mode (music mode or comfort mode), the working mode of the headphones can be switched by adjusting the current opening of the vent valve and the working status of the active noise cancellation module.

[0200] In this embodiment, based on the second head posture data, the current opening of the vent valve and the working status of the active noise cancellation module are monitored. When the vent valve is at its minimum opening, the impact of external airflow on the internal components and sound quality of the wireless earphones is avoided or reduced. It also prevents environmental noise from entering the ear canal through the vent valve, thus providing a certain degree of noise isolation. Furthermore, when the active noise cancellation module is turned off, active noise cancellation is disabled, allowing users to enjoy an unparalleled music experience. When the vent valve is at a moderate opening, it allows a certain degree of connection between the ear canal and the external environment, allowing some external airflow to enter the ear canal, reducing or eliminating the ear blockage effect and achieving wearing comfort. When the active noise cancellation module is turned off, active noise cancellation is disabled. The second head posture data enables quick and convenient switching between working modes while also improving user wearing comfort.

[0201] Following the aforementioned embodiments, adjusting the current opening degree of the vent valve and the working state of the active noise reduction module to switch the third working mode to the fourth working mode includes: sending a noise reduction shutdown command to the active noise reduction module and sending a vent valve half-open command to the vent valve; the vent valve is used to switch to an intermediate opening degree according to the vent valve half-open command; the active noise reduction module is used to perform a shutdown operation according to the noise reduction shutdown command to switch the third working mode to the fourth working mode.

[0202] The third working mode is when the vent valve is at its minimum opening and the active noise cancellation module is off, which is also known as music mode; the fourth working mode is when the vent valve is at its middle opening and the active noise cancellation module is off, which is also known as comfort mode.

[0203] When the vent valve is in the middle opening position, the valve or gas passage of the vent valve is in an intermediate state between open and closed, which is a partially open state. This can refer to the state where the valve or gas passage of the vent valve is half open (e.g., 1 / 2 open), or it can refer to other parts of the open state, such as the valve or gas passage being 1 / 3, 1 / 4, 2 / 3, 4 / 5, etc. There is no specific limitation here.

[0204] Optionally, when receiving the second head posture data and the current working mode is music mode, the processor sends a noise cancellation off command to the active noise cancellation module (ANC) and a vent valve half-open command to the vent valve. After receiving the vent valve half-open command from the processor, the vent valve adjusts to the middle opening degree. After receiving the noise cancellation off command from the processor, the active noise cancellation module (ANC) performs a shutdown operation, that is, it shuts down the noise cancellation function of the active noise cancellation module to switch the music mode to comfort mode.

[0205] In this embodiment, the current opening of the ventilation valve and the working state of the active noise cancellation module are adjusted by the second head posture data, so that the ventilation valve is at the middle opening and the active noise cancellation function is in the off state. The music mode of the headphones is switched to the comfort mode. The second head posture data can quickly and conveniently complete the switching of working modes. At the same time, the ventilation valve allows the external ear canal to be partially connected with the external environment. This can not only realize the ventilation between the external ear canal and the external environment and reduce the ear blockage effect, but also prevent a large amount of environmental noise from entering the external ear canal, so that the user can enjoy a comfortable wearing experience.

[0206] Continuing with the previous embodiments, adjusting the current opening degree of the vent valve and the working state of the active noise reduction module switches the current working mode to the third working mode, including: sending a noise reduction shutdown command to the active noise reduction module and sending a vent valve shutdown command to the vent valve; the vent valve is used to adjust to the minimum opening degree according to the vent valve shutdown command; the active noise reduction module is used to perform a shutdown operation according to the noise reduction shutdown command to switch the current working mode to the third working mode.

[0207] The third working mode is when the vent valve is at its minimum opening and the active noise cancellation module is off, which is also known as music mode.

[0208] Optionally, when receiving second head posture data and the current operating mode is not music mode (which can be comfort mode, noise cancellation mode, or transparency mode), the headphones send a noise cancellation off command to the active noise cancellation module (ANC) via the processor, and also send a vent valve off command to the vent valve via the processor. Upon receiving the vent valve off command from the processor, the vent valve adjusts to its minimum opening; upon receiving the noise cancellation off command from the processor, the active noise cancellation module (ANC) performs a shutdown operation to switch the current operating mode to music mode.

[0209] In this embodiment, the current opening of the vent valve and the working state of the active noise cancellation module are adjusted by the second head posture data, so that the vent valve is at its minimum opening and the active noise cancellation function is in the off state. The other modes of the headphones are controlled to switch to music mode. The second head posture data can quickly and conveniently complete the switching of working modes. At the same time, the vent valve is at its minimum opening and the active noise cancellation function is in the off state. This avoids or reduces the impact of external airflow on the internal components and sound quality of the headphones, and also prevents environmental noise from entering the ear canal through the vent valve. Users can enjoy the ultimate music experience.

[0210] In an exemplary embodiment, the first head posture data includes any one of nodding, turning the head, shaking the head, raising the head, lowering the head, moving the head along a certain trajectory, or a combination of nodding and turning the head; the second head posture data includes any one of shaking the head, turning the head, shaking the head, raising the head, lowering the head, moving the head along a certain trajectory, or a combination of shaking the head and turning the head; wherein the first head posture data and the second head posture data are different.

[0211] Optionally, the first head posture data includes any one of the following: nodding, turning the head, shaking the head, raising the head, lowering the head, moving the head along a certain trajectory, a combination of nodding and turning the head, or a combination of nodding and other head postures. The second head posture data includes any one of the following: shaking the head, turning the head, shaking the head, raising the head, lowering the head, moving the head along a certain trajectory, a combination of shaking the head and turning the head, or a combination of shaking the head and other head postures; and the first head posture data and the second head posture data are different.

[0212] Optionally, if the first head posture data is nodding, the second head posture data can be any other than nodding. If the second head posture data is shaking, the first head posture data can be any other than shaking.

[0213] In this embodiment, the current working state of the earphone can be switched by using the first head posture data and the second head posture data, which simplifies the switching process and improves the switching efficiency.

[0214] In one exemplary embodiment, the first head posture data includes nodding data; the second head posture data includes shaking data.

[0215] Optionally, when the first head posture data includes two head nods, and the current operating mode of the headphones is the first operating mode, i.e., noise cancellation mode, the headphones send a noise cancellation off command to the ANC module via the processor, and also send a vent valve open command to the vent valve via the processor. After receiving the vent valve open command from the processor, the vent valve adjusts to its maximum opening; after receiving the noise cancellation off command from the processor, the ANC module performs a shutdown operation, i.e., disables the noise cancellation function of the active noise cancellation module, thereby switching the noise cancellation mode to transparency mode.

[0216] Optionally, when the first head posture data includes two head nods, and the headphone's previous operating mode is not noise cancellation mode (e.g., transparency mode, music mode, or comfort mode), the headphone sends a noise cancellation activation command to the ANC module via the processor, and also sends a vent valve closure command to the vent valve via the processor. After receiving the vent valve closure command from the processor, the vent valve adjusts to its minimum opening. After receiving the noise cancellation activation command from the processor, the ANC module performs the activation operation, that is, activates the noise cancellation function of the active noise cancellation module to switch the current operating mode to noise cancellation mode.

[0217] Optionally, when the second head posture data includes two head shakes and the current working mode is music mode, the processor sends a noise cancellation off command to the active noise cancellation module (ANC) and a vent valve half-open command to the vent valve. After receiving the vent valve half-open command from the processor, the vent valve adjusts to the middle opening degree. After receiving the noise cancellation off command from the processor, the active noise cancellation module (ANC) performs a shutdown operation, that is, it shuts down the noise cancellation function of the active noise cancellation module to switch the music mode to comfort mode.

[0218] Optionally, when the second head posture data includes two head shakes, and the current operating mode is not music mode (which can be comfort mode, noise cancellation mode, or transparency mode), the headphones send a noise cancellation off command to the active noise cancellation module (ANC) via the processor, and also send a vent valve off command to the vent valve via the processor. Upon receiving the vent valve off command from the processor, the vent valve adjusts to its minimum opening; upon receiving the noise cancellation off command from the processor, the active noise cancellation module (ANC) performs a shutdown operation to switch the current operating mode to music mode.

[0219] In this embodiment, controlling mode switching by nodding or shaking the head is more seamless, convenient, quick, and simple, and conforms to user habits. Furthermore, nodding twice or shaking twice can be used to prevent accidental mode switching by the user.

[0220] In an exemplary embodiment, as shown in FIG9, FIG9 provides a headphone sound quality adjustment method, which can specifically be a headphone working mode switching method. Before adjusting the current opening of the vent valve and the working state of the active noise cancellation module according to head posture data to switch the current working mode, the headphone sound quality adjustment method further includes steps S302 to S304:

[0221] Step S302: Obtain the current call status.

[0222] The current call status indicates whether there is currently a call or not. The current call status can include both an active call and a non-active call.

[0223] Optionally, after the headset communicates with the mobile terminal, the headset can obtain the audio status of the mobile terminal in real time, and the headset can replace the mobile terminal's speaker to play the audio aloud. For example, when the mobile terminal is making a phone call with another mobile terminal, the headset obtains through the processor whether the mobile terminal is currently in a call. If a call exists, it is a current call status; if no call exists, it is also a current call status.

[0224] Step S304: If the current call status is active, then call control is performed based on the head posture data.

[0225] Optionally, if the current call status is active, such as incoming call or ongoing call, the call answering and hanging up are controlled based on head posture data. If the current call status is inactive, the current opening degree of the ventilation valve and the working state of the active noise cancellation module are adjusted based on head posture data to switch the current working mode.

[0226] In this embodiment, head posture data enables call control without touching the headset or through a mobile device application, greatly simplifying the process of answering or hanging up calls and improving ease of use. At the same time, it also improves the efficiency of call control.

[0227] In one exemplary embodiment, the head posture data includes first head posture data or second head posture data; call control based on the head posture data includes: call control based on the first head posture data or second head posture data.

[0228] The first head posture data can include nodding once, nodding twice, nodding three times, or raising the head once, raising the head twice, raising the head three times, or a combination of nodding and raising the head, etc. The second head posture data can include shaking the head once, shaking the head twice, shaking the head three times, or shaking the head twice to the left consecutively, shaking the head twice to the right consecutively, or other combinations of head shaking movements, etc.

[0229] Optionally, the headset controls the call of the mobile terminal connected to the headset by nodding once, nodding twice, nodding three times, or tilting the head up once, tilting the head up twice, tilting the head up three times, or a combination of nodding and tilting the head up, or shaking the head once, shaking the head twice, shaking the head three times, or shaking the head twice to the left, shaking the head twice to the right, or other combinations of head-shaking actions.

[0230] In this embodiment, the call status is prioritized using both first and second head posture data, which better aligns with user habits. It also enables call control without touching the headset or through a mobile device application, greatly simplifying the process of answering or ending calls and improving ease of use and call control efficiency.

[0231] In an exemplary embodiment, as shown in FIG10, the first head posture data is nodding data; the second head posture data is shaking data; the existence of a call state includes incoming call or in-call; if the current call state is in-call, then call control is performed based on the head posture data, including at least one of the following steps S402 to S406:

[0232] Step S402: If the current call status is incoming, answer the current call based on the nodding data.

[0233] Optionally, if the current call status is an incoming call, the headset will answer the current call by nodding twice.

[0234] Step S404: If the current call status is incoming, reject the current call based on the head shake data.

[0235] Optionally, if the current call status is incoming, the call can be rejected by shaking the head twice.

[0236] Step S406: If the current call status is "in a call", hang up the current call based on the head shake data.

[0237] Optionally, if the current call status is active, the call can be ended by shaking the head twice.

[0238] In this embodiment, calls can be conveniently controlled without touching the headset or mobile terminal by using head nodding or head shaking data. In addition, answering the current call by nodding data and rejecting the current call or hanging up the phone by head shaking data is more in line with user habits.

[0239] In one exemplary embodiment, in the second case shown in Figures 7 to 12, the operating modes of the headphones include the following four, as shown in Table 1.

[0240] Table 1. On / off states of the vent valve and active noise cancellation module under different headphone operating modes.

[0241] Working mode switching and call control are performed using head posture data, as shown in Table 2.

[0242] Table 2. Head posture data and its impact on working mode switching and call control.

[0243] As shown in Figure 11, the headset uses first head posture data (e.g., double nodding) to switch working modes and control calls. The headset acquires the user's head posture data, which is the first head posture data, for example, capturing the user's double nodding motion through a six-axis sensor. At this time, the processor connected to the six-axis sensor acquires the data of the user's double nodding. If the processor detects that a call is currently in progress, and the call is an incoming call, then the call is answered directly by double nodding according to the first head posture data (e.g., double nodding). If the processor detects that there is no call, it determines whether the current working mode is the first working mode, such as noise cancellation mode. If the current working mode is the first working mode, such as noise cancellation mode, the headset sends a noise cancellation off command to the ANC module and a vent valve open command to the vent valve. After receiving the vent valve open command, the vent valve adjusts to its maximum opening; after receiving the noise cancellation off command, the ANC module performs a shutdown operation to switch the first working mode to the second working mode, such as switching the noise cancellation mode to the transparency mode. If the current working mode is not the first working mode, for example, if the current working mode is not noise cancellation mode, but transparency mode, music mode, or comfort mode, a noise cancellation activation command will be sent to the ANC module, and a vent valve closure command will be sent to the vent valve. After receiving the vent valve closure command, the vent valve will be adjusted to its minimum opening. After receiving the noise cancellation activation command, the ANC module will perform an activation operation to switch the current working mode to the first working mode, for example, switching the current working mode to noise cancellation mode.

[0244] When the processor determines that the user's head posture data shows two nods, the current operating mode is non-noise reduction mode, and there is no incoming call, it sends a noise reduction activation command to the ANC module and a ventilation valve closure command to the ventilation valve. When the ANC module receives the noise reduction activation command, it loads the corresponding filter parameters and activates the noise reduction function. The ventilation valve consists of a drive unit and a valve. When the ventilation valve receives the ventilation valve closure command, the drive unit drives the valve to close, thereby isolating the external auditory canal from the external environment.

[0245] As shown in Figure 12, the headset controls the working mode and call functions by double-shaking the head, as illustrated. The headset uses a six-axis sensor to detect the user's double-shaking motion. The processor, connected to the six-axis sensor, receives this data. If the processor detects an ongoing call, and if the call is in progress, the double-shaking motion rejects the call. If the call is ongoing, the double-shaking motion ends the call. If the processor detects no ongoing call, it determines if the current working mode is the third working mode, i.e., music mode. If it is music mode, the headset sends a noise cancellation off command to the ANC module and a vent valve half-open command to the vent valve via the processor. Upon receiving the vent valve half-open command, the vent valve adjusts to a medium opening. The ANC module, upon receiving the noise cancellation off command, performs a shutdown operation to switch the music mode to comfort mode. If it is not in music mode, but in comfort mode, noise cancellation mode, or transparency mode, the processor sends a noise cancellation off command to the ANC module and a vent valve close command to the vent valve. After receiving the vent valve close command from the processor, the vent valve adjusts to the minimum opening. After receiving the noise cancellation off command from the processor, the ANC module performs the shutdown operation to switch the current working mode to music mode.

[0246] In this embodiment, after acquiring head posture data, if the headset is in a call state, the call state is prioritized, which better suits user habits. If there is no call state, the current opening of the ventilation valve and the working state of the active noise cancellation module are adjusted according to the head posture data to switch the current working mode, allowing the headset to meet the usage needs of different scenarios. Using the first head posture data to control the call state, switch the first working mode to the second working mode, or switch a non-first working mode to the first working mode, the same head posture data can achieve both call state control and switching between multiple working modes, making operation more convenient and efficient. In particular, triggering the above control through head nodding data is more convenient and efficient. Furthermore, using two head nodding triggers can prevent accidental triggering. Similarly, using the second head posture data to control call and working mode switching has a similar effect.

[0247] It should be noted that when performing the above method, the headphones can balance noise cancellation and wearing comfort.

[0248] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0249] In one embodiment, a headphone sound quality adjustment device is provided, including a terminal and headphones. The terminal is used to determine a plurality of operating modes from a plurality of operating modes in response to a mode selection command. The headphones include a vent valve for allowing or restricting communication between the external auditory canal and the external environment. The headphones are used to acquire head posture data; determine the current operating mode from a plurality of operating modes based on the head posture data; determine the current opening degree of the vent valve based on the current operating mode; determine the current equalizer parameters based on the current opening degree of the vent valve; and perform audio playback based on the current equalizer parameters.

[0250] In one embodiment, an earphone is provided, including a memory and a processor, the memory storing a computer program, the processor executing the computer program to implement the steps in the above method embodiments.

[0251] In one embodiment, the headphones further include: a vent valve, a motion sensor, a feedforward / feedback microphone array, an active noise cancellation module, and a main control chip. The vent valve is used for dynamic ventilation adjustment, the motion sensor can capture motion trajectories and perform posture recognition, the feedforward / feedback microphone array is used for ambient noise acquisition, the active noise cancellation module is used for real-time active noise cancellation calculations, and the main control chip is used for multi-sensor data fusion and execution of corresponding control algorithms. In one embodiment, the active noise cancellation module can be integrated onto the main control chip. In one embodiment, the motion sensor can be a six-axis sensor, which can acquire the user's head movements and collect head posture data.

[0252] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps in the above-described method embodiments.

[0253] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.

[0254] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this 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), magnetic 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. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0255] The technical features of the above embodiments can be combined in any way. For the sake of brevity, 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 application.

[0256] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for adjusting headphone sound quality, characterized in that, Applied to headphones, the headphones including: a vent valve for allowing or restricting communication between the external auditory canal and the external environment, the method comprising: Obtain the current opening degree of the vent valve; The current equalizer parameters are determined based on the current opening degree of the vent valve; Audio playback is performed based on the current equalizer parameters.

2. The method according to claim 1, characterized in that, The current opening degree of the vent valve includes one of the following: maximum opening degree, minimum opening degree, and intermediate opening degree.

3. The method according to claim 1, characterized in that, The step of determining the current equalizer parameters based on the current opening degree of the vent valve includes: When the current opening of the vent valve is at its maximum opening, the first equalization parameter is determined as the current equalizer parameter; When the current opening degree of the vent valve is at its minimum, the second equalization parameter is determined as the current equalizer parameter.

4. The method according to claim 3, characterized in that, The step of determining the current equalizer parameters based on the current opening degree of the vent valve further includes: When the current opening degree of the vent valve is the middle opening degree, the third equalization parameter is determined as the current equalizer parameter.

5. The method according to claim 4, characterized in that, The first equalization parameter is the equalizer parameter obtained by adjusting the headphones to the first target sound quality effect when the vent valve is at its maximum opening. The second equalization parameter is the equalizer parameter obtained by adjusting the headphones to the second target sound quality effect when the vent valve is at its minimum opening. The third equalization parameter is the equalizer parameter obtained by adjusting the headphones to the third target sound quality effect when the vent valve is at the middle opening.

6. The method according to claim 1, characterized in that, The headphones also include an active noise cancellation module, the active noise cancellation module having an operating state including off and on, and after the step of obtaining the current opening degree of the vent valve, the method further includes: When the active noise reduction module is activated, the current noise reduction parameters are determined based on the current opening degree of the vent valve; The current audio compensation parameters are determined based on the current opening degree of the vent valve, the current equalizer parameters, and the current noise reduction parameters. Audio playback is performed based on the current equalizer parameters and the current audio compensation parameters.

7. The method according to claim 6, characterized in that, The step of determining the current noise reduction parameters based on the current opening degree of the vent valve includes: When the current opening of the vent valve is at its maximum opening, the first noise reduction parameter is determined as the current noise reduction parameter, wherein the first noise reduction parameter is the noise reduction parameter obtained by adjusting the headphones to the first target noise reduction effect when the vent valve is at its maximum opening; When the current opening of the vent valve is at its minimum, the second noise reduction parameter is determined as the current noise reduction parameter, wherein the second noise reduction parameter is the noise reduction parameter obtained by adjusting the headphones to the second target noise reduction effect when the vent valve is at its minimum opening.

8. The method according to claim 7, characterized in that, The step of determining the current noise reduction parameters based on the current opening degree of the vent valve further includes: When the current opening of the vent valve is at the middle opening, the third noise reduction parameter is determined as the current noise reduction parameter, wherein the third noise reduction parameter is the noise reduction parameter obtained by adjusting the headphones to the third target noise reduction effect when the vent valve is at the middle opening.

9. The method according to claim 6, characterized in that, The step of determining the current audio compensation parameters based on the current opening of the vent valve, the current equalizer parameters, and the current noise reduction parameters includes: When the current opening of the vent valve is at its maximum, the current equalizer parameter is the first equalization parameter, and the current noise reduction parameter is the first noise reduction parameter, the first compensation parameter obtained when the current frequency response curve of the headphones is adjusted to the first target frequency response curve is used as the current audio compensation parameter. The first target frequency response curve is the frequency response curve obtained by testing when the current opening of the vent valve is at its maximum, the current equalizer parameter is the first equalization parameter, and the active noise reduction module is turned off. When the current opening of the vent valve is at its minimum, the current equalizer parameter is the second equalizer parameter, and the current noise reduction parameter is the second noise reduction parameter, the second compensation parameter obtained when the current frequency response curve of the headphones is adjusted to the second target frequency response curve is used as the current audio compensation parameter. The second target frequency response curve is the frequency response curve obtained by testing when the current opening of the vent valve is at its minimum, the current equalizer parameter is the second equalizer parameter, and the active noise reduction module is turned off.

10. The method according to claim 9, characterized in that, The step of determining the current audio compensation parameters based on the current opening degree of the vent valve, the current equalizer parameters, and the current noise reduction parameters further includes: When the current opening of the vent valve is at the middle opening, the current equalizer parameter is the third equalizer parameter, and the current noise reduction parameter is the third noise reduction parameter, the third compensation parameter obtained when the current frequency response curve of the headphones is adjusted to the third target frequency response curve is used as the current audio compensation parameter. The third target frequency response curve is the frequency response curve obtained by testing when the current opening of the vent valve is at the middle opening, the current equalizer parameter is the third equalizer parameter, and the active noise reduction module is turned off.

11. The method according to claim 1, characterized in that, Before the step of obtaining the current opening degree of the vent valve, the method further includes: Get the current working mode; The current opening degree of the vent valve is determined based on the current operating mode.

12. The method according to claim 11, characterized in that, Before obtaining the current working mode, the method further includes: Obtain head pose data; The current working mode is determined based on the head posture data.

13. The method according to claim 11, characterized in that, The step of determining the current opening degree of the vent valve based on the current operating mode includes: When the current working mode is one of the first working mode, the second working mode, and the third working mode, the current opening degree of the vent valve is determined to be the maximum opening degree; When the current operating mode is one of the fourth, fifth, and sixth operating modes, the current opening degree of the vent valve is determined to be the minimum opening degree.

14. The method according to claim 11, characterized in that, The headphones also include an active noise cancellation module, and the method further includes: When the current working mode is the first working mode, the current opening degree of the vent valve is the maximum opening degree, the active noise reduction module is turned off, and the first transparency algorithm is used as the current transparency algorithm; or When the current working mode is the second working mode, the current opening degree of the vent valve is the maximum opening degree, the permeability mode is closed, and the first noise reduction parameter is used as the current noise reduction parameter; or When the current operating mode is the third operating mode, the current opening degree of the vent valve is the maximum opening degree, the active noise reduction module is off, and the ventilation mode is off; or When the current operating mode is the fourth operating mode, the current opening degree of the vent valve is the minimum opening degree, the active noise reduction module is turned off, and the second transparency algorithm is used as the current transparency algorithm; or When the current operating mode is the fifth operating mode, the current opening degree of the vent valve is the minimum opening degree, the permeability mode is closed, and the second noise reduction parameter is used as the current noise reduction parameter; or When the current working mode is the sixth working mode, the current opening degree of the vent valve is the minimum opening degree, the active noise reduction module is turned off, and the ventilation mode is turned off.

15. The method according to claim 11, characterized in that, The method further includes: In response to a mode selection instruction, several operating modes are determined from a plurality of operating modes based on the mode selection instruction.

16. The method according to claim 15, characterized in that, After the step of determining several operating modes from multiple operating modes based on the mode selection instruction, the method further includes: Obtain head pose data; The current working mode is determined from among the several working modes based on the head posture data.

17. The method according to claim 1, characterized in that, The method further includes: In response to an opening control command, the current opening of the vent valve is adjusted based on the opening control command.

18. The method according to claim 1, characterized in that, Before obtaining the current opening degree of the vent valve, the method further includes: Obtain head pose data; The current opening of the ventilation valve is adjusted based on the head posture data.

19. The method according to claim 1, characterized in that, The headphones also include an active noise cancellation module; before obtaining the current opening degree of the vent valve, the method includes: Obtain head pose data; Based on the head posture data, the current opening degree of the ventilation valve and the working state of the active noise reduction module are adjusted to switch the current working mode.

20. The method according to claim 19, characterized in that, The head posture data includes either first head posture data or second head posture data.

21. The method according to claim 19, characterized in that, The step of adjusting the current opening of the ventilation valve and the working state of the active noise cancellation module based on the head posture data to switch the current working mode includes at least one of the following: If the head posture data is the first head posture data and the current working mode is the first working mode, then adjust the current opening of the ventilation valve and the working state of the active noise reduction module to switch the first working mode to the second working mode. If the head posture data is the first head posture data and the current working mode is not the first working mode, then adjust the current opening of the ventilation valve and the working state of the active noise reduction module to switch the current working mode to the first working mode.

22. The method according to claim 19, characterized in that, The step of adjusting the current opening of the ventilation valve and the working state of the active noise cancellation module based on the head posture data to switch the current working mode includes at least one of the following: If the head posture data is the second head posture data and the current working mode is the third working mode, then adjust the current opening of the ventilation valve and the working state of the active noise reduction module to switch the third working mode to the fourth working mode. If the head posture data is the second head posture data and the current working mode is not the third working mode, then the current opening degree of the ventilation valve and the working state of the active noise reduction module are adjusted to switch the current working mode to the third working mode.

23. The method according to claim 21, characterized in that, The first operating mode is when the vent valve is at its minimum opening and the active noise reduction module is turned on; the second operating mode is when the vent valve is at its maximum opening and the active noise reduction module is turned off.

24. The method according to claim 22, characterized in that, The third operating mode is when the vent valve is at its minimum opening and the active noise reduction module is off; the fourth operating mode is when the vent valve is at its intermediate opening and the active noise reduction module is off.

25. The method according to claim 20, characterized in that, The first head posture data includes any one of nodding, turning the head, shaking the head, raising the head, lowering the head, moving the head along a certain trajectory, or a combination of nodding and turning the head; the second head posture data includes any one of shaking the head, turning the head, shaking the head, raising the head, lowering the head, moving the head along a certain trajectory, or a combination of shaking the head and turning the head; wherein the first head posture data and the second head posture data are different.

26. The method according to claim 19, characterized in that, Before switching the current working mode by adjusting the current opening of the ventilation valve and the working state of the active noise cancellation module based on the head posture data, the method further includes: Get the current call status; If the current call status is active, then call control is performed based on the head posture data.

27. The method according to claim 26, characterized in that, The head posture data includes first head posture data or second head posture data; the first head posture data is nodding data; the second head posture data is shaking data; the existence of a call status includes incoming call or in a call; If the current call status is active, then call control is performed based on the head posture data, including: Call control is performed based on the first head posture data or the second head posture data, wherein if the current call status is an incoming call, the call is answered based on the nodding data; if the current call status is an incoming call, the call is rejected based on the head shaking data; if the current call status is a call, the call is ended based on the head shaking data.

28. A headphone sound quality adjustment device, characterized in that, include: A terminal, configured to respond to a mode selection instruction and determine several operating modes from multiple operating modes based on the mode selection instruction; Earphones, including a vent valve for allowing or restricting communication between the external auditory canal and the external environment; The earphones are used to acquire head posture data; Based on the head posture data, the current working mode is determined among the several working modes; based on the current working mode, the current opening degree of the vent valve is determined; and based on the current opening degree of the vent valve, the current equalizer parameters are determined. Audio playback is performed based on the current equalizer parameters.

29. A type of earphone, characterized in that, The headphones include: Memory, used to store computer programs; A processor for executing the computer program to implement the steps of the method according to any one of claims 1 to 27.

30. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 27.

31. A computer program product, comprising a computer program, characterized in that, When executed by a processor, the computer program implements the steps of the method according to any one of claims 1 to 27.

Citation Information

Patent Citations

  • In-ear speaker hybrid audio transparency system

    CN110545500A

  • Processing execution method and device and readable medium

    CN111698600A

  • Noise reduction device and method

    CN111836147A

  • Earphone control method and device, earphone and medium

    CN115379332A

  • Activity-based smart transparency

    CN115605944A