Earphone configuration method and device, ear-jack earphone, storage medium and computer program product

By deploying capacitive sensors on clip-on headphones to detect wearing status and adaptively adjust channel mapping, the problem of left and right units being worn backwards in clip-on headphones is solved, improving audio output and user experience.

CN122120671APending Publication Date: 2026-05-29SHENZHEN BASEUS TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN BASEUS TECH CO LTD
Filing Date
2026-04-28
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

Clip-on open-back wireless stereo headphones are prone to having the left and right units worn backwards during use, leading to unbalanced audio output, poor microphone pickup, and in severe cases, echo and call failure, affecting the user experience.

Method used

By deploying capacitive sensors on each unit of the earcup headphones, the capacitance values ​​of the first and second regions are detected to determine the wearing status of the earcup units, and the channel mapping relationship and microphone settings are automatically adjusted when worn in reverse to achieve adaptive audio signal output.

Benefits of technology

It effectively corrects audio output abnormalities caused by wearing the headphones backwards, improving the audio signal output effect and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122120671A_ABST
    Figure CN122120671A_ABST
Patent Text Reader

Abstract

The application provides an earphone configuration method, an ear-joint earphone, a storage medium and a computer program product. The method comprises the following steps: after starting any one of the left ear unit and the right ear unit, detecting a first capacitance value of a first area and a second capacitance value of a second area through a capacitive sensor of the earphone unit; in the case of confirming that the earphone unit is in a wearing state, if the first capacitance value of the first area is greater than the second capacitance value of the second area, it is confirmed that the earphone unit is in a reverse wearing state according to the first capacitance value and the second capacitance value; in the case of the earphone unit being in a reverse wearing state, setting a sound channel mapping relationship as a reverse mapping relationship. Through the method, adaptive adjustment of the ear-joint earphone output audio signal can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wireless headphone technology, and in particular to a headphone configuration method, device, clip-on headphone, storage medium, and computer program product. Background Technology

[0002] With the rapid development of communication and audio technologies, headphones have become an indispensable audio device in people's daily lives. In recent years, headphone product forms have become increasingly diversified. Open Wearable Stereo (OWS) headphones, as a new type of open-back headphones that have emerged in recent years, do not require blocking the ear canal. They transmit sound waves to the ear through air conduction, providing users with an open listening experience and gaining popularity among users.

[0003] Among the various OWS (Overhead Sound) headphone designs, clip-on headphones stand out due to their unique structural design. To improve versatility and aesthetics, most clip-on headphones employ a symmetrical design. However, this symmetrical design often leads to users wearing them incorrectly, resulting in poor audio output and a significantly negative impact on the user experience. Summary of the Invention

[0004] To address the related technical issues, embodiments of this application provide a headphone configuration method, apparatus, clip-on headphone, storage medium, and computer program product.

[0005] The technical solution of this application embodiment is implemented as follows: This application provides a headphone configuration method applied to clip-on headphones. The clip-on headphones include a left ear unit and a right ear unit. Each ear unit has a sound-generating part, a connecting bridge, and a power supply part. The connecting bridge connects the sound-generating part and the power supply part respectively. In the wearing state, the connecting bridge clamps the sound-generating part and the power supply part to both sides of the auricle. The sound-generating part is located in the concha of the ear. The connecting bridge extends from the concha through the helix or earlobe to the back of the ear. The sound-generating part includes a capacitive sensor. After either the left ear unit or the right ear unit is activated, the method includes: The first capacitance value of the first region and the second capacitance value of the second region are detected by the capacitance sensor of the earphone unit; wherein the first region and the second region are located in the sound-emitting part of the earphone unit, and the first region is located above or below the second region when the earphone unit is in the wearing state; Based on the first capacitance value and the second capacitance value, if the first capacitance value of the first region is greater than the second capacitance value of the second region when the earphone unit is confirmed to be in the wearing state, then the earphone unit is confirmed to be in the reverse wearing state. When the earphone unit is worn in the reverse position, the channel mapping relationship is set to a reverse mapping relationship, wherein the reverse mapping relationship includes: the left ear unit corresponds to the right channel audio signal, and the right ear unit corresponds to the left channel audio signal.

[0006] In the above scheme, the step of confirming that the earphone unit is in a reverse wearing state if the first capacitance value is greater than the second capacitance value includes: If the first capacitance value is greater than the second capacitance value in multiple tests, it is confirmed that the earphone unit is in the reverse wearing state.

[0007] The method in the above scheme further includes: If the first capacitance value is less than the second capacitance value, then the earphone unit is confirmed to be in the forward wearing state; When the earphone unit is in the forward-facing wearing state, the channel mapping relationship is set to a forward mapping relationship, wherein the forward mapping relationship includes: the right ear unit corresponds to the right channel audio signal, and the left ear unit corresponds to the left channel audio signal.

[0008] In the above solution, the earphone unit is further provided with a first microphone and a second microphone; in the forward-facing wearing state, the first microphone is closer to the user's mouth than the second microphone, and in the reverse-facing wearing state, the second microphone is closer to the user's mouth than the first microphone; the method further includes: When the earphone unit is worn in the reverse position, the main microphone of the earphone unit is set as the second microphone.

[0009] In the above solution, setting the main microphone of the earphone unit as the second microphone includes: Set the call parameters of the second microphone to the first call parameters corresponding to the main microphone; Set the call parameters of the first microphone to the second call parameters corresponding to the microphone.

[0010] The method in the above scheme further includes: If the first capacitance value reaches a first preset threshold and the second capacitance value reaches a second preset threshold, then the earphone unit is confirmed to be in a wearing state.

[0011] The method in the above scheme further includes: The device sends wearing status information to the terminal, wherein the wearing status information is used to indicate whether the ear clip-on headphones are in a forward-facing or reverse-facing wearing state.

[0012] This application embodiment also provides an earphone configuration device applied to clip-on earphones. The clip-on earphones include a left ear unit and a right ear unit. Each earphone unit is equipped with a sound-generating part, a connecting bridge, and a power supply part. The connecting bridge connects the sound-generating part and the power supply part respectively. In the wearing state, the connecting bridge clamps the sound-generating part and the power supply part to both sides of the auricle. The sound-generating part is located in the concha of the ear. The connecting bridge extends from the concha through the helix or earlobe to the back of the ear. The sound-generating part includes a capacitive sensor. The device includes a first configuration module for: After either the left ear unit or the right ear unit is activated, the first capacitance value of the first region and the second capacitance value of the second region are detected by the capacitance sensor of the ear unit; wherein, the first region and the second region are located in the sound-emitting part of the ear unit, and when the ear unit is in the wearing state, the first region is located above or below the second region; Based on the first capacitance value and the second capacitance value, if the first capacitance value of the first region is greater than the second capacitance value of the second region when the earphone unit is confirmed to be in the wearing state, then the earphone unit is confirmed to be in the reverse wearing state. When the earphone unit is worn in the reverse position, the channel mapping relationship is set to a reverse mapping relationship, wherein the reverse mapping relationship includes: the left ear unit corresponds to the right channel audio signal, and the right ear unit corresponds to the left channel audio signal.

[0013] This application embodiment also provides a headphone configuration method applied to clip-on headphones. The clip-on headphones include a left ear unit and a right ear unit. Each ear unit is equipped with a sound-generating part, a connecting bridge, and a power supply part. The connecting bridge connects the sound-generating part and the power supply part respectively. In the wearing state, the connecting bridge clamps the sound-generating part and the power supply part to both sides of the auricle. The sound-generating part is located in the concha of the ear. The connecting bridge extends from the concha through the helix or earlobe to the back of the ear. The sound-generating part includes a capacitive sensor. After either the left ear unit or the right ear unit is activated, the method includes: The first capacitance value of the first region is detected by the capacitance sensor of the earphone unit; wherein the first capacitance value corresponding to the forward wearing state is different from the first capacitance value corresponding to the reverse wearing state; The first capacitance value of the first region is compared with the preset capacitance value to obtain the comparison result; Based on the comparison results, it is determined whether the earphone unit is in a forward-facing or reverse-facing wearing state; When the earphone unit is worn in the reverse position, the channel mapping relationship is set to a reverse mapping relationship, wherein the reverse mapping relationship includes: the left ear unit corresponds to the right channel audio signal, and the right ear unit corresponds to the left channel audio signal.

