Earphone control method, and earphone

By detecting the user's pushing operation on the headset, activate the volume adjustment function and adaptively adjust the volume gear, the problem that open headsets cannot effectively adjust the volume, and improve the volume adjustment efficiency and user experience.

WO2025119331A1PCT designated stage expired Publication Date: 2025-06-12HUAWEI TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/137434
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-03-06
Filing Date
2024-12-06
Publication Date
2025-06-12

AI Technical Summary

Technical Problem

The open wearable stereo headphones cannot effectively adjust the volume due to fewer interactive contacts, which affects the user experience.

Method used

By detecting the push operation applied by the user to the headset, the volume adjustment function is activated, and the volume gear of the headset is adaptively adjusted according to the direction and duration of the push operation.

Benefits of technology

Improved volume adjustment method, improved volume adjustment efficiency, and enhanced user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024137434_12062025_PF_FP_ABST
    Figure CN2024137434_12062025_PF_FP_ABST
Patent Text Reader

Abstract

The present application discloses an earphone control method, and an earphone. The method is executed by an earphone. The method comprises: when it is detected that a user triggers a first pushing operation of applying a force to an earphone in a first direction or a second direction, starting a volume adjusting function, the first direction corresponding to a volume up-adjusting function in the volume adjusting function, and the second direction corresponding to a volume down-adjusting function in the volume adjusting function; and when the volume adjusting function is started, if it is detected that the force duration of the first pushing operation is greater than or equal to a first preset duration, adjusting a volume level of the earphone. According to the present application, an earphone can start volume adjustment when it is detected that a user triggers a first pushing operation on the earphone, and the volume adjusting mode is improved; the first pushing operation involves fewer interaction touchpoints, and the problem in the prior art that the volume cannot be adjusted due to the fact that earphones have fewer touchpoints is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Headphone control method and headphone

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of the People's Republic of China on December 8, 2023, with application number 202311692439.0 and application name “A headphone control method and headphone”, the entire contents of which are incorporated by reference into this application; this application claims priority to the Chinese patent application filed with the State Intellectual Property Office of the People's Republic of China on March 6, 2024, with application number 202410268442.8 and application name “A headphone control method and headphone”, the entire contents of which are incorporated by reference into this application. Technical Field

[0003] The present application relates to the field of earphone technology, and in particular to an earphone control method and earphone. Background Art

[0004] To meet users' needs for comfortable wearing, ear health, and hearing health, the types of headphones are becoming increasingly diverse. For example, wireless headphones include true wireless stereo (TWS) headphones and open wearable stereo (OWS) headphones. TWS headphones and OWS headphones have different device forms. TWS headphones use an in-ear or semi-in-ear structure, while OWS headphones use a non-in-ear structure. There are different types of products around the ear, on the auricle, and inside the ear.

[0005] Due to the limited number of interactive touchpoints on OWS headsets, they can only perform simple interactive tasks such as making and receiving calls and playing music. For example, OWS headsets support tapping, which allows users to tap the skin around the ear or the headset twice or three times to perform interactive tasks such as making and receiving calls and playing music. Alternatively, OWS headsets support pinching, which allows users to pinch the headset once, twice, or three times to perform interactive tasks such as making and receiving calls and playing music. Complex interactive tasks such as adjusting the volume cannot be performed on OWS headsets or are performed inefficiently, affecting the user experience.

[0006] Therefore, how to improve the volume adjustment method of OWS headphones is an important issue that needs to be solved. Summary of the Invention

[0007] The embodiments of the present application provide an earphone control method and an earphone, which are used to improve the volume adjustment method and enhance the volume adjustment efficiency.

[0008] In a first aspect, an embodiment of the present application provides an earphone control method, which is applicable to earphones, and includes: detecting a first pushing operation triggered by a user to apply a force to the earphone in a first direction or a second direction, and starting a volume adjustment function, wherein the first direction corresponds to the volume increase function in the volume adjustment function, and the second direction corresponds to the volume decrease function in the volume adjustment function; after starting the volume adjustment function, detecting that the duration of the force of the first pushing operation is greater than or equal to a first preset duration, and adjusting the volume level of the earphone.

[0009] In an embodiment of the present application, the headset can initiate volume adjustment upon detecting a user triggering a first push operation on the headset, thereby improving the volume adjustment method. Furthermore, the first push operation involves fewer interactive touch points, resolving the problem in the prior art of being unable to adjust the volume due to fewer interactive touch points on headsets. Furthermore, in an embodiment of the present application, the headset can adaptively adjust the volume level of the headset (e.g., based on a preset duration or a preset operation) upon detecting that the duration of the force of the first push operation is greater than or equal to a first preset duration, thereby improving volume adjustment efficiency.

[0010] For example, the volume levels of the headset may include levels 0 to 100. Alternatively, for levels 0 to 100, the headset can adjust the volume three times every 20 levels. For example, from level 0 to level 20, while maintaining the first push operation, the headset can adjust the volume three times to increase the volume to level 20. During this period, the headset can play a volume increase prompt tone three times to remind the user.

[0011] In one possible implementation, the first pushing operation may include tapping a control portion of the earphone and maintaining contact with the control portion after the tapping. The control portion includes a front ball or a rear ball of the earphone, and the front ball is connected to the rear ball via a curved cantilever arm.

[0012] In one possible implementation, the first pushing operation may include contacting a control portion of the earphone and then pushing the control portion, wherein the control portion includes a front ball or a rear ball of the earphone, and the front ball is connected to the rear ball via a curved cantilever arm.

[0013] In one possible implementation, adjusting the volume level of the earphone includes: adjusting the volume level of the earphone to a first volume level at a first moment; and adjusting the volume level of the earphone to a second volume level at a second moment, where the second moment is after the first moment.

[0014] In this embodiment, the earphones can adaptively adjust the volume level of the earphones according to time. For example, at the first moment, the volume level of the earphones is adjusted to the first volume level. At the second moment, the volume level of the earphones is adjusted to the second volume level, and so on. This improves the volume adjustment efficiency.

[0015] In a possible implementation, a duration between the first moment and the moment when the volume adjustment function is started is equal to a second preset duration, and a duration between the second moment and the first moment is equal to a third preset duration.

[0016] In this embodiment, when the headset adaptively adjusts the volume level of the headset based on time, the volume level of the headset can be adjusted once every preset time interval. The preset time interval corresponding to the initial adjustment of the headset volume level is the second preset time interval, and the preset time interval corresponding to non-initial adjustment of the headset volume level is the third preset time interval. The third preset time interval can be less than or equal to the second preset time interval, thereby reducing the occurrence of accidental user touches. Alternatively, the third preset time interval can be greater than the second preset time interval, thereby reserving sufficient time for the headset to detect the user operation to activate the volume adjustment function, thereby avoiding the problem of not detecting the user operation to activate the volume adjustment function, resulting in a poor user experience.

[0017] In a possible implementation, the method further includes: detecting that the user cancels the first pushing operation on the headset, and turning off the volume adjustment function.

[0018] In this embodiment, a method for turning off volume adjustment is provided, and it is detected that the user cancels the previously triggered push operation on the earphone (for example, cancels the first push operation on the earphone).

[0019] In one possible implementation, adjusting the volume level of the headset includes: detecting that the user triggers a second push operation on the headset, adjusting the volume level of the headset to a third volume level; detecting that the user triggers a third push operation on the headset, adjusting the volume level of the headset to a fourth volume level.

[0020] In this embodiment, the earphones can adaptively adjust the volume level of the earphones according to the push operation of the earphones triggered by the user. For example, when the user cancels the first push operation of the earphones and triggers the second push operation of the earphones, the volume level of the earphones is adjusted to the third volume level. When the user cancels the second push operation of the earphones and triggers the third push operation of the earphones, the volume level of the earphones is adjusted to the fourth volume level, and so on, thereby improving the volume adjustment efficiency.

[0021] In one possible embodiment, the moment when the user is detected to trigger the second push operation on the headset is a third moment, and the duration between the third moment and the moment when the volume adjustment function is started is less than or equal to a fourth preset duration. The moment when the user is detected to trigger the third push operation on the headset is a fourth moment, and the duration between the fourth moment and the third moment is less than or equal to a fifth preset duration.

[0022] In this embodiment, when the headset can adaptively adjust the volume level of the headset according to the user-triggered push operation of the headset, if a user-triggered push operation of the headset is detected once within a preset time period (i.e., pushing the headset after releasing the headset), the volume level of the headset is adjusted once. The preset time period corresponding to the first adjustment of the volume level of the headset is the fourth preset time period, and the preset time period corresponding to the non-first adjustment of the volume level of the headset is the fifth preset time period. Among them, the fifth preset time period can be less than or equal to the fourth preset time period, thereby reducing the occurrence of accidental touches by the user. Alternatively, the fifth preset time period can be greater than the fourth preset time period, thereby reserving sufficient time for the headset to detect the user operation of starting the volume adjustment function, thereby avoiding the problem of not detecting the user operation of starting the volume adjustment function, resulting in a poor user experience.

[0023] In a possible implementation, the method further includes: within the fifth preset time period after the volume level of the headset is adjusted to the fourth volume level, if no user triggering a fourth push operation on the headset is detected, then turning off the volume adjustment function.

[0024] In this embodiment, a method for turning off volume adjustment is provided when no user-triggered push operation on the earphone is detected within a preset time period (for example, canceling the third push operation on the earphone and triggering the fourth push operation on the earphone).

[0025] In one possible implementation, the duration between when the volume adjustment function is activated and when the volume adjustment function is deactivated is less than or equal to a first threshold; or the number of times the volume level of the headset is adjusted is less than or equal to a second threshold.

[0026] In this embodiment, the duration of the volume adjustment function (i.e., the first threshold) or the number of volume adjustments (i.e., the second threshold) is set. For example, the number of volume adjustments is set to 3. Then, after the current user starts the volume adjustment function, the volume can only be adjusted three times at most. This solves the problem of poor user experience caused by failure to detect the user operation of turning off the volume adjustment function.

[0027] In one possible implementation, a volume-up function in the volume adjustment function is activated, a first volume is the volume of the headset at the moment the volume adjustment function is activated, and a second volume is the volume obtained by the headset based on the ambient volume and / or historical volume; the method further includes: when the first volume is greater than or equal to the second volume, determining that the difference between the volumes corresponding to adjacent volume levels is a third threshold, where the third threshold is the minimum volume adjustment value supported by the headset; or, when the first volume is less than the second volume and the difference between the first volume and the second volume is less than a fourth threshold, determining that the difference between the volumes corresponding to adjacent volume levels is the difference between the first volume and the second volume, where the fourth threshold is the maximum volume adjustment value supported by the headset; or, when the first volume is less than the second volume and the difference between the first volume and the second volume is greater than or equal to the fourth threshold, determining that the difference between the volumes corresponding to adjacent volume levels is the fourth threshold, where the fourth threshold is the maximum volume adjustment value supported by the headset.

[0028] In this embodiment, when gradually increasing the volume of the headset, the difference between the volumes corresponding to adjacent volume levels can be determined based on whether the first volume is greater than the second volume and whether the difference between the first and second volumes is greater than the maximum volume adjustment value supported by the headset. For example, if the first volume is greater than or equal to the second volume, and the headset needs to play audio at the second volume and the volume should be reduced, but the user operation is to increase the volume, considering the user experience, the minimum volume adjustment value supported by the headset is selected as the difference between the volumes corresponding to adjacent volume levels; if the first volume is less than the second volume, and the headset needs to play audio at the second volume and the volume should be increased, and the user operation is also to increase the volume, in order to adjust to the second volume as quickly as possible, at this time, if the difference between the first and second volumes is less than the maximum volume adjustment value supported by the headset, the difference between the first and second volumes is selected as the difference between the volumes corresponding to adjacent volume levels; if the difference between the first and second volumes is greater than or equal to the maximum volume adjustment value supported by the headset, the maximum volume adjustment value supported by the headset is selected as the difference between the volumes corresponding to adjacent volume levels. This improves the efficiency of volume adjustment.

[0029] In one possible implementation, a volume reduction function in the volume adjustment function is activated, a first volume is the volume of the headset at the moment the volume adjustment function is activated, and a second volume is the volume obtained by the headset based on the ambient volume and / or historical volume; the method further includes: when the first volume is less than or equal to the second volume, determining that the difference between the volumes corresponding to adjacent volume levels is a third threshold, where the third threshold is the minimum volume adjustment value supported by the headset; or, when the first volume is greater than the second volume and the difference between the first volume and the second volume is less than a fourth threshold, determining that the difference between the volumes corresponding to adjacent volume levels is the difference between the first volume and the second volume, where the fourth threshold is the maximum volume adjustment value supported by the headset; or, when the first volume is greater than the second volume and the difference between the first volume and the second volume is greater than or equal to a fourth threshold, determining that the difference between the volumes corresponding to adjacent volume levels is the fourth threshold, where the fourth threshold is the maximum volume adjustment value supported by the headset.

[0030] In this embodiment, when gradually reducing the volume of the headset, the difference between the volumes corresponding to adjacent volume levels can be determined based on whether the first volume is greater than the second volume and whether the difference between the first and second volumes is greater than the maximum volume adjustment value supported by the headset. For example, if the first volume is less than or equal to the second volume, and the headset needs to play audio at the second volume and the volume should be increased, but the user operation is to reduce the volume, considering the user experience, the minimum volume adjustment value supported by the headset is selected as the difference between the volumes corresponding to adjacent volume levels; if the first volume is greater than the second volume, and the headset needs to play audio at the second volume and the volume should be reduced, and the user operation is also to reduce the volume, in order to adjust to the second volume as quickly as possible, at this time, if the difference between the first and second volumes is less than the maximum volume adjustment value supported by the headset, the difference between the first and second volumes is selected as the difference between the volumes corresponding to adjacent volume levels; if the difference between the first and second volumes is greater than or equal to the maximum volume adjustment value supported by the headset, the maximum volume adjustment value supported by the headset is selected as the difference between the volumes corresponding to adjacent volume levels. This improves the efficiency of volume adjustment.

