Headphone control method, device, headphone equipment and storage medium

By automatically detecting and adjusting the pressure difference inside and outside the ear, the inconvenience of manual operation during use of the earphones is solved, and the convenience of the earphone equipment and intelligent pressure difference elimination is achieved.

CN115412795BActive Publication Date: 2025-08-19GEER TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211050344.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-29
Publication Date
2025-08-19
Estimated Expiration
2042-08-29

AI Technical Summary

Technical Problem

During the use of headphone equipment, the difference between the pressure in the ear canal and the external pressure causes the user to need to operate manually to eliminate the pressure difference, resulting in inconvenience and high limitations.

Method used

By obtaining the pressure values ​​inside and outside the ear, determining the pressure difference and outputting a notification signal, receiving the control signal for automatic adjustment to eliminate the pressure difference, including comparing the pressure values ​​and determining the preset threshold value, as well as analyzing the audio signal and playing the offset signal when necessary.

Benefits of technology

It realizes automatic elimination of pressure difference without manual operation by users, improves the convenience and intelligence of headphone equipment, and reduces the limitations of eliminating pressure difference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115412795B_ABST
    Figure CN115412795B_ABST
Patent Text Reader

Abstract

The present invention discloses a headphone control method, apparatus, headphone device, and storage medium. The headphone control method is applied to a headphone device and includes the following steps: obtaining a first in-ear pressure value and a first out-ear pressure value, determining a pressure difference based on the first in-ear pressure value and the first out-ear pressure value, outputting a first notification signal indicating the presence of a pressure difference, receiving a control signal based on feedback from the first notification signal, and adjusting the first in-ear pressure value based on the control signal to eliminate the pressure difference. The present invention eliminates the pressure difference through control operations of the headphone device without requiring manual operation by the user, thereby improving the convenience of eliminating the pressure difference, reducing the limitations of eliminating the pressure difference, and, to a certain extent, enhancing the intelligence of the headphone device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of earphone technology, and in particular to an earphone control method, an apparatus, an earphone device, and a storage medium. Background Art

[0002] When a user is using an earphone device and there is a pressure difference between the pressure in the ear canal and the pressure outside, the user will be unable to hear the outside sound, forcing the user to eliminate the pressure difference through manual operation, such as pressing the ears with both hands or pinching the nose and blowing air, in order to achieve normal use of the earphone device. However, in the above-mentioned related operations, due to some special occasions, it is inconvenient for the user to eliminate the pressure difference through manual operation, resulting in the user being unable to use the earphone device normally, which is inconvenient and has high limitations.

[0003] The above content is only used to assist in understanding the technical solution of the present invention and does not constitute an admission that the above content is prior art. Summary of the Invention

[0004] The main purpose of the present invention is to provide an earphone control method, which aims to solve the technical problems of the inconvenience and high limitations of manual operation caused by the pressure difference between the ear canal and the outside world when using the existing earphone device.

[0005] To achieve the above object, the present invention provides an earphone control method, which is applied to an earphone device and includes the following steps:

[0006] Obtaining a first intra-ear pressure value and a first extra-ear pressure value;

[0007] When a pressure difference is determined based on the first in-ear pressure value and the first out-ear pressure value, outputting a first notification signal of the pressure difference, and receiving a control signal based on feedback of the first notification signal;

[0008] The pressure value in the first ear is adjusted according to the control signal to eliminate the pressure difference.

[0009] Optionally, when it is determined that a pressure difference exists according to the first in-ear pressure value and the first out-ear pressure value, the step of outputting a first notification signal indicating the existence of the pressure difference includes:

[0010] Comparing the first in-ear pressure value and the first out-ear pressure value to obtain a pressure comparison value;

[0011] When it is detected that the pressure comparison value exceeds a preset pressure threshold, it is determined that a pressure difference exists, and a first notification signal indicating the existence of a pressure difference is output.

[0012] Optionally, after the step of adjusting the first intra-ear pressure value conversion according to the control signal, the method further includes:

[0013] Obtaining a second inner ear pressure value and a second outer ear pressure value;

[0014] The second inner ear pressure value and the second outer ear pressure value are output.

[0015] Optionally, before the step of obtaining the first intra-ear pressure value and the first extra-ear pressure value, the method further includes:

[0016] Acquire an in-ear audio signal to be detected and an out-ear audio signal to be detected;

[0017] Converting the audio signal inside the ear to be tested into a digital signal inside the ear to be tested, and converting the audio signal outside the ear to be tested into a digital signal outside the ear to be tested;

