Earphone control method and wearable device

By using an inertial detector to identify the wearing position of the headphones in ear clip earphones, the problems of uncomfortable wearing and difficult to identify the left and right ears are solved, achieving higher wearing comfort and flexibility in use.

WO2025045236A1PCT designated stage expired Publication Date: 2025-03-06HUAWEI TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/116141
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-09-01
Filing Date
2024-08-30
Publication Date
2025-03-06

AI Technical Summary

Technical Problem

Most of the existing true wireless stereo headphones are in-ear styles, which make them uncomfortable to wear, difficult to wear for a long time, and difficult to identify the left and right ears, affecting the execution of control events.

Method used

The earphones with ear clip-on design collect gravity data through an inertia detector to identify whether the earphone is worn with the left ear or the right ear, thereby performing the corresponding control event.

Benefits of technology

It improves the comfort and portability of users to wear headphones, enhances the flexibility of using headphones, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024116141_06032025_PF_FP_ABST
    Figure CN2024116141_06032025_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides an earphone control method and a wearable device. The method is applied to the wearable device. The wearable device comprises a first earphone. The first earphone comprises a first inertia detector. The method comprises: the first earphone obtains first gravity data collected by the first inertia detector; when the first gravity data satisfies a first condition, the first earphone identifies that the first earphone is worn on the left ear, and a control event corresponding to a left earphone attribute is executed; and when the first gravity data satisfies a second condition, the first earphone identifies that the first earphone is worn on the right ear, and a control event corresponding to a right earphone attribute is executed. By means of the method, the wearable device can identify that the wearable device is worn on the left ear or the right ear, and on the basis of the wearable device being worn on the left ear or worn on the right ear, different control events are executed, thereby improving the flexibility of using the wearable device by a user, and improving the use experience of wearing the wearable device by the user.
Need to check novelty before this filing date? Find Prior Art

Description

Headphone control method and wearable device

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on September 1, 2023, with application number 202311136305.0, and priority to the Chinese patent application entitled “A Headphone Control Method and Wearable Device”, all contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of headphones, and in particular to a headphone control method and a wearable device. Background Art

[0003] True Wireless Stereo (TWS) earphones are popular among consumers due to their true wireless structure, compact size, and portability. However, most TWS earphones on the market today are in-ear or semi-in-ear styles, which intrude into the ear canal and cause pressure, making them difficult to wear for extended periods and even causing health concerns.

[0004] Ear clip earphones can be clipped into the user's concha cavity, not digging into the ear canal, which can improve wearing comfort. Ear clip earphones do not need to distinguish between left and right ears when worn, but they do need to identify whether the ear clip earphone is worn on the left or right ear. Control events corresponding to left ear attributes can be executed based on the left ear, or control events corresponding to right ear attributes can be executed based on the right ear. How to identify whether ear clip earphones are worn on the left or right ear requires further research.

[0005] Summary of the Invention

[0006] The present application provides an earphone control method and a wearable device, wherein the wearable device can identify whether the wearable device is worn on the left ear or the right ear, and execute different control events based on whether the wearable device is worn on the left ear or the right ear, thereby increasing the flexibility of the user in using the wearable device and improving the user experience of wearing the wearable device.

[0007] In a first aspect, the present application provides an earphone control method, which is applied to a wearable device, the wearable device including a first earphone, the first earphone including a first inertial detector, and the method including: the first earphone obtains first gravity data collected by the first inertial detector; when the first gravity data meets a first condition, the first earphone recognizes that the first earphone is worn on the left ear, and executes a control event corresponding to the left earphone attribute; when the first gravity data meets a second condition, the first earphone recognizes that the first earphone is worn on the right ear, and executes a control event corresponding to the right earphone attribute.

[0008] The first earphone provided by the present application does not need to distinguish between left and right ears when worn. The first earphone can be worn on the user's left ear or the user's right ear, thereby improving the portability of the earphone.

[0009] However, after wearing, it is necessary to identify whether the first earphone is worn on the left ear or the right ear, and perform different control events based on whether it is worn on the left ear or the right ear.

[0010] In some embodiments of the present application, the first earphone can determine whether the first earphone is worn on the left ear or the right ear using gravity data collected by a preset first inertial detector. This increases the user's flexibility in using the wearable device and improves the user's experience of wearing the wearable device.

[0011] In combination with the first aspect, in a possible implementation, the wearable device also includes a second earphone, the second earphone includes a second inertial detector, and the method further includes: the second earphone obtains second gravity data collected by the second inertial detector; when the second gravity data meets the first condition, the second earphone recognizes that the second earphone is worn on the left ear, and executes a control event corresponding to the attributes of the left earphone; when the second gravity data meets the second condition, the second earphone recognizes that the second earphone is worn on the right ear, and executes a control event corresponding to the attributes of the right earphone.

[0012] The wearable device may include two earphones, namely a first earphone and a second earphone. Similar to the first earphone, the second earphone does not need to be distinguished between left and right ears when worn. The second earphone can be worn on the user's left ear or right ear, thereby improving the portability of the earphones.

[0013] However, after wearing the second earphone, it is necessary to identify whether the second earphone is worn on the left ear or the right ear. Different control events are executed based on whether it is worn on the left ear or the right ear. This increases the user's flexibility in using the wearable device and improves the user experience of wearing the wearable device.

[0014] Only one of the first earphone and the second earphone can be in the wearing state, or the first earphone and the second earphone can be in the wearing state at the same time.

[0015] In combination with the first aspect, in a possible implementation, the first earphone includes a first earphone body, a cantilever arm and a second earphone body, the cantilever arm is connected between the first earphone body and the second earphone body, the first earphone body and the second earphone body are arranged opposite to each other and have an initial distance; the cantilever arm has a deformable ability, and the deformation of the cantilever arm can adjust the initial distance between the first earphone body and the second earphone body to an adjusted distance, the line connecting the geometric center of the second earphone body and the geometric center of the first earphone body is defined as the Z axis, and the direction in which the geometric center of the second earphone body points to the geometric center of the first earphone body is defined as the positive axis of the Z axis. direction; a straight line perpendicular to the geometric center of the end face connected to the second earphone body through the cantilever arm and the end face is defined as the Y-axis, and the direction pointing from the geometric center of the end face to the cantilever arm is defined as the positive direction of the Y-axis; at the same time, a straight line perpendicular to the Z-axis and the Y-axis is defined as the X-axis, and when the first earphone is worn on the left ear, the positive direction of the X-axis points to the ground; when the user is in a standing state or a sitting state, the first condition includes: the gravity component of the gravity data in the positive direction of the X-axis is positive; when the user is in a standing state or a sitting state, the second condition includes: the gravity component of the gravity data in the positive direction of the X-axis is negative.

[0016] In other embodiments, the first condition may further include any one or more of the following: the acceleration component of the gravitational acceleration G on the Z axis is close to a minimum value, and the acceleration component of the gravitational acceleration G on the Y axis is close to a minimum value.

[0017] In other embodiments, the second condition may further include any one or more of the following: the acceleration component of the gravitational acceleration G on the Z axis is close to a minimum value, and the acceleration component of the gravitational acceleration G on the Y axis is close to a minimum value.

[0018] In some embodiments, the first or second earphone can also identify whether the earphone is worn correctly. Correct wear can improve the accuracy of left or right ear wear identification. If the first or second earphone is not worn correctly, the first or second earphone can prompt the user to wear the earphone in the correct position until the first or second earphone is properly worn.

[0019] In some embodiments, after the first earphone or the second earphone is taken out of the earphone box and after wearing is detected, the first earphone or the second earphone can output a prompt tone, which is used to remind the user to wear the earphone properly, to avoid the situation where the user does not wear the earphone properly, resulting in inaccurate recognition of left ear wearing or right ear wearing.

[0020] In some embodiments, after the first or second earphone is removed from the earphone case and is detected to be worn, the first or second earphone may output a prompt tone to remind the user to wear the earphone properly. After the user wears the first or second earphone, the first or second earphone may also detect whether the wearer is wearing the earphone properly. If the first or second earphone is not worn properly, the first or second earphone may prompt the user to wear the earphone in the proper position until the first or second earphone is properly worn and the prompt ceases.

[0021] According to the above method, the accuracy of left ear wearing or right ear wearing recognition can be improved.

[0022] In combination with the first aspect, in one possible implementation, when the user is in the left side lying position, the first condition includes: the gravity component of the gravity data on the Y-axis is a positive value; when the user is in the left side lying position, the second condition includes: the gravity component of the gravity data in the positive direction of the Y-axis is a negative value.

[0023] In other embodiments, the first condition may further include: the gravity acceleration component of the gravity acceleration G on the X-axis is a minimum value. The second condition may further include: the gravity acceleration component of the gravity acceleration G on the X-axis is a minimum value.

[0024] In combination with the first aspect, in one possible implementation, when the user is in the right side lying position, the first condition includes: the gravity component of the gravity data in the positive direction of the Y axis is a negative value; when the user is in the right side lying position, the second condition includes: the gravity component of the gravity data in the positive direction of the Y axis is a positive value.

[0025] In other embodiments, the first condition may further include: the gravity acceleration component of the gravity acceleration G on the X-axis is a minimum value. The second condition may further include: the gravity acceleration component of the gravity acceleration G on the X-axis is a minimum value.

[0026] In combination with the first aspect, in one possible implementation, the first earphone body includes a first capacitive sensor, and the second earphone body includes a second capacitive sensor; before the first earphone obtains gravity data collected by the inertial detector, the method further includes: the first earphone obtains a first capacitance value collected by the first capacitive sensor and a second capacitance value collected by the second capacitive sensor; when the first capacitance value is greater than a first threshold and the second capacitance value is greater than a second threshold, the first earphone determines the wearing state.

[0027] In some embodiments, for people with different ear shapes and different wearing angles, the second earphone body may not fit the ear or the first earphone body may not fit the ear. In order to improve the accuracy of wearing recognition, the earphones can use the first capacitive sensor and the second capacitive sensor to identify whether the user is wearing the earphones.

[0028] When the user is wearing headphones, the capacitive sensor can stick to the user's auricle and form a specific capacitance difference based on the pressure, thereby determining that the user is wearing headphones; when the user is not wearing headphones, the capacitive sensor is not under pressure, and the capacitance difference remains stable, so it can be determined that the user is not wearing headphones.

[0029] In some embodiments, the first earphone may also determine whether the user is wearing the earphone only by using the first capacitance value collected by the first capacitance sensor or the second capacitance value collected by the second capacitance sensor.

[0030] In combination with the first aspect, in a possible implementation, the first earphone obtains first gravity data collected by the first inertial detector, specifically including: when the first earphone determines that the earphone is in a wearing state, the first earphone obtains the first gravity data collected by the first inertial detector.

[0031] Only when the first headset is recognized as being worn will the first headset use the first gravity data collected by the first inertial sensor to determine whether the headset is worn on the left or right ear. If the first headset is recognized as not being worn, the first headset does not use the first gravity data collected by the first inertial sensor, thereby saving power consumption of the first headset.

[0032] In combination with the first aspect, in a possible implementation method, the first earphone determines the wearing status, specifically including: the first earphone obtains a first capacitance error value corresponding to a first ambient temperature; the first earphone obtains a first target capacitance value based on the first capacitance value and the first capacitance error value, and obtains a second target capacitance value based on the second capacitance value and the first capacitance error value; when the first target capacitance value is greater than a first threshold value and the second target capacitance value is greater than a second threshold value, the first earphone determines the wearing status.

[0033] It should be noted that different ambient temperatures correspond to different capacitance error values.

[0034] In some embodiments, the capacitance value collected by the capacitive sensor is susceptible to temperature, and different temperatures have different effects on the capacitance value collected by the capacitive sensor. To improve the accuracy of wearing state identification, the capacitance difference and temperature compensation can be used to simultaneously refer to the capacitance difference and then identify whether the earphone is in the worn state or not.

[0035] In combination with the first aspect, in one possible implementation, the method includes: when the first earphone recognizes that the first earphone is worn on the left ear of the first user, the first earphone executes a control event corresponding to the left earphone attribute; when the second earphone recognizes that the first earphone is worn on the right ear of the first user, the second earphone executes a control event corresponding to the right earphone attribute.

[0036] In this way, the first earphone and the second earphone can be worn on the left ear and right ear of the same user at the same time.

[0037] In combination with the first aspect, in one possible implementation, the method includes: when the first earphone recognizes that the first earphone is worn on the left ear of the first user, the first earphone executes a control event corresponding to the attributes of the left earphone; when the second earphone recognizes that the first earphone is worn on the right ear of the second user, the second earphone executes a control event corresponding to the attributes of the right earphone.

[0038] In this way, the first earphone and the second earphone can be worn on the left ear and right ear of different users at the same time.

[0039] In combination with the first aspect, in one possible implementation, the method includes: when the first earphone recognizes that the first earphone is worn on the left ear of the first user, the first earphone executes a control event corresponding to the attributes of the left earphone; when the second earphone recognizes that the first earphone is worn on the left ear of the second user, the second earphone executes a control event corresponding to the attributes of the left earphone.

[0040] In this way, the first earphone and the second earphone can be worn on the left ears of different users at the same time.

[0041] In combination with the first aspect, in one possible implementation, the method includes: when the first earphone recognizes that the first earphone is worn on the right ear of the first user, the first earphone executes a control event corresponding to the attributes of the right earphone; when the second earphone recognizes that the first earphone is worn on the right ear of the second user, the second earphone executes a control event corresponding to the attributes of the right earphone.

[0042] In this way, the first earphone and the second earphone can be worn on the right ears of different users at the same time.

[0043] In combination with the first aspect, in a possible implementation, the first earphone includes a first microphone and a second microphone, and the first microphone and the second microphone are arranged opposite to each other in the first earphone; when the first gravity data meets the first condition, the first earphone recognizes that the first earphone is worn on the left ear, and executes a control event corresponding to the left earphone attribute, specifically including: when the first gravity data meets the first condition, the first earphone recognizes that the first earphone is worn on the left ear, the first microphone is above the second microphone, the first earphone turns on the first microphone, and picks up audio through the first microphone; when the first gravity data meets the second condition, the first earphone recognizes that the first earphone is worn on the right ear, and executes a control event corresponding to the right earphone attribute, specifically including: when the first gravity data meets the second condition, the first earphone recognizes that the first earphone is worn on the right ear, the first microphone is below the second microphone, the first earphone turns on the second microphone, and picks up audio through the second microphone.

[0044] The first microphone is located above the second microphone, which may mean that the first microphone is located at an end away from the ground, and the second microphone is located at an end close to the ground.

[0045] The second microphone is located above the first microphone, which may mean that the second microphone is located at an end away from the ground, and the first microphone is located at an end close to the ground.

[0046] In this way, the first earphone can choose to turn on different microphones based on whether it is worn on the left ear or the right ear, which not only improves the quality of audio collected by the microphone, but also saves power consumption of the first earphone.

[0047] In combination with the first aspect, in a possible implementation method, when the first gravity data meets the first condition, the first earphone recognizes that the first earphone is worn on the left ear, and executes the control event corresponding to the left earphone attribute, specifically including: when the first gravity data meets the first condition, the first earphone recognizes that the first earphone is worn on the left ear, and plays the left channel audio; when the first gravity data meets the second condition, the first earphone recognizes that the first earphone is worn on the right ear, and executes the control event corresponding to the right earphone attribute, specifically including: when the first gravity data meets the second condition, the first earphone recognizes that the first earphone is worn on the right ear, and plays the right channel audio.

[0048] In this way, the first earphone can automatically switch the left and right channels based on the identification of left ear wearing or right ear wearing to improve the audio playback effect.

[0049] In conjunction with the first aspect, in one possible implementation, when the first gravity data satisfies a first condition, the first earphone recognizes that the first earphone is worn on the left ear, and executes a control event corresponding to a property of the left earphone, specifically including: when the first gravity data satisfies the first condition, the first earphone recognizes that the first earphone is worn on the left ear, detects and responds to a first operation acting on a first area, and executes a first control, where the first area includes an area of ​​the ear where the first earphone is worn or an area on the first earphone;

[0050] When the first gravity data meets the second condition, the first earphone recognizes that the first earphone is worn on the right ear, and executes a control event corresponding to the right earphone attribute, specifically including: when the first gravity data meets the second condition, the first earphone recognizes that the first earphone is worn on the right ear, detects and responds to the first operation acting on the second area, and executes the second control, the second area includes the area of ​​the ear of the first earphone or the area on the first earphone; wherein the first control is the same as or different from the second control, and the first control or the second control includes any one of the following: pausing audio playback, continuing audio playback, switching audio playback, adjusting volume, answering a call, and hanging up a call.

[0051] In this way, the first earphone can automatically adapt to different gesture controls based on the recognition of left ear wearing or right ear wearing, which can improve the user's intelligence in operating the earphone based on gestures.

[0052] In a second aspect, the present application provides a wearable device, which includes a first earphone, the first earphone includes a first inertial detector and a first processor, wherein the first inertial detector is used to collect first gravity data; the first processor is used to obtain the first gravity data collected by the first inertial detector; the first processor is also used to: when the first gravity data meets a first condition, identify that the first earphone is worn on the left ear, and execute a control event corresponding to the attributes of the left earphone; when the first gravity data meets a second condition, identify that the first earphone is worn on the right ear, and execute a control event corresponding to the attributes of the right earphone.

[0053] In combination with the second aspect, in one possible implementation, the wearable device includes a second earphone, the second earphone includes a second inertial detector and a second processor, wherein the second inertial detector is used to collect second gravity data; the second processor is used to obtain the second gravity data collected by the second inertial detector; the second processor is further used to: when the second gravity data meets the first condition, identify that the second earphone is worn on the left ear, and execute a control event corresponding to the attributes of the left earphone; when the second gravity data meets the second condition, identify that the second earphone is worn on the right ear, and execute a control event corresponding to the attributes of the right earphone.

[0054] In combination with the second aspect, in a possible implementation, the second earphone includes a first earphone body, a cantilever arm and a second earphone body, the cantilever arm is connected between the first earphone body and the second earphone body, the first earphone body and the second earphone body are arranged opposite to each other and have an initial distance; the cantilever arm has a deformable ability, and the deformation of the cantilever arm can adjust the initial distance between the first earphone body and the second earphone body to an adjusted distance, the line connecting the geometric center of the second earphone body and the geometric center of the first earphone body is defined as the Z axis, and the direction in which the geometric center of the second earphone body points to the geometric center of the first earphone body is defined as the positive axis of the Z axis. direction; a straight line perpendicular to the geometric center of the end face connected to the second earphone body through the cantilever arm and the end face is defined as the Y-axis, and the direction pointing from the geometric center of the end face to the cantilever arm is defined as the positive direction of the Y-axis; at the same time, a straight line perpendicular to the Z-axis and the Y-axis is defined as the X-axis, and when the first earphone is worn on the left ear, the positive direction of the X-axis points to the ground; when the user is in a standing state or a sitting state, the first condition includes: the gravity component of the gravity data in the positive direction of the X-axis is positive; when the user is in a standing state or a sitting state, the second condition includes: the gravity component of the gravity data in the positive direction of the X-axis is negative.

[0055] In combination with the second aspect, in one possible implementation, when the user is in the left side lying position, the first condition includes: the gravity component of the gravity data in the positive direction of the Y axis is positive; when the user is in the left side lying position, the second condition includes: the gravity component of the gravity data in the positive direction of the Y axis is negative.

[0056] In combination with the second aspect, in one possible implementation, when the user is in the right side lying position, the first condition includes: the gravity component of the gravity data in the positive direction of the Y axis is a negative value; when the user is in the right side lying position, the second condition includes: the gravity component of the gravity data in the positive direction of the Y axis is a positive value.

[0057] In combination with the second aspect, in one possible implementation, the first earphone body includes a first capacitance sensor, and the second earphone body includes a second capacitance sensor; the first processor is further used to: obtain a first capacitance value collected by the first capacitance sensor and a second capacitance value collected by the second capacitance sensor; when the first capacitance value is greater than a first threshold and the second capacitance value is greater than a second threshold, the first earphone determines the wearing state.

[0058] With reference to the second aspect, in a possible implementation, the first processor is specifically configured to obtain first gravity data collected by the first inertial detector when it is determined that the first headset is in a worn state.

[0059] In combination with the second aspect, in a possible implementation method, the first earphone also includes a temperature sensor; the temperature sensor is used to collect the first ambient temperature; the first processor is specifically used to: obtain a first capacitance error value based on the first ambient temperature; obtain a first target capacitance value based on the first capacitance value and the first capacitance error value, and obtain a second target capacitance value based on the second capacitance value and the first capacitance error value; when the first target capacitance value is greater than the first threshold and the second target capacitance value is greater than the second threshold, determine the wearing state.

[0060] In combination with the second aspect, in one possible implementation, the first processor is specifically used to execute a control event corresponding to the attributes of the left earphone when it is identified that the first earphone is worn on the left ear of the first user; the second processor is specifically used to execute a control event corresponding to the attributes of the right earphone when it is identified that the second earphone is worn on the right ear of the first user.

[0061] In combination with the second aspect, in one possible implementation, the first processor is specifically used to execute a control event corresponding to the attributes of the left earphone when it is identified that the first earphone is worn on the left ear of the first user; the second processor is specifically used to execute a control event corresponding to the attributes of the right earphone when it is identified that the second earphone is worn on the right ear of the second user.

[0062] In combination with the second aspect, in one possible implementation, the first processor is specifically used to execute a control event corresponding to the attributes of the left earphone when it is identified that the first earphone is worn on the left ear of the first user; the second processor is specifically used to execute a control event corresponding to the attributes of the left earphone when it is identified that the second earphone is worn on the left ear of the second user.

[0063] In combination with the second aspect, in one possible implementation, the first processor is specifically used to execute a control event corresponding to the attributes of the right earphone when it is identified that the first earphone is worn on the right ear of the first user; the second processor is specifically used to execute a control event corresponding to the attributes of the right earphone when it is identified that the second earphone is worn on the right ear of the second user.

[0064] In combination with the second aspect, in one possible implementation, the first earphone includes a first microphone and a second microphone, which are arranged opposite to each other in the first earphone; the first processor is specifically used to identify that the first earphone is worn on the left ear, the first microphone is above the second microphone, turn on the first microphone, and pick up audio through the first microphone when the first gravity data meets the first condition; the first processor is specifically used to identify that the first earphone is worn on the right ear, the first microphone is below the second microphone, turn on the second microphone, and pick up audio through the second microphone when the first gravity data meets the second condition.

[0065] In combination with the second aspect, in one possible implementation, the first processor is specifically used to identify that the first earphone is worn on the left ear and play the left channel audio when the first gravity data meets the first condition; the first processor is specifically used to identify that the first earphone is worn on the right ear and play the right channel audio when the first gravity data meets the second condition.

[0066] In combination with the second aspect, in a possible implementation, the first earphone also includes a touch controller, which is used to identify that the first earphone is worn on the left ear when the first gravity data meets the first condition, detect and respond to the first operation acting on the first area, and send a first message to the first processor; the first processor is also used to execute a first control in response to the first message, and the first area includes the area of ​​the ear where the first earphone is worn or the area on the first earphone; the touch unit is also used to identify that the first earphone is worn on the right ear when the first gravity data meets the second condition, detect and respond to the first operation acting on the second area, and send a second message to the first processor in response to the second message, and the second area includes the area of ​​the ear where the first earphone is worn or the area on the first earphone; wherein the first control is the same as or different from the second control, and the first control or the second control includes any one of the following: pausing audio playback, continuing audio playback, switching audio playback, adjusting volume, answering a call, and hanging up a call.

[0067] In a third aspect, the present application provides an earphone, which is a first earphone, comprising a first inertia detection unit and a first processing unit, wherein the first inertia detection unit is used to collect first gravity data; the first processing unit is used to obtain the first gravity data collected by an inertia detection unit; the first processing unit is also used to: when the first gravity data meets a first condition, identify that the first earphone is worn on the left ear, and execute a control event corresponding to the left earphone attribute; when the first gravity data meets a second condition, identify that the first earphone is worn on the right ear, and execute a control event corresponding to the right earphone attribute.

[0068] In combination with the third aspect, in one possible implementation, the first earphone also includes a first capacitance acquisition unit and a second capacitance acquisition unit; the first processing unit is further used to: obtain a first capacitance value collected by the first capacitance acquisition unit and a second capacitance value collected by the second capacitance acquisition unit; when the first capacitance value is greater than a first threshold and the second capacitance value is greater than a second threshold, the first earphone determines the wearing state.