[0014] This application embodiment also provides an earphone configuration device applied to clip-on earphones. The clip-on earphones include a left ear unit and a right ear unit. Each earphone unit is equipped with a sound-generating part, a connecting bridge, and a power supply part. The connecting bridge connects the sound-generating part and the power supply part respectively. In the wearing state, the connecting bridge clamps the sound-generating part and the power supply part to both sides of the auricle. The sound-generating part is located in the concha of the ear. The connecting bridge extends from the concha through the helix or earlobe to the back of the ear. The sound-generating part includes a capacitive sensor. The device includes a second configuration module for: After either the left ear unit or the right ear unit is activated, the first capacitance value of the first region is detected by the capacitance sensor of the ear unit; wherein the first capacitance value corresponding to the forward wearing state is different from the first capacitance value corresponding to the reverse wearing state; The first capacitance value of the first region is compared with the preset capacitance value to obtain the comparison result; Based on the comparison results, it is determined whether the earphone unit is in a forward-facing or reverse-facing wearing state; When the earphone unit is worn in the reverse position, the channel mapping relationship is set to a reverse mapping relationship, wherein the reverse mapping relationship includes: the left ear unit corresponds to the right channel audio signal, and the right ear unit corresponds to the left channel audio signal.

[0015] This application embodiment also provides an ear-clip earphone, which includes a left ear unit and a right ear unit. Each ear unit is equipped with a sound-generating part, a connecting bridge, and a power supply part. The connecting bridge connects the sound-generating part and the power supply part respectively. In the wearing state, the connecting bridge clamps the sound-generating part and the power supply part on both sides of the auricle. The sound-generating part is located in the concha cavity of the ear. The connecting bridge extends from the concha cavity through the helix or earlobe to the back of the ear. The sound-generating part includes a capacitive sensor. The ear-clip earphone also includes a processor and a memory for storing a computer program that can run on the processor. When the processor runs the computer program, it executes the steps of the above method.

[0016] This application also provides a storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the above-described method.

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

[0018] The headphone configuration method, device, clip-on headphone, storage medium, and computer program product provided in this application, after either the left or right earphone unit is activated, detects the capacitance values ​​of a first region and a second region respectively using the capacitive sensor of the earphone unit. Based on the first capacitance value of the first region and the second capacitance value of the second region, it is determined whether the earphone unit is in a wearing state. If it is determined that the earphone unit is in a wearing state, it is further determined whether the earphone unit is in a reverse wearing state based on the first capacitance value corresponding to the first region and the second capacitance value corresponding to the second region. If the first capacitance value of the first region is greater than the second capacitance value of the second region, it is confirmed that the earphone unit is in a reverse wearing state. When the earphone unit is in a reverse wearing state, the channel mapping relationship of the audio signal is set to a reverse mapping relationship, which includes: the left earphone unit corresponds to the right channel audio signal, and the right earphone unit corresponds to the left channel audio signal. That is, when either earbud unit of the clip-on headphones is worn in the reverse position, when playing audio signals, the clip-on headphones play the right channel audio signal through the left earbud unit and the left channel audio signal through the right earbud unit, realizing adaptive adjustment of the audio signal output of the clip-on headphones, improving the output effect of the audio signal and enhancing the user experience. Attached Figure Description

[0019] Figure 1 This is a schematic diagram of an ear clip-on earphone in a wearing state according to an embodiment of this application; Figure 2 This is a schematic diagram of the hardware structure of an ear clip-on earphone provided in an embodiment of this application; Figure 3 This is a schematic diagram of the first and second regions of an ear clip-on headphone provided in an embodiment of this application; Figure 4 This is a schematic flowchart of an earphone configuration method provided in an embodiment of this application; Figure 5 This is a flowchart illustrating an application example of an earphone configuration method provided in this application embodiment; Figure 6 This is a schematic diagram of the structure of an earphone configuration device provided in an embodiment of this application. Detailed Implementation

[0020] To make the objectives, technical solutions, and advantages of this application clearer, the application will now be described in further detail with reference to the accompanying drawings.

[0021] OWS headphones, as a new type of open-back audio device that has emerged in recent years, take into account both the comfort and safety of headphone use, and provide users with an open listening experience. This can avoid ear canal swelling and pain and hygiene risks caused by wearing headphones for a long time, and also allow users to perceive the surrounding environmental sounds while listening to audio.

[0022] Among the various forms of OWS headphones, clip-on headphones are favored by many users due to their unique design structure. Clip-on headphones use a flexible clip structure, allowing the headphones to be worn like earrings on either side of the ear, achieving a comfortable fit without needing to enter the ear canal. Clip-on headphones do not compress the ear canal, making them especially suitable for extended use scenarios such as business offices and daily commutes, further optimizing the convenience and comfort of OWS headphones.

[0023] For example, clip-on headphones such as Figure 1 As shown, the clip-on earphones consist of a first part, a connecting bridge, and a second part. The connecting bridge connects the first and second parts. In the wearing position, the connecting bridge typically uses a C-shaped, flexible clamping structure, holding the first and second parts on either side of the auricle. The first part is located within the concha of the ear, and the connecting bridge extends from the concha through the helix or earlobe to the back of the ear, thus achieving a non-in-ear wearing effect. In the forward-facing wearing position, the first part is located at the front of the auricle and is used to provide audio signals. The first part can also be called the sound-generating part or the front end. The second part is located at the back of the auricle and is used to integrate components such as the battery and main control chip. The second part can also be called the control part, power supply part, or rear end.

[0024] Clip-on headphones typically consist of two earphone units. These two earphone units are usually designated for left and right ear wear. That is, one earphone unit is the left earphone unit, and the other is the right earphone unit. When the clip-on headphones are worn in the correct orientation, the left earphone unit is worn in the user's left ear, and the right earphone unit is worn in the user's right ear.

[0025] The left and right earcups of clip-on headphones can communicate wirelessly. For example, they can communicate via Bluetooth, Wi-Fi, or other wireless methods. This allows for audio data synchronization and battery status synchronization between the left and right earcups, providing a better user experience.

[0026] To improve versatility and aesthetics, clip-on earphones typically employ a symmetrical design, meaning the left and right ear units are virtually identical in appearance. Because the left and right sides of clip-on earphones are nearly identical, users may accidentally wear the earphones backwards. If the left earphone is worn in the right ear and the right earphone in the left ear, it will directly lead to abnormal audio output and sound pickup performance. For example, clip-on earphones may experience uneven sound output, poor microphone pickup, and in severe cases, echo, call failure, and other call quality issues, significantly degrading the user experience.

[0027] Based on this, this application provides an earphone configuration scheme for clip-on earphones. The clip-on earphone includes a left ear unit and a right ear unit. Each earphone unit has a sound-generating part, a connecting bridge, and a power supply part. The connecting bridge connects the sound-generating part and the power supply part respectively. In the wearing state, the connecting bridge clamps the sound-generating part and the power supply part to both sides of the auricle. The sound-generating part is located within the concha of the ear, and the connecting bridge extends from the concha through the helix or earlobe to the back of the ear. The sound-generating part of each earphone unit includes a capacitance sensor. After either the left or right earphone unit is activated, a first capacitance value in a first region is detected by the capacitance sensor of the earphone unit.

[0028] The first area is located in the sound-emitting part of the earphone unit, and it can contact the user's ear when worn. Under the influence of gravity, the first capacitance value corresponding to the forward-facing wearing state is different from the first capacitance value corresponding to the reverse-facing wearing state. Therefore, the forward-facing or reverse-facing wearing state of the earphone unit can be determined by the first capacitance value of the first area. After obtaining the first capacitance value of the first area, it is compared with a preset capacitance value (which can be set according to the actual application scenario). The comparison result determines whether the earphone unit is in the forward-facing or reverse-facing wearing state. For example, if the first capacitance value of the first area is greater than the preset capacitance value, the earphone unit is confirmed to be in the forward-facing wearing state. If the first capacitance value of the first area is greater than the preset capacitance value, the earphone unit is confirmed to be in the reverse-facing wearing state.

[0029] When the earphone units are worn in the reverse orientation, the channel mapping is set to a reverse mapping relationship, which includes: the left ear unit corresponds to the right channel audio signal, and the right ear unit corresponds to the left channel audio signal. That is, when either earphone unit of the clip-on headphones is worn in the reverse orientation, during audio signal playback, the clip-on headphones play the right channel audio signal through the left ear unit and the left channel audio signal through the right ear unit. This achieves adaptive adjustment of the output audio signal, improving the audio signal output effect and enhancing the user experience.