[0018] Comparing the digital signal inside the ear to be tested and the digital signal outside the ear to be tested to obtain a signal contrast, and detecting whether there is an abnormal audio signal based on the signal contrast;

[0019] When it is detected according to the signal contrast that no abnormal audio signal exists, the step of obtaining a first intra-ear pressure value and a first extra-ear pressure value is performed.

[0020] Optionally, after the step of detecting whether an abnormal audio signal exists according to signal contrast, the method further includes:

[0021] When the presence of an abnormal audio signal is detected based on the signal contrast, determining that there is an audio difference;

[0022] outputting a second notification signal indicating that there is an audio difference, and detecting whether a confirmation signal based on feedback of the second notification signal is received;

[0023] When a confirmation signal fed back based on the second notification signal is received, the in-ear audio signal to be analyzed and the out-of-ear audio signal to be analyzed are acquired according to the confirmation signal.

[0024] Optionally, after the step of acquiring the in-ear audio signal to be analyzed and the out-of-ear audio signal to be analyzed according to the confirmation signal, the method further includes:

[0025] Analyze and process the acquired in-ear audio signal to be analyzed and the acquired out-ear audio signal to be analyzed to obtain audio data information;

[0026] A cancellation signal is generated based on the audio data information and played through a speaker in the headphone device, wherein the frequency and amplitude of the cancellation signal are the same as the frequency and amplitude of the audio data information, and the phase of the cancellation signal is opposite to the phase of the audio data information.

[0027] Optionally, the headphone control method further includes:

[0028] When the playback signal is received, the speaker in the headphone device is controlled to play white noise.

[0029] To achieve the above-mentioned object, the present invention further provides an earphone control device, which is applied to an earphone device and includes:

[0030] An acquisition module, configured to acquire a first intra-ear pressure value and a first extra-ear pressure value;

[0031] a determination module, configured to output a first notification signal indicating the presence of a pressure difference when determining that a pressure difference exists based on the first in-ear pressure value and the first out-ear pressure value, and receive a control signal based on feedback of the first notification signal;

[0032] The control module is used to adjust the pressure value in the first ear according to the control signal to eliminate the pressure difference.

[0033] To achieve the above objectives, the present invention also provides an earphone device, which includes: a memory, a processor, and an earphone control program stored in the memory and executable on the processor. When the earphone control program is executed by the processor, the steps of the above earphone control method are implemented.

[0034] In addition, to achieve the above-mentioned purpose, the present invention further proposes a computer-readable storage medium, on which a headphone control program is stored. When the headphone control program is executed by a processor, the steps of the above-mentioned headphone control method are implemented.

[0035] In the present invention, the headphone device obtains a first in-ear pressure value and a first out-ear pressure value. When a pressure difference is determined based on the first in-ear pressure value and the first out-ear pressure value, the headphone device outputs a first notification signal indicating the presence of a pressure difference. The headphone device also receives a control signal based on the first notification signal as feedback, and adjusts the first in-ear pressure value based on the control signal to eliminate the pressure difference. This invention eliminates the pressure difference through the control operation of the headphone device without the need for manual operation by the user, thereby improving the convenience of eliminating the pressure difference and reducing the limitations of eliminating the pressure difference, thereby enhancing the intelligence of the headphone device to a certain extent. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 1. A schematic flow chart of a first embodiment of a headphone control method according to the present invention;

[0037] Figure 2 Schematic diagram of the implementation structure of the earphone control method of the present invention;

[0038] Figure 3 Schematic diagram of the functional modules of an embodiment of the earphone control device of the present invention.

[0039] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION

[0040] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0041] The embodiment of the present invention provides a headset control method, referring to Figure 1 , Figure 1 This is a flowchart of a first embodiment of a headphone control method according to the present invention. It should be noted that although the flowchart shows a logical order, in some cases, the steps shown or described may be performed in a different order than shown. In this embodiment, the headphone control method is applied to an adaptive active noise reduction headphone device, and the headphone control method includes:

[0042] Step S10, obtaining a first intra-ear pressure value and a first extra-ear pressure value;

[0043] Headphone devices include Bluetooth headphones, wired headphones, in-ear headphones, and headphones. This embodiment takes Bluetooth headphones as an example.

[0044] Specifically, refer to Figure 2 As shown, in this embodiment, the headphone device detects pressure data inside and outside the ear through a pressure sensor (hereinafter referred to as a first inside-ear pressure value and a first outside-ear pressure value for distinction). In a specific embodiment, the headphone device detects the first inside-ear pressure value through the inside-ear pressure sensor and detects the first outside-ear pressure value through the outside-ear pressure sensor.