[0069] In conjunction with the third aspect, in a possible implementation, the first processing unit is specifically configured to obtain first gravity data collected by the first inertial detection unit when it is determined that the first earphone is in a worn state.

[0070] In combination with the third aspect, in a possible implementation method, the first earphone also includes a temperature acquisition unit; wherein the temperature acquisition unit is used to collect the first ambient temperature; the first processing unit is specifically used to: obtain a first capacitance error value based on the first ambient temperature; obtain a first target capacitance value based on the first capacitance value and the first capacitance error value, and obtain a second target capacitance value based on the second capacitance value and the first capacitance error value; when the first target capacitance value is greater than the first threshold and the second target capacitance value is greater than the second threshold, determine the wearing state.

[0071] In combination with the third aspect, in a possible implementation, the first earphone also includes a first audio acquisition unit and a second audio acquisition unit, and the positions of the first audio acquisition unit and the second audio acquisition unit are relatively arranged; the first processing unit is specifically used to identify that the first earphone is worn on the left ear and the first audio acquisition unit is above the second audio acquisition unit when the first gravity data meets the first condition, turn on the first audio acquisition unit, and pick up audio through the first audio acquisition unit; the first processing unit is specifically used to identify that the first earphone is worn on the right ear and the first audio acquisition unit is below the second audio acquisition unit when the first gravity data meets the second condition, turn on the second audio acquisition unit, and pick up audio through the second audio acquisition unit.

[0072] In combination with the third aspect, in one possible implementation method, the first processing unit is specifically used to identify that the first earphone is worn on the left ear and play the left channel audio when the first gravity data meets the first condition; the first processing unit is specifically used to identify that the first earphone is worn on the right ear and play the right channel audio when the first gravity data meets the second condition.

[0073] In combination with the third aspect, in a possible implementation, the first earphone also includes a touch unit; the touch unit is used to identify that the first earphone is worn on the left ear when the first gravity data meets the first condition, detect and respond to the first operation acting on the first area, and send a first message to the first processing unit; the first processing unit is also used to execute a first control in response to the first message, and the first area includes the area of ​​the ear where the first earphone is worn or the area on the first earphone; the touch unit is also used to identify that the first earphone is worn on the right ear when the first gravity data meets the second condition, detect and respond to the first operation acting on the second area, and send a second message to the first processing unit in response to the second message, and the second area includes the area of ​​the ear where the first earphone is worn or the area on the first earphone; wherein the first control is the same as or different from the second control, and the first control or the second control includes any one of the following: pausing audio playback, continuing audio playback, switching audio playback, adjusting volume, answering a call, and hanging up a call.

[0074] In a fourth aspect, the present application provides a wearable device, which includes an inertial detector, a memory, and a processor; wherein the inertial detector, the memory, and the processor are coupled, and the memory is used to store a computer program. When the processor executes and calls the computer program, the wearable device executes a headphone control method provided in any possible implementation of any of the above aspects.

[0075] In a fifth aspect, the present application provides a computer-readable storage medium comprising instructions. When the instructions are run on a wearable device, the wearable device executes a headphone control method provided in any possible implementation of any of the above aspects.

[0076] In a sixth aspect, the present application provides a chip system, which includes one or more processors, and the processors are used to call computer instructions to execute a headphone control method provided in any possible implementation of any of the above aspects.

[0077] In a seventh aspect, the present application provides a computer program product comprising instructions. When the computer program product is run on a wearable device, the wearable device executes a headphone control method provided in any possible implementation of any of the above aspects.

[0078] For the description of the beneficial effects of the second to seventh aspects, reference may be made to the description of the beneficial effects in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0079] FIG1 shows a schematic diagram of the earphone 1000 provided by the present application being worn on the left ear and the right ear respectively;

[0080] FIG2 shows a schematic structural diagram of the earphone 1000 provided in this application;

[0081] FIG3 shows a state diagram of a user wearing a single earphone on the right ear provided by the present application;

[0082] FIG4 shows a schematic structural diagram of an embodiment of the first earphone body 100 provided in the present application;

[0083] FIG5 is a schematic structural diagram of an embodiment of the second earphone body 200 provided by the present application;

[0084] FIG6 shows a schematic structural diagram of an embodiment of the third housing 210 provided in this application;

[0085] FIG7 shows a schematic structural diagram of the earphone 1000 provided in this application from another angle;

[0086] FIG8 shows a schematic structural diagram of the earphone box 200 provided in this application;

[0087] FIG9 shows a schematic diagram of a capacitance change curve provided by the present application;

[0088] 10-11 are schematic diagrams showing a user wearing headphones 1000 while standing, as provided in the present application;

[0089] 12-13 are schematic diagrams showing the components of gravitational acceleration on three axes when a user wears headphones 1000 while standing, as provided by the present application;

[0090] 14A-14B show schematic diagrams of a user wearing the headset 1000 while sitting;

[0091] 15A-15B show schematic diagrams of a user wearing the headset 1000 while lying flat;

[0092] FIG15C is a schematic diagram showing the components of gravitational acceleration on three axes when a user wears the headset 1000 while lying flat, as provided by the present application;

[0093] 16A-16B are schematic diagrams showing a user wearing headphones while lying on his right side;

[0094] FIG16C is a schematic diagram showing the components of gravitational acceleration on three axes when a user wears the headset 1000 while lying on the right side, as provided by the present application;

[0095] FIG16D is a schematic diagram showing the components of gravitational acceleration on three axes when a user wears the headset 1000 while lying on his left side, as provided by the present application;

[0096] 17A-17B show a schematic diagram of switching left and right channel audio;

[0097] 18A-18B show another schematic diagram of switching left and right channel audio;

[0098] 19A-19I are schematic diagrams showing a user viewing and setting earphone touch gestures and checking the battery levels of the left and right earphones in a sports health application of an electronic device;

[0099] 20A-20K are schematic diagrams showing a user viewing and setting earphone touch gestures on an electronic device;

[0100] FIG20L exemplarily shows a flow chart of a method for training a gesture recognition model;

[0101] FIG20M exemplarily shows a flow chart of a method for the headset 1000 to provide a touch function;

[0102] Figures 21A-21P are schematic diagrams showing the earphone determining the primary mic;

[0103] FIG22 is a flow chart of a headphone control method provided by the present application;

[0104] FIG23 is a schematic structural diagram of a wearable device provided by the present application;

[0105] FIG24 is a schematic diagram of the first earphone provided in this application. DETAILED DESCRIPTION

[0106] The following is a clear and detailed description of the technical solutions in the embodiments of the present application in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is only a description of the association relationship between related objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0107] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood to imply or suggest relative importance or implicitly indicate the number of the technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of this application, unless otherwise specified, "plurality" means two or more.

[0108] The term "user interface (UI)" in the following embodiments of this application refers to the media interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. A common form of user interface is a graphical user interface (GUI), which refers to a user interface related to computer operations that is displayed in a graphical manner. It can be a visual interface element such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc. displayed on the display screen of an electronic device.

[0109] The embodiments of the present application are described in conjunction with the drawings in the embodiments of the present application.

[0110] Headphones 1000 wearing form

[0111] FIG1 shows a schematic diagram of the earphone 1000 provided in the present application being worn on the left ear and the right ear respectively.

[0112] In some embodiments, headset 1000 may be referred to as a wearable device.

[0113] As shown in Figure 1, the earphone 1000 is an ear-clip wireless earphone that can be clamped on the ear. Ear-clip earphones can reduce the discomfort of the wearer's ears and improve wearing comfort. The earphone 1000 includes two earphones. For example, the earphone 1000 can be divided into a first earphone and a second earphone. The first earphone and the second earphone are respectively used to be worn on the user's left ear and right ear. Among them, the earphone structures of the first earphone and the second earphone are the same, and there is no need to distinguish between the left and right ears when wearing. That is to say, the first earphone can be worn on the left ear or the right ear, and the second earphone can be worn on the left ear or the right ear, thereby improving the portability of the earphone.

[0114] Headphone structure (first headphone body 100, cantilever arm 300 and second headphone body 200)

[0115] The earphones of the present application are described in detail below with reference to the accompanying drawings.

[0116] Please refer to FIG2 , which is a schematic structural diagram of the earphone 1000 provided in this application.

[0117] As shown in Figure 2, the earphone 1000 is generally U-shaped and includes a first earphone body 100, a second earphone body 200, and a cantilever arm 300. The cantilever arm 300 is generally U-shaped and connects between the first earphone body 100 and the second earphone body 200. The first earphone body 100 and the second earphone body 200 are arranged opposite each other, and the cantilever arm 300 forms a physical connection between the first earphone body 100 and the second earphone body 200, while also electrically connecting the first earphone body 100 and the second earphone body 200.

[0118] For ease of description, the geometric center of the first earphone body 100, the geometric center of the second earphone body 200, and the geometric center of the cantilever arm 300 define a unique plane, which is the OO plane (illustrated by a dotted line in Figure 2). For ease of description, the line connecting the geometric center of the second earphone body 200 and the geometric center of the first earphone body 100 is defined as the Z axis, and the direction from the geometric center of the second earphone body 200 to the geometric center of the first earphone body 100 is defined as the positive direction of the Z axis. The straight line passing through the geometric center of the end face connecting the cantilever arm 300 and the second earphone body 200 and perpendicular to the end face is defined as the Y axis, and the direction from the geometric center of the end face to the cantilever arm 300 is defined as the positive direction of the Y axis. The straight line perpendicular to both the Z axis and the Y axis is defined as the X axis, as shown in Figure 2, and the direction perpendicular to the Z axis and the Y axis pointing to the ground is the positive direction of the X axis.

[0119] Wearing form of a single earphone

[0120] FIG3 shows a state diagram of a user wearing a single earphone on the right ear.

[0121] As shown in Figure 3, during use, the first earphone body 100 is retained within the user's concha cavity, without penetrating into the user's ear canal. The first earphone body 100 can be spherical, or even an irregular sphere. The tolerance of the human concha cavity is much higher than that of the ear canal, so the earphone 1000 provided in this application can greatly improve wearing comfort.

[0122] The second earphone body 200 is located outside the user's ear and away from the first earphone body 100. The second earphone body 200 adopts a bean-shaped design, which fits the curved surface of the user's auricle when worn, which can improve the user's wearing comfort.

[0123] The cantilever arm 300 is buckled on one side of the outer edge of the user's ear, extending from the concha cavity to the back of the ear. The cantilever arm 300, together with the first earphone body 100 and the second earphone body 200, clamps the user's auricle, thereby wearing the earphone 1000 on the ear. In the embodiment provided in the present application, the cantilever arm 300 has the ability to deform and can adjust the adjustment distance L between the first earphone body 100 and the second earphone body 200. The distance L between the first earphone body 100 and the second earphone body 200 should be greater than or equal to 2mm and less than or equal to 5mm to ensure that the clamping force of the earphone 1000 is moderate and does not fall off the auricle, and does not excessively clamp the ear; the height H of the cantilever arm 300 should be greater than or equal to 3mm and less than or equal to 30mm to avoid scratching the outer edge of the user's auricle during daily use.

[0124] In practice, the first earphone body 100 and the second earphone body 200 are disposed opposite each other and have an initial distance therebetween; the deformation of the cantilever arm can adjust the initial distance therebetween to an adjusted distance. The adjusted distance is the distance by which the initial distance is increased or decreased.

[0125] Specifically, the initial distance and adjustment distance both refer to the distance L between the first earphone body 100 and the second earphone body 200; the distance between the facing surfaces of the first earphone body 100 and the second earphone body 200, that is, the distance between the two earphone surfaces that first contact the ear. The height H of the cantilever arm 300 refers to the longest distance between the cantilever arm 300 and the end surface of the cantilever arm 300 in a direction perpendicular to the end surface of the cantilever arm 300 (the Y-axis direction).

[0126] The earphones 1000 equipped with the suspension arm 300 can adapt to users with different ear thicknesses, providing each user with an appropriate clamping force, avoiding clamping that is too tight or too loose and affecting the wearing experience. Furthermore, when putting on and taking off the earphones 1000 provided by this application, the user can use the suspension arm 300 to increase the distance L between the first earphone body 100 and the second earphone body 200 to ensure smooth wearing and taking off of the earphones 1000, avoid pressure deformation of the ears, and enhance the user's wearing and taking off experience.

[0127] Structural form of the first earphone body 100

[0128] FIG4 is a schematic structural diagram of an embodiment of the first earphone body 100 shown in FIG1 .

[0129] As shown in FIG. 4 , the first earphone body 100 may include a first shell 10 and a second shell 20 .

[0130] In some embodiments, a first capacitive sensor is disposed within the first earphone body 100. The first capacitive sensor is used to implement a wearing detection function: identifying whether a user is wearing the earphone 1000. The first capacitive sensor is disposed within the first earphone body 100. Exemplarily, the first capacitive sensor is connected to the inner surface of the second housing 20.

[0131] When the earphones are worn on the ears, the auricle contacts the first capacitive sensor within the first earphone body 100, causing the capacitance value of the first capacitive sensor to change. Based on this change in capacitance value, it can be determined whether the user is wearing the earphones. In one possible implementation, there can be one or more first capacitive sensors.

[0132] In other embodiments, a proximity sensor may also be used to implement the wearing detection function. Specifically, the first earphone body 100 has a transmitting end and a receiving end for optical detection, that is, determining whether an object is approaching by emitting and receiving light to implement the wearing detection function. The transmitting end can emit a specific light segment, and the receiving end can receive the light signal and make a judgment. Specifically, when the user wears the earphones 1000, the specific light segment emitted by the transmitting end is reflected by the user's auricle to the receiving end. The receiving end detects the specific light segment signal and determines that the user is wearing the earphones 1000; when the user is not wearing the earphones 1000, the specific light segment emitted by the transmitting end will not be reflected by the user's auricle, and the receiving end will not be able to detect the specific light segment signal, so it will be determined that the user is not wearing the earphones 1000 or the wearing is unsuccessful.

[0133] In other embodiments, the wearing detection function can also be implemented by optical detection. Specifically, the first earphone body 100 also includes a receiving end; the second earphone body 200 also includes a transmitting end. The receiving end and the transmitting end are arranged side by side and opposite to each other. The transmitting end can emit a specific light segment, and the receiving end can receive the light signal and make a judgment. Specifically, when the user wears the earphones 1000, the specific light segment emitted by the transmitting end is blocked by the user's auricle, and the receiving end cannot detect the specific light segment signal, so it is judged that the user is not wearing the earphones 1000 or the wearing is unsuccessful; when the user is not wearing the earphones 1000, the specific light segment emitted by the transmitting end directly enters the receiving end, and the receiving end detects the specific light segment signal and makes a judgment that the user is wearing the earphones 1000.

[0134] Optionally, the transmitting end may be located in the first earphone body 100 , and the receiving end may be located in the second earphone body 200 .

[0135] The method is not limited to capacitive sensors and optical detection, and other methods can also be used to determine whether the user is wearing the headset 1000. This application does not limit this.

[0136] The structure of the second earphone body 200

[0137] Fig. 5 is a schematic structural diagram of an embodiment of the second earphone body 200 shown in Fig. 2. As shown in Fig. 5, the second earphone body 200 may include a third housing 210 and a fourth housing 220.

[0138] FIG. 6 is a schematic structural diagram of an embodiment of the third housing 210 shown in FIG. 5 .

[0139] As shown in FIG6 , the third housing 210 is provided with a first sound pickup hole 214 and a second sound pickup hole 215 spaced apart from each other. The first sound pickup hole 214 and the second sound pickup hole 215 are spaced apart and arranged parallel to the longitudinal axis L1. The first sound pickup hole 214 connects the outer surface 211 and the inner surface 212 of the third housing 210. The second sound pickup hole 215 can connect the outer surface 211 and the inner surface 212 of the third housing 210.

[0140] In some embodiments, a first feedforward microphone and a second feedforward microphone are disposed within the second earphone body 200. In some embodiments, the first feedforward microphone and the second feedforward microphone may be symmetrical about the symmetry plane OO. The first feedforward microphone and the second feedforward microphone may be disposed relative to each other. The first feedforward microphone may be located below the first sound pickup hole 214 and pick up audio near the first sound pickup hole 214. The second feedforward microphone may be located below the second sound pickup hole 215 and pick up audio near the second sound pickup hole 215.

[0141] In some embodiments, the first sound pickup hole 214 and the second sound pickup hole 215 may be symmetrical with respect to the symmetry plane OO.

[0142] The third housing 210 is provided with a fifth through-hole 216 and a sixth through-hole 217 spaced apart from each other. The fifth through-hole 216, the sixth through-hole 217, the first sound pickup hole 214, and the second sound pickup hole 215 are spaced apart from each other. The fifth through-hole 216 and the sixth through-hole 217 are spaced apart and arranged parallel to the longitudinal axis L1. The fifth through-hole 216 connects the outer surface 211 and the inner surface 212 of the third housing 210. The sixth through-hole 217 connects the outer surface 211 and the inner surface 212 of the third housing 210.

[0143] In some embodiments, the fifth through hole 216 and the sixth through hole 217 may be symmetrical with respect to the symmetry plane OO (ie, the XY plane).

[0144] The third housing 210 may further include a seventh through hole 218. The seventh through hole 218 is spaced apart from the first sound pickup hole 214, the second sound pickup hole 215, the fifth through hole 216, and the sixth through hole 217. The seventh through hole 218 connects the outer surface 211 and the inner surface 212 of the third housing 210.

[0145] As shown in Figure 6, the charging terminal can be located on a side of the battery 240 away from the seventh through hole 218. Exemplarily, the charging terminal includes a first electrode and a second electrode. The first electrode is fixedly connected to the third housing 210 and exposed to the second earphone body 200 at the fifth through hole 216. The second electrode is fixedly connected to the third housing 210 and exposed to the second earphone body 200 at the sixth through hole 217. In other embodiments, the fifth through hole 216 and the sixth through hole 217 can also be provided on the fourth housing 220, and the first electrode and the second electrode can also be fixedly connected to the fourth housing 220. This is not limited in this application.

[0146] When the user charges the earphones 1000, the first electrode and the second electrode act as the positive and negative electrodes, respectively. However, the correspondence between the first and second electrodes and the positive and negative electrodes is not fixed. It is understood that the first electrode can act as the positive electrode and the second electrode as the negative electrode, or the first electrode can act as the negative electrode and the second electrode as the positive electrode.

[0147] In some embodiments, a second capacitive sensor is disposed in the second earphone body 200. The second capacitive sensor is used to implement a wearing detection function: identifying whether the user is wearing the earphone 1000. The second capacitive sensor is disposed in the second earphone body 200.

[0148] In other embodiments, a proximity sensor may be used to implement the wearing detection function.

[0149] The method is not limited to the capacitive sensor and optical detection, and other methods can also be used to determine whether the user is wearing the headset 1000. This application does not limit this. For details, please refer to the description of the embodiment in Figure 4, and this application will not repeat them here.

[0150] In some embodiments, the second earphone body 200 also includes an inertial measurement unit (IMU) for posture determination. Specifically, when the earphone 1000's wearing detector detects that the user is wearing the earphone 1000, the inertial detector can determine whether the earphone 1000 is currently being worn on the user's left or right ear, and then perform operations such as switching left and right audio channels, switching gesture control, identifying the battery levels of the left and right earphones, and determining the primary mic.

[0151] The inertia detector is not limited to being located in the second earphone body 200. The inertia detector may also be located in the first earphone body 100 or in the cantilever arm 300. This application does not limit this.

[0152] Therefore, the earphones 1000 provided in this embodiment can solve the problem of difficulty in distinguishing between the left and right ears when the earphones have similar shapes, so that the user no longer needs to distinguish between the left and right ears when wearing the earphones 1000, thereby increasing the user's flexibility in using the earphones 1000 and improving the user experience of wearing and using the wireless earphones 1000.

[0153] Structural form of cantilever arm 300

[0154] The cantilever arm 300 may include a first connector and a second connector. The cantilever arm 300 may be connected to the first earphone body 100 via the first connector and to the second earphone body 200 via the second connector. The cantilever arm 300 may also enable signal transmission between the first earphone body 100 and the second earphone body 200.

[0155] In the above embodiment provided by this application, the support member 330 within the cantilever arm 300 can adjust the distance between the opposite ends of the cantilever arm 300 in the X-axis direction. Therefore, after the cantilever arm 300 is connected to the first earphone body 100 and the second earphone body 200, by adjusting the distance L between the first earphone body 100 and the second earphone body 200, it can adapt to users with different ear thicknesses, provide appropriate clamping force for each user, and enhance the user's comfort during long-term wear and when putting on and taking off the earphones 1000.

[0156] Symmetrical structure of the first earphone body 100, the suspension arm 300 and the second earphone body 200

[0157] FIG7 is a schematic structural diagram of the earphone 1000 shown in FIG2 from another angle.

[0158] As shown in Figure 7, the exterior surface of the first earphone body 100 has a symmetry plane 1. The exterior surface of the second earphone body 200 has a symmetry plane 2. The exterior surface of the cantilever also has a symmetry plane 3. Symmetry planes 1, 2, and 3 are coplanar. It is understood that due to assembly tolerances, a slight angle between any two of symmetry planes 1, 2, and 3 is permitted, with the angle being less than or equal to 1°, such as 0.2°, 0.5°, 0.9°, or 1.0°. For example, the angle between symmetry planes 1 and 2 can be less than 1°, or the angle between symmetry planes 1 and 3 can be less than 1°, or the angle between symmetry planes 2 and 3 can be less than 1°. In this case, any one of symmetry planes 1, 2, and 3 is the symmetry plane 0-0 of earphone 1000. This creates a symmetrical structure for the earphone 1000, eliminating the need for the user to distinguish between left and right ears when using the earphone 1000.

[0159] In this application, an earphone 1000 is described in detail with reference to the relevant drawings. The earphone 1000 includes a first earphone body 100, a suspension arm 300, and a second earphone body 200. The suspension arm 300 is connected between the first earphone body 100 and the second earphone body 200. The first earphone body 100 is used to produce sound. The second earphone body 200 includes a housing, a first feedforward microphone, and a second feedforward microphone. The housing has a second space therein and is provided with a first sound pickup hole 214 and a second sound pickup hole 215. The first sound pickup hole 214 and the second sound pickup hole 215 connect the second space with the exterior of the second earphone body 200. The first feedforward microphone picks up sound outside the second earphone body 200 through the first sound pickup hole 214, and the second feedforward microphone picks up sound outside the second earphone body 200 through the second sound pickup hole 215. The appearance surface of the second earphone body 200 is symmetrical about the symmetry plane 2. The appearance surface of the second earphone body 200 has a long axis L1. The first sound pickup hole 214 and the second sound pickup hole 215 are symmetrical about the symmetry plane 2 and are located on the side of the long axis close to the cantilever arm 300.

[0160] It is understood that, compared to a solution with only one of the first sound pickup hole 214 or the second sound pickup hole 215, regardless of whether the user wears the earphone 1000 on the left or right ear, the first sound pickup hole 214 and the second sound pickup hole 215 can always maintain one facing the ground and the other facing away from the ground. If the sound pickup hole facing away from the ground is blocked by sweat dripping into it, the other sound pickup hole can still function normally, thus achieving active noise reduction.

[0161] At the same time, compared with the solution in which the long axis L1 passes through the first sound pickup hole 214 and the second sound pickup hole 215, the first sound pickup hole 214 and the second sound pickup hole 215 are arranged on one side of the long axis L1. When the user wears the earphones 1000, the risk of sweat dripping into the first sound pickup hole 214 or the second sound pickup hole 215 can be reduced, thereby avoiding the first sound pickup hole 214 or the second sound pickup hole 215 being blocked by sweat and affecting the active noise reduction effect.

[0162] In some embodiments, the earphones 1000 of the present application are symmetrical about the OO plane in terms of appearance, charging design, and audio effects, so the user does not need to distinguish between the left and right ears when using the earphones 1000.

[0163] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of this application can be combined with each other, and any combination of features in different embodiments is also within the scope of protection of this application. That is to say, the multiple embodiments described above can also be arbitrarily combined according to actual needs.

[0164] A headphone box for placing the earphones 1000 and charging the earphones 1000

[0165] As shown in FIG8 , the earphone box 2000 includes slots 1101 , 1102 , 1103 and 1104 . Slots 1101 and 1102 can be any earphones in the earphones 1000 , and slots 1103 and 1104 can be any earphones in the earphones 1000 .

[0166] Among them, slots 1101 and 1104 are used to place the first earphone body 100, and slots 1102 and 1103 are used to place the second earphone body 200.

[0167] The first earphone or the second earphone of earphone 1000 can be placed in slot 1101 and slot 1102, or in slot 1103 and slot 1104 at will.