[0030] In some implementations, the earphone unit also includes a first microphone and a second microphone. In the forward-facing wearing position, the first microphone is closer to the user's mouth than the second microphone; in the reverse-facing wearing position, the second microphone is closer to the user's mouth than the first microphone. When the earphone unit is in the reverse-facing wearing position, setting the main microphone of the earphone unit as the second microphone includes: setting the call parameters of the second microphone to the first call parameters corresponding to the main microphone; and setting the call parameters of the first microphone to the second call parameters corresponding to the secondary microphone.

[0031] This application also provides an earphone configuration scheme, in which a capacitive sensor is deployed in each earphone unit, and a first area and a second area for detection by the capacitive sensor are provided in the sound-emitting part of each earphone unit. When the earphone unit is in the wearing state, the first area is located above or below the second area, and both the first area and the second area are in contact with the ear.

[0032] After either the left or right earbud unit is activated, the capacitance values ​​of a first region and a second region are detected by the capacitive sensors of the earbud unit. The first capacitance value of the first region and the second capacitance value of the second region are used to determine whether the earbud unit is being worn. If the earbud unit is determined to be worn based on the first capacitance value of the first region and the second capacitance value of the second region, it is then determined whether the earbud unit is being worn in reverse. If the first capacitance value of the first region is greater than the second capacitance value of the second region, the earbud unit is confirmed to be worn in reverse. When the earbud unit is worn in reverse, the channel mapping relationship of the audio signal is set to a reverse mapping relationship, whereby the left earbud unit corresponds to the right channel audio signal, and the right earbud unit corresponds to the left channel audio signal. That is, when either earbud unit of the clip-on earphone is worn in reverse, when playing audio signals, the clip-on earphone plays the right channel audio signal through the left earbud unit and the left channel audio signal through the right earbud unit, achieving adaptive adjustment of the output audio signal, improving the output effect of the audio signal, and enhancing the user experience.

[0033] In this embodiment, a capacitive sensor is reused to achieve wear detection and reverse-wear detection, thereby enabling adaptive adjustment of the audio signals output by the left and right units of the clip-on earphone. By using the capacitive sensor to detect the difference in capacitance values ​​between the upper and lower areas of the earphone unit when worn, the left and right wearing status is determined, thereby automatically correcting abnormal audio output function caused by reverse wearing and improving the user experience.

[0034] The headphone configuration scheme provided in the embodiments of this application will be described below with reference to the accompanying drawings. For ease of understanding, the hardware structure of the clip-on headphones provided in the embodiments of this application will be introduced first.

[0035] As described above, the ear-clip earphone in this embodiment includes two earphone units, namely, a left earphone unit and a right earphone unit. Each earphone unit of the ear-clip earphone mainly includes a main control chip, a capacitive sensor, an audio processing module, and a communication module. The main control chip is connected to the capacitive sensor, the audio processing module, and the communication module, respectively.

[0036] The capacitance sensor is responsible for collecting capacitance data from the first and second regions of the earphone unit and transmitting this data to the main control chip. To easily distinguish between the capacitance values ​​of the first and second regions, this paper refers to the capacitance value of the first region as the first capacitance value and the capacitance value of the second region as the second capacitance value. The first or second capacitance value is generated by the contact between the first or second region and the skin inside the ear clip cavity. The first capacitance value corresponding to the forward-facing wearing state differs from the first capacitance value corresponding to the reverse-facing wearing state, and the second capacitance value corresponding to the forward-facing wearing state also differs from the second capacitance value corresponding to the reverse-facing wearing state.

[0037] In terms of selection and installation, high-precision, high-sensitivity capacitive sensors with fast response capabilities can be chosen. These sensors can accurately detect minute changes in capacitance when the earphone unit comes into contact with the ear and quickly feed this capacitance value back to the main control chip. The two electrodes of the capacitive sensor are installed in the first and second areas of the earphone unit's sound-producing section, respectively. The output of the capacitive sensor is connected to the input port of the main control chip via a dedicated circuit, ensuring the stability and accuracy of the capacitance value data transmission.

[0038] The main control chip is responsible for receiving capacitance data from the capacitance sensor and analyzing and processing it. For example, the main control chip receives real-time capacitance data from the capacitance sensor and performs preprocessing operations such as filtering and calibration to improve the reliability of the capacitance data. The main control chip monitors changes in capacitance data in real time to determine whether the earphone is being worn (i.e., in a wearing state), and uses the first and second capacitance values ​​to determine the correct orientation of the earphone unit. Based on the determination result, it sends adjustment commands to the audio processing module, instructing the audio processing module to adjust the audio signal output configuration and call configuration. The audio processing module adjusts the audio signal output channels and call parameters according to the received adjustment commands. The main control chip can also send control commands to the communication module based on the determination results. The communication module sends wearing status information to the terminal based on the received control commands, so that the terminal can display the wearing status information of the ear-clip earphone to the user, such as showing whether the ear-clip earphone is in a correct or incorrect wearing state.

[0039] The correct wearing orientation can be understood as the left earbud unit of the clip-on earphone being worn in the user's left ear, and the right earbud unit being worn in the user's right ear. The incorrect wearing orientation can be understood as the left earbud unit of the clip-on earphone being worn in the user's right ear, and the right earbud unit being worn in the user's left ear.

[0040] The hardware structure of clip-on headphones is illustrated below with an application example. For example, as shown... Figure 2 As shown, the earphone unit of the clip-on earphone provided in this application example includes: a microcontroller unit (MCU) (i.e., an example of a main control chip), a capacitive sensor, an audio processing module, a communication module, a microphone, a speaker, a power management module, a charging module, a battery, a battery protection chip, and a charging pin.

[0041] The microprocessor unit, serving as the control and processing center of the headphone unit, is electrically connected to the communication module, audio processing module, capacitance sensor, and power management module, enabling core control and data interaction for the headphone unit. For example, the microprocessor unit receives capacitance value data from the capacitance sensor, analyzes and processes this data, and controls the audio processing module to adjust the audio signal output configuration and call settings. The microprocessor unit can also be a Bluetooth microprocessor unit to enable Bluetooth communication functionality for the headphone unit.

[0042] The capacitance sensor acquires the capacitance value sensed by the capacitance sensing electrode in the first region through the first channel, and acquires the capacitance value sensed by the capacitance sensing electrode in the second region through the second channel, corresponding to the second region, and transmits the acquired capacitance value data to the microprocessor unit.

[0043] The audio processing module is connected to two microphones and a speaker to realize the input and output of audio signals, and adjusts the output configuration of audio signals and the call configuration according to the instructions of the microprocessor unit.

[0044] Microphones (two microphones) are used to collect external sound signals, such as the user's voice signal.

[0045] A speaker is used to provide audio data playback functionality.

[0046] The communication module includes an antenna and a low-pass filter. The antenna is used to transmit and receive Bluetooth radio frequency signals, establishing a wireless communication link between the headset unit and the terminal, enabling communication between the headset unit and the terminal. The low-pass filter is used to filter out interference noise in the radio frequency signal, improving the signal-to-noise ratio and stability of the communication link, and ensuring the reliability of the Bluetooth connection. The communication module can be integrated into the Bluetooth MCU, or it can be connected to the Bluetooth MCU as a separate module.

[0047] The power management module is used to convert the voltage provided by the charging module into the operating voltage of each module, providing voltage regulation, power distribution and power control functions.

[0048] The charging module connects to the charging pins and receives electrical energy from the charging compartment through these pins. The charging module is also used to charge the battery.

[0049] The battery provides continuous power to the headphone unit. The battery can be a rechargeable lithium-ion battery.

[0050] In some implementations, a battery protection chip is also configured between the charging module and the battery. This chip monitors the battery's voltage, current, and temperature to protect it.

[0051] The charging pin, as the physical charging interface, is used to connect to the charging compartment and transmit the electrical energy provided by the charging compartment to the charging module.

[0052] In this embodiment, each earphone unit of the clip-on earphone is provided with a first area and a second area for detection by a capacitive sensor. The first area and the second area are located on the sound-emitting part of the earphone unit. The first area and the second area are located on both sides of the connection between the sound-emitting part and the connection bridge, with the connecting bridge as the axis of symmetry. When the earphone unit is in the wearing state, the first area is located above or below the second area, and both the first area and the second area are in contact with the ear. When the earphone unit is in the forward-facing wearing state, the first area is located above the second area. When the earphone unit is in the reverse-facing wearing state, the first area is located below the second area. Figure 3 This diagram shows the first region located above the second region when the earphone unit is in the forward-facing wearing position.