[0045] Step S20: When a pressure difference is determined based on the first in-ear pressure value and the first out-ear pressure value, outputting a first notification signal indicating the pressure difference, and receiving a control signal based on feedback of the first notification signal;

[0046] Further, refer to Figure 2As shown, in one embodiment, when the in-ear pressure sensor and the outside-ear pressure sensor compare the first in-ear pressure value and the first outside-ear pressure value, and detect that there is a difference between the first in-ear pressure value and the first outside-ear pressure value, it is determined that there is a pressure difference, and the first in-ear pressure value is converted into a first in-ear pressure value electrical signal and the outside-ear pressure sensor is converted into a first outside-ear pressure value electrical signal by the in-ear pressure sensor. The headphone device sends a first notification signal to the user based on the first in-ear pressure value electrical signal and the first outside-ear pressure value electrical signal to inform the user that there is a pressure difference between the ear canal and the outside world at this time, and at the same time inform the user of the pressure values inside and outside the ear at this time, so that the user can know the current pressure values inside and outside the ear and send a first notification signal according to the pressure values inside and outside the ear. Figure 2 The pressure control module shown sends a control signal to change the pressure in the ear through the pressure control module.

[0047] Step S30: adjusting the first intra-ear pressure value according to the control signal to eliminate the pressure difference.

[0048] Specifically, after receiving the control signal for changing the pressure in the ear, the pressure control module adjusts the first pressure value in the ear according to the control signal so that the pressure inside and outside the ear reaches a balance, thereby eliminating the pressure difference.

[0049] Furthermore, in one embodiment, step S20 includes:

[0050] Step S201, comparing the first in-ear pressure value and the first out-ear pressure value to obtain a pressure comparison value;

[0051] Step S202: When it is detected that the pressure comparison value exceeds a preset pressure threshold, it is determined that the pressure difference exists, and the first notification signal indicating the existence of the pressure difference is output.

[0052] In this embodiment, referring to Figure 2 As shown, when the in-ear pressure sensor obtains a first in-ear pressure value by detecting the pressure in the user's ear, and the out-of-ear pressure sensor obtains a first out-of-ear pressure value by detecting the pressure outside the user's ear (i.e., the outside world), the in-ear pressure sensor and the out-of-ear pressure sensor will compare the first in-ear pressure value and the first out-of-ear pressure value. For example, the pressure comparison value of the first in-ear pressure value and the first out-of-ear pressure value obtained through the comparison processing is -65daPa, indicating that the difference between the first in-ear pressure value and the second out-of-ear pressure value is -65daPa, which exceeds the normal tympanic cavity pressure (i.e., the preset pressure threshold). It is determined that there is a pressure difference between the user's ear canal and the outside world at this time, and a first notification signal will be output to the user.

[0053] The preset pressure threshold is the judgment standard of the pressure difference between the ear canal and the outside world in the prior art of ±50 dapa.

[0054] Furthermore, in one embodiment, after step S30, the method further includes:

[0055] Step S301, obtaining a second inner ear pressure value and a second outer ear pressure value;

[0056] Step S302: output the second intra-ear pressure value and the second extra-ear pressure value.

[0057] Specifically, in this embodiment, after the pressure control module adjusts the first in-ear pressure value according to the received control signal for changing the in-ear pressure, the in-ear pressure sensor and the outside-ear pressure sensor will re-acquire the pressure values inside and outside the ear (hereinafter referred to as the second in-ear pressure value and the second outside-ear pressure value for distinction), and after converting the second in-ear pressure value and the second outside-ear pressure value into a second in-ear pressure value electrical signal and a second outside-ear pressure value electrical signal respectively, the headphone device sends a third notification signal to the user based on the second in-ear pressure value electrical signal and the second outside-ear pressure value electrical signal to inform the user of the real-time pressure value after the in-ear pressure changes, so as to facilitate the user to determine whether to resend the control signal.

[0058] In this embodiment, a first in-ear pressure value and a first external-ear pressure value are obtained. When a pressure difference is determined based on the first in-ear pressure value and the first external-ear pressure value, a first notification signal indicating the presence of a pressure difference is output. A control signal based on the first notification signal is then received as feedback, and the first in-ear pressure value is adjusted based on the control signal to eliminate the pressure difference. This invention eliminates the pressure difference through control operations of the headphone device without requiring manual operation by the user, thereby improving the convenience of eliminating the pressure difference and reducing the limitations of eliminating the pressure difference, thereby enhancing the intelligence of the headphone device to a certain extent.