[0168] For easy opening and closing, the earphone box 2000 can adopt a vertical opening and closing structure. When the two earphones of the earphone 1000 are placed in the earphone box 2000, the earphone box 2000 will restore the default properties of the earphones based on the placement position of the earphones.

[0169] The default attributes of the earphones can be determined based on the position of the earphones in the earphone case 2000. For example, when the earphones are located in slots 1101 and 1102 in the earphone case 2000, the default attributes of the earphones are left earphone attributes. When the earphones are located in slots 1103 and 1104 in the earphone case 2000, the default attributes of the earphones are right earphone attributes.

[0170] Taking the opening of the earphone box facing the user as an example, the earphone attributes placed in slots 1101 and 1102 shown in Figure 11 are left earphone attributes, and the earphone attributes placed in slots 1103 and 1104 shown in Figure 11 are right earphone attributes.

[0171] In some embodiments, slots 1101 and 1102 in the headphone case 2000 may be referred to as left slots, and slots 1103 and 1104 in the headphone case 2000 may be referred to as right slots. Headphones placed in the left slot have left headphone attributes, and headphones placed in the right slot have right headphone attributes.

[0172] For example, the headset 1000 includes a first headset and a second headset. When the first headset is placed in the left position of the headset case 2000, the headset attribute of the first headset is the left headset attribute. When the second headset is placed in the right position of the headset case 2000, the headset attribute of the second headset is the right headset attribute.

[0173] In this way, it is ensured that the properties of the earphones are correct when they are put into the warehouse and then taken out, avoiding the situation where the properties of the earphones are confused.

[0174] Identify the wearing status of the headset

[0175] As described above, when wearing headphones 1000, the user does not need to distinguish between the left and right earphones. However, when wearing headphones 1000, the user needs to identify whether the first and / or second earphones in headphones 1000 are worn on the left or right ear. In one possible implementation, the first earphone can identify whether the first earphone is worn on the left or right ear based on collected inertial data, and the second earphone can also identify whether the second earphone is worn on the left or right ear based on collected inertial data. In other possible implementations, an electronic device that establishes a communication connection with headphones 1000 can determine whether the first earphone is worn on the left or right ear and whether the second earphone is worn on the left or right ear. Specifically, the first earphone can transmit the collected inertial data to the electronic device, which can determine whether the first earphone is worn on the left or right ear based on the inertial data transmitted by the first earphone, and then transmit the confirmation result to the first earphone. Similarly, the second earphone can also transmit the collected inertial data to the electronic device, which can determine whether the second earphone is worn on the left or right ear based on the inertial data transmitted by the second earphone, and then transmit the confirmation result to the second earphone.

[0176] The following embodiments of the present application are described by taking the example of the first earphone and the second earphone each identifying whether the earphone is worn on the left ear or the right ear.

[0177] After the first earphone and / or the second earphone recognizes that it is worn on the left ear or the right ear, the first earphone and / or the second earphone can confirm the wearing attributes of the earphones, and then switch the left and right channels, switch gesture control, identify the battery level of the left and right earphones, and determine the main mic based on the wearing attributes of the earphones.

[0178] The earphone wearing attribute is determined based on whether the earphone is worn on the left or right ear. The earphone wearing attributes may include a left earphone attribute and a right earphone attribute. The left earphone attribute indicates that the earphone is currently worn on the user's left ear, and the right earphone attribute indicates that the earphone is currently worn on the user's right ear. For example, when the first earphone identifies that the first earphone is worn on the left ear, the first earphone wearing attribute is a left earphone attribute. When the first earphone identifies that the first earphone is worn on the right ear, the first earphone wearing attribute is a right earphone attribute. Similarly, when the second earphone identifies that the second earphone is worn on the left ear, the second earphone wearing attribute is a left earphone attribute. When the second earphone identifies that the second earphone is worn on the right ear, the second earphone wearing attribute is a right earphone attribute. In some embodiments, before identifying whether the earphone is worn on the left or right ear, the earphone needs to determine whether the earphone is being worn. If the earphone is being worn, the determination of whether the earphone is being worn on the left or right ear is then made. If the earphone is not being worn, there is no need to determine whether the earphone is being worn on the left or right ear, thereby saving power consumption.

[0179] In some embodiments, a first capacitive sensor is pre-installed in the first earphone body 100 , and the first capacitive sensor is used to implement a wearing detection function: identifying whether the user is wearing the earphone 1000 .

[0180] In some embodiments, a second capacitive sensor is pre-installed in the second earphone body 200, and the second capacitive sensor is used to implement a wearing detection function: identifying whether the user is wearing the earphone 1000.

[0181] The headset can identify whether the user is wearing the headset 1000 through the first capacitive sensor or the second capacitive sensor.

[0182] In some embodiments, for people with different ear shapes and different wearing angles, the second earphone body 200 may not fit the ear or the first earphone body 100 may not fit the ear. In order to improve the accuracy of wearing recognition, the earphone can identify whether the user is wearing the earphone 1000 through the first capacitive sensor and the second capacitive sensor.

[0183] The following embodiments of the present application are described by taking an example in which an earphone identifies whether a user is wearing the earphone 1000 through a first capacitive sensor and a second capacitive sensor.

[0184] When the user wears the earphones 1000, the capacitive sensor can stick to the user's auricle, forming a specific capacitance difference, and making a judgment that the user is wearing the earphones 1000; when the user is not wearing the earphones 1000, the capacitive sensor is not in contact with the auricle, and the capacitance difference is stable at this time, so it can be judged that the user is not wearing the earphones 1000.

[0185] For example, wearing detection may include the following three scenarios:

[0186] (1) When the user wears the earphone 1000 correctly, the first capacitive sensor and the second capacitive sensor can be in close contact with the user's auricle, and the capacitive sensor in the earphone forms a specific capacitance value (the capacitance value is relatively large). At the same time, the first capacitive sensor and the second capacitive sensor are both close to the user's ear, and the difference between the capacitance value generated by the first capacitive sensor and the capacitance value generated by the second capacitive sensor is relatively small.

[0187] The headset can monitor the capacitance values ​​of the first capacitance sensor and the second capacitance sensor, and determine that the user is wearing the headset 1000 based on the change in capacitance value.

[0188] For example, when the first capacitance sensor detects that the first capacitance value is greater than the first preset value, and the second capacitance sensor detects that the second capacitance value is greater than the second preset value, it can be determined that the earphone is in the wearing state.

[0189] In some embodiments, the headset may obtain a capacitance change curve based on the capacitance value collected by the capacitance sensor, where the capacitance change curve is used to represent the capacitance values ​​collected by the capacitance sensor at different moments.

[0190] For example, FIG9 shows a schematic diagram of a capacitance change curve.

[0191] As can be seen from Figure 9, when the earphones are not being worn, the capacitance value collected by the capacitive sensor is low and stable at a small value, for example, the capacitance value can be stable at around -110000. In some embodiments, the capacitance change curve between time A and time B can be called a capacitance baseline, which is used to represent the capacitance value collected by the capacitive sensor when the earphones are not being worn.

[0192] When a user wears headphones, the capacitance value collected by the capacitive sensor in the headphones will increase sharply. For example, the capacitance value collected by the capacitive sensor will suddenly increase and then stabilize at a larger value, for example, the capacitance value may be stabilized at about 260,000.

[0193] When the user takes off the earphones again, the capacitance value collected by the capacitive sensor in the earphones decreases sharply and stabilizes at a smaller value, for example, the capacitance value can stabilize at around -100000. In some embodiments, the capacitance change curve between time C and time D can also be called a capacitance baseline.

[0194] Based on the above analysis, the earphone can determine whether the earphone is in a worn state or not in a worn state based on the change in capacitance value.

[0195] In some embodiments, the capacitance value collected by the capacitive sensor is susceptible to temperature, and different temperatures have different effects on the capacitance value collected by the capacitive sensor. To improve the accuracy of wearing state identification, the capacitance difference and temperature compensation can be used to simultaneously refer to the capacitance difference and then identify whether the earphone is in the worn state or not.

[0196] Temperature compensation can be understood as the error in the capacitance value collected by the capacitive sensor at different temperatures. The earphones can determine the capacitance error value based on the current ambient temperature and then determine the target capacitance value based on the capacitance value collected by the capacitive sensor and the capacitance error value. If the target capacitance value is greater than a preset value, it can be determined that the earphones are being worn. If the target capacitance value is less than the preset value, it can be determined that the earphones are not being worn.

[0197] It should be noted that different ambient temperatures correspond to different capacitance error values.

[0198] For example, the headset can detect a first capacitance value based on a first capacitance sensor, and then determine a capacitance error value based on the current ambient temperature. Finally, the headset determines a first target capacitance value based on the first capacitance value and the capacitance error value. Similarly, the headset can detect a second capacitance value based on a second capacitance sensor, and then determine a capacitance error value based on the current ambient temperature. Finally, the headset determines a second target capacitance value based on the second capacitance value and the capacitance error value. If the first target capacitance value is greater than a first preset value and the second target capacitance value is greater than a second preset value, it can be determined that the headset is in a worn state.

[0199] In some embodiments, only the capacitance value collected by the first capacitance sensor may be temperature compensated, and the capacitance value collected by the second capacitance sensor does not need to be temperature compensated.

[0200] In other embodiments, only the capacitance value collected by the second capacitance sensor may be temperature compensated, and the capacitance value collected by the first capacitance sensor does not need to be temperature compensated.

[0201] (2) When the user is not wearing the earphone 1000 and there is no contact between the first capacitive sensor and the second capacitive sensor, the capacitance values ​​detected by the first capacitive sensor and the second capacitive sensor are small, and the difference between the capacitance value generated by the first capacitive sensor and the capacitance value generated by the second capacitive sensor is small.

[0202] For example, when the first capacitance sensor detects that the first capacitance value is less than the first preset value, and the second capacitance sensor detects that the second capacitance value is greater than the second preset value, it can be determined that the earphone is not worn.

[0203] In some embodiments, the headset can detect a first capacitance value based on a first capacitance sensor, and then determine a capacitance error value based on the current ambient temperature. Finally, the headset determines a first target capacitance value based on the first capacitance value and the capacitance error value. Similarly, the headset can detect a second capacitance value based on a second capacitance sensor, and then determine a capacitance error value based on the current ambient temperature. Finally, the headset determines a second target capacitance value based on the second capacitance value and the capacitance error value. If the first target capacitance value is less than a first preset value, and the second target capacitance value is greater than the second preset value, it can be determined that the headset is not being worn.

[0204] (3) When the user picks up the headset 1000 or other obstacles cover either the first capacitive sensor or the second capacitive sensor, one of the first capacitive sensor and the second capacitive sensor is closer to the obstacle and the other is farther away. At this time, the difference between the capacitance value generated by the first capacitive sensor and the capacitance value generated by the second capacitive sensor is large.

[0205] It can be understood that the earphone 1000 can determine whether the earphone 1000 is in scene (1) or scene (2) based on the absolute value of the capacitance generated by the first capacitance sensor and the second capacitance sensor, and determine whether the earphone 1000 is in scene (3) based on the difference in capacitance generated by the first capacitance sensor and the second capacitance sensor (that is, the relative value of capacitance).

[0206] It can be understood that compared with the solution of only setting the first capacitive sensor or the second capacitive sensor, the present application sets the first capacitive sensor on the first earphone body 100 and the second capacitive sensor on the second earphone body 200. This can reduce the risk of misidentification and improve the wearing detection accuracy and reliability of the earphone 1000.

[0207] In some embodiments, the first capacitive sensor may be provided only on the first earphone body 100 , or the second capacitive sensor may be provided only on the second earphone body 200 , which is not limited in this application.

[0208] Identify whether the headset is worn on the left ear or the right ear, and determine whether to reset the wearing attribute of the headset based on whether the headset is worn on the left ear or the right ear.

[0209] After the headset determines that the headset is being worn, it also needs to identify whether the headset is worn on the left or right ear, and then determine whether the headset wearing attributes need to be reset. Based on the headset wearing attributes, it can then perform operations such as switching left and right channels, switching gesture control, determining the battery levels of the left and right earbuds, and determining the primary mic.

[0210] The step of the user wearing the earphones may include two steps, namely taking out the earphones and wearing the earphones.

[0211] 1. The first earphone and the second earphone are taken out from the earphone box 2000 , and the first earphone is assigned a wearing attribute, and the second earphone is assigned a wearing attribute.

[0212] 1. Based on the above description, when the first earphone and the second earphone are placed in the earphone box 2000, the first earphone will reset its earphone properties to default properties, and the second earphone will also reset its earphone properties to default properties.

[0213] The following embodiments of the present application are described by taking the example of placing the first earphone in the left position and the second earphone in the right position.

[0214] Then, when the first earphone and the second earphone are placed in the earphone box 2000, the default attribute of the first earphone is the left earphone attribute, and the default attribute of the second earphone is the right earphone attribute.

[0215] 2. After the user takes the first earphone and the second earphone out of the earphone box 2000 and before wearing them on the ears, the wearing attributes of the first earphone and the second earphone are the same as the default attributes of the first earphone and the default attributes of the second earphone.

[0216] For example, the wearing attribute of the first earphone is the left earphone attribute, and the wearing attribute of the second earphone is the right earphone attribute.

[0217] 3. After the user wears the first earphone and the second earphone on their ears respectively, if the wearing time is short and the first earphone and the second earphone have not yet recognized whether the first earphone and the second earphone are worn on the left ear or the right ear, the wearing attribute of the first earphone is still the left earphone attribute, and the wearing attribute of the second earphone is still the right earphone attribute.

[0218] 4. After the first earphone and the second earphone are worn on the ears respectively, if the wearing time is long, the first earphone and the second earphone can identify whether the first earphone and the second earphone are worn on the left ear or the right ear, and determine whether to change the wearing attributes of the first earphone and the second earphone based on whether the first earphone and the second earphone are worn on the left ear or the right ear.

[0219] In some embodiments, when the first earphone is worn on the user's left ear for a long time and the second earphone is worn on the user's right ear for a long time, the wearing attribute of the first earphone is still the left earphone attribute, and the wearing attribute of the second earphone is still the right earphone attribute.

[0220] In some embodiments, if the first earphone is worn on the user's right ear for a long time, and the second earphone is worn on the user's left ear for a long time, the wearing attributes of the first and second earphones need to be changed. For example, the wearing attribute of the first earphone needs to be changed from the left earphone attribute to the right earphone attribute, and the wearing attribute of the first earphone needs to be changed from the right earphone attribute to the left earphone attribute.

[0221] Next, we will introduce how to identify whether the earphones are worn on the left or right ear.

[0222] In order to determine the wearing attribute of the headset, it is necessary to identify whether the headset is worn on the left ear or the right ear. Different body postures of the user wearing the headset will affect the headset 1000's identification of whether the headset is worn on the left ear or the right ear.

[0223] 1. Identify whether the earphones are worn on the left or right ear when standing or sitting.

[0224] 1. Identify whether the earphones are worn on the left or right ear when standing.

[0225] 10-11 show schematic diagrams of a user wearing the headset 1000 while standing.

[0226] As shown in FIG10 , when the user is in a standing state, the user wears the first earphone on the left ear (not shown in FIG10 ) and wears the second earphone on the right ear.

[0227] In the scenario shown in FIG10 , if the wearing time is short, the wearing attribute of the first earphone is the left earphone attribute, and the wearing attribute of the second earphone is the right earphone attribute.

[0228] If the earphones are worn for a long time, the earphones 1000 can identify whether the first and second earphones are worn on the left or right ear. For example, the first earphone can be determined to be worn on the user's left ear, and the second earphone can be determined to be worn on the user's right ear. Based on the fact that the earphones are worn on the left ear, the first earphone can determine that the first earphone is worn as a left earphone. Based on the fact that the earphones are worn on the right ear, the second earphone can determine that the second earphone is worn as a right earphone.

[0229] As shown in FIG11 , when the user is in a standing state, the user wears the first earphone on the right ear and the second earphone on the left ear (not shown in FIG11 ).

[0230] In the scenario shown in FIG11 , if the wearing time is short and the earphones have not yet determined whether the earphones are worn on the left ear or the right ear, the wearing attribute of the first earphone is the left earphone attribute, and the wearing attribute of the second earphone is the right earphone attribute.

[0231] If the earphones are worn for a long time, the earphones 1000 can identify whether the first and second earphones are worn on the left or right ear. For example, the first earphone can determine that it is worn on the user's right ear, and the second earphone can determine that it is worn on the user's left ear. Based on the fact that it is worn on the right ear, the first earphone can determine that the first earphone's wearing attribute is a right earphone attribute, and the first earphone's wearing attribute will be switched from a left earphone attribute to a right earphone attribute. Based on the fact that it is worn on the left ear, the second earphone can determine that the second earphone's wearing attribute is a left earphone attribute, and the second earphone's wearing attribute will be switched from a right earphone attribute to a left earphone attribute.

[0232] Next, we will introduce how the earphones can identify whether they are worn on the left or right ear.

[0233] In some embodiments, an IMU sensor is pre-installed in the second earphone body 200. The earphone can determine whether the earphone is worn on the left ear or the right ear through the gravity acceleration collected by the IMU sensor.

[0234] The method is not limited to the IMU sensor, and the gravity acceleration collected by a separate ACC device can also be used to determine whether the headset is worn on the left ear or the right ear. This application does not limit this.

[0235] Optionally, the IMU sensor is not limited to being placed in the second earphone body 200 . The IMU sensor may also be pre-installed in the first earphone body 100 or in the cantilever arm 300 , and this application does not impose any limitation on this.

[0236] FIG12 is a schematic diagram showing the components of gravitational acceleration on three axes when the first earphone is worn on the left ear.

[0237] As shown in Figure 12, the geometric center of the first earphone body 100, the geometric center of the second earphone body 200 and the geometric center of the cantilever arm 300 determine a unique plane, which is the OO plane (illustrated by the dotted line in Figure 1). For the convenience of description, the line connecting the geometric center of the second earphone body 200 and the geometric center of the first earphone body 100 is defined as the Z axis, and the direction from the geometric center of the second earphone body 200 to the geometric center of the first earphone body 100 is defined as the positive direction of the Z axis. The straight line passing through the geometric center of the end face connecting the cantilever arm 300 and the second earphone body 200 and perpendicular to the end face is defined as the Y axis, and the direction from the geometric center of the end face to the cantilever arm 300 is defined as the positive direction of the Y axis. The straight line perpendicular to both the Z axis and the Y axis is defined as the X axis. As shown in Figure 2, the direction perpendicular to the Z axis and the Y axis pointing to the ground is the positive direction of the X axis.

[0238] The gravity acceleration G of the second earphone points vertically downward toward the ground. Based on the gravity acceleration G, the gravity acceleration components of the gravity acceleration G on the X-axis, Y-axis, and Z-axis can be obtained.

[0239] In some embodiments, it can be determined whether the earphone is worn on the left ear or the right ear based on the acceleration component of the gravitational acceleration G on the X-axis.

[0240] As shown in FIG. 12 , when the first earphone is worn on the left ear of the user, the acceleration component of the gravitational acceleration G in the positive direction of the X-axis is positive.

[0241] When the gravitational acceleration G meets a preset condition, it can be determined that the second earphone is worn on the left ear of the user.

[0242] The preset conditions may include but are not limited to one or more of the following: the acceleration component of the gravitational acceleration G in the positive direction of the X-axis is positive, the acceleration component of the gravitational acceleration G on the Z-axis is close to the minimum value, and the acceleration component of the gravitational acceleration G on the Y-axis is close to the minimum value.

[0243] As shown in FIG. 13 , when the second earphone is worn on the user's right ear, the acceleration component of the gravitational acceleration G in the positive direction of the X-axis is negative.

[0244] When the gravitational acceleration G meets a preset condition, it can be determined that the second earphone is worn on the right ear of the user.

[0245] The preset conditions may include but are not limited to one or more of the following: the acceleration component of the gravitational acceleration G in the positive direction of the X-axis is negative, the acceleration component of the gravitational acceleration G on the Z-axis is close to the minimum value, and the acceleration component of the gravitational acceleration G on the Y-axis is close to the minimum value.

[0246] When two earphones 1000 are in a worn state, it can be determined whether the first earphone and the second earphone are worn on the left ear or the right ear based on the acceleration component of the gravitational acceleration G in the positive direction of the X-axis in the first earphone and the acceleration component of the gravitational acceleration G in the positive direction of the X-axis in the second earphone.

[0247] For example, when the acceleration component of the gravitational acceleration G in the positive direction of the X-axis in the first earphone is positive, and the acceleration component of the gravitational acceleration G in the positive direction of the X-axis in the second earphone is negative, it can be determined that the first earphone is worn on the user's left ear and the second earphone is worn on the user's right ear.

[0248] For another example, when the acceleration component of the gravitational acceleration G in the positive direction of the X-axis in the first earphone is negative, and the acceleration component of the gravitational acceleration G in the positive direction of the X-axis in the second earphone is positive, it can be determined that the first earphone is worn on the user's right ear and the second earphone is worn on the user's left ear.

[0249] It should be noted that it is not limited to determining whether the earphone is worn on the left ear or the right ear by the acceleration component of the gravitational acceleration G in the positive direction of the X-axis. It can also be determined based on other methods to identify whether the earphone is worn on the left ear or the right ear when the earphone 1000 is worn while standing. This application does not limit this.

[0250] In some embodiments, when both the first earphone and the second earphone are in a wearing state, the earphone identifies whether they are worn on the left ear or the right ear, and determines the wearing attributes based on the wearing. The wearing attributes of the earphone may be the same as or different from the default attributes of the earphone.

[0251] In other embodiments, when only one of the first earphone or the second earphone is in the wearing state, the earphone does not identify whether it is worn on the left ear or the right ear, and the wearing attribute of the earphone remains consistent with the default attribute of the earphone.

[0252] 2. Identify whether the earphones are worn on the left or right ear when sitting or standing.

[0253] 14A-14B show schematic diagrams of a user wearing the headset 1000 while sitting.

[0254] As shown in FIG. 14A , when the user is in a sitting state, the user wears the first earphone on the left ear and the second earphone on the right ear (not shown in FIG. 14A ).

[0255] In the scenario shown in FIG14A , if the wearing time is short, the wearing attribute of the first earphone is the left earphone attribute, and the wearing attribute of the second earphone is the right earphone attribute.

[0256] If the earphones are worn for a long time, the earphones 1000 can identify whether the first and second earphones are worn on the left or right ear. For example, the first earphone can be determined to be worn on the user's left ear, and the second earphone can be determined to be worn on the user's right ear. Based on the fact that the earphones are worn on the left ear, the first earphone can determine that the first earphone is worn as a left earphone. Based on the fact that the earphones are worn on the right ear, the second earphone can determine that the second earphone is worn as a right earphone.

[0257] As shown in FIG14B , when the user is in a standing state, the user wears the first earphone on the right ear (not shown in FIG14B ) and the second earphone on the left ear.

[0258] In the scenario shown in FIG14B , if the wearing time is short and the earphones have not yet determined whether the earphones are worn on the left ear or the right ear, the wearing attribute of the first earphone is the left earphone attribute, and the wearing attribute of the second earphone is the right earphone attribute.

[0259] If the earphones are worn for a long time, the earphones 1000 can identify whether the first and second earphones are worn on the left or right ear. For example, the first earphone can determine that it is worn on the user's right ear, and the second earphone can determine that it is worn on the user's left ear. Based on the fact that it is worn on the right ear, the first earphone can determine that the first earphone's wearing attribute is a right earphone attribute, and the first earphone's wearing attribute will be switched from a left earphone attribute to a right earphone attribute. Based on the fact that it is worn on the left ear, the second earphone can determine that the second earphone's wearing attribute is a left earphone attribute, and the second earphone's wearing attribute will be switched from a right earphone attribute to a left earphone attribute.

[0260] How to identify whether the earphones are worn on the left ear or the right ear when sitting is the same as how to identify whether the earphones are worn on the left ear or the right ear when standing. For details, please refer to the description of how to identify whether the earphones are worn on the left ear or the right ear when standing. This application will not go into details here.

[0261] 2. Identify whether the earphones are worn on the left or right ear when lying down.

[0262] The user's lying posture can be further divided into a flat lying posture and a side lying posture. Depending on the different lying postures, the method for the earphone 1000 to identify whether the earphone is worn on the left ear or the right ear is also different.

[0263] 1. Identify whether the earphones are worn on the left or right ear when lying flat.

[0264] 15A-15B show schematic diagrams of a user wearing the earphones 1000 while lying flat.

