Microphone position adjustment method, device, system and readable storage medium
By acquiring information when the earphone is inserted into the ear to determine the target position of the microphone, and using the positioning signal to adjust the microphone position, the problem of insufficient noise cancellation performance of feedback noise-canceling headphones is solved, and a better noise cancellation effect is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-28
- Publication Date
- 2026-03-10
AI Technical Summary
Existing feedback noise-canceling headphones have microphones that are too far from the user's eardrum, resulting in reduced noise-canceling performance.
By detecting the auricle and ear canal length information when the earphone is inserted into the ear, the target position of the microphone is determined, and a positioning signal is emitted through the speaker. The current position is calculated based on the time it takes for the microphone to receive the positioning signal, and the microphone position is adjusted to shorten the distance between the microphone and the user's eardrum.
The noise cancellation performance of the feedback noise-canceling headphones has been improved by adjusting the microphone position to reduce the distance between it and the user's eardrum, thereby enhancing the noise cancellation effect.
Smart Images

Figure CN115604612B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of headphone control technology, and more particularly to microphone position adjustment methods, devices, systems, and readable storage media. Background Technology
[0002] With the continuous development of society, noise pollution has attracted increasing attention, making headphones with active noise cancellation very popular. The distance between the microphone and the user's eardrum is crucial, affecting the actual noise cancellation performance. Currently, the feedback noise-canceling microphone in noise-canceling headphones is generally located in the front cavity of the earphone, resulting in a relatively large distance between the microphone and the user's eardrum, which leads to a decrease in the noise cancellation performance of feedback noise-canceling headphones. Therefore, improving the noise cancellation performance of feedback noise-canceling headphones is an urgent problem to be solved. Summary of the Invention
[0003] The main objective of this invention is to provide a microphone position adjustment method, device, system, and readable storage medium, aiming to solve the problem of how to improve the noise cancellation performance of feedback noise-canceling headphones.
[0004] To achieve the above objectives, the present invention provides a microphone position adjustment method, which includes the following steps:
[0005] When the earphone is detected to be inserted into the ear, the target distance between the microphone and the user's eardrum is determined;
[0006] The speaker emits a positioning signal, and the microphone's current position is determined based on the time it takes for the microphone to receive the positioning signal.
[0007] The current position is adjusted based on the target distance.
[0008] Optionally, when the earphone is detected to be inserted into the ear, the step of determining the target distance between the microphone and the user's eardrum includes:
[0009] When the earphone is detected to be inserted into the ear, the corresponding auricle information and ear canal length information are obtained, and the target position of the microphone is determined based on the auricle information and ear canal length information.
[0010] The target distance between the microphone and the user's eardrum is determined based on the target location.
[0011] Optionally, the step of determining the current position of the microphone based on the time it receives the positioning signal includes:
[0012] Determine the first and second times when the microphone receives the positioning signal, and determine the current distance between the microphone and the user's eardrum based on the first and second times;
[0013] The current position of the microphone is determined based on the current distance.
[0014] Optionally, the step of determining the first time and the second time when the microphone receives the positioning signal includes:
[0015] The positioning signal received by the microphone that is not reflected by the user's tympanic membrane is obtained, and the first time is obtained by convolving the positioning signal that is not reflected by the user's tympanic membrane with the positioning signal.
[0016] The positioning signal received by the microphone and reflected by the user's tympanic membrane is obtained, and the second time is obtained by convolving the positioning signal reflected by the user's tympanic membrane and the positioning signal.
[0017] Optionally, the step of determining the current distance between the microphone and the user's eardrum based on the first time and the second time includes:
[0018] Calculate the difference between the first time and the second time, and calculate the current distance between the microphone and the user's eardrum based on the preset sound speed and the difference.
[0019] Optionally, the step of adjusting the current position based on the target distance includes:
[0020] Obtain the current distance between the microphone and the user's eardrum at the current location, and compare the target distance with the current distance;
[0021] If the current distance is equal to the target distance, then the microphone remains in the current position;
[0022] If the current distance is not equal to the target distance, then the following step is performed: adjust the current position according to the target distance.
[0023] Optionally, the step of adjusting the current position based on the target distance includes:
[0024] Based on the target distance and the current distance between the microphone and the user's eardrum corresponding to the current position, determine the direction and distance of microphone movement;
[0025] Based on the direction of movement and the distance of movement, the microphone is controlled to move in order to adjust the current position.
[0026] Furthermore, to achieve the above objectives, the present invention also provides a microphone position adjustment device, the microphone position adjustment device comprising:
[0027] A determining module is used to determine the target distance between the microphone and the user's eardrum when the earphone is detected to be inserted into the ear;
[0028] The transmitting module is used to transmit a positioning signal through the speaker and determine the current position of the microphone based on the time it takes for the microphone to receive the positioning signal;
[0029] The adjustment module is used to adjust the current position according to the target distance.
[0030] Furthermore, the determining module is also used for:
[0031] When the earphone is detected to be inserted into the ear, the corresponding auricle information and ear canal length information are obtained, and the target position of the microphone is determined based on the auricle information and ear canal length information.
[0032] The target distance between the microphone and the user's eardrum is determined based on the target location.
[0033] Furthermore, the issuing module is also used for:
[0034] Determine the first and second times when the microphone receives the positioning signal, and determine the current distance between the microphone and the user's eardrum based on the first and second times;
[0035] The current position of the microphone is determined based on the current distance.
[0036] Furthermore, the issuing module also includes a calculation module, which is used for:
[0037] The positioning signal received by the microphone that is not reflected by the user's tympanic membrane is obtained, and the first time is obtained by convolving the positioning signal that is not reflected by the user's tympanic membrane with the positioning signal.
[0038] The positioning signal received by the microphone and reflected by the user's tympanic membrane is obtained, and the second time is obtained by convolving the positioning signal reflected by the user's tympanic membrane and the positioning signal.
[0039] Furthermore, the computing module is also used for:
[0040] Calculate the difference between the first time and the second time, and calculate the current distance between the microphone and the user's eardrum based on the preset sound speed and the difference.
[0041] Furthermore, the adjustment module also includes a comparison module, which is used for:
[0042] Obtain the current distance between the microphone and the user's eardrum at the current location, and compare the target distance with the current distance;
[0043] If the current distance is equal to the target distance, then the microphone remains in the current position;
[0044] If the current distance is not equal to the target distance, then the following step is performed: adjust the current position according to the target distance.
[0045] Furthermore, the adjustment module is also used for:
[0046] Based on the target distance and the current distance between the microphone and the user's eardrum corresponding to the current position, the direction and distance of movement of the microphone are determined;
[0047] Based on the direction of movement and the distance of movement, the microphone is controlled to move in order to adjust the current position.
[0048] In addition, to achieve the above objectives, the present invention also provides a microphone position adjustment system, the microphone position adjustment system comprising: a memory, a processor, and a microphone position adjustment program stored in the memory and executable on the processor, wherein the microphone position adjustment program, when executed by the processor, implements the steps of the microphone position adjustment method as described above.
[0049] In addition, to achieve the above objectives, the present invention also provides a readable storage medium storing a microphone position adjustment program, which, when executed by a processor, implements the steps of the microphone position adjustment method as described above.
[0050] The microphone position adjustment method proposed in this invention determines the target distance between the microphone and the user's eardrum when the earphone is detected to be inserted into the ear; a positioning signal is emitted through the speaker, and the current position of the microphone is determined based on the time it takes for the microphone to receive the positioning signal; the current position is then adjusted according to the target distance. This invention improves the noise cancellation performance of feedback noise-canceling headphones by determining the target distance between the microphone and the user's eardrum and the microphone's current position in the earphone, and adjusting the microphone's current position based on the target distance. Attached Figure Description
[0051] Figure 1 This is a schematic diagram of the device structure of the hardware operating environment involved in the embodiments of the present invention;
[0052] Figure 2This is a flowchart illustrating the first embodiment of the microphone position adjustment method of the present invention;
[0053] Figure 3 This is a schematic diagram of the internal structure of the feedback noise-canceling headphones of the present invention;
[0054] Figure 4 This is a flowchart illustrating the second embodiment of the microphone position adjustment method of the present invention;
[0055] Figure 5 This is a schematic diagram of the microphone position adjustment device of the present invention.
[0056] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0057] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0058] like Figure 1 As shown, Figure 1 This is a schematic diagram of the device structure of the hardware operating environment involved in the embodiments of the present invention.
[0059] The device in this embodiment of the invention can be a PC or a server.
[0060] like Figure 1 As shown, the device 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. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen or an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be high-speed RAM or non-volatile memory, such as a disk drive. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0061] Those skilled in the art will understand that Figure 1 The device structure shown does not constitute a limitation on the device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0062] like Figure 1As shown, the memory 1005, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a microphone position adjustment program.
[0063] The operating system is a program that manages and controls portable storage devices and software resources, and supports the operation of the network communication module, user interface module, microphone position adjustment program, and other programs or software; the network communication module is used to manage and control the network interface 1002; and the user interface module is used to manage and control the user interface 1003.
[0064] exist Figure 1 In the device shown, the device calls the microphone position adjustment program stored in the memory 1005 through the processor 1001 and performs the operations in the various embodiments of the microphone position adjustment method described below.
[0065] Based on the above hardware structure, an embodiment of the microphone position adjustment method of the present invention is proposed.
[0066] Reference Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of the microphone position adjustment method of the present invention, the method comprising:
[0067] Step S10: When the earphone is detected to be inserted into the ear, determine the target distance between the microphone and the user's eardrum;
[0068] Step S20: A positioning signal is emitted through the speaker, and the current position of the microphone is determined based on the time it takes for the microphone to receive the positioning signal;
[0069] Step S30: Adjust the current position according to the target distance.
[0070] This embodiment of the microphone position adjustment method is applied to feedback noise-canceling headphones. For ease of description, a feedback noise-canceling headphone will be used as an example. Feedback noise-canceling headphones typically have an in-ear detection function. When the headphone is detected to be in the ear, the corresponding auricle information and ear canal length information are acquired. Based on the auricle information and ear canal length information, the target position of the microphone is determined. Based on the target position, the target distance between the microphone and the user's eardrum is determined. The feedback noise-canceling headphones emit a positioning signal through the speaker, determining the first and second times when the microphone receives the positioning signal. Based on the first and second times, the current distance between the microphone and the user's eardrum is determined, and then the current position of the microphone is determined based on the current distance. The feedback noise-canceling headphones determine the microphone's movement direction and movement distance based on the target distance and the current distance between the microphone and the user's eardrum corresponding to the current position. Based on the movement direction and movement distance, the feedback noise-canceling headphones control the microphone to move, thereby adjusting the current position. It should be noted that the target position is the location of the microphone in the feedback noise-canceling headphones. When the microphone is in the target position, the distance between it and the user's eardrum is the target distance. When the distance between the microphone and the user's eardrum is the target distance, better noise cancellation performance can be achieved. The microphone is usually a feedback microphone.
[0071] The microphone position adjustment method of this embodiment determines the target distance between the microphone and the user's eardrum when the earphone is detected to be inserted into the ear; a positioning signal is emitted through the speaker, and the current position of the microphone is determined based on the time it takes for the microphone to receive the positioning signal; the current position is adjusted according to the target distance. This invention, by determining the target distance and the current position of the microphone, and adjusting the current position of the microphone based on the target distance, reduces the distance between the feedback noise-canceling microphone and the user's eardrum, thereby improving the noise-canceling performance of the feedback noise-canceling headphones.
[0072] The following will provide a detailed explanation of each step:
[0073] Step S10: When the earphone is detected to be inserted into the ear, determine the target distance between the microphone and the user's eardrum;
[0074] In this embodiment, when the feedback noise-canceling headphones detect that the headphones are inserted into the ear, they determine the target distance between the microphone and the user's eardrum. Optionally, the feedback noise-canceling headphones pre-store the corresponding target distance, which is determined by testing a large number of users in advance. When the headphones detect that the headphones are inserted into the ear, they can directly determine the corresponding target distance. Alternatively, when the headphones detect that the headphones are inserted into the ear, they determine the corresponding target distance based on the user's actual situation.
[0075] Specifically, step S10 includes:
[0076] Step S101: When the earphone is detected to be inserted into the ear, the corresponding auricle information and ear canal length information are obtained, and the target position of the microphone is determined based on the auricle information and the ear canal length information.
[0077] In this step, when the feedback noise-canceling headphones detect that the headphones are inserted into the ear, they acquire the user's corresponding auricle information and ear canal length information. Based on the auricle information and ear canal length information, they determine the user's eardrum position. The feedback noise-canceling headphones then determine their own depth of entry into the user's ear canal, and combine the user's eardrum position and the depth of entry into the user's ear canal to determine the target position of the microphone; it should be noted that, as Figure 3 As shown, the microphone in a feedback noise-canceling headphone is fixed to the end of a fixed structure. The material of this fixed structure needs to have a certain rigidity to prevent deformation and ensure that it does not hurt the ears. Feedback noise-canceling headphones also need to determine the target position by combining the movable range of the fixed structure.
[0078] Step S102: Determine the target distance between the microphone and the user's eardrum based on the target location.
[0079] In this step, after determining the target location, the feedback noise-canceling headphones determine the target distance between the target location of the microphone and the user's eardrum based on the user's eardrum position and the target location.
[0080] Step S20: A positioning signal is emitted through the speaker, and the current position of the microphone is determined based on the time it takes for the microphone to receive the positioning signal;
[0081] In this embodiment, the feedback noise-canceling headphones emit a positioning signal through their speakers. The positioning signal is a high-frequency short-tone excitation signal played through the speakers in the form of sound. The user will not hear the sound of the signal and it will not cause interference to the user. The feedback noise-canceling headphones receive the positioning signal through the microphone and then determine the current position of the microphone based on the time it takes for the microphone to receive the positioning signal.
[0082] Specifically, the step of determining the current position of the microphone based on the time it receives the positioning signal includes:
[0083] Step S201: Determine the first time and the second time when the microphone receives the positioning signal, and determine the current distance between the microphone and the user's eardrum based on the first time and the second time;
[0084] In this step, after the feedback noise-canceling headphones emit a positioning signal through their speakers, the positioning signal propagates through the inner cavity of the headphones towards the user's eardrum, such as... Figure 3As shown, in a feedback noise-canceling headphone, the speaker is located after the microphone. The positioning signal emitted by the speaker first passes through the microphone, which then receives it. After passing through the microphone, the positioning signal enters the user's ear canal, propagates to the user's eardrum, and is reflected back to the inner cavity of the feedback noise-canceling headphone. At this point, the microphone receives the positioning signal reflected back from the eardrum. The time when the positioning signal emitted by the speaker is received by the microphone is the first time, and the time when the positioning signal reflected from the eardrum is received by the microphone is the second time. The feedback noise-canceling headphone determines the current distance between the microphone and the user's eardrum based on the first and second times.
[0085] Further, the step of determining the first and second times when the microphone receives the positioning signal includes:
[0086] Step S2011: Obtain the positioning signal received by the microphone that is not reflected by the user's tympanic membrane, and perform convolution between the positioning signal that is not reflected by the user's tympanic membrane and the positioning signal to obtain the first time.
[0087] Step S2012: Obtain the positioning signal received by the microphone after being reflected by the user's tympanic membrane, and perform convolution between the positioning signal reflected by the user's tympanic membrane and the positioning signal to obtain the second time.
[0088] In steps S2011 to S2012, the feedback noise-canceling headphones acquire the positioning signal received by the microphone that is not reflected by the user's eardrum, i.e., the positioning signal emitted by the speaker is received by the microphone when it passes through the microphone, and convolve the positioning signal that is not reflected by the user's eardrum and the positioning signal emitted by the speaker to obtain the first time when the microphone receives the positioning signal. When the microphone receives the positioning signal reflected back by the user's eardrum, the feedback noise-canceling headphones acquire the positioning signal received by the microphone that is reflected by the user's eardrum, and convolve the positioning signal reflected by the user's eardrum and the positioning signal emitted by the speaker to obtain the second time when the microphone receives the positioning signal.
[0089] Further, the step of determining the current distance between the microphone and the user's eardrum based on the first time and the second time includes:
[0090] Step S2013: Calculate the difference between the first time and the second time, and calculate the current distance between the microphone and the user's eardrum based on the preset sound speed and the difference.
[0091] In this step, after determining the first and second times when the microphone receives the positioning signal, the feedback noise-canceling headphones calculate the difference between the first and second times, and calculate the current distance between the microphone and the user's eardrum based on the preset sound speed and the difference. Specifically, the formula for calculating the current distance between the microphone and the user's eardrum is: S=C*(t2-t1) / 2, where S is the current distance, C is the preset sound speed, that is, the speed at which sound travels through the air, usually 340m / s, t1 is the first time when the microphone receives the positioning signal, and t2 is the second time when the microphone receives the positioning signal.
[0092] Step S202: Determine the current position of the microphone based on the current distance.
[0093] In this step, when determining the current distance between the microphone and the user's eardrum, the feedback noise-canceling headphones combine the user's ear canal length and the current distance to determine the current position of the microphone in the feedback noise-canceling headphones.
[0094] Step S30: Adjust the current position according to the target distance.
[0095] In this step, the feedback noise-canceling headphones, upon determining the current position of the microphone, determine the target position based on the target distance and control the microphone to move from the current position to the target position; optionally, as... Figure 3 As shown, the microphone in the feedback noise-canceling headphones is fixed to the end of a fixed structure. The fixed structure has a handle that extends beyond the outer shell of the headphones. The headphones generate a prompt tone based on the microphone's current and target positions, prompting the user to manually move the handle, thus moving the microphone from its current position to the target position. During this movement, the headphones calculate the current distance between the microphone and the user's eardrum in real time. When the current distance equals the target distance, the headphones determine that the microphone has moved to the target position and issue a prompt tone indicating that the adjustment is complete. Optionally, the headphones can automatically control the microphone to move from its current position to the target position based on the microphone's current and target positions. Figure 3 In feedback noise-canceling headphones, the fixing structure used to fix the microphone does not need to be designed with a handle. Similarly, during the movement of the microphone, the feedback noise-canceling headphones calculate the current distance between the microphone and the user's eardrum in real time. When it is determined that the current distance is equal to the target distance, it determines when the microphone moves to the target position. Alternatively, the feedback noise-canceling headphones determine the distance between the current position of the microphone and the target position, and control the microphone to move to the target position according to the distance.
[0096] Specifically, step S30 includes:
[0097] Step S301: Determine the direction and distance of movement of the microphone based on the target distance and the current distance between the microphone and the user's eardrum corresponding to the current position;
[0098] In this step, the feedback noise-canceling headphones determine the direction and distance of microphone movement based on the target distance and the current distance between the microphone and the user's eardrum corresponding to the current position. For example, the feedback noise-canceling headphones determine the target position based on the target distance, determine the direction of microphone movement based on the positional relationship between the target position and the current position, calculate the distance between the target position and the current position of the microphone based on the target distance and the current distance between the microphone and the user's eardrum, and then determine the movement distance.
[0099] Step S302: Based on the direction of movement and the distance of movement, control the microphone to move in order to adjust the current position.
[0100] In this step, after determining the direction and distance of movement, the feedback noise-canceling headphones control the microphone to move according to the direction of movement, and after the microphone has moved the corresponding distance, they determine that the microphone has moved to the target position, thus completing the adjustment of the microphone's position.
[0101] The feedback noise-canceling headphones of this embodiment typically have an in-ear detection function. When in-ear detection is detected, the corresponding auricle information and ear canal length information are acquired. Based on the auricle information and ear canal length information, the target position is determined, and the target distance is determined based on the target position. The feedback noise-canceling headphones emit a positioning signal through the speaker, and determine the first and second times when the microphone receives the positioning signal. Based on the first and second times, the current distance between the microphone and the user's eardrum is determined, and the current position of the microphone is determined based on the current distance. The feedback noise-canceling headphones determine the direction and distance of microphone movement based on the target distance and the current distance between the microphone and the user's eardrum. Based on the direction and distance of movement, the feedback noise-canceling headphones control the microphone to move, thereby adjusting the current position. By determining the target distance and the current position of the microphone, and adjusting the current position of the microphone based on the target distance, the distance between the feedback noise-canceling microphone and the user's eardrum is reduced, thereby improving the noise-canceling performance of the feedback noise-canceling headphones.
[0102] Further, refer to Figure 3 The second embodiment of the present invention is proposed. The difference between the second embodiment and the first embodiment is that, before the step of adjusting the current position according to the target distance, the following steps are included:
[0103] Step a: Obtain the current distance between the microphone and the user's eardrum corresponding to the current position, and compare the target distance with the current distance;
[0104] Step b: If the current distance is equal to the target distance, then keep the microphone in the current position;
[0105] Step c: If the current distance is not equal to the target distance, then perform the step: adjust the current position according to the target distance.
[0106] In this embodiment, after determining the current position of the microphone, the feedback noise-canceling headphones obtain the current distance between the microphone and the user's eardrum at the current position, and compare the target distance with the current distance. If the feedback noise-canceling headphones determine that the current distance is equal to the target distance, they keep the microphone at the current position and do not adjust the position of the microphone. If the feedback noise-canceling headphones determine that the current distance is not equal to the target distance, they perform the step of adjusting the current position according to the target distance.
[0107] In this embodiment, the feedback noise-canceling headphones first determine whether the target distance is equal to the current distance. If they are equal, there is no need to adjust the position of the microphone, thus ensuring the noise cancellation performance of the feedback noise-canceling headphones. If they are not equal, the position of the microphone is adjusted, thereby improving the noise cancellation performance of the feedback noise-canceling headphones.
[0108] like Figure 5 As shown, the present invention also provides a microphone position adjustment device. The microphone position adjustment device of the present invention includes:
[0109] The determining module 101 is used to determine the target distance between the microphone and the user's eardrum when the earphone is detected to be inserted into the ear;
[0110] The transmitting module 102 is used to transmit a positioning signal through the speaker and determine the current position of the microphone based on the time when the microphone receives the positioning signal;
[0111] The adjustment module 103 is used to adjust the current position according to the target distance.
[0112] Furthermore, the determining module is also used for:
[0113] When the earphone is detected to be inserted into the ear, the corresponding auricle information and ear canal length information are obtained, and the target position of the microphone is determined based on the auricle information and ear canal length information.
[0114] The target distance between the microphone and the user's eardrum is determined based on the target location.
[0115] Furthermore, the issuing module is also used for:
[0116] Determine the first and second times when the microphone receives the positioning signal, and determine the current distance between the microphone and the user's eardrum based on the first and second times;
[0117] The current position of the microphone is determined based on the current distance.
[0118] Furthermore, the issuing module also includes a calculation module, which is used for:
[0119] The positioning signal received by the microphone that is not reflected by the user's tympanic membrane is obtained, and the first time is obtained by convolving the positioning signal that is not reflected by the user's tympanic membrane with the positioning signal.
[0120] The positioning signal received by the microphone and reflected by the user's tympanic membrane is obtained, and the second time is obtained by convolving the positioning signal reflected by the user's tympanic membrane and the positioning signal.
[0121] Furthermore, the computing module is also used for:
[0122] Calculate the difference between the first time and the second time, and calculate the current distance between the microphone and the user's eardrum based on the preset sound speed and the difference.
[0123] Furthermore, the adjustment module also includes a comparison module, which is used for:
[0124] Obtain the current distance between the microphone and the user's eardrum at the current location, and compare the target distance with the current distance;
[0125] If the current distance is equal to the target distance, then the microphone remains in the current position;
[0126] If the current distance is not equal to the target distance, then the following step is performed: adjust the current position according to the target distance.
[0127] Furthermore, the adjustment module is also used for:
[0128] Based on the target distance and the current distance between the microphone and the user's eardrum corresponding to the current position, the direction and distance of movement of the microphone are determined;
[0129] Based on the direction of movement and the distance of movement, the microphone is controlled to move in order to adjust the current position.
[0130] The present invention also provides a microphone position adjustment system.
[0131] The microphone position adjustment system includes: a memory, a processor, and a microphone position adjustment program stored in the memory and executable on the processor. When the microphone position adjustment program is executed by the processor, it implements the steps of the microphone position adjustment method as described above.
[0132] The method implemented when the microphone position adjustment program running on the processor is executed can be referred to in various embodiments of the microphone position adjustment method of the present invention, and will not be repeated here.
[0133] The present invention also provides a readable storage medium.
[0134] The readable storage medium stores a microphone position adjustment program, which, when executed by a processor, implements the steps of the microphone position adjustment method as described above.
[0135] The method implemented when the microphone position adjustment program running on the processor is executed can be referred to in various embodiments of the microphone position adjustment method of the present invention, and will not be repeated here.
[0136] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0137] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0138] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0139] The above are merely preferred embodiments of the present invention and do not limit the patent scope of the present invention. Any equivalent structural or procedural transformations made based on the content of the present invention's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of the present invention.
Claims
1. A method of adjusting a position of a microphone, the method comprising: The microphone position adjustment method is applied to an earphone, and the earphone comprises a microphone and a speaker. When the earphone is detected to be in the ear, corresponding auricle information and ear canal length information are acquired, and a target position of the microphone is determined according to the auricle information and the ear canal length information, wherein the target position is obtained according to a user eardrum position and a depth of the earphone entering the ear canal of the user, and the user eardrum position is obtained according to the auricle information and the ear canal length information. A target distance between the microphone and the user eardrum is determined according to the target position, and the target distance is a distance for improving noise reduction performance of the earphone. A positioning signal is emitted through the speaker, and a positioning signal that is not reflected by the user eardrum and received by the microphone is acquired, and a first time is obtained by convolution of the positioning signal that is not reflected by the user eardrum and the positioning signal emitted by the speaker. A positioning signal that is reflected by the user eardrum and received by the microphone is acquired, and a second time is obtained by convolution of the positioning signal that is reflected by the user eardrum and the positioning signal emitted by the speaker, and a current distance between the microphone and the user eardrum is determined according to the first time and the second time. A current position of the microphone is determined based on the current distance. The current position is adjusted according to the target distance.
2. The microphone position adjustment method of claim 1, wherein, The step of adjusting the current position according to the target distance comprises: The current distance between the microphone and the user eardrum corresponding to the current position is acquired, and the target distance is compared with the current distance. If the current distance is equal to the target distance, the microphone is kept at the current position. If the current distance is not equal to the target distance, the step of adjusting the current position according to the target distance is performed.
3. The microphone position adjustment method of claim 1, wherein, The step of adjusting the current position according to the target distance comprises: A moving direction and a moving distance of the microphone are determined according to the target distance and the current distance between the microphone and the user eardrum corresponding to the current position. The microphone is controlled to move based on the moving direction and the moving distance, so as to adjust the current position.
4. The microphone position adjustment method of claim 1, wherein, The step of determining the current distance between the microphone and the user eardrum according to the first time and the second time comprises: A difference value between the first time and the second time is calculated, and the current distance between the microphone and the user eardrum is calculated according to a preset sound speed and the difference value.
5. A microphone position adjustment apparatus, characterized by, The earphone comprises a microphone and a speaker, and the microphone position adjustment device comprises: The determining module is configured to, when detecting that the earphone is in the ear, acquire corresponding auricle information and ear canal length information, and determine a target position of the microphone according to the auricle information and the ear canal length information, wherein the target position is obtained according to a user eardrum position and a depth of the earphone entering the ear canal of the user, and the user eardrum position is obtained according to the auricle information and the ear canal length information; and a target distance between the microphone and the user eardrum is determined according to the target position, and the target distance is a distance for improving noise reduction performance of the earphone. The emitting module is configured to emit a positioning signal through the loudspeaker, acquire the positioning signal received by the microphone without being reflected by the user eardrum, and obtain a first time by convolution of the positioning signal without being reflected by the user eardrum and the positioning signal emitted by the loudspeaker; acquire the positioning signal received by the microphone after being reflected by the user eardrum, and obtain a second time by convolution of the positioning signal after being reflected by the user eardrum and the positioning signal emitted by the loudspeaker, and determine a current distance between the microphone and the user eardrum according to the first time and the second time; and determine a current position of the microphone based on the current distance. The adjusting module is configured to adjust the current position according to the target distance.
6. A microphone position adjustment system, characterized by, The microphone position adjustment system includes a memory, a processor, and a microphone position adjustment program stored on the memory and executable on the processor, and the microphone position adjustment program implements the steps of the microphone position adjustment method according to any one of claims 1 to 5 when executed by the processor.
7. A readable storage medium characterized by, The readable storage medium stores a microphone position adjustment program, and the microphone position adjustment program implements the steps of the microphone position adjustment method according to any one of claims 1 to 5 when executed by the processor.
Citation Information
Patent Citations
Method and system for determining a position of a microphone
CN110320498A
Feedback noise reduction method and device of earphone equipment, earphone equipment and storage medium
CN114928785A