[0059] Furthermore, based on the above-mentioned first embodiment, a second embodiment of the headphone control method of the present invention is proposed. In this embodiment, before step S10, the method further includes:

[0060] Step S101, obtaining an in-ear audio signal to be detected and an out-ear audio signal to be detected;

[0061] Step S102, converting the in-ear audio signal to be detected into an in-ear digital signal to be detected, and converting the out-ear audio signal to be detected into an out-ear digital signal to be detected;

[0062] In this embodiment, by Figure 2The decoding unit shown converts the in-ear audio signal to be tested and the out-ear audio signal to be tested into an in-ear digital signal to be tested and an out-ear digital signal to be tested, respectively, to determine whether there is an audio difference between the user's ear canal and the outside world based on the in-ear audio signal to be tested and the out-ear audio signal to be tested.

[0063] Step S103, comparing the in-ear digital signal to be detected and the out-ear digital signal to be detected to obtain a signal contrast, and detecting whether there is an abnormal audio signal based on the signal contrast;

[0064] The signal contrast is obtained by the processor unit receiving the in-ear digital signal to be detected and the out-ear digital signal to be detected sent by the decoding unit, and comparing the digital states of the in-ear digital signal to be detected and the out-ear digital signal to be detected.

[0065] In a specific embodiment, for example, when the digital state of the digital signal inside the ear to be tested is 001 011 011, and the digital state of the digital signal outside the ear to be tested is 001 011 001, the processor unit compares the digital signal inside the ear to be tested and the digital signal outside the ear to be tested to obtain a signal contrast of [001 011 011, 001 011 001].

[0066] After the processor unit analyzes and processes the signal contrast, it detects whether there is abnormal audio in the signal contrast. When it is determined that there is abnormal audio, it means that there is an abnormal sound in the user's ear in the absence of an external sound source. This is because the sound heard in the ear is consistent with the external sound source, that is, the digital state of the digital signal in the ear to be tested is equal to the state of the digital signal outside the ear to be tested, so that it can be determined that there is no abnormal audio signal. Otherwise, there is an abnormal audio signal, and it is determined that there is an audio difference between the user's ear canal and the outside world.

[0067] Specifically, in one embodiment, when the processor unit analyzes and compares the digital state 001011 011 of the digital signal in the ear to be tested and the digital state 001 011 001 of the digital signal outside the ear to be tested to obtain the signal contrast of [001 011011, 001 011 001], it detects the signal contrast of [001 011 011, 001 011 001] and detects that there is a difference between [011, 001], it is determined that there is an abnormal audio signal at this time, that is, there is an abnormal sound in the user's ear at this time, thereby determining that there is an audio difference between the user's ear canal and the outside world.

[0068] In another embodiment, when the processor unit analyzes and compares the digital state 001 011011 001 of the digital signal in the ear to be tested and the digital state 001 011 011 of the digital signal outside the ear to be tested to obtain the signal contrast of [001 011011 001, 001 011 011], by detecting the signal contrast of [001 011 011 001, 001 011 011], it detects the presence of a redundant digital state

[001] , then it determines that there is an abnormal audio signal at this time, that is, there is an abnormal sound in the user's ear at this time, thereby determining that there is an audio difference between the user's ear canal and the outside world.

[0069] Step S104 : When it is detected according to the signal contrast that the abnormal audio signal does not exist, the step of obtaining the first in-ear pressure value and the first out-ear pressure value is performed.

[0070] Further, in one embodiment, when the processor unit analyzes and compares the digital state of the digital signal in the ear to be tested 001011 011 and the digital state of the digital signal outside the ear to be tested 001 011 011 to obtain the signal contrast of [001 011011, 001 011 011], because the digital state of the digital signal in the ear to be tested and the digital state of the digital signal outside the ear to be tested in the signal contrast of [001 011 011, 001 011 011] are the same, it is determined that there is no abnormal audio signal at this time, that is, there is no abnormal sound in the user's ear at this time, and it is determined that there is no audio difference between the user's ear canal and the outside world, and then the step of obtaining the first in-ear pressure value and the first outside-ear pressure value is performed.

[0071] Furthermore, in one embodiment, after step S103, the following steps are further included:

[0072] Step S106, when the presence of the abnormal audio signal is detected according to the signal contrast, determining that there is an audio difference;

[0073] Step S107: outputting a second notification signal indicating the presence of the audio difference, and detecting whether a confirmation signal based on feedback of the second notification signal is received;