[0265] As shown in FIG15A , when the user is in a lying state, the user wears the first earphone on the left ear (not shown in FIG15A ) and wears the second earphone on the right ear.

[0266] As shown in FIG15B , when the user is lying flat, the user wears the first earphone on the right ear and the second earphone on the left ear (not shown in FIG15B ).

[0267] In some embodiments, an IMU sensor is pre-installed in the second earphone body 200. The earphone can determine whether the earphone is worn on the left ear or the right ear through the gravity acceleration collected by the IMU sensor.

[0268] Projecting the chin shown in Figure 15A onto the top of the head, we can obtain the schematic diagram of the components of gravity acceleration on each coordinate axis shown in Figure 15C. Figure 15C shows a schematic diagram of gravity acceleration G when the user is lying flat wearing the first and second headphones.

[0269] As shown in FIG15C , when the user is lying flat, the acceleration component of the gravity acceleration G on the Y axis is close to 0, the acceleration component of the gravity acceleration G on the X axis is close to a minimum value, and the acceleration component of the gravity acceleration G on the Z axis is negative.

[0270] When the gravitational acceleration G meets the preset conditions, it can be determined that the user is in a lying state, and it does not distinguish whether the earphone is worn on the left ear or the right ear.

[0271] The preset conditions may include but are not limited to one or more of the following: the acceleration component of the gravity acceleration G on the Y axis is close to the minimum value, the acceleration component of the gravity acceleration G on the X axis is close to the minimum value, and the acceleration component of the gravity acceleration G on the Z axis is a negative value.

[0272] For example, when two earphones 1000 are in a worn state, when the acceleration component of the gravitational acceleration G on the Z axis in the first earphone is a negative value, and the acceleration component of the gravitational acceleration G on the Z axis in the second earphone is a negative value, it can be determined that the user is in a lying position, and there is no need to distinguish whether the first earphone and the second earphone are worn on the left ear or the right ear. The wearing attributes of the first earphone and the second earphone are the same as the default attributes of the first earphone and the second earphone.

[0273] For another example, when two earphones 1000 are in a worn state, when the acceleration component of the gravity acceleration G on the Y axis in the first earphone is close to a minimum value, the acceleration component of the gravity acceleration G on the X axis is close to a minimum value, and the acceleration component on the Z axis is a negative value, and the acceleration component of the gravity acceleration G on the Y axis in the second earphone is close to a minimum value, the acceleration component of the gravity acceleration G on the X axis is close to a minimum value, and the acceleration component on the Z axis is a negative value, it can be determined that the user is in a lying position, and there is no need to distinguish whether the first earphone and the second earphone are worn on the left ear or the right ear, and the wearing attributes of the first earphone and the second earphone are the same as the default attributes of the first earphone and the second earphone.

[0274] In some embodiments, when the first earphone and the second earphone are both in the wearing state and the user is in a lying position, the earphones do not need to identify whether they are worn on the left ear or the right ear, and the wearing attributes of the earphones can be the same as the default attributes of the earphones.

[0275] In other embodiments, when only one of the first earphone or the second earphone is in the wearing state, the earphone does not identify whether it is worn on the left ear or the right ear, and the wearing attribute of the earphone remains consistent with the default attribute of the earphone.

[0276] It should be noted that the lying posture of the user when wearing the headset 1000 can also be determined based on other methods, and this application does not limit this.

[0277] 2. Identify whether the earphones are worn on the left or right ear when lying on your side.

[0278] 16A-16B show schematic diagrams of a user wearing headphones while lying on his right side.

[0279] As shown in FIG. 16A , when the user is in a right-side lying position, the user wears the first earphone on the left ear and the second earphone on the right ear (not shown in FIG. 16A ).

[0280] In the scenario shown in FIG16A , if the wearing time is short, the wearing attribute of the first earphone is the left earphone attribute, and the wearing attribute of the second earphone is the right earphone attribute.

[0281] If the earphones are worn for a long time, the earphones 1000 can identify whether the first and second earphones are worn on the left or right ear. For example, the first earphone can be determined to be worn on the user's left ear, and the second earphone can be determined to be worn on the user's right ear. Based on the fact that the earphones are worn on the left ear, the first earphone can determine that the first earphone is worn as a left earphone. Based on the fact that the earphones are worn on the right ear, the second earphone can determine that the second earphone is worn as a right earphone.

[0282] As shown in FIG16B , when the user is in a right-side lying position, the user wears the first earphone on the right ear (not shown in FIG16B ) and the second earphone on the left ear.

[0283] In the scenario shown in FIG16B , if the wearing time is short and the earphones have not yet determined whether the earphones are worn on the left ear or the right ear, the wearing attribute of the first earphone is the left earphone attribute, and the wearing attribute of the second earphone is the right earphone attribute.

[0284] If the earphones are worn for a long time, the earphones 1000 can identify whether the first and second earphones are worn on the left or right ear. For example, the first earphone can determine that it is worn on the user's right ear, and the second earphone can determine that it is worn on the user's left ear. Based on the fact that it is worn on the right ear, the first earphone can determine that the first earphone's wearing attribute is a right earphone attribute, and the first earphone's wearing attribute will be switched from a left earphone attribute to a right earphone attribute. Based on the fact that it is worn on the left ear, the second earphone can determine that the second earphone's wearing attribute is a left earphone attribute, and the second earphone's wearing attribute will be switched from a right earphone attribute to a left earphone attribute.

[0285] In some embodiments, the side-lying posture can be further divided into left-lying and right-lying. Figures 16A-16B show schematic diagrams of a user wearing headphones 1000 while lying on the right side. The figure does not show a schematic diagram of a user wearing headphones 1000 while lying on the left side.

[0286] Next, we will introduce how the earphones can identify whether they are worn on the left or right ear.

[0287] 1. When wearing headphones 1000 times while lying on the right side, it can be identified whether the headphones are worn on the left ear or the right ear.

[0288] In some embodiments, it can be determined whether the earphone is worn on the left ear or the right ear based on the acceleration component of the gravitational acceleration G on the Y-axis.

[0289] By projecting the user's chin as shown in FIG16A onto the top of the head, a schematic diagram of the components of gravity acceleration on each coordinate axis as shown in FIG16C can be obtained.

[0290] As shown in FIG16C , when the first earphone is worn on the user's left ear, the acceleration component of the gravitational acceleration G in the positive direction of the Y-axis is a negative value.

[0291] When the gravitational acceleration G meets a preset condition, it can be determined that the first earphone is worn on the left ear of the user.

[0292] The preset conditions may include but are not limited to one or more of the following: the gravitational acceleration component of the gravitational acceleration G in the positive direction of the Y-axis is a negative value, the gravitational acceleration component of the gravitational acceleration G on the X-axis is a minimum value, and the gravitational acceleration component of the gravitational acceleration G on the Z-axis is a minimum value.

[0293] As shown in FIG16C , when the second earphone is worn on the user's right ear, the acceleration component of the gravitational acceleration G in the positive direction of the Y-axis is positive.

[0294] When the gravitational acceleration G meets a preset condition, it can be determined that the second earphone is worn on the right ear of the user.

[0295] The preset conditions may include but are not limited to one or more of the following: the acceleration component of the gravity acceleration G in the positive direction of the Y-axis is positive, the gravity acceleration component of the gravity acceleration G on the X-axis is a minimum value, and the gravity acceleration component of the gravity acceleration G on the Z-axis is a minimum value.

[0296] When two earphones 1000 are in a worn state, it can be determined whether the first earphone and the second earphone are worn on the left ear or the right ear based on the acceleration component of the gravitational acceleration G in the positive direction of the Y-axis in the first earphone and the acceleration component of the gravitational acceleration G in the positive direction of the Y-axis in the second earphone.

[0297] For example, when the acceleration component of the gravitational acceleration G in the positive direction of the Y-axis in the first earphone is negative, and the acceleration component of the gravitational acceleration G in the positive direction of the Y-axis in the second earphone is positive, it can be determined that the first earphone is worn on the user's left ear and the second earphone is worn on the user's right ear.

[0298] For another example, when the acceleration component of the gravity acceleration G in the first earphone in the positive direction of the Y-axis is positive, the gravity acceleration component of the gravity acceleration G in the first earphone on the X-axis is a minimum, the gravity acceleration component of the gravity acceleration G in the first earphone on the Z-axis is a minimum, the acceleration component of the gravity acceleration G in the second earphone in the positive direction of the Y-axis is negative, the gravity acceleration component of the gravity acceleration G in the second earphone on the X-axis is a minimum, and the gravity acceleration component of the gravity acceleration G in the second earphone on the Z-axis is a minimum, it can be determined that the first earphone is worn on the user's right ear and the second earphone is worn on the user's left ear.

[0299] It should be noted that it is not limited to determining whether the earphone is worn on the left ear or the right ear by the acceleration component of the gravitational acceleration G in the positive direction of the Y-axis. Other methods can also be used to determine whether the earphone is worn on the left ear or the right ear when the earphone 1000 is worn while lying on the right side. This application does not limit this.

[0300] 2. When wearing the earphones 1000 times while lying on the left side, it can be identified whether the earphones are worn on the left ear or the right ear.

[0301] In some embodiments, it can be determined whether the earphone is worn on the left ear or the right ear based on the acceleration component of the gravitational acceleration G in the positive direction of the Y-axis.

[0302] By projecting the user's chin onto the top of the head when lying on the left side, a schematic diagram of the components of gravity acceleration on each coordinate axis when lying on the left side can be obtained as shown in FIG16D .

[0303] As shown in FIG16D , when the first earphone is worn on the user's left ear, the acceleration component of the gravitational acceleration G in the positive direction of the Y-axis is positive.

[0304] When the gravitational acceleration G meets a preset condition, it can be determined that the first earphone is worn on the left ear of the user.

[0305] The preset conditions may include but are not limited to one or more of the following: the acceleration component of the gravity acceleration G in the positive direction of the Y-axis is positive, the gravity acceleration component of the gravity acceleration G on the X-axis is a minimum value, and the gravity acceleration component of the gravity acceleration G on the Z-axis is a minimum value.

[0306] As shown in FIG16D , when the second earphone is worn on the user's right ear, the acceleration component of the gravitational acceleration G in the positive direction of the Y-axis is a negative value.

[0307] When the gravitational acceleration G meets a preset condition, it can be determined that the second earphone is worn on the right ear of the user.

[0308] The preset conditions may include but are not limited to one or more of the following: the acceleration component of the gravitational acceleration G in the positive direction of the Y-axis is a negative value, the gravitational acceleration component of the gravitational acceleration G on the X-axis is a minimum value, and the gravitational acceleration component of the gravitational acceleration G on the Z-axis is a minimum value.

[0309] When two earphones 1000 are in a worn state, it can be determined whether the first earphone and the second earphone are worn on the left ear or the right ear based on the acceleration component of the gravitational acceleration G in the positive direction of the Y-axis in the first earphone and the acceleration component of the gravitational acceleration G in the positive direction of the Y-axis in the second earphone.

[0310] For example, when the acceleration component of the gravitational acceleration G in the positive direction of the Y-axis in the first earphone is positive, and the acceleration component of the gravitational acceleration G in the positive direction of the Y-axis in the second earphone is negative, it can be determined that the first earphone is worn on the user's left ear and the second earphone is worn on the user's right ear.

[0311] For another example, when the acceleration component of the gravity acceleration G in the first earphone in the positive direction of the Y-axis is negative, the gravity acceleration component of the gravity acceleration G in the first earphone on the X-axis is a minimum, the gravity acceleration component of the gravity acceleration G in the first earphone on the Z-axis is a minimum, the acceleration component of the gravity acceleration G in the second earphone in the positive direction of the Y-axis is positive, the gravity acceleration component of the gravity acceleration G in the second earphone on the X-axis is a minimum, and the gravity acceleration component of the gravity acceleration G in the second earphone on the Z-axis is a minimum, it can be determined that the first earphone is worn on the user's right ear and the second earphone is worn on the user's left ear.

[0312] It should be noted that it is not limited to determining whether the earphone is worn on the left ear or the right ear by the acceleration component of the gravitational acceleration G in the positive direction of the Y-axis. It can also be determined based on other methods to identify whether the earphone is worn on the left ear or the right ear when the earphone 1000 is worn while lying on the left side. This application does not limit this.

[0313] In some embodiments, when the first earphone and the second earphone are both in a worn state, when the user's posture is a side-lying posture (for example, a left-lying posture and a right-lying posture), the earphones do not need to identify whether they are worn on the left ear or the right ear, and the wearing attributes of the earphones can be the same as the default attributes of the earphones.

[0314] In other embodiments, when only one of the first earphone or the second earphone is in the wearing state, the earphone does not identify whether it is worn on the left ear or the right ear, and the wearing attribute of the earphone remains consistent with the default attribute of the earphone.

[0315] Execute headphone control operations based on the wearing attributes of the headphone

[0316] After identifying whether the earphone is worn on the left ear or the right ear and determining the wearing attributes of the earphone, the first earphone and / or the second earphone can perform but not be limited to the following control operations based on the wearing attributes of the first earphone and the wearing attributes of the second earphone: switching left and right channels, switching gesture control, identifying the battery level of the left and right earphones, and determining the main mic, etc.

[0317] 1. Determine left and right channels based on wearing attributes

[0318] Switching the left and right channels means that the electronic device sends the audio data of the corresponding channel to the headphones with corresponding wearing attributes.

[0319] For example, the electronic device needs to send the left channel audio to the left-worn earphone and play the left channel audio through the left-worn earphone. The electronic device has established a communication connection (such as a Bluetooth connection) with the earphone 1000, and the electronic device needs to send the right channel audio to the right-worn earphone and play the right channel audio through the right-worn earphone.

[0320] For example, as shown in FIG17A , if the user wears the first earphone on the left ear and the second earphone on the right ear, the wearing attribute of the first earphone is the left ear attribute, and the wearing attribute of the second earphone is the right ear attribute.

[0321] The earphone 1000 then sends the wearing attributes of the first earphone and the second earphone to the electronic device, and the electronic device can send audio data of corresponding channels to the first earphone and the second earphone based on the wearing attributes of the first earphone and the second earphone.

[0322] As shown in FIG17A , the electronic device establishes a communication connection with earphone 1000. After receiving the wearing attributes of the first earphone and the second earphone sent by earphone 1000, the electronic device can send the left-channel audio to the first earphone based on the left ear attributes, and send the right-channel audio to the second earphone based on the right ear attributes. The first earphone can play the left-channel audio, and the second earphone can play the right-channel audio.

[0323] In some embodiments, if the user takes the earphones 1000 out of the earphone case 2000 and wears the first earphone on the right ear and the second earphone on the left ear, or if the user switches the wearing positions of the earphones while wearing the earphones, for example, taking the first earphone out of the left ear and wearing it on the right ear, and then taking the second earphone out of the right ear and wearing it on the left ear, in this case, the wearing attribute of the first earphone is the right ear attribute, and the wearing attribute of the second earphone is the left ear attribute.

[0324] The earphone 1000 then sends the wearing attributes of the first earphone and the second earphone to the electronic device, and the electronic device can send audio data of corresponding channels to the first earphone and the second earphone based on the wearing attributes of the first earphone and the second earphone.

[0325] As shown in FIG17B , the electronic device establishes a communication connection with the headset 1000. After receiving the wearing attributes of the first headset and the second headset sent by the headset 1000, the electronic device can send the left-channel audio to the second headset based on the left ear attributes, and send the right-channel audio to the first headset based on the right ear attributes. The second headset can play the left-channel audio, and the first headset can play the right-channel audio.

[0326] In some embodiments, after the earphone 1000 is taken out of the earphone box 2000 , the first earphone and the second earphone can be worn on the ears of two users respectively.

[0327] In one possible implementation, the first earphone can be worn on the left ear of the first user, and the second earphone can be worn on the right ear of the second user. The first earphone's wearing attribute is then a left-ear attribute, and the second earphone's wearing attribute is a right-ear attribute. In this case, how the electronic device transmits audio data to earphone 1000 can be found in the description of the embodiment in FIG. 17A , and this application will not elaborate further here.

[0328] In one possible implementation, the first earphone can be worn on the right ear of the first user, and the second earphone can be worn on the left ear of the second user. The first earphone's wearing attribute is a right ear attribute, and the second earphone's wearing attribute is a left ear attribute. In this case, how the electronic device transmits audio data to earphone 1000 can be found in the description of the embodiment in FIG. 17B , and this application will not elaborate further here.

[0329] In one possible implementation, the first earphone can be worn on the right ear of the first user, and the second earphone can also be worn on the right ear of the second user. In this case, the wearing attribute of the first earphone is the right ear attribute, and the wearing attribute of the second earphone is also the right ear attribute.

[0330] The earphone 1000 then sends the wearing attributes of the first earphone and the second earphone to the electronic device, and the electronic device can send audio data of corresponding channels to the first earphone and the second earphone based on the wearing attributes of the first earphone and the second earphone.

[0331] As shown in FIG18A , the electronic device establishes a communication connection with the headset 1000. After receiving the wearing attributes of the first headset and the second headset sent by the headset 1000, the electronic device can send the right channel audio to the first headset based on the right ear attribute, and send the right channel audio to the second headset based on the right ear attribute. The first headset can play the right channel audio, and the second headset can also play the right channel audio.

[0332] In other possible implementations, when both the first earphone and the second earphone are right-ear attributes, the electronic device may collectively refer to the left-channel audio and the right-channel audio as mixed-channel audio, and send the mixed-channel audio to the first earphone and the second earphone. The first earphone can play the mixed-channel audio, and the second earphone can also play the mixed-channel audio.

[0333] In one possible implementation, the first earphone can be worn on the left ear of the first user, and the second earphone can also be worn on the left ear of the second user. Then, the wearing attribute of the first earphone is the left ear attribute, and the wearing attribute of the second earphone is also the left ear attribute.

[0334] The earphone 1000 then sends the wearing attributes of the first earphone and the second earphone to the electronic device, and the electronic device can send audio data of corresponding channels to the first earphone and the second earphone based on the wearing attributes of the first earphone and the second earphone.

[0335] As shown in FIG18B , the electronic device establishes a communication connection with the headset 1000. After receiving the wearing attributes of the first headset and the second headset sent by the headset 1000, the electronic device can send the left channel audio to the first headset based on the left ear attribute, and send the left channel audio to the second headset based on the left ear attribute. The first headset can play the left channel audio, and the second headset can also play the left channel audio.

[0336] In other possible implementations, when both the first earphone and the second earphone are left-ear attributes, the electronic device may collectively refer to the left-channel audio and the right-channel audio as mixed-channel audio, and send the mixed-channel audio to the first earphone and the second earphone. The first earphone can play the mixed-channel audio, and the second earphone can also play the mixed-channel audio.

[0337] 2. Determine earphone touch gestures and display the battery level of the left and right earphones based on wearing attributes

[0338] In some embodiments, the user can view and set earphone touch gestures and view the battery levels of the left and right earphones in a sports health application of the electronic device.

[0339] Not limited to sports and health applications, users can also view and set headphone touch gestures and check the battery level of the left and right earphones in other applications. This application is only illustrated using sports and health applications as an example, but should not constitute a limitation.

[0340] For example, users can also view and set headphone touch gestures and check the battery level of the left and right earphones in the Smart Life application.

[0341] 19A-19I are schematic diagrams showing a user viewing and setting earphone touch gestures and viewing the battery levels of the left and right earphones in a sports health application of an electronic device.

[0342] In some embodiments, after the electronic device is paired with the headset 1000 and a communication connection (e.g., a Bluetooth connection) is established, the headset 1000 can send the battery level information of the headset 1000 to the electronic device. Based on the received battery level information, the electronic device can display the battery level of the headset 1000. In this way, the user can also view the battery level of the headset 1000 on the electronic device.

[0343] It should be noted that an application for the earphones 1000 may be installed in the electronic device. The application for managing the earphones 1000 may be, for example, a sports and health application. The electronic device may display the battery level of the earphones 1000 and related options for managing the earphones 1000 on the user interface of the sports and health application. The embodiments of this application do not limit the application for managing the earphones 1000. The subsequent embodiments will be specifically described using the sports and health application as an example.

[0344] As shown in FIG19A , the electronic device may display a user interface 1910. The user interface 1910 may include an application icon, such as a sports health application icon. In response to an operation on the sports health application icon, the electronic device may open the sports health application.

[0345] As shown in Figure 19B, when the sports health application is open, the electronic device can display a user interface 1920. User interface 1920 may include device options. The device options may be device options corresponding to the headset 1000. The device options may display the device icon of the headset 1000, the device name, and the connection status of the headset 1000 and the electronic device. The embodiment of the present application does not limit the content displayed on the device options. In response to the operation of the device options, the electronic device may display a user interface 1930 shown in Figure 19C. User interface 1930 may be a user interface for managing the headset 1000 in the sports health application.

[0346] As shown in FIG. 19C , the user interface 1930 may include a page title 1931 and a device information display box 1932 .

[0347] The page title 1931 may be used to indicate the device corresponding to the user interface 1930. For example, the page title 1931 may be the name of the headset 1000, "FreeBuds".

[0348] Device information display box 1932 may include battery information 1933 of headphones 1000 and the connection status between the electronic device and headphones 1000. Headphone battery information 1933 may be used to indicate the current battery level of both earbuds of headphones 1000. For example, headphone battery information 1933 indicates that the battery level of the left earbud of headphones 1000 is 80% of full charge, while the battery level of the right earbud is 85% of full charge. The connection status between headphones 1000 and the electronic device is "connected."

[0349] In some embodiments, the earphone with the left earphone attribute may refer to the earphone located in the left position of the earphone box 2000. In other embodiments, the earphone with the left earphone attribute may also refer to the earphone worn on the user's left ear.

[0350] Similarly, the earphone with the right earphone attribute may refer to the earphone located in the right position of the earphone box 2000. In other embodiments, the earphone with the right earphone attribute may also refer to the earphone worn on the user's right ear.

[0351] The two earphones with left earphone attributes and right earphone attributes shown in Figure 19C can be both located in the earphone box 2000. The two earphones with left earphone attributes and right earphone attributes shown in Figure 19C can also be one earphone located in the left position on the earphone box 2000, and the other earphone worn on the user's right ear. The two earphones with left earphone attributes and right earphone attributes shown in Figure 19C can also be one earphone located in the right position on the earphone box 2000, and the other earphone worn on the user's left ear. The two earphones with left earphone attributes and right earphone attributes shown in Figure 19C can also be one earphone worn on the user's left ear, and the other earphone worn on the user's right ear.

[0352] It should be noted that when two earphones are worn on the left ear and right ear of a user respectively, they can be worn on the left ear and right ear of the same user, or on the left ear and right ear of different users respectively.

[0353] In some embodiments, in response to a user operation on a device option, the electronic device may display a user interface 1940 shown in Figure 19D. The user interface 1940 is similar to the user interface 1930, except that the device information display box is different.

[0354] As shown in FIG. 19D , the user interface 1930 may include a page title 1934 and a device information display box 1935 .

[0355] The page title 1934 may be used to indicate the device corresponding to the user interface 1930. For example, the page title 1934 may be the name of the headset 1000, "FreeBuds".

[0356] Device information display box 1935 may include battery information 1936 of headphones 1000 and the connection status between the electronic device and headphones 1000. Headphone battery information 1936 may be used to indicate the current battery level of both earbuds of headphones 1000. For example, headphone battery information 1936 indicates that the battery level of one left earbud of headphones 1000 is 80% of full charge, while the battery level of the other left earbud is 85% of full charge. The connection status between headphones 1000 and the electronic device is "connected."

[0357] In some embodiments, the earphone with the left earphone attribute may refer to the earphone located in the left position of the earphone box 2000. In other embodiments, the earphone with the left earphone attribute may also refer to the earphone worn on the user's left ear.

[0358] The attributes of the two earphones shown in the device information display box 1935 are both left earphone attributes, so one of the two earphones is located in the left compartment of the earphone box 2000, and the other earphone is worn on the user's left ear. Alternatively, the two earphones are worn on the left ears of both users at the same time.

[0359] In some embodiments, in response to a user operation on a device option, the electronic device may display a user interface 1950 shown in Figure 19E. The user interface 1950 is similar to the user interface 1930, except that the device information display box is different.

[0360] As shown in FIG. 19E , the user interface 1950 may include a page title 1937 and a device information display box 1938 .

[0361] The page title 1937 may be used to indicate the device corresponding to the user interface 1930. For example, the page title 1937 may be the name of the headset 1000, "FreeBuds".

