Search

US-20260129384-A1 - METHODS FOR DETECTING WEARING POSITIONS OF EARPHONES, EARPHONES, AND ELECTRONIC DEVICES

US20260129384A1US 20260129384 A1US20260129384 A1US 20260129384A1US-20260129384-A1

Abstract

Disclosed is a method for detecting a wearing position of an earphone, an earphone, and an electronic device. The earphone includes a detection module and stores a wearing position indication. The wearing position indication is used to indicate whether the earphone is worn on a left ear or a right ear. The detection method includes: obtaining a kinematic parameter of a wearer of the earphone by using the detection module; determining a motion state of the wearer according to the kinematic parameter; determining a corresponding update strategy according to the motion state; and updating the wearing position indication by using the kinematic parameter based on the corresponding update strategy. Different motion states correspond to different update strategies.

Inventors

  • Libin Zhou
  • Liang Wang

Assignees

  • Shenzhen Shokz Co., Ltd.

Dates

Publication Date
20260507
Application Date
20251230

Claims (20)

  1. 1 . A method for detecting a wearing position of an earphone, wherein the earphone is provided with a detection module and stores a wearing position indication, the wearing position indication being used to indicate whether the earphone is worn on a left ear or a right ear, the method comprising: obtaining a kinematic parameter of a wearer of the earphone by using the detection module; determining a motion state of the wearer according to the kinematic parameter; and determining a corresponding update strategy according to the motion state, and updating the wearing position indication by using the kinematic parameter based on the corresponding update strategy, wherein different motion states correspond to different update strategies.
  2. 2 . The method of claim 1 , wherein the greater a motion intensity of the wearer represented by the motion state is, the lower an update confidence of the kinematic parameter for the wearing position indication is set in the corresponding update strategy.
  3. 3 . The method of claim 2 , wherein the motion state comprises a first motion state and a second motion state, and a motion intensity represented by the first motion state is greater than a motion intensity represented by the second motion state; and the determining the corresponding update strategy according to the motion state, and updating the wearing position indication by using the kinematic parameter based on the corresponding update strategy comprises: in the first motion state, not updating the wearing position indication by using the kinematic parameter; and in the second motion state, updating the wearing position indication by using the kinematic parameter.
  4. 4 . The method of claim 3 , wherein the first motion state corresponds to a running/jumping state of the wearer; and the second motion state corresponds to a walking state or a static state of the wearer.
  5. 5 . The method of claim 2 , wherein the determining the corresponding update strategy according to the motion state, and updating the wearing position indication by using the kinematic parameter based on the corresponding update strategy comprises: periodically obtaining a preliminary determination result indicating the wearing position of the earphone by using the kinematic parameter according to a predetermined detection period, wherein the preliminary determination result is used to indicate whether the earphone is worn on the left ear or the right ear; in a predetermined count of continuously set detection periods, determining a count value of preliminary determination results that are in a valid state and are different from the wearing position indication, wherein the preliminary determination result in the valid state indicates that the earphone is worn on one of the left ear and the right ear; and in response to the count value being greater than or equal to a preset count threshold, updating the wearing position indication to the preliminary determination result, wherein the greater the motion intensity represented by the motion state is, the greater the preset count threshold is.
  6. 6 . The method of claim 5 , wherein the motion state comprises a first motion state and a second motion state, a motion intensity represented by the first motion state being greater than a motion intensity represented by the second motion state, wherein the preset count threshold in the first motion state is greater than the predetermined count, and the preset count threshold in the second motion state is less than or equal to the predetermined count.
  7. 7 . The method of claim 5 , wherein the motion state further comprises a third motion state, a motion intensity represented by the third motion state being less than the motion intensity represented by the second motion state, wherein the preset count threshold in the third motion state is less than the preset count threshold in the second motion state.
  8. 8 . The method of claim 7 , wherein the first motion state corresponds to a running/jumping state of the wearer; the second motion state corresponds to a walking state of the wearer; and the third motion state corresponds to a static state of the wearer.
  9. 9 . The method of claim 1 , wherein the kinematic parameter comprises an acceleration value, wherein the determination of the motion state and the update of the wearing position indication are based on the acceleration value; or the kinematic parameter comprises an acceleration value and an angular velocity value, wherein the determination of the motion state is based on at least one of the angular velocity value or the acceleration value, and the update of the wearing position indication is based on the acceleration value and the angular velocity value.
  10. 10 . The method of claim 1 , wherein the method further comprises: selectively enabling or disabling a touch function of the earphone in response to the motion state.
  11. 11 . The method of claim 10 , wherein in response to that the motion state corresponds to the static state or the walking state of the wearer, enabling the touch function of the earphone; and in response to that the motion state corresponds to the running/jumping state of the wearer, disabling the touch function of the earphone.
  12. 12 . An earphone, comprising a processor and a memory, wherein a computer program is stored in the memory, and the processor is configured to execute the computer program to implement a method, comprising: obtaining a kinematic parameter of a wearer of the earphone; determining a motion state of the wearer according to a kinematic parameter; and determining a corresponding update strategy according to the motion state, and updating the wearing position indication by using the kinematic parameter based on the corresponding update strategy, wherein different motion states correspond to different update strategies.
  13. 13 . An electronic device, in communication with an earphone and comprising a processor and a memory, wherein a computer program is stored in the memory, and the processor is configured to execute the computer program to implement a method, comprising: obtaining a kinematic parameter of a wearer of the earphone; determining a motion state of the wearer according to a kinematic parameter; and determining a corresponding update strategy according to the motion state, and updating the wearing position indication by using the kinematic parameter based on the corresponding update strategy, wherein different motion states correspond to different update strategies.
  14. 14 . The method of claim 12 , wherein the greater a motion intensity of the wearer represented by the motion state is, the lower an update confidence of the kinematic parameter for the wearing position indication is set in the corresponding update strategy.
  15. 15 . The method of claim 14 , wherein the motion state comprises a first motion state and a second motion state, and a motion intensity represented by the first motion state is greater than a motion intensity represented by the second motion state; and the determining the corresponding update strategy according to the motion state, and updating the wearing position indication by using the kinematic parameter based on the corresponding update strategy comprises: in the first motion state, not updating the wearing position indication by using the kinematic parameter; and in the second motion state, updating the wearing position indication by using the kinematic parameter.
  16. 16 . The method of claim 15 , wherein the first motion state corresponds to a running/jumping state of the wearer; and the second motion state corresponds to a walking state or a static state of the wearer.
  17. 17 . The method of claim 14 , wherein the determining the corresponding update strategy according to the motion state, and updating the wearing position indication by using the kinematic parameter based on the corresponding update strategy comprises: periodically obtaining a preliminary determination result indicating the wearing position of the earphone by using the kinematic parameter according to a predetermined detection period, wherein the preliminary determination result is used to indicate whether the earphone is worn on the left ear or the right ear; in a predetermined count of continuously set detection periods, determining a count value of preliminary determination results that are in a valid state and are different from the wearing position indication, wherein the preliminary determination result in the valid state indicates that the earphone is worn on one of the left ear and the right ear; and in response to the count value being greater than or equal to a preset count threshold, updating the wearing position indication to the preliminary determination result, wherein the greater the motion intensity represented by the motion state is, the greater the preset count threshold is.
  18. 18 . The method of claim 17 , wherein the motion state comprises a first motion state and a second motion state, a motion intensity represented by the first motion state being greater than a motion intensity represented by the second motion state, wherein the preset count threshold in the first motion state is greater than the predetermined count, and the preset count threshold in the second motion state is less than or equal to the predetermined count.
  19. 19 . The method of claim 17 , wherein the motion state further comprises a third motion state, a motion intensity represented by the third motion state being less than the motion intensity represented by the second motion state, wherein the preset count threshold in the third motion state is less than the preset count threshold in the second motion state.
  20. 20 . The method of claim 19 , wherein the first motion state corresponds to a running/jumping state of the wearer; the second motion state corresponds to a walking state of the wearer; and the third motion state corresponds to a static state of the wearer.