[0053] Capacitive sensing electrodes, such as capacitive sensing copper foil, are disposed on the first and second regions. The capacitive sensor has multiple detection channels, each corresponding to a capacitive sensing electrode. For example, the capacitive sensor includes a first channel and a second channel. The first channel corresponds to the first region, and the capacitive sensor acquires the capacitance value sensed by the capacitive sensing electrode in the first region through the first channel. The second channel corresponds to the second region, and the capacitive sensor acquires the capacitance value sensed by the capacitive sensing electrode in the second region through the second channel.

[0054] Based on the aforementioned hardware structure of clip-on headphones, this application provides a headphone configuration method. For example, taking either the left or right earbud unit of a clip-on headphone as an example, after that earbud unit is activated, as... Figure 4 As shown, the method includes the following steps: Step 401: Detect the first capacitance value of the first region and the second capacitance value of the second region using a capacitance sensor; Step 402: Based on the first capacitance value and the second capacitance value, if the first capacitance value of the first region is greater than the second capacitance value of the second region when the earphone unit is confirmed to be in the wearing state, then the earphone unit is confirmed to be in the reverse wearing state. Step 403: When the earphone units are in the reverse wearing state, set the channel mapping relationship to a reverse mapping relationship, which includes: the left ear unit corresponds to the right channel audio signal, and the right ear unit corresponds to the left channel audio signal.

[0055] In practical applications, if any earbud unit of the clip-on earphone is removed from the charging case, that earbud unit will start up. For example, if any earbud unit detects that the voltage on the charging pin changes from a high level to a low level, it will power on. After any earbud unit starts up, it will execute a wear detection process. That is, the earbud unit detects a first capacitance value in a first area using a capacitance sensor, and a second capacitance value in a second area using a capacitance sensor.

[0056] When any earphone unit approaches or touches the user's ear, due to the conductivity of the human body, the capacitance sensing electrodes in the first and second regions of the earphone unit may sense a change in capacitance value. Thus, the earphone unit determines whether the earphone unit is being worn by the user based on the detected capacitance values ​​in the first and second regions, that is, whether it is in a wearing state.

[0057] For example, the capacitive sensor of the earphone unit periodically detects a first capacitance value in a first region and a second capacitance value in a second region, and transmits the detected first and second capacitance values ​​to the main control chip. If the earphone unit detects that the first capacitance value in the first region or the second capacitance value in the second region reaches a preset threshold, the main control chip of the earphone unit confirms that the earphone is in a wearing state.

[0058] To improve the accuracy of wear detection and reduce the probability of false positives, some implementations determine that the earphone unit is in a wearing state when both the first capacitance value in the first region and the second capacitance value in the second region reach their respective preset thresholds. For example, the main control chip of the earphone unit determines whether the first capacitance value in the first region reaches a first preset threshold and whether the second capacitance value in the second region reaches a second preset threshold. If the first capacitance value in the first region reaches the first preset threshold and the second capacitance value in the second region reaches the second preset threshold, the main control chip determines that the earphone unit is in a wearing state.

[0059] The first preset threshold is a preset threshold corresponding to the first capacitance value, and the first preset threshold is greater than the initial capacitance value corresponding to the first region. The second preset threshold is a preset threshold corresponding to the second capacitance value, and the second preset threshold is greater than the initial capacitance value corresponding to the second region. The first preset threshold and the second preset threshold can be set according to actual applications, and the specific values ​​of the first preset threshold and the second preset threshold are not limited in this application embodiment. The first preset threshold can be the same as or different from the second preset threshold.

[0060] Understandably, during the initial setup of clip-on headphones, the first and second channels of the capacitance sensor for each earbud unit are calibrated with corresponding initial capacitance values. Specifically, the upper channel (first channel) of the left earbud unit collects the capacitance value of the first region of the left earbud unit, and the lower channel (second channel) of the left earbud unit collects the capacitance value of the second region of the left earbud unit; similarly, the upper channel (first channel) of the right earbud unit collects the capacitance value of the first region of the right earbud unit, and the lower channel (second channel) of the right earbud unit collects the capacitance value of the second region of the right earbud unit. Under normal temperature conditions, when the clip-on headphones are stationary and not worn, the capacitance sensor of each earbud unit reads the capacitance values ​​of the upper and lower channels respectively, and marks these values ​​as the initial capacitance values ​​corresponding to the upper and lower channels, respectively.

[0061] In this embodiment, if both the first and second capacitance values ​​reach their corresponding preset thresholds, the earphone unit is considered to be in a wearing state; if neither the first nor the second capacitance value reaches its corresponding preset threshold, the earphone unit is considered to be in a non-wearing state. The capacitance value of the first or second area of ​​the earphone unit may increase due to being touched. If the wearing state is determined solely by the capacitance value of a single area, the user's hand touching the earphone unit may be mistakenly interpreted as wearing, leading to inaccurate wearing detection. By simultaneously determining whether the capacitance values ​​of two separate areas (i.e., the first and second areas) are both greater than their corresponding preset thresholds, misjudgments caused by environmental interference, accidental touches, or other non-wearing factors can be effectively avoided, improving the accuracy of wearing detection.

[0062] For any given earphone unit, once it's confirmed that the earphone unit is in a wearing state based on the first capacitance value of the first region and the second capacitance value of the second region, the earphone unit performs a left / right wearing detection process to determine whether the earphone unit is in a reverse wearing state. For example, the main control chip reads the first capacitance value corresponding to the first region and the second capacitance value corresponding to the second region transmitted by the capacitance sensor, and determines whether the first capacitance value is greater than the second capacitance value.

[0063] If the first capacitance value is less than or equal to the second capacitance value, the main control chip confirms that the earphone unit is in the correct wearing position. That is, if the earphone unit is the left ear unit, the earphone unit is worn in the user's left ear; if the earphone unit is the right ear unit, the earphone unit is worn in the user's right ear.

[0064] If the first capacitance value is greater than the second capacitance value, the main control chip confirms that the earphone unit is in a reverse wearing state. That is, if the earphone unit is the left ear unit, the earphone unit is worn in the user's right ear; if the earphone unit is the right ear unit, the earphone unit is worn in the user's left ear.

[0065] Understandably, when the earphone unit is worn normally (i.e., in the forward-facing position), the first area of ​​the earphone unit is above the second area. Due to gravity, the second area of ​​the earphone unit has a larger contact area with the user's ear compared to the first area. Therefore, in the forward-facing position, the second capacitance value of the second area will be greater than the first capacitance value of the first area. Conversely, when the earphone unit is worn backwards, the first area of ​​the earphone unit is below the second area. Due to gravity, the first area of ​​the earphone unit has a larger contact area with the user's ear compared to the second area. Therefore, in the backwards position, the first capacitance value of the first area will be greater than the second capacitance value of the second area. Based on this characteristic of clip-on earphones, by comparing the capacitance values ​​of the first and second areas of any earphone unit, it can be determined whether the clip-on earphones are worn normally. If the first capacitance value of one earphone unit is greater than the second capacitance value, or if the first capacitance values ​​of both earphone units are greater than the second capacitance values, then the clip-on earphones are confirmed to be worn backwards.

[0066] To improve the accuracy of left and right wearing detection, some implementations can incorporate a fault tolerance mechanism during the left and right wearing detection process.

[0067] In one example, during left / right wearing detection, the main control chip compares the first capacitance value of the first region with the second capacitance value of the second region multiple times (e.g., 4 times, 5 times, etc.). If the first capacitance value of the first region is less than the second capacitance value of the second region in all multiple tests, the main control chip confirms that the earphone unit is in the correct wearing position. If the first capacitance value of the first region is greater than the second capacitance value of the second region in all multiple tests, the main control chip confirms that the earphone unit is in the incorrect wearing position. This method reduces misjudgments caused by environmental interference, accidental touches, or other factors, improving the accuracy of left / right wearing detection.

[0068] In another example, during left / right wearing detection, the main control chip repeatedly compares the first capacitance value of the first region with the second capacitance value of the second region. If the number of times the first capacitance value of the first region is less than the second capacitance value of the second region reaches a preset number of detections, the main control chip confirms that the earphone unit is in the forward-facing wearing state. If the number of times the first capacitance value of the first region is greater than the second capacitance value of the second region reaches a preset number of detections, the main control chip confirms that the earphone unit is in the reverse-facing wearing state. By statistically analyzing the cumulative number of detections where the first capacitance value is less than or greater than the second capacitance value, and determining that the earphone unit is in the forward-facing or reverse-facing wearing state when the cumulative number of detections reaches a preset number, the misjudgment caused by environmental interference, accidental touches, or other factors can be reduced, thus improving the accuracy of left / right wearing detection.