[0362] Device information display box 1938 may include battery information 1939 of headphones 1000 and the connection status between the electronic device and headphones 1000. Headphone battery information 1939 may indicate the current battery level of both earbuds of headphones 1000. For example, headphone battery information 1939 indicates that the battery level of one right earbud of headphones 1000 is 80% of full charge, while the battery level of the other right earbud is 85% of full charge. The connection status between headphones 1000 and the electronic device is "connected."

[0363] In some embodiments, the earphone with the right earphone attribute may refer to the earphone located in the right position of the earphone box 2000. In other embodiments, the earphone with the right earphone attribute may also refer to the earphone worn on the user's right ear.

[0364] The attributes of the two earphones shown in the device information display box 1939 are both right earphone attributes, so one of the two earphones is located in the right compartment of the earphone box 2000, and the other earphone is worn on the user's right ear. Alternatively, the two earphones are worn on the right ears of two users at the same time.

[0365] In other embodiments, after the electronic device is paired with the headset 1000 and a communication connection (e.g., a Bluetooth connection) is established, the headset 1000 can send the battery level information of the headset 1000 to the electronic device. Based on the received battery level information, the electronic device can display the battery level of the headset 1000. In this way, the user can also check the battery level of the headset 1000 on the electronic device.

[0366] For example, the electronic device can check the battery level of the headset 1000 in the pull-down notification bar.

[0367] As shown in FIG19F , the electronic device may receive and, in response to a user's pull-down operation, slide downward from the top right area of ​​the electronic device screen, display user interface 1960 shown in FIG19G . User interface 1960 may be a pull-down control interface of the electronic device. This embodiment of the application does not limit the user operation used to open the pull-down control interface.

[0368] As shown in FIG. 19G , user interface 1960 may include card 1961 .

[0369] Card 1961 can be used to open a user interface for managing the headset 1000 (such as user interface 1920 shown in FIG. 19B ). Card 1961 can display the battery level information of the headset 1000. In other words, the user can pull down to open the pull-down control interface and quickly check the battery level of the headset 1000 on the pull-down control interface.

[0370] The battery level information of the earphones 1000 shown in FIG19G can be used to indicate the current battery level of both earphones of the earphones 1000. For example, the battery level information of the earphones 1000 indicates that the battery level of one earphone designated as the left earphone is 80% of full charge, while the battery level of the other earphone designated as the left earphone is 85% of full charge. In some embodiments, the earphone designated as the left earphone may refer to the earphone located in the left compartment of the earphone case 2000. In other embodiments, the earphone designated as the left earphone may also refer to the earphone worn on the user's left ear.

[0371] The attributes of the two earphones shown in card 1961 are the left earphone attributes and the right earphone attributes, respectively. They can be both located in the earphone case 2000. Alternatively, one earphone can be located in the left compartment of the earphone case 2000, while the other earphone is worn on the user's right ear. Alternatively, one earphone can be located in the right compartment of the earphone case 2000, while the other earphone is worn on the user's left ear. Alternatively, one earphone can be worn on the user's left ear, while the other earphone is worn on the user's right ear.

[0372] It should be noted that when two earphones are worn on the left ear and right ear of a user respectively, they can be worn on the left ear and right ear of the same user, or on the left ear and right ear of different users respectively.

[0373] In some embodiments, in response to a user sliding downward from the top right area of ​​the electronic device screen, the electronic device may display user interface 1970 shown in Figure 19H. User interface 1970 is similar to user interface 1960, except that card 1971 is different from card 1961.

[0374] The attributes of the two earphones shown in card 1961 are both left earphone attributes. Therefore, one of the two earphones is located in the left compartment of the earphone box 2000, and the other earphone is worn on the user's left ear. Alternatively, the two earphones are worn on the left ears of two users at the same time.

[0375] In some embodiments, in response to a user sliding downward from the top right area of ​​the electronic device screen, the electronic device may display user interface 1980 shown in Figure 19I. User interface 1980 is similar to user interface 1960, except that card 1981 is different from card 1961.

[0376] The attributes of the two earphones shown in card 1981 are both right earphone attributes. Then, one of the two earphones is located in the right compartment of the earphone box 2000, and the other earphone is worn on the user's right ear. Alternatively, the two earphones are worn on the right ears of two users at the same time.

[0377] The electronic device 5-200 may also display the battery level information of the earphones 1000 in other locations, rather than being limited to the user interface and pull-down control interface of the aforementioned sports and health application. For example, the electronic device may also display the battery level information of the earphones 1000 on the negative first screen interface. The embodiment of the present application does not limit the location where the electronic device displays the battery level information of the earphones 1000.

[0378] 20A-20K are schematic diagrams showing a user viewing and setting earphone touch gestures on an electronic device.

[0379] In some embodiments, the user can view and set the headphone touch gestures in the sports health application on the electronic device.

[0380] Not limited to sports and health applications, users can also view and set headphone touch gestures in other applications. This application is only illustrated using sports and health applications as an example, but should not constitute a limitation.

[0381] As shown in Figure 20A, the electronic device may display a user interface 1930. The electronic device may receive a user input operation (eg, a single click) for the headset management option in the user interface 1930. In response to the user input operation, the electronic device may display a user interface 2010 shown in Figure 20B.

[0382] As shown in Figure 20B, the user interface 2010 may include touch gesture setting options, etc. The user can view and set the headphone touch gestures through the wide-area touch option. The touch function may refer to the function of the headphone 1000 detecting the preset operation of the preset area when being worn, and executing the instruction corresponding to the preset operation. The above-mentioned preset area may be the area distributed on the user's ear, the area around the ear, and the touch area on the headphone. The above-mentioned preset operations may include but are not limited to: double tap, triple tap. The above-mentioned double tap may refer to the operation of clicking twice in succession quickly. The above-mentioned triple tap may refer to the operation of clicking three times in succession quickly. The instructions corresponding to the above-mentioned preset operations may include but are not limited to: play instruction, pause instruction, answer instruction, hang up instruction, switch to previous song instruction, switch to next song instruction, wake up voice assistant instruction, volume adjustment instruction, noise control instruction, listen to music instruction, and song recognition instruction.

[0383] As shown in FIG. 20B , the electronic device may receive a user input operation (eg, a single click) for a touch gesture setting option in the user interface 2010 . In response to the user input operation, the electronic device may display the user interface 2020 shown in FIG. 20C .

[0384] The user interface 2020 may include a double-tap option 2021 , a triple-tap option 2022 , touch area information 2023 , left / right touch areas 2024 , left touch area options 2025 , right touch area options 2026 , and a gesture understanding control 2027 .

[0385] It should be noted that the left touch area here is related to the attributes of the left earphone. For example, when the first earphone is worn on the user's left ear, the wearing attribute of the first earphone is the left earphone attribute. In this case, the user's "double-tap" operation on the left touch area is used to control earphone 1000 through the first earphone to execute the instruction corresponding to the double-tap operation. Similarly, the right touch area is related to the attributes of the right earphone. For example, when the second earphone is worn on the user's right ear, the wearing attribute of the second earphone is the right earphone attribute. In this case, the user's "double-tap" operation on the right touch area is used to control earphone 1000 through the second earphone to execute the instruction corresponding to the double-tap operation.

[0386] In some embodiments, the attributes of the earphones can be changed. For example, if a user removes the first earphone from the left ear and wears it on the right ear, the wearing attribute of the first earphone switches from left earphone attribute to right earphone attribute. Then, the user's "double-tap" operation on the right touch area is used to control the earphone 1000 to execute the instruction corresponding to the double-tap operation through the first earphone.

[0387] Similarly, if the user removes the second earphone from the right ear and wears it on the left ear, the wearing attribute of the second earphone switches from the right earphone attribute to the left earphone attribute. Then, the user's "double-tap" operation on the left touch area is used to control the earphone 1000 to execute the command corresponding to the double-tap operation through the second earphone.

[0388] The double-tap option 2021 can be used to trigger the electronic device to display a user interface for setting instructions corresponding to the operation "double-tap".

[0389] The triple-tap option 2022 may be used to trigger the electronic device to display a user interface for setting instructions corresponding to the operation “triple-tap”.

[0390] The aforementioned double-tap option 2021 and triple-tap option 2022 facilitate the user's switching between different operation settings interfaces. When the double-tap option 2021 is selected, the electronic device may display the user interface 2020 shown in FIG20C . In other words, the user interface 2020 is a user interface for setting the command corresponding to the "triple-tap" operation.

[0391] The touch area information 2023 may be used to indicate an area where a touch function can be implemented, that is, an effective area of ​​the above-mentioned preset operations (eg, double-tap, triple-tap).

[0392] For example, touch area information 2023 includes an image of earphones 1000 being worn on an ear, with touch areas 2028, 2029, 2030, and 2031 marked on the ear image. Touch area 2028 may be the touch area on the ball of the earphone. Touch area 2029 may be the touch area on the cantilever arm of the earphone. Touch area 2030 may be the touch area on the earphone bead. Touch area 2031 may be the area located in the triangular fossa above the auricle. The user can trigger the ear to execute the corresponding instruction by performing the preset operation in any of the above multiple touch areas.

[0393] The above-mentioned touch area 2028, touch area 2029, touch area 2030 and touch area 2031 are merely exemplary descriptions of the present application. The headset may further include more or fewer touch areas, which shall not constitute a limitation of the present application. The above-mentioned touch function may also support more touch areas.

[0394] The left / right touch area 2024 can be used to set the corresponding command when the headset is in a call. When the headset is in a call, the "double-tap" touch gesture triggers the same command on the left and right touch areas. Currently, when the headset is in a call, the "double-tap" touch gesture on the left / right touch area triggers the command to answer / end the call.

[0395] The left touch area option 2025 can be used to set the corresponding command when a "double-tap" operation is performed on the touch area. For example, the left touch area option 2025 may display "Play / Pause", which can indicate that the corresponding command when a "double-tap" operation is performed on the left touch area is a play / pause command. The above play / pause command can be used to control the earphone 1000 to start or pause audio playback through the earphone with the left earphone attribute.

[0396] Right touch area option 2026 can be used to set the corresponding command when a "double-tap" operation is performed on the touch area. For example, "Play / Pause" may be displayed in right touch area option 2026 to indicate that the corresponding command when a "double-tap" operation is performed on the right touch area is a play / pause command. The above play / pause command can be used to control the earphone 1000 to start or pause audio playback through the earphone with right earphone attributes.

[0397] Gesture Understanding Control 2027 can be used to view instructions for using more gestures supported by touch functions.

[0398] In some embodiments, the electronic device may receive an instruction corresponding to a user operation to change a “double-tap” operation on the left touch area and / or the right touch area.

[0399] For example, as shown in FIG20C , the electronic device may receive a user input operation (e.g., a single click) on the left touch area option 2025. In response to the user's input operation, the electronic device may display a pop-up window 2032 shown in FIG20D . The pop-up window 2032 may include multiple setting items, such as a play / pause setting item, a previous song setting item, a next song setting item, a volume increase setting item, a volume decrease option, a voice assistant wake-up setting item, etc. The play / pause setting item shown in the pop-up window 2032 is in a selected state, and the selected state is used to indicate that the corresponding instruction when the "double-tap" operation acts on the left touch area is a play / pause instruction.

[0400] As shown in Figure 20D, the electronic device can receive a user input operation (such as a single click) for the previous song setting item. In response to the user's input operation, the electronic device can display a pop-up window 2033 shown in Figure 20E. Pop-up window 2033 is similar to pop-up window 2032, except that the previous song setting item shown in pop-up window 2033 is in a selected state. The selected state is used to indicate that when the "double-tap" operation acts on the left touch area, the corresponding instruction is an instruction to switch the song to the previous song.

[0401] For example, when the user sets the corresponding instruction for double-tapping the left touch area to switch to the previous song, the electronic device may display the user interface 2040 shown in FIG20F . The user interface 2040 is similar to the user interface 2010 , except that the option 2025 of the left touch area in the user interface 2040 may display “Previous Song”, indicating that the corresponding instruction for double-tapping the left touch area is the previous song instruction. The above-mentioned previous song instruction can be used to control the earphone 1000 to switch to the previous song through the earphone of the left earphone attribute.

[0402] In some implementations, the electronic device may also receive a user interface for viewing instructions corresponding to the triple-tap option 2022 .

[0403] For example, as shown in FIG. 20G , the electronic device may receive a user input operation (eg, a single click) for the triple-tap option 2022 in the user interface 2020 . In response to the user input operation, the electronic device may display the user interface 2050 shown in FIG. 20H .

[0404] As shown in FIG. 20H , the user interface 2050 includes a left touch area option 2051 , a right touch area option 2052 , and a gesture understanding control 2027 .

[0405] The left touch area option 2051 can be used to set the corresponding command when the "triple tap" operation is performed on the touch area. For example, the left touch area option 2051 may display "Previous Song", which can indicate that the corresponding command when the "triple tap" operation is performed on the left touch area is a play / pause command. The above-mentioned previous song command can be used to control the earphone 1000 to switch to the previous song through the earphone of the left earphone attribute.

[0406] Right touch area option 2052 can be used to set the command that corresponds to the "triple tap" operation on the touch area. For example, the right touch area option 2052 may display "Next Song" to indicate that the corresponding command for the "triple tap" operation on the right touch area is a play / pause command. This play / pause command can be used to control earphone 1000 to switch to the next song via the earphone with right earphone attributes.

[0407] The gesture understanding control 2053 can be used to view instructions for using more gestures supported by the touch function.

[0408] In some embodiments, the electronic device may receive an instruction corresponding to a user operation to change a “triple-tap” operation on the left touch area and / or the right touch area.

[0409] For example, as shown in FIG20H , the electronic device may receive a user input operation (e.g., a single click) on the left touch area option 2051. In response to the user's input operation, the electronic device may display a pop-up window 2054 shown in FIG20I . The pop-up window 2054 may include multiple setting items, such as a previous song setting item, a next song setting item, a free listening setting item, a no-operation instruction setting item, etc. The previous song setting item shown in the pop-up window 2054 is in a selected state, and the selected state is used to indicate that when the "triple-tap" operation is applied to the left touch area, the corresponding instruction is to switch the song to the previous song.

[0410] As shown in Figure 20I, the electronic device can receive the user's input operation (such as a single click) for the free listening setting item. In response to the user's input operation, the electronic device can display the pop-up window 2055 shown in Figure 20J. The pop-up window 2055 is similar to the pop-up window 2054, except that the free listening setting item shown in the pop-up window 2055 is in a selected state. The selected state is used to indicate that when the "tap three times" operation acts on the left touch area, the corresponding instruction is the wake-up free listening instruction.

[0411] For example, when the user sets the corresponding instruction for performing a "tap three times" operation on the left touch area to switch the song to the wake-up listening instruction, the electronic device may display the user interface 2060 shown in FIG20K. The user interface 2060 is similar to the user interface 2050, except that "Listen" may be displayed in the option 2051 of the left touch area in the user interface 2060, indicating that the corresponding instruction for performing a "tap three times" operation on the left touch area is the wake-up listening instruction. The wake-up listening instruction can be used to control the earphone 1000 to wake up the listening through the earphone of the left earphone attribute.

[0412] 20A to 20K above illustrate schematic diagrams of how a user can view and set earphone touch gestures on an electronic device. When the earphone is in a wearing state, the user can conveniently control the earphone 1000 through gestures.

[0413] Since different gestures applied by the user to the headset have different control operations on the headset 1000, the headset needs to accurately recognize the user's touch gestures and then control the headset 1000 to execute corresponding instructions based on the user's touch gestures.

[0414] Next, we will introduce how the headset recognizes different touch gestures of the user.

[0415] The touch gestures in this application may include but are not limited to double-click gestures and triple-click gestures, etc. Touch gestures may also include many other gestures. This application only uses double-click gestures and triple-click gestures as examples for illustration.

[0416] In some embodiments, both earphones of the headset 1000 may store a trained gesture recognition model. The gesture recognition model may be used to identify touch operations. Touch operations may include various types of operations acting on various touch areas. For example, touch operations may include: a double-click operation (i.e., a double-tap operation), a triple-tap operation (i.e., a triple-tap operation) acting on the aforementioned touch area 2028 / touch area 2029 / touch area 2030 / touch area 2031, etc. In this way, the headset 1000 can execute the instructions corresponding to the touch operation based on the touch operation recognized by the gesture recognition model, thereby realizing the corresponding function.

[0417] Here we first introduce a method for training a gesture recognition model.

[0418] FIG20L exemplarily shows a flow chart of a method for training a gesture recognition model.

[0419] As shown in FIG20L , the method may include steps S2001A to S2003A. Steps S2001A to S2003A may be performed by a model training device. The model training device may be a cloud server. The embodiment of the present application does not limit the type of model training device. Among them:

[0420] S2001A. Establish a database for training a gesture recognition model, where the database includes acceleration data or sound signals collected by a sensor during touch operations.

[0421] When performing a touch operation, the user needs to tap on the ear or the area around the ear or the earphone. Then, the above touch operation can cause the auricle to vibrate and can make a knocking sound. If a bone conduction sensor or an IMU sensor is provided in the earphone, the bone conduction sensor or IMU can collect acceleration data. The acceleration data can reflect the vibration of the auricle caused by the touch operation. If a sound pickup sensor (such as a microphone) is provided in the earphone, the sound pickup sensor can collect sound signals. The sound signal can reflect the sound emitted by the touch operation. Therefore, the above acceleration data or sound signal can be used to train the gesture recognition model.

[0422] In some embodiments, the database may also include acceleration data or sound signals collected by sensors during non-touch operations. These non-touch operations may include operations that are likely to cause touch operation recognition errors. For example, non-touch operations may include single-clicking on a touch area. Using the acceleration data or sound signals collected by sensors during these non-touch operations to train a gesture recognition model can improve the gesture recognition model's recognition accuracy.

[0423] The model training device can receive and store the above database.

[0424] S2002A. Preprocess the data in the database.

[0425] In some embodiments, a decision tree algorithm may be used to pre-process the data in the database. This is not limited to the decision tree algorithm, and other methods may also be used, which are not limited in this application.

[0426] The model training device can use a decision tree algorithm to preprocess the data in the database to obtain multiple sets of training samples. The above-mentioned decision tree algorithm can be used to identify the signal waveform generated by a double-click operation (such as the signal waveform of acceleration data, the waveform of a sound signal), and the signal waveform generated by a triple-click operation. Among them, the above-mentioned preprocessing process can intercept the tapping force (such as the peak position of the waveform), the time interval between two adjacent taps, and the number of taps (such as the number of peaks of the waveform) to reduce the decision items used by the decision tree algorithm, thereby improving the decision accuracy of the decision tree algorithm.

[0427] In some embodiments, the multiple groups of training samples obtained by the model training device through the above-mentioned preprocessing may include: training samples corresponding to double-click operations in the touch area 2028, training samples corresponding to double-click operations in the touch area 2029, training samples corresponding to double-click operations in the touch area 2030, training samples corresponding to double-click operations in the touch area 2031, training samples corresponding to triple-click operations in the touch area 2028, training samples corresponding to triple-click operations in the touch area 2029, training samples corresponding to triple-click operations in the touch area 2030, training samples corresponding to triple-click operations in the touch area 2031, and training samples corresponding to non-double-click and triple-click operations.

[0428] A set of training samples corresponding to a double-click operation on the touch area 2028 may include acceleration data or sound signals collected by the sensor when a double-click operation is performed on the touch area 2028 .

[0429] A set of training samples corresponding to a double-click operation in the touch area 2029 may include acceleration data or sound signals collected by the sensor when a double-click operation is performed in the touch area 2029 .

[0430] A set of training samples corresponding to a double-click operation performed on the touch area 2030 may include acceleration data or sound signals collected by the sensor when a double-click operation is performed on the touch area 2030 .

[0431] A set of training samples corresponding to a double-click operation performed on the touch area 2031 may include acceleration data or sound signals collected by the sensor when a double-click operation is performed on the touch area 2031 .

[0432] A set of training samples corresponding to a triple-tap operation on the touch area 2028 may include acceleration data or sound signals collected by the sensor when a triple-tap operation is performed on the touch area 2028 .

[0433] A set of training samples corresponding to a triple-tap operation on the touch area 2029 may include acceleration data or sound signals collected by the sensor when a triple-tap operation is performed on the touch area 2029 .

[0434] A set of training samples corresponding to a triple-tap operation on the touch area 2030 may include acceleration data or sound signals collected by the sensor when a triple-tap operation is performed on the touch area 2030 .

[0435] A set of training samples corresponding to a triple-tap operation on the touch area 2031 may include acceleration data or sound signals collected by the sensor when a triple-tap operation is performed on the touch area 2031 .

[0436] A set of training samples corresponding to non-double-click and triple-click operations may include acceleration data or sound signals collected by the sensor when a non-double-click and triple-click operation is performed.

[0437] S2003A: Use the preprocessed data to train a gesture recognition model. The gesture recognition model is a three-category model that can recognize double-click operations, triple-click operations, non-double-click operations, and triple-click operations on different areas.

[0438] The model training device can use the multiple sets of training samples obtained by the above preprocessing to train the gesture recognition model. The gesture recognition model can be a neural network model, such as a convolutional neural network model. The embodiment of the present application does not limit the type of gesture recognition model.

[0439] Specifically, the gesture recognition model can be a three-category model that can recognize three types of operations: double-click, triple-click, and non-double-click and triple-click. The process of training the gesture recognition model using multiple sets of training samples is to enable the gesture recognition model to recognize touch operations while reducing the probability of misidentifying single-click operations, operations generated when adjusting the headset posture, operations generated when wearing or removing the headset, and confusion between double-click and triple-click operations. The embodiments of the present application do not limit the specific process of training the gesture recognition model using training samples.

[0440] The trained gesture recognition model can receive input data. The input data can be the acceleration data or a sound signal. Based on the received input data, the trained gesture recognition model can output a recognition result. The recognition result can be used to indicate the touch operation corresponding to the input data.

[0441] FIG20K is only an example of the gesture recognition model training method provided in this application and should not be construed as limiting this application. The model training device can also use other methods to train the gesture recognition model.

[0442] In some embodiments, the two earphones (i.e., the first earphone and the second earphone) of the earphone 1000 may be pre-installed with the above-trained gesture recognition model when leaving the factory. The earphone 1000 can recognize touch operations based on the gesture recognition model, thereby providing touch functions.

[0443] Here, the implementation method of the touch function provided by the headset 1000 is introduced.

[0444] FIG20M exemplarily shows a flow chart of a method for the earphone 1000 to provide a touch function.

[0445] As shown in FIG20M , the method may include steps S2001B to S2004B. The first earphone and the second earphone may independently perform the above steps S2001B to S2004B. Here, the earphone 1000 is used as the execution subject to illustrate that any earphone of the earphone 1000 can be used as the execution subject of the method shown in FIG20L .

[0446] S2001B: The sensor of the earphone 1000 collects acceleration data or sound signals.

[0447] The headset 1000 may be equipped with a bone conduction sensor, an IMU sensor, and / or a sound pickup sensor. The bone conduction sensor or IMU sensor allows the headset 1000 to collect acceleration data. The sound pickup sensor allows the headset 1000 to collect sound signals.

[0448] S2002B: Based on the acceleration data or the sound signal, the headset 1000 uses the trained gesture recognition model to perform gesture recognition and determine whether a touch operation is recognized.

[0449] When the touch function is enabled, the headset 1000 can continuously collect acceleration data through a bone conduction sensor or an IMU sensor, or continuously collect sound signals through a sound pickup sensor. The headset 1000 can then use a trained gesture recognition model to identify the continuously collected acceleration data or sound signals to determine whether a wide-area touch operation has occurred.

[0450] As shown in Figure 20K, the trained gesture recognition model can filter out single-tap operations, operations generated when adjusting the headset posture, accidental operations when putting on or taking off the headset, and processes that confuse the probability of double-tap and triple-tap operations. The trained gesture recognition model can accurately identify whether the user's touch operation is a double-tap or triple-tap operation.

[0451] S2003B: The headset 1000 determines a wearing event based on the recognized touch operation and the current service, and sends the wearing event to an electronic device that has established a communication connection with the headset 1000.

[0452] The services performed by the headset 1000 may include audio-related services such as call services and music services. As can be seen from the above embodiments, the same touch operation may indicate different wearing events under different services, which can be used to trigger the headset 1000 to execute different instructions.

[0453] The above-mentioned wearing events may include but are not limited to: playing / pausing music events, switching to the previous music event, switching to the next music event, answering a call event, hanging up a call event, waking up the voice assistant event, etc.

[0454] S2004B: The electronic device processes the wearing event sent by the headset 1000.

[0455] In response to the wearing event sent by the headset 1000, the electronic device can execute the corresponding wearing event under the business based on the currently ongoing business.