[0074] Step S108: When the confirmation signal fed back based on the second notification signal is received, the in-ear audio signal to be analyzed and the out-of-ear audio signal to be analyzed are acquired according to the confirmation signal.

[0075] In this embodiment, when an audio difference is determined based on the signal contrast, the processor unit sends a second notification signal to the user to inform the user that the hearing impairment is caused by the audio difference between the ear canal and the outside world. After receiving this notification, the user can choose whether to proceed with the next control operation. Furthermore, when the user confirms the next control operation, a confirmation signal can be sent through voice commands, touch-controlled earphone devices, or terminal operations to control the earphone device to perform the next control operation, that is, the earphone device obtains the in-ear audio signal to be analyzed and the external audio signal to be analyzed.

[0076] Furthermore, in one embodiment, after step S108, the following steps are further included:

[0077] Step S109, analyzing and processing the acquired in-ear audio signal to be analyzed and the acquired out-ear audio signal to be analyzed to obtain audio data information;

[0078] Step S1010: Generate a cancellation signal based on the audio data information, and play the cancellation signal through a speaker in the headphone device, wherein the frequency and amplitude of the cancellation signal are the same as the frequency and amplitude of the audio data information, and the phase of the cancellation signal is opposite to the phase of the audio data information.

[0079] In this embodiment, when the headphone device receives a confirmation signal sent by the user to perform the next control operation, the in-ear microphone and the outside-ear microphone are controlled according to the confirmation signal to respectively re-acquire the in-ear audio signal and the outside-ear audio signal (hereinafter referred to as the in-ear audio signal to be analyzed and the outside-ear audio signal to be analyzed for distinction), and the in-ear audio signal to be analyzed and the outside-ear audio signal to be analyzed picked up by the in-ear microphone and the outside-ear microphone are respectively sent to the decoding unit and the processor unit for analysis and processing to obtain audio data information.

[0080] Specifically, in one embodiment, for example, after the decoding unit converts the in-ear audio signal to be analyzed and the out-ear audio signal to be analyzed into a second in-ear digital signal of 001 011 001 and a second out-ear digital signal of 001 011 011 respectively, the second in-ear digital signal and the second out-ear digital signal are sent to the processor unit. The processor unit analyzes and processes the second in-ear digital signal and the second out-ear digital signal to obtain audio data information such as the position, frequency, amplitude and phase of the sound corresponding to the abnormal audio signal at this time, and generates a cancellation digital signal of

[001] based on the audio data information, and converts the cancellation digital signal into a cancellation signal that can be played through the speaker inside the headphone device through the decoding unit.

[0081] In another embodiment, for example, after the in-ear audio signal to be analyzed and the out-of-ear audio signal to be analyzed are converted into a second in-ear digital signal of 001 011 011 001 and a second out-of-ear digital signal of 001 011 011 respectively through a decoding unit, the second in-ear digital signal and the second out-of-ear digital signal are sent to a processor unit. The processor unit analyzes and processes the second in-ear digital signal and the second out-of-ear digital signal to obtain audio data information such as the position, frequency, amplitude and phase of the sound corresponding to the abnormal audio signal at this time, and generates a cancellation digital signal of the sound

[001] according to the audio data information, and converts the cancellation digital signal into a cancellation signal that can be played through the speaker inside the headphone device through the decoding unit.

[0082] It should be noted that the frequency and amplitude of the cancellation digital signal are the same as the frequency and amplitude in the audio data information. When the phase of the cancellation digital signal is opposite to the phase in the audio data information, it is ensured that the cancellation signal can reach the sound source of the abnormal audio signal without causing adverse effects on the user, and effectively cancel out the abnormal audio signal, thereby canceling out the audio difference.

[0083] In this embodiment, by acquiring an in-ear audio signal to be tested and an out-ear audio signal to be tested, converting the in-ear audio signal to be tested into an in-ear digital signal to be tested, and converting the out-ear audio signal to be tested into an out-ear digital signal to be tested, the in-ear digital signal to be tested and the out-ear digital signal to be tested are compared to obtain a signal contrast, and the presence of an abnormal audio signal is detected based on the signal contrast. When the absence of an abnormal audio signal is detected based on the signal contrast, the steps of obtaining a first in-ear pressure value and a first out-ear pressure value are executed. This enables activation of different control functions for pressure difference and audio difference, and also eliminates audio difference without manual operation by the user, thereby improving the intelligence of the headphone device.

[0084] Furthermore, a third embodiment of the headphone control method of the present invention is provided. In this embodiment, the headphone control method further includes:

