Headphone volume adjustment method, device, equipment and medium
By detecting the human ear hearing protection mode in TWS headphones and using feedback microphone to obtain volume information, and adjusting volume with auditory threshold information, the problem that TWS headphones cannot adjust volume based on feedback microphone is solved, improving the usability and hearing protection effect of the headphones .
Patent Information
- Application Number
- CN202111438110.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-29
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2041-11-29
AI Technical Summary
Currently, TWS headphones can only actively reduce noise based on feedback microphones, but cannot adjust the headphone volume based on feedback microphones.
By detecting whether the earphones are turned on, the volume information is obtained using the feedback microphone, and the volume automatic adjustment mode is determined based on the auditory threshold information to adjust the playback volume of the audio playback device.
It realizes the audio volume information obtained through the feedback microphone when the earphones are turned on. The playback volume is adjusted in combination with the auditory threshold information, which improves the usability of the feedback microphone headphones, protects hearing and improves the user experience.
Smart Images

Figure CN114071307B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of acoustic earphones, and in particular to an earphone volume adjustment method, device, equipment and medium. Background Art
[0002] With the development of society and the advancement of technology, people are interacting more and more with consumer electronics, such as mobile phones, computers, tablets, etc. On the one hand, as an important organ for human-computer interaction, the human ear will be irreversibly damaged if it is exposed to high volume too much, so it is necessary to protect the hearing ability of the human ear. On the other hand, as an important electronic device for human-computer interaction, headphones play a certain role in improving people's auditory experience and protecting privacy. In recent years, TWS (True Wireless Stereo) headphones with active noise reduction function have become more and more popular among consumers. Most of these TWS headphones have a feedback microphone, which is the microphone closest to the human ear in the headphones and can monitor the sound signals entering the human ear. The feedback microphone of the TWS headphones with active noise reduction function is located inside the ear canal, which can collect the residual signal after the noise entering the headphones and the anti-phase sound wave are offset, and the residual signal is sent through the noise reduction circuit and the speaker to offset the noise, and perform active noise reduction. However, the current TWS headphones can only perform active noise reduction based on the feedback microphone and cannot adjust the headphone volume based on the feedback microphone. Summary of the invention
[0003] The main purpose of the present application is to provide a method, device, equipment and medium for adjusting the volume of headphones, aiming to solve the technical problem that current TWS headphones can only perform active noise reduction based on a feedback microphone but cannot adjust the headphone volume based on the feedback microphone.
[0004] To achieve the above object, an embodiment of the present application provides a method for adjusting the volume of an earphone, the method comprising:
[0005] If an audio playback instruction based on a target headset is received, detecting whether the target headset is in a human ear hearing protection mode;
[0006] If the target earphone turns on the human ear hearing protection mode, obtaining volume information of the audio played by the target earphone based on the feedback microphone;
[0007] Determining whether to trigger an automatic volume adjustment mode based on the volume information and the hearing threshold information in the human ear hearing protection mode;
[0008] If the automatic volume adjustment mode is triggered, the playback volume of the audio playback device of the target headset is adjusted.
[0009] Preferably, the hearing threshold information includes a sensitivity threshold range, and the step of determining whether to trigger the automatic volume adjustment mode based on the volume information and the hearing threshold information in the human ear hearing protection mode includes:
[0010] Calculating a first sensitivity of the feedback microphone according to the volume information;
[0011] Determining a second sensitivity of the target headset corresponding to the user according to the first sensitivity;
[0012] Comparing the second sensitivity with the sensitivity threshold range to obtain a first comparison result;
[0013] Determine whether to trigger the automatic volume adjustment mode according to the first comparison result.
[0014] Preferably, the hearing threshold information includes a volume threshold range, and the step of determining whether to trigger the volume automatic adjustment mode based on the volume information and the hearing threshold information in the human ear hearing protection mode further includes:
[0015] Comparing the volume information with the volume threshold range to obtain a second comparison result;
[0016] Determine whether to trigger the automatic volume adjustment mode according to the second comparison result.
[0017] Preferably, the step of adjusting the playback volume of the audio playback device of the target headset includes:
[0018] The playing volume of the audio playing device of the target earphone is adjusted by the volume adjustment module in the target earphone.
[0019] Preferably, the step of adjusting the playback volume of the audio playback device of the target headset further includes:
[0020] The playback volume of the audio playback device of the target earphone is adjusted through the high-pass filter in the target earphone.
[0021] Preferably, the step of adjusting the playback volume of the audio playback device of the target headset further includes:
[0022] The playing volume of the audio playing device of the target earphone is adjusted by adjusting the battery output voltage in the target earphone.
[0023] Preferably, before the step of determining whether to trigger the automatic volume adjustment mode based on the volume information and the hearing threshold information in the human ear hearing protection mode, the method further includes:
[0024] Receiving an in-ear calibration and compensation instruction based on a human ear hearing protection mode in the target earphone, and controlling the target earphone to output test audio information according to the in-ear calibration and compensation instruction;
[0025] Feedback information based on the test audio information is received, and hearing threshold information is determined according to the feedback information.
[0026] To achieve the above object, the present application also provides a volume adjustment device for an earphone, the volume adjustment device for an earphone comprising:
[0027] A detection module, configured to detect whether a human ear hearing protection mode is turned on for the target earphone if an audio playback instruction based on the target earphone is received;
[0028] an acquisition module, configured to acquire volume information of the audio played by the target earphone based on a feedback microphone if the target earphone turns on the human ear hearing protection mode;
[0029] A determination module, configured to determine whether to trigger an automatic volume adjustment mode based on the volume information and the hearing threshold information in the human ear hearing protection mode;
[0030] The adjustment module is used to adjust the playback volume of the audio playback device of the target headset if the automatic volume adjustment mode is triggered.
[0031] Furthermore, to achieve the above-mentioned purpose, the present application also provides a headphone volume adjustment device, the headphone volume adjustment device comprising a memory, a processor, and a headphone volume adjustment program stored in the memory and executable on the processor, the headphone volume adjustment program, when executed by the processor, implements the steps of the above-mentioned headphone volume adjustment method.
[0032] Furthermore, to achieve the above-mentioned purpose, the present application also provides a medium, which is a computer-readable storage medium, on which a headphone volume adjustment program is stored, and when the headphone volume adjustment program is executed by a processor, the steps of the above-mentioned headphone volume adjustment method are implemented.
[0033] Furthermore, to achieve the above-mentioned purpose, the present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned headphone volume adjustment method when executed by a processor.
[0034] The embodiments of the present application provide a method, device, equipment and medium for adjusting the volume of headphones. If an audio playback instruction based on a target headphone is received, it is detected whether the target headphone has a human ear hearing protection mode turned on; if the target headphone has a human ear hearing protection mode turned on, the volume information of the audio played by the target headphone is obtained based on a feedback microphone; based on the volume information and the hearing threshold information in the human ear hearing protection mode, it is determined whether to trigger an automatic volume adjustment mode; if the automatic volume adjustment mode is triggered, the playback volume of the audio playback device of the target headphone is adjusted. The present application can obtain the volume information of the audio played by the target headphone through a feedback microphone when the human ear hearing protection mode is turned on by the target headphone, and determine whether to trigger the automatic volume adjustment mode in combination with the hearing threshold information in the human ear hearing protection mode. When it is determined that the automatic volume adjustment mode is triggered, the playback volume of the target headphone is adjusted by adjusting the playback volume of the audio playback device of the target headphone, so that the headphone with a feedback microphone has higher usability. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 This is a schematic diagram of the structure of the hardware operating environment involved in the embodiment of the headphone volume adjustment method of the present application;
[0036] Figure 2 This is a flow chart of a first embodiment of a method for adjusting the volume of headphones of the present application;
[0037] Figure 3 This is a schematic diagram of a first scenario of adjusting the playback volume in the first embodiment of the volume adjustment method for headphones of the present application;
[0038] Figure 4 This is a schematic diagram of a second scenario of adjusting the playback volume in the first embodiment of the volume adjustment method for headphones of the present application;
[0039] Figure 5 This is a schematic diagram of a third scenario of adjusting the playback volume in the first embodiment of the volume adjustment method for headphones of the present application;
[0040] Figure 6 This is a schematic diagram of the first scenario in the second embodiment of the volume adjustment method for headphones of the present application;
[0041] Figure 7 This is a schematic diagram of the first scenario in the third embodiment of the headphone volume adjustment method of the present application;
[0042] Figure 8 This is a schematic diagram of the functional modules of a preferred embodiment of the volume adjustment device for headphones of the present application.
[0043] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0044] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0045] The embodiments of the present application provide a method, device, equipment and medium for adjusting the volume of headphones, and a detection module for detecting whether the target headphones have turned on a human ear hearing protection mode if an audio playback instruction based on a target headphone is received; if the target headphone has turned on the human ear hearing protection mode, obtaining the volume information of the audio played by the target headphone based on a feedback microphone; determining whether to trigger an automatic volume adjustment mode based on the volume information and the hearing threshold information in the human ear hearing protection mode; and adjusting the playback volume of the audio playback device of the target headphone if the automatic volume adjustment mode is triggered. The present application can obtain the volume information of the audio played by the target headphone through a feedback microphone when the human ear hearing protection mode is turned on by the target headphone, and determine whether to trigger the automatic volume adjustment mode in combination with the hearing threshold information in the human ear hearing protection mode. When it is determined that the automatic volume adjustment mode is triggered, the playback volume of the target headphone is adjusted by adjusting the playback volume of the audio playback device of the target headphone, so that the headphones with a feedback microphone have higher usability.
[0046] like Figure 1 As shown, Figure 1 It is a structural schematic diagram of a volume adjustment device for headphones in a hardware operating environment involved in an embodiment of the present application.
[0047] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present application, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.
[0048] The volume adjustment device of the headset in the embodiment of the present application can be a PC, or a portable terminal device such as a tablet computer or a portable computer.
[0049] like Figure 1As shown, the volume adjustment device of the headset may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0050] Those skilled in the art will understand that Figure 1 The structure of the volume adjustment device of the earphone shown in the figure does not constitute a limitation on the volume adjustment device of the earphone, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0051] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a volume adjustment program for headphones.
[0052] exist Figure 1 In the device shown, the network interface 1004 is mainly used to connect to the backend server and perform data communication with the backend server; the user interface 1003 is mainly used to connect to the client (user end) and perform data communication with the client; and the processor 1001 can be used to call the volume adjustment program of the earphone stored in the memory 1005, and perform the following operations:
[0053] If an audio playback instruction based on a target headset is received, detecting whether the target headset is in a human ear hearing protection mode;
[0054] If the target earphone turns on the human ear hearing protection mode, obtaining volume information of the audio played by the target earphone based on the feedback microphone;
[0055] Determining whether to trigger an automatic volume adjustment mode based on the volume information and the hearing threshold information in the human ear hearing protection mode;
[0056] If the automatic volume adjustment mode is triggered, the playback volume of the audio playback device of the target headset is adjusted.
[0057] Further, the hearing threshold information includes a sensitivity threshold range, and the step of determining whether to trigger the volume automatic adjustment mode based on the volume information and the hearing threshold information in the human ear hearing protection mode includes:
[0058] Calculating a first sensitivity of the feedback microphone according to the volume information;
[0059] Determining a second sensitivity of the target headset corresponding to the user according to the first sensitivity;
[0060] Comparing the second sensitivity with the sensitivity threshold range to obtain a first comparison result;
[0061] Determine whether to trigger the automatic volume adjustment mode according to the first comparison result.
[0062] Further, the hearing threshold information includes a volume threshold range, and the step of determining whether to trigger the volume automatic adjustment mode based on the volume information and the hearing threshold information in the human ear hearing protection mode further includes:
[0063] Comparing the volume information with the volume threshold range to obtain a second comparison result;
[0064] Determine whether to trigger the automatic volume adjustment mode according to the second comparison result.
[0065] Furthermore, the step of adjusting the playback volume of the audio playback device of the target headset includes:
[0066] The playing volume of the audio playing device of the target earphone is adjusted by the volume adjustment module in the target earphone.
[0067] Furthermore, the step of adjusting the playback volume of the audio playback device of the target headset also includes:
[0068] The playback volume of the audio playback device of the target earphone is adjusted through the high-pass filter in the target earphone.
[0069] Furthermore, the step of adjusting the playback volume of the audio playback device of the target headset also includes:
[0070] The playing volume of the audio playing device of the target earphone is adjusted by adjusting the battery output voltage in the target earphone.
[0071] Further, before the step of determining whether to trigger the automatic volume adjustment mode based on the volume information and the hearing threshold information in the human ear hearing protection mode, the processor 1001 can be used to call the volume adjustment program of the headset stored in the memory 1005, and perform the following operations:
[0072] Receiving an in-ear calibration and compensation instruction based on a human ear hearing protection mode in the target earphone, and controlling the target earphone to output test audio information according to the in-ear calibration and compensation instruction;
[0073] Feedback information based on the test audio information is received, and hearing threshold information is determined according to the feedback information.
[0074] In order to better understand the above technical solution, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0075] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0076] Reference Figure 2 , Figure 2 The present invention provides a flowchart of a method for adjusting the volume of an earphone provided in the first embodiment of the present invention. In this embodiment, the method for adjusting the volume of an earphone includes the following steps:
[0077] Step S10, if an audio playback instruction based on a target headset is received, detecting whether the target headset is in a human ear hearing protection mode;
[0078] In this embodiment, the volume adjustment method of the headset is applied to the control system of the headset. In this embodiment, the headset can be specifically a TWS headset with a feedback microphone. Since most TWS headsets have a feedback microphone, which is the microphone closest to the human ear in the headset, it can monitor the sound signal entering the human ear and perform active noise reduction. However, the TWS headset with a feedback microphone cannot currently be used to adjust the volume of the audio during playback. Based on this, this embodiment provides a method for adjusting the volume of the headset, which can obtain the volume information of the audio played by the target headset through the feedback microphone when the target headset turns on the human ear hearing protection mode, and determine whether to trigger the volume automatic adjustment mode in combination with the hearing threshold information in the human ear hearing protection mode. When it is determined that the volume automatic adjustment mode is triggered, the playback volume of the target headset is adjusted by adjusting the playback volume of the audio playback device of the target headset, so that the headset with a feedback microphone has higher usability. Among them, the hearing threshold information in this embodiment can specifically include a sensitivity threshold range and a volume threshold range, and the sensitivity threshold range includes the maximum sensitivity value of the human ear, the minimum sensitivity value and the value between the two; the volume threshold range includes the maximum volume value, the minimum volume value and the value between the two. In this embodiment, the feedback microphone is a reference microphone for the human ear, which is equivalent to a hearing health monitoring sensor. It can monitor hearing irregularly according to doctor's advice. When the calibration value is abnormal, it can be corrected in time to protect hearing.
[0079] It should be noted that an APP can be set up in this embodiment, and the user can choose whether to enter the human ear hearing protection mode through the APP. This embodiment determines whether to trigger the automatic volume adjustment mode based on the volume information and hearing threshold information obtained by the feedback microphone of the headset only when the current headset enters the human ear hearing protection mode. When the headset does not enter the human ear hearing protection mode, the volume will not be automatically adjusted, and audio playback will be performed directly; users can also set the volume adjustment step length in the APP according to their own needs. When adjusting the playback volume of the audio playback device of the target headset, in this embodiment, in order to avoid the situation where the volume suddenly increases or decreases when the user is using the headset, a volume adjustment step length is set, that is, when the volume automatic adjustment system is triggered to control the execution of the volume automatic adjustment mode, the playback volume of the audio playback device is gradually adjusted according to the volume adjustment step length, so that the adjustment process is smoother and the user's listening experience is improved. Therefore, when an audio playback instruction sent by the user when playing audio through the target headset is received, the target headset is detected through the APP to see whether the human ear hearing protection mode is turned on. Specifically, it can be detected whether the human ear hearing protection mode of the target headset in the APP is in a selected state. If it is in a selected state, it is determined that the target headset has turned on the human ear hearing protection mode; if it is not in a selected state, it is determined that the target headset has not turned on the human ear hearing protection mode. It should be further explained that the human ear hearing protection mode includes the auditory threshold information obtained through calibration and compensation. The specific calibration and compensation steps are as described in the third embodiment of the present application and will not be repeated here. So that when the human ear hearing protection mode is turned on by the target headset later, the volume information of the audio played by the target headset is obtained based on the feedback microphone.
[0080] Step S20: if the target earphone turns on the human ear hearing protection mode, obtaining volume information of the audio played by the target earphone based on the feedback microphone;
[0081] After detecting whether the target earphone has turned on the human ear hearing protection mode, if it is determined that the target earphone has turned on the human ear hearing protection mode, the volume information of the audio played by the target earphone is obtained through the feedback microphone; specifically, since the feedback microphone is located inside the ear canal of the human ear when the earphone is worn and is closest to the eardrum of the human ear, the audio signal received by the feedback microphone is basically the same as the audio signal heard by the human ear. Therefore, the feedback microphone can be used as a reference microphone for the human ear to quantify the audio signal heard by the human ear, that is, the volume of the audio received by the feedback microphone can be considered to be the volume of the audio received by the human ear. Therefore, when a user wears headphones with a feedback microphone and plays audio, the control system of the headphones determines the headphones as target headphones, activates the feedback microphone after the target headphones are powered on, and collects volume information of the audio when the target headphones play the audio through the speaker (i.e., horn) through the activated feedback microphone, so that it can subsequently determine whether to trigger the automatic volume adjustment mode based on the volume information, and adjust the playback volume of the audio playback device of the target headphones when the automatic volume adjustment mode is triggered, thereby ensuring that the basic human-computer interaction needs of the user are met while protecting the human ear's hearing, and making the headphones with feedback microphones have higher usability.
[0082] Step S30, determining whether to trigger the volume automatic adjustment mode based on the volume information and the hearing threshold information in the human ear hearing protection mode;
[0083] In the human ear hearing protection mode of this embodiment, the hearing threshold information can be a sensitivity threshold range or a volume threshold range. Therefore, after the target earphone turns on the human ear hearing protection mode and obtains the volume information of the audio played by the target earphone based on the feedback microphone, the volume information can be compared with the volume threshold range to obtain a first comparison result, and then determine whether to trigger the volume automatic adjustment mode based on the first comparison result. The first sensitivity of the feedback microphone can also be calculated based on the volume information; the second sensitivity of the target earphone corresponding to the user is determined based on the first sensitivity; the second sensitivity is compared with the sensitivity threshold range to obtain a second comparison result; and then determine whether to trigger the volume automatic adjustment mode based on the second comparison result. It should be noted that if the volume information is outside the volume threshold range or the second sensitivity is outside the sensitivity threshold range, it is determined that the volume automatic adjustment mode is triggered; and if the volume information is within the volume threshold range or the second sensitivity is within the sensitivity threshold range, it is determined that the volume automatic adjustment mode is not triggered. The volume information and the hearing threshold information can be used to accurately determine whether to trigger the automatic volume adjustment mode. When the automatic volume adjustment mode is triggered, the playback volume of the audio playback device of the target headset is adjusted to ensure that the human ear hearing is protected while meeting the basic human-computer interaction needs of the user, and also make the headset with a feedback microphone have higher usability.
[0084] Step S40: If the automatic volume adjustment mode is triggered, the playback volume of the audio playback device of the target headset is adjusted.
[0085] After determining whether to trigger the automatic volume adjustment mode based on the volume information and the hearing threshold information, if it is determined that the automatic volume adjustment mode is triggered, in this embodiment, there are multiple ways to adjust the playback volume of the audio playback device of the target headset, which may specifically include adjusting the playback volume of the audio playback device of the target headset through the volume adjustment module in the target headset; or, adjusting the playback volume of the audio playback device of the target headset through the high-pass filter in the target headset; or, adjusting the playback volume of the audio playback device of the target headset by adjusting the battery output voltage in the target headset. By adjusting the playback volume of the audio playback device of the target headset when the automatic volume adjustment mode is triggered, it is ensured that the human ear hearing is protected while meeting the basic human-computer interaction needs of the user, and the headset with a feedback microphone has higher usability.
[0086] Furthermore, the step of adjusting the playback volume of the audio playback device of the target headset includes:
[0087] Step A: adjusting the playback volume of the audio playback device of the target earphone through the volume adjustment module in the target earphone.
[0088] Reference Figure 3 , Figure 3 This is a schematic diagram of a first scenario of adjusting the playback volume in the first embodiment of the volume adjustment method for headphones of the present application; Figure 3In the method, it is possible to determine whether the volume information exceeds a threshold value, that is, whether it is outside a volume threshold range, or to determine whether the second sensitivity exceeds a threshold value, that is, whether it is outside a sensitivity threshold range, to determine whether the volume automatic adjustment mode controlled by the volume automatic adjustment system is triggered. If the threshold value is not exceeded, it is determined that the volume automatic adjustment system is not triggered, that is, the volume automatic adjustment mode is not triggered; if the threshold value is exceeded, the volume automatic adjustment system is triggered, and the playback volume of the audio playback device of the target headset is adjusted by a Gain value adjustment module (i.e., a volume adjustment module) in a speaker circuit of the target headset. Specifically, after the volume automatic adjustment system is triggered, the Gain value adjustment module receives an instruction, obtains a volume adjustment signal, and writes an EQ (Equalizer) through a chip, and controls the playback volume of the speaker through the equalizer, specifically by activating the equalizer through a feedback microphone, and raising or lowering the frequency response curve as a whole through a volume adjustment signal in the equalizer, or adjusting a single frequency point to adjust the speaker frequency response, so as to achieve the adjustment of the audio playback device of the target headset, which is specifically the speaker loudness or the speaker loudness (i.e., playback volume) in this embodiment. More specifically, if the volume information is greater than the maximum value of the volume threshold range, or the second sensitivity is greater than the maximum value of the sensitivity threshold range, the playback volume of the audio playback device is adjusted down to avoid damage to the user's hearing. If the volume information is less than the minimum value of the volume threshold range, or the second sensitivity is less than the minimum value of the sensitivity threshold range, the playback volume of the audio playback device is increased so that the user can clearly receive the played audio.
[0089] Furthermore, the step of adjusting the playback volume of the audio playback device of the target headset also includes:
[0090] Step B: adjusting the playback volume of the audio playback device of the target earphone through the high-pass filter in the target earphone.
[0091] It should be noted that for in-ear headphones, the low-frequency part can cause great harm to human hearing, so this embodiment adds a high-pass filter to the speaker circuit. After the automatic volume adjustment system is triggered, the high-pass filter is activated to reduce the low-frequency energy and achieve control of the speaker loudness. Figure 4 , Figure 4 This is a schematic diagram of a second scenario of adjusting the playback volume in the first embodiment of the volume adjustment method for headphones of the present application; Figure 4In the method, it is possible to determine whether the volume information exceeds the threshold value, that is, whether it is outside the volume threshold range, or whether the second sensitivity exceeds the threshold value, that is, whether it is outside the sensitivity threshold range, to determine whether the volume automatic adjustment mode controlled by the volume automatic adjustment system is triggered. If the threshold value is not exceeded, it is determined that the volume automatic adjustment system is not triggered, that is, the volume automatic adjustment mode is not triggered; if the threshold value is exceeded, the volume automatic adjustment system is triggered, and the playback volume of the speaker is controlled by the high-pass filter set in the speaker circuit, specifically by activating the high-pass filter through the feedback microphone, and adjusting the speaker frequency response by reducing the low-frequency energy, so as to achieve the adjustment of the target earphone audio playback device, which is specifically the speaker loudness or the speaker loudness (i.e., playback volume) in this embodiment. More specifically, if the volume information is greater than the maximum value of the volume threshold range, or the second sensitivity is greater than the maximum value of the sensitivity threshold range, the playback volume of the audio playback device is reduced to avoid damage to the user's hearing. If the volume information is less than the minimum value of the volume threshold range, or the second sensitivity is less than the minimum value of the sensitivity threshold range, the playback volume of the audio playback device is increased so that the user can clearly receive the played audio.
[0092] Furthermore, the step of adjusting the playback volume of the audio playback device of the target headset also includes:
[0093] Step C: adjusting the playback volume of the audio playback device of the target earphone by adjusting the battery output voltage in the target earphone.
[0094] Reference Figure 5 , Figure 5 This is a schematic diagram of a third scenario of adjusting the playback volume in the first embodiment of the volume adjustment method for headphones of the present application; Figure 5In the method, it is possible to determine whether the volume information exceeds the threshold value, that is, whether it is outside the volume threshold range, or whether the second sensitivity exceeds the threshold value, that is, whether it is outside the sensitivity threshold range, to determine whether to trigger the volume automatic adjustment mode controlled by the volume automatic adjustment system. If the threshold value is not exceeded, it is determined that the volume automatic adjustment system is not triggered, that is, the volume automatic adjustment mode is not triggered; if the threshold value is exceeded, the volume automatic adjustment system is triggered, and the playback volume of the speaker is controlled by adjusting the battery output, specifically by reducing the battery output (specifically the output of the battery voltage) through the feedback microphone, and adjusting the speaker frequency response by reducing the input voltage of the speaker, so as to achieve the adjustment of the loudness of the speaker or the loudness of the speaker (i.e., the playback volume) of the target earphone audio playback device in this embodiment. More specifically, if the volume information is greater than the maximum value of the volume threshold range, or the second sensitivity is greater than the maximum value of the sensitivity threshold range, the playback volume of the audio playback device is reduced to avoid damage to the user's hearing. If the volume information is less than the minimum value of the volume threshold range, or the second sensitivity is less than the minimum value of the sensitivity threshold range, the playback volume of the audio playback device is increased so that the user can clearly receive the played audio.
[0095] It is understandable that if it is determined that the automatic volume adjustment mode is not triggered after determining whether to trigger the automatic volume adjustment mode based on the volume information and the hearing threshold information, it means that the volume of the audio played by the target earphone can meet the user's listening needs, such as being able to listen clearly, and will not cause damage to the user's hearing, so there is no need to adjust the playback volume of the audio playback device of the target earphone. It is understandable that when the automatic volume adjustment mode is not triggered, it means that the volume information is within the volume threshold range or the second sensitivity is within the sensitivity threshold range. At this time, the volume of the earphone can be adjusted according to external noise or the user's own needs. For example, when the user moves from a noisy place to a quiet place, the volume can be appropriately lowered at this time due to the reduction in noise; and if the user moves from a quiet place to a noisy place, the volume needs to be increased for the user to hear the audio clearly.
[0096] The present embodiment provides a method, device, equipment and medium for adjusting the volume of headphones. If an audio playback instruction based on a target headphone is received, it is detected whether the target headphone has a human ear hearing protection mode turned on; if the target headphone has a human ear hearing protection mode turned on, the volume information of the audio played by the target headphone is obtained based on a feedback microphone; based on the volume information and the hearing threshold information in the human ear hearing protection mode, it is determined whether to trigger the automatic volume adjustment mode; if the automatic volume adjustment mode is triggered, the playback volume of the audio playback device of the target headphone is adjusted. The present application can obtain the volume information of the audio played by the target headphone through a feedback microphone when the human ear hearing protection mode is turned on by the target headphone, and determine whether to trigger the automatic volume adjustment mode in combination with the hearing threshold information in the human ear hearing protection mode. When it is determined that the automatic volume adjustment mode is triggered, the playback volume of the target headphone is adjusted by adjusting the playback volume of the audio playback device of the target headphone, so that the headphone with a feedback microphone has higher usability.
[0097] Furthermore, based on the first embodiment of the volume adjustment method of the earphone of the present application, a second embodiment of the volume adjustment method of the earphone of the present application is proposed. In the second embodiment, the hearing threshold information includes a sensitivity threshold range, and the step of determining whether to trigger the automatic volume adjustment mode based on the volume information and the hearing threshold information in the human ear hearing protection mode includes:
[0098] Step D1, calculating the first sensitivity of the feedback microphone according to the volume information;
[0099] Step D2, determining a second sensitivity of the target headset corresponding to the user according to the first sensitivity;
[0100] Step D3, comparing the second sensitivity with the sensitivity threshold range to obtain a first comparison result;
[0101] Step D4, determining whether to trigger the automatic volume adjustment mode according to the first comparison result.
[0102] After the target headset turns on the human ear hearing protection mode and obtains the volume information of the audio played by the target headset based on the feedback microphone, a corresponding frequency response curve is generated according to the obtained volume information, and the sensitivity of the feedback microphone is obtained by calculating the frequency response curve as the first sensitivity. Further, after obtaining the first sensitivity, according to the difference between the feedback microphone and the eardrum of the human ear when worn, the sensitivity of the human ear of the user corresponding to the target headset relative to the feedback microphone is obtained as the second sensitivity through simulation calculation, and the calibration data is saved as a reference value to monitor hearing health. Further, the second sensitivity is compared with the sensitivity threshold range, specifically, the second sensitivity is compared with the maximum value and the minimum value in the sensitivity threshold range respectively, to determine whether the second sensitivity is within the sensitivity threshold range, to obtain a first comparison result that the second sensitivity is within the sensitivity threshold range, or to obtain a first comparison result that the second sensitivity is outside the sensitivity threshold range. If the first comparison result is that the second sensitivity is within the sensitivity threshold range, it is determined that the volume automatic adjustment mode is not triggered; if the second sensitivity is outside the sensitivity threshold range, it is determined that the volume automatic adjustment mode is triggered. Among them, after the automatic volume adjustment mode is triggered, the playback volume of the audio playback device of the target earphone can be increased or decreased according to the specific situation.
[0103] Further, the hearing threshold information includes a volume threshold range, and the step of determining whether to trigger the volume automatic adjustment mode based on the volume information and the hearing threshold information in the human ear hearing protection mode further includes:
[0104] Step E1, comparing the volume information with the volume threshold range to obtain a second comparison result;
[0105] Step E2: determining whether to trigger the automatic volume adjustment mode according to the second comparison result.
[0106] After determining that the target headset has turned on the human ear hearing protection mode, and obtaining the volume information of the audio played by the target headset based on the feedback microphone, the volume information can also be directly compared with the volume threshold range. Specifically, the volume information is compared with the maximum value and the minimum value in the volume threshold range to determine whether the volume information is within the volume threshold range. A comparison result is obtained that the volume information is within the volume threshold range, or a second comparison result is obtained that the volume information is outside the volume threshold range. If the second comparison result is that the volume information is within the volume threshold range, it is determined that the automatic volume adjustment mode is not triggered; and if the volume information is outside the volume threshold range, it is determined that the automatic volume adjustment mode is triggered. Among them, after the automatic volume adjustment mode is triggered, the playback volume of the audio playback device of the target headset can be increased or decreased according to the specific situation. See. Figure 6 , Figure 6This is a schematic diagram of the first scenario in the second embodiment of the volume adjustment method for headphones of the present application. Figure 6 The speaker signal emitted by the speaker of the target headset is received through the feedback microphone, the signal loudness of the speaker signal is calculated through the feedback circuit, and further the gate circuit is used to determine whether the loudness exceeds the threshold. If the judgment result is less than the minimum loudness, the volume is increased; if the judgment result is greater than the maximum loudness, the volume is reduced; if the judgment result is that the loudness is between the maximum loudness and the minimum loudness, the volume is determined to remain unchanged.
[0107] This embodiment can accurately determine whether to trigger the automatic volume adjustment mode through volume information and hearing threshold information in the human ear hearing protection mode, so as to adjust the playback volume of the audio playback device of the target headset when the automatic volume adjustment mode is triggered, thereby ensuring that the human ear hearing is protected while meeting the basic human-computer interaction needs of the user, and also making the headset with a feedback microphone have higher usability.
[0108] Furthermore, based on the first embodiment of the volume adjustment method of the earphone of the present application, a third embodiment of the volume adjustment method of the earphone of the present application is proposed. In the third embodiment, before the step of determining whether to trigger the automatic volume adjustment mode based on the volume information and the hearing threshold information in the human ear hearing protection mode, it also includes:
[0109] Step F1, receiving an in-ear calibration and compensation instruction based on a human ear hearing protection mode in the target earphone, and controlling the target earphone to output test audio information according to the in-ear calibration and compensation instruction;
[0110] Step F2, receiving feedback information based on the test audio information, and determining hearing threshold information according to the feedback information.
[0111] It is understandable that the above APP may also be provided with a hearing calibration module for calibrating the user's hearing and monitoring the human hearing. Figure 7 , Figure 7 This is a schematic diagram of the first scenario in the third embodiment of the headphone volume adjustment method of the present application; Figure 7Specifically, it is a schematic diagram for calibrating human hearing. After the user wears the TWS headset, i.e., the target headset, normally and chooses to turn on the human ear hearing protection mode, the user can enter the human ear calibration mode and issue in-ear calibration and compensation instructions through the button in the APP. The target headset receives the in-ear calibration and compensation instructions, and controls the SPK speaker to sound from small to large according to the volume that does not damage the human ear hearing (specifically, sending test audio information). At this time, the feedback microphone of the target headset and the user's human ear simultaneously receive the audio signal emitted. The target headset determines whether the user can hear clearly for an audio signal of a certain volume based on the user's choice. At this time, the audio signal of a certain volume is confirmed by the user to be clearly audible, so that the sensitivity of the feedback microphone can be obtained. Furthermore, according to the difference between the feedback microphone and the human ear membrane when worn, the sensitivity of the human ear relative to the feedback microphone is obtained through simulation calculation, and the calibration data is saved as a reference value to monitor hearing health, wherein the sensitivity of the human ear relative to the feedback microphone includes the maximum and minimum values of the sensitivity, and the maximum and minimum values form a sensitivity threshold range.
[0112] Users can conduct hearing health checks at irregular intervals according to their own needs. When the sensitivity of the human ear relative to the feedback microphone is abnormal, the user can protect the hearing health in time. During the hearing calibration process, the frequency response curve of the human ear can also be obtained. At the same time, the SPK speaker sends out single-frequency signals and swept-frequency signals of different frequencies with different Gain (i.e. gain, also known as volume) values in turn. It is determined that under a certain Gain value, the user can clearly hear the single-frequency signals and swept-frequency signals of different frequencies. The Gain value is saved, and the frequency response curve of the feedback microphone is obtained, recorded as MFR1, and the frequency response curve of the human ear is obtained, recorded as EFR1. The Gain value adjustment module in the SPK speaker circuit will adjust the signal emitted by the SPK speaker according to the comparison results of EFR1 and EFR1, so as to meet the user's use and protect hearing at the same time. In addition, the equivalent curve of the human ear's hearing ability can be obtained through the calculation inside the headset. This equivalent curve can be used as one of the bases for medical and health institutions to maintain and treat the ear's hearing ability. At the same time, the maximum and minimum volume values of the human ear can be determined according to the frequency response curve of the human ear, and the volume threshold range is formed by the maximum and minimum volume values. Therefore, the determined volume threshold range or sensitivity threshold range can be saved as hearing threshold information to be called in subsequent application processes.
[0113] This embodiment can perform in-ear calibration on the user and determine the hearing threshold information according to the feedback information of the user during the calibration process, so as to accurately determine whether to trigger the automatic volume adjustment mode according to the hearing threshold information combined with the volume information, so as to adjust the playback volume of the audio playback device of the target headset when the automatic volume adjustment mode is triggered, thereby ensuring that the human ear hearing is protected while meeting the basic human-computer interaction needs of the user, and also making the headset with a feedback microphone have higher usability.
[0114] Furthermore, the present application also provides a volume adjustment device for headphones.
[0115] Reference Figure 8 , Figure 8 This is a schematic diagram of the functional modules of the first embodiment of the volume adjustment device for headphones of the present application.
[0116] The volume adjustment device of the earphone comprises:
[0117] The detection module 10 is used to detect whether the target earphone is in a human ear hearing protection mode if an audio playback instruction based on the target earphone is received;
[0118] An acquisition module 20 is configured to acquire volume information of the audio played by the target earphone based on a feedback microphone if the target earphone turns on the human ear hearing protection mode;
[0119] A determination module 30, configured to determine whether to trigger an automatic volume adjustment mode based on the volume information and the hearing threshold information in the human ear hearing protection mode;
[0120] The adjustment module 40 is used to adjust the playback volume of the audio playback device of the target headset if the automatic volume adjustment mode is triggered.
[0121] In addition, the present application also provides a medium, which is preferably a computer-readable storage medium, on which a headphone volume adjustment program is stored. When the headphone volume adjustment program is executed by a processor, the steps of each embodiment of the headphone volume adjustment method described above are implemented.
[0122] In addition, the present application also provides a computer program product, including a computer program, which implements the steps of each embodiment of the above-mentioned headphone volume adjustment method when executed by a processor.
[0123] In the embodiments of the volume adjustment device, computer-readable storage medium and computer program product of the earphone of the present application, all the technical features of the above-mentioned embodiments of the volume adjustment method of the earphone are included, and the description and explanation content are basically the same as those of the above-mentioned embodiments of the volume adjustment method of the earphone, and will not be repeated here.
[0124] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0125] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0126] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD), and includes several instructions to enable a terminal device (which can be a fixed terminal, such as an IoT smart device, including smart air conditioners, smart lights, smart power supplies, smart routers and other smart homes; it can also be a mobile terminal, including smart phones, wearable networked AR / VR devices, smart speakers, self-driving cars and many other networked devices) to execute the methods described in the various embodiments of the present application.
[0127] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for adjusting the volume of an earphone, characterized in that: The volume adjustment method of the earphone comprises: If an audio playback instruction based on a target headset is received, detecting whether the target headset is in a human ear hearing protection mode; If the target earphone turns on the human ear hearing protection mode, obtaining volume information of the audio played by the target earphone based on the feedback microphone; Determining whether to trigger an automatic volume adjustment mode based on the volume information and the hearing threshold information in the human ear hearing protection mode; If the automatic volume adjustment mode is triggered, adjusting the playback volume of the audio playback device of the target headset; The hearing threshold information includes a sensitivity threshold range, and the step of determining whether to trigger the volume automatic adjustment mode based on the volume information and the hearing threshold information in the human ear hearing protection mode includes: Generate a corresponding frequency response curve according to the volume information, and obtain a first sensitivity of the feedback microphone by calculating the frequency response curve; Determine, according to the first sensitivity, a second sensitivity of the target headset corresponding to the user's ear relative to the feedback microphone; Comparing the second sensitivity with the sensitivity threshold range to obtain a first comparison result; Determine whether to trigger the automatic volume adjustment mode according to the first comparison result.
2. The method for adjusting the volume of an earphone according to claim 1, wherein: The hearing threshold information includes a volume threshold range, and the step of determining whether to trigger the volume automatic adjustment mode based on the volume information and the hearing threshold information in the human ear hearing protection mode further includes: Comparing the volume information with the volume threshold range to obtain a second comparison result; Determine whether to trigger the automatic volume adjustment mode according to the second comparison result.
3. The method for adjusting the volume of an earphone according to claim 1, wherein: The step of adjusting the playback volume of the audio playback device of the target headset comprises: The playing volume of the audio playing device of the target earphone is adjusted by the volume adjustment module in the target earphone.
4. The method for adjusting the volume of an earphone according to claim 3, wherein: The step of adjusting the playback volume of the audio playback device of the target headset also includes: The playback volume of the audio playback device of the target earphone is adjusted through the high-pass filter in the target earphone.
5. The method for adjusting the volume of an earphone according to claim 3, wherein: The step of adjusting the playback volume of the audio playback device of the target headset also includes: The playing volume of the audio playing device of the target earphone is adjusted by adjusting the battery output voltage in the target earphone.
6. The method for adjusting the volume of an earphone according to any one of claims 1 to 2, characterized in that: Before the step of detecting whether the target headset is in a human ear hearing protection mode, the method further includes: Receiving an in-ear calibration and compensation instruction based on a human ear hearing protection mode in the target earphone, and controlling the target earphone to output test audio information according to the in-ear calibration and compensation instruction; Feedback information based on the test audio information is received, and hearing threshold information is determined according to the feedback information.
7. A volume adjustment device for headphones, characterized in that: The volume adjustment device of the earphone comprises: A detection module, configured to detect whether a human ear hearing protection mode is turned on for the target earphone if an audio playback instruction based on the target earphone is received; an acquisition module, configured to acquire volume information of the audio played by the target earphone based on a feedback microphone if the target earphone turns on the human ear hearing protection mode; A determination module, configured to determine whether to trigger an automatic volume adjustment mode based on the volume information and the hearing threshold information in the human ear hearing protection mode; An adjustment module, configured to adjust the playback volume of the audio playback device of the target headset if the automatic volume adjustment mode is triggered; The hearing threshold information includes a sensitivity threshold range, and the determination module is further used for: Generate a corresponding frequency response curve according to the volume information, and obtain a first sensitivity of the feedback microphone by calculating the frequency response curve; Determine, according to the first sensitivity, a second sensitivity of the target headset corresponding to the user's ear relative to the feedback microphone; Comparing the second sensitivity with the sensitivity threshold range to obtain a first comparison result; Determine whether to trigger the automatic volume adjustment mode according to the first comparison result.
8. A volume adjustment device for headphones, characterized in that: The volume adjustment device of the headset includes a memory, a processor, and a volume adjustment program of the headset stored in the memory and executable on the processor. When the volume adjustment program of the headset is executed by the processor, the steps of the volume adjustment method of the headset as described in any one of claims 1 to 6 are implemented.
9. A medium, the medium being a computer-readable storage medium, characterized in that: The computer-readable storage medium stores a volume adjustment program for the earphone, and when the volume adjustment program for the earphone is executed by the processor, the steps of the volume adjustment method for the earphone according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Audio loudness control system
CA1199080A
Information processing method and electronic equipment
CN103702253A
Hearing protection method and system and earphone based on earphone
CN104581494A
Stereo microphone and recording method thereof
CN106714043A
Equalizer adaptive adjusting system and method and earphone
CN107071626A