[0456] For example, when the electronic device is currently playing music, the wearing event may include but is not limited to the event of switching to the previous song, the event of switching to the next song, the event of pausing music, the event of waking up the voice assistant, etc.

[0457] For another example, when the ongoing service of the electronic device is answering a call, the wearing event may include but is not limited to an event of hanging up the call, etc.

[0458] 3. Determine the main mic

[0459] The main mic on the headset is used to pick up the audio output by the user, and the headset then sends the audio input and output of the user to the electronic device with which it establishes a communication connection.

[0460] Based on the above introduction, the second earphone body 200 includes two microphones, namely a first feedforward microphone and a second feedforward microphone.

[0461] In some embodiments, the first feed-forward microphone and the second feed-forward microphone can work simultaneously and pick up audio. The second earphone body 200 can synthesize the two audio channels to generate a single audio channel and transmit the audio channel to the electronic device with which the second earphone body 200 establishes a communication connection. In this case, the first feed-forward microphone and the second feed-forward microphone can both be primary microphones.

[0462] In some embodiments, the first feedforward microphone and the second feedforward microphone can be turned on in different time periods. For example, the second earphone body 200 can only turn on the first feedforward microphone or only turn on the second feedforward microphone. At the same time, only one microphone picks up audio, and the second earphone body 200 can send this audio to the electronic device with which it establishes a communication connection. In this case, when the first feedforward microphone is turned on, the first feedforward microphone is the main mic. When the second feedforward microphone is turned on, the second feedforward microphone is the main mic.

[0463] The earphone 1000 includes a first earphone and a second earphone. Based on the above description, the first earphone and the second earphone may both be in a wearing state, or only one of the first earphone and the second earphone may be in a wearing state.

[0464] When both the first earphone and the second earphone are in a worn state, the first earphone and the second earphone can be worn on the left and right ears of the same user at the same time, the first earphone and the second earphone can be worn on the left and right ears of two different users respectively, the first earphone and the second earphone can be worn on the left ears of two different users respectively, and the first earphone and the second earphone can be worn on the right ears of two different users respectively.

[0465] Only one of the first earphone and the second earphone is in a wearing state. The first earphone or the second earphone can be worn on the left ear of the user, and the first earphone or the second earphone can also be worn on the right ear of the user.

[0466] Next, we will discuss how to determine the main mic when wearing a single earphone and wearing two earphones at the same time.

[0467] 1. Single earphone wearing scenario

[0468] When only one of the two earphones in the earphone 1000 is in a wearing state, the feedforward microphone or the two feedforward microphones on the single earphone in the wearing state can be used as the main mic.

[0469] The embodiment of the present application is described by taking the first earphone in the earphone 1000 in the wearing state as an example.

[0470] (1) The first earphone in earphones 1000 is worn on the user's left ear.

[0471] As shown in FIG. 21A , when the first earphone in the earphone 1000 is worn on the user's left ear, the first feedforward microphone is located above the second feedforward microphone, and accordingly, the first sound pickup hole 214 is also located above the second sound pickup hole 215 .

[0472] In one possible implementation, as shown in FIG21A , the first feedforward microphone and the second feedforward microphone in the first earphone can both be turned on and work, the first feedforward microphone can pick up the sound near the first sound pickup hole 214 , and the second feedforward microphone can pick up the sound near the second sound pickup hole 215 . The first earphone then uses an algorithm to fuse the two channels of data to obtain a mixed audio channel, and then sends this mixed audio channel to an electronic device that establishes a communication connection with the first earphone.

[0473] In other possible implementations, as shown in FIG21B , the first earphone can turn on the first feedforward microphone to pick up the sound near the first sound pickup hole 214 through the first feedforward microphone. The second feedforward microphone is not turned on. The first earphone only sends the audio picked up by the first feedforward microphone to the electronic device that establishes a communication connection with the first earphone. In this way, the first feedforward microphone is located above the second feedforward microphone, and the quality of the audio picked up by the first feedforward microphone is higher than the quality of the audio picked up by the second feedforward microphone. The first earphone can choose to pick up audio through the first feedforward microphone with higher audio quality, which not only improves the quality of the audio picked up by the first earphone, but also saves power consumption of the first earphone.

[0474] In some embodiments, the first earphone may also turn on the second feedforward microphone to pick up the sound near the second sound pickup hole 215 through the second feedforward microphone. The first feedforward microphone may not be turned on, and this application does not limit this. This application only uses the example of turning on the first feedforward microphone for illustration.

[0475] (2) The first earphone in earphones 1000 is worn on the user's right ear.

[0476] As shown in FIG21C , when the first earphone in the earphone 1000 is worn on the user's right ear, the second feedforward microphone is located above the first feedforward microphone, and accordingly, the second sound pickup hole 215 is also located above the first sound pickup hole 214 .

[0477] In one possible implementation, as shown in FIG21C , the first feedforward microphone and the second feedforward microphone in the first earphone can both be turned on and work, the first feedforward microphone can pick up the sound near the first sound pickup hole 214, and the second feedforward microphone can pick up the sound near the second sound pickup hole 215. The first earphone then uses an algorithm to fuse the two channels of data to obtain a mixed audio channel, and then sends this mixed audio channel to an electronic device that establishes a communication connection with the first earphone.

[0478] In other possible implementations, as shown in FIG21D , the first earphone can turn on the second feed-forward microphone to pick up the sound near the second pickup hole 215 through the second feed-forward microphone. The first feed-forward microphone is not turned on. The first earphone only sends the audio picked up by the second feed-forward microphone to the electronic device that establishes a communication connection with the first earphone. In this way, the second feed-forward microphone is located above the first feed-forward microphone, and the quality of the audio picked up by the second feed-forward microphone is higher than the quality of the audio picked up by the first feed-forward microphone. The first earphone can choose to pick up audio through the second feed-forward microphone with higher audio quality, which not only improves the quality of the audio picked up by the first earphone, but also saves power consumption of the first earphone.

[0479] 2. Scenario where both earphones are worn.

[0480] When both earphones of the earphones 1000 are in the wearing state, the first earphone and the second earphone in the earphones 1000 can be worn on the left ear and right ear of the same user at the same time, the first earphone and the second earphone can also be worn on the left ear and right ear of two different users respectively, the first earphone and the second earphone can also be worn on the left ears of two different users respectively, and the first earphone and the second earphone can also be worn on the right ears of two different users respectively.

[0481] 1. The first earphone and the second earphone are worn on the left and right ears of the same user at the same time.

[0482] As shown in FIG. 21E , the first earphone may be worn on the left ear of the first user, and the second earphone may be worn on the right ear of the first user.

[0483] In response to the first earphone being worn on the left ear of the first user, the first feedforward microphone is located above the second feedforward microphone, and accordingly, the first sound pickup hole 214 is also located above the second sound pickup hole 215 .

[0484] In response to the second earphone being worn on the right ear of the first user, the second feedforward microphone is located above the first feedforward microphone, and accordingly, the second sound pickup hole 215 is also located above the first sound pickup hole 214 .

[0485] In some embodiments, the earphone 1000 can determine the main earphone based on the order in which the first earphone and the second earphone are worn, or information such as the remaining power of the first earphone and the second earphone, and pick up sound through the feedforward microphone on the main earphone, while the feedforward microphone on the non-main earphone does not pick up sound.

[0486] For example, when the wearing time of the first earphone is earlier than the wearing time of the second earphone, the earphone 1000 can determine that the main earphone is the first earphone.

[0487] For another example, when the remaining power of the first earphone is greater than the remaining power of the second earphone, the earphone 1000 may determine that the master earphone is the first earphone.

[0488] It is not limited to determining the master earphone from the two earphones based on information such as the wearing order and the remaining power, but the master earphone can also be determined based on other information. For example, the user can also actively operate the device to set the first earphone as the master earphone, etc. This application does not limit this.

[0489] After determining that the first earphone is the main earphone, the first feedforward microphone and the second feedforward microphone on the second earphone are not working, and the earphone 1000 can determine the main mic on the main earphone based on the first feedforward microphone and the second feedforward microphone.

[0490] In one possible implementation, as shown in FIG21E , the first feed-forward microphone and the second feed-forward microphone in the first earphone can both be turned on and work, the first feed-forward microphone can pick up the sound near the first sound pickup hole 214, and the second feed-forward microphone can pick up the sound near the second sound pickup hole 215. The first earphone then uses an algorithm to fuse the two channels of data to obtain a mixed audio channel, and then sends this mixed audio channel to an electronic device that establishes a communication connection with the first earphone.

[0491] In other possible implementations, the first feed-forward microphone and the second feed-forward microphone in the first earphone can both be turned on and pick up sound, but the earphone will identify which microphone collects audio with better quality, determine the audio channel with better audio quality, and send this audio channel to the electronic device with which it establishes a communication connection.

[0492] In other possible implementations, as shown in FIG21F , the first earphone can turn on the second feed-forward microphone and pick up the sound near the second pickup hole 215 through the second feed-forward microphone. The first feed-forward microphone is not turned on. The first earphone only sends the audio picked up by the second feed-forward microphone to the electronic device that establishes a communication connection with the first earphone. In this way, the second feed-forward microphone is located above the first feed-forward microphone, and the quality of the audio picked up by the second feed-forward microphone is higher than the quality of the audio picked up by the first feed-forward microphone. The first earphone can choose to pick up audio through the second feed-forward microphone with higher audio quality, which not only improves the quality of the audio picked up by the first earphone, but also saves power consumption of the first earphone.

[0493] In FIG. 21E-FIG . 21F , the first feed-forward microphone and the second feed-forward microphone on the second earphone are not working, and sound is picked up only by the first feed-forward microphone and / or the second feed-forward microphone on the first earphone.

[0494] In other embodiments, when both the first earphone and the second earphone are worn, the electronic device 100 may determine that the first earphone is the primary earphone, but the feedforward microphones on both the first earphone and the second earphone need to pick up sound. The first earphone then combines the audio picked up by the first earphone and the second earphone into one audio channel and sends it to the electronic device that has established a communication connection with the earphone 1000.

[0495] In one possible implementation, as shown in FIG21G , the first feedforward microphone and the second feedforward microphone on the first earphone are both turned on, and the first feedforward microphone and the second feedforward microphone on the second earphone are also turned on. The first earphone can pick up the audio near the first pickup hole 214 through the first feedforward microphone and the audio near the second pickup hole 215 through the second feedforward microphone. The second earphone can pick up the audio near the second pickup hole 215 through the second feedforward microphone and the audio near the first pickup hole 214 through the first feedforward microphone. The first earphone (the master earphone) then combines these four audio channels into one audio channel and sends it to the electronic device with which it has established a communication connection.

[0496] In other possible implementations, the first feed-forward microphone and the second feed-forward microphone in the first earphone can both be turned on and pick up sound, and the first feed-forward microphone and the second feed-forward microphone on the second earphone can also be turned on and pick up sound, but the earphone will identify which microphone collects audio with better quality, determine the audio channel with better audio quality, and send this audio channel to the electronic device with which it establishes a communication connection.

[0497] Audio quality can include, but is not limited to, the following: A higher low-frequency signal indicates better audio quality. The earphones can select the audio channel with the higher low-frequency signal from the two audio channels to be sent to the electronic device with which they are communicating. Because a higher low-frequency signal reduces wind noise, this improves the effectiveness of active noise reduction.

[0498] Audio quality may also be considered based on other criteria, and the low-frequency signal is merely an example and does not constitute a limitation.

[0499] In another possible implementation, as shown in FIG21H , the first feedforward microphone on the first earphone and the second feedforward microphone on the second earphone are turned on, while the second feedforward microphone 273 on the first earphone and the second earphone are turned off. The first earphone can pick up the audio near the first pickup hole 214 through the first feedforward microphone, and the second earphone can pick up the audio near the second pickup hole 215 through the second feedforward microphone. The first earphone (the master earphone) then combines the two audio channels into one audio channel and sends it to the electronic device with which it has established a communication connection.

[0500] In other possible implementations, the first feed-forward microphone on the first earphone and the second feed-forward microphone on the second earphone are turned on and pick up sound, but the earphones will identify which microphone collects audio with better quality, determine the audio channel with better audio quality, and send this audio channel to the electronic device with which the communication connection is established.

[0501] In other possible implementations, the first feedforward microphone on the first earphone and the second feedforward microphone on the first earphone can be turned on and pick up sound, and the second feedforward microphone on the second earphone can be turned on and pick up sound.

[0502] In other possible implementations, the first feed-forward microphone on the first earphone may be turned on and pick up sound, and the first feed-forward microphone and the second feed-forward microphone on the second earphone may be turned on and pick up sound.

[0503] 2. The first earphone and the second earphone are worn on the left ear and right ear of two different users respectively.

[0504] When the first earphone and the second earphone are worn on the left and right ears of two different users, for example, the first earphone is worn on the left ear of the first user and the second earphone is worn on the right ear of the second user, how to determine the primary mic in this case can be referred to the description in Figures 21E-21H, and this application will not repeat it here.

[0505] 3. The first earphone and the second earphone are worn on the left ears of two different users respectively.

[0506] As shown in FIG21I , the first earphone can be worn on the left ear of the first user, and the second earphone can be worn on the left ear of the second user.

[0507] In response to the first earphone being worn on the left ear of the first user, the first feedforward microphone is located above the second feedforward microphone, and accordingly, the first sound pickup hole 214 is also located above the second sound pickup hole 215 .

[0508] In response to the second earphone being worn on the left ear of the second user, the first feedforward microphone is located above the second feedforward microphone, and accordingly, the first sound pickup hole 214 is also located above the second sound pickup hole 215 .

[0509] In some embodiments, the earphone 1000 can determine the main earphone based on the order in which the first earphone and the second earphone are worn, or information such as the remaining power of the first earphone and the second earphone, and pick up sound through the feedforward microphone on the main earphone, while the feedforward microphone on the non-main earphone does not pick up sound.

[0510] For example, when the wearing time of the first earphone is earlier than the wearing time of the second earphone, the earphone 1000 can determine that the main earphone is the first earphone.

[0511] For another example, when the remaining power of the first earphone is greater than the remaining power of the second earphone, the earphone 1000 may determine that the master earphone is the first earphone.

[0512] It is not limited to determining the master earphone from the two earphones based on information such as the wearing order and the remaining power, but the master earphone can also be determined based on other information. For example, the user can also actively operate the device to set the first earphone as the master earphone, etc. This application does not limit this.

[0513] After determining that the first earphone is the main earphone, the first feedforward microphone and the second feedforward microphone on the second earphone are not working, and the earphone 1000 can determine the main mic on the main earphone based on the first feedforward microphone and the second feedforward microphone on the first earphone.

[0514] In one possible implementation, as shown in FIG21I , the first feedforward microphone and the second feedforward microphone in the first earphone can both be turned on and work, the first feedforward microphone can pick up the sound near the first sound pickup hole 214, and the second feedforward microphone can pick up the sound near the second sound pickup hole 215. The first earphone then uses an algorithm to fuse the two channels of data to obtain a mixed audio channel, and then sends this mixed audio channel to an electronic device that establishes a communication connection with the first earphone.

[0515] In other possible implementations, both the first feed-forward microphone and the second feed-forward microphone in the first earphone can be turned on and pick up sound, but the earphone will identify which microphone collects audio with better quality, determine the audio channel with better audio quality, and send this audio channel to the electronic device with which a communication connection is established.

[0516] In other possible implementations, as shown in FIG21J , the first earphone can turn on the first feedforward microphone and pick up the sound near the second pickup hole 215 through the second feedforward microphone. The second feedforward microphone is not turned on. The first earphone only sends the audio picked up by the first feedforward microphone to the electronic device that establishes a communication connection with the first earphone. In this way, the first feedforward microphone is located above the second feedforward microphone, and the quality of the audio picked up by the first feedforward microphone is higher than the quality of the audio picked up by the second feedforward microphone. The first earphone can choose to pick up audio through the first feedforward microphone with higher audio quality, which not only improves the quality of the audio picked up by the first earphone, but also saves power consumption of the first earphone.

[0517] In FIG. 21J-FIG . 21J , the first feed-forward microphone and the second feed-forward microphone on the second earphone are not working, and sound is picked up only by the first feed-forward microphone and / or the second feed-forward microphone on the first earphone.

[0518] In other embodiments, when both the first earphone and the second earphone are worn, the electronic device 100 may determine that the first earphone is the primary earphone, but the feedforward microphones on both the first earphone and the second earphone need to pick up sound. The first earphone then combines the audio picked up by the first earphone and the second earphone into one audio channel and sends it to the electronic device that has established a communication connection with the earphone 1000.

[0519] In one possible implementation, as shown in FIG21K , the first feedforward microphone and the second feedforward microphone on the first earphone are both turned on, and the first feedforward microphone and the second feedforward microphone on the second earphone are also turned on. The first earphone can pick up the audio near the first pickup hole 214 through the first feedforward microphone and the audio near the second pickup hole 215 through the second feedforward microphone. The second earphone can pick up the audio near the second pickup hole 215 through the second feedforward microphone and the audio near the first pickup hole 214 through the first feedforward microphone. The first earphone (the master earphone) then combines these four audio channels into one audio channel and sends it to the electronic device with which it has established a communication connection.

[0520] In other possible implementations, the first feed-forward microphone and the second feed-forward microphone on the first earphone are both turned on and pick up sound, and the first feed-forward microphone and the second feed-forward microphone on the second earphone are both turned on and pick up sound, but the earphone will identify which microphone collects audio with better quality, determine the audio channel with better audio quality, and send this audio channel to the electronic device with which it establishes a communication connection.

[0521] In other possible implementations, as shown in FIG21L , the first feed-forward microphone on the first earphone and the first feed-forward microphone on the second earphone are turned on, while the second feed-forward microphone on the first earphone and the second feed-forward microphone on the second earphone are turned off. The first earphone can pick up audio near the first sound pickup hole 214 through the first feed-forward microphone, and the second earphone can pick up audio near the first sound pickup hole 214 through the first feed-forward microphone. The first earphone (the master earphone) then combines these two audio channels into one audio channel and sends it to the electronic device with which it has established a communication connection.

[0522] In other possible implementations, the first feed-forward microphone on the first earphone and the first feed-forward microphone on the second earphone are turned on and pick up sound, and the first feed-forward microphone and the second feed-forward microphone on the second earphone are both turned on and pick up sound, but the earphones will identify which microphone collects audio with better quality, determine the audio channel with better audio quality, and send this audio channel to the electronic device with which a communication connection is established.

[0523] In other possible implementations, the first feedforward microphone on the first earphone and the second feedforward microphone on the first earphone can be turned on and pick up sound, and the first feedforward microphone on the second earphone can be turned on and pick up sound.

[0524] In other possible implementations, the first feed-forward microphone on the first earphone may be turned on and pick up sound, and the first feed-forward microphone and the second feed-forward microphone on the second earphone may be turned on and pick up sound.

[0525] 4. The first earphone and the second earphone are worn on the right ears of two different users respectively.

[0526] As shown in FIG. 21M , the first earphone may be worn on the right ear of the first user, and the second earphone may be worn on the right ear of the second user.

[0527] In response to the first earphone being worn on the right ear of the first user, the second feedforward microphone is located above the first feedforward microphone, and accordingly, the second sound pickup hole 215 is also located above the first sound pickup hole 214 .

[0528] In response to the second earphone being worn on the right ear of the second user, the second feedforward microphone is located above the first feedforward microphone, and accordingly, the second sound pickup hole 215 is also located above the first sound pickup hole 214 .

[0529] In some embodiments, the earphone 1000 can determine the main earphone based on the order in which the first earphone and the second earphone are worn, or information such as the remaining power of the first earphone and the second earphone, and pick up sound through the feedforward microphone on the main earphone, while the feedforward microphone on the non-main earphone does not pick up sound.

[0530] For example, when the wearing time of the first earphone is earlier than the wearing time of the second earphone, the earphone 1000 can determine that the main earphone is the first earphone.

[0531] For another example, when the remaining power of the first earphone is greater than the remaining power of the second earphone, the earphone 1000 may determine that the master earphone is the first earphone.

[0532] It is not limited to determining the master earphone from the two earphones based on information such as the wearing order and the remaining power, but the master earphone can also be determined based on other information. For example, the user can also actively operate the device to set the first earphone as the master earphone, etc. This application does not limit this.

[0533] After determining that the first earphone is the main earphone, the first feedforward microphone and the second feedforward microphone on the second earphone are not working, and the earphone 1000 can determine the main mic on the main earphone based on the first feedforward microphone and the second feedforward microphone on the first earphone.

[0534] In one possible implementation, as shown in FIG21M , the first feedforward microphone and the second feedforward microphone in the first earphone can both be turned on and work, the first feedforward microphone can pick up the sound near the first sound pickup hole 214, and the second feedforward microphone can pick up the sound near the second sound pickup hole 215. The first earphone then uses an algorithm to fuse the two channels of data to obtain a mixed audio channel, and then sends this mixed audio channel to an electronic device that establishes a communication connection with the first earphone.

[0535] In other possible implementations, both the first feed-forward microphone and the second feed-forward microphone in the first earphone can be turned on and pick up sound, but the earphone will identify which microphone collects audio with better quality, determine the audio channel with better audio quality, and send this audio channel to the electronic device with which a communication connection is established.

[0536] In other possible implementations, as shown in FIG21N , the first earphone can turn on the second feed-forward microphone and pick up the sound near the second pickup hole 215 through the second feed-forward microphone. The first feed-forward microphone is not turned on. The first earphone only sends the audio picked up by the second feed-forward microphone to the electronic device that establishes a communication connection with the first earphone. In this way, the second feed-forward microphone is located above the first feed-forward microphone, and the quality of the audio picked up by the second feed-forward microphone is higher than the quality of the audio picked up by the first feed-forward microphone. The first earphone can choose to pick up audio through the second feed-forward microphone with higher audio quality, which not only improves the quality of the audio picked up by the first earphone, but also saves power consumption of the first earphone.

[0537] In FIG. 21M-FIG . 21N , the first feed-forward microphone and the second feed-forward microphone on the second earphone are not working, and sound is picked up only by the first feed-forward microphone and / or the second feed-forward microphone on the first earphone.

[0538] In other embodiments, when both the first earphone and the second earphone are worn, the electronic device 100 may determine that the first earphone is the primary earphone, but the feedforward microphones on both the first earphone and the second earphone need to pick up sound. The first earphone then combines the audio picked up by the first earphone and the second earphone into one audio channel and sends it to the electronic device that has established a communication connection with the earphone 1000.

[0539] In one possible implementation, as shown in FIG21O , the first feedforward microphone and the second feedforward microphone on the first earphone are both turned on, and the first feedforward microphone and the second feedforward microphone on the second earphone are also turned on. The first earphone can pick up the audio near the first pickup hole 214 through the first feedforward microphone and the audio near the second pickup hole 215 through the second feedforward microphone. The second earphone can pick up the audio near the second pickup hole 215 through the second feedforward microphone and the audio near the first pickup hole 214 through the first feedforward microphone. The first earphone (the master earphone) then combines these four audio channels into one audio channel and sends it to the electronic device with which it has established a communication connection.

[0540] In other possible implementations, the first feed-forward microphone and the second feed-forward microphone on the first earphone are both turned on and pick up sound, and the first feed-forward microphone and the second feed-forward microphone on the second earphone are also both turned on and pick up sound, but the earphone will identify which microphone collects audio with better quality, determine the audio channel with better audio quality, and send this audio channel to the electronic device with which it establishes a communication connection.

[0541] In other possible implementations, as shown in FIG21P , the second feed-forward microphone on the first earphone and the second feed-forward microphone on the second earphone are turned on, while the first feed-forward microphone on the first earphone and the first feed-forward microphone on the second earphone are turned off. The first earphone can pick up audio near the second pickup hole 215 through the second feed-forward microphone, and the second earphone can pick up audio near the second pickup hole 215 through the second feed-forward microphone. The first earphone (the main earphone) then combines these two audio channels into one audio channel and sends it to the electronic device with which it has established a communication connection.

[0542] In other possible implementations, the second feed-forward microphone on the first earphone and the second feed-forward microphone on the second earphone are turned on and pick up sound, but the earphones will identify which microphone collects audio with better quality, determine the audio channel with better audio quality, and send this audio channel to the electronic device with which the communication connection is established.

[0543] In other possible implementations, the first feedforward microphone on the first earphone and the second feedforward microphone on the first earphone can be turned on and pick up sound, and the second feedforward microphone on the second earphone can be turned on and pick up sound.