Description

CROSS REFERENCE TO RELATED APPLICATIONS This application is a continuation of International Application No. PCT/CN 2024/114796 filed on Aug. 27, 2024, the entire contents of which are incorporated herein by reference. TECHNICAL FIELD The present disclosure relates to the field of consumer electronics, and in particular, to a method for detecting a wearing position of an earphone, an earphone, and an electronic device. BACKGROUND An earphone usually stores a wearing position indication. The wearing position indication is used to indicate whether the earphone is worn on a left ear or a right ear. The earphone may adapt an audio signal of a corresponding channel or set a key function of the earphone according to the stored wearing position indication. As such, how to improve the accuracy of the wearing position indication stored in the earphone becomes a technical problem to be solved urgently. SUMMARY One or more embodiments of the present disclosure provide a method for detecting a wearing position of an earphone. The earphone includes a detection module and stores a wearing position indication. The wearing position indication is used to indicate whether the earphone is worn on a left ear or a right ear. The detection method includes: obtaining a kinematic parameter of a wearer of the earphone by using the detection module; determining a motion state of the wearer according to the kinematic parameter; determining a corresponding update strategy according to the motion state, and updating the wearing position indication by using the kinematic parameter based on the corresponding update strategy. Different motion states correspond to different update strategies. In some embodiments, the greater a motion intensity of the wearer represented by the motion state is, the lower an update confidence of the kinematic parameter for the wearing position indication is set in the corresponding update strategy. In some embodiments, the motion state includes a first motion state and a second motion state. A motion intensity represented by the first motion state is greater than a motion intensity represented by the second motion state. The determining the corresponding update strategy according to the motion state, and updating the wearing position indication by using the kinematic parameter based on the corresponding update strategy includes: in the first motion state, not updating the wearing position indication by using the kinematic parameter; in the second motion state, updating the wearing position indication by using the kinematic parameter. In some embodiments, the first motion state corresponds to a running/jumping state of the wearer, and the second motion state corresponds to a walking state or a static state of the wearer. In some embodiments, the determining the corresponding update strategy according to the motion state, and updating the wearing position indication by using the kinematic parameter based on the corresponding update strategy includes: periodically obtaining a preliminary determination result indicating the wearing position of the earphone by using the kinematic parameter according to a predetermined detection period, the preliminary determination result being used to indicate whether the earphone is worn on the left ear or the right ear; in a predetermined count of continuously set detection periods, determining a count value of preliminary determination results that are in a valid state and are different from the wearing position indication, the preliminary determination result in the valid state indicating that the earphone is worn on one of the left ear and the right ear; in response to the count value being greater than or equal to a preset count threshold, updating the wearing position indication to the preliminary determination result, the greater the motion intensity represented by the motion state is, the greater the preset count threshold is. In some embodiments, the motion state includes a first motion state and a second motion state. A motion intensity represented by the first motion state is greater than a motion intensity represented by the second motion state. The preset count threshold in the first motion state is greater than the predetermined count. The preset count threshold in the second motion state is less than or equal to the predetermined count. In some embodiments, the motion state further includes a third motion state. A motion intensity represented by the third motion state is less than the motion intensity represented by the second motion state. The preset count threshold in the third motion state is less than the preset count threshold in the second motion state. In some embodiments, the first motion state corresponds to a running/jumping state of the wearer, the second motion state corresponds to a walking state of the wearer, and the third motion state corresponds to a static state of the wearer. In some embodiments, the kinematic parameter includes an acceleration v