[0085] Step S40: When the play signal is received, the speaker in the earphone device is controlled to play white noise.

[0086] Specifically, in one embodiment, the user can upload a playback signal according to his or her own needs, that is, determine whether to play white noise according to his or her own needs. When the user believes that white noise needs to be played at this time, the terminal device uploads the playback signal of playing white noise, so that the headphone device can control the headphone device when receiving the playback signal. Figure 2 The loudspeaker shown plays white noise, which can eliminate the pressure difference to a certain extent.

[0087] In this embodiment, the headphone device controls the speaker to play white noise upon receiving a white noise playback signal uploaded by the user, thereby eliminating the pressure difference, thereby improving the convenience of eliminating the pressure difference and reducing the limitations of eliminating the pressure difference.

[0088] The present invention also provides an earphone control device, which is applied to an adaptive active noise reduction earphone device. Figure 3 , the headphone controls include:

[0089] An acquisition module 10 is configured to acquire a first intra-ear pressure value and a first extra-ear pressure value;

[0090] a determination module 20, configured to, when determining that a pressure difference exists based on the first in-ear pressure value and the first out-ear pressure value, output a first notification signal indicating the existence of the pressure difference, and receive a control signal based on feedback of the first notification signal;

[0091] The control module 30 is configured to adjust the first intra-ear pressure value according to the control signal to eliminate the pressure difference.

[0092] Furthermore, the judgment module 20 is used to:

[0093] Comparing the first intra-ear pressure value and the first extra-ear pressure value to obtain a pressure comparison value;

[0094] When it is detected that the pressure comparison value exceeds a preset pressure threshold, it is determined that the pressure difference exists, and the first notification signal indicating the existence of the pressure difference is output.

[0095] Furthermore, the control module 30 is used to:

[0096] Obtaining a second inner ear pressure value and a second outer ear pressure value;

[0097] The second intra-ear pressure value and the second extra-ear pressure value are output.

[0098] Furthermore, the judgment module 20 is used to:

[0099] Acquire an in-ear audio signal to be detected and an out-ear audio signal to be detected;

[0100] Converting the in-ear audio signal to be detected into an in-ear digital signal to be detected, and converting the out-ear audio signal to be detected into an out-ear digital signal to be detected;

[0101] Comparing the in-ear digital signal to be detected and the out-ear digital signal to be detected to obtain a signal contrast, and detecting whether there is an abnormal audio signal based on the signal contrast;

[0102] When it is detected according to the signal contrast that the abnormal audio signal does not exist, the step of obtaining the first in-ear pressure value and the first out-ear pressure value is performed.

[0103] Furthermore, the judgment module 20 is used to:

[0104] When the presence of the abnormal audio signal is detected according to the signal contrast, determining that there is an audio difference;

[0105] outputting a second notification signal indicating the presence of the audio difference, and detecting whether a confirmation signal fed back based on the second notification signal is received;

[0106] When the confirmation signal fed back based on the second notification signal is received, the in-ear audio signal to be analyzed and the out-of-ear audio signal to be analyzed are acquired according to the confirmation signal.

[0107] Furthermore, the control module 30 is used to:

[0108] Analyzing and processing the acquired in-ear audio signal to be analyzed and the acquired out-ear audio signal to be analyzed to obtain audio data information;

[0109] A cancellation signal is generated based on the audio data information, and the cancellation signal is played through a speaker in the headphone device, wherein the frequency and amplitude of the cancellation signal are the same as the frequency and amplitude of the audio data information, and the phase of the cancellation signal is opposite to the phase of the audio data information.

[0110] Furthermore, the control module 30 is used to:

[0111] When the playback signal is received, the speaker in the headphone device is controlled to play white noise.

[0112] The various embodiments of the headphone control device of the present invention may refer to the various embodiments of the headphone control method of the present invention, and will not be described in detail here.

[0113] In addition, an embodiment of the present invention further proposes a headphone device, which includes a structural shell, a communication module, a main control module (such as a microcontroller unit MCU), a speaker, a microphone, a memory, etc. The main control module may include a microprocessor, an audio decoding unit, a power supply and a power management unit, sensors required by the system, and other active or passive devices (which can be replaced, deleted or added according to actual functions) to realize the audio reception and playback functions. The headphone device can establish a communication connection with the user terminal through the communication module. The memory of the headphone device can store a headphone control program, and the microprocessor can be used to call the headphone control program stored in the memory and perform the following operations:

[0114] Obtaining a first intra-ear pressure value and a first extra-ear pressure value;