[0544] In other possible implementations, the second feed-forward microphone on the first earphone may be turned on and pick up sound, and the first feed-forward microphone and the second feed-forward microphone on the second earphone may be turned on and pick up sound.

[0545] In some embodiments, the first earphone or the second earphone may include only one microphone.

[0546] In the case that the first earphone or the second earphone includes only one microphone, when only one earphone is worn, sound can be picked up by the microphone on the earphone.

[0547] When two earphones are worn at the same time, it is necessary to identify whether the earphone is worn on the left ear or the right ear. For example, both the first earphone and the second earphone include a first microphone.

[0548] The first earphone and the second earphone are worn on the left ear and the right ear respectively.

[0549] When the first earphone is worn on the left ear, as shown in FIG. 21A , the first microphone on the first earphone is used to collect audio near the first sound pickup hole 214 .

[0550] When the second earphone is worn on the right ear, as shown in FIG. 21C , the second microphone on the second earphone is used to collect audio near the first sound pickup hole 214 .

[0551] The first microphone on the first earphone is located above the second microphone on the second earphone. The quality of sound picked up by the first microphone on the first earphone is better than that of the second microphone on the second earphone. The first microphone on the first earphone is preferentially turned on and sound is picked up through the first microphone on the first earphone.

[0552] That is to say, in the scenario where two earphones are worn at the same time, it will identify whether the earphone is worn on the left ear or the right ear, and the microphone that picks up the sound can be determined based on the relative positions of the two microphones on the two earphones. For example, it can be determined from the two microphones that the microphone that is relatively far from the ground picks up the sound.

[0553] In other possible implementations, the first microphone on the first earphone and the second microphone on the second earphone are turned on and pick up sound, but the earphones will identify which microphone collects audio with better quality, determine the audio channel with better audio quality, and send this audio channel to the electronic device with which the communication connection is established.

[0554] The first earphone is worn on the right ear and the second earphone is worn on the left ear respectively, which is similar to the specific implementation of the first earphone being worn on the left ear and the second earphone being worn on the right ear respectively, and this application will not go into details here.

[0555] The first earphone and the second earphone are worn on the left ears of two users respectively.

[0556] When the first earphone is worn on the left ear, as shown in FIG. 21J , the first microphone on the first earphone is used to collect audio near the first sound pickup hole 214 .

[0557] When the second earphone is worn on the left ear, as shown in FIG. 21J , the second microphone on the second earphone is used to collect audio near the first sound pickup hole 214 .

[0558] The first microphone on the first earphone is positioned parallel to the second microphone on the second earphone.

[0559] In one possible implementation, either the first microphone on the first earphone or the second microphone on the second earphone can be turned on, which is advantageously determined based on the order in which the earphones are worn or the remaining battery power.

[0560] In other possible implementations, the first microphone on the first earphone and the second microphone on the second earphone can both be turned on and pick up sound, but the earphones will identify which microphone collects audio with better quality, determine the audio channel with better audio quality, and send this audio channel to the electronic device with which the communication connection is established.

[0561] In other possible implementations, the first microphone on the first earphone and the second microphone on the second earphone may both be turned on and pick up sound, and the two channels of audio may be combined into one channel of audio and sent to the electronic device with which the communication connection is established.

[0562] The specific implementation of wearing the first earphone and the second earphone on the right ears of two users respectively is similar to that of wearing the first earphone and the second earphone on the left ears of two users respectively, and this application will not go into details here.

[0563] FIG22 is a flow chart of an earphone control method provided in this application.

[0564] S2201: The first earphone obtains first gravity data collected by a first inertial detector.

[0565] S2202: When the first gravity data satisfies the first condition, the first earphone recognizes that the first earphone is worn on the left ear, and executes a control event corresponding to the attribute of the left earphone.

[0566] S2203: When the first gravity data satisfies the second condition, the first earphone recognizes that the first earphone is worn on the right ear, and executes a control event corresponding to the right earphone attribute.

[0567] The first earphone provided by the present application does not need to distinguish between left and right ears when worn. The first earphone can be worn on the user's left ear or the user's right ear, thereby improving the portability of the earphone.

[0568] However, after wearing, it is necessary to identify whether the first earphone is worn on the left ear or the right ear, and perform different control events based on whether it is worn on the left ear or the right ear.

[0569] In some embodiments of the present application, the first earphone can determine whether the first earphone is worn on the left ear or the right ear using gravity data collected by a preset first inertial detector. This increases the user's flexibility in using the wearable device and improves the user's experience of wearing the wearable device.

[0570] In one possible implementation, the wearable device also includes a second earphone, the second earphone includes a second inertial detector, and the method further includes: the second earphone obtains second gravity data collected by the second inertial detector; when the second gravity data meets the first condition, the second earphone recognizes that the second earphone is worn on the left ear, and executes a control event corresponding to the left earphone attribute; when the second gravity data meets the second condition, the second earphone recognizes that the second earphone is worn on the right ear, and executes a control event corresponding to the right earphone attribute.

[0571] The wearable device may include two earphones, namely a first earphone and a second earphone. Similar to the first earphone, the second earphone does not need to be distinguished between left and right ears when worn. The second earphone can be worn on the user's left ear or right ear, thereby improving the portability of the earphones.

[0572] However, after wearing the second earphone, it is necessary to identify whether the second earphone is worn on the left ear or the right ear. Different control events are executed based on whether it is worn on the left ear or the right ear. This increases the user's flexibility in using the wearable device and improves the user experience of wearing the wearable device.

[0573] Only one of the first earphone and the second earphone can be in the wearing state, or the first earphone and the second earphone can be in the wearing state at the same time.

[0574] In a possible implementation, the first earphone includes a first earphone body, a cantilever arm, and a second earphone body, the cantilever arm is connected between the first earphone body and the second earphone body, the first earphone body and the second earphone body are arranged relative to each other and have an initial distance; the cantilever arm has a deformable ability, and the deformation of the cantilever arm can adjust the initial distance between the first earphone body and the second earphone body to an adjustment distance, the line connecting the geometric center of the second earphone body and the geometric center of the first earphone body is defined as the Z axis, and the direction in which the geometric center of the second earphone body points to the geometric center of the first earphone body is defined as the positive direction of the Z axis; The straight line passing through the geometric center of the end face where the cantilever arm connects to the second earphone body and is perpendicular to the end face is defined as the Y-axis, and the direction from the geometric center of the end face toward the cantilever arm is defined as the positive direction of the Y-axis. The straight line perpendicular to both the Z-axis and the Y-axis is defined as the X-axis. When the first earphone is worn on the left ear, the positive direction of the X-axis points to the ground. When the user is standing or sitting, the first condition includes: the gravity component of the gravity data in the positive direction of the X-axis is positive; when the user is standing or sitting, the second condition includes: the gravity component of the gravity data in the positive direction of the X-axis is negative. For details, please refer to the description of the embodiment in Figure 2.

[0575] In other embodiments, the first condition may further include any one or more of the following: the acceleration component of the gravitational acceleration G on the Z axis is close to a minimum value, and the acceleration component of the gravitational acceleration G on the Y axis is close to a minimum value.

[0576] In other embodiments, the second condition may further include any one or more of the following: the acceleration component of the gravitational acceleration G on the Z axis is close to a minimum value, and the acceleration component of the gravitational acceleration G on the Y axis is close to a minimum value.

[0577] In some embodiments, the first or second earphone can also identify whether the earphone is worn correctly. Correct wear can improve the accuracy of left or right ear wear identification. If the first or second earphone is not worn correctly, the first or second earphone can prompt the user to wear the earphone in the correct position until the first or second earphone is properly worn.

[0578] In some embodiments, after the first earphone or the second earphone is taken out of the earphone box and after wearing is detected, the first earphone or the second earphone can output a prompt tone, which is used to remind the user to wear the earphone properly, to avoid the situation where the user does not wear the earphone properly, resulting in inaccurate recognition of left ear wearing or right ear wearing.

[0579] In some embodiments, after the first or second earphone is removed from the earphone case and is detected to be worn, the first or second earphone may output a prompt tone to remind the user to wear the earphone properly. After the user wears the first or second earphone, the first or second earphone may also detect whether the wearer is wearing the earphone properly. If the first or second earphone is not worn properly, the first or second earphone may prompt the user to wear the earphone in the proper position until the first or second earphone is properly worn and the prompt ceases.

[0580] According to the above method, the accuracy of left ear wearing or right ear wearing recognition can be improved.

[0581] For sitting and standing, how the earphones identify whether they are worn on the left ear or the right ear can be referred to the description in the embodiments of Figures 10-13 and Figures 14A-14B, and this application will not go into details here.

[0582] In one possible implementation, when the user is in the left-side lying position, the first condition includes: the gravity component of the gravity data on the Y-axis is a positive value; when the user is in the left-side lying position, the second condition includes: the gravity component of the gravity data in the positive direction of the Y-axis is a negative value.

[0583] In other embodiments, the first condition may further include: the gravity acceleration component of the gravity acceleration G on the X-axis is a minimum value. The second condition may further include: the gravity acceleration component of the gravity acceleration G on the X-axis is a minimum value.

[0584] When the user is lying on the left side, how the earphones identify whether they are worn on the left ear or the right ear can be referred to the description in the embodiment of Figure 16D, and this application will not go into details here.

[0585] In one possible implementation, when the user is in the right side lying position, the first condition includes: the gravity component of the gravity data in the positive direction of the Y axis is a negative value; when the user is in the right side lying position, the second condition includes: the gravity component of the gravity data in the positive direction of the Y axis is a positive value.

[0586] In other embodiments, the first condition may further include: the gravity acceleration component of the gravity acceleration G on the X-axis is a minimum value. The second condition may further include: the gravity acceleration component of the gravity acceleration G on the X-axis is a minimum value.

[0587] When the user is lying on the right side, how the earphones recognize whether they are worn on the left ear or the right ear can be referred to the description in the embodiment of FIG16C , and this application will not go into details here.

[0588] In one possible implementation, the first earphone body includes a first capacitive sensor, and the second earphone body includes a second capacitive sensor; before the first earphone obtains gravity data collected by the inertial detector, the method further includes: the first earphone obtains a first capacitance value collected by the first capacitive sensor and a second capacitance value collected by the second capacitive sensor; when the first capacitance value is greater than a first threshold value and the second capacitance value is greater than a second threshold value, the first earphone determines the wearing state.

[0589] In some embodiments, for people with different ear shapes and different wearing angles, the second earphone body may not fit the ear or the first earphone body may not fit the ear. In order to improve the accuracy of wearing recognition, the earphones can use the first capacitive sensor and the second capacitive sensor to identify whether the user is wearing the earphones.

[0590] When the user is wearing headphones, the capacitive sensor can stick to the user's auricle and form a specific capacitance difference based on the pressure, thereby determining that the user is wearing headphones; when the user is not wearing headphones, the capacitive sensor is not under pressure, and the capacitance difference remains stable, so it can be determined that the user is not wearing headphones.

[0591] In some embodiments, the first earphone may also determine whether the user is wearing the earphone only by using the first capacitance value collected by the first capacitance sensor or the second capacitance value collected by the second capacitance sensor.

[0592] In a possible implementation, the first earphone obtains the first gravity data collected by the first inertial detector, specifically including: when the first earphone determines that the wearing state is present, the first earphone obtains the first gravity data collected by the first inertial detector.

[0593] Only when the first headset is recognized as being worn will the first headset use the first gravity data collected by the first inertial sensor to determine whether the headset is worn on the left or right ear. If the first headset is recognized as not being worn, the first headset does not use the first gravity data collected by the first inertial sensor, thereby saving power consumption of the first headset.

[0594] In one possible implementation, the first earphone determines the wearing state, specifically including: the first earphone obtains a first capacitance error value corresponding to a first ambient temperature; the first earphone obtains a first target capacitance value based on the first capacitance value and the first capacitance error value, and obtains a second target capacitance value based on the second capacitance value and the first capacitance error value; when the first target capacitance value is greater than a first threshold value and the second target capacitance value is greater than a second threshold value, the first earphone determines the wearing state.

[0595] It should be noted that different ambient temperatures correspond to different capacitance error values.

[0596] In some embodiments, the capacitance value collected by the capacitive sensor is susceptible to temperature, and different temperatures have different effects on the capacitance value collected by the capacitive sensor. To improve the accuracy of wearing state identification, the capacitance difference and temperature compensation can be used to simultaneously refer to the capacitance difference and then identify whether the earphone is in the worn state or not.

[0597] In one possible implementation, the method includes: when the first earphone recognizes that the first earphone is worn on the left ear of the first user, the first earphone executes a control event corresponding to the left earphone attribute; when the second earphone recognizes that the first earphone is worn on the right ear of the first user, the second earphone executes a control event corresponding to the right earphone attribute.

[0598] In this way, the first earphone and the second earphone can be worn on the left ear and right ear of the same user at the same time.

[0599] In one possible implementation, the method includes: when the first earphone recognizes that the first earphone is worn on the left ear of the first user, the first earphone executes a control event corresponding to the left earphone attribute; when the second earphone recognizes that the first earphone is worn on the right ear of the second user, the second earphone executes a control event corresponding to the right earphone attribute.

[0600] In this way, the first earphone and the second earphone can be worn on the left ear and right ear of different users at the same time.

[0601] In one possible implementation, the method includes: when the first earphone recognizes that the first earphone is worn on the left ear of the first user, the first earphone executes a control event corresponding to the attributes of the left earphone; when the second earphone recognizes that the first earphone is worn on the left ear of the second user, the second earphone executes a control event corresponding to the attributes of the left earphone.

[0602] In this way, the first earphone and the second earphone can be worn on the left ears of different users at the same time.

[0603] In one possible implementation, the method includes: when the first earphone recognizes that the first earphone is worn on the right ear of the first user, the first earphone executes a control event corresponding to the attributes of the right earphone; when the second earphone recognizes that the first earphone is worn on the right ear of the second user, the second earphone executes a control event corresponding to the attributes of the right earphone.

[0604] In this way, the first earphone and the second earphone can be worn on the right ears of different users at the same time.

[0605] In one possible implementation, the first earphone includes a first microphone and a second microphone, and the first microphone and the second microphone are arranged opposite to each other in the first earphone; when the first gravity data meets the first condition, the first earphone recognizes that the first earphone is worn on the left ear, and executes a control event corresponding to the left earphone attribute, specifically including: when the first gravity data meets the first condition, the first earphone recognizes that the first earphone is worn on the left ear, the first microphone is above the second microphone, the first earphone turns on the first microphone, and picks up audio through the first microphone; when the first gravity data meets the second condition, the first earphone recognizes that the first earphone is worn on the right ear, and executes a control event corresponding to the right earphone attribute, specifically including: when the first gravity data meets the second condition, the first earphone recognizes that the first earphone is worn on the right ear, the first microphone is below the second microphone, the first earphone turns on the second microphone, and picks up audio through the second microphone.

[0606] Exemplarily, the first microphone may be a first feedforward microphone, and the second microphone may be a second feedforward microphone.

[0607] The first microphone is located above the second microphone, which may mean that the first microphone is located at an end away from the ground, and the second microphone is located at an end close to the ground.

[0608] The second microphone is located above the first microphone, which may mean that the second microphone is located at an end away from the ground, and the first microphone is located at an end close to the ground.

[0609] In this way, the first earphone can choose to turn on different microphones based on whether it is worn on the left ear or the right ear, which not only improves the quality of audio collected by the microphone, but also saves power consumption of the first earphone.

[0610] For details, please refer to the description in the embodiments of Figures 21A to 21P, and this application will not go into details here.

[0611] In one possible implementation, when the first gravity data meets the first condition, the first earphone recognizes that the first earphone is worn on the left ear, and executes a control event corresponding to the left earphone attribute, specifically including: when the first gravity data meets the first condition, the first earphone recognizes that the first earphone is worn on the left ear, and plays the left channel audio; when the first gravity data meets the second condition, the first earphone recognizes that the first earphone is worn on the right ear, and executes a control event corresponding to the right earphone attribute, specifically including: when the first gravity data meets the second condition, the first earphone recognizes that the first earphone is worn on the right ear, and plays the right channel audio.

[0612] In this way, the first earphone can automatically switch the left and right channels based on the identification of left ear wearing or right ear wearing to improve the audio playback effect.

[0613] For details, please refer to the description in the embodiments of Figures 17A-17B and Figures 18A-18B, and this application will not go into details here.

[0614] In one possible implementation, when the first gravity data meets the first condition, the first earphone recognizes that the first earphone is worn on the left ear, and executes a control event corresponding to the left earphone attribute, specifically including: when the first gravity data meets the first condition, the first earphone recognizes that the first earphone is worn on the left ear, detects and responds to the first operation acting on the first area, and executes the first control, the first area includes the area of ​​the ear wearing the first earphone or the area on the first earphone; when the first gravity data meets the second condition, the first earphone recognizes that the first earphone is worn on the right ear, and executes the control event corresponding to the right earphone attribute, specifically including: when the first gravity data meets the second condition, the first earphone recognizes that the first earphone is worn on the right ear, detects and responds to the first operation acting on the second area, and executes the second control, the second area includes the area of ​​the ear of the first earphone or the area on the first earphone; wherein the first control is the same as or different from the second control, and the first control or the second control includes any one of the following: pausing audio playback, continuing audio playback, switching audio playback, adjusting volume, answering a call, and hanging up a call.

[0615] For example, the first area may be any one of the touch area 2028, the touch area 2029, the touch area 2030, and the touch area 2031. The second area is similar to the first area.

[0616] In this way, the first earphone can automatically adapt to different gesture controls based on the recognition of left ear wearing or right ear wearing, which can improve the user's intelligence in operating the earphone based on gestures.

[0617] For details, please refer to the description in the embodiments of Figures 20A to 20K, and this application will not go into details here.

[0618] FIG23 is a schematic structural diagram of a wearable device provided in this application.

[0619] As shown in Figure 23, the wearable device includes a first earphone, which includes a first inertial detector 2301 and a first processor 2302, wherein the first inertial detector 2301 is used to collect first gravity data; the first processor 2302 is used to obtain the first gravity data collected by the first inertial detector 2301; the first processor 2302 is further used to: when the first gravity data meets a first condition, identify that the first earphone is worn on the left ear, and execute a control event corresponding to the attributes of the left earphone; when the first gravity data meets a second condition, identify that the first earphone is worn on the right ear, and execute a control event corresponding to the attributes of the right earphone.

[0620] As shown in FIG23 , the wearable device further includes a second earphone body, the structure of which is similar to that of the first earphone body. For example, the second earphone body includes a third capacitive sensor 2311 and a fourth capacitive sensor 2312. The functions of the third capacitive sensor 2311 and the fourth capacitive sensor 2312 on the second earphone body are similar to those of the first capacitive sensor 2303 and the second capacitive sensor 2304 on the first earphone, and are not further described in this application.

[0621] For another example, the second earphone body includes a temperature sensor 2313. The function of the temperature sensor 2313 on the second earphone body is similar to that of the temperature sensor 2305 on the first earphone, and this application will not go into details here.

[0622] For another example, the second earphone body includes a touch controller 2314. The function of the touch controller 2314 on the second earphone body is similar to that of the touch controller 2306 on the first earphone, and this application will not go into details here.

[0623] For another example, the second earphone body includes a third microphone 2315 and a fourth microphone 2316. The functions of the third microphone 2315 and the fourth microphone 2316 on the second earphone body are similar to those of the first microphone 2307 and the second microphone 2308 on the first earphone, and are not repeated here in this application.

[0624] In one possible implementation, the wearable device includes a second earphone, which includes a second inertial detector 2309 and a second processor 2310, wherein the second inertial detector 2309 is used to collect second gravity data; the second processor 2310 is used to obtain the second gravity data collected by the second inertial detector; the second processor 2310 is further used to: when the second gravity data meets the first condition, identify that the second earphone is worn on the left ear, and execute a control event corresponding to the left earphone attribute; when the second gravity data meets the second condition, identify that the second earphone is worn on the right ear, and execute a control event corresponding to the right earphone attribute.

[0625] In a possible implementation, the second earphone includes a first earphone body, a cantilever arm, and a second earphone body, the cantilever arm is connected between the first earphone body and the second earphone body, the first earphone body and the second earphone body are arranged relative to each other and have an initial distance; the cantilever arm has a deformable ability, and the deformation of the cantilever arm can adjust the initial distance between the first earphone body and the second earphone body to an adjustment distance, the line connecting the geometric center of the second earphone body and the geometric center of the first earphone body is defined as the Z axis, and the direction in which the geometric center of the second earphone body points to the geometric center of the first earphone body is defined as the positive direction of the Z axis; A straight line passing through the geometric center of the end face where the cantilever arm is connected to the second earphone body and perpendicular to the end face is defined as the Y-axis, and the direction pointing from the geometric center of the end face to the cantilever arm is defined as the positive direction of the Y-axis; at the same time, a straight line perpendicular to the Z-axis and the Y-axis is defined as the X-axis, and when the first earphone is worn on the left ear, the positive direction of the X-axis points to the ground; when the user is in a standing or sitting state, the first condition includes: the gravity component of the gravity data in the positive direction of the X-axis is positive; when the user is in a standing or sitting state, the second condition includes: the gravity component of the gravity data in the positive direction of the X-axis is negative.

[0626] In one possible implementation, when the user is in the left-side lying position, the first condition includes: the gravity component of the gravity data in the positive direction of the Y-axis is positive; when the user is in the left-side lying position, the second condition includes: the gravity component of the gravity data in the positive direction of the Y-axis is negative.

[0627] In one possible implementation, when the user is in the right side lying position, the first condition includes: the gravity component of the gravity data in the positive direction of the Y axis is a negative value; when the user is in the right side lying position, the second condition includes: the gravity component of the gravity data in the positive direction of the Y axis is a positive value.

[0628] In one possible implementation, the first earphone body includes a first capacitance sensor 2303, and the second earphone body includes a second capacitance sensor 2304; the first processor 2302 is further used to: obtain a first capacitance value collected by the first capacitance sensor 2303 and a second capacitance value collected by the second capacitance sensor 2304; when the first capacitance value is greater than a first threshold and the second capacitance value is greater than a second threshold, the first earphone determines the wearing state.

[0629] With reference to the second aspect, in a possible implementation, the first processor 2302 is specifically configured to obtain first gravity data collected by the first inertial detector 2301 when it is determined that the first headset is in a worn state.

[0630] In one possible implementation, the first earphone also includes a temperature sensor 2305; the temperature sensor 2305 is used to collect a first ambient temperature; the first processor 2302 is specifically used to: obtain a first capacitance error value based on the first ambient temperature; obtain a first target capacitance value based on the first capacitance value and the first capacitance error value, and obtain a second target capacitance value based on the second capacitance value and the first capacitance error value; when the first target capacitance value is greater than a first threshold value and the second target capacitance value is greater than a second threshold value, determine the wearing state.

[0631] In one possible implementation, the first processor 2302 is specifically used to execute a control event corresponding to the attributes of the left earphone when it is identified that the first earphone is worn on the left ear of the first user; the second processor is specifically used to execute a control event corresponding to the attributes of the right earphone when it is identified that the second earphone is worn on the right ear of the first user.

[0632] In one possible implementation, the first processor 2302 is specifically used to execute a control event corresponding to the attributes of the left earphone when it is identified that the first earphone is worn on the left ear of the first user; the second processor is specifically used to execute a control event corresponding to the attributes of the right earphone when it is identified that the second earphone is worn on the right ear of the second user.

[0633] In one possible implementation, the first processor 2302 is specifically used to execute a control event corresponding to the attributes of the left earphone when it is identified that the first earphone is worn on the left ear of the first user; the second processor is specifically used to execute a control event corresponding to the attributes of the left earphone when it is identified that the second earphone is worn on the left ear of the second user.

[0634] In one possible implementation, the first processor 2302 is specifically used to execute a control event corresponding to the attributes of the right earphone when it is identified that the first earphone is worn on the right ear of the first user; the second processor is specifically used to execute a control event corresponding to the attributes of the right earphone when it is identified that the second earphone is worn on the right ear of the second user.

[0635] In one possible implementation, the first earphone includes a first microphone 2307 and a second microphone 2308, which are arranged opposite to each other in the first earphone; the first processor 2302 is specifically used to identify that the first earphone is worn on the left ear, the first microphone 2307 is located above the second microphone 2308, turn on the first microphone 2307, and pick up audio through the first microphone 2307 when the first gravity data meets the first condition; the first processor 2302 is specifically used to identify that the first earphone is worn on the right ear, the first microphone 2307 is located below the second microphone 2308, turn on the second microphone 2308, and pick up audio through the second microphone 2308 when the first gravity data meets the second condition.