[0031] In a second aspect, an embodiment of the present application also provides an earphone control method, which is applicable to earphones, and includes: detecting that a user triggers a first pushing operation that applies a force to the earphone in a first direction or a second direction, and starting a volume adjustment function, wherein the first direction corresponds to the volume increase function in the volume adjustment function, and the second direction corresponds to the volume decrease function in the volume adjustment function; after starting the volume adjustment function, it is detected that the duration of the force of the first pushing operation is less than a first preset duration, and the volume level of the earphone is adjusted.

[0032] In one possible implementation, the first pushing operation may include tapping a control portion of the earphone and maintaining contact with the control portion after the tapping. The control portion includes a front ball or a rear ball of the earphone, and the front ball is connected to the rear ball via a curved cantilever arm.

[0033] In one possible implementation, the first pushing operation may include contacting a control portion of the earphone and then pushing the control portion, wherein the control portion includes a front ball or a rear ball of the earphone, and the front ball is connected to the rear ball via a curved cantilever arm.

[0034] In an embodiment of the present application, the headset can initiate volume adjustment upon detecting a user triggering a first push operation on the headset, thereby improving the volume adjustment method. Furthermore, the first push operation involves fewer interactive touch points, resolving the problem in the prior art of being unable to adjust the volume due to fewer interactive touch points on headsets. Furthermore, in an embodiment of the present application, the headset can adaptively adjust the volume level of the headset (e.g., according to a preset operation) upon detecting that the duration of the force applied by the first push operation is less than a first preset duration, thereby improving volume adjustment efficiency.

[0035] In one possible implementation, adjusting the volume level of the earphone includes: adjusting the volume level of the earphone to a first volume level based on the first push operation; and adjusting the volume level of the earphone to a second volume level when detecting that the user triggers a second push operation on the earphone.

[0036] In this embodiment, the earphones can adaptively adjust the volume level of the earphones according to the push operation of the earphones triggered by the user. For example, when the user cancels the first push operation of the earphones triggered previously, the volume level of the earphones is adjusted to the first volume level. When the user triggers the second push operation of the earphones, the volume level of the earphones is adjusted to the fourth volume level, and so on, thereby improving the volume adjustment efficiency.

[0037] In one possible embodiment, the moment when the volume level of the earphone is adjusted to the first volume level is the first moment, the moment when the user is detected to trigger the second push operation on the earphone is the second moment, the duration between the first moment and the second moment is the first duration, and the sum of the first duration and the duration of the force of the second push operation is less than or equal to the second preset duration.

[0038] In this embodiment, when the earphones can adaptively adjust the volume level of the earphones according to a user-triggered push operation on the earphones, if a user-triggered push operation on the earphones is detected once within a preset time period and the push operation on the earphones is canceled (i.e., the earphones are pushed and then released), the volume level of the earphones is adjusted once. The preset time period corresponding to the initial adjustment of the volume level of the earphones is the first preset time period, and the preset time period corresponding to the non-initial adjustment of the volume level of the earphones is the second preset time period. The second preset time period may be less than or equal to the first preset time period, thereby reducing the occurrence of accidental touches by the user. Alternatively, the second preset time period may be greater than the first preset time period, thereby reserving sufficient time for the earphones to detect the user operation of starting the volume adjustment function, thereby avoiding the problem of a poor user experience caused by failure to detect the user operation of starting the volume adjustment function.

[0039] In one possible implementation, the method further includes: within the second preset time period after the volume level of the earphone is adjusted to the second volume level, no user triggering a third push operation on the earphone is detected, and the volume adjustment function is turned off; or, within the second preset time period after the volume level of the earphone is adjusted to the second volume level, the user continuously applying force to the earphone based on the third push operation is detected, and the volume adjustment function is turned off.

[0040] In this embodiment, two ways of turning off volume adjustment are provided, for example, no user-triggered push operation on the earphone is detected within a preset time period (for example, no user-triggered third push operation on the earphone is detected), or a user-triggered push operation on the earphone is detected within a preset time period but the push operation has not been canceled (for example, the user-triggered third push operation on the earphone is detected but the user's cancellation of the third push operation on the earphone is not detected).

[0041] In one possible implementation, the duration between when the volume adjustment function is activated and when the volume adjustment function is deactivated is less than or equal to a first threshold; or the number of times the volume level of the headset is adjusted is less than or equal to a second threshold.

[0042] In this embodiment, the duration of the volume adjustment function (i.e., the first threshold) or the number of volume adjustments (i.e., the second threshold) is set. For example, the number of volume adjustments is set to 3. Then, after the current user starts the volume adjustment function, the volume can only be adjusted three times at most. This solves the problem of poor user experience caused by failure to detect the user operation of turning off the volume adjustment function.

[0043] In one possible implementation, a volume-up function in the volume adjustment function is activated, a first volume is the volume of the headset at the moment the volume adjustment function is activated, and a second volume is the volume obtained by the headset based on the ambient volume and / or historical volume; the method further includes: when the first volume is greater than or equal to the second volume, determining that the difference between the volumes corresponding to adjacent volume levels is a third threshold, where the third threshold is the minimum volume adjustment value supported by the headset; or, when the first volume is less than the second volume and the difference between the first volume and the second volume is less than a fourth threshold, determining that the difference between the volumes corresponding to adjacent volume levels is the difference between the first volume and the second volume, where the fourth threshold is the maximum volume adjustment value supported by the headset; or, when the first volume is less than the second volume and the difference between the first volume and the second volume is greater than or equal to the fourth threshold, determining that the difference between the volumes corresponding to adjacent volume levels is the fourth threshold, where the fourth threshold is the maximum volume adjustment value supported by the headset.

[0044] In this embodiment, when gradually increasing the volume of the headset, the difference between the volumes corresponding to adjacent volume levels can be determined based on whether the first volume is greater than the second volume and whether the difference between the first and second volumes is greater than the maximum volume adjustment value supported by the headset. For example, if the first volume is greater than or equal to the second volume, and the headset needs to play audio at the second volume and the volume should be reduced, but the user operation is to increase the volume, considering the user experience, the minimum volume adjustment value supported by the headset is selected as the difference between the volumes corresponding to adjacent volume levels; if the first volume is less than the second volume, and the headset needs to play audio at the second volume and the volume should be increased, and the user operation is also to increase the volume, in order to adjust to the second volume as quickly as possible, at this time, if the difference between the first and second volumes is less than the maximum volume adjustment value supported by the headset, the difference between the first and second volumes is selected as the difference between the volumes corresponding to adjacent volume levels; if the difference between the first and second volumes is greater than or equal to the maximum volume adjustment value supported by the headset, the maximum volume adjustment value supported by the headset is selected as the difference between the volumes corresponding to adjacent volume levels. This improves the efficiency of volume adjustment.

[0045] In one possible implementation, a volume reduction function in the volume adjustment function is activated, a first volume is the volume of the headset at the moment the volume adjustment function is activated, and a second volume is the volume obtained by the headset based on the ambient volume and / or historical volume; the method further includes: when the first volume is less than or equal to the second volume, determining that the difference between the volumes corresponding to adjacent volume levels is a third threshold, where the third threshold is the minimum volume adjustment value supported by the headset; or, when the first volume is greater than the second volume and the difference between the first volume and the second volume is less than a fourth threshold, determining that the difference between the volumes corresponding to adjacent volume levels is the difference between the first volume and the second volume, where the fourth threshold is the maximum volume adjustment value supported by the headset; or, when the first volume is greater than the second volume and the difference between the first volume and the second volume is greater than or equal to a fourth threshold, determining that the difference between the volumes corresponding to adjacent volume levels is the fourth threshold, where the fourth threshold is the maximum volume adjustment value supported by the headset.

[0046] In this embodiment, when gradually reducing the volume of the headset, the difference between the volumes corresponding to adjacent volume levels can be determined based on whether the first volume is greater than the second volume and whether the difference between the first and second volumes is greater than the maximum volume adjustment value supported by the headset. For example, if the first volume is less than or equal to the second volume, and the headset needs to play audio at the second volume and the volume should be increased, but the user operation is to reduce the volume, considering the user experience, the minimum volume adjustment value supported by the headset is selected as the difference between the volumes corresponding to adjacent volume levels; if the first volume is greater than the second volume, and the headset needs to play audio at the second volume and the volume should be reduced, and the user operation is also to reduce the volume, in order to adjust to the second volume as quickly as possible, at this time, if the difference between the first and second volumes is less than the maximum volume adjustment value supported by the headset, the difference between the first and second volumes is selected as the difference between the volumes corresponding to adjacent volume levels; if the difference between the first and second volumes is greater than or equal to the maximum volume adjustment value supported by the headset, the maximum volume adjustment value supported by the headset is selected as the difference between the volumes corresponding to adjacent volume levels. This improves the efficiency of volume adjustment.

[0047] In a third aspect, an embodiment of the present application also provides an earphone control method, which is applicable to earphones, and includes: after detecting that a user triggers a first pushing operation to apply a force to the earphone in a first direction or a second direction, triggering a second pushing operation on the earphone, and starting a volume adjustment function, the first direction corresponds to the volume increase function in the volume adjustment function, and the second direction corresponds to the volume decrease function in the volume adjustment function; after starting the volume adjustment function, detecting that the duration of the force of the second pushing operation is greater than or equal to a first preset duration, and adjusting the volume level of the earphone.

[0048] The beneficial effects of the third aspect and its possible designs can refer to the description of the beneficial effects of the method described in the first aspect and any possible designs thereof.

[0049] In a fourth aspect, an embodiment of the present application also provides an earphone control method, which is applicable to earphones, and includes: after detecting that a user triggers a first pushing operation to apply a force to the earphone in a first direction or a second direction, triggering a second pushing operation on the earphone, and starting a volume adjustment function, the first direction corresponds to the volume increase function in the volume adjustment function, and the second direction corresponds to the volume decrease function in the volume adjustment function; after starting the volume adjustment function, it is detected that the duration of the force of the second pushing operation is less than a first preset duration, and the volume level of the earphone is adjusted.

[0050] The beneficial effects of the fourth aspect and its possible designs can refer to the description of the beneficial effects of the method described in the second aspect and any possible designs thereof.

[0051] In a fifth aspect, an embodiment of the present application also provides an earphone control method, which is applicable to earphones, and includes: after detecting that a user triggers a first push operation to apply a force to the earphone in a first direction or a second direction, triggering a second push operation on the earphone, and the duration of the force of the second push operation is less than a first preset duration, starting a volume adjustment function, the first direction corresponds to the volume increase function in the volume adjustment function, and the second direction corresponds to the volume decrease function in the volume adjustment function; after starting the volume adjustment function, detecting that the user triggers a third push operation on the earphone, and the duration of the force of the third push operation is less than the first preset duration, adjusting the volume level of the earphone.

[0052] The beneficial effects of the fifth aspect and its possible designs can refer to the description of the beneficial effects of the method described in the second aspect and any possible designs thereof.

[0053] In a sixth aspect, an embodiment of the present application also provides an earphone control method, which is applicable to earphones, and includes: detecting that a user triggers a first pushing operation to apply a force to the earphone in a first direction or a second direction, and the duration of the force of the first pushing operation is less than a first preset duration, starting a volume adjustment function, the first direction corresponding to the volume increase function in the volume adjustment function, and the second direction corresponding to the volume decrease function in the volume adjustment function; after starting the volume adjustment function, detecting that the user triggers a second pushing operation on the earphone, and the duration of the force of the second pushing operation is less than the first preset duration, and adjusting the volume level of the earphone.

[0054] The beneficial effects of the sixth aspect and its possible designs can refer to the description of the beneficial effects of the method described in the second aspect and any possible designs thereof.

[0055] In the seventh aspect, an embodiment of the present application further provides an earphone control device. The earphone control device has the function of implementing the behavior in the method embodiment described in the first aspect or any possible design of the first aspect, or the second aspect or any possible design of the second aspect, or the third aspect or any possible design of the third aspect, or the fourth aspect or any possible design of the fourth aspect, or the fifth aspect or any possible design of the fifth aspect, or the sixth aspect or any possible design of the sixth aspect. The earphone control device may be the earphone described in the first aspect, or the second aspect, or the third aspect, or the fourth aspect, or the fifth aspect, or the sixth aspect, or a functional module (such as a chip system) configured in the earphone, or a larger device including the earphone. The earphone includes corresponding means (means) or modules for executing the above method. For example, the earphone control device may include a processing unit (sometimes also referred to as a processing module) and a transceiver unit (sometimes also referred to as a transceiver module).

[0056] Optionally, the processing unit is used to detect a first pushing operation triggered by a user to apply a force to the earphone in a first direction or a second direction, and start a volume adjustment function, the first direction corresponds to the volume increase function in the volume adjustment function, and the second direction corresponds to the volume decrease function in the volume adjustment function; after starting the volume adjustment function, it is detected that the duration of the force of the first pushing operation is greater than or equal to a first preset duration, and the volume level of the earphone is adjusted.

[0057] Optionally, the processing unit is used to detect a first pushing operation triggered by a user to apply a force to the earphone in a first direction or a second direction, and start a volume adjustment function, the first direction corresponds to the volume increase function in the volume adjustment function, and the second direction corresponds to the volume decrease function in the volume adjustment function; after starting the volume adjustment function, it is detected that the duration of the force of the first pushing operation is less than a first preset duration, and the volume level of the earphone is adjusted.

[0058] Optionally, the processing unit is used to detect that the user triggers a first pushing operation to apply a force to the earphone in a first direction or a second direction, and then trigger a second pushing operation on the earphone to start the volume adjustment function, the first direction corresponds to the volume increase function in the volume adjustment function, and the second direction corresponds to the volume decrease function in the volume adjustment function; after starting the volume adjustment function, it is detected that the duration of the force of the second pushing operation is greater than or equal to the first preset duration, and the volume level of the earphone is adjusted.

[0059] Optionally, the processing unit is used to trigger a second pushing operation on the earphone after detecting that the user triggers a first pushing operation in which a force is applied to the earphone in a first direction or a second direction, thereby starting a volume adjustment function, wherein the first direction corresponds to the volume increase function in the volume adjustment function, and the second direction corresponds to the volume decrease function in the volume adjustment function; after starting the volume adjustment function, it is detected that the duration of the force of the second pushing operation is less than the first preset duration, and the volume level of the earphone is adjusted.

[0060] Optionally, the processing unit is used to detect that the user triggers a first pushing operation to apply a force to the earphone in a first direction or a second direction, and then triggers a second pushing operation on the earphone, and the duration of the force of the second pushing operation is less than a first preset duration, and starts the volume adjustment function, the first direction corresponds to the volume increase function in the volume adjustment function, and the second direction corresponds to the volume decrease function in the volume adjustment function; after starting the volume adjustment function, it is detected that the user triggers a third pushing operation on the earphone, and the duration of the force of the third pushing operation is less than the first preset duration, and adjusts the volume level of the earphone.

[0061] Optionally, the processing unit is used to detect that the user triggers a first pushing operation to apply a force to the earphone in a first direction or a second direction, and the duration of the force of the first pushing operation is less than a first preset duration, and start the volume adjustment function, the first direction corresponds to the volume increase function in the volume adjustment function, and the second direction corresponds to the volume decrease function in the volume adjustment function; after starting the volume adjustment function, it is detected that the user triggers a second pushing operation on the earphone, and the duration of the force of the second pushing operation is less than the first preset duration, and the volume level of the earphone is adjusted.

[0062] In an eighth aspect, an embodiment of the present application further provides an earphone, comprising a processor, a memory, and one or more programs; wherein the one or more programs are stored in the memory, and the one or more programs include instructions, which, when executed by the processor, enable the earphone to execute the method described in the first aspect or any possible design of the first aspect, or the second aspect or any possible design of the second aspect, or the third aspect or any possible design of the third aspect, or the fourth aspect or any possible design of the fourth aspect, or the fifth aspect or any possible design of the fifth aspect, or the sixth aspect or any possible design of the sixth aspect.

[0063] In the ninth aspect, an embodiment of the present application also provides a computer-readable storage medium, which is used to store a computer program. When the computer program is run on a computer, the computer is caused to execute the method described in the first aspect or any possible design of the first aspect, or the second aspect or any possible design of the second aspect, or the third aspect or any possible design of the third aspect, or the fourth aspect or any possible design of the fourth aspect, or the fifth aspect or any possible design of the fifth aspect, or the sixth aspect or any possible design of the sixth aspect.

[0064] In the tenth aspect, an embodiment of the present application also provides a computer program product, including a computer program. When the computer program is run on a computer, the computer is caused to perform the method described in the first aspect or any possible design of the first aspect, or the second aspect or any possible design of the second aspect, or the third aspect or any possible design of the third aspect, or the fourth aspect or any possible design of the fourth aspect, or the fifth aspect or any possible design of the fifth aspect, or the sixth aspect or any possible design of the sixth aspect.

[0065] In the eleventh aspect, an embodiment of the present application also provides a chip system, including a processor and an interface, wherein the processor is used to call and run instructions from the interface so that the chip system performs the method described in the first aspect or any possible design of the first aspect, or the second aspect or any possible design of the second aspect, or the third aspect or any possible design of the third aspect, or the fourth aspect or any possible design of the fourth aspect, or the fifth aspect or any possible design of the fifth aspect, or the sixth aspect or any possible design of the sixth aspect.

[0066] In a twelfth aspect, the present application also provides a headphone control method that can be applied to open-back headphones. The method may include: in response to a first pushing operation of tapping and holding the front ball of the headphone along a first direction, starting a volume adjustment function. The front ball and the rear ball are connected by a curved cantilever arm. Based on the duration of the first pushing operation being greater than or equal to a preset duration, the volume level of the open-back headphones is increased. Based on this, the user can adjust the volume of the headphone by pushing the open-back headphones with their fingers, so as to conform to the user's habit of naturally swinging their arms back and forth. Compared with other volume adjustment methods, the operational difficulty of volume adjustment can also be reduced.

[0067] In one possible embodiment, the method further includes: activating a volume adjustment function in response to a second pushing operation of tapping and holding the rear end ball in a second direction, the second direction being different from the first direction; and reducing the volume level of the open-back headphones based on a duration of the second pushing operation being greater than or equal to a preset duration.

[0068] In a possible implementation, the method may further include: after the volume adjustment function is activated, in response to an operation of tapping the front ball along the first direction, increasing the volume level of the open-back headphones.

[0069] In a thirteenth aspect, the present application also provides a headphone control method that can be applied to open-back headphones. The method may include: in response to a first push operation of tapping and holding the rear end ball of the headphone along a first direction, starting a volume adjustment function. The rear end ball and the front end ball are connected by a curved cantilever arm. Based on the duration of the first push operation being greater than or equal to a preset duration, the volume level of the open-back headphones is increased. Based on this, the user can adjust the volume of the headphone by pushing the open-back headphones with their fingers, so as to conform to the user's habit of naturally swinging their arms back and forth. Compared with other volume adjustment methods, the operational difficulty of volume adjustment can also be reduced.

[0070] In one possible embodiment, the method may further include: activating a volume adjustment function in response to a second pushing operation of tapping and holding the front ball in a second direction, the second direction being different from the first direction; and reducing the volume level of the open-back headphones based on a duration of the second pushing operation being greater than or equal to a preset duration.

[0071] In a possible implementation, the method may further include: after the volume adjustment function is activated, in response to an operation of tapping the rear end ball along the first direction, increasing the volume level of the open-back headphones.

[0072] It should be understood that for the embodiments in the above aspects, the steps of starting the volume adjustment function can also be appropriately tailored; the above methods can directly adjust the volume level of the headphones when the volume adjustment function is started.

[0073] In some examples, for the method provided in the first aspect, a push operation with continuous application of force in a first direction can cause the headset to directly increase the volume of the headset if the push operation lasts for a preset duration. Correspondingly, a push operation with continuous application of force in a second direction can cause the headset to directly decrease the volume of the headset if the push operation lasts for a preset duration. The implementation methods provided in other aspects can also be understood by analogy. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] FIG1 is a schematic diagram of an earphone control system provided in an embodiment of the present application;

