Earphone calibration method, earphone and terminal
Through the collaborative work between the headphones and the terminal, noise values are collected and target filter parameters are calculated, which solves the problem that active noise reduction headphones cannot be calibrated according to user ear canal parameters, significantly improving the noise reduction effect and providing users with a better auditory experience.
Patent Information
- Application Number
- CN202310659667.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-05
- Publication Date
- 2024-12-06
AI Technical Summary
Active noise reduction headphones cannot be calibrated according to the parameters of the user's ear canal during the manufacturing stage, resulting in poor noise reduction.
Through the connection between the headset and the terminal, noise values are collected and target filtering parameters are calculated, so that the headset can be calibrated according to specific parameters of the user's ear canal.
It improves the noise reduction effect of active noise reduction headphones, providing users with a better auditory experience.
Smart Images

Figure CN119094938A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of noise reduction, and more specifically, to an earphone calibration method, an earphone and a terminal in the technical field of noise reduction. Background Art
[0002] With the rapid development of science and technology, in addition to receiving and playing sounds, headphones can also have the function of active noise cancellation (ANC), isolating noise in noisy environments and providing people with a quiet environment. Active noise cancellation headphones are divided into single feedforward noise cancellation headphones, single feedback noise cancellation headphones, and hybrid noise cancellation headphones with feedforward and feedback. Different noise cancellation headphones can have different noise reduction effects. However, no matter which structure is used for noise reduction, active noise cancellation headphones can only provide users with the best noise reduction experience if they are calibrated with the optimal filtering parameters.
[0003] In the related art, active noise reduction headphones can be calibrated during the manufacturing stage or during user use. However, when calibrating during the manufacturing stage, the active noise reduction headphones cannot be calibrated according to the parameters of the user's ear canal, resulting in a poor match between the calibration parameters and the user's ear canal, thereby reducing the noise reduction effect.
[0004] Therefore, how to make active noise reduction headphones have excellent noise reduction effect has become an urgent problem to be solved. Summary of the invention
[0005] The present application provides an earphone calibration method, earphones and a terminal, which can obtain calibration parameters that match the user's ear canal, thereby enabling the active noise reduction earphones to have excellent noise reduction effects.
[0006] In a first aspect, a headphone calibration method is provided, which is applied to a headphone, wherein the headphone is connected to a terminal, and the method comprises: obtaining a calibration instruction for the headphone, and in response to the received calibration instruction, sending a default filtering parameter to the terminal; sending a first noise value and a second noise value to the terminal, wherein the first noise value and the second noise value are collected at the same time; receiving a target filtering parameter sent by the terminal, wherein the target filtering parameter is determined by the terminal according to the first noise value and the second noise value; and calibrating according to the target filtering parameter.
[0007] In combination with the first aspect, in certain implementations of the first aspect, before sending the first noise value and the second noise value to the terminal, the method also includes: receiving the calibration instruction sent by the terminal, and in response to the received calibration instruction, obtaining an initial ambient noise value through a feedforward microphone; sending the initial ambient noise value to the terminal, wherein the terminal determines whether the noise environment of the headset meets the calibration conditions based on the initial ambient noise value.
[0008] In combination with the first aspect and the above-mentioned implementation methods, in some implementation methods of the first aspect, when the above-mentioned terminal determines that the noise environment of the above-mentioned headphones meets the calibration conditions, the method also includes: receiving a noise compliance instruction sent by the above-mentioned terminal, wherein the above-mentioned noise compliance instruction is sent by the above-mentioned terminal when it is determined that the noise environment of the above-mentioned headphones meets the calibration conditions; switching to normal mode according to the above-mentioned noise compliance instruction, and controlling the above-mentioned feedforward microphone and the feedback microphone to be in an on state, so as to collect the above-mentioned first noise value through the above-mentioned feedforward microphone, and collect the above-mentioned second noise value through the above-mentioned feedback microphone.
[0009] In combination with the first aspect and the above-mentioned implementation manner, in some implementation manners of the first aspect, the above-mentioned sending the above-mentioned first noise value and the above-mentioned second noise value to the above-mentioned terminal, the method includes: after switching to the above-mentioned normal mode according to the above-mentioned noise compliance instruction, and controlling the above-mentioned feedforward microphone and the above-mentioned feedback microphone to be in an on state, sending a ready signal to the above-mentioned terminal, so that the above-mentioned terminal issues a calibration ready instruction after receiving the above-mentioned ready signal; receiving the above-mentioned calibration ready instruction sent by the above-mentioned terminal, and in response to the received above-mentioned calibration ready instruction, sending the above-mentioned first noise value and the above-mentioned second noise value to the above-mentioned terminal.
[0010] In combination with the first aspect and the above-mentioned implementation methods, in some implementation methods of the first aspect, when the above-mentioned terminal determines that the noise environment of the above-mentioned earphone does not meet the calibration conditions, the method also includes: receiving a noise optimization instruction sent by the above-mentioned terminal, wherein the above-mentioned noise optimization instruction is issued by the above-mentioned terminal when it is determined that the noise environment of the above-mentioned earphone does not meet the calibration conditions, and the above-mentioned terminal plays a first preset noise when it is determined that the noise environment of the above-mentioned earphone does not meet the calibration conditions; in response to the received above-mentioned noise optimization instruction, obtaining an optimized environmental noise value including the above-mentioned first preset noise through the above-mentioned feedforward microphone; and sending the optimized environmental noise value including the above-mentioned first preset noise to the above-mentioned terminal, wherein the above-mentioned terminal determines whether the noise environment of the above-mentioned earphone meets the calibration conditions according to the above-mentioned optimized environmental noise value.
[0011] In combination with the first aspect and the above-mentioned implementation methods, in some implementation methods of the first aspect, when the above-mentioned terminal determines that the noise environment of the above-mentioned headphones does not meet the calibration conditions, the method also includes: obtaining an optimized environmental noise value containing a second preset noise through the above-mentioned feedforward microphone, wherein the above-mentioned second preset noise is played after the volume is adjusted when the above-mentioned terminal determines that the noise environment of the above-mentioned headphones does not meet the calibration conditions; sending the optimized environmental noise value containing the above-mentioned second preset noise to the above-mentioned terminal, wherein the above-mentioned terminal determines whether the noise environment of the above-mentioned headphones meets the calibration conditions based on the above-mentioned optimized environmental noise value.
[0012] In combination with the first aspect and the above-mentioned implementation manner, in some implementation manners of the first aspect, the method further includes: storing the above-mentioned target filtering parameters sent by the above-mentioned terminal, so as to call the above-mentioned target filtering parameters when the above-mentioned headset receives the above-mentioned calibration instruction.
[0013] In combination with the first aspect and the above-mentioned implementation manner, in some implementation manners of the first aspect, the method also includes: obtaining a third noise value and a fourth noise value, wherein the third noise value is the noise value of the current headset after passive noise reduction, and the fourth noise value is the noise value of the speaker; calculating the difference between the third noise value and the fourth noise value; when the difference is greater than or equal to a preset noise threshold, issuing a preset reminder message, and / or sending a request for calibration to the terminal, wherein the terminal sends the calibration instruction when receiving the request for calibration.
[0014] In a second aspect, a headphone calibration method is provided, which is applied to a terminal, wherein the terminal is connected to the headphone, and the method comprises: receiving a default filtering parameter sent by the headphone; receiving a first noise value and a second noise value sent by the headphone, wherein the first noise value and the second noise value are collected at the same time; determining a target filtering parameter according to the first noise value and the second noise value; and sending the target filtering parameter to the headphone so that the headphone is calibrated according to the target filtering parameter.
[0015] In combination with the second aspect, in certain implementations of the second aspect, before receiving the default filtering parameters sent by the above-mentioned earphones, the method also includes: sending a calibration instruction to the above-mentioned earphones, so that the above-mentioned earphones respond to the received calibration instruction and obtain the initial ambient noise value through the feedforward microphone; receiving the above-mentioned initial ambient noise value sent by the above-mentioned earphones; and determining whether the noise environment of the above-mentioned earphones meets the calibration conditions based on the above-mentioned initial ambient noise value.
[0016] In combination with the second aspect and the above-mentioned implementation manner, in some implementation manners of the second aspect, the method also includes: when it is determined that the noise environment of the above-mentioned earphone meets the calibration conditions, sending a noise compliance instruction to the above-mentioned earphone to switch the above-mentioned earphone to normal mode, and making the above-mentioned earphone control the above-mentioned feedforward microphone and the feedback microphone to be in the on state, so as to collect the above-mentioned first noise value through the above-mentioned feedforward microphone, and collect the above-mentioned second noise value through the above-mentioned feedback microphone.
[0017] In combination with the second aspect and the above-mentioned implementation manner, in some implementation manners of the second aspect, the above-mentioned receiving the first noise value and the second noise value sent by the above-mentioned headset, the method includes: receiving a ready signal sent by the above-mentioned headset, wherein the above-mentioned ready signal is issued after the above-mentioned headset switches to the above-mentioned normal mode according to the above-mentioned noise compliance instruction and controls the above-mentioned feedforward microphone and the above-mentioned feedback microphone to be in the on state; sending a calibration ready instruction to the above-mentioned headset, so that the above-mentioned headset responds to the received above-mentioned calibration ready instruction and sends the above-mentioned first noise value and the above-mentioned second noise value to the above-mentioned terminal; wherein the above-mentioned calibration ready instruction is issued by the above-mentioned terminal after receiving the above-mentioned ready signal.
[0018] In combination with the second aspect and the above-mentioned implementation methods, in some implementation methods of the second aspect, the method also includes: when it is determined that the noise environment of the above-mentioned earphone does not meet the calibration conditions, sending a noise optimization instruction to the above-mentioned earphone and playing a first preset noise, so that the above-mentioned earphone responds to the received above-mentioned noise optimization instruction, and obtains the optimized environmental noise value containing the above-mentioned first preset noise through the above-mentioned feedforward microphone; receiving the optimized environmental noise value containing the above-mentioned first preset noise sent by the above-mentioned earphone; and determining whether the noise environment of the above-mentioned earphone meets the calibration conditions according to the above-mentioned optimized environmental noise value.
[0019] In combination with the second aspect and the above-mentioned implementation methods, in some implementation methods of the second aspect, the method also includes: when it is determined that the noise environment of the above-mentioned headphones does not meet the calibration conditions, playing the above-mentioned second preset noise; receiving the optimized environmental noise value containing the above-mentioned second preset noise sent by the above-mentioned headphones; and determining whether the noise environment of the above-mentioned headphones meets the calibration conditions based on the above-mentioned optimized environmental noise value.
[0020] In combination with the second aspect and the above-mentioned implementation manner, in some implementation manners of the second aspect, the target filtering parameters are determined according to the above-mentioned first noise value and the above-mentioned second noise value, and the method includes: determining an expected output value according to the above-mentioned first noise value and the above-mentioned second noise value; performing a minimum mean square calculation on the filter in the above-mentioned feedforward microphone through the above-mentioned expected output value; and determining the above-mentioned target filtering parameters through the above-mentioned minimum mean square calculation.
[0021] In combination with the second aspect and the above-mentioned implementation manner, in some implementation manners of the second aspect, after the target filtering parameter is determined according to the above-mentioned first noise value and the above-mentioned second noise value, the method further includes: associating and storing the above-mentioned target filtering parameter with the model of the above-mentioned earphone; when it is detected that the model of the current earphone is the same as the model of the above-mentioned earphone associated and stored, sending the above-mentioned target filtering parameter to the above-mentioned current earphone, so that the above-mentioned current earphone is calibrated according to the above-mentioned target filtering parameter
[0022] In a third aspect, a headset is provided, comprising a memory and a processor. The memory is used to store executable program codes, and the processor is used to call and run the executable program codes from the memory, so that the headset executes the method in the first aspect or any possible implementation of the first aspect.
[0023] In a fourth aspect, a terminal is provided, comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the terminal executes the method in the second aspect or any possible implementation of the second aspect.
[0024] In the technical solution provided by the present application, after the headset obtains the calibration instruction, it responds to the calibration instruction and sends the default filter parameters and the collected first noise value and second noise value to the terminal, so that the terminal can determine the target filter parameters according to the first noise value and the second noise value, and receive the target filter parameters sent by the terminal, and use the target filter parameters to calibrate itself. It can be seen that in the headset calibration method provided in the embodiment of the present application, the terminal can determine the target filter parameters according to the first noise value and the second noise value, obtain the target filter parameters that match the user's ear canal, and use the target filter parameters to calibrate the headset, so that the headset has an excellent noise reduction effect and provides users with a better noise reduction experience.
[0025] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 is a schematic diagram of a scenario of a headphone calibration method provided in an embodiment of the present application;
[0027] Figure 2 is a flowchart of a headphone calibration method provided in an embodiment of the present application;
[0028] Figure 3 is a flowchart of another headphone calibration method provided in an embodiment of the present application;
[0029] Figure 4is a structural schematic diagram of a headphone calibration device provided in an embodiment of the present application;
[0030] Figure 5 is a structural schematic diagram of another headphone calibration device provided in an embodiment of the present application;
[0031] Figure 6 is a schematic diagram of the structure of the earphone provided in an embodiment of the present application;
[0032] Figure 7 It is a schematic diagram of the structure of the terminal provided in the embodiment of the present application. DETAILED DESCRIPTION
[0033] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0034] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0035] In an exemplary embodiment, Figure 1 1 is a schematic diagram of a scenario of a headset calibration method provided in an embodiment of the present application. The application scenario includes a headset 110 and a terminal 120 worn by a user, and the headset 110 and the terminal 120 are in a connected state, and the connection mode can be a wired connection or a wireless connection, for example, Bluetooth.
[0036] The headset 110 has an active noise reduction function, and has structures such as a forward feedback microphone, a backward feedback microphone, and a speaker. Specifically, the forward feedback microphone is used to obtain environmental noise, the backward feedback microphone is used to obtain noise after passive noise reduction, and the speaker converts the electrical signal sent by the terminal 120 into audible sound waves.
[0037] It should be understood that Figure 1 The earphone 110 may be a headset, or an earbud earphone, an earphone, or an in-ear earphone, depending on the user's choice, and this embodiment of the present application does not limit this.
[0038] The terminal 120 is a device with a playback function and a high-performance chip, which is used to complete the calculation of the target filtering parameters, such as a smart phone, a tablet computer, a laptop computer and a personal digital assistant (PDA). The terminal 120 can be installed with an application software (Application, App) adapted to the headset 110 to complete the information transmission of control instructions between the headset 110 and the terminal 120, so that the headset 110 can be calibrated according to the target filtering parameters to achieve the desired noise reduction effect.
[0039] In an exemplary embodiment, Figure 2 FIG. 1 is a flow chart of a headphone calibration method provided in an embodiment of the present application. Figure 2 As shown, the terminal and the headset are in a connected state, including the following implementation process:
[0040] In S201, a calibration instruction for the headset is obtained.
[0041] The calibration instruction may be used to control the headset to enter a calibration process.
[0042] Exemplarily, the headset 110 obtains a control instruction for controlling itself to enter a calibration process, for example, a calibration instruction.
[0043] After the headset 110 obtains the calibration instruction, it responds to the received calibration instruction, executes S202, and sends the default filtering parameters; and continues to execute S203 to receive the default filtering parameters sent by the headset.
[0044] Among them, the default filtering parameter is a fixed calibration parameter set during the manufacturing process of the earphone.
[0045] Exemplarily, the headset 110 sends the default filtering parameter (eg, the default filtering parameter b) to the terminal 120 , and the terminal 120 receives the default filtering parameter b sent by the headset 110 .
[0046] Exemplarily, the terminal 120 stores default filtering parameters corresponding to multiple headphone models. The terminal 120 can also directly obtain the default filtering parameter b associated with the headphone 120 model from the stored multiple default filtering parameters based on the headphone model, thereby reducing the number of interactions between the terminal and the headphone, which is conducive to improving the calibration efficiency of the headphone.
[0047] Exemplarily, the user can also obtain the default filter parameter b corresponding to the model of the headset 120 through query, and input the default filter parameter b into the terminal 120. The terminal obtains the default filter parameter in various ways. In the event of a problem in the signal transmission process between the headset and the terminal, it is ensured that the terminal can normally obtain the default filter parameter, which provides effective guarantee for the normal calibration of the headset.
[0048] After the headset 110 obtains the calibration instruction, in response to the received calibration instruction, S204 is executed to send the first noise value and the second noise value.
[0049] The first noise value and the second noise value are collected at the same time.
[0050] Exemplarily, after the earphone 110 obtains the calibration instruction, in response to the received calibration instruction, at time point A, the earphone 110 collects the first noise value through the feedforward microphone and the second noise value through the feedback microphone, and sends the collected first noise value and second noise value to the terminal 120.
[0051] In S205, a first noise value and a second noise value sent by the earphone are received.
[0052] Exemplarily, the terminal 120 receives the first noise value and the second noise value collected and sent by the headset 110 at time point A.
[0053] It should be understood that both S202 and S204 are executed by the headset 110 after obtaining the calibration instruction, and the execution order of S202 and S204 is not limited in this application. In other words, S202 and S204 can be executed at the same time; S204 can be executed first, and then S202; or Figure 2 As shown, S202 is executed first, and then S204 is executed. The change of the execution order of S202 and S204 will not affect the implementation of the solution.
[0054] In 206 , a target filtering parameter is determined according to the first noise value and the second noise value.
[0055] The target filter parameters may be used as optimal filter parameters for calibrating the earphone.
[0056] Exemplarily, the terminal 120 may determine a target filtering parameter for headphone calibration, for example, a target filtering parameter a, according to the received first noise value and second noise value.
[0057] After the terminal 120 determines the target filtering parameters, it executes S207 to send the target filtering parameters.
[0058] Exemplarily, the terminal 120 sends the target filtering parameter a to the earphone 110 .
[0059] In S208, the target filtering parameters sent by the terminal are received.
[0060] Exemplarily, the headset 110 receives the target filter parameter a sent by the terminal 120, and executes S209 to perform calibration according to the target filter parameter.
[0061] Exemplarily, the headset 110 may be calibrated according to the target filter parameter a sent by the terminal 120 .
[0062] exist Figure 2 In the above technical solution provided, after the headset obtains the calibration instruction, it responds to the calibration instruction and sends the default filtering parameters and the collected first noise value and the second noise value to the terminal, so that the terminal can determine the target filtering parameters according to the first noise value and the second noise value, and receive the target filtering parameters sent by the terminal, and calibrate itself using the target filtering parameters, so as to obtain the calibration parameters matching the user's ear canal, and then the headset uses the calibration parameters for calibration, which can enable the headset to have an excellent noise reduction effect and provide the user with a better noise reduction experience.
[0063] In an exemplary embodiment, Figure 3 is a flow chart of another headphone calibration method provided in an embodiment of the present application. Figure 2 The embodiment shown is based on the above. Figure 3 As shown in the figure, the terminal and the headset are connected. Figure 3 As shown, the method 300 can be divided into two stages:
[0064] The first stage: the calibration stage, which mainly includes the interaction between the headset 110 and the terminal 120. This stage can be understood as the process of calibrating the headset through the target filter parameters determined by the terminal. Figure 3 As shown in S301~S336:
[0065] In S301, a calibration instruction is sent.
[0066] Exemplarily, the terminal 120 sends a calibration instruction to the headset 110 to control the calibration of the filter parameters of the headset during the noise reduction process.
[0067] In S302, the calibration instruction sent by the terminal is received.
[0068] Exemplarily, the headset 110 receives the calibration instruction sent by the terminal 120, and in response to the received calibration instruction, executes S303 to send the default filtering parameters.
[0069] In S304, the default filter parameters sent by the earphone are received.
[0070] Exemplarily, the headset 110 may send the default filtering parameter (eg, the default filtering parameter b) to the terminal 120, so that the terminal 120 receives the default filtering parameter b.
[0071] In S305 , in response to the received calibration instruction, an initial environmental noise value is acquired through a feedforward microphone.
[0072] Among them, the initial environmental noise value refers to the noise value obtained by the first acquisition of the volume of the user's environment after the headset receives the calibration instruction, and the initial environmental noise value can be obtained multiple times, which is not limited in the embodiment of the present application.
[0073] Exemplarily, the earphone 110 responds to the received calibration instruction and obtains the initial ambient noise value through the feedforward microphone configured in the earphone 110.
[0074] It should be understood that both S303 and S305 are executed by the headset 110 after obtaining the calibration instruction, and the execution order of S303 and S305 is not limited in this application. In other words, S303 and S305 can be executed at the same time; S305 can be executed first, and then S303; or Figure 3 As shown, S303 is executed first, and then S305 is executed. The change of the execution order of S303 and S305 will not affect the implementation of the solution.
[0075] Continue to execute S306 to send the initial environmental noise value; then in S307, receive the initial environmental noise value sent by the earphone.
[0076] Exemplarily, after the earphone 110 sends the initial environmental noise value, the terminal 120 may receive the initial environmental noise value.
[0077] In S308, it is determined whether the noise environment of the earphone meets the calibration condition according to the initial environmental noise value.
[0078] The calibration condition refers to an environmental noise value that can satisfy the calibration of the earphone 110 .
[0079] Exemplarily, the terminal 120 may determine, based on the initial environmental noise value, whether the noise environment in which the earphone 120 is currently located meets the requirement of the calibrated environmental noise value.
[0080] In the related art, the environmental noise value for dynamic testing should be less than or equal to 70 decibels, and the environmental noise value for empty state testing should be below 60 decibels or 65 decibels. In addition, the environmental noise value is not fixed based on different calibration algorithms. Therefore, in the embodiment of the present application, the environmental noise value of the calibration condition can be set to 70 decibels or 60 decibels, which is not limited in the embodiment of the present application.
[0081] For example, when the environmental noise value of the calibration condition is set to 70 decibels, the environmental noise value received by the earphone 110 is 60 decibels, and the terminal 120 can determine that the noise environment of the earphone 110 does not meet the calibration condition.
[0082] When it is determined that the noise environment of the earphone 110 does not meet the calibration condition, the terminal 120 executes S309 to send a noise optimization instruction, and executes S310 to play the first preset noise.
[0083] The noise optimization instruction may be used to adjust the ambient noise of the earphone 110 so that the ambient noise can meet the calibration requirement.
[0084] The first preset noise may be music set in advance or a fixed ringing sound. During the earphone calibration process, the ambient noise of the earphone 110 may be adjusted by the first preset noise.
[0085] Exemplarily, when the terminal 120 determines that the noise environment of the earphone 110 does not meet the calibration conditions, it sends a noise optimization instruction to the earphone 110 and plays a first preset noise (for example, music a) to adjust the environmental noise, thereby providing the earphone 110 with environmental noise that meets the calibration conditions, ensuring that the calibration process of the earphone 110 can proceed normally and avoiding the possibility of large deviations in the calibration results.
[0086] It should be understood that the ambient noise value may also be 65 decibels, 50 decibels, and 40 decibels, which is related to the specific environment in which the headset 110 is located, and the embodiment of the present application is not limited to this.
[0087] In S311, a noise optimization instruction sent by a terminal is received; and S312 is executed to obtain an optimized environmental noise value including a first preset noise through a feedforward microphone in response to the received noise optimization instruction.
[0088] The optimized environmental noise value refers to the environmental noise value after the initial environmental noise is adjusted by the first preset noise (eg, music a) played by the terminal 120, and the optimized environmental noise value should be greater than the initial environmental noise.
[0089] Exemplarily, the earphone 110 receives a noise optimization instruction sent by the terminal 120 for adjusting its own ambient noise, and responds to the noise optimization instruction by acquiring an optimized ambient noise value including a first preset noise (eg, music a) through a feedforward microphone configured in the earphone 110 .
[0090] In S313, an optimized environmental noise value including the first preset noise is sent.
[0091] Exemplarily, the earphone 110 sends the optimized environmental noise value including the first preset noise (eg, music a) to the terminal 120 .
[0092] In S314, the optimized environmental noise value including the first preset noise is received from the earphone; and S315 is continued to be executed to determine whether the noise environment of the earphone meets the calibration condition according to the optimized environmental noise value.
[0093] Exemplarily, the terminal 120 receives an optimized ambient noise value containing a first preset noise (e.g., music a) sent by the headset 110, and can determine whether the noise environment of the headset 110 meets the calibration conditions based on the optimized ambient noise value, thereby providing effective guarantee for the smooth progress of the headset calibration process.
[0094] When the terminal 120 determines in S315 that the noise environment of the earphone 110 does not meet the calibration condition, S316 is executed to play the second preset noise.
[0095] Among them, the second preset noise can also be music set in advance or a fixed ringing sound. It should be noted that since the optimized environmental noise value including the first preset noise cannot meet the calibration conditions, the second preset noise value is greater than the first preset noise value, or the second preset noise value is obtained by increasing the first preset noise value, so that the optimized environmental noise value including the second preset noise can meet the calibration conditions.
[0096] In S317 , an optimized environmental noise value including a second preset noise is acquired through a feedforward microphone.
[0097] Exemplarily, an optimized environmental noise value including a second preset noise (e.g., music b) is obtained by a feedforward microphone configured in the earphone 110, and the noise value of music b is greater than the noise value of music a, and thus it can be obtained that the "optimized environmental noise value including the second preset noise" is greater than the "optimized environmental noise value including the first preset noise".
[0098] In S318, an optimized environmental noise value including a second preset noise is sent.
[0099] Exemplarily, the earphone 110 sends the optimized environmental noise value including the second preset noise (eg, music b) to the terminal 120 .
[0100] In S319, the optimized environmental noise value including the second preset noise sent by the earphone is received; and S320 is continued to be executed to determine whether the noise environment of the earphone meets the calibration condition according to the optimized environmental noise value.
[0101] Exemplarily, the terminal 120 receives an optimized ambient noise value containing a second preset noise (e.g., music b) sent by the headset 110, and can determine whether the noise environment of the headset 110 meets the calibration conditions based on the optimized ambient noise value. By adjusting the ambient noise multiple times, the ambient noise value can meet the calibration requirements, thereby providing effective guarantee for the smooth progress of the headset calibration process.
[0102] When the terminal 120 determines through S320 that the noise environment of the earphone 110 does not meet the calibration conditions, it executes S305, obtains the environmental noise value containing the second preset noise through the feedforward microphone configured in the earphone 110, and uses the environmental noise value containing the second preset noise as the initial environmental noise value, and continues to execute the above steps until the terminal 120 can determine that the noise environment of the earphone 110 meets the calibration conditions.
[0103] When the terminal 120 determines through S308, S315 or S320 that the noise environment of the headset 110 meets the calibration condition, S321 is executed to send a noise compliance instruction.
[0104] The noise compliance instruction may be used to indicate that the noise environment of the earphone 110 meets the calibration conditions.
[0105] For example, when the environmental noise value of the calibration condition is set to 70 decibels, the environmental noise value received by the terminal 120 is 75 decibels, and the terminal 120 can determine that the noise environment of the headset 110 meets the calibration condition. The environmental noise value can also be 80 decibels, 90 decibels, and 115 decibels, which is related to the specific environment in which the headset 110 is located, and the embodiment of the present application does not limit this.
[0106] In S322, the noise compliance instruction sent by the receiving terminal is sent; S323 is continued to be executed, the normal mode is switched to according to the noise compliance instruction, and the feedforward microphone and the feedback microphone are controlled to be in the on state, so as to collect the first noise value through the feedforward microphone and the second noise value through the feedback microphone.
[0107] Among them, the earphone 110 can have a normal mode, a noise reduction mode and a transparency mode. When the earphone 110 is in the normal mode, the earphone 110 may not perform noise reduction processing or transparency processing on the noise.
[0108] Exemplarily, the earphone 110 receives the noise compliance instruction sent by the terminal 120, and can switch to the normal mode according to the noise compliance instruction, and at the same time control the feedforward microphone and the feedback microphone configured in the earphone 110 to be in the on state, preparing for subsequent noise collection work, thereby improving the calibration efficiency of the earphone.
[0109] After the earphone 110 switches to the normal mode according to the noise compliance instruction and controls the feedforward microphone and the feedback microphone to be in the on state, S324 is executed to send a ready signal.
[0110] The ready signal may be used to indicate that the headset 110 is ready for calibration.
[0111] Exemplarily, after the headset 110 switches to normal mode according to the noise compliance instruction and controls the feedforward microphone and the feedback microphone to be in the on state, it sends a ready signal to the terminal 120, thereby ensuring that the preparation of the headset for calibration is completed, providing a guarantee for the smooth progress of the calibration process.
[0112] In S325, a ready signal sent by the headset is received; then S326 is executed to send a calibration ready instruction to the headset.
[0113] The calibration ready instruction may be used to indicate that the terminal 120 is also in a state where calibration can be performed.
[0114] Exemplarily, after receiving the ready signal sent by the headset 110, the terminal 120 sends a calibration ready instruction to the headset 110, thereby ensuring that the terminal's preparations for calibration are completed, providing a guarantee for the smooth progress of the headset calibration process.
[0115] In S327, a calibration ready instruction sent by the terminal is received; and in response to the received calibration ready instruction, S328 is executed to send the first noise value and the second noise value.
[0116] Exemplarily, the headset 110 receives a calibration ready instruction sent by the terminal 120, and after receiving the calibration ready instruction, sends the first noise value and the second noise value collected at time point A to the terminal 120, so that the terminal completes the calculation of the target filtering parameters based on the first noise value and the second noise value.
[0117] In S329, a first noise value and a second noise value sent by the earphone are received.
[0118] Exemplarily, the terminal 120 receives the first noise value and the second noise value collected and sent by the headset 110 at time point A.
[0119] After receiving the first noise value and the second noise value, the terminal 120 executes S330 to determine the expected output value according to the first noise value and the second noise value, and S331 to perform a minimum mean square calculation on the filter in the feedforward microphone according to the expected output value; and continues to execute S332 to determine the target filter parameters through the minimum mean square calculation.
[0120] Among them, the expected output value is the expected reverse sound wave obtained by the first noise value and the second noise value. The expected reverse sound wave refers to a sound wave with a phase opposite to the ambient noise and the same frequency and amplitude, which can blend and offset the ambient noise in the ear canal, thereby achieving a noise reduction effect.
[0121] Among them, the least mean square calculation refers to an algorithm that uses the mean square error as the cost function and minimizes the error.
[0122] Exemplarily, the terminal 120 can obtain an expected reverse sound wave related to the ambient noise value based on the received first noise value and the second noise value, and use the expected reverse sound wave as the expected output value that can achieve the noise reduction effect. The filter in the feedforward microphone of the earphone 110 is calculated by the least mean square method through the expected output value, so as to determine the target filtering parameters that fit the ear canals of different users.
[0123] In S333, it is determined whether there is a difference between the target filtering parameters and the default filtering parameters.
[0124] Exemplarily, the terminal 120 may determine whether there is a difference between the target filtering parameter and the default filtering parameter. For example, the target filtering parameter is a, and the default filtering parameter is b. If the values of a and b are different, it is considered that there is a difference between the target filtering parameter and the default filtering parameter; conversely, if the values of a and b are the same, it is considered that there is no difference between the target filtering parameter and the default filtering parameter.
[0125] When the terminal 120 determines that the target filtering parameter is different from the default filtering parameter, S334 is executed to send the target filtering parameter to the headset 110 .
[0126] In S335, the target filtering parameters sent by the terminal are received.
[0127] Exemplarily, the headset 110 receives the target filter parameter a sent by the terminal 120, and executes S336 to perform calibration according to the target filter parameter.
[0128] Exemplarily, the headset 110 may be calibrated according to the target filter parameter a sent by the terminal 120 .
[0129] When the terminal 120 determines that the target filtering parameters are the same as the default filtering parameters, S329 is executed, and the terminal 120 receives the first noise value and the second noise value sent by the headset 110 again, so that the target filtering parameters that are different from the default filtering parameters can be obtained in time, ensuring the real-time performance of the headset calibration.
[0130] When the terminal 120 determines that the target filtering parameter is the same as the default filtering parameter, the headset 110 may also automatically call the default filtering parameter set by itself (for example, the default filtering parameter is b) for calibration.
[0131] The above describes the possible implementation process of the calibration phase of the embodiment of the present application. Next, the second phase of the embodiment of the present application: the storage phase is introduced. This phase can be understood as the process in which the headset 110 and the terminal 120 respectively store and call the target filter parameters again. Specifically includes Figure 3 S337~S344 shown in:
[0132] In S337, the target filter parameters sent by the terminal are stored so that the target filter parameters can be called when the headset receives a calibration instruction.
[0133] Exemplarily, the headset 110 may store the target filter parameters sent by the terminal 120. When the user uses the same model of headset, the target filter parameters may be directly called for calibration, thereby avoiding repeated acquisition of noise and making the headset calibration process more efficient.
[0134] In S338 , the third noise value and the fourth noise value are acquired, and S339 is executed to calculate the difference between the third noise value and the fourth noise value.
[0135] The third noise value may be a noise value after passive noise reduction of the current earphone, and the fourth noise value may be a noise value of the speaker.
[0136] Exemplarily, the earphone 110 may obtain a third noise value (a noise value after passive noise reduction of the current earphone) and a fourth noise value (a noise value of the current earphone speaker), and calculate a difference between the third noise value and the fourth noise value.
[0137] In S340, when the difference is greater than or equal to the preset noise threshold, a preset reminder message is issued.
[0138] Among them, the preset noise threshold can be the default setting of the headset, or it can be set by the user according to his own situation, and the embodiment of the present application is not limited to this.
[0139] Among them, the preset reminder information can be one or more of voice reminder information, vibration reminder information and flashing light information, which is used to remind the user to calibrate the headset, and the embodiment of the present application is not limited to this.
[0140] Exemplarily, the earphone 110 can send a reminder message to the user to calibrate the earphone when the difference between the third noise value and the fourth noise value is greater than or equal to a preset noise threshold, thereby avoiding excessive noise in the user's ear canal due to a surge in ambient noise, which may damage the hearing and improve the safety of earphone use.
[0141] For example, the preset noise threshold of the earphone 110 can be set to 10 decibels, the third noise value collected by the feedback microphone after passive noise reduction is 30 decibels, and the fourth noise value of the speaker is 15 decibels. By calculation, it can be obtained that the difference between the third noise value and the fourth noise value is 15 decibels. The difference is greater than 10 decibels. The earphone 110 can send a voice reminder message to the user to remind the user to calibrate the earphone.
[0142] When the difference is greater than or equal to the preset noise threshold, S341 may also be executed to send a calibration request.
[0143] The request to be calibrated may represent an instruction for calibration sent to the terminal when there is a large difference between the user's ear canal noise and the ambient noise.
[0144] For example, when there is a large difference between the ear canal noise of the user and the ambient noise, the headset 110 may send an instruction for calibration to the terminal 120, such as a request for calibration.
[0145] In S342, a calibration request sent by the headset is received.
[0146] Exemplarily, the terminal 120 receives the calibration request sent by the headset 110, executes S301, and sends a calibration instruction, so that the headset starts calibration.
[0147] In S343, the target filter parameters are associated with the model of the earphone and stored; continue to execute S344, and when it is detected that the model of the current earphone is the same as the model of the associated and stored earphone, send the target filter parameters to the current earphone so that the current earphone is calibrated according to the target filter parameters.
[0148] Exemplarily, the terminal 120 may associate and store the target filtering parameters with the model of the earphone 110, and when detecting that the model of the current earphone is the same as the model of the associated and stored earphone 110, the terminal 120 sends the target filtering parameters of the earphone 110 to the current earphone, so that the current earphone can be calibrated using the target filtering parameters, thereby avoiding the repeated calculation process, making the calibration process of the earphone more efficient, and being able to provide the user with a noise reduction experience more quickly.
[0149] For example, the model of the headset is A, and the corresponding target filter parameter a is obtained by calculation. The terminal stores the target filter parameter a as the calibration parameter of the model A headset. When the user uses the model A headset again, the terminal can send the target filter parameter a directly to the headset so that the headset can be calibrated using the target filter parameter a.
[0150] It should be understood that the model of the earphone is not fixed and can be any model of earphone with active noise reduction function, and the embodiments of the present application are not limited to this.
[0151] exist Figure 3In the above technical solution provided, through the information interaction between the headset and the terminal, when the headset calibration conditions are met, the terminal calculates the target filtering parameters based on the first noise value and the second noise value sent by the headset, thereby obtaining calibration parameters that are more closely matched to the user's ear canal; and when the target filtering parameters are different from the default filtering parameters, the terminal sends the target filtering parameters to the headset, so that the headset can be calibrated according to the target filtering parameters, thereby improving the calibration results of the headset and providing the user with a more effective noise reduction experience; in addition, by calculating the target filtering parameters through the terminal, the calculation performed by the headset is transferred to the terminal, which reduces the load on the headset chip during operation, so that the headset is configured with a low-performance chip to meet the user's calibration needs.
[0152] In an exemplary embodiment, Figure 4 Schematic diagram of the structure of a headset calibration device provided in an embodiment of the present application. Figure 4 As shown, the device 400 is configured in a headset and specifically includes:
[0153] The acquisition module 410 is used to acquire a calibration instruction about the headset, and in response to the received calibration instruction, send the default filtering parameters to the terminal;
[0154] The sending module 420 is configured to send the first noise value and the second noise value to the terminal, wherein the first noise value and the second noise value are collected at the same time;
[0155] Receiving module 430: configured to receive a target filtering parameter sent by the terminal, wherein the target filtering parameter is determined by the terminal according to the first noise value and the second noise value;
[0156] Calibration module 440: used for performing calibration according to the above target filtering parameters.
[0157] In a possible implementation, before sending the first noise value and the second noise value to the terminal, the sending module 420 is further used to: receive the calibration instruction sent by the terminal, and in response to the received calibration instruction, obtain an initial ambient noise value through a feedforward microphone; send the initial ambient noise value to the terminal, wherein the terminal determines whether the noise environment of the headset meets the calibration conditions based on the initial ambient noise value.
[0158] In a possible implementation, when the terminal determines that the noise environment of the headset meets the calibration conditions, the sending module 420 is further used to: receive a noise compliance instruction sent by the terminal, wherein the noise compliance instruction is sent by the terminal when it determines that the noise environment of the headset meets the calibration conditions; switch to normal mode according to the noise compliance instruction, and control the feedforward microphone and the feedback microphone to be in an on state, so as to collect the first noise value through the feedforward microphone, and collect the second noise value through the feedback microphone.
[0159] In a possible implementation, the first noise value and the second noise value are sent to the terminal, and the sending module 420 is specifically used to: after switching to the normal mode according to the noise compliance instruction and controlling the feedforward microphone and the feedback microphone to be in an on state, send a ready signal to the terminal, so that the terminal sends a calibration ready instruction after receiving the ready signal; receive the calibration ready instruction sent by the terminal, and send the first noise value and the second noise value to the terminal in response to the received calibration ready instruction.
[0160] In a possible implementation, when the terminal determines that the noise environment of the headset does not meet the calibration conditions, the sending module 420 is further used to: receive a noise optimization instruction sent by the terminal, wherein the noise optimization instruction is issued by the terminal when the terminal determines that the noise environment of the headset does not meet the calibration conditions, and the terminal plays a first preset noise when the terminal determines that the noise environment of the headset does not meet the calibration conditions; in response to the received noise optimization instruction, obtain an optimized environmental noise value including the first preset noise through the feedforward microphone; and send the optimized environmental noise value including the first preset noise to the terminal, wherein the terminal determines whether the noise environment of the headset meets the calibration conditions according to the optimized environmental noise value.
[0161] In a possible implementation, when the terminal determines that the noise environment of the headset does not meet the calibration conditions, the sending module 420 is further used to: obtain an optimized environmental noise value including a second preset noise through the feedforward microphone, wherein the second preset noise is played after the terminal adjusts the volume when the terminal determines that the noise environment of the headset does not meet the calibration conditions; and send the optimized environmental noise value including the second preset noise to the terminal, wherein the terminal determines whether the noise environment of the headset meets the calibration conditions based on the optimized environmental noise value.
[0162] In a possible implementation, the calibration module 440 is further configured to store the target filtering parameters sent by the terminal, so as to call the target filtering parameters when the headset receives the calibration instruction.
[0163] In a possible implementation, the calibration module 440 is also used to: obtain a third noise value and a fourth noise value, wherein the third noise value is the noise value of the current headset after passive noise reduction, and the fourth noise value is the noise value of the speaker; calculate the difference between the third noise value and the fourth noise value; when the difference is greater than or equal to a preset noise threshold, issue a preset reminder message, and / or send a request for calibration to the terminal, wherein the terminal sends the calibration instruction when receiving the request for calibration.
[0164] In an exemplary embodiment, Figure 5 is a schematic diagram of the structure of another headphone calibration device provided in an embodiment of the present application. Figure 5 As shown, the device 500 is configured in a terminal, and specifically includes:
[0165] Receiving module 510: used to receive the default filtering parameters sent by the earphone;
[0166] The receiving module 510 is specifically configured to receive a first noise value and a second noise value sent by the earphone, wherein the first noise value and the second noise value are collected at the same time;
[0167] Determining module 520: used to determine target filtering parameters according to the first noise value and the second noise value;
[0168] The sending module 530 is configured to send the target filtering parameters to the earphone, so that the earphone is calibrated according to the target filtering parameters.
[0169] In a possible implementation, the receiving module 510 is further used to: send a calibration instruction to the headset, so that the headset responds to the received calibration instruction and obtains the initial environmental noise value through the feedforward microphone; receive the initial environmental noise value sent by the headset; and determine whether the noise environment of the headset meets the calibration condition according to the initial environmental noise value.
[0170] In a possible implementation, the sending module 530 is also used to: when it is determined that the noise environment of the above-mentioned earphone meets the calibration conditions, send a noise compliance instruction to the above-mentioned earphone to switch the above-mentioned earphone to normal mode, and enable the above-mentioned earphone to control the above-mentioned feedforward microphone and the feedback microphone to be in an on state, so as to collect the above-mentioned first noise value through the above-mentioned feedforward microphone, and collect the above-mentioned second noise value through the above-mentioned feedback microphone.
[0171] In a possible implementation, the first noise value and the second noise value sent by the headset are received, and the receiving module 510 is specifically used to: receive a ready signal sent by the headset, wherein the ready signal is issued after the headset switches to the normal mode according to the noise compliance instruction and controls the feedforward microphone and the feedback microphone to be in an on state; send a calibration ready instruction to the headset, so that the headset responds to the received calibration ready instruction and sends the first noise value and the second noise value to the terminal; wherein the calibration ready instruction is issued by the terminal after receiving the ready signal.
[0172] In a possible implementation, the sending module 530 is also used for: when it is determined that the noise environment of the above-mentioned earphone does not meet the calibration conditions, sending a noise optimization instruction to the above-mentioned earphone and playing a first preset noise, so that the above-mentioned earphone responds to the received noise optimization instruction, and obtains the optimized environmental noise value containing the above-mentioned first preset noise through the above-mentioned feedforward microphone; receiving the optimized environmental noise value containing the above-mentioned first preset noise sent by the above-mentioned earphone; and determining whether the noise environment of the above-mentioned earphone meets the calibration conditions according to the above-mentioned optimized environmental noise value.
[0173] In a possible implementation, the sending module 530 is also used to: when it is determined that the noise environment of the above-mentioned earphones does not meet the calibration conditions, play the above-mentioned second preset noise; receive the optimized environmental noise value containing the above-mentioned second preset noise sent by the above-mentioned earphones; and determine whether the noise environment of the above-mentioned earphones meets the calibration conditions according to the above-mentioned optimized environmental noise value.
[0174] In a possible implementation, the target filtering parameters are determined according to the first noise value and the second noise value, and the determination module 520 is specifically used to: determine the expected output value according to the first noise value and the second noise value; perform a minimum mean square calculation on the filter in the feedforward microphone according to the expected output value; and determine the target filtering parameters through the minimum mean square calculation.
[0175] In a possible implementation, after determining the target filtering parameters according to the first noise value and the second noise value, the sending module 530 is further used to: associate and store the target filtering parameters with the model of the headset; and when it is detected that the model of the current headset is the same as the model of the associated and stored headset, send the target filtering parameters to the current headset so that the current headset is calibrated according to the target filtering parameters.
[0176] Figure 6 It is a schematic diagram of the structure of the earphone provided in an embodiment of the present application.
[0177] For example, Figure 6 As shown, the headset 600 includes: a memory 610 and a processor 620, wherein the memory 610 stores an executable program code 6101, and the processor 620 is used to call and execute the executable program code 6101 to perform a headset calibration method.
[0178] In this embodiment, the headset can be divided into functional modules according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0179] In the case of dividing each functional module according to each function, the headset may include: an acquisition module, a sending module, a receiving module, a calibration module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.
[0180] Figure 7 It is a schematic diagram of the structure of the terminal provided in the embodiment of the present application.
[0181] For example, Figure 7 As shown, the terminal 700 includes: a memory 710 and a processor 720, wherein the memory 710 stores an executable program code 7101, and the processor 720 is used to call and execute the executable program code 7101 to perform a headphone calibration method.
[0182] In this embodiment, the terminal can be divided into functional modules according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0183] In the case of dividing each functional module according to each function, the terminal may include: a receiving module, a determining module and a sending module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.
[0184] The earphone and terminal provided in this embodiment are used to execute the above earphone calibration method, and thus can achieve the same effect as the above implementation method.
[0185] In the case of an integrated unit, the headset and the terminal may include a processing module and a storage module. The processing module may be used to control and manage the actions of the headset and the terminal. The storage module may be used to support the headset and the terminal to execute mutual program codes and data.
[0186] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits disclosed in conjunction with the present application. The processor may also be a combination that implements a computing function, such as a combination of one or more microprocessors, a combination of a digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.
[0187] The present application also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of the method of any of the above embodiments are implemented. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD (Digital Video Disc), a CD-ROM (Compact Disc Read-Only Memory), a micro drive and a magneto-optical disk, a ROM (Read-Only Memory), a RAM (Random Access Memory), an EPROM (Erasable Programmable Read-Only Memory), an EEPROM (Electrically Erasable Programmable read only memory), a DRAM (Dynamic Random Access Memory), a VRAM (Video Random Access Memory), a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.
[0188] This embodiment further provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement a headphone calibration method in the above-mentioned embodiment.
[0189] In addition, the earphones and terminals provided in the embodiments of the present application may specifically be chips, components or modules, and the earphones and terminals may include a connected processor and memory; wherein the memory is used to store instructions, and when the earphones and terminals are running, the processor may call and execute instructions so that the chip executes a earphone calibration method in the above-mentioned embodiments.
[0190] Among them, the headset and terminal provided in this embodiment are used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0191] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0192] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0193] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A headphone calibration method, characterized in that: Applied to an earphone, the earphone is in a connected state with a terminal, and the method includes: Acquire a calibration instruction for the headset, and in response to the received calibration instruction, send a default filtering parameter to the terminal; Sending a first noise value and a second noise value to the terminal, wherein the first noise value and the second noise value are collected at the same time; receiving a target filtering parameter sent by the terminal, wherein the target filtering parameter is determined by the terminal according to the first noise value and the second noise value; Calibration is performed according to the target filter parameters.
2. The method according to claim 1, characterized in that Before sending the first noise value and the second noise value to the terminal, the method further includes: receiving the calibration instruction sent by the terminal, and in response to the received calibration instruction, acquiring an initial ambient noise value through a feedforward microphone; The initial environmental noise value is sent to the terminal, wherein the terminal determines whether the noise environment of the earphone meets the calibration condition according to the initial environmental noise value.
3. The method according to claim 2, characterized in that When the terminal determines that the noise environment of the headset meets the calibration condition, the method further includes: receiving a noise compliance instruction sent by the terminal, wherein the noise compliance instruction is sent by the terminal when it is determined that the noise environment of the headset meets a calibration condition; The normal mode is switched to according to the noise reaching instruction, and the feedforward microphone and the feedback microphone are controlled to be in an on state, so as to collect the first noise value through the feedforward microphone and collect the second noise value through the feedback microphone.
4. The method according to claim 3, characterized in that The sending the first noise value and the second noise value to the terminal includes: After switching to the normal mode according to the noise compliance instruction and controlling the feedforward microphone and the feedback microphone to be in an on state, sending a ready signal to the terminal, so that the terminal sends a calibration ready instruction after receiving the ready signal; The calibration ready instruction sent by the terminal is received, and in response to the received calibration ready instruction, the first noise value and the second noise value are sent to the terminal.
5. The method according to claim 2, characterized in that: When the terminal determines that the noise environment of the headset does not meet the calibration condition, the method further includes: receiving a noise optimization instruction sent by the terminal, wherein the noise optimization instruction is sent by the terminal when it is determined that the noise environment of the headset does not meet the calibration condition, and the terminal plays a first preset noise when it is determined that the noise environment of the headset does not meet the calibration condition; In response to the received noise optimization instruction, obtaining an optimized environmental noise value including the first preset noise through the feedforward microphone; An optimized environmental noise value including the first preset noise is sent to the terminal, wherein the terminal determines whether the noise environment of the earphone meets a calibration condition according to the optimized environmental noise value.
6. The method according to claim 5, characterized in that When the terminal determines that the noise environment of the headset does not meet the calibration condition, the method further includes: Acquiring an optimized environmental noise value including a second preset noise through the feedforward microphone, wherein the second preset noise is played after the terminal adjusts the volume when determining that the noise environment of the headset does not meet the calibration condition; An optimized environmental noise value including the second preset noise is sent to the terminal, wherein the terminal determines whether the noise environment of the earphone meets the calibration condition according to the optimized environmental noise value.
7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: The target filter parameters sent by the terminal are stored, so that when the headset receives the calibration instruction, the target filter parameters are called.
8. The method according to claim 7, characterized in that The method further comprises: Obtaining a third noise value and a fourth noise value, wherein the third noise value is a noise value after passive noise reduction of the current earphone, and the fourth noise value is a noise value of the speaker; Calculating a difference between the third noise value and the fourth noise value; When the difference is greater than or equal to a preset noise threshold, a preset reminder message is issued, and / or a request for calibration is sent to the terminal, wherein the terminal sends the calibration instruction when receiving the request for calibration.
9. A method for calibrating a headphone, characterized in that: Applied to a terminal, the terminal is in a connected state with a headset, and the method includes: Receiving default filtering parameters sent by the headset; Receiving a first noise value and a second noise value sent by the headset, wherein the first noise value and the second noise value are collected at the same time; Determining a target filtering parameter according to the first noise value and the second noise value; The target filtering parameters are sent to the earphone, so that the earphone is calibrated according to the target filtering parameters.
10. The method according to claim 9, characterized in that Before receiving the default filtering parameters sent by the headset, the method further includes: Sending a calibration instruction to the headset, so that the headset responds to the received calibration instruction and obtains an initial ambient noise value through a feedforward microphone; Receiving the initial environmental noise value sent by the headset; Determine whether the noise environment of the earphone meets the calibration condition according to the initial environmental noise value.
11. The method according to claim 10, characterized in that The method further comprises: When it is determined that the noise environment of the headset meets the calibration conditions, a noise compliance instruction is sent to the headset to switch the headset to normal mode, and the headset controls the feedforward microphone and the feedback microphone to be turned on, so as to collect the first noise value through the feedforward microphone and collect the second noise value through the feedback microphone.
12. The method according to claim 11, characterized in that The receiving the first noise value and the second noise value sent by the earphone includes: Receiving a ready signal sent by the headset, wherein the ready signal is sent by the headset after switching to the normal mode according to the noise compliance instruction and controlling the feedforward microphone and the feedback microphone to be in an on state; A calibration ready instruction is sent to the headset, so that the headset responds to the received calibration ready instruction and sends the first noise value and the second noise value to the terminal; wherein the calibration ready instruction is sent by the terminal after receiving the ready signal.
13. The method according to claim 10, characterized in that The method further comprises: When it is determined that the noise environment of the headset does not meet the calibration condition, sending a noise optimization instruction to the headset and playing a first preset noise, so that the headset responds to the received noise optimization instruction and obtains an optimized environmental noise value including the first preset noise through the feedforward microphone; Receiving an optimized environmental noise value including the first preset noise sent by the earphone; Determine whether the noise environment of the earphone meets the calibration condition according to the optimized environmental noise value.
14. The method according to claim 13, characterized in that The method further comprises: When it is determined that the noise environment of the earphone does not meet the calibration condition, playing the second preset noise; receiving an optimized environmental noise value including the second preset noise sent by the headset; Determine whether the noise environment of the earphone meets the calibration condition according to the optimized environmental noise value.
15. The method according to claim 9, characterized in that The determining a target filtering parameter according to the first noise value and the second noise value comprises: determining an expected output value according to the first noise value and the second noise value; Performing a minimum mean square calculation on the filter in the feedforward microphone according to the expected output value; The target filtering parameters are determined by the least mean square calculation.
16. The method according to any one of claims 9 to 15, characterized in that After determining the target filtering parameter according to the first noise value and the second noise value, the method further includes: Associating and storing the target filtering parameter with the model of the headset; When it is detected that the model of the current earphone is the same as the model of the associated and stored earphone, the target filtering parameters are sent to the current earphone, so that the current earphone is calibrated according to the target filtering parameters.
17. A headset, characterized in that: The earphone comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory, so that the headset executes the method according to any one of claims 1 to 8.
18. A terminal, characterized in that: The terminal comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory, so that the terminal executes the method according to any one of claims 9 to 16.
