Earphone control method and wearable device

The inertial detector recognizes the wearing position of the headphones and performs corresponding control events, which solves the problems of uncomfortable wearing of existing headphones and difficulty in identifying the left and right ears, achieving higher portability and wear comfort.

CN119562181APending Publication Date: 2025-03-04HUAWEI TECH CO LTD

Patent Information

Application Number
CN202311136305.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-01
Publication Date
2025-03-04

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 user experience.

Method used

A headphone control method is provided, which uses an inertial detector to collect gravity data, and recognizes whether the headphone is worn with the left ear or the right ear, so as to perform corresponding control events, and improves the portability and wear comfort of the headphones.

Benefits of technology

It realizes wearing without distinction between left and right ears, improves the flexibility and wearing experience of users using wearable devices, and improves the portable performance of the headphones.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119562181A_ABST
    Figure CN119562181A_ABST
Patent Text Reader

Abstract

The invention provides an earphone control method and wearable equipment, the method is applied to the wearable equipment, the wearable equipment comprises a first earphone, and the first earphone comprises a first inertia detector; the first earphone obtains first gravity data collected by the first inertia 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 a control event corresponding to the attribute of the left earphone is executed; and when the first gravity data meets a second condition, the first earphone recognizes that the first earphone is worn on the right ear, and a control event corresponding to the attribute of the right earphone is executed. Through the method, 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 the left ear wearing or the right ear wearing, so that the flexibility of using the wearable device by a user is improved, and the use experience of wearing the wearable device by the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] True Wireless Stereo (TWS) earphones are popular among consumers due to their true wireless structure, small size and easy portability. However, most of the TWS earphones on the market are in-ear or semi-in-ear devices, which will invade the user's ear canal and cause a sense of pressure, making it impossible for users to wear them for a long time, and even causing health problems for consumers.

[0003] Ear clip earphones can be clamped in the user's concha cavity without going deep into the user's ear canal, which can improve the wearing comfort. Ear clip earphones do not need to distinguish between left and right ears when worn, but it is necessary to identify whether the ear clip earphone is worn on the left ear or the right ear, and then execute control events corresponding to the left ear attributes based on the left ear, or execute control events corresponding to the right ear attributes based on the right ear. How to identify whether the ear clip earphone is worn on the left ear or the right ear needs further study. Summary of the invention

[0004] 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 the left ear wearing or the right ear wearing, thereby improving the flexibility of the user in using the wearable device and improving the user's experience of wearing the wearable device.

[0005] In a first aspect, the present application provides an earphone control method, which is applied to a wearable device, wherein the wearable device includes a first earphone, and the first earphone includes a first inertial detector. The method includes: 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 attribute of the left earphone; 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 attribute of the right earphone.

[0006] 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, and the first earphone can also be worn on the user's right ear, thus improving the portability of the earphone.

[0007] 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 the first earphone is worn on the left ear or the right ear.

[0008] 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 through gravity data collected by a preset first inertial detector, thereby increasing the flexibility of the user in using the wearable device and improving the user's experience of wearing the wearable device.

[0009] 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 also 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 attribute 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 attribute of the right earphone.

[0010] 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 distinguish between left and right ears when worn. The second earphone can be worn on the user's left ear, and the second earphone can also be worn on the user's right ear, thereby improving the portability of the earphone.

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

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

[0013] 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 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 axis of the Z axis. direction; a straight line which is the geometric center of the end face connected to the second earphone body through the cantilever arm and is perpendicular to the end face is defined as the Y-axis, and the direction in which the geometric center of the end face points to the cantilever arm is defined as the positive direction of the Y-axis; at the same time, a straight line which is 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.

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

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

[0016] In some embodiments, the first earphone or the second earphone can also identify whether it is worn in a standard manner. After the standard wearing, the accuracy of the left ear wearing or right ear wearing identification can be improved. If the first earphone or the second earphone is not worn in a standard manner, the first earphone or the second earphone can prompt the user to wear the earphone in a standard posture until the first earphone or the second earphone is worn in a standard manner and the prompt stops.

[0017] 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 sound, 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.

[0018] In some embodiments, after the first earphone or the second earphone is taken out of the earphone box and wearing is detected, the first earphone or the second earphone may output a prompt tone, which is used to remind the user to wear the earphone in a standardized manner. After the user wears the first earphone or the second earphone, the first earphone or the second earphone may also identify whether it is worn in a standardized manner. If the first earphone or the second earphone is not worn in a standardized manner, the first earphone or the second earphone may remind the user to wear the earphone in a standardized posture until the first earphone or the second earphone is worn in a standardized manner and the prompt stops.

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

[0020] In combination with the first aspect, in a 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.

[0021] 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.

[0022] In combination with the first aspect, in a possible implementation method, 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.