[0075] FIG2 is a schematic structural diagram of an earphone 100 provided in an embodiment of the present application;

[0076] FIG3 is a schematic diagram of an earphone 100 provided in an embodiment of the present application;

[0077] FIG4 is a schematic diagram of an interaction of an earphone 100 provided in an embodiment of the present application;

[0078] FIG5 is a schematic diagram of an interaction for starting volume adjustment provided by an embodiment of the present application;

[0079] FIG6 is a schematic diagram of an interface for starting audio playback provided in an embodiment of the present application;

[0080] FIG7 is a flow chart of a volume adjustment method according to an embodiment of the present application;

[0081] FIG8 is a schematic diagram of another flow chart of adjusting volume provided in an embodiment of the present application;

[0082] FIG9 is a schematic diagram of another flow chart of adjusting volume provided in an embodiment of the present application;

[0083] FIG10 is a schematic diagram of another flow chart of adjusting volume provided in an embodiment of the present application;

[0084] FIG11 is a schematic diagram of another flow chart of adjusting volume provided in an embodiment of the present application;

[0085] FIG12 is a schematic diagram of a volume adjustment curve provided in an embodiment of the present application;

[0086] FIG13 is a schematic diagram of a user interface provided in an embodiment of the present application;

[0087] FIG14 is a schematic diagram of a volume adjustment scenario provided by an embodiment of the present application;

[0088] FIG15 is a schematic diagram of another volume adjustment scenario provided by an embodiment of the present application;

[0089] FIG16 is a schematic flow chart of a headphone control method according to an embodiment of the present application;

[0090] FIG17 is a schematic structural diagram of an earphone provided in an embodiment of the present application. DETAILED DESCRIPTION

[0091] Below, some terms used in the embodiments of the present application are explained to facilitate understanding by those skilled in the art.

[0092] The at least one involved in the embodiments of the present application includes one or more; wherein, more than one means greater than or equal to two. In addition, it should be understood that, in the description of this specification, words such as "first" and "second" are only used for the purpose of distinguishing the description, and cannot be understood as expressing or implying relative importance, nor can they be understood as expressing or implying order. For example, the first operation and the second operation do not represent the importance of the two or the order of the two, but are only for distinguishing the description. In the embodiments of the present application, "and / or" is only a description of the association relationship, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the objects related to each other are in an "or" relationship.

[0093] In the description of the embodiments of the present application, it should be noted that, unless otherwise clearly specified and limited, the terms "installation" and "connection" should be understood in a broad sense. For example, "connection" can be a detachable connection or a non-detachable connection; it can be a direct connection or an indirect connection through an intermediate medium. The directional terms mentioned in the embodiments of the present application, such as "up", "down", "left", "right", "inside", "outside", etc., are only reference to the directions of the accompanying drawings. Therefore, the directional terms used are for better and clearer explanation and understanding of the embodiments of the present application, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the embodiments of the present application.

[0094] References to "one embodiment" or "some embodiments" in this specification mean that a particular feature, structure, or characteristic described in connection with that embodiment is included in one or more embodiments of the specification. Thus, phrases such as "in one embodiment," "in some embodiments," "in other embodiments," and "in yet other embodiments" appearing in various places in this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "including," "comprising," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0095] The earphone control method provided in the embodiment of the present application is applicable to the earphone control system. For example, FIG1 is a schematic diagram of an earphone control system provided in the embodiment of the present application. As shown in FIG1 , the earphone control system may include an earphone 100 and an electronic device 200. A wireless connection can be established between the earphone 100 and the electronic device 200. The wireless connection is a connection established using wireless communication technology. The wireless communication technology may be Bluetooth (BT), wireless local area networks (WLAN) (such as wireless fidelity (WiFi) networks), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc. The embodiment of the present application does not specifically limit the type of wireless communication technology.

[0096] Among them, the earphone 100 can be a wireless earphone, for example, it can be a true wireless stereo (TWS) earphone, or it can be an open wearable stereo (OWS) earphone. The embodiment of the present application does not limit the specific type of earphone. Among them, the device form of TWS earphone is different from that of OWS earphone. For example, TWS earphone adopts an in-ear or semi-in-ear structure, while OWS earphone adopts a non-in-ear structure, and there are products with different forms around the ear, auricle, and inside the ear. Due to the different device forms of OWS earphones and TWS earphones, the interactive contacts of OWS earphones and TWS earphones are also different. Therefore, for basic interactive tasks on the earphones, such as making and receiving calls, music playback, noise reduction, volume adjustment, etc., there are differences in the support capabilities of OWS earphones and TWS earphones. For the convenience of explanation, Figure 1 takes the earphone 100 as an OWS earphone as an example.

[0097] The electronic device 200 can be a portable electronic device such as a mobile phone, tablet computer, or laptop computer; it can also be a wearable device such as a watch or bracelet; or it can also be a smart home device such as a television or refrigerator; or it can also be an in-vehicle device, etc., or it can also be a virtual reality (VR) device, augmented reality (AR) device, mixed reality (MR) device, etc. In short, the embodiments of the present application do not limit the specific type of electronic device. For ease of explanation, Figure 1 takes the electronic device 200 as a mobile phone as an example.

[0098] It should be understood that Figure 1 is only for ease of understanding and shows an exemplary headphone control system, but this should not constitute any limitation to the present application. The headphone control system can also include a larger number of headphones and a larger number of electronic devices; the electronic devices that interact with different headphones can be the same electronic device or different electronic devices; the number of electronic devices that interact with different headphones can be the same or different, and the embodiments of the present application do not limit this.

[0099] For example, Figure 2 is a schematic diagram of the structure of a headset 100 provided in an embodiment of the present application. As shown in Figure 2, the headset 100 may include at least one processor 101, at least one memory 102, a wireless communication module 103, an audio module 104, a sensor module 105, and a power module 106. The processor may include one or more interfaces for connecting to other components of the headset 100.

[0100] The memory 102 can be used to store program code, such as for establishing wireless connections between the headset 100 and different electronic devices, where the wireless connections can be physical or virtual, for switching wireless connections between the headset 100 and different electronic devices, for processing audio services of the electronic device with which the headset 100 has established a wireless connection (e.g., adjusting volume, playing music, answering / making calls, etc.), and for charging the headset 100. The memory 102 can also be used to store other information, such as the priorities of multiple electronic devices.

[0101] The processor 101 can be used to execute the above program code and call related modules to implement the functions of the headset 100 in the embodiment of the present application. For example, the headset 100 establishes a wireless connection with different electronic devices, processes audio services of the electronic devices with which the headset 100 has established a wireless connection (such as adjusting the volume, playing music, answering / making calls, etc.), and switches the wireless connection between different electronic devices based on priority.

[0102] The processor 101 may include one or more processing units, and different processing units may be independent devices or integrated into one or more processors 101. The processor 101 may specifically be an integrated control chip, or may be composed of a circuit including various active and / or passive components, and the circuit is configured to perform the functions of the processor 101 described in the embodiments of this application.

[0103] The wireless communication module 103 can be used to support data exchange between the headset 100 and different electronic devices or the headset 100 itself, including data exchange via wireless communications such as BT, WLAN (such as WiFi), FM, NFC, and IR.