[0069] In another example, the main control chip can also calculate the average value of the first capacitance value and the average value of the second capacitance value within the same preset time period, and determine whether the average value of the first capacitance value is greater than the average value of the second capacitance value. If the average value of the first capacitance value is less than the average value of the second capacitance value, the main control chip confirms that the earphone unit is in the forward-facing wearing state. If the average value of the first capacitance value is greater than the average value of the second capacitance value, the main control chip confirms that the earphone unit is in the reverse-facing wearing state. In this way, the detection error of capacitance value data can be reduced, and the accuracy of left and right wearing detection can be improved.

[0070] To improve the accuracy of left / right wearing detection, in some implementations, the main control chip can also calculate the capacitance difference between a first capacitance value and a second capacitance value during the left / right wearing detection process. This capacitance difference is used to determine the correct wearing position of the earphone unit. For example, if the first capacitance value is greater than the second capacitance value, and the capacitance difference between the two values ​​is greater than a preset tolerance threshold, then the earphone unit is confirmed to be worn in the reverse position. If the first capacitance value is less than the second capacitance value, and the capacitance difference between the two values ​​is greater than the preset tolerance threshold, then the earphone unit is confirmed to be worn correctly.

[0071] Understandably, if the capacitance difference between the first and second regions is less than a preset tolerance threshold, this could be due to touch operations performed by the user when adjusting the earphone unit, without changing the correct wearing orientation of the earphone unit. Therefore, when the capacitance difference between the first and second regions is less than the preset tolerance threshold, the main control chip can wait for the first and second capacitance values ​​to stabilize before making a judgment, i.e., confirming whether the earphone unit is in the correct or incorrect wearing orientation. This improves the accuracy of left / right wearing detection.

[0072] After the main control chip confirms the correct orientation of the earphone unit, it uses the audio processing module to adaptively configure the audio signal based on this orientation, such as adjusting the output configuration of the audio signal.

[0073] When the earphone units are in the forward-facing wearing position, the main control chip sets the channel mapping relationship to a forward mapping relationship. This forward mapping relationship includes: the right ear unit corresponds to the right channel audio signal, and the left ear unit corresponds to the left channel audio signal. When an audio signal is being played, the ear-clip headphones output the right channel audio signal through the right ear unit and the left channel audio signal through the left ear unit.

[0074] When the earphone units are worn in the reverse position, the main control chip sets the channel mapping relationship to a reverse mapping relationship, which includes: the left ear unit corresponds to the right channel audio signal, and the right ear unit corresponds to the left channel audio signal. When an audio signal is being played, the clip-on earphones output the right channel audio signal through the left ear unit and the left channel audio signal through the right ear unit.

[0075] In this way, clip-on headphones can adaptively adjust the channel mapping based on whether they are worn correctly or incorrectly. When any earphone unit is detected to be worn incorrectly, the channel mapping is adjusted to switch the left channel audio signal, originally set for the left ear unit, to the right ear unit, and the right channel audio signal, originally set for the right ear unit, to the left ear unit. Even when the clip-on headphones are worn incorrectly, they can still provide users with audio signals that are compatible with both ears, minimizing the possibility of users hearing the left and right channels reversed due to the clip-on headphones being worn incorrectly, thus improving the user experience.

[0076] To further enhance the user experience, in some implementations, the headphone unit can also adaptively adjust the call configuration of the audio signal.

[0077] To provide users with a better call experience, one or more earbud units of clip-on earphones are equipped with dual microphones. For example, the left earbud unit of a clip-on earphone may have two microphones, or the right earbud unit may have two microphones, or both the left and right earbud units may each have two microphones. The two microphones in the earbud units work together to improve call quality.

[0078] When the earphone unit is in the wearing position, the two microphones are positioned vertically. For ease of description, one of the two microphones in this article will be referred to as the first microphone, and the other as the second microphone. In the forward-facing wearing position, the first microphone is closer to the user's mouth than the second microphone; in the reverse-facing wearing position, the second microphone is closer to the user's mouth than the first microphone.

[0079] When the main control chip of any earphone unit confirms that the earphone unit is worn in the reverse position, the main control chip uses the audio processing module to set the main microphone of the earphone unit as the second microphone and the secondary microphone as the first microphone. For example, the main control chip uses the audio processing module to set the call parameters of the second microphone to the first call parameters corresponding to the main microphone, and sets the call parameters of the first microphone to the second call parameters corresponding to the secondary microphone.

[0080] When the earphone unit is in the forward-facing wearing position, the main control chip uses the audio processing module to set the main microphone of the earphone unit as the first microphone and the secondary microphone as the second microphone. For example, the main control chip uses the audio processing module to set the call parameters of the first microphone to the first call parameters corresponding to the main microphone, and sets the call parameters of the second microphone to the second call parameters corresponding to the secondary microphone.

[0081] In this way, the microphone closer to the user's mouth can act as the main microphone to collect the user's voice signal, while the microphone farther away from the user's mouth can act as a secondary microphone to achieve noise reduction. This enables adaptive adjustment of call configuration, providing users with high-quality voice calls even when the ear clip-on headphones are worn backwards, thus improving the user experience.

[0082] The aforementioned call parameters include one or more of the following: gain parameters, pickup parameters, and noise reduction parameters.

[0083] Gain parameters are used to adjust the amplification factor of the audio signal captured by the microphone. For example, in order to amplify the user's voice signal and suppress ambient noise, the gain parameter in the first call parameters used by the main microphone is larger, and the gain parameter in the second call parameters used by the secondary microphone is smaller.

[0084] The pickup parameters are used to indicate the primary pickup method of the microphone. For example, in order to capture the voice signal from the user's mouth and reduce lateral environmental interference, the pickup parameters in the first call parameters used by the main microphone are configured to adopt a directional pickup mode, thereby primarily capturing audio signals from the direction of the user's mouth; the pickup parameters in the second call parameters used by the secondary microphone are configured to adopt an omnidirectional pickup mode, thereby comprehensively capturing audio signals from the surrounding environment.

[0085] Noise reduction parameters are used to suppress ambient background noise and optimize the speech signal. To filter background noise based on the speech signal, the noise reduction parameters in the first call parameters used by the main microphone indicate the suppression of ambient noise and prioritize the preservation of the speech signal; the noise reduction parameters in the second call parameters used by the secondary microphone indicate the preservation of complete ambient noise and provide a noise reference for the noise reduction process.

[0086] It's understandable that clip-on headphones perform noise reduction processing on the audio signals collected by two microphones, filtering out ambient noise from the speech signal. The main microphone is closer to the user's mouth and primarily picks up the user's speech signal. The secondary microphone is farther from the user's mouth and primarily picks up ambient noise signals. Taking the audio signal collected by the main microphone as the first audio signal and the audio signal collected by the secondary microphone as the second audio signal, clip-on headphones perform differential processing on the first and second audio signals to cancel out environmental interference from the second audio signal, thus obtaining a noise-reduced speech signal. When the earphone units are worn backwards, the physical positions of the two microphones are reversed. The microphone that was originally closer to the user's mouth is now farther away and can only pick up ambient noise signals, while the microphone that was originally farther away is now closer to the user's mouth and picks up the user's speech signal. If differential processing is still performed on the first and second audio signals in this case, the speech signal may be filtered out as noise, resulting in the loss of valid speech signals and severely affecting call quality. In this embodiment of the application, by adaptively adjusting the call configuration, problems such as call abnormalities caused by voice signal loss due to reverse wearing can be effectively avoided, thereby improving the stability of call performance.

[0087] In some implementations, after determining the correct wearing position, the ear clip-on headphones can also send wearing status information to the terminal, which is used to indicate whether the ear clip-on headphones are in the correct or incorrect wearing position.

[0088] The terminal in this application embodiment can be a mobile phone, tablet computer, desktop computer, laptop computer, handheld computer, notebook computer, super mobile personal computer, netbook, as well as cellular phone, personal digital assistant (PDA), augmented reality (AR) / virtual reality (VR) device, etc. This application embodiment does not impose any special restrictions on the specific form of the terminal.