[0115] When a pressure difference is determined based on the first in-ear pressure value and the first out-ear pressure value, outputting a first notification signal of the pressure difference, and receiving a control signal based on feedback of the first notification signal;

[0116] The pressure value in the first ear is adjusted according to the control signal to eliminate the pressure difference.

[0117] Furthermore, when it is determined that there is a pressure difference based on the first in-ear pressure value and the first out-ear pressure value, the step of outputting a first notification signal indicating the presence of the pressure difference includes:

[0118] Comparing the first in-ear pressure value and the first out-ear pressure value to obtain a pressure comparison value;

[0119] When it is detected that the pressure comparison value exceeds a preset pressure threshold, it is determined that a pressure difference exists, and a first notification signal indicating the existence of a pressure difference is output.

[0120] Furthermore, after the step of adjusting the first intra-ear pressure value conversion according to the control signal, the method further includes:

[0121] Obtaining a second inner ear pressure value and a second outer ear pressure value;

[0122] The second inner ear pressure value and the second outer ear pressure value are output.

[0123] Furthermore, before the step of obtaining the first intra-ear pressure value and the first extra-ear pressure value, the method further includes:

[0124] Acquire an in-ear audio signal to be detected and an out-ear audio signal to be detected;

[0125] Converting the audio signal inside the ear to be tested into a digital signal inside the ear to be tested, and converting the audio signal outside the ear to be tested into a digital signal outside the ear to be tested;

[0126] Comparing the digital signal inside the ear to be tested and the digital signal outside the ear to be tested to obtain a signal contrast, and detecting whether there is an abnormal audio signal based on the signal contrast;

[0127] When it is detected according to the signal contrast that no abnormal audio signal exists, the step of obtaining a first intra-ear pressure value and a first extra-ear pressure value is performed.

[0128] Furthermore, after the step of detecting whether an abnormal audio signal exists according to signal contrast, the method further includes:

[0129] When the presence of an abnormal audio signal is detected based on the signal contrast, determining that there is an audio difference;

[0130] outputting a second notification signal indicating that there is an audio difference, and detecting whether a confirmation signal based on feedback of the second notification signal is received;

[0131] When a confirmation signal fed back based on the second notification signal is received, the in-ear audio signal to be analyzed and the out-of-ear audio signal to be analyzed are acquired according to the confirmation signal.

[0132] Furthermore, after the step of acquiring the in-ear audio signal to be analyzed and the out-ear audio signal to be analyzed according to the confirmation signal, the method further includes:

[0133] Analyze and process the acquired in-ear audio signal to be analyzed and the acquired out-ear audio signal to be analyzed to obtain audio data information;

[0134] A cancellation signal is generated based on the audio data information and played through a speaker in the headphone device, wherein the frequency and amplitude of the cancellation signal are the same as the frequency and amplitude of the audio data information, and the phase of the cancellation signal is opposite to the phase of the audio data information.

[0135] Furthermore, the headphone control method further includes:

[0136] When the playback signal is received, the speaker in the headphone device is controlled to play white noise.

[0137] The various embodiments of the headphone device of the present invention may refer to the various embodiments of the headphone control method of the present invention, and will not be described in detail here.

[0138] In addition, an embodiment of the present invention further provides a computer-readable storage medium, on which a headphone control program is stored. When the headphone control program is executed by a processor, the steps of the headphone control method described above are implemented.

[0139] The various embodiments of the computer-readable storage medium of the present invention may refer to the various embodiments of the headphone control method of the present invention, and will not be described in detail here.

[0140] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or system comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or system comprising the element.

[0141] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.

[0142] Through the description of the above embodiments, 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 can also be implemented by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solution of the present invention is essentially 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, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0143] The above are only preferred embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention description and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A headphone control method, characterized in that: The headphone control method is applied to a headphone device, and the headphone control method comprises the following steps: Acquire an in-ear audio signal to be detected and an out-ear audio signal to be detected; Converting the in-ear audio signal to be detected into an in-ear digital signal to be detected, and converting the out-ear audio signal to be detected into an out-ear digital signal to be detected; Comparing the in-ear digital signal to be detected and the out-ear digital signal to be detected to obtain a signal contrast, and detecting whether there is an abnormal audio signal based on the signal contrast; When it is detected according to the signal contrast that the abnormal audio signal is not present, obtaining a first in-ear pressure value and a first out-ear pressure value; When a pressure difference is determined based on the first in-ear pressure value and the first out-ear pressure value, outputting a first notification signal of the pressure difference, and receiving a control signal based on feedback of the first notification signal; adjusting the first intra-ear pressure value according to the control signal to eliminate the pressure difference; After the step of detecting whether there is an abnormal audio signal according to the signal contrast, the method further includes: When the presence of the abnormal audio signal is detected according to the signal contrast, obtaining an in-ear audio signal to be analyzed and an out-of-ear audio signal to be analyzed; Analyzing and processing the acquired in-ear audio signal to be analyzed and the acquired out-ear audio signal to be analyzed to obtain audio data information; A cancellation signal is generated based on the audio data information, and the cancellation signal is played through a speaker in the headphone device, wherein the frequency and amplitude of the cancellation signal are the same as the frequency and amplitude of the audio data information, and the phase of the cancellation signal is opposite to the phase of the audio data information.