[0104] In some embodiments, the wireless communication module 103 may be a Bluetooth chip. The headset 100 may be paired with Bluetooth chips of different electronic devices through the Bluetooth chip and establish a wireless connection to enable wireless communication and service processing between the headset 100 and other electronic devices through the wireless connection. Typically, a Bluetooth chip may support basic rate (BR) / enhanced data rate (EDR) Bluetooth and low energy Bluetooth (BLE), for example, it may be able to receive / send paging messages, receive / send BLE broadcast messages, etc.

[0105] In addition, the wireless communication module 103 may also include an antenna. The wireless communication module 103 receives electromagnetic waves via the antenna, frequency-modulates and filters the electromagnetic wave signals, and transmits the processed signals to the processor 101. The wireless communication module 103 may also receive a signal to be transmitted from the processor 101, frequency-modulate it, amplify it, and convert it into electromagnetic waves for radiation via the antenna.

[0106] The audio module 104 can be used to manage audio data, enable the headset 100 to input and output audio signals, enable the headset 100 to make and receive calls, play music, adjust the volume, start / stop the voice assistant of the electronic device connected to the headset 100, and receive / send the user's voice data through the headset 100. The audio module 104 may include a microphone 104A (or microphone, microphone) for outputting audio signals, a speaker 104B (or earpiece, receiver) component, an audio codec 104C, a power amplifier 104D, etc. The microphone 104A can be used to convert the sound signal into an audio electrical signal. The speaker 104B can be used to convert the audio electrical signal into a sound signal and play it. The audio codec 104C converts the digital signal into an analog signal and sends the analog signal to the power amplifier. The power amplifier 104D can be used to amplify the analog signal.

[0107] The sensor module 105 can detect the information required by the different functions of the headset 100. For example, the user pushes the headset 100 to adjust the volume, play music, or make or receive calls. The processor 101 collects data from the motion sensor and capacitive sensor 105D of the headset 100 to identify the user's operation intention.

[0108] The motion sensors of the headset 100 may include an accelerometer 105A, an angular velocity sensor 105B, and a magnetic induction sensor 105C. For example, the processor 101 may use the accelerometer 105A to collect the acceleration values ​​of the headset 100 along the x, y, and z axes in real time to calculate the posture of the headset 100. Alternatively, the processor 101 may use the angular velocity sensor 105B to collect the angular velocity values ​​of the headset 100 in real time and integrate them over time to calculate the posture of the headset 100. Alternatively, the processor 101 may use the magnetic induction sensor 105C to collect magnetic field strength information of the headset 100 to calculate the posture of the headset 100. Whether using the accelerometer 105A, the angular velocity sensor 105B, or the magnetic induction sensor 105C, the motion information collected by each of these sensors can meet the accuracy required for posture recognition of the headset 100. In the embodiments of the present application, these three types of sensors can be used separately or in combination to achieve different goals, such as low power consumption or high accuracy.

[0109] Capacitive sensor 105D can be used to detect pressure applied to the pressing area of ​​earphone 100. The pressing area corresponds to the electrode of capacitive sensor 105D. When the user of earphone 100 presses the pressing area, the electrode of capacitive sensor 105D deforms, causing the capacitance of capacitive sensor 105D to change based on the pressure applied to the pressing area. The number of capacitive sensors 105D can be one, two, or more, depending on the specific needs of earphone 100.

[0110] The proximity light sensor 106D can be used to determine whether the headset 100 is being worn by the user. In some embodiments, the sensor module 105 may also include a distance sensor that can be used to detect whether there is an object near the headset 100, thereby determining whether the headset 100 is being worn by the user. When it is determined that the headset 100 is being worn, the headset 100 can turn on the speaker 104B to emit a prompt tone.

[0111] For another example, the sensor module 105 may also include a bone conduction sensor. Using this bone conduction sensor, the headset 100 can capture vibration signals from the human vocal bones, parse the signals into voice signals, implement voice functions, and thus receive user voice commands. The headset 100 can also perform voice authentication based on the user voice signals captured by the bone conduction sensor, thereby verifying the user's identity in business scenarios such as payment transactions.

[0112] For another example, the sensor module 105 may also include: a touch sensor for detecting a user's touch operations such as single-click, double-click, multiple-click, long press, and heavy pressure, and may also perform user fingerprint recognition to authenticate the user's identity in business scenarios such as payment transactions; a fingerprint sensor for detecting a user's fingerprint and identifying the user's identity; an ambient light sensor that may adaptively adjust some parameters (such as volume) according to the perceived brightness of the ambient light; and some other sensors.

[0113] The power module 106 can be used to provide system power to the headset 100, powering various modules of the headset 100 and supporting the headset 100 in receiving charging input. The power module 106 may include a battery 106A, a power management unit (PMU) 106B, and a charging port 106C. The PMU 106B can receive external charging input, transform the electrical signal input from the charging circuit and provide it to the battery 106A for charging. It can also transform the electrical signal provided by the battery 106A and provide it to other modules such as the wireless communication module 103, the audio module 104, and the sensor module 105. Furthermore, it can protect the battery 106A from overcharging, over-discharging, short circuiting, or overcurrent. In some embodiments, the power module 105 may also include a wireless charging coil for wirelessly charging the headset 100. Furthermore, the PMU 106B can monitor parameters such as the battery 106A capacity, the number of cycles of the battery 106A, and the battery 106A health status (leakage, impedance). The charging interface 106C can be used to provide a wired connection for charging or communication between the headset 100 and the headset box. In some embodiments, this input / output interface can be a USB interface. In other embodiments, the charging interface 106C can be an earphone electrical connector. When the headset 100 is placed in the headset box, the headset 100 can establish an electrical connection with the electrical connector in the headset box through the earphone electrical connector, thereby charging the battery 106A in the headset 100. In other embodiments, after this electrical connection is established, the headset 100 can also communicate data with the headset box, for example, to receive pairing instructions from the headset box.

[0114] It is understandable that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the headset 100. It may have more or fewer components than those shown in FIG2 , may combine two or more components, or may have different component configurations. For example, the outer surface of the headset 100 may also include buttons, indicator lights (which may indicate battery level, incoming / outgoing calls, pairing mode, and other states), a display screen (which may prompt the user with relevant information), a dust screen (which may be used in conjunction with a handset), and other components. The button may be a physical button or a touch button (used in conjunction with a touch sensor), etc., which is used to trigger operations such as power on, power off, pause, play, recording, start pairing, and reset.

[0115] The various components shown in FIG. 2 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing or application specific integrated circuits.

[0116] For example, FIG3 is a schematic diagram of the form of an earphone 100 provided in an embodiment of the present application. The earphone 100 may include four forms, namely earphone 100A, earphone 100B, earphone 100C and earphone 100D. Among them, the earphone 100A shown in FIG3 (1) can be clamped on the auricle. The earphone 100B shown in FIG3 (2) can wrap around the back of the ear and fit tightly against the skin above the temple (below the temple). The earphone 100C shown in FIG3 (3) can wrap around the back of the ear and wrap back above the helix to near the triangular fossa. The earphone 100D shown in FIG3 (4) can be plugged into the concha cavity.

[0117] FIG4 is an interactive schematic diagram of an earphone 100 provided in an embodiment of the present application. Taking the earphone 100A shown in (1) of FIG3 above as an example, as shown in (1) of FIG4 , the earphone 100A mainly includes two spherical structures (referred to as the rear end ball A1 and the front end ball A2) and a cantilever connecting the two spherical structures (referred to as the cantilever arm A3). As shown in (2) of FIG4 , the rear end ball A1 is located behind the auricle, and the earphone 100A can be provided with a capacitive sensor 1 on the side of the rear end ball A1 close to the auricle and a motion sensor inside the rear end ball A1. The front end ball A2 is located inside the auricle, and the earphone 100A can be provided with a capacitive sensor 2 on the side of the front end ball A2 close to the auricle.

[0118] Please refer to (1), (2), and (3) of Figure 3. In one possible implementation, the cantilever arm of the earphone is bent, with one end connected to the front ball and the other end connected to the rear ball. It should be understood that when the user wears the earphone, the front ball can contact the user's ear, and the bent cantilever arm can be arranged around the contour of the user's ear, so that the rear ball can abut the user's ear, thereby the earphone can be clamped on the user's ear for wearing.

[0119] Among them, capacitive sensor 1 and capacitor sensor 2 can be used to detect the contact area between the earphone 100A and the ear skin. For example, during the user's interaction with the earphone 100A, when the user pushes the rear ball forward, it presses on capacitive sensor 1, so that the contact area between capacitor sensor 1 and the ear skin increases, and the capacitance of capacitive sensor 1 will also increase accordingly. It can be understood that when the capacitance of capacitive sensor 1 increases, the contact area between capacitor sensor 1 and the ear skin increases. Alternatively, when the user pushes the front ball backward, it presses on capacitive sensor 2, so that the contact area between capacitor sensor 2 and the ear skin increases, and the capacitance of capacitive sensor 2 will also increase accordingly. It can be understood that when the capacitance of capacitive sensor 2 increases, the contact area between capacitor sensor 2 and the ear skin increases.

[0120] The motion sensor can be used to detect the posture of the headset 100A. For example, when a user is interacting with the headset 100A, if the user pushes the rear ball forward, the acceleration, angular velocity, or magnetic field strength information of the headset 100A collected by the motion sensor can be used to calculate that the headset 100 is moving forward. Alternatively, if the user pushes the front ball backward, the acceleration, angular velocity, or magnetic field strength information of the headset 100A collected by the motion sensor can be used to calculate that the headset 100 is moving backward.

[0121] The earphone control method provided in the embodiment of the present application will be further introduced below in combination with the earphone control system shown in Figure 1 and the earphones shown in Figures 2 to 4.

[0122] The headphone control method provided in the embodiment of the present application is used to adjust the volume of audio played by the headphone, switch the audio played by the headphone, etc.

[0123] In Example 1, the headphone control method provided in the embodiment of the present application is used to adjust the volume of audio played by the headphone. The execution process of adjusting the volume of audio played by the headphone includes at least two stages: starting volume adjustment and adjusting the volume. The method of each stage is described in detail below.

[0124] 1. Start volume adjustment

[0125] In an embodiment of the present application, the headset can activate the volume adjustment function when the first condition is met.

[0126] The pushing operation is an operation of applying a force to the earphone in the first direction or the second direction. The first condition may include but is not limited to one or more of the following:

[0127] Detecting that the user triggers a first push operation can be understood as the user not canceling the first push operation after triggering the first push operation, for example, the user pushes the rear end ball of the headset forward (push), that is, the user pushes the headset once and remains in the pushed state;

[0128] Alternatively, after detecting that the user has triggered the first push operation and the duration of the force of the first push operation is less than the first preset duration, it can be understood that the user canceled the first push operation after triggering the first push operation. For example, the user pushes the rear ball of the earphone forward to release the rear ball of the earphone (i.e., push-to-release), that is, the earphone remains in the released state after the user has pushed it once;

[0129] Alternatively, if it is detected that the user triggers the first push operation and then triggers the second push operation, it can be understood that the user triggers the first push operation and then cancels the first push operation and then triggers the second push operation. For example, the user pushes the rear ball of the earphone forward, releases the rear ball of the earphone, and pushes the rear ball forward again (push-release-push), that is, the user pushes the earphone twice and then remains in the pushed state;

[0130] Alternatively, if it is detected that the user triggers the first push operation and then triggers the second push operation, and the duration of the force of the second push operation is less than the first preset duration, it can be understood that the user triggers the first push operation and then cancels the first push operation, then triggers the second push operation and then cancels the second push operation. For example, the user pushes the rear end ball of the earphone forward, releases the rear end ball of the earphone, pushes the rear end ball of the earphone forward again, and releases the rear end ball of the earphone again (push-release, push-release), that is, the user pushes the earphone twice and keeps it in a released state.

[0131] The volume adjustment function may include a volume increase function and a volume decrease function. The volume increase function corresponds to a first direction, which means that when the push operation is an operation that applies a force to the earphone in the first direction, the volume adjustment function activated when the earphone meets the first condition corresponding to the push operation is the volume increase function. The volume decrease function corresponds to a second direction, which means that when the push operation is an operation that applies a force to the earphone in the second direction, the volume decrease function activated when the earphone meets the first condition corresponding to the push operation is the volume decrease function.

[0132] For example, Figure 5 is an interactive schematic diagram of starting volume adjustment provided in an embodiment of the present application. As shown in Figure 5, taking the earphone 100A as shown in (1) of Figure 3 above as an example, the user can push the rear end ball of the earphone 100A forward to start the volume increase function, or the user can push the front end ball of the earphone 100A backward to start the volume decrease function. Alternatively, taking the earphone 100B as shown in (2) of Figure 3 above as an example, the user can push the behind-the-ear component of the earphone 100B forward to activate the volume-up function, or the user can push the component above the temples of the earphone 100B backward to activate the volume-down function, or, taking the earphone 100C as shown in (3) of Figure 3 above as an example, the user can push the behind-the-ear component of the earphone 100C forward to activate the volume-up function, or the user can push the component above the triangular fossa of the earphone 100C backward to activate the volume-down function, or, taking the earphone 100D as shown in (4) of Figure 3 above as an example, the user can push the auricle forward to activate the volume-up function, or the user can push the earphone 100D backward to activate the volume-down function.