[0089] For example, taking a mobile phone as the terminal, the clip-on earphones connect to the phone via Bluetooth. After determining the correct wearing position, the clip-on earphones send wearing status information to the phone. Upon receiving the wearing status information, the phone can indicate the correct wearing position of the clip-on earphones. For instance, after receiving the wearing status information, the phone can display a prompt or message on the screen indicating whether the clip-on earphones are worn correctly (positive or negative) to remind the user of the wearing status.

[0090] In some implementations, clip-on earphones can also adaptively adjust user configurations based on the collected first and second capacitance values, thereby adapting to different users' wearing habits and improving the user experience. For example, after collecting the first and second capacitance values, the clip-on earphones compare these values ​​with user wearing data in a user wearing feature database to determine the current user's characteristics. If the user's characteristics are determined to be small ears and a loose fit, the clip-on earphones lower the capacitance detection threshold, i.e., reduce the aforementioned first and second preset thresholds, thereby improving the sensitivity of the wearing detection. If the user's characteristics are determined to be large ears and a tight fit, the clip-on earphones increase the audio signal output volume, enabling the user to hear audio clearly.

[0091] The following is combined with Figure 5 This application example illustrates the headphone configuration method provided in this embodiment. Taking either the left or right earphone unit of an earbud-style headphone as an example, the headphone configuration method provided in this application example includes the following steps: Step 501: Power on and start up.

[0092] Step 502: Determine whether the earphone is being worn; if the earphone is being worn, proceed to step 503; if the earphone is not being worn, repeat step 502.

[0093] After the headphone unit is powered on, it uses a capacitance sensor to detect the first capacitance value in the first area and the second capacitance value in the second area.

[0094] If the first capacitance value reaches the first preset threshold and the second capacitance value reaches the second preset threshold, it is confirmed that the headphone unit is in the wearing state. In this case, the headphone unit continues to execute step 503.

[0095] If the first capacitance value is less than the first preset threshold, or the second capacitance value is less than the second preset threshold, then the headphone unit is confirmed to be in a non-wearing state. In this case, the headphone unit repeats the wearing detection, that is, repeats this step.

[0096] Step 503: Read the first capacitance value sensed by the first channel and the second capacitance value sensed by the second channel; When the earphone unit is in the wearing state, the earphone unit reads the first capacitance value sensed by the capacitance sensor through the first channel and the second capacitance value sensed by the second channel.

[0097] Step 504: Determine whether the value of the first capacitor is greater than the value of the second capacitor; if the value of the first capacitor is greater than the value of the second capacitor, proceed to step 505; if the value of the first capacitor is less than the value of the second capacitor, proceed to step 506. The earphone unit performs left and right wearing detection based on the read first capacitance value and second capacitance value, that is, it determines whether the first capacitance value is greater than the second capacitance value.

[0098] If the first capacitance value is greater than the second capacitance value, it is confirmed that the earphone unit is in the reverse wearing state. In this case, the earphone unit executes step 505.

[0099] If the first capacitance value is less than the second capacitance value, it is confirmed that the headphone unit is in the correct wearing position. In this case, the headphone unit executes step 506.

[0100] Step 505: With the earphone unit in the reverse wearing position, adjust the channel mapping relationship of the audio signal and adjust the master-slave setting of the microphone; When the headphone unit is worn in the reverse position, if the headphone unit's audio settings are at their default settings—that is, if the headphone unit's channel mapping (i.e., output configuration) is in the forward mapping (i.e., default channel mapping) and the microphone master / slave setting is the default master / slave setting (i.e., the master microphone is the first microphone and the slave microphone is the second microphone)—the headphone unit will adjust its audio settings.

[0101] That is, the headphone unit adjusts the channel mapping relationship of the audio signal, such as switching the channel mapping relationship from a forward mapping relationship to a reverse mapping relationship. At the same time, the headphone unit adjusts the master / slave setting of the microphone, such as switching the master microphone from the first microphone to the second microphone, and switching the slave microphone from the second microphone to the first microphone.

[0102] Step 506: With the earphone unit in the correct wearing position, maintain the default settings; When the headphone unit is in the forward-facing wearing position, if the headphone unit's audio settings are at their default settings, then those default settings will remain. That is, the headphone unit's channel mapping is forward-facing, with the headphone unit's main microphone being the first microphone and the secondary microphone being the second microphone.

[0103] After the above steps, the earphone unit completes its adaptive configuration. While the earbuds are powered on, each earphone unit continuously performs wear detection and left / right wear checks to promptly detect whether the earphone unit is being worn correctly and whether it is worn in the wrong orientation. This allows for adaptive adjustments based on the earphone's correct wearing orientation, improving the user experience.

[0104] The solution provided in this application effectively solves audio output and call problems caused by incorrect left or right ear wearing, ensuring a good user experience regardless of how the earphone is worn. By reusing a capacitive sensor for wearing detection and left / right ear wearing detection, audio settings are automatically adjusted without manual user intervention, lowering the user barrier, improving the usability and adaptability of clip-on earphones, and enhancing product competitiveness. Furthermore, complex adaptive functions can be achieved using a capacitive sensor and simple logic, improving the intelligence level of clip-on earphones and optimizing product design without increasing cost or size.

[0105] In this embodiment of the application, in order to ensure that all functions of the OWS ear-clip headphones meet the design requirements, the ear-clip headphones also underwent comprehensive and systematic functional testing after assembly: simulating various actual wearing scenarios, including typical scenarios such as forward wearing and backward wearing, testing the accuracy of wearing detection (e.g., whether it can quickly identify the wearing state / not wearing state), the accuracy of left and right wearing checks (e.g., whether it can accurately determine the forward wearing state / backward wearing state), and the adaptive effect of audio adjustment and call optimization when wearing backwards; at the same time, under different environmental conditions (such as different temperatures, humidity, and electromagnetic interference environments), testing the performance stability and operational reliability of the ear-clip headphones in various environments, investigating functional abnormalities caused by environmental factors, and ensuring that the ear-clip headphones can still work normally in complex usage scenarios.

[0106] Based on the functional testing results, targeted performance optimizations were performed on the hardware and software of the earbuds to address the issues identified during testing, ensuring optimal performance across all aspects. On the hardware side, the installation position of the capacitive sensor was adjusted to optimize the contact fit between the sensor electrodes and the ear. Simultaneously, the circuit parameters of the capacitive sensor were adjusted to improve its accuracy and stability. On the software side, the parameter settings and execution flow of the wear detection algorithm, left / right wear recognition algorithm, and adaptive adjustment algorithm were optimized to improve the speed and accuracy of the earbuds' judgments and reduce the false positive rate. Furthermore, the power consumption of the earbuds was simultaneously optimized. By optimizing the main control chip's operating logic and adjusting the module wake-up strategy, the power consumption of the earbuds was minimized while ensuring the normal operation of wear detection, left / right wear recognition, and adaptive adjustment functions, thus reducing the impact on the earbuds' battery life. Through a cyclical process of multiple rounds of testing, optimization, and retesting, the overall performance of the OWS earbuds was continuously improved to meet user needs.

[0107] To implement the headphone configuration method provided in this application embodiment, this application embodiment also provides a headphone configuration device applied to clip-on headphones. The clip-on headphones include a left ear unit and a right ear unit. Each ear unit is equipped with a sound-generating part, a connecting bridge, and a power supply part. The connecting bridge connects the sound-generating part and the power supply part respectively. In the wearing state, the connecting bridge clamps the sound-generating part and the power supply part to both sides of the auricle. The sound-generating part is located in the concha cavity of the ear. The connecting bridge extends from the concha cavity through the helix or earlobe to the back of the ear. The sound-generating part includes a capacitive sensor. Figure 6 As shown, the headphone configuration device includes a first configuration module 61, used for: After either the left ear unit or the right ear unit is activated, the first capacitance value of the first region and the second capacitance value of the second region are detected by the capacitance sensor of the ear unit; wherein, the first region and the second region are located in the sound-emitting part of the ear unit, and when the ear unit is in the wearing state, the first region is located above or below the second region; Based on the first capacitance value and the second capacitance value, if the first capacitance value of the first region is greater than the second capacitance value of the second region when the earphone unit is confirmed to be in the wearing state, then the earphone unit is confirmed to be in the reverse wearing state. When the earphone unit is worn in the reverse position, the channel mapping relationship is set to a reverse mapping relationship, wherein the reverse mapping relationship includes: the left ear unit corresponds to the right channel audio signal, and the right ear unit corresponds to the left channel audio signal.

[0108] In some optional implementations, the first configuration module 61 is specifically used for: If the first capacitance value is greater than the second capacitance value in multiple tests, it is confirmed that the earphone unit is in the reverse wearing state.