[0636] In one possible implementation, the first processor 2302 is specifically used to identify that the first earphone is worn on the left ear and play the left channel audio when the first gravity data meets the first condition; the first processor 2302 is specifically used to identify that the first earphone is worn on the right ear and play the right channel audio when the first gravity data meets the second condition.

[0637] In one possible implementation, the first earphone also includes a touch controller 2306, which is used to identify that the first earphone is worn on the left ear when the first gravity data meets the first condition, detect and respond to the first operation acting on the first area, and send a first message to the first processor 2302; the first processor 2302 is also used to execute a first control in response to the first message, and the first area includes the area of ​​the ear where the first earphone is worn or the area on the first earphone; the touch unit is also used to identify that the first earphone is worn on the right ear when the first gravity data meets the second condition, detect and respond to the first operation acting on the second area, and send a second message to the first processor 2302 in response to the second message, and the second area includes the area of ​​the ear where the first earphone is worn or the area on the first earphone; wherein the first control is the same as or different from the second control, and the first control or the second control includes any one of the following: pausing audio playback, continuing audio playback, switching audio playback, adjusting volume, answering a call, and hanging up a call.

[0638] FIG24 is a schematic diagram of the first earphone provided in this application.

[0639] As shown in Figure 24, the present application provides an earphone, which is a first earphone, and the first earphone includes a first inertia detection unit 2401 and a first processing unit 2402, wherein the first inertia detection unit 2401 is used to collect first gravity data; the first processing unit 2402 is used to obtain the first gravity data collected by an inertia detection unit; the first processing unit 2402 is also used to: when the first gravity data meets the first condition, identify that the first earphone is worn on the left ear, and execute the control event corresponding to the left earphone attribute; when the first gravity data meets the second condition, identify that the first earphone is worn on the right ear, and execute the control event corresponding to the right earphone attribute.

[0640] In one possible implementation, the first earphone also includes a first capacitance acquisition unit 2403 and a second capacitance acquisition unit 2404; the first processing unit 2402 is further used to: obtain a first capacitance value collected by the first capacitance acquisition unit 2403 and a second capacitance value collected by the second capacitance acquisition unit 2404; when the first capacitance value is greater than a first threshold and the second capacitance value is greater than a second threshold, the first earphone determines the wearing state.

[0641] In a possible implementation, the first processing unit 2402 is specifically configured to obtain the first gravity data collected by the first inertial detection unit 2401 when it is determined that the first earphone is in the wearing state.

[0642] In one possible implementation, the first earphone also includes a temperature acquisition unit 2405; wherein the temperature acquisition unit 2405 is used to collect the first ambient temperature; the first processing unit 2402 is specifically used to: obtain a first capacitance error value based on the first ambient temperature; obtain a first target capacitance value based on the first capacitance value and the first capacitance error value, and obtain a second target capacitance value based on the second capacitance value and the first capacitance error value; when the first target capacitance value is greater than the first threshold and the second target capacitance value is greater than the second threshold, determine the wearing state.

[0643] In one possible implementation, the first earphone further includes a first audio collection unit 2407 and a second audio collection unit 2408, and the first audio collection unit 2407 and the second audio collection unit 2408 are arranged relative to each other; the first processing unit 2402 is specifically configured to, when the first gravity data meets the first condition, identify that the first earphone is worn on the left ear, the first audio collection unit 2407 is located above the second audio collection unit 2408, turn on the first audio collection unit 2407, and pick up audio through the first audio collection unit 2407; the first processing unit 2402 is specifically configured to, when the first gravity data meets the second condition, identify that the first earphone is worn on the right ear, the first audio collection unit 2407 is located below the second audio collection unit 2408, turn on the second audio collection unit 2408, and pick up audio through the second audio collection unit 2408.

[0644] In one possible implementation, the first processing unit 2402 is specifically used to identify that the first earphone is worn on the left ear and play the left channel audio when the first gravity data meets the first condition; the first processing unit 2402 is specifically used to identify that the first earphone is worn on the right ear and play the right channel audio when the first gravity data meets the second condition.

[0645] In one possible implementation, the first earphone also includes a touch unit 2406; the touch unit 2406 is used to identify that the first earphone is worn on the left ear when the first gravity data meets the first condition, detect and respond to the first operation applied to the first area, and send a first message to the first processing unit 2402; the first processing unit 2402 is further used to execute a first control in response to the first message, and the first area includes the area of ​​the ear where the first earphone is worn or the area on the first earphone; the touch unit 2406 is further used to identify that the first earphone is worn on the right ear when the first gravity data meets the second condition, detect and respond to the first operation applied to the second area, and send a second message to the first processing unit 2402 in response to the second message, and the second area includes the area of ​​the ear where the first earphone is worn or the area on the first earphone; wherein the first control is the same as or different from the second control, and the first control or the second control includes any one of the following: pausing audio playback, continuing audio playback, switching audio playback, adjusting volume, answering a call, and hanging up a call.

[0646] The above are only some of the embodiments and implementations of this application. The scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

[0647] It is understood that the various user interfaces described in the embodiments of this application are merely exemplary interfaces and do not limit the scope of this application. In other embodiments, the user interface may adopt a different interface layout, include more or fewer controls, and add or remove other functional options. As long as they are based on the same inventive concept provided by this application, they are all within the scope of protection of this application.

[0648] It should be noted that, without causing any contradiction or conflict, any feature in any embodiment of the present application, or any part of any feature, can be combined, and the combined technical solution is also within the scope of the embodiments of the present application.

[0649] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A headset control method, applied to a wearable device, characterized in that: The wearable device includes a first earphone, the first earphone includes a first inertial detector, and the method includes; The first earphone acquires first gravity data collected by the first inertial detector; When the first gravity data satisfies a first condition, the first earphone recognizes that the first earphone is worn on the left ear, and executes a control event corresponding to an attribute of the left earphone; When the first gravity data satisfies a second condition, the first earphone recognizes that the first earphone is worn on the right ear, and executes a control event corresponding to a property of the right earphone.

2. The method according to claim 1, characterized in that The wearable device further includes a second earphone, the second earphone includes a second inertial detector, and the method further includes: The second earphone acquires second gravity data collected by the second inertial detector; When the second gravity data satisfies the first condition, the second earphone recognizes that the second earphone is worn on the left ear, and executes a control event corresponding to the attribute of the left earphone; When the second gravity data satisfies the second condition, the second earphone recognizes that the second earphone is worn on the right ear, and executes a control event corresponding to a right earphone attribute.

3. The method according to claim 1 or 2, characterized in that: The first earphone comprises a first earphone body, a cantilever arm and a second earphone body, the cantilever arm is connected between the first earphone body and the second earphone body, the first earphone body and the second earphone body are arranged opposite to each other and have an initial distance; the cantilever arm has a deformable ability, and the deformation of the cantilever arm can adjust the initial distance between the first earphone body and the second earphone body to an adjustment distance, a line connecting the geometric center of the second earphone body and the geometric center of the first earphone body is defined as a Z axis, and a direction in which the geometric center of the second earphone body points to the geometric center of the first earphone body is defined as a positive direction of the Z axis; a straight line passing through the geometric center of an end face connecting the cantilever arm and the second earphone body and perpendicular to the end face is defined as a Y axis, and a direction in which the geometric center of the end face points to the cantilever arm is defined as a positive direction of the Y axis; a straight line perpendicular to the Z axis and the Y axis is defined as an X axis, and when the first earphone is worn on the left ear, the positive direction of the X axis points to the ground; When the user is in a standing state or a sitting state, the first condition includes: the gravity component of the gravity data in the positive direction of the X-axis is positive; When the user is in a standing state or a sitting state, the second condition includes: a gravity component of the gravity data in the positive direction of the X-axis is a negative value.

4. The method according to claim 3, characterized in that When the user is in a left-side lying state, the first condition includes: the gravity component of the gravity data on the Y-axis is a positive value; When the user is in the left side lying state, the second condition includes: the gravity component of the gravity data in the positive direction of the Y axis is a negative value.

5. The method according to claim 3, characterized in that: When the user is in a right-side lying state, the first condition includes: the gravity component of the gravity data in the positive direction of the Y-axis is a negative value; When the user is in the right side lying state, the second condition includes: the gravity component of the gravity data in the positive direction of the Y-axis is a positive value.

6. The method according to any one of claims 3 to 5, characterized in that: The first earphone body includes a first capacitive sensor, and the second earphone body includes a second capacitive sensor; before the first earphone acquires the gravity data collected by the inertial detector, the method further includes: The first earphone acquires a first capacitance value acquired by the first capacitance sensor and a second capacitance value acquired by the second capacitance sensor; When the first capacitance value is greater than a first threshold value and the second capacitance value is greater than a second threshold value, the first earphone determines that the wearing state is achieved.

7. The method according to claim 6, characterized in that The first earphone acquires the first gravity data collected by the first inertial detector, specifically including: When the first earphone determines the wearing state, the first earphone acquires the first gravity data collected by the first inertial detector.

8. The method according to claim 6 or 7, characterized in that: The first earphone determines the wearing state, specifically comprising: The first earphone obtains a first capacitance error value corresponding to a first ambient temperature; The first earphone obtains a first target capacitance value based on the first capacitance value and the first capacitance error value, and obtains a second target capacitance value based on the second capacitance value and the first capacitance error value; When the first target capacitance value is greater than the first threshold value and the second target capacitance value is greater than the second threshold value, the first earphone determines that it is in a wearing state.

9. The method according to claim 2, characterized in that: The method comprises: When the first earphone recognizes that the first earphone is worn on the left ear of the first user, the first earphone executes a control event corresponding to a property of the left earphone; When the second earphone recognizes that the first earphone is worn on the right ear of the first user, the second earphone executes a control event corresponding to the right earphone attribute.

10. The method according to claim 2, characterized in that The method comprises: When the first earphone recognizes that the first earphone is worn on the left ear of the first user, the first earphone executes a control event corresponding to a left earphone attribute; When the second earphone recognizes that the first earphone is worn on the right ear of the second user, the second earphone executes a control event corresponding to the right earphone attribute.

11. The method according to claim 2, characterized in that The method comprises: When the first earphone recognizes that the first earphone is worn on the left ear of the first user, the first earphone executes a control event corresponding to a property of the left earphone; When the second earphone recognizes that the first earphone is worn on the left ear of the second user, the second earphone executes a control event corresponding to the attribute of the left earphone.

12. The method according to claim 2, characterized in that: The method comprises: When the first earphone recognizes that the first earphone is worn on the right ear of the first user, the first earphone executes a control event corresponding to a right earphone attribute; When the second earphone recognizes that the first earphone is worn on the right ear of the second user, the second earphone executes a control event corresponding to the right earphone attribute.

13. The method according to any one of claims 1 to 12, characterized in that: The first earphone includes a first microphone and a second microphone, and the first microphone and the second microphone are arranged opposite to each other in the first earphone; when the first gravity data satisfies a first condition, the first earphone recognizes that the first earphone is worn on the left ear, and executes a control event corresponding to the attribute of the left earphone, specifically including: When the first gravity data satisfies the first condition, the first earphone recognizes that the first earphone is worn on the left ear, the first microphone is located above the second microphone, and the first earphone turns on the first microphone and picks up audio through the first microphone; When the first gravity data satisfies the second condition, the first earphone recognizes that the first earphone is worn on the right ear, and executes a control event corresponding to the right earphone attribute, specifically including: When the first gravity data satisfies the second condition, the first earphone recognizes that the first earphone is worn on the right ear, the first microphone is located below the second microphone, the first earphone turns on the second microphone, and picks up audio through the second microphone.

14. The method according to any one of claims 1 to 12, characterized in that: When the first gravity data satisfies the first condition, the first earphone recognizes that the first earphone is worn on the left ear, and executes a control event corresponding to the attribute of the left earphone, specifically including: When the first gravity data satisfies the first condition, the first earphone recognizes that the first earphone is worn on the left ear and plays the left channel audio; When the first gravity data satisfies the second condition, the first earphone recognizes that the first earphone is worn on the right ear, and executes a control event corresponding to the right earphone attribute, specifically including: When the first gravity data satisfies the second condition, the first earphone recognizes that the first earphone is worn on the right ear and plays the right channel audio.

15. The method according to any one of claims 1 to 12, characterized in that: When the first gravity data satisfies the first condition, the first earphone recognizes that the first earphone is worn on the left ear, and executes a control event corresponding to the attribute of the left earphone, specifically including: When the first gravity data satisfies the first condition, the first earphone recognizes that the first earphone is worn on the left ear, detects and responds to a first operation acting on a first area, and performs a first control, wherein the first area includes an area of ​​the ear where the first earphone is worn or an area on the first earphone; When the first gravity data satisfies the second condition, the first earphone recognizes that the first earphone is worn on the right ear, and executes a control event corresponding to the right earphone attribute, specifically including: When the first gravity data satisfies the second condition, the first earphone recognizes that the first earphone is worn on the right ear, detects and performs a second control in response to the first operation acting on a second area, where the second area includes an area of ​​the ear where the first earphone is worn or an area on the first earphone; Among them, the first control is the same as or different from the second control, and the first control or the second control includes any one of the following: pausing audio playback, continuing audio playback, switching audio playback, adjusting volume, answering a call, and hanging up a call.

16. A wearable device, characterized in that: The wearable device includes a first earphone, the first earphone includes a first inertial detector and a first processor, wherein, The first inertial detector is used to collect first gravity data; The first processor is used to obtain the first gravity data collected by the first inertial detector; The first processor is further configured to: When the first gravity data satisfies a first condition, identifying that the first earphone is worn on the left ear, and executing a control event corresponding to an attribute of the left earphone; When the first gravity data satisfies a second condition, it is recognized that the first earphone is worn on the right ear, and a control event corresponding to a property of the right earphone is executed.

17. The wearable device according to claim 16, characterized in that: The wearable device includes a second earphone, the second earphone includes a second inertial detector and a second processor, wherein, The second inertial detector is used to collect second gravity data; The second processor is used to obtain the second gravity data collected by the second inertial detector; The second processor is further configured to: When the second gravity data satisfies the first condition, identifying that the second earphone is worn on the left ear, and executing a control event corresponding to the attribute of the left earphone; When the second gravity data satisfies the second condition, it is recognized that the second earphone is worn on the right ear, and a control event corresponding to the right earphone attribute is executed.

18. The wearable device according to claim 16 or 17, characterized in that: The second earphone comprises a first earphone body, a cantilever arm and a second earphone body, the cantilever arm is connected between the first earphone body and the second earphone body, the first earphone body and the second earphone body are arranged opposite to each other and have an initial distance; the cantilever arm has a deformable ability, and the deformation of the cantilever arm can adjust the initial distance between the first earphone body and the second earphone body to an adjustment distance, a line connecting the geometric center of the second earphone body and the geometric center of the first earphone body is defined as a Z axis, and a direction in which the geometric center of the second earphone body points to the geometric center of the first earphone body is defined as a positive direction of the Z axis; a straight line passing through the geometric center of an end face connecting the cantilever arm and the second earphone body and perpendicular to the end face is defined as a Y axis, and a direction in which the geometric center of the end face points to the cantilever arm is defined as a positive direction of the Y axis; a straight line perpendicular to the Z axis and the Y axis is defined as an X axis, and when the first earphone is worn on the left ear, the positive direction of the X axis points to the ground; When the user is in a standing state or a sitting state, the first condition includes: the gravity component of the gravity data in the positive direction of the X-axis is positive; When the user is in a standing state or a sitting state, the second condition includes: a gravity component of the gravity data in the positive direction of the X-axis is a negative value.

19. The wearable device according to claim 18, characterized in that: When the user is in a left-side lying state, the first condition includes: the gravity component of the gravity data in the positive direction of the Y-axis is a positive value; When the user is in the left side lying state, the second condition includes: the gravity component of the gravity data in the positive direction of the Y axis is a negative value.

20. The wearable device according to claim 18, characterized in that: When the user is in a right-side lying state, the first condition includes: the gravity component of the gravity data in the positive direction of the Y-axis is a negative value; When the user is in the right side lying state, the second condition includes: the gravity component of the gravity data in the positive direction of the Y-axis is a positive value.

21. The wearable device according to any one of claims 18 to 20, characterized in that: The first earphone body includes a first capacitive sensor, and the second earphone body includes a second capacitive sensor; The first processor is further configured to: Acquire a first capacitance value collected by the first capacitance sensor and a second capacitance value collected by the second capacitance sensor; When the first capacitance value is greater than a first threshold value and the second capacitance value is greater than a second threshold value, the first earphone determines that the wearing state is achieved.

22. The wearable device according to claim 21, characterized in that: The first processor is specifically configured to obtain the first gravity data collected by the first inertial detector when it is determined that the first earphone is in a wearing state.

23. The wearable device according to claim 21 or 22, characterized in that: The first earphone further includes a temperature sensor; the temperature sensor is used to collect the first ambient temperature; The first processor is specifically configured to: Acquire a first capacitance error value based on the first ambient temperature; Obtaining a first target capacitance value based on the first capacitance value and the first capacitance error value, and obtaining a second target capacitance value based on the second capacitance value and the first capacitance error value; When the first target capacitance value is greater than the first threshold value and the second target capacitance value is greater than the second threshold value, the wearing state is determined.

24. The wearable device according to claim 17, characterized in that: The first processor is specifically configured to execute a control event corresponding to a property of the left earphone when recognizing that the first earphone is worn on the left ear of the first user; The second processor is specifically configured to execute a control event corresponding to a right earphone attribute when recognizing that the second earphone is worn on the right ear of the first user.

25. The wearable device according to claim 17, characterized in that: The first processor is specifically configured to execute a control event corresponding to a property of the left earphone when recognizing that the first earphone is worn on the left ear of the first user; The second processor is specifically configured to execute a control event corresponding to a right earphone attribute when recognizing that the second earphone is worn on the right ear of the second user.

26. The wearable device according to claim 17, characterized in that: The first processor is specifically configured to execute a control event corresponding to a property of the left earphone when recognizing that the first earphone is worn on the left ear of the first user; The second processor is specifically configured to execute a control event corresponding to a property of the left earphone when recognizing that the second earphone is worn on the left ear of the second user.

27. The wearable device according to claim 17, characterized in that: The first processor is specifically configured to execute a control event corresponding to a right earphone attribute when recognizing that the first earphone is worn on the right ear of the first user; The second processor is specifically configured to execute a control event corresponding to a right earphone attribute when recognizing that the second earphone is worn on the right ear of the second user.

28. The wearable device according to any one of claims 16-27, characterized in that: The first earphone comprises a first microphone and a second microphone, and the first microphone and the second microphone are arranged opposite to each other in the first earphone; The first processor is specifically configured to, when the first gravity data satisfies the first condition, recognize that the first earphone is worn on the left ear, the first microphone is located above the second microphone, turn on the first microphone, and pick up audio through the first microphone; The first processor is specifically used to recognize that the first earphone is worn on the right ear, the first microphone is located below the second microphone, turn on the second microphone, and pick up audio through the second microphone when the first gravity data meets the second condition.

29. The wearable device according to any one of claims 16 to 27, characterized in that: The first processor is specifically configured to recognize that the first earphone is worn on the left ear and play left channel audio when the first gravity data satisfies the first condition; The first processor is specifically configured to recognize that the first earphone is worn on the right ear and play right channel audio when the first gravity data satisfies the second condition.

30. The wearable device according to any one of claims 16-27, characterized in that: The first headset further includes a touch controller, and the touch controller is used to identify that the first headset is worn on the left ear when the first gravity data meets the first condition, detect and respond to a first operation acting on the first area, and send a first message to the first processor; The first processor is further configured to perform a first control in response to the first message, wherein the first area includes an area of ​​an ear where the first headset is worn or an area on the first headset; The touch control unit is further configured to, when the first gravity data satisfies the second condition, identify that the first earphone is worn on the right ear, detect and respond to the first operation acting on the second area, and send a second message to the first processor; The first processor is further configured to perform a second control in response to the second message, wherein the second area includes an area of ​​an ear where the first headset is worn or an area on the first headset; The first control is the same as or different from the second control, and the first control or the second control includes any one of the following: pausing audio playback, continuing audio playback, switching audio playback, adjusting volume, answering a call, and hanging up a call.

31. An earphone, which is a first earphone, characterized in that: The first earphone includes a first inertia detection unit and a first processing unit, wherein: The first inertial detection unit is used to collect first gravity data; The first processing unit is used to obtain the first gravity data collected by the inertial detection unit; The first processing unit is further configured to: When the first gravity data satisfies a first condition, identifying that the first earphone is worn on the left ear, and executing a control event corresponding to an attribute of the left earphone; When the first gravity data satisfies a second condition, it is recognized that the first earphone is worn on the right ear, and a control event corresponding to a property of the right earphone is executed.

32. The first earphone according to claim 31, characterized in that The first earphone further includes a first capacitance collection unit and a second capacitance collection unit; The first processing unit is further configured to: Acquire a first capacitance value acquired by the first capacitance acquisition unit and a second capacitance value acquired by the second capacitance acquisition unit; When the first capacitance value is greater than a first threshold value and the second capacitance value is greater than a second threshold value, the first earphone determines that the wearing state is achieved.

33. The first earphone according to claim 32, characterized in that The first processing unit is specifically configured to obtain the first gravity data collected by the first inertial detection unit when it is determined that the first earphone is in a wearing state.

34. The first earphone according to claim 32 or 33, characterized in that: The first earphone further includes the temperature collection unit; wherein the temperature collection unit is used to collect the first ambient temperature; The first processing unit is specifically used for: Acquire a first capacitance error value based on the first ambient temperature; A first target capacitance value is obtained based on the first capacitance value and the first capacitance error value, and a first target capacitance value is obtained based on the second capacitance value and the first The capacitance error value is used to obtain a second target capacitance value; When the first target capacitance value is greater than the first threshold value and the second target capacitance value is greater than the second threshold value, the wearing state is determined.

35. The first earphone according to any one of claims 31-34, characterized in that: The first earphone also includes the first audio collection unit and the second audio collection unit, and the first audio collection unit and the second audio collection unit are arranged relative to each other; The first processing unit is specifically configured to, when the first gravity data satisfies the first condition, identify that the first earphone is worn on the left ear, the first audio collection unit is located above the second audio collection unit, turn on the first audio collection unit, and pick up audio through the first audio collection unit; The first processing unit is specifically used to recognize that the first earphone is worn on the right ear, the first audio collection unit is located below the second audio collection unit, turn on the second audio collection unit, and pick up audio through the second audio collection unit when the first gravity data meets the second condition.

36. The first earphone according to any one of claims 31-34, characterized in that: The first processing unit is specifically configured to recognize that the first earphone is worn on the left ear and play left channel audio when the first gravity data satisfies the first condition; The first processing unit is specifically configured to recognize that the first earphone is worn on the right ear and play right channel audio when the first gravity data satisfies the second condition.

37. The first earphone according to any one of claims 31-34, characterized in that: The first earphone further includes a touch control unit; the touch control unit is used to identify that the first earphone is worn on the left ear when the first gravity data meets the first condition, detect and respond to the first operation acting on the first area, and send a first message to the first processing unit; The first processing unit is further configured to perform a first control in response to the first message, wherein the first area includes an area of ​​an ear where the first headset is worn or an area on the first headset; The touch control unit is further configured to, when the first gravity data satisfies the second condition, identify that the first earphone is worn on the right ear, detect and respond to the first operation acting on the second area, and send a second message to the first processing unit; The first processing unit is further configured to perform a second control in response to the second message, wherein the second area includes an area of ​​an ear where the first headset is worn or an area on the first headset; The first control is the same as or different from the second control, and the first control or the second control includes any one of the following: pausing audio playback, continuing audio playback, switching audio playback, adjusting volume, answering a call, and hanging up a call.

38. A wearable device, characterized in that: The wearable device includes an inertial detector, a memory, and a processor; wherein the inertial detector, the memory, and the processor are coupled, and the memory is used to store a computer program. When the processor executes and calls the computer program, the wearable device executes the method described in any one of claims 16-30.

39. A computer-readable storage medium comprising instructions, characterized in that: When the instruction is executed on the wearable device, the wearable device executes the method according to any one of claims 16 to 30.

Citation Information

Patent Citations

  • Earphone control method and wearable device

    CN119562181A

  • Information processing method and sound output device

    CN105228041A

  • Hearing equipment and hearing parameter configuration method and device thereof

    CN109089199A

  • Earphone connection device switching method and system, and related assembly

    CN113596802A

  • Microphone management method and device of ear clamping type earphone and ear clamping type earphone

    CN114760554A