[0133] In a specific implementation, the earphone can detect the user-triggered push operation on the earphone and the duration of the force of the push operation by collecting data from various sensors of the earphone (such as a capacitive sensor, a motion sensor, a bone conduction sensor, or a touch sensor, etc.). For example, taking the earphone 100A as shown in (1) of FIG3 as an example, when the user pushes the rear end ball of the earphone 100A forward to activate the volume-up function, the user presses the capacitive sensor 1 disposed on the side of the auricle near the rear end ball, so that the contact area between the capacitive sensor 1 and the ear skin increases, and the capacitance of the capacitive sensor 1 also increases accordingly. It can be understood that when the capacitance of the capacitive sensor 1 increases, the earphone 100A can detect that the user pushes the rear end ball of the earphone 100A forward. Alternatively, when the user pushes the front ball of the earphone 100A backward to activate the volume down function, the capacitive sensor 2 provided on the side of the front ball close to the auricle will be pressed, thereby increasing the contact area between the capacitive sensor 2 and the ear skin, and the capacitance of the capacitive sensor 2 will also increase accordingly. It can be understood that when the capacitance of the capacitive sensor 2 increases, the earphone 100A can detect that the user pushes the front ball of the earphone 100A backward.

[0134] In one possible implementation, before the headset activates the volume adjustment function, the headset may receive a play instruction for a first audio from the mobile phone and play the first audio at an initial volume level. The first audio may include, but is not limited to, one or more of the following: an incoming call ringtone, multimedia audio (such as the sound output by a music application, a video application, etc.), a call voice, or a voice message. The initial volume level may be the default volume level of the headset, or it may be the volume level determined after the user last adjusted the volume of the headset. This embodiment of the present application does not specifically limit this.

[0135] For example, a mobile phone can receive an incoming call and send a play instruction for the incoming call ringtone to the headset. Accordingly, the headset can receive the play instruction for the incoming call ringtone from the mobile phone and play the incoming call ringtone at the initial volume level. For another example, Figure 6 is a schematic diagram of an interface for starting audio playback provided in an embodiment of the present application. As shown in Figure 6, the mobile phone can display two voice message bubbles on the display screen, namely voice message 1 and voice message 2. The total duration of voice message 1 is 30 seconds, and the total duration of voice message 2 is 50 seconds. The user can start playing voice message 1 or voice message 2 by clicking on bubble 501 of voice message 1 or bubble 502 of voice message 2. When the mobile phone detects the user's operation of clicking on bubble 501 of voice message 1, in response to the operation, the mobile phone can send a play instruction for voice message 1 to the headset. Accordingly, the headset can receive the play instruction for voice message 1 from the mobile phone and play voice message 1 at the initial volume level.

[0136] 2. Adjust the volume

[0137] In an embodiment of the present application, after the headset activates the volume-up function when the first condition is met, the headset can increase the volume level when the second condition is met. Alternatively, after the headset activates the volume-down function when the first condition is met, the headset can decrease the volume level when the second condition is met.

[0138] The second condition may include but is not limited to one or more of the following:

[0139] Detecting that the duration of the force of the first push operation or the second push operation triggered by the user is greater than or equal to the first preset duration can be understood as the user not canceling the first push operation or the second push operation within the first preset duration after the user triggers the first push operation or the second push operation, or can be understood as the headset detecting that the user continuously applies a force to the headset based on the first push operation or the second push operation within the first preset duration after the user triggers the first push operation or the second push operation;

[0140] Alternatively, if the duration of the force of the first push operation or the second push operation triggered by the user is detected to be less than the first preset duration, it can be understood that the user cancels the first push operation or the second push operation within the first preset duration after the user triggers the first push operation or the second push operation, or it can be understood that the headset does not detect the force continuously applied to the headset by the user based on the first push operation or the second push operation within the first preset duration after the user triggers the first push operation or the second push operation;

[0141] Alternatively, it is detected that the user triggers a second push operation, and the duration of the force of the second push operation is less than the first preset duration;

[0142] Alternatively, it is detected that the user triggers a third pushing operation, and the duration of the force of the third pushing operation is less than the first preset duration.

[0143] In some possible implementations, the pushing operation may include a user tapping the earphone, and the user's tapping part maintains contact with the earphone after the tapping. It should be understood that the tapping part is generally the pad of the user's finger; of course, the examples do not limit the user's personal usage habits, and the user can also push the earphone with the palm of his hand to trigger the volume adjustment function. After the user taps the earphone, the finger used to tap the earphone can maintain contact with the surface of the earphone. In this process, the force applied to the earphone based on the tapping and contact operation generally causes the earphone to move. In this regard, the earphone can achieve detection through the cooperation between the capacitive sensor and the motion sensor.

[0144] In some possible implementations, the push operation described above can be achieved through a continuous user gesture. The user taps the earphone, then holds or presses the earphone in the direction of the finger movement. This causes the earphone to move relative to the user's head to a certain extent. The earphone can detect this continuous user gesture through the cooperation of the sensors in the above example, triggering the earphone volume adjustment function.

[0145] For example, the earphones can determine the contact between the outside world and the earphones based on the capacitance change detected by the capacitive sensor. Also, the earphones can determine the tapping of the earphones by the outside world based on the change of parameters such as acceleration value, angular velocity value or magnetic field strength detected by the motion sensor. It should be understood that for those skilled in the art, for consumer electronic products such as earphones, the weight of the same earphones can be determined before they are sold to the outside world. The weight of the earphones can be regarded as a constant. Based on parameters such as acceleration value detected by the motion sensor, the force applied to the earphones by the user can be determined. In the process of processing the relevant parameters, the earphones can convert the relevant parameters into force; or, it can not perform the conversion. This processing process does not cause insurmountable obstacles to the implementation of the solutions of each example, so the examples do not impose restrictions on this.

[0146] Considering the varying operating habits of different users, the applied force can be large or small, and each example may not limit the degree of displacement of the earphone. For example, the threshold for capacitance change, acceleration change, angular velocity change, or magnetic field change can be adjusted to meet the needs of gesture detection.

[0147] In some examples, to facilitate user activation of the volume adjustment function of the headphones, the headphones may include one, two, or more control locations. For example, the front ball of the headphones may serve as a control location, where the user can tap the front ball and maintain contact with it to trigger the volume adjustment function. It should be understood that the control location may also include the portion of the cantilever arm that contacts the front ball.

[0148] In other examples, the rear ball of the headset can also serve as a control area. A user can tap the rear ball and maintain contact with the front ball to trigger the volume adjustment function of the headset. It should be understood that the control area can also include the portion of the cantilever arm that contacts the rear ball.

[0149] Combining the two examples above, pushing the front ball can be an operation that applies a force to the earphone in a first direction. Pushing the rear ball can be an operation that applies a force to the earphone in a second direction. The first and second directions do not need to be completely opposite or less than a certain angle.

[0150] Those skilled in the art will appreciate that a motion sensor may be configured to detect in two substantially opposite directions, thereby realizing a corresponding volume increase or volume decrease function.

[0151] For the user of the earphones, after wearing the earphones, pushing the front ball of the earphones backward can illustratively realize the function of increasing the volume; and pushing the rear ball of the earphones forward can illustratively realize the function of decreasing the volume.

[0152] On the contrary, after wearing the earphones, pushing the front ball of the earphones backward can illustratively achieve the function of reducing the volume; and pushing the rear ball of the earphones forward can illustratively achieve the function of increasing the volume.

[0153] In other examples, the cantilever arm of the headset can also serve as a control point. The user can tap the cantilever arm, causing the headset to move relative to the user's head, thereby triggering the headset's volume adjustment function. It should be understood that, given that the cantilever arm is curved and is worn around the user's headset, the operation of the cantilever arm can be a push operation in the first direction or the second direction.

[0154] In some examples, the pushing operation may also include the user touching the earphones and then pushing them after the contact. It should be understood that the contact process can be understood as a process in which the earphones do not produce relative displacement, and this can be detected by a capacitive sensor. The pushing process can be a process in which the earphones are pressed after the contact, causing relative displacement. In this example, the pushing operation can be a continuous operation; alternatively, the pushing operation can include a two-part operation of touching the earphones, pausing for a moment, and then pushing the earphones. The pushing process is primarily detected through the cooperation of a motion sensor and a capacitive sensor.

[0155] In some possible implementation scenarios, to trigger the volume adjustment function, the capacitive sensor may first detect that the capacitance change meets the capacitance change threshold, and then the motion sensor may detect that the change in the relevant parameter meets the change threshold for that type of parameter. Alternatively, the motion sensor may first detect that the change in the relevant parameter meets the change threshold for that type of parameter, and then the capacitive sensor may detect that the capacitance change meets the capacitance change threshold.

[0156] In some examples, if a user taps an earphone and then immediately releases it, this action can be considered a tap. For earphones, the user's tapping action can be detected by cooperating with the sensors in the above examples to trigger the earphone's volume adjustment function. Alternatively, the user's tapping action can be detected by using relevant parameters obtained by a motion sensor.

[0157] In other examples, the tapping operation may also be defined as the user tapping the earphone twice or multiple times. Alternatively, the tapping operation may also be defined as the user tapping the earphone twice.

[0158] In a typical scenario where a user operates headphones with their finger, the user's finger taps a control on the headphone and then moves away from it. This tapping operation can also be understood by analogy with single, double, or multiple taps on a touch sensor. An example of adjusting the headphone volume based on a tapping operation will also be explained below.

[0159] The following describes the specific implementation of the above volume adjustment in detail with reference to specific examples:

[0160] Example 1: The first condition may include: detecting that a user triggers a first push operation; or detecting that a user triggers a second push operation after triggering the first push operation. The second condition may include: detecting that the duration of the force of the first or second push operation triggered by the user is greater than or equal to a first preset duration. When it is detected that the duration of the force of the first or second push operation triggered by the user in a first direction is greater than or equal to the first preset duration, the headset may adjust the headset volume level once every preset duration, and the volume corresponding to the adjusted volume unit is greater than the volume corresponding to the volume level before the adjustment, which can be understood as the headset gradually increasing the headset volume level over time. When it is detected that the duration of the force of the first or second push operation triggered by the user in a second direction is greater than or equal to the first preset duration, the headset may adjust the headset volume level once every preset duration, and the volume corresponding to the adjusted volume unit is less than the volume corresponding to the volume level before the adjustment, which can be understood as the headset gradually decreasing the headset volume level over time.

[0161] During a specific implementation, the headset can adjust the volume level of the headset to a first volume level at a first moment. The duration between the first moment and the moment when the headset activates the volume adjustment function is equal to a second preset duration. The first volume level and the initial volume level are adjacent volume levels. As the headset gradually increases the volume level, the volume corresponding to the first volume level is greater than the volume corresponding to the initial volume level. As the headset gradually decreases the volume level, the volume corresponding to the first volume level is less than the volume corresponding to the initial volume level.

[0162] The headset can adjust the volume level of the headset to a second volume level at a second moment. The second moment is after the first moment, and the duration between the second moment and the first moment is equal to a third preset duration. The second volume level and the first volume level are adjacent volume levels. When the headset gradually increases the volume level, the volume corresponding to the second volume level is greater than the volume corresponding to the first volume level. When the headset gradually decreases the volume level, the volume corresponding to the second volume level is less than the volume corresponding to the first volume level.

[0163] Optionally, the third preset duration can be less than or equal to the second preset duration, which can be understood as the preset duration corresponding to the initial volume adjustment (i.e., the second preset duration) being greater than or equal to the preset duration corresponding to the non-initial volume adjustment (i.e., the third preset duration), thereby reducing the occurrence of user accidental touches. Alternatively, the third preset duration can be greater than the second preset duration, which can be understood as the preset duration corresponding to the initial volume adjustment (i.e., the second preset duration) being less than the preset duration corresponding to the non-initial volume adjustment (i.e., the third preset duration), thereby reserving sufficient time for the headset to detect the user operation of starting the volume adjustment function, thereby avoiding the problem of poor user experience caused by failure to detect the user operation of starting the volume adjustment function. The embodiments of the present application do not make specific limitations on this.

[0164] By analogy, the headset can adjust the volume level of the headset to the Mth volume level after the second moment and at a moment that is N third preset time periods apart from the second moment, where N is a positive integer. The Mth volume level is N volume levels apart from the second volume level. When the headset gradually increases the volume level, the volume corresponding to the Mth volume level is greater than the volume corresponding to the second volume level. When the headset gradually decreases the volume level, the volume corresponding to the Mth volume level is less than the volume corresponding to the second volume level.

[0165] In a possible implementation, the headset may further disable the volume adjustment function when detecting that the user cancels the first push operation or the second push operation.

[0166] For example, FIG7 is a flow chart of a volume adjustment process provided by an embodiment of the present application. As shown in FIG7 , it is detected that the user triggers a push operation 1, and the headset starts the volume up function or the volume down function at time 1. It is detected that the duration of the force of the push operation 1 is greater than the duration T1, and the headset adjusts the volume level of the headset from volume level 1 to volume level 2 at time 2, and the duration between time 1 and time 2 is equal to a duration T2, and volume level 1 is the initial volume level of the headset; at time 3, the volume level of the headset is adjusted from volume level 2 to volume level 3, and the duration between time 3 and time 2 is equal to a duration T3; at time 4, the volume level of the headset is adjusted from volume level 3 to volume level 4, and the duration between time 4 and time 2 is equal to two durations T3; and so on, at time n, the volume level of the headset is adjusted from volume level n-1 to volume level n, and the duration between time n and time 2 is equal to n-2 durations T3. Among them, the preset duration corresponding to the initial volume adjustment (i.e., time duration T3) is greater than the preset duration corresponding to the non-initial volume adjustment (i.e., time duration T2). The volume corresponding to volume level 1, the volume corresponding to volume level 2, the volume corresponding to volume level 3, the volume corresponding to volume level 4, the volume corresponding to volume level n-1, and the volume corresponding to volume level n gradually increase or decrease. When it is detected that the user cancels push operation 1, the headset turns off the volume adjustment function at time n+1, that is, time n+1 is the end time of the force duration of push operation 1.