[0109] In some alternative implementations, the first configuration module 61 is further configured to: If the first capacitance value is less than the second capacitance value, then the earphone unit is confirmed to be in the forward wearing state; When the earphone unit is in the forward-facing wearing state, the channel mapping relationship is set to a forward mapping relationship, wherein the forward mapping relationship includes: the right ear unit corresponds to the right channel audio signal, and the left ear unit corresponds to the left channel audio signal.

[0110] In some optional implementations, the earphone unit is further provided with a first microphone and a second microphone; in the forward-facing wearing state, the first microphone is closer to the user's mouth than the second microphone, and in the reverse-facing wearing state, the second microphone is closer to the user's mouth than the first microphone; the first configuration module 61 is further used for: When the earphone unit is worn in the reverse position, the main microphone of the earphone unit is set as the second microphone.

[0111] In some optional implementations, the first configuration module 61 is specifically used for: Set the call parameters of the second microphone to the first call parameters corresponding to the main microphone; Set the call parameters of the first microphone to the second call parameters corresponding to the microphone.

[0112] In some alternative implementations, the first configuration module 61 is further configured to: If the first capacitance value reaches a first preset threshold and the second capacitance value reaches a second preset threshold, then the earphone unit is confirmed to be in a wearing state.

[0113] In some alternative implementations, the headphone configuration device further includes a communication module 62, which is used for: The device sends wearing status information to the terminal, wherein the wearing status information is used to indicate whether the ear clip-on headphones are in a forward-facing or reverse-facing wearing state.

[0114] It should be noted that the headphone configuration device provided in this application embodiment is only illustrated by the above-described division of program modules. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the processing described above. Furthermore, the headphone configuration device and headphone configuration method provided in this application embodiment belong to the same concept, and their specific implementation process is detailed in the method embodiment, and will not be repeated here.

[0115] To implement the headphone configuration method provided in this application embodiment, this application embodiment also provides a headphone configuration device applied to clip-on headphones. The clip-on headphones include a left ear unit and a right ear unit. Each ear unit is equipped with a sound-generating part, a connecting bridge, and a power supply part. The connecting bridge connects the sound-generating part and the power supply part respectively. In the wearing state, the connecting bridge clamps the sound-generating part and the power supply part to both sides of the auricle. The sound-generating part is located in the concha cavity of the ear. The connecting bridge extends from the concha cavity through the helix or earlobe to the back of the ear. The sound-generating part includes a capacitive sensor. The device includes a second configuration module for: After either the left ear unit or the right ear unit is activated, the first capacitance value of the first region is detected by the capacitance sensor of the ear unit; wherein the first capacitance value corresponding to the forward wearing state is different from the first capacitance value corresponding to the reverse wearing state; The first capacitance value of the first region is compared with the preset capacitance value to obtain the comparison result; Based on the comparison results, it is determined whether the earphone unit is in a forward-facing or reverse-facing wearing state; When the earphone unit is worn in the reverse position, the channel mapping relationship is set to a reverse mapping relationship, wherein the reverse mapping relationship includes: the left ear unit corresponds to the right channel audio signal, and the right ear unit corresponds to the left channel audio signal.

[0116] Based on the hardware implementation of the above-mentioned program modules, and in order to implement the method of this application embodiment, this application embodiment also provides an ear-clip earphone, the ear-clip earphone including a left ear unit and a right ear unit, each earphone unit being provided with a sound-generating part, a connecting bridge and a power supply part, the connecting bridge connecting the sound-generating part and the power supply part respectively; in the wearing state, the connecting bridge clamps the sound-generating part and the power supply part on both sides of the auricle, the sound-generating part being located in the concha cavity of the ear, the connecting bridge extending from the concha cavity through the helix or earlobe to the back of the ear; the sound-generating part includes a capacitive sensor; the ear-clip earphone also includes a main control chip, the main control chip including: A communication interface is used to exchange information with other electronic devices (such as user terminals); The processor is connected to the communication interface to enable information interaction with other electronic devices and to execute the methods provided by one or more of the above-mentioned technical solutions when running executable instructions or computer programs. The computer program is stored in the memory.

[0117] Specifically, the processor is used for: After either the left ear unit or the right ear unit is activated, the first capacitance value of the first region and the second capacitance value of the second region are detected by the capacitance sensor of the ear unit; wherein, the first region and the second region are located in the sound-emitting part of the ear unit, and when the ear unit is in the wearing state, the first region is located above or below the second region; Based on the first capacitance value and the second capacitance value, if the first capacitance value of the first region is greater than the second capacitance value of the second region when the earphone unit is confirmed to be in the wearing state, then the earphone unit is confirmed to be in the reverse wearing state. When the earphone unit is worn in the reverse position, the channel mapping relationship is set to a reverse mapping relationship, wherein the reverse mapping relationship includes: the left ear unit corresponds to the right channel audio signal, and the right ear unit corresponds to the left channel audio signal.

[0118] In some alternative implementations, the processor is specifically used for: If the first capacitance value is greater than the second capacitance value in multiple tests, it is confirmed that the earphone unit is in the reverse wearing state.

[0119] In some alternative implementations, the processor is further configured to: If the first capacitance value is less than the second capacitance value, then the earphone unit is confirmed to be in the forward wearing state; When the earphone unit is in the forward-facing wearing state, the channel mapping relationship is set to a forward mapping relationship, wherein the forward mapping relationship includes: the right ear unit corresponds to the right channel audio signal, and the left ear unit corresponds to the left channel audio signal.

[0120] In some optional implementations, the earphone unit is further provided with a first microphone and a second microphone; in the forward-facing wearing state, the first microphone is closer to the user's mouth than the second microphone, and in the reverse-facing wearing state, the second microphone is closer to the user's mouth than the first microphone; the processor is further configured to: When the earphone unit is worn in the reverse position, the main microphone of the earphone unit is set as the second microphone.

[0121] In some alternative implementations, the processor is specifically used for: Set the call parameters of the second microphone to the first call parameters corresponding to the main microphone; Set the call parameters of the first microphone to the second call parameters corresponding to the microphone.

[0122] In some alternative implementations, the processor is further configured to: If the first capacitance value reaches a first preset threshold and the second capacitance value reaches a second preset threshold, then the earphone unit is confirmed to be in a wearing state.

[0123] In some alternative implementations, the processor, in conjunction with the communication interface, sends wearing status information to the terminal, wherein the wearing status information is used to indicate whether the ear clip-on headphones are in a forward-facing or reverse-facing wearing state.

[0124] Alternatively, the processor is configured to: After either the left ear unit or the right ear unit is activated, the first capacitance value of the first region is detected by the capacitance sensor of the ear unit; wherein the first capacitance value corresponding to the forward wearing state is different from the first capacitance value corresponding to the reverse wearing state; The first capacitance value of the first region is compared with the preset capacitance value to obtain the comparison result; Based on the comparison results, it is determined whether the earphone unit is in a forward-facing or reverse-facing wearing state; When the earphone unit is worn in the reverse position, the channel mapping relationship is set to a reverse mapping relationship, wherein the reverse mapping relationship includes: the left ear unit corresponds to the right channel audio signal, and the right ear unit corresponds to the left channel audio signal.

[0125] It should be noted that the specific processing procedure of the processor can be understood by referring to the above method.

[0126] Of course, in practical applications, the various components in clip-on headphones are coupled together via a bus system. This bus system is used to enable communication and connection between these components. In addition to a data bus, the bus system also includes a power bus, a control bus, and a status signal bus.

[0127] The memory in this application embodiment is used to store various types of data to support the operation of the clip-on headphones. Examples of this data include any computer program used for operation on the clip-on headphones.

[0128] The methods disclosed in the embodiments of this application described above can be applied to the processor, or implemented by the processor. The processor may be an integrated circuit chip (i.e., a main control chip, connected to multiple microphones) with signal processing capabilities. For example, the main control chip acquires voice signals collected by multiple microphones in real time, processes the voice signals collected by multiple microphones, and sends control signals to multiple microphones according to the determination results, notifying the master-slave relationship set by the multiple microphones, thereby realizing the adaptive switching of the microphone master-slave relationship.

[0129] In implementation, each step of the above method can be completed by the integrated logic circuits in the processor hardware or by instructions in software form. The processor can be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly manifested as execution by a hardware decoding processor, or execution by a combination of hardware and software modules in the decoding processor. The software modules can be located in a storage medium, which is located in a memory. The processor reads information from the memory and, in conjunction with its hardware, completes the steps of the aforementioned method.