[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 a possible implementation, the first earphone body includes a first capacitance sensor, and the second earphone body includes a second capacitance sensor; before the first earphone obtains gravity data collected by the inertial detector, the method also includes: the first earphone obtains 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 a wearing state.

[0025] 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 earphone can identify whether the user is wearing the earphone through the first capacitive sensor and the second capacitive sensor.

[0026] When the user wears headphones, the capacitive sensor can fit closely 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, thereby determining that the user is not wearing headphones.

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

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

[0029] Only when it is recognized that the first earphone is in a wearing state, the first earphone will make a judgment on whether the left ear or the right ear is worn through the first gravity data collected by the first inertial detector. When it is recognized that the first earphone is not in a wearing state, the first earphone will not collect the first gravity data through the first inertial detector, which can save power consumption of the first earphone.

[0030] In combination with the first aspect, in a possible implementation method, 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.

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

[0032] In some embodiments, the capacitance value collected by the capacitance sensor is susceptible to the influence of temperature, and different temperatures have different influences on the capacitance value collected by the capacitance sensor. In order to improve the accuracy of identifying the wearing state, the capacitance difference and temperature compensation can be simultaneously referred to to identify whether the headset is in the wearing state or not in the wearing state.

[0033] In combination with the first aspect, in a possible implementation manner, 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.

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

[0035] In combination with the first aspect, in a 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.

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

[0037] In combination with the first aspect, in a 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.

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

[0039] In combination with the first aspect, in a possible implementation method, 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 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.

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

[0041] 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 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, the first microphone is located 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 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 attribute of the right earphone, 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.

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

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

[0044] 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.

[0045] In combination with the first aspect, in a possible implementation method, 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 left earphone attribute, 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.

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

[0047] In combination with the first aspect, in a possible implementation manner, 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, detects and responds to a first operation acting on a first area, and executes a first control, the first area including an area of ​​the ear where the first earphone is worn or an area on the first earphone;

[0048] 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.

[0049] 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 intelligence of the user's gesture-based operation of the earphone.

[0050] In a second aspect, the present application provides a wearable device, which includes a first earphone, and 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 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.

[0051] In combination with the second aspect, in a 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 also 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 attribute 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 attribute of the right earphone.

[0052] 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 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 axis of the Z axis. direction; a straight line which is the geometric center of the end face connected to the second earphone body through the cantilever arm and is perpendicular to the end face is defined as the Y-axis, and the direction in which the geometric center of the end face points to the cantilever arm is defined as the positive direction of the Y-axis; at the same time, a straight line which is 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.

[0053] 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 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.

[0054] In combination with the second aspect, in a possible implementation method, 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.

[0055] In combination with the second aspect, in a 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.

[0056] In combination with the second aspect, in a possible implementation manner, 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 wearing state.

[0057] 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 a 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 a first threshold value and the second target capacitance value is greater than a second threshold value, determine the wearing state.

[0058] In combination with the second aspect, in one possible implementation, the first processor is specifically used to execute a control event corresponding to the left earphone attribute 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 right earphone attribute when it is identified that the second earphone is worn on the right ear of the first user.

[0059] In combination with the second aspect, in one possible implementation, the first processor is specifically used to execute a control event corresponding to the left earphone attribute 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 right earphone attribute when it is identified that the second earphone is worn on the right ear of the second user.

[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 left earphone when it is identified that the second earphone is worn on the left ear of the second 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 right earphone attribute 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 right earphone attribute 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 a 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.

[0063] 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 plays 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 plays the right channel audio when the first gravity data meets the second condition.

[0064] 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; the first processor is also used to execute a second control 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.

[0065] 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.

[0066] In combination with the third aspect, in a 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 a wearing state.

[0067] In combination with the third aspect, in a possible implementation manner, 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 wearing state.

[0068] 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 value and the second target capacitance value is greater than the second threshold value, determine the wearing state.

[0069] In combination with the third aspect, in a possible implementation method, the first earphone also includes a first audio collection unit and a second audio collection unit, and the positions of the first audio collection unit and the first audio collection 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 collection unit is above the second audio collection unit when the first gravity data meets the first condition, 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 identify that the first earphone is worn on the right ear and the first audio collection unit is below the second audio collection unit when the first gravity data meets the second condition, turn on the second audio collection unit, and pick up audio through the second audio collection unit.

[0070] In combination with the third aspect, in a 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.

[0071] 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; the first processing unit is also used to execute a second control 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.

[0072] In a fourth aspect, the present application provides a wearable device, comprising an inertial detector, a memory, and a processor; wherein the inertial detector, the memory, and the processor are coupled, the memory is used to store a computer program, and 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.

[0073] 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.

[0074] In a sixth aspect, the present application provides a chip system, the chip system comprising one or more processors, the processor being used to call computer instructions to execute a headphone control method provided in any possible implementation of any of the above aspects.

[0075] In a seventh aspect, the present application provides a computer program product comprising instructions, which, when executed on a wearable device, enables the wearable device to execute a headphone control method provided in any possible implementation of any of the above aspects.

[0076] 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

[0077] Figure 1 Schematic diagrams showing states where the earphone 1000 provided by the present application is worn on the left ear and the right ear respectively;

[0078] Figure 2 A schematic diagram of the structure of the earphone 1000 provided in the present application is shown;

[0079] Figure 3 A state diagram of a user wearing a single earphone on the right ear provided by the present application is shown;

[0080] Figure 4 A schematic structural diagram of an embodiment of the first earphone body 100 provided in the present application is shown;

[0081] Figure 5 A schematic structural diagram of an embodiment of the second earphone body 200 provided in the present application is shown;

[0082] Figure 6 A schematic structural diagram of an implementation of the third housing 210 provided in the present application is shown;

[0083] Figure 7 A schematic diagram of the structure of the earphone 1000 provided in the present application at another angle is shown;

[0084] Figure 8 A schematic diagram of the structure of the earphone box 200 provided in the present application is shown;

[0085] Fig. 9 A schematic diagram of a capacitance change curve provided by the present application is shown;

[0086] Figure 10-11 A schematic diagram of a user wearing headphones 1000 while standing provided by the present application is shown;

[0087] Figure 12-13 A schematic diagram showing the components of gravity acceleration on three axes when a user wears the headset 1000 while standing provided by the present application is shown;

[0088] Figure 14A-14B A schematic diagram showing a user wearing the headset 1000 while sitting;

[0089] Figure 15A-15B A schematic diagram showing a user wearing the headset 1000 while lying flat;

[0090] Fig. 15C A schematic diagram showing the components of gravity acceleration on three axes when a user wears the headset 1000 while lying flat provided by the present application is shown;

[0091] Figure 16A-16B A schematic diagram showing a user wearing headphones while lying on the right side;

[0092] Fig. 16C A schematic diagram showing the components of gravity acceleration on three axes when a user wears the headset 1000 while lying on the right side provided by the present application is shown;

[0093] Fig.16D A schematic diagram showing the components of gravity acceleration on three axes when a user wears the headset 1000 while lying on the left side provided by the present application is shown;

[0094] Figure 17A-17B A schematic diagram of switching left and right channel audio is shown;

[0095] Figure 18A-18B Another schematic diagram of switching left and right channel audio is shown;

[0096] Figure 19A-19I A schematic diagram showing a user checking and setting earphone touch gestures and checking the power levels of left and right earphones in a sports health application of an electronic device;

[0097] Figure 20A-20K A schematic diagram showing a user viewing and setting earphone touch gestures on an electronic device;

[0098] Figure 20L A flowchart of a method for training a gesture recognition model is exemplified;

[0099] Figure 20M The flowchart of the method of providing the touch function by the headset 1000 is exemplarily shown;

[0100] Figure 21A-Figure 21P A schematic diagram showing the headphone determining the main mic;

[0101] Fig. 22 A flowchart of a headphone control method provided by the present application;

[0102] Fig.23 A schematic diagram of the structure of a wearable device provided in this application;

[0103] Fig.24 This is a schematic diagram of the first earphone provided in this application. DETAILED DESCRIPTION

[0104] The technical solutions in the embodiments of the present application will be described clearly and in detail below 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 of associated 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.

[0105] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.

[0106] The term "user interface (UI)" in the following embodiments of the present application refers to a medium 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 operation 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.

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

[0108] Headphones 1000 wearing form

[0109] Figure 1 Schematic diagrams showing the earphone 1000 provided in the present application being worn on the left ear and the right ear respectively.

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

[0111] like Figure 1As shown, earphone 1000 is an ear-clip wireless earphone that can be clamped on the ear. Ear-clip earphones can reduce ear discomfort of the wearer and improve wearing comfort. Earphone 1000 includes two earphones. For example, earphone 1000 can be divided into a first earphone and a second earphone. The first earphone and the second earphone are respectively used for wearing on the left ear and the right ear of the user. Among them, the earphone structure of the first earphone and the second earphone is 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.

[0112] Earphone composition structure (first earphone body 100, cantilever arm 300 and second earphone body 200)

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

[0114] See also Figure 2 , Figure 2 It is a schematic diagram of the structure of the earphone 1000 provided in this application.

[0115] like Figure 2 As shown, the earphone 1000 is roughly U-shaped, and includes a first earphone body 100, a second earphone body 200, and a suspension arm 300. The suspension arm 300 is roughly U-shaped and connected 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 to each other, and the suspension arm 300 enables the first earphone body 100 and the second earphone body 200 to form a physical connection, and the first earphone body 100 and the second earphone body 200 are also electrically connected.

[0116] 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 ( Figure 2 In the figure, the geometric center of the second earphone body 200 and the geometric center of the first earphone body 100 are indicated by dotted lines. 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 connected to 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. Figure 2 As shown, the direction perpendicular to the Z-axis and the Y-axis and pointing toward the ground is the positive direction of the X-axis.

[0117] Wearing style of a single earphone

[0118] Figure 3The diagram shows a state in which a user wears a single earphone in his right ear.

[0119] like Figure 3 As shown, during use, the first earphone body 100 is held in the user's concha cavity and does not penetrate into the user's ear canal. The first earphone body 100 can be spherical, or of course, 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 the wearing comfort.

[0120] 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 is designed to be bean-shaped and fits the curved surface of the user's auricle when worn, which can improve the wearing comfort of the user.

[0121] 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, and then the earphone 1000 is worn on the ear. In the embodiment provided by 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 cause excessive clamping of 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.

[0122] In fact, the first earphone body 100 and the second earphone body 200 are arranged opposite to each other and have an initial distance; 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 adjustment distance is the distance by which the initial distance increases or decreases.

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

[0124] The earphone 1000 equipped with the suspension arm 300 can adapt to users with different ear thicknesses, provide appropriate clamping force for each user, and avoid clamping too tight or too loose to affect the wearing experience. At the same time, when the user puts on and takes off the earphone 1000 provided by the present application, the suspension arm 300 can be used to increase the distance L between the first earphone body 100 and the second earphone body 200 to ensure that the earphone 1000 is smoothly put on and taken off, avoid the ear being compressed and deformed, and improve the user's experience when putting on and taking off the earphone 1000.

[0125] Structural form of the first earphone body 100

[0126] Figure 4 yes Figure 1 A structural schematic diagram of an implementation manner of the first earphone body 100 described in FIG.

[0127] like Figure 4 As shown, the first earphone body 100 may include a first shell 10 and a second shell 20 .

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

[0129] When the earphone is worn on the ear, the auricle will contact the first capacitive sensor in the first earphone body 100, so that the capacitance value of the first capacitive sensor will change. It can be determined whether the user is wearing the earphone based on the change in the capacitance value of the first capacitive sensor. In a possible implementation, the number of the first capacitive sensors can be one or more.

[0130] 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, which are used for optical detection, that is, to determine whether an object is approaching by emitting and receiving light, so as to realize the wearing detection function. Among them, 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 earphone 1000, the specific light segment emitted by the transmitting end is reflected by the user's auricle to the receiving end, and the receiving end detects the specific light segment signal and makes a judgment that the user is wearing the earphone 1000; when the user does not wear the earphone 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 make a judgment that the user is not wearing the earphone 1000 or the wearing is unsuccessful.

[0131] In other embodiments, the wearing detection function may 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 earphone 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 earphone 1000 or the wearing is unsuccessful; when the user is not wearing the earphone 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 earphone 1000.

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

[0133] 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, which is not limited in this application.

[0134] Structural form of the second earphone body 200

[0135] Figure 5 yes Figure 2 A schematic diagram of the structure of an embodiment of the second earphone body 200 is shown in FIG. Figure 5 The second earphone body 200 may include a third shell 210 and a fourth shell 220 .

[0136] Figure 6 yes Figure 5 A structural schematic diagram of an implementation manner of the third housing 210 is shown in FIG.

[0137] like Figure 6 As shown, the third housing 210 is provided with a first sound pickup hole 214 and a second sound pickup hole 215 arranged at intervals. The first sound pickup hole 214 and the second sound pickup hole 215 are arranged at intervals in a direction parallel to the long 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.

[0138] In some embodiments, a first feedforward microphone and a second feedforward microphone are disposed in 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, and the first feedforward microphone may be located below the first pickup hole 214 and pick up the audio near the first pickup hole 214. The second feedforward microphone may be located below the second pickup hole 215 and pick up the audio near the second pickup hole 215.

[0139] 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.

[0140] The third housing 210 is provided with a fifth through hole 216 and a sixth through hole 217 arranged at intervals. The fifth through hole 216, the sixth through hole 217, the first sound pickup hole 214, and the second sound pickup hole 215 are arranged at intervals. The fifth through hole 216 and the sixth through hole 217 are arranged at intervals in a direction parallel to the long axis L1. The fifth through hole 216 can connect the outer surface 211 and the inner surface 212 of the third housing 210. The sixth through hole 217 can connect the outer surface 211 and the inner surface 212 of the third housing 210.

[0141] 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).

[0142] 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.

[0143] like Figure 6 As shown, 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, which is not limited in this application.

[0144] When the user charges the earphone 1000, the first electrode and the second electrode serve as the positive electrode and the negative electrode respectively, but the correspondence between the first electrode and the second electrode and the positive and negative electrodes is not fixed. It can be understood that the first electrode can be the positive electrode and the second electrode can be the negative electrode; or the first electrode can be the negative electrode and the second electrode can be the positive electrode.

[0145] 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.

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

[0147] The method is not limited to the capacitive sensor and optical detection method, and other methods can also be used to determine whether the user is wearing the headset 1000, which is not limited in this application. Figure 4 The description in the embodiments will not be repeated in this application.

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

[0149] 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.

[0150] Therefore, the earphone 1000 provided in this embodiment can solve the problem that it is difficult to distinguish between the left and right ears when the earphones are similar in shape, so that the user no longer needs to distinguish between the left and right ears when wearing the earphone 1000, thereby improving the user's flexibility in using the earphone 1000 and improving the user's experience of wearing the wireless earphone 1000.

[0151] Structural form of cantilever arm 300

[0152] 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 through the first connector and to the second earphone body 200 through the second connector. The cantilever arm 300 may also realize signal transmission between the first earphone body 100 and the second earphone body 200.

[0153] In the above embodiments provided by the present application, the support member 330 in the suspension arm 300 can adjust the distance between the two opposite ends of the suspension arm 300 in the X-axis direction. Therefore, after the suspension 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 different users with different ear thicknesses, provide appropriate clamping force for each user, and enhance the user's comfort during long-term wearing and putting on and taking off of the earphone 1000.

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

[0155] Figure 7 yes Figure 2 FIG. 1 is a schematic structural diagram of the earphone 1000 at another angle.

[0156] like Figure 7 As shown, the appearance surface of the first earphone body 100 has a symmetry plane 1. The appearance surface of the second earphone body 200 has a symmetry plane 2. The appearance surface of the cantilever also has a symmetry plane 3. Symmetry plane 1, symmetry plane 2 and symmetry plane 3 are coplanar. It can be understood that due to assembly tolerance, a slight angle is allowed between any two of the symmetry planes 1, symmetry plane 2 and symmetry plane 3, and the angle is less than or equal to 1°, such as 0.2°, 0.5°, 0.9° or 1.0°. Exemplarily, the angle between symmetry plane 1 and symmetry plane 2 can be less than 1°, or the angle between symmetry plane 1 and symmetry plane 3 can be less than 1°, or the angle between symmetry plane 2 and symmetry plane 3 can be less than 1°. At this time, any one of symmetry plane 1, symmetry plane 2 and symmetry plane 3 is the symmetry plane 0-0 of the earphone 1000. In this way, the overall appearance of the earphone 1000 is a symmetrical structure, and the user does not need to distinguish between the left and right ears when using the earphone 1000.

[0157] In the present application, an earphone 1000 is specifically introduced in combination with 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 for sound generation. The second earphone body 200 includes a shell, a first feedforward microphone and a second feedforward microphone. A second space is provided inside the shell. The shell 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 communicate with the second space and the outside of the second earphone body 200. The first feedforward microphone picks up the sound outside the second earphone body 200 through the first sound pickup hole 214, and the second feedforward microphone picks up the 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.

[0158] It can be understood that, compared with the solution of only providing one of the first sound pickup hole 214 or the second sound pickup hole 215, no matter the user wears the earphone 1000 on the left ear or the right ear, the first sound pickup hole 214 and the second sound pickup hole 215 can always keep one of them facing the ground and the other facing the side away from the ground. When the sound pickup hole facing the side away from the ground is blocked by sweat dripping into it, the other sound pickup hole can still work normally, realizing active noise reduction.

[0159] 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 earphone 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.

[0160] In some embodiments, the earphone 1000 of the present application is 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 earphone 1000.

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

[0162] An earphone case for placing the earphones 1000 and charging the earphones 1000

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

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

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

[0166] For the convenience of opening and closing, the earphone box 2000 may adopt a vertical opening and closing structure. When 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 positions of the earphones.

[0167] The default attribute of the earphone can be determined based on the position of the earphone in the earphone box 2000. For example, when the earphone is located in slots 1101 and 1102 in the earphone box 2000, the default attribute of the earphone is the left earphone attribute. When the earphone is located in slots 1103 and 1104 in the earphone box 2000, the default attribute of the earphone is the right earphone attribute.

[0168] Take the case where the opening of the earphone box faces the user as an example. Fig.11 The earphone attributes placed in slots 1101 and 1102 shown in FIG. 1 are left earphone attributes. Fig.11 The earphone attributes placed in slots 1103 and 1104 shown in the figure are right earphone attributes.

[0169] In some embodiments, slots 1101 and 1102 in the earphone box 2000 may be referred to as left slots, and slots 1103 and 1104 in the earphone box 2000 may be referred to as right slots. The earphone attributes of the earphone placed in the left slot are left earphone attributes, and the earphone attributes of the earphone placed in the right slot are right earphone attributes.

[0170] For example, the earphone 1000 includes a first earphone and a second earphone. When the first earphone is placed in the left position of the earphone box 2000, the earphone attribute of the first earphone is the left earphone attribute. When the second earphone is placed in the right position of the earphone box 2000, the earphone attribute of the second earphone is the right earphone attribute.

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

[0172] Identify the wearing status of the headset

[0173] It is described above that when the user wears the headset 1000, it is not necessary to distinguish between the left and right headsets. However, when the user wears the headset 1000, it is necessary to identify whether the first headset and / or the second headset in the headset 1000 is worn on the left ear or the right ear. In one possible implementation, the first headset can identify whether the first headset is worn on the left ear or the right ear based on the collected inertial data, and the second headset can also identify whether the second headset is worn on the left ear or the right ear based on the collected inertial data. In other possible implementations, the electronic device that establishes a communication connection with the headset 1000 can also determine whether the first headset is worn on the left ear or the right ear and whether the second headset is worn on the left ear or the right ear. Specifically, the first headset can send the collected inertial data to the electronic device, and the electronic device can determine whether the first headset is worn on the left ear or the right ear based on the inertial data sent by the first headset, and the electronic device then sends the confirmation result to the first headset. Similarly, the second headset can also send the collected inertial data to the electronic device, and the electronic device can determine whether the second headset is worn on the left ear or the right ear based on the inertial data sent by the second headset, and the electronic device then sends the confirmation result to the second headset.

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

[0175] 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 power of the left and right earphones, and determine the main mic based on the wearing attributes of the earphones.

[0176] Among them, the wearing attribute of the earphone is determined based on whether the earphone is worn on the left ear or the right ear. The wearing attribute of the earphone may include a left earphone attribute and a right earphone attribute, wherein the left earphone attribute is used to indicate that the earphone is currently worn on the left ear of the user, and the right earphone attribute is used to indicate that the earphone is currently worn on the right ear of the user. For example, when the first earphone identifies that the first earphone is worn on the left ear, the wearing attribute of the first earphone is a left earphone attribute, and when the first earphone identifies that the first earphone is worn on the right ear, the wearing attribute of the first earphone is a right earphone attribute. Similarly, when the second earphone identifies that the second earphone is worn on the left ear, the wearing attribute of the second earphone is a left earphone attribute, and when the second earphone identifies that the second earphone is worn on the right ear, the wearing attribute of the second earphone is a right earphone attribute. In some embodiments, before identifying whether the earphone is worn on the left ear or the right ear, the earphone needs to determine whether the earphone is in a wearing state. When the earphone is in a wearing state, it is determined whether the earphone is worn on the left ear or the right ear. When the earphone is not worn, it is not necessary to determine whether the earphone is worn on the left ear or the right ear, which can save the power consumption of the earphone.

[0177] 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 .

[0178] 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 .

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

[0180] 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.

[0181] The following embodiments of the present application are described by taking the example of the headset identifying whether the user is wearing the headset 1000 through the first capacitive sensor and the second capacitive sensor.

[0182] When the user wears earphones 1000, the capacitive sensor can be close to the user's auricle, forming a specific capacitance difference, and judging that the user is wearing earphones 1000; when the user is not wearing earphones 1000, the capacitive sensor is not in contact with the auricle, and the capacitance difference is stable, so it can be judged that the user is not wearing earphones 1000.

[0183] Exemplarily, wearing detection may include the following three scenarios:

[0184] (1) When the user wears the earphone 1000 correctly, the first capacitive sensor and the second capacitive sensor can be close to the user's auricle, and the capacitive sensor in the earphone forms a specific capacitance value (large capacitance value). 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 small.

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

[0186] 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.

[0187] In some embodiments, the earphone 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 times.

[0188] For example, Fig. 9 A schematic diagram of a capacitance variation curve is shown as an example.

[0189] from Fig. 9 It can be seen that when the earphone is not 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 about -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 earphone is not worn.

[0190] When the user wears the earphone, the capacitance value collected by the capacitive sensor in the earphone 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 stabilize at about 260,000.

[0191] When the user takes off the earphone again, the capacitance value collected by the capacitive sensor in the earphone will decrease sharply and stabilize at a smaller value, for example, the capacitance value can be stabilized at about -100000. In some embodiments, the capacitance change curve between time C and time D can also be called a capacitance baseline.

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

[0193] In some embodiments, the capacitance value collected by the capacitance sensor is susceptible to the influence of temperature, and different temperatures have different influences on the capacitance value collected by the capacitance sensor. In order to improve the accuracy of identifying the wearing state, the capacitance difference and temperature compensation can be simultaneously referred to to identify whether the headset is in the wearing state or not in the wearing state.

[0194] Temperature compensation can be understood as the error value of the capacitance value collected by the capacitance sensor at different temperatures. The earphone can determine the capacitance error value based on the current ambient temperature, and determine the target capacitance value based on the capacitance value collected by the capacitance sensor and the capacitance error value. If the target capacitance value is greater than the preset value, it can be determined that the earphone is in the wearing state, and if the target capacitance value is less than the preset value, it can be determined that the earphone is not in the wearing state.

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

[0196] For example, the headset can detect a first capacitance value based on a first capacitance sensor, and the headset determines 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 the headset determines 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. When the first target capacitance value is greater than the first preset value, and the second target capacitance value is greater than the second preset value, it can be determined that the headset is in a wearing state.

[0197] 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.

[0198] 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.

[0199] (2) When the user is not wearing the headset 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.

[0200] 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.

[0201] In some embodiments, the headset can detect a first capacitance value based on a first capacitance sensor, and the headset determines 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 the headset determines 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. When the first target capacitance value is less than the 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 worn.

[0202] (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.

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

[0204] 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.

[0205] 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 the present application.

[0206] 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.

[0207] After the headset determines that the headset is in the wearing state, the headset also needs to identify whether the headset is worn on the left ear or the right ear, and then determine whether the wearing attribute of the headset needs to be reset. Then, based on the wearing attribute of the headset, operations such as switching left and right channels, switching gesture control, identifying the power of the left and right headsets, and determining the main mic are performed.

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

[0209] 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 to the first earphone, and the second earphone is assigned a wearing attribute to the second earphone.

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

[0211] 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.

[0212] 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.

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

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

[0215] 3. After the user wears the first earphone and the second earphone on the 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.

[0216] 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.

[0217] 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 attributes of the first earphone are still the left earphone attributes and the wearing attributes of the second earphone are still the right earphone attributes.

[0218] In some embodiments, when the first earphone is worn on the right ear of the user for a long time, and the second earphone is worn on the left ear of the user for a long time, the wearing attributes of the first earphone and the second earphone 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.

[0219] Next, we will introduce how to identify whether the earphone is worn on the left ear or the right ear.

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

[0221] 1. Identify whether the earphone is worn on the left ear or the right ear when standing or sitting.

[0222] 1. Identify whether the earphone is worn on the left ear or the right ear when standing.

[0223] in, Figure 10-11 A schematic diagram showing a user wearing the headset 1000 while standing.

[0224] like Fig.10 As shown, when the user is in a standing state, the user wears the first earphone on the left ear ( Fig.10 Not shown), and wear the second earphone on the right ear.

[0225] exist Fig.10 In the scenario shown, 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.

[0226] If the wearing time is long, the headset 1000 can identify whether the first headset and the second headset are worn on the left ear or the right ear. For example, the first headset can be determined to be worn on the user's left ear, and the second headset can be determined to be worn on the user's right ear. Based on being worn on the left ear, the first headset can determine that the wearing attribute of the first headset is a left headset attribute. Based on being worn on the right ear, the second headset can determine that the wearing attribute of the second headset is a right headset attribute.

[0227] For example Fig.11 As shown, 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 ( Fig.11 not shown).

[0228] exist Fig.11 In the scenario shown, if the wearing time is short and the earphone has not yet determined whether the earphone is 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.

[0229] If the wearing time is long, the headset 1000 can identify whether the first headset and the second headset are worn on the left ear or the right ear. For example, the first headset can be determined to be worn on the user's right ear, and the second headset can be determined to be worn on the user's left ear. Based on being worn on the right ear, the first headset can determine that the wearing attribute of the first headset is a right headset attribute, and the first headset will switch from a left headset attribute to a right headset attribute. Based on being worn on the left ear, the second headset can determine that the wearing attribute of the second headset is a left headset attribute, and the second headset will switch from a right headset attribute to a left headset attribute.

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

[0231] In some embodiments, an IMU sensor is preset 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.

[0232] Not limited to the IMU sensor, 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.

[0233] Optionally, the IMU sensor is not limited to being placed in the second earphone body 200 , and 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.

[0234] Fig.12 A schematic diagram showing the gravitational acceleration components on three axes when the first earphone is worn on the left ear.

[0235] like Fig.12 As shown, 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 ( Figure 1 In the figure, the geometric center of the second earphone body 200 and the geometric center of the first earphone body 100 are indicated by dotted lines. 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 connected to 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. Figure 2 As shown, the direction perpendicular to the Z-axis and the Y-axis and pointing toward the ground is the positive direction of the X-axis.

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

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

[0238] like Fig.12 As shown, 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.

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

[0240] 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 X-axis is positive, the acceleration component of the gravity acceleration G on the Z-axis is close to the minimum value, and the acceleration component of the gravity acceleration G on the Y-axis is close to the minimum value.

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

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

[0243] 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 X-axis is a negative value, the acceleration component of the gravity acceleration G on the Z-axis is close to a minimum value, and the acceleration component of the gravity acceleration G on the Y-axis is close to a minimum value.

[0244] When two earphones 1000 are in a wearing 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.

[0245] 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.

[0246] 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.

[0247] 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, and the present application does not limit this.

[0248] In some embodiments, when the first earphone and the second earphone are both in a wearing state, the earphone recognizes whether it is 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.

[0249] In other embodiments, when only one of the first earphone or the second earphone is in a 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.

[0250] 2. Identify whether the earphone is worn on the left ear or the right ear when sitting or standing.

[0251] in, Figure 14A-14B A schematic diagram showing a user wearing the headset 1000 while sitting.

[0252] like Fig.14A As shown, 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 ( Fig.14A not shown).

[0253] exist Fig.14A In the scenario shown, 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.

[0254] If the wearing time is long, the headset 1000 can identify whether the first headset and the second headset are worn on the left ear or the right ear. For example, the first headset can be determined to be worn on the user's left ear, and the second headset can be determined to be worn on the user's right ear. Based on being worn on the left ear, the first headset can determine that the wearing attribute of the first headset is a left headset attribute. Based on being worn on the right ear, the second headset can determine that the wearing attribute of the second headset is a right headset attribute.

[0255] For example Fig. 14B As shown, when the user is in a standing state, the user wears the first earphone on the right ear ( Fig. 14B Not shown), and wear the second earphone on the left ear.

[0256] exist Fig. 14B In the scenario shown, if the wearing time is short and the earphone has not yet determined whether the earphone is 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.

[0257] If the wearing time is long, the headset 1000 can identify whether the first headset and the second headset are worn on the left ear or the right ear. For example, the first headset can be determined to be worn on the user's right ear, and the second headset can be determined to be worn on the user's left ear. Based on being worn on the right ear, the first headset can determine that the wearing attribute of the first headset is a right headset attribute, and the first headset will switch from a left headset attribute to a right headset attribute. Based on being worn on the left ear, the second headset can determine that the wearing attribute of the second headset is a left headset attribute, and the second headset will switch from a right headset attribute to a left headset attribute.

[0258] How to identify whether the earphone is worn on the left ear or the right ear when sitting is consistent with the method of how to identify whether the earphone is worn on the left ear or the right ear when standing. Specifically, you can refer to the description of identifying whether the earphone is worn on the left ear or the right ear when standing, and this application will not repeat it here.

[0259] 2. Identify whether the earphone is worn on the left ear or the right ear when lying down.

[0260] The user's lying posture can be divided into a flat lying posture and a side lying posture. For 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.

[0261] 1. When lying flat, identify whether the earphone is worn on the left ear or the right ear.

[0262] in, Figure 15A-15B A schematic diagram showing a user wearing the headset 1000 while lying flat is shown.

[0263] like Fig.15A As shown, when the user is in a lying state, the user wears the first earphone on the left ear ( Fig.15A Not shown), and wear the second earphone on the right ear.

[0264] For example Fig. 15B As shown, when the user is in a lying state, the user wears the first earphone on the right ear and the second earphone on the left ear ( Fig. 15B not shown).

[0265] In some embodiments, an IMU sensor is preset 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.

[0266] by Fig.15A Projecting the chin shown above onto the top of the head, we get Fig. 15C Schematic diagram of the components of gravitational acceleration on each coordinate axis. Fig. 15C A schematic diagram showing the gravitational acceleration G when a user wears the first earphone and the second earphone while lying flat.

[0267] Depend on Fig. 15C It can be seen that when the user is in a lying state, 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 a negative value.

[0268] 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.

[0269] 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 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 of the gravity acceleration G on the Z-axis is a negative value.

[0270] For example, when two earphones 1000 are in a wearing state, when the acceleration component of the gravity acceleration G on the Z axis in the first earphone is a negative value, and the acceleration component of the gravity 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 posture, 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.

[0271] For another example, when two earphones 1000 are in a wearing 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 posture, 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.

[0272] In some embodiments, when the first earphone and the second earphone are both in a 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.

[0273] In other embodiments, when only one of the first earphone or the second earphone is in a 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.

[0274] 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.

[0275] 2. Identify whether the earphone is worn on the left ear or the right ear when lying on your side.

[0276] in, Figure 16A-16B A schematic diagram showing a user wearing headphones while lying on the right side.

[0277] like Fig.16A As shown, 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 ( Fig.16A not shown).

[0278] exist Fig.16A In the scenario shown, 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.

[0279] If the wearing time is long, the headset 1000 can identify whether the first headset and the second headset are worn on the left ear or the right ear. For example, the first headset can be determined to be worn on the user's left ear, and the second headset can be determined to be worn on the user's right ear. Based on being worn on the left ear, the first headset can determine that the wearing attribute of the first headset is a left headset attribute. Based on being worn on the right ear, the second headset can determine that the wearing attribute of the second headset is a right headset attribute.

[0280] For example Fig. 16B As shown, when the user is in a right-side lying position, the user wears the first earphone on the right ear ( Fig. 16B Not shown), and wear the second earphone on the left ear.

[0281] exist Fig. 16B In the scenario shown, if the wearing time is short and the earphone has not yet determined whether the earphone is 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.

[0282] If the wearing time is long, the headset 1000 can identify whether the first headset and the second headset are worn on the left ear or the right ear. For example, the first headset can determine that it is worn on the user's right ear, and the second headset can determine that it is worn on the user's left ear. Based on being worn on the right ear, the first headset can determine that the wearing attribute of the first headset is a right headset attribute, and the first headset will switch from a left headset attribute to a right headset attribute. Based on being worn on the left ear, the second headset can determine that the wearing attribute of the second headset is a left headset attribute, and the second headset will switch from a right headset attribute to a left headset attribute.

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

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

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

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

[0287] by Fig.16A The user's chin is projected onto the top of the head, and we can get Fig. 16C Schematic diagram of the components of gravitational acceleration on each coordinate axis.

[0288] like Fig. 16C As shown, 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 Y-axis is negative.

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

[0290] The preset conditions may include but are not limited to one or more of the following: the gravity acceleration component of the gravity acceleration G in the positive direction of the Y-axis is a negative value, 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.

[0291] For example Fig. 16C As shown, when the second earphone is worn on the right ear of the user, the acceleration component of the gravitational acceleration G in the positive direction of the Y-axis is positive.

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

[0293] 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.

[0294] When two earphones 1000 are in a wearing 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 gravity acceleration G in the positive direction of the Y-axis in the first earphone and the acceleration component of the gravity acceleration G in the positive direction of the Y-axis in the second earphone.

[0295] For example, when the acceleration component of the gravity acceleration G in the positive direction of the Y-axis in the first earphone is negative and the acceleration component of the gravity 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.

[0296] 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.

[0297] 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.

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

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

[0300] When the user lies on the left side, the chin is projected onto the top of the head, and the Fig.16D Schematic diagram of the components of gravitational acceleration on various coordinate axes when lying on the left side shown.

[0301] like Fig.16D As shown, 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 Y-axis is positive.

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

[0303] 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.

[0304] like Fig.16D As shown, when the second earphone is worn on the right ear of the user, the acceleration component of the gravitational acceleration G in the positive direction of the Y-axis is negative.

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

[0306] 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 a negative value, 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.

[0307] When two earphones 1000 are in a wearing 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 gravity acceleration G in the positive direction of the Y-axis in the first earphone and the acceleration component of the gravity acceleration G in the positive direction of the Y-axis in the second earphone.

[0308] 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.

[0309] 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 a negative value, the gravity acceleration component of the gravity acceleration G in the first earphone on the X-axis is a minimum value, the gravity acceleration component of the gravity acceleration G in the first earphone on the Z-axis is a minimum value, the acceleration component of the gravity acceleration G in the second earphone in the positive direction of the Y-axis is a positive value, the gravity acceleration component of the gravity acceleration G in the second earphone on the X-axis is a minimum value, and the gravity acceleration component of the gravity acceleration G in the second earphone on the Z-axis is a minimum value, 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.

[0310] 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. The present application does not limit this.

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

[0312] In other embodiments, when only one of the first earphone or the second earphone is in a 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.

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

[0314] 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 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.

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

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

[0317] For example, the electronic device needs to send the left channel audio to the earphone with the left wearing attribute, and play the left channel audio through the earphone with the left wearing attribute. 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 earphone with the right wearing attribute, and play the right channel audio through the earphone with the right wearing attribute.

[0318] For example, Fig.17A As shown, 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.

[0319] The earphone 1000 then sends the wearing attributes of the first earphone and the wearing attributes of 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 wearing attributes of the second earphone.

[0320] like Fig.17AAs shown, the electronic device establishes a communication connection with the headset 1000. After receiving the wearing attributes of the first headset and the wearing attributes of 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 right channel audio to the second headset based on the right ear attribute. The first headset can play the left channel audio, and the second headset can play the right channel audio.

[0321] In some embodiments, if the user wears the first earphone on the right ear and the second earphone on the left ear after taking the earphone 1000 out of the earphone box 2000, or the user changes 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 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.

[0322] The earphone 1000 then sends the wearing attributes of the first earphone and the wearing attributes of 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 wearing attributes of the second earphone.

[0323] like Fig. 17B As shown, 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 attribute, and send the right channel audio to the first headset based on the right ear attribute. The second headset can play the left channel audio, and the first headset can play the right channel audio.

[0324] 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.

[0325] In a 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. Then 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. In this case, how the electronic device sends audio data to the earphone 1000 can be referred to Fig.17A The description in the embodiments will not be repeated in this application.

[0326] In a 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. Then 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. In this case, how the electronic device sends audio data to the earphone 1000 can be referred to Fig. 17BThe description in the embodiments will not be repeated in this application.

[0327] In a 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. Then 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.

[0328] The earphone 1000 then sends the wearing attributes of the first earphone and the wearing attributes of 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 wearing attributes of the second earphone.

[0329] like Fig.18A As shown, the electronic device establishes a communication connection with the headset 1000. After receiving the wearing attributes of the first headset and the wearing attributes of 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.

[0330] In other possible implementations, when both the first earphone and the second earphone are right ear attributes, the electronic device may 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 send the mixed channel audio to the second earphone. The first earphone may play the mixed channel audio, and the second earphone may also play the mixed channel audio.

[0331] In a 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.

[0332] The earphone 1000 then sends the wearing attributes of the first earphone and the wearing attributes of 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 wearing attributes of the second earphone.

[0333] like Fig.18B As shown, the electronic device has established a communication connection with the headset 1000. After receiving the wearing attributes of the first headset and the wearing attributes of 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.

[0334] In other possible implementations, when both the first earphone and the second earphone are left-ear attributes, the electronic device may 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 send the mixed-channel audio to the second earphone. The first earphone may play the mixed-channel audio, and the second earphone may also play the mixed-channel audio.

[0335] 2. Determine the headphone touch gestures and display the power of the left and right headphones based on the wearing attributes

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

[0337] Not limited to sports and health applications, users can also view and set headphone touch gestures and check the power 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.

[0338] 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.

[0339] Figure 19A-19I A schematic diagram showing a user checking and setting earphone touch gestures and checking the battery levels of left and right earphones in a sports health application of an electronic device.

[0340] 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 power information of the headset 1000 to the electronic device. Based on the received power information, the electronic device can display the power of the headset 1000. In this way, the user can also check the power of the headset 1000 on the electronic device.

[0341] It should be noted that an application for the headset 1000 may be installed in the electronic device. The application for managing the headset 1000 may be, for example, a sports health application. The electronic device may display the power level of the headset 1000 and related options for managing the headset 1000 on the user interface of the sports health application. The embodiment of the present application does not limit the application for managing the headset 1000. The subsequent embodiments will be specifically described by taking the sports health application as an example.

[0342] like Fig.19A As shown, 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.

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

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

[0345] 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”.

[0346] The device information display box 1932 may include the power information 1933 of the headset 1000 and the connection status between the electronic device and the headset 1000. The headset power information 1933 may be used to indicate the current power of the two headsets of the headset 1000. For example, it can be known from the headset power information 1933 that the power of the headset with the left headset attribute in the headset 1000 is 80% of the full power, and the power of the headset with the right headset attribute is 85% of the full power. The connection status between the headset 1000 and the electronic device is the "connected" state.

[0347] 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 left ear of the user.

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

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

[0350] It should be noted that when the two earphones are worn on the left ear and right ear of the user respectively, they may 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.

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

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

[0353] 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”.

[0354] The device information display box 1935 may include the power information 1936 of the headset 1000 and the connection status between the electronic device and the headset 1000. The headset power information 1936 may be used to indicate the current power of the two headsets of the headset 1000. For example, it can be known from the headset power information 1936 that the power of one of the left headset attributes of the headset 1000 is 80% of the full power, and the power of the other left headset attribute is 85% of the full power. The connection status between the headset 1000 and the electronic device is the "connected" state.

[0355] 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 left ear of the user.

[0356] 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 left ear of the user. Alternatively, the two earphones are worn on the left ears of two users at the same time.

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

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

[0359] 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”.

[0360] The device information display box 1938 may include the power information 1939 of the headset 1000 and the connection status between the electronic device and the headset 1000. The headset power information 1939 may be used to indicate the current power of the two headsets of the headset 1000. For example, it can be known from the headset power information 1939 that the power of one of the right headsets in the headset 1000 is 80% of the full power, and the power of the other right headset is 85% of the full power. The connection status between the headset 1000 and the electronic device is the "connected" state.

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

[0362] 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 right ear of the user. Alternatively, the two earphones are worn on the right ears of two users at the same time.

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

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

[0365] like Fig.19F As shown, the electronic device can receive and respond to a pull-down operation initiated by a user sliding downward from the top right area of ​​the electronic device screen, and the electronic device can display Figure 19G The user interface 1960 shown. The user interface 1960 may be a pull-down control interface of an electronic device. The embodiment of the present application does not limit the user operation for opening the pull-down control interface.

[0366] like Figure 19G As shown, user interface 1960 may include card 1961 .

[0367] Card 1961 can be used to open a user interface for managing headset 1000 (as described above). Fig.19B The card 1961 may display the power information of the headset 1000. In other words, the user can open the pull-down control interface by pulling down, and quickly check the power of the headset 1000 on the pull-down control interface.

[0368] Figure 19G The power information of the headset 1000 shown can be used to indicate the current power of the two earphones of the headset 1000. For example, it can be known from the power information of the headset 1000 that the power of one earphone with left earphone attribute in the headset 1000 is 80% of the full power, and the power of the other earphone with left earphone attribute is 85% of the full power. In some embodiments, the earphone with left earphone attribute can refer to the earphone located in the left position of the earphone box 2000. In other embodiments, the earphone with left earphone attribute can also refer to the earphone worn on the left ear of the user.

[0369] The attributes of the two earphones shown in card 1961 are respectively the attributes of the left earphone and the attributes of the right earphone. They may be both located in the earphone box 2000. Alternatively, one earphone may be located in the left compartment of the earphone box 2000, and the other earphone may be worn on the right ear of the user. Alternatively, one earphone may be located in the right compartment of the earphone box 2000, and the other earphone may be worn on the left ear of the user. Alternatively, one earphone may be worn on the left ear of the user, and the other earphone may be worn on the right ear of the user.

[0370] It should be noted that when the two earphones are worn on the left ear and right ear of the user respectively, they may 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.

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

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

[0373] In some embodiments, in response to a pull-down operation by a user sliding downward from the top right area of ​​the electronic device screen, the electronic device may display Fig.19IUser interface 1980 is shown. User interface 1980 is similar to user interface 1960, except that card 1981 is different from card 1961.

[0374] The attributes of the two earphones shown in the 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 right ear of the user. Or, the two earphones are worn on the right ears of two users at the same time.

[0375] Not limited to the user interface and the drop-down control interface of the sports health application, the electronic device 5-200 can also display the power information of the headset 1000 in other locations. For example, the electronic device can also display the power information of the headset 1000 in the negative one screen interface. The embodiment of the present application does not limit the location where the electronic device displays the power information of the headset 1000.

[0376] Figure 20A-20K A schematic diagram showing a user viewing and setting earphone touch gestures on an electronic device is shown.

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

[0378] 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.

[0379] like Fig. 20A As shown, 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 Fig. 20B User interface 2010 is shown.

[0380] like Fig. 20BAs shown, the user interface 2010 may include touch gesture setting options, etc. The user can view the headphone touch gestures 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 the headphone is in the wearing state, and executing the instruction corresponding to the preset operation. The above-mentioned preset area may be an area distributed in the user's ear, the area around the ear, and the touch area on the headphone. The above-mentioned preset operation may include but is not limited to: tap twice, tap three times. The above-mentioned tap twice may refer to the operation of clicking twice in succession quickly. The above-mentioned tap three times 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 instructions, pause play instructions, answer instructions, hang up instructions, switch to the previous song instructions, switch to the next song instructions, wake up the voice assistant instructions, volume adjustment instructions, noise control instructions, listen to the heart instructions, and listen to the song to identify the song instructions.

[0381] like Fig. 20B As shown, the electronic device can receive an input operation (such as a single click) from a user for a touch gesture setting option in the user interface 2010, and in response to the user's input operation, the electronic device can display Fig. 20C User interface 2020 is shown.

[0382] 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 .

[0383] 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, then the "double-tap" operation performed by the user on the left touch area is used to control the 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, then the "double-tap" operation performed by the user on the right touch area is used to control the earphone 1000 through the second earphone to execute the instruction corresponding to the double-tap operation.

[0384] In some embodiments, the attributes of the earphone can be changed. For example, the user takes the first earphone out of the left ear and wears it on the right ear of the user. At this time, the wearing attribute of the first earphone is switched from the left earphone attribute to the right earphone attribute. Then the "double-tap" operation performed by the user 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.

[0385] Similarly, if the user takes the second earphone out of the right ear and wears it on the left ear, the wearing attribute of the second earphone is switched from the right earphone attribute to the left earphone attribute. Then the "double-tap" operation performed by the user on the left touch area is used to control the earphone 1000 to execute the instruction corresponding to the double-tap operation through the second earphone.

[0386] 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".

[0387] 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”.

[0388] The above-mentioned double-tap option 2021 and triple-tap option 2022 can facilitate the user to switch between setting interfaces of different operations. Among them, when the double-tap option 2021 is selected, the electronic device can display Fig. 20C The user interface 2020 is shown. That is, the user interface 2020 is a user interface for setting the instruction corresponding to the operation of "tap three times".

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

[0390] Exemplarily, the touch area information 2023 includes an illustration of an ear wearing the earphone 1000, and the illustration of the ear is marked with touch areas 2028, 2029, 2030, and 2031. Touch area 2028 may be a touch area of ​​the ball on the earphone. Touch area 2029 may be a touch area of ​​the cantilever arm on the earphone. Touch area 2030 may be a touch area of ​​the bean on the earphone. Touch area 2031 may be an area located in the triangular fossa on the auricle. The user may trigger the ear to execute the instruction corresponding to the preset operation by performing the preset operation in any of the above-mentioned multiple touch areas.

[0391] The above touch area 2028, touch area 2029, touch area 2030 and touch area 2031 are only exemplary descriptions of the present application. The headset may also include more or fewer other touch areas, which shall not be construed as limiting the present application. The above touch function may also support more touch areas.

[0392] The left / right touch area 2024 can be used to set the corresponding command when the headset is in a call state when the operation "tap twice" acts on the touch area. When the headset is in a call state, the command triggered by the "tap twice" touch gesture on the left touch area and the right touch area is the same. Currently, when the headset is in a call state, the command triggered by the "tap twice" touch gesture on the left / right touch area is to answer / hang up the call.

[0393] The left touch area option 2025 can be used to set the corresponding command when the operation "tap twice" acts on the touch area. For example, "play / pause" can be displayed in the left touch area option 2025, which can indicate that the corresponding command when the operation "tap twice" acts on the left touch area is a play / pause command. The above play / pause command can be used to control the headset 1000 to start playing audio or pause playing audio through the headset of the left headset attribute.

[0394] The right touch area option 2026 can be used to set the corresponding command when the operation "tap twice" acts on the touch area. For example, "play / pause" can be displayed in the right touch area option 2026, which can indicate that the corresponding command when the operation "tap twice" acts 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 playing audio or pause playing audio through the earphone of the right earphone attribute.

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

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

[0397] For example, Fig. 20C As shown, the electronic device can receive an input operation (such as a single click) from the user on the left touch area option 2025, and in response to the user's input operation, the electronic device can display Fig.20D The pop-up window 2032 shown 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.

[0398] like Fig.20D As shown, the electronic device can receive a user input operation (such as a single click) for the previous setting item, and in response to the user's input operation, the electronic device can display Fig.20EPop-up window 2033 is shown, which 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, and the selected state is used to indicate that when the "double-tap" operation is applied to the left touch area, the corresponding instruction is an instruction to switch the song to the previous song.

[0399] For example, when the user performs a "double-tap" operation on the left touch area, the corresponding instruction is set to switch the song to the previous song, and the electronic device can display Fig.20F The user interface 2040 is similar to the user interface 2010, except that the option 2025 in the left touch area of ​​the user interface 2040 may display "previous song", which may indicate that the corresponding instruction when the "tap twice" operation is applied to the left touch area is the previous song instruction. The previous song instruction may be used to control the earphone 1000 to switch the song to the previous song through the earphone of the left earphone attribute.

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

[0401] For example, Figure 20G As shown, the electronic device can receive a user input operation (such as a single click) for the triple-tap option 2022 in the user interface 2020, and in response to the user input operation, the electronic device can display Fig. 20H User interface 2050 is shown.

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

[0403] The left touch area option 2051 can be used to set the corresponding command when the operation "tap three times" acts on the touch area. For example, "previous song" can be displayed in the left touch area option 2051, which can indicate that the corresponding command when the operation "tap three times" acts 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 the song to the previous song through the earphone of the left earphone attribute.

[0404] The right touch area option 2052 can be used to set the corresponding command when the operation "tap three times" acts on the touch area. For example, "next song" can be displayed in the right touch area option 2052, which can indicate that the corresponding command when the operation "tap three times" acts on the right touch area is a play / pause command. The above play / pause command can be used to control the earphone 1000 to switch the song to the next song through the earphone of the right earphone attribute.

[0405] The gesture understanding control 2053 can be used to view the usage instructions of more gestures supported by the touch function.

[0406] In some embodiments, the electronic device can receive instructions corresponding to a user operation to change a “tap three times” operation on the left touch area and / or the right touch area.

[0407] For example, Fig. 20H As shown, the electronic device can receive an input operation (such as a single click) from the user on the left touch area option 2051, and in response to the user's input operation, the electronic device can display Fig.20I The pop-up window 2054 shown may include multiple setting items, such as a previous song setting item, a next song setting item, a listen-as-you-want 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 "tap three times" operation acts on the left touch area, the corresponding instruction is to switch the song to the previous song instruction.

[0408] like Fig.20I As shown, the electronic device can receive an input operation (such as a single click) from a user for a free listening setting item, and in response to the user's input operation, the electronic device can display Fig. 20J Pop-up window 2055 is shown, which is similar to pop-up window 2054, except that the Listen at Your Heart setting item shown in pop-up window 2055 is in a selected state, and the selected state is used to indicate that when the "tap three times" operation is applied to the left touch area, the corresponding instruction is the wake-up Listen at Your Heart instruction.

[0409] For example, when the user performs a "tap three times" operation on the left touch area, the corresponding instruction is set to switch the song to the wake-up listening instruction, and the electronic device can display Figure 20K The user interface 2060 is similar to the user interface 2050, except that the option 2051 in the left touch area of ​​the user interface 2060 may display "Listen to the Heart", which may indicate that the corresponding instruction when the "tap three times" operation is applied to the left touch area is the instruction to wake up the Listen to the Heart. The instruction to wake up the Listen to the Heart can be used to control the earphone 1000 to wake up the Listen to the Heart through the earphone of the left earphone attribute.

[0410] Above Figure 20A-20K A schematic diagram of a user viewing and setting earphone touch gestures on an electronic device is introduced. When the earphone is in a wearing state, the user can conveniently control the earphone 1000 through gestures.

[0411] Since different gestures made by the user on 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.

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

[0413] The touch gestures in the present application may include but are not limited to double-click gestures and triple-click gestures, etc. The touch gestures may also include other more gestures. The present application only takes the double-click gesture and triple-click gesture as examples for illustration.

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

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

[0416] Figure 20L A flowchart of a method for training a gesture recognition model is exemplified.

[0417] like Figure 20L As shown, 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:

[0418] 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.

[0419] When performing touch operations, users need to tap on the ears or the area around the ears or the earphones. Then, the above touch operations 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 the 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 a gesture recognition model.

[0420] In some embodiments, the database may also include acceleration data or sound signals collected by the sensor when performing non-touch operations. The non-touch operations may include operations that are likely to cause touch operation recognition errors. For example, non-touch operations may include single-click operations on the touch area, etc. Using the acceleration data or sound signals collected by the sensor when performing the non-touch operations may improve the recognition accuracy of the gesture recognition model.

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

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

[0423] In some embodiments, a decision tree algorithm may be used to preprocess the data in the database, which is not limited to the decision tree algorithm but may be other means, which are not limited in this application.

[0424] 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 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 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.

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

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

[0427] 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 .

[0428] 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 .

[0429] 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 .

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

[0431] 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 .

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

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

[0434] 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.

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

[0436] 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.

[0437] Specifically, the gesture recognition model can be a three-classification model, which can recognize three types of operations: double-click operation, triple-click operation, non-double-click and triple-click operation. 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 and reduce the probability of misidentifying single-click operations, operations generated when adjusting the headset posture, operations generated when wearing or removing the headset, and confusing double-click operations with triple-click operations. The embodiment of the present application does not limit the specific process of training the gesture recognition model using training samples.

[0438] The trained gesture recognition model can receive input data. The input data can be the above-mentioned acceleration data or sound signal. According to 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 above-mentioned input data.

[0439] Figure 20K This 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.

[0440] In some embodiments, the two earphones (ie, the first earphone and the second earphone) of the earphone 1000 may be pre-installed with the above-mentioned trained gesture recognition model when leaving the factory. The earphone 1000 may recognize touch operations according to the gesture recognition model, thereby providing a touch function.

[0441] Here, a method for implementing the touch function provided by the earphone 1000 is introduced.

[0442] Figure 20M The flowchart of the method for the earphone 1000 to provide the touch function is exemplarily shown.

[0443] like Figure 20M As shown, the method may include steps S2001B to S2004B. The first earphone and the second earphone may independently perform the above steps S2001B to S2004B. The earphone 1000 is used as the execution subject for introduction, indicating that any earphone of the earphone 1000 can be used as Figure 20L The execution subject of the method shown.

[0444] S2001B, the sensor of the earphone 1000 collects acceleration data or sound signals.

[0445] The earphone 1000 may be provided with a bone conduction sensor, and / or an IMU sensor, and / or a sound pickup sensor. Through the above-mentioned bone conduction sensor or IMU sensor, the earphone 1000 can collect acceleration data. Through the above-mentioned sound pickup sensor, the earphone 1000 can collect sound signals.

[0446] 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 that a touch operation is recognized.

[0447] When the touch function is turned on, 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. Then, the headset 1000 can use a trained gesture recognition model to recognize the above-mentioned continuously collected acceleration data or continuously collected sound signals to determine whether there is a wide-area touch operation.

[0448] based on Figure 20K According to the introduction, the trained gesture recognition model can filter out single-click operations, operations generated when adjusting the headset posture, misoperations generated when wearing or removing the headset, and the process of confusing the probability of double-click operations and triple-click operations. The trained gesture recognition model can accurately identify whether the user's touch operation is a double-click operation or a triple-click operation.

[0449] S2003B: The headset 1000 determines a wearing event according to 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.

[0450] 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.

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

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

[0453] 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 current business.

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

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

[0456] 3. Determine the main mic

[0457] 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 that establishes a communication connection with it.

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

[0459] In some embodiments, the first feedforward microphone and the second feedforward microphone can work and pick up audio at the same time, and the second earphone body 200 can synthesize the two audio channels to obtain one audio channel, and transmit the audio channel to the electronic device that establishes a communication connection with it. In this case, the first feedforward microphone and the second feedforward microphone can both be main mics.

[0460] In some embodiments, the first feedforward microphone and the second feedforward microphone can be turned on at different times. 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 the audio, and the second earphone body 200 can send this audio to the electronic device that establishes a communication connection with it. 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.

[0461] 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.

[0462] When the first earphone and the second earphone are both in a wearing state, the first earphone and the second earphone can be worn on the left ear and the right ear of the same user at the same time, the first earphone and the second earphone can be worn on the left ear and the right ear 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.

[0463] 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.

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

[0465] 1. Single earphone wearing scenario.

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

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

[0468] (1) The first earphone in earphones 1000 is worn on the left ear of the user.

[0469] like Fig.21A As shown, when the first earphone in the earphone 1000 is worn on the left ear of the 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.

[0470] In one possible implementation, Fig.21A As shown, 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.

[0471] In other possible implementations, such as Fig.21B As shown, 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 the audio through the first feedforward microphone with higher audio quality, which can not only improve the quality of the audio picked up by the first earphone, but also save the power consumption of the first earphone.

[0472] 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 is not turned on, and this application does not limit this. This application only takes turning on the first feedforward microphone as an example for explanation.

[0473] (2) The first earphone in earphone 1000 is worn on the right ear of the user.

[0474] like Fig. 21CAs shown, when the first earphone in the earphone 1000 is worn on the right ear of the 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.

[0475] In one possible implementation, Fig. 21C As shown, 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.

[0476] In other possible implementations, such as Fig.21D As shown, the first earphone can 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 is not turned on. The first earphone only sends the audio picked up by the second feedforward microphone to the electronic device that establishes a communication connection with the first earphone. In this way, the second feedforward microphone is located above the first feedforward microphone, and the quality of the audio picked up by the second feedforward microphone is higher than the quality of the audio picked up by the first feedforward microphone. The first earphone can choose to pick up audio through the second feedforward microphone with higher audio quality, which can not only improve the quality of the audio picked up by the first earphone, but also save the power consumption of the first earphone.

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

[0478] When both earphones of the earphone 1000 are in a wearing state, the first earphone and the second earphone in the earphone 1000 can be worn on the left ear and the 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 the 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.

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

[0480] like Fig.21E Described, 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 first user.

[0481] 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 .

[0482] 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 .

[0483] 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.

[0484] 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.

[0485] 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 main earphone is the first earphone.

[0486] The main earphone is not limited to being determined from the two earphones based on information such as the wearing order and the remaining power, but 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 main earphone, etc. This application does not limit this.

[0487] After determining that the first earphone is the main earphone, the first feedforward microphone and the second feedforward microphone on the second earphone do not work, and the earphone 1000 can determine the main mic on the main earphone based on the first feedforward microphone and the second feedforward microphone.

[0488] In one possible implementation, Fig.21E As shown, 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.

[0489] In other possible implementations, the first feedforward microphone and the second feedforward 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 that establishes a communication connection with it.

[0490] In other possible implementations, such as Fig.21FAs shown, the first earphone can 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 is not turned on. The first earphone only sends the audio picked up by the second feedforward microphone to the electronic device that establishes a communication connection with the first earphone. In this way, the second feedforward microphone is located above the first feedforward microphone, and the quality of the audio picked up by the second feedforward microphone is higher than the quality of the audio picked up by the first feedforward microphone. The first earphone can choose to pick up audio through the second feedforward microphone with higher audio quality, which can not only improve the quality of the audio picked up by the first earphone, but also save the power consumption of the first earphone.

[0491] exist Figure 21E-Figure 21F In the embodiment, the first feed-forward microphone and the second feed-forward microphone on the second earphone do not work, and sound is picked up only by the first feed-forward microphone and / or the second feed-forward microphone on the first earphone.

[0492] In other embodiments, when the first earphone and the second earphone are both in the wearing state, the electronic device 100 can determine that the first earphone is the main earphone, but the feedforward microphones on the first earphone and the second earphone both 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 then sends it to the electronic device that establishes a communication connection with the earphone 1000.

[0493] In one possible implementation, Figure 21G As shown, 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 sound pickup hole 214 through the first feedforward microphone and the audio near the second sound pickup hole 215 through the second feedforward microphone. The second earphone can pick up the audio near the second sound pickup hole 215 through the second feedforward microphone and the audio near the first sound pickup hole 214 through the first feedforward microphone. The first earphone (main earphone) then synthesizes the four audio channels into one audio channel and sends it to the electronic device with which the communication connection is established.

[0494] In other possible implementations, the first feedforward microphone and the second feedforward microphone in the first earphone can both be turned on and pick up sound, and the first feedforward microphone and the second feedforward 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 audio quality, determine the audio channel with better audio quality, and send this audio channel to the electronic device that establishes a communication connection with it.

[0495] Audio quality may include but is not limited to: the larger the low-frequency signal, the better the audio quality. The headset can select the audio with a larger low-frequency signal from the two audio channels as the audio to be sent to the electronic device with which the communication connection is established. Because the larger the low-frequency signal, the smaller the wind noise, which is conducive to improving the effect of active noise reduction.

[0496] The audio quality may also be considered based on other criteria, and the low-frequency signal is only an exemplary description and does not constitute a limitation.

[0497] In other possible implementations, such as Fig.21H As shown, the first feedforward microphone on the first earphone and the second feedforward microphone on the second earphone are turned on, and the second feedforward microphone on the first earphone and the second feedforward microphone 273 on the second earphone are turned off. The first earphone can pick up the audio near the first sound pickup hole 214 through the first feedforward microphone, and the second earphone can pick up the audio near the second sound pickup hole 215 through the second feedforward microphone. The first earphone (main earphone) then synthesizes the two audio channels into one audio channel and sends it to the electronic device with which the communication connection is established.

[0498] 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 that establishes a communication connection with it.

[0499] 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.

[0500] 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.

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

[0502] When the first earphone and the second earphone are worn on the left ear and right ear of two different users respectively, 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. In this case, how to determine the main mic can be referred to Figure 21E-21H The description in , this application will not be repeated here.

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

[0504] like Fig.21I As shown, 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.

[0505] 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 .

[0506] 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 .

[0507] 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.

[0508] 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.

[0509] 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 main earphone is the first earphone.

[0510] The main earphone is not limited to being determined from the two earphones based on information such as the wearing order and the remaining power, but 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 main earphone, etc. This application does not limit this.

[0511] 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.

[0512] In one possible implementation, Fig.21I As shown, 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.

[0513] In other possible implementations, the first feedforward microphone and the second feedforward 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 that establishes a communication connection with it.

[0514] In other possible implementations, such as Fig.21J As shown, the first earphone can turn on the first feedforward microphone and pick up the sound near the second sound 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 the audio through the first feedforward microphone with higher audio quality, which can not only improve the quality of the audio picked up by the first earphone, but also save the power consumption of the first earphone.

[0515] exist Figure 21J-Figure 21J In the embodiment, the first feed-forward microphone and the second feed-forward microphone on the second earphone do not work, and sound is picked up only by the first feed-forward microphone and / or the second feed-forward microphone on the first earphone.

[0516] In other embodiments, when the first earphone and the second earphone are both in the wearing state, the electronic device 100 can determine that the first earphone is the main earphone, but the feedforward microphones on the first earphone and the second earphone both 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 then sends it to the electronic device that establishes a communication connection with the earphone 1000.

[0517] In one possible implementation, Figure 21K As shown, 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 sound pickup hole 214 through the first feedforward microphone and the audio near the second sound pickup hole 215 through the second feedforward microphone. The second earphone can pick up the audio near the second sound pickup hole 215 through the second feedforward microphone and the audio near the first sound pickup hole 214 through the first feedforward microphone. The first earphone (main earphone) then synthesizes the four audio channels into one audio channel and sends it to the electronic device with which the communication connection is established.

[0518] In other possible implementations, the first feedforward microphone and the second feedforward microphone on the first earphone are both turned on and pick up sound, and the first feedforward microphone and the second feedforward microphone on the second earphone are both turned on and pick up sound, but the earphone will identify which microphone collects audio with better audio 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.

[0519] In other possible implementations, such as Figure 21LAs shown, the first feedforward microphone on the first earphone and the first feedforward microphone on the second earphone are turned on, and the second feedforward microphone on the first earphone and the second feedforward microphone on the second earphone are turned off. The first earphone can pick up the audio near the first sound pickup hole 214 through the first feedforward microphone, and the second earphone can pick up the audio near the first sound pickup hole 214 through the first feedforward microphone. The first earphone (main earphone) then synthesizes the two audio channels into one audio channel and sends it to the electronic device that establishes a communication connection with it.

[0520] In other possible implementations, the first feedforward microphone on the first earphone and the first feedforward microphone on the second earphone are turned on and pick up sound, and the first feedforward microphone and the second feedforward microphone on the second earphone are both turned on and pick up sound, but the earphones will identify which microphone collects audio with better audio 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.

[0521] 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.

[0522] 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.

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

[0524] like Figure 21M As shown, the first earphone can be worn on the right ear of the first user, and the second earphone can be worn on the right ear of the second user.

[0525] 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 .

[0526] 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 .

[0527] 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.

[0528] 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.

[0529] 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 main earphone is the first earphone.

[0530] The main earphone is not limited to being determined from the two earphones based on information such as the wearing order and the remaining power, but 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 main earphone, etc. This application does not limit this.

[0531] 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.

[0532] In one possible implementation, Figure 21M As shown, 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.

[0533] In other possible implementations, the first feedforward microphone and the second feedforward 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 that establishes a communication connection with it.

[0534] In other possible implementations, such as Fig.21N As shown, the first earphone can 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 is not turned on. The first earphone only sends the audio picked up by the second feedforward microphone to the electronic device that establishes a communication connection with the first earphone. In this way, the second feedforward microphone is located above the first feedforward microphone, and the quality of the audio picked up by the second feedforward microphone is higher than the quality of the audio picked up by the first feedforward microphone. The first earphone can choose to pick up audio through the second feedforward microphone with higher audio quality, which can not only improve the quality of the audio picked up by the first earphone, but also save the power consumption of the first earphone.

[0535] exist Figure 21M-Figure 21NIn the embodiment, the first feed-forward microphone and the second feed-forward microphone on the second earphone do not work, and sound is picked up only by the first feed-forward microphone and / or the second feed-forward microphone on the first earphone.

[0536] In other embodiments, when the first earphone and the second earphone are both in the wearing state, the electronic device 100 can determine that the first earphone is the main earphone, but the feedforward microphones on the first earphone and the second earphone both 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 then sends it to the electronic device that establishes a communication connection with the earphone 1000.

[0537] In one possible implementation, Fig.21O As shown, 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 sound pickup hole 214 through the first feedforward microphone and the audio near the second sound pickup hole 215 through the second feedforward microphone. The second earphone can pick up the audio near the second sound pickup hole 215 through the second feedforward microphone and the audio near the first sound pickup hole 214 through the first feedforward microphone. The first earphone (main earphone) then synthesizes the four audio channels into one audio channel and sends it to the electronic device with which the communication connection is established.

[0538] In other possible implementations, the first feedforward microphone and the second feedforward microphone on the first earphone are both turned on and pick up sound, and the first feedforward microphone and the second feedforward 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 audio 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.

[0539] In other possible implementations, such as Figure 21P As shown, the second feedforward microphone on the first earphone and the second feedforward microphone on the second earphone are turned on, and the first feedforward microphone on the first earphone and the first feedforward microphone on the second earphone are turned off. The first earphone can pick up the audio near the second sound pickup hole 215 through the second feedforward microphone, and the second earphone can pick up the audio near the second sound pickup hole 215 through the second feedforward microphone. The first earphone (main earphone) then synthesizes the two audio channels into one audio channel and sends it to the electronic device with which the communication connection is established.

[0540] 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 that establishes a communication connection with it.

[0541] 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.

[0542] 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.

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

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

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

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

[0547] When the first earphone is worn on the left ear, refer to Fig.21A As shown, the first microphone on the first earphone is used to collect audio near the first sound pickup hole 214.

[0548] When the second earphone is worn on the right ear, refer to Fig. 21C As shown, the second microphone on the second earphone is used to collect audio near the first sound pickup hole 214.

[0549] The first microphone on the first earphone is located above the second microphone on the second earphone, and 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.

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

[0551] 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 audio quality, determine the audio channel with better audio quality, and send this audio channel to the electronic device that establishes a communication connection with it.

[0552] 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 repeat it here.

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

[0554] When the first earphone is worn on the left ear, refer to Fig.21J As shown, the first microphone on the first earphone is used to collect audio near the first sound pickup hole 214.

[0555] When the second earphone is worn on the left ear, refer to Fig.21J As shown, the second microphone on the second earphone is used to collect audio near the first sound pickup hole 214.

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

[0557] In a possible implementation, either the first microphone on the first earphone or the second microphone on the second earphone can be turned on, which is helpful for determining which microphone to turn on based on the order of wearing or the remaining power.

[0558] 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 that establishes a communication connection with it.

[0559] 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, and the two channels of audio are summed up into one channel of audio and sent to the electronic device that establishes a communication connection with it.

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

[0561] Fig. 22 A flowchart of a headphone control method provided in this application.

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

[0563] 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.

[0564] 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.

[0565] 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, and the first earphone can also be worn on the user's right ear, thus improving the portability of the earphone.

[0566] 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 the first earphone is worn on the left ear or the right ear.

[0567] 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 through gravity data collected by a preset first inertial detector, thereby increasing the flexibility of the user in using the wearable device and improving the user's experience of wearing the wearable device.

[0568] In a possible implementation, the wearable device also includes a second earphone, and the second earphone includes a second inertial detector. The method also 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 attribute 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 attribute of the right earphone.

[0569] 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 distinguish between left and right ears when worn. The second earphone can be worn on the user's left ear, and the second earphone can also be worn on the user's right ear, thereby improving the portability of the earphone.

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

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

[0572] 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 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; 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 to the cantilever arm is defined as the positive direction of the Y axis; the 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. For details, please refer to Figure 2 Description in the examples.

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

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

[0575] In some embodiments, the first earphone or the second earphone can also identify whether it is worn in a standard manner. After the standard wearing, the accuracy of the left ear wearing or right ear wearing identification can be improved. If the first earphone or the second earphone is not worn in a standard manner, the first earphone or the second earphone can prompt the user to wear the earphone in a standard posture until the first earphone or the second earphone is worn in a standard manner and the prompt stops.

[0576] 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 sound, 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.

[0577] In some embodiments, after the first earphone or the second earphone is taken out of the earphone box and wearing is detected, the first earphone or the second earphone may output a prompt tone, which is used to remind the user to wear the earphone in a standardized manner. After the user wears the first earphone or the second earphone, the first earphone or the second earphone may also identify whether it is worn in a standardized manner. If the first earphone or the second earphone is not worn in a standardized manner, the first earphone or the second earphone may remind the user to wear the earphone in a standardized posture until the first earphone or the second earphone is worn in a standardized manner and the prompt stops.

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

[0579] For sitting and standing, how the headset recognizes whether it is worn in the left ear or the right ear, you can refer to Figure 10-13 and Figure 14A-14B The description in the embodiments will not be repeated in this application.

[0580] In one possible implementation, when the user is in the 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.

[0581] 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.

[0582] For users lying on their left side, how does the headset recognize whether it is worn on the left ear or the right ear? Fig.16D The description in the embodiments will not be repeated in this application.

[0583] 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.

[0584] 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.

[0585] For users lying on their right side, how does the headset recognize whether it is worn on the left ear or the right ear? Fig. 16C The description in the embodiments will not be repeated in this application.

[0586] In a 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.

[0587] 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 earphone can identify whether the user is wearing the earphone through the first capacitive sensor and the second capacitive sensor.

[0588] When the user wears headphones, the capacitive sensor can fit closely 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, thereby determining that the user is not wearing headphones.

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

[0590] In a possible implementation manner, the first earphone acquires first gravity data acquired by the first inertial detector, specifically including: when the first earphone determines the wearing state, the first earphone acquires the first gravity data acquired by the first inertial detector.

[0591] Only when it is recognized that the first earphone is in a wearing state, the first earphone will make a judgment on whether the left ear or the right ear is worn through the first gravity data collected by the first inertial detector. When it is recognized that the first earphone is not in a wearing state, the first earphone will not collect the first gravity data through the first inertial detector, which can save power consumption of the first earphone.

[0592] In a 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.

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

[0594] In some embodiments, the capacitance value collected by the capacitance sensor is susceptible to the influence of temperature, and different temperatures have different influences on the capacitance value collected by the capacitance sensor. In order to improve the accuracy of identifying the wearing state, the capacitance difference and temperature compensation can be simultaneously referred to to identify whether the headset is in the wearing state or not in the wearing state.

[0595] 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.

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

[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 second 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 the right ear of different users 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 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.

[0600] In this way, the first earphone and the second earphone can be worn on the left ears 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 right ear of the first user, the first earphone executes a control event corresponding to the 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.

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

[0603] In a possible implementation, the first earphone includes a first microphone and a second microphone, which are arranged opposite to each other in the first earphone; 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, the first microphone is located 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 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 attribute of the right earphone, 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.

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

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

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

[0607] 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.

[0608] For details, please refer to Figure 21A-Figure 21P The description in the embodiments will not be repeated in this application.

[0609] In a possible implementation, 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 left earphone attribute, 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.

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

[0611] For details, please refer to Figure 17A-17B as well as Figure 18A-18B The description in the embodiments will not be repeated in this application.

[0612] In a possible implementation, 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 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.

[0613] Exemplarily, 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.

[0614] 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 intelligence of the user's gesture-based operation of the earphone.

[0615] For details, please refer to Figure 20A-20K The description in the embodiments will not be repeated in this application.

[0616] Fig.23 A schematic diagram of the structure of a wearable device provided in this application.

[0617] like Fig.23 As shown, the wearable device includes a first earphone, and the first earphone 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 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 a 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 a control event corresponding to the right earphone attribute.

[0618] like Fig.23 As shown, the wearable device further includes a second earphone body, and the structure of the second earphone body 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, and 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 the present application will not repeat them here.

[0619] 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 the present application will not elaborate on it here.

[0620] 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 the present application will not go into details here.

[0621] 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 herein.

[0622] In one possible implementation, the wearable device includes a second earphone, and the second earphone 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.

[0623] 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 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 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.

[0624] 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.

[0625] 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.

[0626] 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.

[0627] In combination with the second aspect, in a possible implementation manner, 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 earphone is in a wearing state.

[0628] 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.

[0629] In one possible implementation, the first processor 2302 is specifically used to execute a control event corresponding to the left earphone attribute 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 right earphone attribute when it is identified that the second earphone is worn on the right ear of the first user.

[0630] In one possible implementation, the first processor 2302 is specifically used to execute a control event corresponding to the left earphone attribute 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 right earphone attribute when it is identified that the second earphone is worn on the right ear of the second user.

[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 left earphone when it is identified that the second earphone is worn on the left ear of the second user.

[0632] In one possible implementation, the first processor 2302 is specifically used to execute a control event corresponding to the right earphone attribute 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 right earphone attribute 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 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 recognize 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 recognize 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.

[0634] 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.

[0635] 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 control 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; the first processor 2302 is also used to execute a second control 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.

[0636] Fig.24 This is a schematic diagram of the first earphone provided in this application.

[0637] like Fig.24 As shown, 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.

[0638] In a 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.

[0639] 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 a wearing state.

[0640] 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 a first threshold value and the second target capacitance value is greater than a second threshold value, determine the wearing state.

[0641] In a possible implementation, the first earphone also includes a first audio collection unit 2407 and a second audio collection unit 2408, and the positions of the first audio collection unit 2407 and the second audio collection unit 2408 are relatively arranged; the first processing unit 2402 is specifically used 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 used 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.

[0642] 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.

[0643] In a 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 acting on the first area, and send a first message to the first processing unit 2402; the first processing unit 2402 is also used to execute a first control in response to the first message, and the first area includes the area of ​​the ear wearing the first earphone or the area on the first earphone; the touch unit 2406 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 2402; the first processing unit 2402 is also used to execute a second control in response to the second message, and the second area includes the area of ​​the ear wearing 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: pause audio playback, continue audio playback, switch audio playback, adjust volume, answer a call, and hang up a call.

[0644] The above are only some embodiments and implementation methods of the present application, and the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by any person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

[0645] It is understandable that the various user interfaces described in the embodiments of the present application are only example interfaces and do not limit the present application scheme. In other embodiments, the user interface may adopt a different interface layout, may include more or fewer controls, and may increase or decrease other functional options, as long as they are based on the same inventive concept provided by the present application, they are all within the scope of protection of the present application.

[0646] 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.

[0647] 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 aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned 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 property 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 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; 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.

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

  • Information processing method and sound output device

    CN105228041A

  • Method and system for earphone wearing state detection and sound channel switching and earphone

    CN108737917A

  • Earphone, earphone control method and electronic equipment

    CN110891217A

  • Wearing detection device

    CN112468913A

  • Different head detection in headphones

    CN113475094A

Cited By

  • Wireless earphone wearing identification method and device, wireless earphone and computer readable storage medium

    CN120583348A

  • Data processing method, communication system, wireless earphone, earphone system and medium

    CN121908177A

  • Earphone configuration method and device, ear clip type earphone, storage medium and computer program product

    CN122120671A

  • Earphone control method and wearable device

    EP4697745A1

  • Earphone control method and wearable device

    WO2025045236A1