[0167] For another example, FIG8 is another flow chart of adjusting the volume provided by an embodiment of the present application. As shown in FIG8 , after detecting that the user triggers the push operation and then triggers the push operation 2, the headset starts the volume up function or the volume down function at time 1. It is detected that the duration of the force of the push operation 2 is greater than the duration T1, and the headset adjusts the volume level of the headset from volume level 1 to volume level 2 at time 2, and the duration between time 1 and time 2 is equal to a duration T2, and volume level 1 is the initial volume level of the headset; at time 3, the volume level of the headset is adjusted from volume level 2 to volume level 3, and the duration between time 3 and time 2 is equal to a duration T3; at time 4, the volume level of the headset is adjusted from volume level 3 to volume level 4, and the duration between time 4 and time 2 is equal to two durations T3; and so on, at time n, the volume level of the headset is adjusted from volume level n-1 to volume level n, and the duration between time n and time 2 is equal to n-2 durations T3. Among them, the preset duration corresponding to the initial volume adjustment (i.e., time duration T3) is greater than the preset duration corresponding to the non-initial volume adjustment (i.e., time duration T2). The volume corresponding to volume level 1, the volume corresponding to volume level 2, the volume corresponding to volume level 3, the volume corresponding to volume level 4, the volume corresponding to volume level n-1, and the volume corresponding to volume level n gradually increase or decrease. When the cancellation of push operation 2 is detected, the headset turns off the volume adjustment function at time n+1, that is, time n+1 is the end time of the force duration of push operation 2.

[0168] Example 2: The first condition may include: detecting a user-triggered first push operation; or detecting a user-triggered first push operation followed by a second push operation. The second condition may include: the duration of the force of the user-triggered first push operation or second push operation is greater than or equal to a first preset duration. Upon detecting a user-triggered first push operation or second push operation in a first direction that applies a force to the headset for a duration greater than or equal to the first preset duration, the headset may adjust the headset volume level once each time a user-triggered push operation is detected within the preset duration, and the volume corresponding to the adjusted volume unit is greater than the volume corresponding to the volume level before the adjustment. This can be understood as the headset gradually increasing the headset volume level in response to the user-triggered push operation. Upon detecting a user-triggered first push operation or second push operation in a second direction that applies a force to the headset for a duration greater than or equal to the first preset duration, the headset may adjust the headset volume level once each time a user-triggered push operation is detected within the preset duration, and the volume corresponding to the adjusted volume unit is less than the volume corresponding to the volume level before the adjustment. This can be understood as the headset gradually decreasing the headset volume level in response to the user-triggered push operation.

[0169] During the specific implementation process, when the first condition includes detecting that the user triggers a first push operation, and the second condition includes that the duration of the force of the first push operation triggered by the user is greater than or equal to the first preset duration, the headset can detect that the user triggers a second push operation and adjust the volume level of the headset to a third volume level. The moment when the user triggers the second push operation is detected is the third moment, and the duration between the third moment and the moment when the volume adjustment function is started is less than or equal to the fourth preset duration. The third volume level and the initial volume level are adjacent volume levels. When the headset gradually increases the volume level of the headset, the volume corresponding to the third volume level is greater than the volume corresponding to the initial volume level. When the headset gradually decreases the volume level of the headset, the volume corresponding to the third volume level is less than the volume corresponding to the initial volume level.

[0170] The headset can detect that a user has triggered a third push operation and adjust the headset volume to a fourth volume level. The moment when the user triggers the third push operation is detected is a fourth moment, and the duration between the fourth moment and the third moment is less than or equal to a fifth preset duration. The fourth volume level and the third volume level are adjacent volume levels. When the headset gradually increases the volume, the volume corresponding to the fourth volume level is greater than the volume corresponding to the third volume level. When the headset gradually decreases the volume, the volume corresponding to the fourth volume level is less than the volume corresponding to the third volume level.

[0171] Optionally, the fifth preset duration can be less than or equal to the fourth preset duration, which can be understood as the preset duration corresponding to the initial volume adjustment (i.e., the fourth preset duration) being greater than or equal to the preset duration corresponding to the non-initial volume adjustment (i.e., the fifth preset duration), thereby reducing the occurrence of user accidental touches. Alternatively, the fifth preset duration can be greater than the fourth preset duration, which can be understood as the preset duration corresponding to the initial volume adjustment (i.e., the fourth preset duration) being less than the preset duration corresponding to the non-initial volume adjustment (i.e., the fifth preset duration), thereby reserving sufficient time for the headset to detect the user operation of starting the volume adjustment function, thereby avoiding the problem of poor user experience caused by failure to detect the user operation of starting the volume adjustment function. The embodiments of the present application do not make specific limitations on this.

[0172] In a possible implementation, the headset may further turn off the volume adjustment function when no user triggering the fourth push operation is detected within a fifth preset time period after the volume level of the headset is adjusted to the fourth volume level.

[0173] For example, Figure 9 is a flow chart of another volume adjustment process provided by an embodiment of the present application. As shown in Figure 9, when a user triggers a push operation 1, the headset activates the volume up function or the volume down function at time 1. It is detected that the duration of the force of push operation 1 is greater than the duration T1. After the earphone detects that the user cancels push operation 1 at moment 2, push operation 2 is triggered, and the volume level of the earphone is adjusted from volume level 1 to volume level 2. The duration between moment 1 and moment 2 is less than or equal to a duration T4, and volume level 1 is the initial volume level of the earphone; after the user cancels push operation 2 at moment 3, push operation 3 is triggered, and the volume level of the earphone is adjusted from volume level 2 to volume level 3, and the duration between moment 3 and moment 2 is less than a duration T5; after the user cancels push operation 3 at moment 4, push operation 4 is triggered, and the volume level of the earphone is adjusted from volume level 3 to volume level 4, and the duration between moment 4 and moment 3 is less than a duration T5; and so on. After the user cancels push operation n-1 at moment n, push operation n is triggered, and the volume level of the earphone is adjusted from volume level n-1 to volume level n, and the duration between moment n and moment n-1 is less than a duration T5. Among them, the preset duration corresponding to the initial volume adjustment (i.e., time duration T4) is greater than the preset duration corresponding to the non-initial volume adjustment (i.e., time duration T5). The volume corresponding to volume level 1, the volume corresponding to volume level 2, the volume corresponding to volume level 3, the volume corresponding to volume level 4, the volume corresponding to volume level n-1, and the volume corresponding to volume level n gradually increase or decrease. If the user does not cancel push operation n within a time duration T5 after time n, a push operation n+1 is triggered, and the headset turns off the volume adjustment function at time n+1, and the time duration between time n+1 and time n is equal to a time duration T5.

[0174] Example 3: The first condition may include: detecting a user-triggered first push operation; or detecting a user-triggered first push operation followed by a second push operation. The second condition may include: detecting a duration of force applied by the user to the first or second push operation being less than a first preset duration. When the duration of force applied by the user to the headset in a first direction is detected to be less than the first preset duration, the headset may adjust the headset volume level once each time a user-triggered push operation is detected within a preset duration, and the volume corresponding to the adjusted volume unit is greater than the volume corresponding to the volume level before the adjustment. This can be understood as the headset gradually increasing the volume level in response to the user-triggered push operation. When the duration of force applied by the user to the headset in a second direction is detected to be less than the first preset duration, the headset may adjust the headset volume level once each time a user-triggered push operation is detected within a preset duration, and the volume corresponding to the adjusted volume unit is less than the volume corresponding to the volume level before the adjustment. This can be understood as the headset gradually decreasing the volume level in response to the user-triggered push operation.

[0175] During a specific implementation, when the first condition includes detecting that a user has triggered a first push operation, and the second condition includes that the duration of the force of the first push operation triggered by the user is less than a first preset duration, the headset can adjust the volume level of the headset to a first volume level based on the first push operation. The first volume level and the initial volume level are adjacent volume levels. When the headset gradually increases the volume level of the headset, the volume corresponding to the first volume level is greater than the volume corresponding to the initial volume level. When the headset gradually decreases the volume level of the headset, the volume corresponding to the first volume level is less than the volume corresponding to the initial volume level.

[0176] The earphones can detect that the user has triggered a second push operation and adjust the volume level of the earphones to a second volume level. The moment when the volume level of the earphones is adjusted to the first volume level is the first moment, the moment when the user has triggered the second push operation is detected as the second moment, the duration between the first moment and the second moment is the first duration, and the sum of the first duration and the duration of the force of the second push operation is less than or equal to the second preset duration. The second volume level and the first volume level are adjacent volume levels. When the earphones gradually increase the volume level, the volume corresponding to the second volume level is greater than the volume corresponding to the first volume level. When the earphones gradually decrease the volume level, the volume corresponding to the second volume level is less than the volume corresponding to the first volume level.

[0177] Optionally, the second preset duration can be less than or equal to the first preset duration, which can be understood as the preset duration corresponding to the initial volume adjustment (i.e., the first preset duration) being greater than or equal to the preset duration corresponding to the non-initial volume adjustment (i.e., the second preset duration), thereby reducing the occurrence of user accidental touches. Alternatively, the second preset duration can be greater than the first preset duration, which can be understood as the preset duration corresponding to the initial volume adjustment (i.e., the first preset duration) being less than the preset duration corresponding to the non-initial volume adjustment (i.e., the second preset duration), thereby reserving sufficient time for the headset to detect the user operation of starting the volume adjustment function, thereby avoiding the problem of poor user experience caused by failure to detect the user operation of starting the volume adjustment function. The embodiments of the present application do not make specific limitations on this.

[0178] In one possible implementation, the headset may further disable the volume adjustment function if no user triggering the third push operation is detected within a second preset time period after the headset volume level is adjusted to the second volume level. Alternatively, the volume adjustment function may be disabled if a continuous force applied to the headset by the user based on the third push operation is detected within the second preset time period after the headset volume level is adjusted to the second volume level.

[0179] For example, Figure 10 is a flow chart of another volume adjustment process provided by an embodiment of the present application. As shown in Figure 10, when a user triggers a push operation 1, the headset activates the volume up function or the volume down function at time 1. At moment 2, the earphone detects that the user cancels push operation 1, and adjusts the volume level of the earphone from volume level 1 to volume level 2. The duration between moment 1 and moment 2 is less than a duration T1, that is, the duration of the force of push operation 1 is less than duration T1, and volume level 1 is the initial volume level of the earphone; after detecting that the user triggers push operation 2 at moment 3, the push operation 2 is canceled, and the volume level of the earphone is adjusted from volume level 2 to volume level 3, and the duration between moment 3 and moment 2 is less than a duration T2; after detecting that the user triggers push operation 3 at moment 4, the push operation 3 is canceled, and the volume level of the earphone is adjusted from volume level 3 to volume level 4, and the duration between moment 4 and moment 3 is less than a duration T2; and so on, after detecting that the user triggers push operation n-1 at moment n, the push operation n-1 is canceled, and the volume level of the earphone is adjusted from volume level n-1 to volume level n, and the duration between moment n and moment n-1 is less than a duration T2. Among them, the preset duration corresponding to the initial volume adjustment (i.e., time duration T1) is greater than the preset duration corresponding to the non-initial volume adjustment (i.e., time duration T2). The volume corresponding to volume level 1, the volume corresponding to volume level 2, the volume corresponding to volume level 3, the volume corresponding to volume level 4, the volume corresponding to volume level n-1, and the volume corresponding to volume level n gradually increase or decrease. If the user is not detected to trigger push operation n and then cancel push operation n within a time duration T2 after time n (for example, push operation n has not been triggered or push operation n has not been canceled after being triggered), the headset turns off the volume adjustment function at time n+1, and the time duration between time n+1 and time n is equal to a time duration T2.

[0180] Example 4: The first condition may include: detecting that the user triggers a first push operation, and the duration of the first push operation is less than a first preset duration. The second condition may include: detecting that the user triggers a second push operation, and the duration of the second push operation is less than the first preset duration.

[0181] When it is detected that the duration of a first user-triggered push operation to apply a force to the earphone in a first direction is less than a first preset duration, the earphone can adjust the volume level of the earphone once when a user-triggered push operation is detected within a preset duration, and the volume corresponding to the adjusted volume unit is greater than the volume corresponding to the volume level before the adjustment. This can be understood as the earphone gradually turning up the volume level of the earphone according to the user-triggered push operation. When it is detected that the duration of a first user-triggered push operation to apply a force to the earphone in a second direction is less than the first preset duration, the earphone can adjust the volume level of the earphone once when a user-triggered push operation is detected within a preset duration, and the volume corresponding to the adjusted volume unit is less than the volume corresponding to the volume level before the adjustment. This can be understood as the earphone gradually turning down the volume level of the earphone according to the user-triggered push operation.

[0182] During the specific implementation process, the headset can detect that the user has triggered the second push operation and adjust the volume level of the headset to the first volume level. The moment when the user is detected to have triggered the second push operation is the first moment, the duration between the first moment and the moment when the volume adjustment function is started is the first duration, and the sum of the first duration and the duration of the force of the second push operation is less than or equal to the second preset duration. The first volume level and the initial volume level are adjacent volume levels. When the headset gradually increases the volume level of the headset, the volume corresponding to the first volume level is greater than the volume corresponding to the initial volume level. When the headset gradually decreases the volume level of the headset, the volume corresponding to the first volume level is less than the volume corresponding to the initial volume level.

[0183] The headset can detect that the user has triggered a third push operation and adjust the volume level of the headset to a second volume level. The moment when the user is detected to have triggered the third push operation is the second moment, the duration between the second moment and the moment when the volume level of the headset is adjusted to the first volume level is the second duration, and the sum of the second duration and the duration of the force of the third push operation is less than or equal to the third preset duration. The second volume level and the first volume level are adjacent volume levels. When the headset gradually increases the volume level, the volume corresponding to the second volume level is greater than the volume corresponding to the first volume level. When the headset gradually decreases the volume level, the volume corresponding to the second volume level is less than the volume corresponding to the first volume level.