2. The headphone control method according to claim 1, wherein: The step of outputting a first notification signal of the pressure difference when it is determined based on the first in-ear pressure value and the first out-ear pressure value that a pressure difference exists comprises: Comparing the first intra-ear pressure value and the first extra-ear pressure value to obtain a pressure comparison value; When it is detected that the pressure comparison value exceeds a preset pressure threshold, it is determined that the pressure difference exists, and the first notification signal indicating the existence of the pressure difference is output.

3. The headphone control method according to claim 1, wherein: After the step of adjusting the first intra-ear pressure value conversion according to the control signal, the method further includes: Obtaining a second inner ear pressure value and a second outer ear pressure value; The second intra-ear pressure value and the second extra-ear pressure value are output.

4. The headphone control method according to claim 1, wherein: The step of acquiring the in-ear audio signal to be analyzed and the out-ear audio signal to be analyzed when the abnormal audio signal is detected according to the signal contrast comprises: When the presence of the abnormal audio signal is detected according to the signal contrast, determining that there is an audio difference; outputting a second notification signal indicating the presence of the audio difference, and detecting whether a confirmation signal fed back based on the second notification signal is received; When the confirmation signal fed back based on the second notification signal is received, the in-ear audio signal to be analyzed and the out-of-ear audio signal to be analyzed are acquired according to the confirmation signal.

5. The earphone control method according to any one of claims 1 to 4, characterized in that: The earphone control method further includes: When the playback signal is received, the speaker in the headphone device is controlled to play white noise.

6. A headphone control device, characterized in that: The earphone control device is applied to an earphone device, and the earphone control device includes: a judgment module, configured to obtain an in-ear audio signal to be detected and an out-ear audio signal to be detected; convert the in-ear audio signal to be detected into an in-ear digital signal to be detected, and convert the out-ear audio signal to be detected into an out-ear digital signal to be detected; compare the in-ear digital signal to be detected and the out-ear digital signal to be detected to obtain a signal contrast, and detect whether there is an abnormal audio signal based on the signal contrast; An acquisition module, configured to acquire a first in-ear pressure value and a first out-ear pressure value when detecting that the abnormal audio signal does not exist according to the signal contrast; The determination module is further configured to, when determining that a pressure difference exists based on the first in-ear pressure value and the first out-ear pressure value, output a first notification signal indicating the presence of the pressure difference, and receive a control signal based on feedback of the first notification signal; a control module, configured to adjust the first intra-ear pressure value according to the control signal to eliminate the pressure difference; The control module is further configured to: When the presence of the abnormal audio signal is detected according to the signal contrast, obtaining an in-ear audio signal to be analyzed and an out-of-ear audio signal to be analyzed; Analyzing and processing the acquired in-ear audio signal to be analyzed and the acquired out-ear audio signal to be analyzed to obtain audio data information; A cancellation signal is generated based on the audio data information, and the cancellation signal is played through a speaker in the headphone device, wherein the frequency and amplitude of the cancellation signal are the same as the frequency and amplitude of the audio data information, and the phase of the cancellation signal is opposite to the phase of the audio data information.

7. A headphone device, characterized in that: The headset device includes: a memory, a processor, and a headset control program stored in the memory and executable on the processor, wherein the headset control program is configured to implement the steps of the headset control method according to any one of claims 1 to 5.

8. A storage medium, characterized in that: The storage medium stores an earphone control program, and when the earphone control program is executed by the processor, the steps of the earphone control method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Method and device for detecting voice of earphone wearer and storage medium

    CN111933140A

  • Air pressure adjusting method and device, electronic equipment and storage medium

    CN113691905A

  • Air pressure adjusting device, air pressure adjustment method, and air pressure adjustment program

    JP2019055069A