[0130] In an exemplary embodiment, the ear-clip headphones may be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to perform the aforementioned method.

[0131] It is understood that the memory in the embodiments of this application can be volatile memory or non-volatile memory, or both. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), ferromagnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM); magnetic surface memory can be disk storage or magnetic tape storage. Volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), SyncLink Dynamic Random Access Memory (SLDRAM), and Direct Rambus Random Access Memory (DRRAM).The memories described in the embodiments of this application are intended to include, but are not limited to, these and any other suitable types of memories.

[0132] In an exemplary embodiment, this application also provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, such as a memory storing executable instructions or a computer program, which can be executed by the processor of the ear-clip earphone to complete the steps described in the aforementioned method. The computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disc, or CD-ROM.

[0133] In an exemplary embodiment, this application also provides a computer program product, including executable instructions or a computer program, which can be executed by the processor of an ear-clip earphone to complete the steps described in the foregoing method.

[0134] It should be noted that terms such as "first" and "second" are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0135] Furthermore, the technical solutions described in the embodiments of this application can be combined arbitrarily without conflict.

[0136] The above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application.

Claims

1. A method for configuring headphones, characterized in that, This invention relates to clip-on headphones, which include a left ear unit and a right ear unit. Each ear unit is equipped with a sound-generating part, a connecting bridge, and a power supply part. The connecting bridge connects the sound-generating part and the power supply part respectively. When worn, the connecting bridge clamps the sound-generating part and the power supply part to both sides of the auricle. The sound-generating part is located in the concha cavity of the ear. The connecting bridge extends from the concha cavity through the helix or earlobe to the back of the ear. The sound-generating component includes a capacitive sensor; after either the left ear unit or the right ear unit is activated, the method includes: The first capacitance value of the first region and the second capacitance value of the second region are detected by the capacitance sensor of the earphone unit; wherein the first region and the second region are located in the sound-emitting part of the earphone unit, and the first region is located above or below the second region when the earphone unit is in the wearing state; Based on the first capacitance value and the second capacitance value, if the first capacitance value of the first region is greater than the second capacitance value of the second region when the earphone unit is confirmed to be in the wearing state, then the earphone unit is confirmed to be in the reverse wearing state. When the earphone unit is worn in the reverse position, the channel mapping relationship is set to a reverse mapping relationship, wherein the reverse mapping relationship includes: the left ear unit corresponds to the right channel audio signal, and the right ear unit corresponds to the left channel audio signal.

2. The method according to claim 1, characterized in that, The step of confirming that the earphone unit is in a reverse wearing state if the first capacitance value is greater than the second capacitance value includes: If the first capacitance value is greater than the second capacitance value in multiple tests, it is confirmed that the earphone unit is in the reverse wearing state.

3. The method according to claim 1, characterized in that, The method further includes: If the first capacitance value is less than the second capacitance value, then the earphone unit is confirmed to be in the forward wearing state; When the earphone unit is in the forward-facing wearing state, the channel mapping relationship is set to a forward mapping relationship, wherein the forward mapping relationship includes: the right ear unit corresponds to the right channel audio signal, and the left ear unit corresponds to the left channel audio signal.

4. The method according to claim 1, characterized in that, The earphone unit is further provided with a first microphone and a second microphone; in the forward-facing wearing state, the first microphone is closer to the user's mouth than the second microphone, and in the reverse-facing wearing state, the second microphone is closer to the user's mouth than the first microphone; the method further includes: When the earphone unit is worn in the reverse position, the main microphone of the earphone unit is set as the second microphone.

5. The method according to claim 4, characterized in that, Setting the main microphone of the earphone unit as the second microphone includes: Set the call parameters of the second microphone to the first call parameters corresponding to the main microphone; Set the call parameters of the first microphone to the second call parameters corresponding to the microphone.

6. The method according to claim 1, characterized in that, The method further includes: If the first capacitance value reaches a first preset threshold and the second capacitance value reaches a second preset threshold, then the earphone unit is confirmed to be in a wearing state.

7. The method according to any one of claims 1 to 6, characterized in that, The method further includes: The device sends wearing status information to the terminal, wherein the wearing status information is used to indicate whether the ear clip-on headphones are in a forward-facing or reverse-facing wearing state.

8. A headphone configuration device, characterized in that, This invention relates to clip-on headphones, which include a left ear unit and a right ear unit. Each ear unit is equipped with a sound-generating part, a connecting bridge, and a power supply part. The connecting bridge connects the sound-generating part and the power supply part respectively. When worn, the connecting bridge clamps the sound-generating part and the power supply part to both sides of the auricle. The sound-generating part is located in the concha cavity of the ear. The connecting bridge extends from the concha cavity through the helix or earlobe to the back of the ear. The sound-emitting component includes a capacitive sensor; the device includes a first configuration module for: After either the left ear unit or the right ear unit is activated, the first capacitance value of the first region and the second capacitance value of the second region are detected by the capacitance sensor of the ear unit; wherein, the first region and the second region are located in the sound-emitting part of the ear unit, and when the ear unit is in the wearing state, the first region is located above or below the second region; Based on the first capacitance value and the second capacitance value, if the first capacitance value of the first region is greater than the second capacitance value of the second region when the earphone unit is confirmed to be in the wearing state, then the earphone unit is confirmed to be in the reverse wearing state. When the earphone unit is worn in the reverse position, the channel mapping relationship is set to a reverse mapping relationship, wherein the reverse mapping relationship includes: the left ear unit corresponds to the right channel audio signal, and the right ear unit corresponds to the left channel audio signal.

9. A method for configuring headphones, characterized in that, This invention relates to clip-on headphones, which include a left ear unit and a right ear unit. Each ear unit is equipped with a sound-generating part, a connecting bridge, and a power supply part. The connecting bridge connects the sound-generating part and the power supply part respectively. When worn, the connecting bridge clamps the sound-generating part and the power supply part to both sides of the auricle. The sound-generating part is located in the concha cavity of the ear. The connecting bridge extends from the concha cavity through the helix or earlobe to the back of the ear. The sound-generating component includes a capacitive sensor; after either the left ear unit or the right ear unit is activated, the method includes: The first capacitance value of the first region is detected by the capacitance sensor of the earphone unit; wherein the first capacitance value corresponding to the forward wearing state is different from the first capacitance value corresponding to the reverse wearing state; The first capacitance value of the first region is compared with the preset capacitance value to obtain the comparison result; Based on the comparison results, it is determined whether the earphone unit is in a forward-facing or reverse-facing wearing state; When the earphone unit is worn in the reverse position, the channel mapping relationship is set to a reverse mapping relationship, wherein the reverse mapping relationship includes: the left ear unit corresponds to the right channel audio signal, and the right ear unit corresponds to the left channel audio signal.

10. A headphone configuration device, characterized in that, This invention relates to clip-on headphones, which include a left ear unit and a right ear unit. Each ear unit has a sound-generating part, a connecting bridge, and a power supply part. The connecting bridge connects the sound-generating part and the power supply part, respectively. When worn, the connecting bridge clamps the sound-generating part and the power supply part to both sides of the auricle. The sound-generating part is located in the concha of the ear, and the connecting bridge extends from the concha through the helix or earlobe to the back of the ear. The sound-emitting component includes a capacitive sensor; the device includes a second configuration module for: After either the left ear unit or the right ear unit is activated, the first capacitance value of the first region is detected by the capacitance sensor of the ear unit; wherein the first capacitance value corresponding to the forward wearing state is different from the first capacitance value corresponding to the reverse wearing state; The first capacitance value of the first region is compared with the preset capacitance value to obtain the comparison result; Based on the comparison results, it is determined whether the earphone unit is in a forward-facing or reverse-facing wearing state; When the earphone unit is worn in the reverse position, the channel mapping relationship is set to a reverse mapping relationship, wherein the reverse mapping relationship includes: the left ear unit corresponds to the right channel audio signal, and the right ear unit corresponds to the left channel audio signal.

11. An ear clip-on headphone, characterized in that, The ear clip-on headphones include a left ear unit and a right ear unit, each ear unit being equipped with a capacitive sensor; the ear clip-on headphones further include: a processor and a memory for storing a computer program capable of running on the processor; wherein, when the processor runs the computer program, it performs the steps of the method according to any one of claims 1 to 7, or performs the steps of the method according to claim 9.

12. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7, or performs the steps of the method according to claim 9.

13. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7, or performs the steps of the method according to claim 9.