[0184] Optionally, the third preset duration can be less than or equal to the second preset duration, which can be understood as the preset duration corresponding to the initial volume adjustment (i.e., the second preset duration) being greater than or equal to the preset duration corresponding to the non-initial volume adjustment (i.e., the third preset duration), thereby reducing the occurrence of user accidental touches. Alternatively, the third preset duration can be greater than the second preset duration, which can be understood as the preset duration corresponding to the initial volume adjustment (i.e., the second preset duration) being less than the preset duration corresponding to the non-initial volume adjustment (i.e., the third preset duration), thereby reserving sufficient time for the headset to detect the user operation of starting the volume adjustment function, thereby avoiding the problem of poor user experience caused by failure to detect the user operation of starting the volume adjustment function. The embodiments of the present application do not make specific limitations on this.

[0185] In one possible implementation, the headset may further disable the volume adjustment function if no user triggering a fourth push operation on the headset is detected within a third preset time period after the headset volume level is adjusted to the second volume level. Alternatively, the volume adjustment function may be disabled if a continuous force applied to the headset by the user based on the fourth push operation is detected within a third preset time period after the headset volume level is adjusted to the second volume level.

[0186] For example, Figure 11 is a flow chart of another volume adjustment process provided by an embodiment of the present application. As shown in Figure 11, when a push operation 1 is detected and the force duration of the push operation 1 is less than the duration T1, the headset activates the volume up function or the volume down function at time 1. After the earphone detects that the user has triggered push operation 2 at moment 2, the push operation 2 is canceled, and the volume level of the earphone is adjusted from volume level 1 to volume level 2. The duration between moment 1 and moment 2 is less than a duration T2, and volume level 1 is the initial volume level of the earphone; after the earphone detects that the user has triggered push operation 3 at moment 3, the push operation 3 is canceled, and the volume level of the earphone is adjusted from volume level 2 to volume level 3. The duration between moment 3 and moment 2 is less than a duration T3; after the earphone detects that the user has triggered push operation 4 at moment 4, the push operation 4 is canceled, and the volume level of the earphone is adjusted from volume level 3 to volume level 4. The duration between moment 4 and moment 3 is less than a duration T3; and so on. After the earphone detects that the user has triggered push operation n at moment n, the push operation n is canceled, and the volume level of the earphone is adjusted from volume level n-1 to volume level n. The duration between moment n and moment n-1 is less than a duration T3. Among them, the preset duration corresponding to the initial volume adjustment (i.e., time duration T2) is greater than the preset duration corresponding to the non-initial volume adjustment (i.e., time duration T3). The volume corresponding to volume level 1, the volume corresponding to volume level 2, the volume corresponding to volume level 3, the volume corresponding to volume level 4, the volume corresponding to volume level n-1, and the volume corresponding to volume level n gradually increase or decrease. If the user is not detected to cancel the push operation n+1 after triggering the push operation n+1 within a time duration T3 after the moment n (for example, the push operation n+1 has not been triggered or the push operation n+1 has not been canceled after being triggered), the headset turns off the volume adjustment function at the moment n+1, and the time duration between the moment n+1 and the moment n is equal to a time duration T3.

[0187] Example 5: The first condition may include: detecting that the user triggers a first push operation and then triggers a second push operation, and the duration of the second push operation is less than a first preset duration. The second condition may include: detecting that the user triggers a third push operation, and the duration of the third push operation is less than the first preset duration. For details regarding Example 5, please refer to the description in Example 4 and will not be repeated here.

[0188] In one possible implementation, after the headset starts the volume adjustment function, the duration of the volume adjustment function can be set, or the number of volume adjustments can be set, so as to avoid the problem of poor user experience caused by failure to detect the user operation of turning off the volume adjustment function. For example, the headset can set the duration between the moment the volume adjustment function is started and the moment the volume adjustment function is turned off to be less than or equal to a first threshold; or the headset can set the number of times the volume level of the headset is adjusted to be less than or equal to a second threshold. It should be understood that the first threshold and the second threshold can be default values ​​or values ​​set by the user as needed, and the embodiments of the present application do not make specific limitations on this.

[0189] In one possible implementation, the headset can determine the difference between volumes corresponding to adjacent volume levels based on the first volume and the second volume, such as the difference between the volume corresponding to volume level 1 and the volume corresponding to volume level 2, and the volume corresponding to volume level 3 and the volume corresponding to volume level 4. The first volume is the volume of the headset when the volume adjustment function is activated (i.e., the volume corresponding to the initial volume level), and the second volume is obtained by the headset based on the ambient volume and / or historical volume, where the historical volume is the volume determined by the user's last volume adjustment.

[0190] During the specific implementation process, take the example of turning up the volume level of the headset. When the first volume is greater than or equal to the second volume, the headset can determine that the difference between the volumes corresponding to adjacent volume levels is a third threshold. The third threshold is the minimum volume adjustment value supported by the headset. Alternatively, when the first volume is less than the second volume, and the difference between the first volume and the second volume is less than the fourth threshold, the headset can determine that the difference between the volumes corresponding to adjacent volume levels is the difference between the first volume and the second volume. The fourth threshold is the maximum volume adjustment value supported by the headset. Alternatively, when the first volume is less than the second volume, and the difference between the first volume and the second volume is greater than or equal to the fourth threshold, the headset can determine that the difference between the volumes corresponding to adjacent volume levels is the fourth threshold. It should be understood that the difference between the first volume and the second volume is an absolute value.

[0191] For example, the headset can adjust the volume level of the headset based on the following formula to gradually increase the volume of the headset:

[0192] Among them, change_volume is the difference between the volumes corresponding to adjacent volume levels, cv is the first volume, pv is the second volume, td is the minimum volume adjustment value supported by the headset, and tm is the maximum volume adjustment value supported by the headset.

[0193] Take the example of adjusting the volume level of the headset to gradually reduce the volume of the headset. When the first volume is less than or equal to the second volume, the headset can determine that the difference between the volumes corresponding to adjacent volume levels is a third threshold. The third threshold is the minimum volume adjustment value supported by the headset. Alternatively, when the first volume is greater than the second volume, and the difference between the first volume and the second volume is less than the fourth threshold, the headset can determine that the difference between the volumes corresponding to adjacent volume levels is the difference between the first volume and the second volume. The fourth threshold is the maximum volume adjustment value supported by the headset. Alternatively, when the first volume is greater than the second volume, and the difference between the first volume and the second volume is greater than or equal to the fourth threshold, the headset can determine that the difference between the volumes corresponding to adjacent volume levels is the fourth threshold. The difference between the first volume and the second volume is an absolute value.

[0194] For example, the headset can adjust the volume level of the headset based on the following formula to gradually reduce the volume of the headset:

[0195] Among them, change_volume is the difference between the volumes corresponding to adjacent volume levels, cv is the first volume, pv is the second volume, td is the minimum volume adjustment value supported by the headset, and tm is the maximum volume adjustment value supported by the headset.

[0196] For another example, the headset can adjust the volume level of the headset based on the curve shown in Figure 12. The first volume cv=8, the minimum volume adjustment value supported by the headset td=1, the maximum volume adjustment value supported by the headset tm=3, and the second volume pv=6. When the volume of the headset increases from the first volume to the volume corresponding to volume level 1, the volume corresponding to volume level 1 is 9, that is, the difference between the volume corresponding to volume level 1 and the first volume is td=1. When the volume of the headset decreases from the first volume to the volume corresponding to volume level 1, the volume corresponding to volume level 1 is 6, that is, the difference between the volume corresponding to volume level 1 and the first volume is cv-pv=2. When the volume of the headset decreases from the volume corresponding to volume level 1 to the volume corresponding to volume level 2, the volume corresponding to volume level 2 is 5, that is, the difference between the volume corresponding to volume level 2 and the volume corresponding to volume level 1 is td=1.

[0197] In an optional embodiment, when the headset starts the volume adjustment function, adjusts the volume level of the headset, and turns off the volume adjustment function, the headset can feed back the current status of the headset to the user by playing audio. For example, when the headset starts the volume adjustment function, the headset can play a "di di di" audio. Alternatively, the headset can also synchronize the current status of the headset to an electronic device, and feed back the current status of the headset to the user through the electronic device. For example, when the headset starts the volume adjustment function, the electronic device can display an interface as shown in Figure 13 on the display screen, which displays information for prompting the user that the headset has started the volume adjustment function, such as "The headset has started the volume adjustment function." For another example, when the headset starts the volume adjustment function, the electronic device can vibrate once to prompt the user that the headset has started the volume adjustment function.

[0198] In an optional embodiment, if the earphone is the earphone 100A that is clamped on the auricle as shown in (1) of Figure 3, the earphone can start the volume adjustment function when the third condition is met. The rotation operation can be an operation of rotating the cantilever arm of the earphone toward the third direction or the fourth direction. The third condition can include detecting that the user triggers the first rotation operation. The volume adjustment function can include a volume increase function and a volume decrease function. The volume increase function corresponds to the third direction, which can be understood as when the rotation operation is an operation of rotating the cantilever arm of the earphone toward the third direction, the volume adjustment function activated by the earphone when the third condition corresponding to the rotation operation is met is the volume increase function. The volume decrease function corresponds to the fourth direction, which can be understood as when the rotation operation is an operation of rotating the cantilever arm of the earphone toward the fourth direction, the volume adjustment function activated by the earphone when the third condition corresponding to the rotation operation is met is the volume decrease function. The earphone can adjust the volume level of the earphone when the fourth condition is met. The fourth condition can include detecting that the user triggers the second rotation operation and then triggering the third rotation operation. The direction corresponding to the second rotation operation is opposite to the direction corresponding to the first rotation operation. The direction corresponding to the third rotation operation is the same as the direction corresponding to the first rotation operation. In a specific implementation, the headset can detect user operations by collecting data from various sensors of the headset (such as motion sensors, etc.).

[0199] For example, FIG14 is a schematic diagram of a volume adjustment scenario provided by an embodiment of the present application, taking the earphone 100A as shown in (1) of FIG3 as an example. As shown in (1) of FIG14, the user can rotate the cantilever arm of the earphone 100A upward to activate the volume-up function, and the user can increase the volume of the earphone by rotating the cantilever arm of the earphone 100A downward and then rotating the cantilever arm of the earphone 100A upward. As shown in (2) of FIG14, the user can rotate the cantilever arm of the earphone 100A downward to activate the volume-down function, and the user can reduce the volume of the earphone by rotating the cantilever arm of the earphone 100A upward and then rotating the cantilever arm of the earphone 100A downward.

[0200] In an optional embodiment, the headset can activate the volume adjustment function when the fifth condition is met. The tapping operation can also be the operation of tapping the first area or the second area around the ear twice. The fifth condition may include detecting a tapping operation triggered by the user. The volume adjustment function may include a volume increase function and a volume decrease function. The volume increase function corresponds to the first area, which can be understood as when the tapping operation is the operation of tapping the first area around the ear twice, the volume adjustment function activated by the headset when the fifth condition corresponding to the tapping operation is met is the volume increase function. The volume decrease function corresponds to the second area, which can be understood as when the tapping operation is the operation of tapping the second area around the ear twice, the volume adjustment function activated by the headset when the fifth condition corresponding to the tapping operation is met is the volume decrease function. The headset can adjust the volume level of the headset when the sixth condition is met. The sixth condition may include detecting a tapping operation triggered by the user. In a specific implementation, the headset can detect user operations by collecting data from various sensors of the headset (such as bone conduction sensors, etc.).

[0201] For example, FIG15 is a schematic diagram of another volume adjustment scenario provided by an embodiment of the present application. As shown in FIG15 (1), the earphone is divided into two left and right areas, area A1 and area A2, with the concha cavity as the center and the vertical direction as the dividing line. The user can tap area A1 twice to activate the volume-up function, and the user can increase the volume of the earphone by tapping area A1 twice; the user can tap area A2 twice to activate the volume-down function, and the user can decrease the volume of the earphone by tapping area A2 twice.

[0202] As shown in (2) of Figure 15 , with the concha cavity as the center and the horizontal direction as the dividing line, the earphones are divided into two upper and lower areas: area B1, C1 and area B2, C2. The user can tap area B1 or area C1 twice to activate the volume up function, and the user can increase the volume of the earphones by tapping area B1 or area C1 twice; the user can tap area B2 or area C2 twice to activate the volume down function, and the user can decrease the volume of the earphones by tapping area B2 or area C2 twice.

[0203] According to the above solution, the headset can activate volume adjustment when a pre-set first condition is met (for example, detecting that the user has triggered a first push operation), thereby improving the volume adjustment method. Because the first push operation involves fewer interactive contacts, the problem of the existing technology that the headset cannot adjust the volume due to the small number of interactive contacts is solved. In addition, in an embodiment of the present application, the headset can adaptively adjust the volume level of the headset (for example, according to a preset duration or preset operation) when a pre-set second condition is met, thereby improving the efficiency of volume adjustment.

[0204] Example 2 Taking the headphone control method provided in the embodiment of the present application as an example for switching the audio played by the headphone, the execution process of switching the audio played by the headphone includes at least three stages: starting audio playback, starting audio switching, and switching audio. The method of each stage is described in detail below.

[0205] 1. Start audio playback

[0206] In the embodiments of the present application, please refer to the relevant content of "playing the first audio at the initial volume level" in "1. Starting volume adjustment" in the above embodiment 1, which will not be repeated here.

[0207] 2. Enable Audio Switch

[0208] In an embodiment of the present application, after the above-mentioned earphones play the first audio at the initial volume level, if the first audio is a switchable audio, the earphones can start the audio switching function when the first condition is met.

[0209] The pushing operation is an operation of applying a force to the earphone in the first direction or the second direction. The first condition may include but is not limited to one or more of the following:

[0210] Detecting that the user triggers a first push operation can be understood as the user not canceling the first push operation after triggering the first push operation, for example, the user pushes the rear end ball of the headset forward (push), that is, the user pushes the headset once and remains in the pushed state;

[0211] Alternatively, after detecting that the user has triggered the first push operation and the duration of the force of the first push operation is less than the first preset duration, it can be understood that the user canceled the first push operation after triggering the first push operation. For example, the user pushes the rear ball of the earphone forward to release the rear ball of the earphone (i.e., push-to-release), that is, the earphone remains in the released state after the user has pushed it once;

[0212] Alternatively, if it is detected that the user triggers the first push operation and then triggers the second push operation, it can be understood that the user triggers the first push operation and then cancels the first push operation and then triggers the second push operation. For example, the user pushes the rear ball of the earphone forward, releases the rear ball of the earphone, and pushes the rear ball forward again (push-release-push), that is, the user pushes the earphone twice and then remains in the pushed state;

[0213] Alternatively, if it is detected that the user triggers the first push operation and then triggers the second push operation, and the duration of the force of the second push operation is less than the first preset duration, it can be understood that the user triggers the first push operation and then cancels the first push operation, then triggers the second push operation and then cancels the second push operation. For example, the user pushes the rear end ball of the earphone forward, releases the rear end ball of the earphone, pushes the rear end ball of the earphone forward again, and releases the rear end ball of the earphone again (push-release, push-release), that is, the user pushes the earphone twice and keeps it in a released state.

[0214] The audio switching function may include an audio switching function for switching to the previous audio or an audio switching function for switching to the next audio. The audio switching function for switching to the previous audio corresponds to a first direction, which can be understood as when the pushing operation is an operation of applying a force to the earphone in the first direction, the audio switching function activated by the earphone when the first condition corresponding to the pushing operation is satisfied is the audio switching function for switching to the previous audio. The audio switching function for switching to the next audio corresponds to a second direction, which can be understood as when the pushing operation is an operation of applying a force to the earphone in the second direction, the audio switching function activated by the earphone when the first condition corresponding to the pushing operation is satisfied is the audio switching function for switching to the next audio.

[0215] It should be understood that switching to the previous audio or switching to the next audio in the embodiment of the present application may refer to switching from playing the first audio at the initial volume level to playing the second audio or the third audio at the first volume level, where the second audio is the previous audio of the first audio, and the third audio is the next audio of the first audio. Alternatively, it may refer to switching from playing the first audio at the initial volume level to preparing to play the second audio or the third audio at the first volume level. It can be understood that after switching to the second audio or the second audio, the second audio or the third audio is not played, but the audio switching function is turned off before playing the second audio or the third audio.

[0216] For example, the current playlist of the music application includes song 1, song 2 and song 3, and the headset plays song 2 at the first volume level. The headset can activate the audio switching function of switching to song 1 or song 3 when the first condition is met.

[0217] In a specific implementation, the headset can detect user operations by collecting data from various sensors of the headset (such as a capacitive sensor, a motion sensor, or a bone conduction sensor, etc.).

[0218] 3. Switch audio

[0219] After the headset activates the audio switching function for switching to the previous audio when the first condition is met, the headset can switch to the previous audio when the second condition is met. Alternatively, after the headset activates the audio switching function for switching to the next audio when the first condition is met, the headset can switch to the next audio when the second condition is met.

[0220] The second condition may include but is not limited to one or more of the following:

[0221] Detecting that the duration of the force of the first push operation or the second push operation triggered by the user is greater than or equal to the first preset duration can be understood as the user not canceling the first push operation or the second push operation within the first preset duration after the user triggers the first push operation or the second push operation, or can be understood as the headset detecting that the user continuously applies a force to the headset based on the first push operation or the second push operation within the first preset duration after the user triggers the first push operation or the second push operation;

[0222] Alternatively, if the duration of the force of the first push operation or the second push operation triggered by the user is detected to be less than the first preset duration, it can be understood that the user cancels the first push operation or the second push operation within the first preset duration after the user triggers the first push operation or the second push operation, or it can be understood that the headset does not detect the force continuously applied to the headset by the user based on the first push operation or the second push operation within the first preset duration after the user triggers the first push operation or the second push operation;

[0223] Alternatively, it is detected that the user triggers a second push operation, and the duration of the force of the second push operation is less than the first preset duration;

[0224] Alternatively, it is detected that the user triggers a third pushing operation, and the duration of the force of the third pushing operation is less than the first preset duration.

[0225] It should be understood that the specific implementation of switching the earphone to the previous audio or switching to the next audio can be specifically referred to the relevant content in "II. Adjusting the Volume" in the above embodiment 1, which will not be repeated here.

[0226] Based on the above embodiments and the same concept, the present application further provides a headset control method, which can be executed by the headset shown in Figures 1 and 2.

[0227] FIG16 is a flow chart of a headphone control method provided by an embodiment of the present application. Referring to FIG16 , the method includes the following steps:

[0228] S1601: Detecting that a user triggers a first pushing operation to apply force to the earphone in a first direction or a second direction, and starting a volume adjustment function.

[0229] The first direction corresponds to the volume-up function in the volume adjustment function, and the second direction corresponds to the volume-down function in the volume adjustment function. Detailed description of S1601 can be found in "I. Starting Volume Adjustment", which will not be repeated here.

[0230] S1602: After the volume adjustment function is activated, it is detected that the duration of the force of the first pushing operation is greater than or equal to the first preset duration, and the volume level of the earphone is adjusted.

[0231] For details about S1602, please refer to the description in "II. Adjusting the Volume", which will not be repeated here.

[0232] It should be noted that the specific implementation process provided in the above example is only an example of the method process applicable to the embodiment of the present application. The execution order of each step can be adjusted accordingly according to actual needs, and other steps can be added or some steps can be reduced.

[0233] Based on the above embodiments and the same concept, an embodiment of the present application further provides an earphone, which is used to implement the method performed by the earphone provided in the embodiment of the present application.

[0234] As shown in FIG17 , the headset 1700 may include a memory 1701 , one or more processors 1702 , and one or more computer programs (not shown). The aforementioned components may be coupled via one or more communication buses 1703 .

[0235] Among them, one or more computer programs (codes) are stored in the memory 1701, and one or more computer programs include computer instructions; one or more processors 1702 call the computer instructions stored in the memory 1701, so that the headset 1700 executes the headset control method provided in the embodiment of the present application.

[0236] In a specific implementation, the memory 1701 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage devices, flash memory devices or other non-volatile solid-state storage devices. The memory 1701 can store an operating system (hereinafter referred to as system), such as ANDROID, IOS, WINDOWS, or embedded operating systems such as LINUX. The memory 1701 can be used to store the implementation program of the embodiment of the present application. The memory 1701 can also store a network communication program, which can be used to communicate with one or more additional devices, one or more user devices, or one or more network devices. The one or more processors 1702 can be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.

[0237] It should be noted that FIG17 is only one implementation of the earphone 1700 provided in an embodiment of the present application. In actual applications, the earphone 1700 may also include more or fewer components, which is not limited here.

[0238] Based on the above embodiments and the same concept, an embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program runs on a computer, the computer executes the method performed by the headset in the method provided in the above embodiment.

[0239] Based on the above embodiments and the same concept, an embodiment of the present application also provides a computer program product, which includes a computer program or instructions. When the computer program or instructions are run on a computer, the computer executes the method performed by the headset in the method provided in the above embodiment.

[0240] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0241] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each flow and / or box in the flow chart and / or block diagram, as well as the combination of the flow chart and / or box in the flow chart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more flow charts and / or one or more boxes in the block diagram.

[0242] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0243] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0244] Obviously, those skilled in the art may make various changes and modifications to this application without departing from the spirit and scope of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalents, this application is intended to include these modifications and variations.

Claims

1. A method for controlling a headset, characterized in that: Applicable to headphones, including: Detecting that a user triggers a first pushing operation to apply a force to the earphone in a first direction or a second direction, starting a volume adjustment function, wherein the first direction corresponds to a volume increase function in the volume adjustment function, and the second direction corresponds to a volume decrease function in the volume adjustment function; After the volume adjustment function is started, it is detected that the duration of the force of the first pushing operation is greater than or equal to a first preset duration, and the volume level of the earphone is adjusted.

2. The method according to claim 1, characterized in that The step of adjusting the volume level of the earphone comprises: At a first moment, adjusting the volume level of the earphone to a first volume level; At a second moment, the volume level of the earphone is adjusted to a second volume level, and the second moment is after the first moment.

3. The method according to claim 2, characterized in that The duration between the first moment and the moment when the volume adjustment function is started is equal to a second preset duration, and the duration between the second moment and the first moment is equal to a third preset duration.

4. The method according to claim 2 or 3, characterized in that: The method further comprises: It is detected that the user cancels the first pushing operation on the earphone, and the volume adjustment function is turned off.

5. The method according to claim 1, characterized in that The step of adjusting the volume level of the earphone comprises: Detecting that the user triggers a second push operation on the earphone, adjusting the volume level of the earphone to a third volume level; It is detected that the user triggers a third pushing operation on the earphone, and the volume level of the earphone is adjusted to a fourth volume level.

6. The method according to claim 5, characterized in that The moment when the user triggers the second push operation on the earphone is detected as a third moment, and the duration between the third moment and the moment of starting the volume adjustment function is less than or equal to a fourth preset duration. The moment when the user triggers the third push operation on the earphone is detected as a fourth moment, and the duration between the fourth moment and the third moment is less than or equal to a fifth preset duration.

7. The method according to claim 6, characterized in that The method further comprises: Within the fifth preset time period after the volume level of the earphone is adjusted to the fourth volume level, if no fourth pushing operation on the earphone triggered by the user is detected, the volume adjustment function is turned off.

8. The method according to any one of claims 1 to 7, characterized in that: The duration between the moment when the volume adjustment function is started and the moment when the volume adjustment function is closed is less than or equal to a first threshold; or, The number of times the volume level of the earphone is adjusted is less than or equal to a second threshold.

9. A method for controlling earphones, characterized in that: Applicable to headphones, including: Detecting that a user triggers a first pushing operation to apply a force to the earphone in a first direction or a second direction, starting a volume adjustment function, wherein the first direction corresponds to a volume increase function in the volume adjustment function, and the second direction corresponds to a volume decrease function in the volume adjustment function; After the volume adjustment function is started, it is detected that the duration of the force of the first pushing operation is less than a first preset duration, and the volume level of the earphone is adjusted.

10. The method according to claim 9, characterized in that The step of adjusting the volume level of the earphone comprises: Based on the first pushing operation, adjusting the volume level of the earphone to a first volume level; It is detected that the user triggers a second push operation on the earphone, and the volume level of the earphone is adjusted to a second volume level.

11. The method according to claim 10, characterized in that The moment when the volume level of the earphone is adjusted to the first volume level is the first moment, the moment when the user is detected to trigger the second push operation on the earphone is the second moment, the duration between the first moment and the second moment is the first duration, and the sum of the first duration and the force duration of the second push operation is less than or equal to the second preset duration.

12. The method according to claim 11, characterized in that The method further comprises: within the second preset time after the volume level of the headset is adjusted to the second volume level, if no user triggering a third push operation on the headset is detected, the volume adjustment function is turned off; or, Within the second preset time period after the volume level of the earphone is adjusted to the second volume level, it is detected that the user continuously applies a force to the earphone based on a third pushing operation, and the volume adjustment function is turned off.

13. The method according to any one of claims 9 to 12, characterized in that: The duration between the moment when the volume adjustment function is started and the moment when the volume adjustment function is closed is less than or equal to a first threshold; or, The number of times the volume level of the earphone is adjusted is less than or equal to a second threshold.

14. The method according to any one of claims 1 to 13, characterized in that: The first pushing operation includes tapping the control part of the earphone and maintaining contact with the control part after tapping; the control part includes the front end ball or the rear end ball of the earphone; wherein the front end ball is connected to the rear end ball through a bent cantilever arm.

15. The method according to any one of claims 1 to 13, characterized in that The first pushing operation includes contacting a control portion of the headset and then pushing the control portion; the control portion includes a front ball or a rear ball of the headset; wherein the front ball is connected to the rear ball via a curved cantilever arm.

16. A method for controlling an earphone, characterized in that: Applied to open-ear headphones, the method comprises: In response to a first pushing operation of striking and holding the front ball of the open-type earphone along a first direction, a volume adjustment function is activated; wherein the front ball is connected to the rear ball via a curved cantilever arm; Based on the duration of the first pushing operation being greater than or equal to a preset duration, the volume level of the open-ear headphones is increased.

17. The method according to claim 16, characterized in that The method further comprises: In response to a second pushing operation of striking and holding the rear end ball in a second direction, activating the volume adjustment function; the second direction is different from the first direction; Based on the duration of the second pushing operation being greater than or equal to the preset duration, the volume level of the open-ear headphones is reduced.

18. The method according to claim 16 or 17, characterized in that: The method further comprises: After the volume adjustment function is activated, in response to an operation of tapping the front ball along the first direction, the volume level of the open-ear headphones is increased.

19. A headset, characterized in that: The earphone comprises: a processor, a memory, and one or more programs; The one or more programs are stored in the memory, and the one or more programs include instructions, and when the instructions are executed by the processor, the headset executes the method as described in any one of claims 1-18.

20. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store a computer program, and when the computer program is run on a computer, the computer is caused to execute the method according to any one of claims 1 to 18.

Citation Information

Patent Citations

  • Method for controlling volume of intelligent electronic equipment

    CN110087160A

  • Earphone interaction method and earphone

    CN112468922A

  • Earphone volume adjusting method and device

    CN113727231A

  • Sensor module and earphone

    CN113810809A

  • Volume adjustment method and device of wireless earphone, wireless earphone and storage medium

    CN114827804A