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 of low volume adjustment efficiency of OWS headsets is solved and the user experience is improved.
Patent Information
- Application Number
- CN202410268442.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-12-08
- Filing Date
- 2024-03-06
- Publication Date
- 2025-06-10
AI Technical Summary
Open wearable stereo headphones (OWS headphones) are inefficient in volume adjustment and cannot perform complex interactive tasks, affecting the user experience.
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.
Improves the efficiency and user experience of volume adjustment, making OWS headsets more convenient to perform volume adjustment tasks.
Smart Images

Figure CN120128843A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of earphones, and in particular, to an earphone control method and an earphone. Background Art
[0002] In order to meet the needs of users such as comfortable wearing, ear health, and hearing health, the types of earphones are becoming increasingly rich. For example, wireless earphones include true wireless stereo (TWS) earphones, open wearable stereo (OWS) earphones, etc. Among them, the device forms of TWS earphones and OWS earphones are different. TWS earphones adopt an in-ear or semi-in-ear structure, while OWS earphones adopt a non-in-ear structure, and there are products with different forms around the ear, on the auricle, and inside the ear.
[0003] Due to the fewer interaction contacts of OWS earphones, OWS earphones can only perform simple interaction tasks such as answering and making calls, and music playing. For example, OWS earphones support tapping operations, and perform interaction tasks such as answering and making calls, and music playing by tapping the skin around the ear or the earphone itself 2 or 3 times. Alternatively, OWS earphones support pinching operations, and perform interaction tasks such as answering and making calls, and music playing by pinching the earphone itself 1, 2, or 3 times. For complex interaction tasks such as volume adjustment, OWS earphones cannot perform them or the execution efficiency is low, which affects the user experience.
[0004] Therefore, how to improve the volume adjustment method of OWS earphones is an important problem that needs to be solved currently. Summary of the Invention
[0005] An embodiment of this application provides an earphone control method and an earphone for improving the volume adjustment method and improving the volume adjustment efficiency.
[0006] In a first aspect, an embodiment of this application provides an earphone control method. This method is applicable to an earphone, and the method includes: detecting a first pushing operation in which a user triggers to apply a force to the earphone in a first direction or a second direction, and starting a volume adjustment function, where 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 starting the volume adjustment function, detecting that the acting force duration of the first pushing operation is greater than or equal to a first preset duration, and adjusting the volume level of the earphone.
[0007] In the embodiments of the present application, the earphone can start volume adjustment when detecting that the user triggers a first pushing operation on the earphone, which improves the volume adjustment method. Moreover, the first pushing operation involves fewer interaction contacts, solving the problem in the prior art that the volume cannot be adjusted due to fewer interaction contacts of the earphone. In addition, in the embodiments of the present application, the earphone can adaptively adjust the volume level of the earphone (e.g., according to a preset duration or a preset operation) when detecting that the acting force duration of the first pushing operation is greater than or equal to a first preset duration, improving the volume adjustment efficiency.
[0008] Exemplarily, the volume levels of the earphone can include levels from 0 to 100. Alternatively, for the levels from 0 to 100, the earphone can adjust the volume three times every 20 levels. For example, when increasing the volume from level 0 to level 20, while maintaining the first pushing operation, the earphone can adjust the volume three times to increase the volume to level 20. During this period, the earphone can play three volume-increasing prompt tones to remind the user.
[0009] In a possible implementation manner, the first pushing operation can include tapping the control part of the earphone and then keeping in contact with the control part after tapping. The control part includes the front ball or the rear ball of the earphone, and the front ball is connected to the rear ball through a curved suspension arm.
[0010] In a possible implementation manner, the first pushing operation can include contacting the control part of the earphone and then pushing the control part. The control part includes the front ball or the rear ball of the earphone, and the front ball is connected to the rear ball through a curved suspension arm.
[0011] In a possible implementation manner, adjusting the volume level of the earphone includes: at a first moment, adjusting the volume level of the earphone to a first volume level; at a second moment, adjusting the volume level of the earphone to a second volume level, where the second moment is after the first moment.
[0012] In this implementation manner, the earphone can adaptively adjust the volume level of the earphone according to time. For example, when reaching the first moment, the volume level of the earphone is adjusted to the first volume level, and when reaching the second moment, the volume level of the earphone is adjusted to the second volume level, and so on, improving the volume adjustment efficiency.
[0013] In a possible implementation manner, 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.
[0014] In this embodiment, when the earphone adaptively adjusts the volume level of the earphone according to time, the volume level of the earphone can be adjusted once every preset duration. The preset duration corresponding to the first adjustment of the volume level of the earphone is the second preset duration, and the preset duration corresponding to the non-first adjustment of the volume level of the earphone is the third preset duration. Among them, the third preset duration can be less than or equal to the second preset duration, reducing the occurrence of accidental touches by the user. Alternatively, the third preset duration can be greater than the second preset duration, so as to reserve sufficient time for the earphone to detect the user operation that activates the volume adjustment function, and avoid the problem of poor user experience caused by the failure to detect the user operation that activates the volume adjustment function.
[0015] In a possible embodiment, the method further includes: detecting that the user cancels the first pushing operation on the earphone, and turning off the volume adjustment function.
[0016] In this embodiment, a way to turn off the volume adjustment is provided, that is, detecting that the user cancels the previous pushing operation on the earphone (for example, cancels the first pushing operation on the earphone).
[0017] In a possible embodiment, adjusting the volume level of the earphone includes: detecting that the user triggers a second pushing operation on the earphone, and adjusting the volume level of the earphone to the third volume level; detecting that the user triggers a third pushing operation on the earphone, and adjusting the volume level of the earphone to the fourth volume level.
[0018] In this embodiment, the earphone can adaptively adjust the volume level of the earphone according to the pushing operation triggered by the user. For example, when the user cancels the previous first pushing operation on the earphone and then triggers a second pushing operation on the earphone, the volume level of the earphone is adjusted to the third volume level. When the user cancels the previous second pushing operation on the earphone and then triggers a third pushing operation on the earphone, the volume level of the earphone is adjusted to the fourth volume level, and so on, improving the volume adjustment efficiency.
[0019] In a possible embodiment, the moment when it is detected that the user triggers the second pushing operation on the earphone is the third moment, the duration between the third moment and the moment when the volume adjustment function is activated is less than or equal to the fourth preset duration, the moment when it is detected that the user triggers the third pushing operation on the earphone is the fourth moment, and the duration between the fourth moment and the third moment is less than or equal to the fifth preset duration.
[0020] In this implementation, when the earphone can adaptively adjust the volume level of the earphone according to the pushing operation of the earphone triggered by the user, if a pushing operation of the earphone triggered by the user is detected once within a preset duration (that is, pushing the earphone after releasing the earphone), the volume level of the earphone is adjusted once. The preset duration corresponding to the initial adjustment of the volume level of the earphone is the fourth preset duration, and the preset duration corresponding to the non-initial adjustment of the volume level of the earphone is the fifth preset duration. Among them, the fifth preset duration can be less than or equal to the fourth preset duration, reducing the occurrence of accidental touches by the user. Or, the fifth preset duration can be greater than the fourth preset duration, so as to reserve sufficient time for the earphone to detect the user operation to activate the volume adjustment function, and avoid the problem of poor user experience caused by the failure to detect the user operation to activate the volume adjustment function.
[0021] In a possible implementation, the method further includes: within the fifth preset duration after the volume level of the earphone is adjusted to the fourth volume level, if no fourth pushing operation of the earphone triggered by the user is detected, the volume adjustment function is turned off.
[0022] In this implementation, a way to turn off the volume adjustment is provided, that is, no pushing operation of the earphone triggered by the user is detected again within a preset duration (for example, canceling the third pushing operation of the earphone and triggering the fourth pushing operation of the earphone).
[0023] In a possible implementation, the duration between the moment when the volume adjustment function is activated and the moment when the volume adjustment function is turned off is less than or equal to the first threshold; or, the number of times of adjusting the volume level of the earphone is less than or equal to the second threshold.
[0024] In this implementation, the duration of the volume adjustment function (that is, the first threshold) or the number of times of volume adjustment (that is, the second threshold) is set. For example, if the number of times of volume adjustment is set to 3 times, then after the current user activates the volume adjustment function, the volume can be adjusted at most three times, solving the problem of poor user experience caused by the failure to detect the user operation to turn off the volume adjustment function.
[0025] In a possible implementation, when the volume increase function in the volume adjustment function is activated, the first volume is the volume of the earphone at the moment when the volume adjustment function is activated, and the second volume is the volume obtained by the earphone 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 the third threshold, where the third threshold is the minimum volume adjustment value supported by the earphone; 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 the 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 earphone; 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 earphone.
[0026] In this implementation, when gradually increasing the volume of the earphone, the earphone can determine the difference between the volumes corresponding to adjacent volume levels based on whether the first volume is greater than the second volume and whether the difference between the first volume and the second volume is greater than the maximum volume adjustment value supported by the earphone. For example, when the first volume is greater than or equal to the second volume, if the earphone should decrease the volume to play the audio at the second volume but the user's operation is to increase the volume, considering the user experience, the minimum volume adjustment value supported by the earphone is selected as the difference between the volumes corresponding to adjacent volume levels; when the first volume is less than the second volume, if the earphone should increase the volume to play the audio at the second volume and the user's operation is also to increase the volume, so for the purpose of quickly adjusting to the second volume, if the difference between the first volume and the second volume is less than the maximum volume adjustment value supported by the earphone at this time, the difference between the first volume and the second volume is selected as the difference between the volumes corresponding to adjacent volume levels, and if the difference between the first volume and the second volume is greater than or equal to the maximum volume adjustment value supported by the earphone, the maximum volume adjustment value supported by the earphone is selected as the difference between the volumes corresponding to adjacent volume levels. Thus, the volume adjustment efficiency is improved.
[0027] In a possible implementation manner, when starting the volume-down function in the volume adjustment function, the first volume is the volume of the earphone at the moment when the volume adjustment function is started, and the second volume is the volume obtained by the earphone according to 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, and the third threshold is the minimum volume adjustment value supported by the earphone; 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, and the fourth threshold is the maximum volume adjustment value supported by the earphone; 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 the fourth threshold, determining that the difference between the volumes corresponding to adjacent volume levels is the fourth threshold, and the fourth threshold is the maximum volume adjustment value supported by the earphone.
[0028] In this implementation manner, when the earphone gradually reduces the volume of the earphone, it can determine the difference between the volumes corresponding to adjacent volume levels according to whether the first volume is greater than the second volume and whether the difference between the first volume and the second volume is greater than the maximum volume adjustment value supported by the earphone. For example, when the first volume is less than or equal to the second volume, if the earphone needs to increase the volume to play the audio at the second volume, but the user operation is to decrease the volume, considering the user experience, the minimum volume adjustment value supported by the earphone is selected as the difference between the volumes corresponding to adjacent volume levels; when the first volume is greater than the second volume, if the earphone needs to decrease the volume to play the audio at the second volume, and the user operation is also to decrease the volume, so for the purpose of adjusting to the second volume as soon as possible, at this time, if the difference between the first volume and the second volume is less than the maximum volume adjustment value supported by the earphone, the difference between the first volume and the second volume is selected as the difference between the volumes corresponding to adjacent volume levels, and if the difference between the first volume and the second volume is greater than or equal to the maximum volume adjustment value supported by the earphone, the maximum volume adjustment value supported by the earphone is selected as the difference between the volumes corresponding to adjacent volume levels. Thereby improving the volume adjustment efficiency.
[0029] In a second aspect, an earphone control method is further provided in an embodiment of the present application. The method is applicable to an earphone and includes: detecting a first push operation in which a user triggers applying a force to the earphone in a first direction or a second direction, and starting a volume adjustment function, where 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; after starting the volume adjustment function, detecting that the acting time of the first push operation is less than a first preset time, and adjusting the volume level of the earphone.
[0030] In a possible implementation, the first pushing operation may include tapping the control part of the earphone and keeping in contact with the control part after tapping. The control part includes the front ball or the rear ball of the earphone, and the front ball is connected to the rear ball through a curved suspension arm.
[0031] In a possible implementation, the first pushing operation may include contacting the control part of the earphone and then pushing the control part. The control part includes the front ball or the rear ball of the earphone, and the front ball is connected to the rear ball through a curved suspension arm.
[0032] In the embodiment of the present application, the earphone can start volume adjustment when detecting that the user triggers the first pushing operation on the earphone, improving the volume adjustment method. And the interaction contacts involved in the first pushing operation are fewer, solving the problem in the prior art that the volume cannot be adjusted due to fewer interaction contacts of the earphone. In addition, in the embodiment of the present application, when the earphone detects that the acting force duration of the first pushing operation is less than the first preset duration, it can adaptively adjust the volume level of the earphone (for example, according to a preset operation), improving the volume adjustment efficiency.
[0033] In a possible implementation, adjusting the volume level of the earphone includes: based on the first pushing operation, adjusting the volume level of the earphone to a first volume level; when detecting that the user triggers a second pushing operation on the earphone, adjusting the volume level of the earphone to a second volume level.
[0034] In this implementation, the earphone can adaptively adjust the volume level of the earphone according to the pushing operation triggered by the user. For example, when the user cancels the previously triggered first pushing operation on the earphone, the volume level of the earphone is adjusted to the first volume level. When the user triggers the second pushing operation on the earphone, the volume level of the earphone is adjusted to the fourth volume level, and so on, improving the volume adjustment efficiency.
[0035] In a possible implementation, the moment when the volume level of the earphone is adjusted to the first volume level is the first moment, and the moment when detecting that the user triggers the second pushing 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 acting force duration of the second pushing operation is less than or equal to the second preset duration.
[0036] In this embodiment, when the earphone can adaptively adjust the volume level of the earphone according to the pushing operation of the earphone triggered by the user, if a pushing operation of the earphone triggered by the user and the cancellation of the pushing operation of the earphone (i.e., pushing the earphone and then releasing the earphone) are detected within a preset duration, the volume level of the earphone is adjusted once. The preset duration corresponding to the initial adjustment of the volume level of the earphone is the first preset duration, and the preset duration corresponding to the non-initial adjustment of the volume level of the earphone is the second preset duration. Among them, the second preset duration can be less than or equal to the first preset duration, reducing the occurrence of accidental touches by the user. Or, the second preset duration can be greater than the first preset duration, so as to reserve sufficient time for the earphone to detect the user operation to activate the volume adjustment function and avoid the problem of poor user experience caused by the failure to detect the user operation to activate the volume adjustment function.
[0037] In a possible implementation manner, the method further includes: within the second preset duration after the volume level of the earphone is adjusted to the second volume level, if no third pushing operation of the earphone triggered by the user is detected, the volume adjustment function is turned off; or, within the second preset duration after the volume level of the earphone is adjusted to the second volume level, if a force continuously applied to the earphone by the user based on the third pushing operation is detected, the volume adjustment function is turned off.
[0038] In this embodiment, two ways to turn off the volume adjustment are provided. For example, within a preset duration, no pushing operation of the earphone triggered by the user is detected (such as no third pushing operation of the earphone triggered by the user is detected), or, within a preset duration, a pushing operation of the earphone triggered by the user is detected but the pushing operation is not cancelled all the time (such as a third pushing operation of the earphone triggered by the user is detected but no cancellation of the third pushing operation of the earphone by the user is detected).
[0039] In a possible implementation manner, the duration between the moment when the volume adjustment function is activated and the moment when the volume adjustment function is turned off is less than or equal to the first threshold; or, the number of times of adjusting the volume level of the earphone is less than or equal to the second threshold.
[0040] In this embodiment, the duration of the volume adjustment function (i.e., the first threshold) or the number of times of volume adjustment (i.e., the second threshold) is set. For example, if the number of times of volume adjustment is set to 3 times, then after the current user activates the volume adjustment function, the volume can be adjusted at most three times, solving the problem of poor user experience caused by the failure to detect the user operation to turn off the volume adjustment function.
[0041] In a possible implementation, when the volume-up function in the volume adjustment function is activated, the first volume is the volume of the earphone at the moment when the volume adjustment function is activated, and the second volume is the volume obtained by the earphone 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 the third threshold, where the third threshold is the minimum volume adjustment value supported by the earphone; 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 the 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 earphone; 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 earphone.
[0042] In this implementation, when gradually increasing the volume of the earphone, the earphone can determine the difference between the volumes corresponding to adjacent volume levels based on whether the first volume is greater than the second volume and whether the difference between the first volume and the second volume is greater than the maximum volume adjustment value supported by the earphone. For example, if the first volume is greater than or equal to the second volume, to play the audio at the second volume, the volume should be decreased, but the user's operation is to increase the volume. Considering the user experience, the minimum volume adjustment value supported by the earphone is selected as the difference between the volumes corresponding to adjacent volume levels; if the first volume is less than the second volume, to play the audio at the second volume, the volume should be increased, and the user's operation is also to increase the volume. Therefore, for the purpose of quickly adjusting to the second volume, if the difference between the first volume and the second volume is less than the maximum volume adjustment value supported by the earphone, the difference between the first volume and the second volume is selected as the difference between the volumes corresponding to adjacent volume levels. If the difference between the first volume and the second volume is greater than or equal to the maximum volume adjustment value supported by the earphone, the maximum volume adjustment value supported by the earphone is selected as the difference between the volumes corresponding to adjacent volume levels. This improves the volume adjustment efficiency.
[0043] In a possible implementation, the volume-down function in the volume adjustment function is activated. The first volume is the volume of the earphone at the moment when the volume adjustment function is activated, and the second volume is the volume obtained by the earphone 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 the third threshold, where the third threshold is the minimum volume adjustment value supported by the earphone; 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 the 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 earphone; 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 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 earphone.
[0044] In this implementation, when gradually reducing the volume of the earphone, the earphone can determine the difference between the volumes corresponding to adjacent volume levels based on whether the first volume is greater than the second volume and whether the difference between the first volume and the second volume is greater than the maximum volume adjustment value supported by the earphone. For example, when the first volume is less than or equal to the second volume, if the earphone is supposed to increase the volume to play the audio at the second volume but the user's operation is to decrease the volume, considering the user experience, the minimum volume adjustment value supported by the earphone is selected as the difference between the volumes corresponding to adjacent volume levels; when the first volume is greater than the second volume, if the earphone is supposed to decrease the volume to play the audio at the second volume and the user's operation is also to decrease the volume, then for the purpose of adjusting to the second volume as soon as possible, if the difference between the first volume and the second volume is less than the maximum volume adjustment value supported by the earphone, the difference between the first volume and the second volume is selected as the difference between the volumes corresponding to adjacent volume levels, and if the difference between the first volume and the second volume is greater than or equal to the maximum volume adjustment value supported by the earphone, the maximum volume adjustment value supported by the earphone is selected as the difference between the volumes corresponding to adjacent volume levels. Thereby, the volume adjustment efficiency is improved.
[0045] In a third aspect, an embodiment of the present application further provides a headphone control method, which is applicable to headphones. The method includes: after detecting a first push operation in which the user triggers an acting force on the headphones in a first direction or a second direction, triggering a second push operation on the headphones, and starting a volume adjustment function, where 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, when it is detected that the acting force duration of the second push operation is greater than or equal to a first preset duration, adjusting the volume level of the headphones.
[0046] The beneficial effects in the above third aspect and its possible designs can refer to the description of the beneficial effects of the method in the above first aspect and any of its possible designs.
[0047] In a fourth aspect, an embodiment of the present application further provides a headphone control method, which is applicable to headphones. The method includes: after detecting a first push operation in which the user triggers an acting force on the headphones in a first direction or a second direction, triggering a second push operation on the headphones, and starting a volume adjustment function, where 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, when it is detected that the acting force duration of the second push operation is less than the first preset duration, adjusting the volume level of the headphones.
[0048] The beneficial effects in the above fourth aspect and its possible designs can refer to the description of the beneficial effects of the method in the above second aspect and any of its possible designs.
[0049] In a fifth aspect, an embodiment of the present application further provides a headphone control method, which is applicable to headphones. The method includes: after detecting a first push operation in which the user triggers an acting force on the headphones in a first direction or a second direction and the acting force duration of the second push operation is less than the first preset duration, triggering a second push operation on the headphones and starting a volume adjustment function, where 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, when it is detected that the user triggers a third push operation on the headphones and the acting force duration of the third push operation is less than the first preset duration, adjusting the volume level of the headphones.
[0050] The beneficial effects in the above fifth aspect and its possible designs can refer to the description of the beneficial effects of the method in the above second aspect and any of its possible designs.
[0051] In a sixth aspect, an embodiment of the present application further provides a headphone control method, which is applicable to headphones. The method includes: detecting a first pushing operation in which a user triggers an acting force on the headphones in a first direction or a second direction, and the acting force duration of the first pushing operation is less than a first preset duration, and starting a volume adjustment function, where 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 starting the volume adjustment function, detecting a second pushing operation on the headphones triggered by the user, and the acting force duration of the second pushing operation is less than the first preset duration, and adjusting the volume level of the headphones.
[0052] The beneficial effects in the above sixth aspect and its possible designs can refer to the description of the beneficial effects of the method in the above second aspect and any of its possible designs.
[0053] In a seventh aspect, an embodiment of the present application further provides a headphone control device. The headphone control device has the function of implementing the behaviors in the method embodiments described in the above first aspect or any of its possible designs, or the above second aspect or any of its possible designs, or the above third aspect or any of its possible designs, or the above fourth aspect or any of its possible designs, or the above fifth aspect or any of its possible designs, or the above sixth aspect or any of its possible designs. The headphone control device may be the headphone described in the above first aspect, or the above second aspect, or the above third aspect, or the above fourth aspect, or the above fifth aspect, or the above sixth aspect, or a functional module (such as a chip system) configured in the headphone, or a larger device including the headphone. The headphone includes corresponding means or modules for executing the above method. For example, the headphone 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).
[0054] Optionally, the processing unit is configured to detect a first pushing operation in which a user triggers an acting force on the headphones in a first direction or a second direction, start a volume adjustment function, where 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 starting the volume adjustment function, when detecting that the acting force duration of the first pushing operation is greater than or equal to a first preset duration, adjust the volume level of the headphones.
[0055] Optionally, a processing unit is configured to detect a first pushing operation in which a user applies a force to the earphone in a first direction or a second direction, and activate 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 activating the volume adjustment function, if the duration of the force of the first pushing operation is less than a first preset duration, the volume level of the earphone is adjusted.
[0056] Optionally, a processing unit is configured to detect a second pushing operation on the earphone after detecting a first pushing operation in which a user applies a force to the earphone in a first direction or a second direction, and activate 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 activating the volume adjustment function, if the duration of the force of the second pushing operation is greater than or equal to a first preset duration, the volume level of the earphone is adjusted.
[0057] Optionally, a processing unit is configured to detect a second pushing operation on the earphone after detecting a first pushing operation in which a user applies a force to the earphone in a first direction or a second direction, and activate 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 activating the volume adjustment function, if the duration of the force of the second pushing operation is less than a first preset duration, the volume level of the earphone is adjusted.
[0058] Optionally, a processing unit is configured to detect a second pushing operation on the earphone after detecting a first pushing operation in which a user applies a force to the earphone in a first direction or a second direction, and the duration of the force of the second pushing operation is less than a first preset duration, and activate 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 activating the volume adjustment function, if a third pushing operation on the earphone is detected and the duration of the force of the third pushing operation is less than the first preset duration, the volume level of the earphone is adjusted.
[0059] Optionally, a processing unit is configured to detect a first pushing operation in which a user applies a force to the earphone in a first direction or a second direction, and the acting duration of the first pushing operation is less than a first preset duration, and then start a volume adjustment function. The first direction corresponds to the volume increasing function in the volume adjustment function, and the second direction corresponds to the volume decreasing function in the volume adjustment function. After starting the volume adjustment function, when detecting a second pushing operation on the earphone by the user and the acting duration of the second pushing operation is less than the first preset duration, adjust the volume level of the earphone.
[0060] In an eighth aspect, an embodiment of the present application further provides an earphone, which includes 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 that, when executed by the processor, cause 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.
[0061] In a ninth aspect, an embodiment of the present application further provides a computer-readable storage medium for storing a computer program, which, when running on a computer, causes the computer 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.
[0062] In a tenth aspect, an embodiment of the present application further provides a computer program product, including a computer program that, when running on a computer, causes the computer 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 an eleventh aspect, an embodiment of the present application further provides a chip system, including a processor and an interface. The processor is configured to call and run instructions from the interface, so that the chip system executes the method described in the above first aspect or any possible design of the first aspect, or the above second aspect or any possible design of the second aspect, or the above third aspect or any possible design of the third aspect, or the above fourth aspect or any possible design of the fourth aspect, or the above fifth aspect or any possible design of the fifth aspect, or the above sixth aspect or any possible design of the sixth aspect.
[0064] In a twelfth aspect, the present application further provides a headphone control method, which can be applied to an open-ear headphone. 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 suspension arm. Based on the duration of the first pushing operation being greater than or equal to a preset duration, increasing the volume level of the open-ear headphone. Based on this, the user can adjust the volume of the open-ear headphone by pushing the open-ear headphone with a finger, in line with the natural forward and backward swinging habit of the user's arm. Compared with other volume adjustment methods, the operation difficulty of volume adjustment can also be reduced.
[0065] In a possible implementation, the method further includes: in response to a second pushing operation of tapping and holding the rear ball of the headphone along a second direction, starting a volume adjustment function, where the second direction is different from the first direction. Based on the duration of the second pushing operation being greater than or equal to a preset duration, decreasing the volume level of the open-ear headphone.
[0066] In a possible implementation, the method may further include: after starting the volume adjustment function, in response to an operation of tapping the front ball along the first direction, increasing the volume level of the open-ear headphone.
[0067] In a thirteenth aspect, the present application further provides a headphone control method, which can be applied to an open-ear headphone. The method may include: in response to a first pushing operation of tapping and holding the rear ball of the headphone along a first direction, starting a volume adjustment function. The rear ball and the front ball are connected by a curved suspension arm. Based on the duration of the first pushing operation being greater than or equal to a preset duration, increasing the volume level of the open-ear headphone. Based on this, the user can adjust the volume of the open-ear headphone by pushing the open-ear headphone with a finger, in line with the natural forward and backward swinging habit of the user's arm. Compared with other volume adjustment methods, the operation difficulty of volume adjustment can also be reduced.
[0068] In a possible implementation, the method may further include: in response to a second pushing operation of tapping and holding the front ball along a second direction, which is different from the first direction, starting the volume adjustment function. Based on the duration of the second pushing operation being greater than or equal to a preset duration, reducing the volume level of the open earphone.
[0069] In a possible implementation, the method may further include: after starting the volume adjustment function, in response to an operation of tapping the rear ball along the first direction, increasing the volume level of the open earphone.
[0070] It should be understood that for the embodiments in the above-mentioned multiple aspects, the steps of starting the volume adjustment function recorded therein can also be appropriately trimmed; in the case of satisfying the start of the volume adjustment function, the above-mentioned various methods can directly adjust the volume level of the earphone.
[0071] In some examples, for the method provided in the first aspect, in the pushing operation of continuously applying a force along the first direction, the earphone can directly increase the volume of the earphone when the pushing operation meets the preset duration. Correspondingly, in the pushing operation of continuously applying a force along the second direction, the earphone can directly decrease the volume of the earphone when the pushing operation meets the preset duration. The implementation manners provided in other aspects can be analogously understood. BRIEF DESCRIPTION OF THE DRAWINGS
[0072] Figure 1 Schematic diagram of a headphone control system provided by an embodiment of the present application;
[0073] Figure 2 Schematic diagram of the structure of a headphone 100 provided by an embodiment of the present application;
[0074] Figure 3 Schematic diagram of the form of a headphone 100 provided by an embodiment of the present application;
[0075] Figure 4 Schematic diagram of the interaction of a headphone 100 provided by an embodiment of the present application;
[0076] Figure 5 Schematic diagram of the interaction for starting volume adjustment provided by an embodiment of the present application;
[0077] Figure 6 Schematic diagram of the interface for starting audio playback provided by an embodiment of the present application;
[0078] Figure 7 Schematic diagram of the process for adjusting volume provided by an embodiment of the present application;
[0079] Figure 8 Another schematic diagram of the process for adjusting volume provided by an embodiment of the present application;
[0080] Figure 9 Another schematic diagram of the volume adjustment process provided by the embodiment of the present application;
[0081] Figure 10 Another schematic diagram of the volume adjustment process provided by the embodiment of the present application;
[0082] Figure 11 Another schematic diagram of the volume adjustment process provided by the embodiment of the present application;
[0083] Figure 12 A schematic diagram of the volume adjustment curve provided by the embodiment of the present application;
[0084] Figure 13 A schematic diagram of the user interface provided by the embodiment of the present application;
[0085] Figure 14 A schematic diagram of the volume adjustment scenario provided by the embodiment of the present application;
[0086] Figure 15 Another schematic diagram of the volume adjustment scenario provided by the embodiment of the present application;
[0087] Figure 16 A schematic diagram of the process of the earphone control method provided by the embodiment of the present application;
[0088] Figure 17 A schematic diagram of the structure of the earphone provided by the embodiment of the present application. Detailed implementation manners
[0089] Hereinafter, some terms in the embodiments of the present application are explained to facilitate the understanding of those skilled in the art.
[0090] At least one involved in the embodiments of the present application includes one or more; wherein, multiple means greater than or equal to two. In addition, it should be understood that in the description of this specification, terms such as "first" and "second" are only used for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order. For example, the first operation and the second operation do not represent the importance degree of the two or the order of the two, but are only used for distinguishing descriptions. In the embodiments of the present application, "and / or" only describes the association relationship and indicates that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this article generally represents an "or" relationship between the associated objects before and after.
[0091] 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 orientation terms mentioned in the embodiments of the present application, such as "upper", "lower", "left", "right", "inner", "outer", etc., are only with reference to the direction of the accompanying drawings. Therefore, the orientation terms used are for better and clearer description 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 thus should not be construed as a limitation on the embodiments of the present application.
[0092] The reference to "one embodiment" or "some embodiments" etc. described in this specification means that a specific feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of this specification. Thus, the statements "in one embodiment", "in some embodiments", "in other some embodiments", "in still other embodiments", etc. that appear in different places in this specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in another way. The terms "comprising", "including", "having" and their variants all mean "including but not limited to", unless otherwise specifically emphasized in another way.
[0093] The headphone control method provided by the embodiments of the present application is applicable to a headphone control system. Exemplarily, Figure 1 is a schematic diagram of a headphone control system provided by the embodiments of the present application. As Figure 1 shown, the headphone control system may include a headphone 100 and an electronic device 200. A wireless connection can be established between the headphone 100 and the electronic device 200. The wireless connection is a connection established using wireless communication technology. The wireless communication technology can be Bluetooth (BT), wireless local area networks (WLAN) (such as wireless fidelity (WiFi) network), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc. The embodiments of the present application do not specifically limit the type of wireless communication technology.
[0094] 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 the earphone. Among them, the device form of the TWS earphone is different from the device form of the OWS earphone. For example, the TWS earphone adopts an in-ear or semi-in-ear structure, while the 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 Take the earphone 100 as an OWS earphone as an example.
[0095] The electronic device 200 can be a portable electronic device such as a mobile phone, a tablet computer, a laptop computer, etc.; it can also be a wearable device such as a watch or a bracelet; or it can also be a smart home device such as a television set or a refrigerator; or it can also be a car-mounted device, etc., or it can also be a virtual reality (VR) device, an augmented reality (AR) device, a mixed reality (MR) device, etc. In short, the embodiments of the present application do not limit the specific type of electronic device. For the convenience of explanation, Figure 1 Take the electronic device 200 as a mobile phone as an example.
[0096] It should be understood that Figure 1 For ease of understanding only, an earphone control system is shown by way of example, but this should not constitute any limitation to the present application. The earphone control system may also include a larger number of earphones and a larger number of electronic devices; the electronic devices that interact with different earphones may be the same electronic device or different electronic devices; the number of electronic devices that interact with different earphones may be the same or different, and the embodiments of the present application do not limit this.
[0097] For example, Figure 2 FIG. 1 is a schematic diagram of the structure of an earphone 100 provided in an embodiment of the present application. Figure 2 As shown, 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.
[0098] Among them, the memory 102 can be used to store program codes, such as for establishing a wireless connection between the earphone 100 and different electronic devices. The wireless connection can be a physical connection or a virtual connection, for switching the wireless connection between the earphone 100 and different electronic devices, for the earphone 100 to process audio services of the electronic devices that have established a wireless connection with the earphone 100 (such as adjusting the volume, playing music, making / answering calls, etc.), and for charging the earphone 100, etc. The memory 102 can also be used to store other information, such as the priorities of multiple electronic devices.
[0099] The processor 101 can be used to execute the above program codes and call relevant modules to implement the functions of the earphone 100 in the embodiments of the present application. For example, establishing a wireless connection between the earphone 100 and different electronic devices, processing audio services of the electronic devices that have established a wireless connection with the earphone 100 (such as adjusting the volume, playing music, making / answering calls, etc.), switching the wireless connection between different electronic devices according to the priorities, and other functions.
[0100] The processor 101 can include one or more processing units. Different processing units can be independent devices or integrated in one or more processors 101. Specifically, the processor 101 can be an integrated control chip or composed of a circuit including various active and / or passive components, and the circuit is configured to execute the functions belonging to the processor 101 described in the embodiments of the present application.
[0101] The wireless communication module 103 can be used to support data exchange between the earphone 100 and different electronic devices or the earphone 100 itself, including data exchange of wireless communications such as BT, WLAN (such as WiFi), FM, NFC, IR, etc.
[0102] In some embodiments, the wireless communication module 103 can be a Bluetooth chip. The earphone 100 can be paired with the Bluetooth chips of different electronic devices through the Bluetooth chip to establish a wireless connection, so as to realize wireless communication and service processing between the earphone 100 and other electronic devices through the wireless connection. Generally, the Bluetooth chip can support basic rate (BR) / enhanced data rate (EDR) Bluetooth and Bluetooth low energy (BLE), for example, it can receive / transmit paging information, receive / transmit BLE broadcast messages, etc.
[0103] In addition, the wireless communication module 103 may further include an antenna. The wireless communication module 103 receives electromagnetic waves via the antenna, performs frequency modulation and filtering processing on the electromagnetic wave signals, and sends the processed signals to the processor 101. The wireless communication module 103 may also receive the signals to be sent from the processor 101, perform frequency modulation on them, amplify them, and convert them into electromagnetic waves through the antenna for radiation.
[0104] The audio module 104 can be used to manage audio data, implement input and output of audio signals of the earphone 100, implement functions such as making and receiving calls, playing music, adjusting volume, starting / stopping the voice assistant of the electronic device connected to the earphone 100, and receiving / sending the user's voice data through the earphone 100. The audio module 104 may include a microphone 104A (or called a microphone, a transmitter) for outputting audio signals, a speaker 104B (or called a receiver, a handset) component, an audio codec 104C, a power amplifier 104D, etc. The microphone 104A can be used to convert sound signals into audio electrical signals. The speaker 104B can be used to convert audio electrical signals into sound signals and play them. The audio codec 104C converts digital signals into analog signals and sends the analog signals to the power amplifier. The power amplifier 104D can be used to amplify the analog signals.
[0105] The sensor module 105 can detect the required information according to different functions of the earphone 100. For example, when the user pushes the earphone 100 to implement function controls such as adjusting volume, playing music, making / receiving calls, etc., the processor 101 identifies the user's operation intention by collecting data of the motion sensor and the capacitance sensor 105D of the earphone 100.
[0106] Among them, the motion sensors of the earphone 100 may include an acceleration sensor 105A, an angular velocity sensor 105B, and a magnetic induction sensor 105C. For example, the processor 101 can calculate the attitude of the earphone 100 by collecting the acceleration values of the earphone 100 on the x, y, and z axes in real time through the acceleration sensor 105A. Or, the processor 101 can calculate the attitude of the earphone 100 by collecting the angular velocity values of the earphone 100 in real time through the angular velocity sensor 105B and integrating them over time. Or, the processor 101 can calculate the attitude of the earphone 100 by collecting the magnetic field intensity information of the earphone 100 through the magnetic induction sensor 105C. Whether it is the acceleration sensor 105A, the angular velocity sensor 105B, or the magnetic induction sensor 105C, the motion information collected by using these sensors respectively can meet the accuracy requirements for attitude recognition of the earphone 100. In the embodiments of the present application, these three types of sensors can be used separately or in combination to achieve different purposes such as low power consumption or high accuracy.
[0107] The capacitive sensor 105D can be used to detect the pressure applied to the pressing area of the earphone 100. Among them, the pressing area is the area corresponding to the pole piece of the capacitive sensor 105D. When the user of the earphone 100 presses this pressing area, the pole piece in the capacitive sensor 105D deforms, so that the capacitance of the capacitive sensor 105D can change according to the change of the pressure borne by the pressing area. The number of capacitive sensors 105D can be one, or two or more, and the specific number of capacitive sensors 105D is specifically determined according to the needs of the earphone 100.
[0108] The proximity optical sensor 106D can be used to determine whether the earphone 100 is worn by the user. In some embodiments, the sensor module 105 may further include a distance sensor, which can be used to detect whether there is an object near the earphone 100, so as to determine whether the earphone 100 is worn by the user. When it is determined that the earphone 100 is worn, the earphone 100 can turn on the speaker 104B to emit a prompt tone.
[0109] For another example, the sensor module 105 may further include a bone conduction sensor. By using this bone conduction sensor, the earphone 100 can obtain the vibration signal of the vibrating bone mass of the human vocal part, analyze the voice signal, realize the voice function, and thus receive the voice command of the user. The earphone 100 can also perform voice authentication according to the user voice signal obtained by the bone conduction sensor, so as to authenticate the user identity in business scenarios such as payment transactions.
[0110] For another example, the sensor module 105 may further include: a touch sensor, which is used to detect touch operations such as single click, double click, multiple clicks, long press, heavy press, etc. of the user, and can also perform user fingerprint recognition to authenticate the user identity in business scenarios such as payment transactions; a fingerprint sensor, which is used to detect the user fingerprint and identify the user identity, etc.; an ambient light sensor, which can adaptively adjust some parameters (such as the volume size) according to the perceived brightness of the ambient light; and some other sensors.
[0111] The power module 106 can be used to provide the system power supply for the earphone 100 and supply power to each module of the earphone 100; it supports the earphone 100 to receive charging input, etc. The power module 106 can include a battery 106A, a power management unit (PMU) 106B, and a charging interface 106C. Among them, the power management unit 106B can receive external charging input; transform the electrical signal input by the charging circuit and provide it to the battery 106A for charging, and 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; and prevent overcharging, over-discharging, short-circuiting, or over-current of the battery 106A, etc. In some embodiments, the power module 105 can also include a wireless charging coil for wirelessly charging the earphone 100. In addition, the power management unit 106B can also be used to monitor parameters such as the capacity of the battery 106A, the number of battery 106A charge cycles, and the health status (leakage, impedance) of the battery 106A. The charging interface 106C can be used to provide a wired connection for charging or communication between the earphone 100 and the earphone case. In some embodiments, the input / output interface can be a USB interface. In other embodiments, the charging interface 106C can be an earphone electrical connector. When the earphone 100 is placed in the earphone case, the earphone 100 can establish an electrical connection with the electrical connector in the earphone case through the earphone electrical connector, so as to charge the battery 106A in the earphone 100. In other embodiments, after the electrical connection is established, the earphone 100 can also communicate with the earphone case, for example, it can receive a pairing instruction from the earphone case.
[0112] It can be understood that the structure schematically shown in the embodiments of the present application does not constitute a specific limitation on the earphone 100. It can have Figure 2 more or fewer components than those shown, can combine two or more components, or can have different component configurations. For example, on the outer surface of the earphone 100, there can also be components such as buttons, indicator lights (which can indicate states such as battery level, incoming / outgoing calls, pairing mode, etc.), a display screen (which can prompt the user with relevant information), and a dust-proof net (which can be used in cooperation with the earpiece). Among them, the button can be a physical button or a touch button (used in cooperation with a touch sensor), etc., for triggering operations such as power on, power off, pause, play, record, start pairing, reset, etc.
[0113] Figure 2 The various components shown can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing or application-specific integrated circuits.
[0114] Exemplarily, Figure 3Schematic diagram of the form of an earphone 100 provided by an embodiment of the present application. The earphone 100 can include four forms, namely earphone 100A, earphone 100B, earphone 100C, and earphone 100D. Among them, as Figure 3 shown in (1) of Figure 3 , the earphone 100A can be clipped on the auricle. As Figure 3 shown in (2) of Figure 3 , the earphone 100B can surround the back of the ear and closely adhere to the skin above the temple (below the temple). As
[0115] Figure 4 shown in (3) of Figure 3 , the earphone 100C can surround the back of the ear and return to near the triangular fossa above the helix. As Figure 4 shown in (4) of Figure 4 , the earphone 100D can be inserted into the concha cavity.
[0116] Please refer to Figure 3 shown in (1), (2), and (3) of
[0117] In a possible implementation, the suspension 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 suspension arm can be arranged around the contour of the user's ear and make the rear ball abut against the user's ear, so that the earphone can be clamped on the user's ear to achieve wearing.
[0118] The motion sensor can be used to detect the posture of the earphone 100A. For example, during the interaction between the user and the earphone 100A, when the user pushes the rear ball forward, the acceleration value, angular velocity value or magnetic field intensity information of the earphone 100A collected by the motion sensor at this time can be used to calculate that the moving direction of the earphone 100 is forward. Or, when the user pushes the front ball backward, the acceleration value, angular velocity value or magnetic field intensity information of the earphone 100A collected by the motion sensor at this time can be used to calculate that the moving direction of the earphone 100 is backward.
[0119] The following will combine the Figure 1 shown earphone control system and Figures 2 - 4 shown earphones to further introduce the earphone control method provided by the embodiments of the present application.
[0120] The earphone control method provided by the embodiments of the present application is used to adjust the volume of the audio played by the earphone, switch the audio played by the earphone, and so on.
[0121] In Embodiment 1, taking the earphone control method provided by the embodiments of the present application for adjusting the volume of the audio played by the earphone as an example, the execution process of adjusting the volume of the audio played by the earphone at least includes two stages: starting volume adjustment and adjusting the volume. The methods of each stage will be described in detail below.
[0122] 1. Starting volume adjustment
[0123] In the embodiments of the present application, the earphone can start the volume adjustment function when the first condition is met.
[0124] Among them, the pushing operation is an operation of applying a force to the earphone in the first direction or the second direction, and the first condition may include but is not limited to one or more of the following:
[0125] Detecting that the user triggers the first pushing operation can be understood as that after the user triggers the first pushing operation, the first pushing operation is not cancelled. For example, the user pushes the rear ball of the earphone forward (push), that is, after the user performs a pushing operation on the earphone, it remains in the pushing state;
[0126] Or, after detecting that the user triggers the first pushing operation and the acting force duration of the first pushing operation is less than the first preset duration, it can be understood that the user cancels the first pushing operation after triggering the first pushing operation. For example, the user pushes the rear ball of the earphone forward and then releases the rear ball of the earphone (that is, push and release), that is, after the user performs a pushing operation on the earphone, it remains in the released state;
[0127] Alternatively, triggering the second pushing operation after detecting that the user has triggered the first pushing operation can be understood as the user cancelling the first pushing operation after triggering the first pushing operation and then triggering the second pushing operation. For example, the user pushes the rear ball of the earphone forward, releases the rear ball of the earphone, and then pushes the rear ball of the earphone forward again (push-release-push), that is, the user performs two pushing operations on the earphone and remains in the pushing state.
[0128] Alternatively, triggering the second pushing operation after detecting that the user has triggered the first pushing operation, and the acting force duration of the second pushing operation is less than the first preset duration, can be understood as the user cancelling the first pushing operation after triggering the first pushing operation, then triggering the second pushing operation, and then cancelling the second pushing operation. For example, the user pushes the rear ball of the earphone forward, releases the rear ball of the earphone, then pushes the rear ball of the earphone forward again, and then releases the rear ball of the earphone again (push-release-push-release), that is, the user performs two pushing operations on the earphone and remains in the released state.
[0129] The volume adjustment function may include a volume increase function and a volume decrease function. Among them, the volume increase function corresponds to the first direction. It can be understood that when the pushing operation is an operation of applying a force to the earphone in the first direction, the volume adjustment function started by the earphone when meeting the first condition corresponding to the pushing operation is the volume increase function. The volume decrease function corresponds to the second direction. It can be understood that when the pushing operation is an operation of applying a force to the earphone in the second direction, the volume adjustment function started by the earphone when meeting the first condition corresponding to the pushing operation is the volume decrease function.
[0130] For example, Figure 5 is an interaction schematic diagram for starting volume adjustment provided by an embodiment of the present application, as Figure 5 shown. Taking the earphone as the earphone 100A shown in (1) above such as Figure 3 as an example, the user can push the rear ball of the earphone 100A forward to start the volume increase function, or the user can push the front ball of the earphone 100A backward to start the volume decrease function. Or, taking the earphone as the earphone 100B shown in (2) above such as Figure 3 as an example, the user can push the earback component of the earphone 100B forward to start the volume increase function, or the user can push the component above the temple of the earphone 100B backward to start the volume decrease function. Or, taking the earphone as the earphone 100C shown in (3) above such as Figure 3 as an example, the user can push the earback component of the earphone 100C forward to start the volume increase function, or the user can push the component above the triangular fossa of the earphone 100C backward to start the volume decrease function. Or, taking the earphone as the earphone 100D shown in (4) above such as Figure 3 as an example, the user can push the auricle forward to start the volume increase function, or the user can push the earphone 100D backward to start the volume decrease function.
[0131] In specific implementation, the earphone can detect the pushing operation on the earphone triggered by the user and the acting force duration of the pushing operation by collecting data of various sensors of the earphone (such as a capacitance sensor, a motion sensor, a bone conduction sensor, a touch sensor, etc.). For example, taking the earphone 100A shown in (1) above as an example of the earphone, when the user pushes the rear ball of the earphone 100A forward to activate the function of increasing the volume, the capacitance sensor 1 arranged on one side of the auricle close to the rear ball will be pressed, so that the contact area between the capacitor sensor 1 and the ear skin increases, and the capacitance of the capacitance sensor 1 will also increase accordingly. It can be understood that when the capacitance of the capacitance sensor 1 increases, the earphone 100A can detect that the user pushes the rear ball of the earphone 100A forward. Or, when the user pushes the front ball of the earphone 100A backward to activate the function of decreasing the volume, the capacitance sensor 2 arranged on one side of the front ball close to the auricle will be pressed, so that the contact area between the capacitor sensor 2 and the ear skin increases, and the capacitance of the capacitance sensor 2 will also increase accordingly. It can be understood that when the capacitance of the capacitance sensor 2 increases, the earphone 100A can detect that the user pushes the front ball of the earphone 100A backward. Figure 3 In a possible implementation manner, before the earphone activates the volume adjustment function, the earphone can receive a playing instruction for the first audio from the mobile phone and play the first audio at the initial volume level. Among them, the first audio may include, but is not limited to, one or more of the following: incoming call ringtone, multimedia audio (such as the sound output by a music application, a video application, etc.), call voice, or voice message. The initial volume level may be the default volume level of the earphone, or may also be the volume level determined after the user last adjusted the volume of the earphone. The embodiments of the present application do not make specific limitations on this.
[0132] For example, the mobile phone can receive an incoming call and send a playing instruction for the incoming call ringtone to the earphone. Correspondingly, the earphone can receive the playing instruction for the incoming call ringtone from the mobile phone and play the incoming call ringtone at the initial volume level. Another example,
[0133] is a schematic diagram of an interface for starting audio playback provided by the embodiments of the present application, as Figure 6 Figure 6 As shown in the figure, the mobile phone can display the bubbles of two voice messages on the display screen, namely voice message 1 and voice message 2. Among them, 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 the bubble 501 of voice message 1 or the bubble 502 of voice message 2. When the mobile phone detects the operation of the user clicking on the bubble 501 of voice message 1, in response to this operation, the mobile phone can send a play instruction for voice message 1 to the earphone. Correspondingly, the earphone can receive the play instruction for voice message 1 from the mobile phone and play voice message 1 at the initial volume level.
[0134] II. Adjusting the Volume
[0135] In the embodiment of the present application, after the earphone activates the volume-up function when meeting the first condition, the earphone can increase the volume level of the earphone when meeting the second condition. Or, after the earphone activates the volume-down function when meeting the first condition, the earphone can decrease the volume level of the earphone when meeting the second condition.
[0136] Among them, the second condition may include but is not limited to one or more of the following:
[0137] It is detected that the acting force duration of the first push operation or the second push operation triggered by the user is greater than or equal to the first preset duration. It can be understood that within the first preset duration after the user triggers the first push operation or the second push operation, the user does not cancel the first push operation or the second push operation, or it can be understood that within the first preset duration after the user triggers the first push operation or the second push operation, the earphone detects the acting force continuously exerted by the user on the earphone based on the first push operation or the second push operation;
[0138] Or, it is detected that the acting force duration of the first push operation or the second push operation triggered by the user is less than the first preset duration. It can be understood that within the first preset duration after the user triggers the first push operation or the second push operation, the user cancels the first push operation or the second push operation, or it can be understood that within the first preset duration after the user triggers the first push operation or the second push operation, the earphone does not detect the acting force continuously exerted by the user on the earphone based on the first push operation or the second push operation;
[0139] Or, it is detected that the user triggers the second push operation and the acting force duration of the second push operation is less than the first preset duration;
[0140] Or, it is detected that the user triggers the third push operation and the acting force duration of the third push operation is less than the first preset duration.
[0141] In some possible implementation manners, the pushing operation may include the user tapping the earphone, and the tapping part of the user remains in contact with the earphone after tapping. It should be understood that the tapping part is generally the fingertip of the user's finger; of course, each example does not limit the user's personal usage habits, and the user can also push the earphone with the palm to trigger the volume adjustment function. When the user taps the earphone, the finger used to tap the earphone can maintain the contact relationship with the surface of the earphone. During this process, the force applied to the earphone based on the tapping and contact operation generally causes the earphone to displace. In this regard, the earphone can be detected by the cooperation between the capacitance sensor and the motion sensor.
[0142] In some possible scenarios, for the above-mentioned pushing operation, the user implements it through a coherent gesture. The user taps the earphone and then holds or presses the earphone along the direction of the hand movement. In this way, the earphone will displace to a certain extent relative to the user's head. For the earphone, the coherent gesture of the user can be detected through the cooperation of the sensors in the above examples to trigger the volume adjustment function of the earphone.
[0143] Exemplarily, the earphone can determine the contact between the outside world and the earphone based on the capacitance change detected by the capacitance sensor. And, the earphone can determine the tapping on the earphone from the outside world based on the parameter changes such as the 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 electronics products such as earphones, the weight of the same model of earphone can be determined before being sold to the outside world. The weight of the earphone can be regarded as a constant. And based on the parameters such as the acceleration value detected by the motion sensor, the force applied by the user to the earphone can be determined. During the process of the earphone processing the relevant parameters, the relevant parameters can be converted into force; or, conversion may not be performed, and this processing process will not cause insurmountable obstacles to the implementation of the solutions of each example, so each example does not limit this.
[0144] Considering the different operation habits of different users, the applied force can be large or small, and each example can not limit the degree of displacement of the earphone. For example, the threshold values of capacitance change, acceleration value change, angular velocity value change, or magnetic field change can be adjusted to meet the requirements of gesture detection.
[0145] In some examples, in order to facilitate the user to trigger the volume adjustment function of the earphone, the earphone may include one, two, or more control parts. For example, the front ball of the earphone can be used as a control part of the earphone, and the user can tap the front ball of the earphone and keep in contact with the front ball, thereby triggering the volume adjustment function of the earphone. It should be understood that the control part may also include some areas of the suspension arm in contact with the front ball.
[0146] In some other examples, the rear ball of the earphone can also serve as a control part of the earphone. The user can tap the rear ball of the earphone and keep in contact with the front ball, thereby triggering the volume adjustment function of the earphone. It should be understood that this control part may also include a partial area of the suspension arm in contact with the rear ball.
[0147] Combining the above two examples, the pushing operation on the front ball can be an operation of applying a force to the earphone along the first direction. And the pushing operation on the rear ball can be an operation of applying a force to the earphone along the second direction. There is no need for the first direction and the second direction to meet specific conditions of being exactly opposite or less than a certain included angle.
[0148] For those skilled in the art, it is possible to detect two substantially opposite directions by configuring a motion sensor to achieve the corresponding function of increasing or decreasing the volume.
[0149] For the user of the earphone, after wearing the earphone, pushing the front ball of the earphone backward can exemplarily achieve the function of increasing the volume; while pushing the rear ball of the earphone forward can exemplarily achieve the function of decreasing the volume.
[0150] Conversely, after wearing the earphone, pushing the front ball of the earphone backward can exemplarily achieve the function of decreasing the volume; while pushing the rear ball of the earphone forward can exemplarily achieve the function of increasing the volume.
[0151] In some other examples, the suspension arm of the earphone can also serve as a control part. The user can tap the suspension arm of the earphone and drive the earphone to displace relative to the user's head, thereby triggering the volume adjustment function of the earphone. It should be understood that considering that the suspension arm is bent and worn around the user's earphone, the operation on the suspension arm can be a pushing operation along the first direction or along the second direction.
[0152] In some examples, this pushing operation may also include the user contacting the earphone and then pushing the earphone after the contact. It should be understood that this contact process can be understood as a process in which the earphone does not produce relative displacement, and can be detected by a capacitance sensor. And this pushing process can be a process of pressing the earphone after the contact and causing the earphone to produce relative displacement. In this example, the pushing operation can be a coherent operation; or, this pushing operation can include two operations of contacting the earphone and pausing for a while and then pushing the earphone. This pushing process is mainly detected through the cooperation of a motion sensor and a capacitance sensor.
[0153] In some possible scenarios, for the triggering of the volume adjustment function, the capacitance sensor can first detect that the capacitance change meets the capacitance change threshold, and then, the motion sensor can detect that the relevant parameter change meets the change threshold of this type of parameter. Or, the motion sensor can first detect that the relevant parameter change meets the change threshold of this type of parameter, and then, the capacitance sensor can detect that the capacitance change meets the capacitance change threshold.
[0154] In some examples, if the user taps the earphone and then immediately releases it, this operation can be considered a tap operation. For the earphone, the cooperation of the sensors in the above examples can be used to detect the user's tap operation to trigger the volume adjustment function of the earphone. Or, the relevant parameters obtained by the motion sensor can be used to detect the user's tap operation.
[0155] In some other examples, the tap operation can also be defined as the operation of the user tapping the earphone twice or multiple times. Or, the tap operation can also be defined as the operation of tapping around the ear twice.
[0156] For the scenario where an average user operates the earphone with a finger, after the user's finger taps the control part of the earphone and then moves away from the control part, this tap operation can also be analogously understood through single - click, double - click, or multi - click operations on the touch sensor. Examples of adjusting the earphone volume based on the tap operation will also be elaborated below.
[0157] The following describes the specific implementation of the above - mentioned volume adjustment in detail with specific examples:
[0158] Example 1: The first condition can include: detecting that the user triggers a first pushing operation; or, detecting that the user triggers a second pushing operation after triggering the first pushing operation. The second condition can include: detecting that the acting force duration of the first pushing operation or the second pushing operation triggered by the user is greater than or equal to a first preset duration. When it is detected that the acting force duration of the first pushing operation or the second pushing operation in which the user applies a force to the earphone in the first direction is greater than or equal to the first preset duration, the earphone can adjust the volume level of the earphone once every preset duration, and the volume corresponding to the adjusted volume unit is greater than the volume corresponding to the volume level before adjustment. It can be understood that the earphone gradually increases the volume level of the earphone according to time. When it is detected that the acting force duration of the first pushing operation or the second pushing operation in which the user applies a force to the earphone in the second direction is greater than or equal to the first preset duration, the earphone can adjust the volume level of the earphone once every preset duration, and the volume corresponding to the adjusted volume unit is less than the volume corresponding to the volume level before adjustment. It can be understood that the earphone gradually decreases the volume level of the earphone according to time.
[0159] During the specific implementation process, the earphone can adjust the volume level of the earphone to the first volume level at the first moment. Wherein, the time duration between the first moment and the moment when the earphone activates the volume adjustment function is equal to the second preset duration. The first volume level and the initial volume level are adjacent volume levels. When the earphone gradually increases the volume level of the earphone, the volume corresponding to the first volume level is greater than the volume corresponding to the initial volume level. When the earphone gradually decreases the volume level of the earphone, the volume corresponding to the first volume level is less than the volume corresponding to the initial volume level.
[0160] The earphone can adjust the volume level of the earphone to the second volume level at the second moment. Wherein, the second moment is after the first moment, and the time duration between the second moment and the first moment is equal to the third preset duration. The second volume level and the first volume level are adjacent volume levels. When the earphone gradually increases the volume level of the earphone, the volume corresponding to the second volume level is greater than the volume corresponding to the first volume level. When the earphone gradually decreases the volume level of the earphone, the volume corresponding to the second volume level is less than the volume corresponding to the first volume level.
[0161] Optionally, the third preset duration can be less than or equal to the second preset duration. It can be understood that the preset duration corresponding to the initial volume adjustment (i.e., the second preset duration) is greater than or equal to the preset duration corresponding to the non-initial volume adjustment (i.e., the third preset duration), reducing the occurrence of accidental touches by the user. Or, the third preset duration can be greater than the second preset duration. It can be understood that the preset duration corresponding to the initial volume adjustment (i.e., the second preset duration) is less than the preset duration corresponding to the non-initial volume adjustment (i.e., the third preset duration), thereby reserving sufficient time for the earphone to detect the user operation of activating the volume adjustment function and avoiding the problem of poor user experience caused by the failure to detect the user operation of activating the volume adjustment function. The embodiments of the present application do not make specific limitations on this.
[0162] By analogy, the earphone can adjust the volume level of the earphone to the Mth volume level at a moment after the second moment and at an interval of N third preset durations from the second moment, where N is a positive integer. The Mth volume level is separated from the second volume level by N volume levels. When the earphone gradually increases the volume level of the earphone, the volume corresponding to the Mth volume level is greater than the volume corresponding to the second volume level. When the earphone gradually decreases the volume level of the earphone, the volume corresponding to the Mth volume level is less than the volume corresponding to the second volume level.
[0163] In a possible implementation manner, the earphone can also turn off the volume adjustment function when detecting that the user cancels the first push operation or the second push operation.
[0164] For example, Figure 7 is a schematic diagram of a process for adjusting the volume provided by an embodiment of the present application. As Figure 7As shown, when it is detected that the user triggers the push operation 1, the earphone activates the volume increase function or the volume decrease function at time 1. When it is detected that the acting duration of the push operation 1 is greater than the duration T1, the earphone adjusts the volume level of the earphone 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. Volume level 1 is the initial volume level of the earphone; at time 3, the volume level of the earphone 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 earphone 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 earphone 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 (i.e., duration T3) corresponding to the initial volume adjustment is greater than the preset duration (i.e., duration T2) corresponding to the non-initial volume adjustment. 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 gradually decrease. When it is detected that the user cancels the push operation 1, the earphone turns off the volume adjustment function at time n + 1, that is, time n + 1 is the end time of the acting duration of the push operation 1.
[0165] For another example, Figure 8 is a schematic diagram of another volume adjustment process provided by an embodiment of the present application. As Figure 8As shown, after detecting that the user triggers the pushing operation and then triggers the pushing operation 2, the earphone activates the volume increasing function or the volume decreasing function at time 1. When it is detected that the acting force duration of the pushing operation 2 is greater than the duration T1, the earphone adjusts the volume level of the earphone from volume level 1 to volume level 2 at time 2. 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 earphone; at time 3, the volume level of the earphone 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 earphone 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 earphone 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 (i.e., duration T3) corresponding to the first volume adjustment is greater than the preset duration (i.e., duration T2) corresponding to the non-first volume adjustment. 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 gradually decrease. When it is detected that the pushing operation 2 is cancelled, the earphone turns off the volume adjustment function at time n + 1, that is, time n + 1 is the end time of the acting force duration of the pushing operation 2.
[0166] Example 2: The first condition may include: detecting that the user triggers the first pushing operation; or, detecting that the user triggers the second pushing operation after triggering the first pushing operation. The second condition may include: the acting force duration of the first pushing operation or the second pushing operation triggered by the user is greater than or equal to the first preset duration. When it is detected that the acting force duration of the first pushing operation or the second pushing operation in which the user triggers applying a force to the earphone in the first direction is greater than or equal to the first preset duration, the earphone can adjust the volume level of the earphone once when detecting a pushing operation triggered by the user within a preset duration, and the volume corresponding to the adjusted volume unit is greater than the volume corresponding to the volume level before adjustment. It can be understood that the earphone gradually increases the volume level of the earphone according to the pushing operation triggered by the user. When it is detected that the acting force duration of the first pushing operation or the second pushing operation in which the user triggers applying a force to the earphone in the second direction is greater than or equal to the first preset duration, the earphone can adjust the volume level of the earphone once when detecting a pushing operation triggered by the user within a preset duration, and the volume corresponding to the adjusted volume unit is less than the volume corresponding to the volume level before adjustment. It can be understood that the earphone gradually decreases the volume level of the earphone according to the pushing operation triggered by the user.
[0167] In the specific implementation process, when the first condition includes detecting that the user triggers a first pushing operation, and the second condition includes that the acting force duration of the first pushing operation triggered by the user is greater than or equal to a first preset duration, the earphone can detect that the user triggers a second pushing operation and adjust the volume level of the earphone to a third volume level. Wherein, the moment when the user triggers the second pushing operation 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 a fourth preset duration. The third volume level and the initial volume level are adjacent volume levels. When the earphone gradually increases the volume level of the earphone, the volume corresponding to the third volume level is greater than the volume corresponding to the initial volume level. When the earphone gradually decreases the volume level of the earphone, the volume corresponding to the third volume level is less than the volume corresponding to the initial volume level.
[0168] The earphone can detect that the user triggers a third pushing operation and adjust the volume level of the earphone to a fourth volume level. Wherein, the moment when the user triggers the third pushing operation is the 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 earphone gradually increases the volume level of the earphone, the volume corresponding to the fourth volume level is greater than the volume corresponding to the third volume level. When the earphone gradually decreases the volume level of the earphone, the volume corresponding to the fourth volume level is less than the volume corresponding to the third volume level.
[0169] Optionally, the fifth preset duration can be less than or equal to the fourth preset duration. It can be understood that the preset duration corresponding to the initial volume adjustment (i.e., the fourth preset duration) is greater than or equal to the preset duration corresponding to the non-initial volume adjustment (i.e., the fifth preset duration), reducing the occurrence of accidental touches by the user. Or, the fifth preset duration can be greater than the fourth preset duration. It can be understood that the preset duration corresponding to the initial volume adjustment (i.e., the fourth preset duration) is less than the preset duration corresponding to the non-initial volume adjustment (i.e., the fifth preset duration), so as to reserve sufficient time for the earphone to detect the user operation that starts the volume adjustment function and avoid the problem of poor user experience caused by the failure to detect the user operation that starts the volume adjustment function. The embodiments of the present application do not make specific limitations on this.
[0170] In a possible implementation manner, the earphone can also turn off the volume adjustment function when it does not detect that the user triggers a fourth pushing operation within the fifth preset duration after adjusting the volume level of the earphone to the fourth volume level.
[0171] For example, Figure 9 is a schematic diagram of another volume adjustment process provided by the embodiments of the present application. As Figure 9As shown, when it is detected that the user triggers the push operation 1, the earphone activates the volume increase function or the volume decrease function at time 1. When it is detected that the acting duration of the push operation 1 is greater than the duration T1, the earphone detects that the user cancels the push operation 1 at time 2 and then triggers the push operation 2, and adjusts the volume level of the earphone from the volume level 1 to the volume level 2. The duration between time 1 and time 2 is less than or equal to a duration T4, and the volume level 1 is the initial volume level of the earphone; at time 3, it is detected that the user cancels the push operation 2 and then triggers the push operation 3, and adjusts the volume level of the earphone from the volume level 2 to the volume level 3. The duration between time 3 and time 2 is less than a duration T5; at time 4, it is detected that the user cancels the push operation 3 and then triggers the push operation 4, and adjusts the volume level of the earphone from the volume level 3 to the volume level 4. The duration between time 4 and time 3 is less than a duration T5; and so on. At time n, it is detected that the user cancels the push operation n - 1 and then triggers the push operation n, and adjusts the volume level of the earphone from the volume level n - 1 to the volume level n. The duration between time n and time n - 1 is less than a duration T5. Among them, the preset duration (i.e., the duration T4) corresponding to the initial volume adjustment is greater than the preset duration (i.e., the duration T5) corresponding to the non-initial volume adjustment. The volume corresponding to the volume level 1, the volume corresponding to the volume level 2, the volume corresponding to the volume level 3, the volume corresponding to the volume level 4, the volume corresponding to the volume level n - 1, and the volume corresponding to the volume level n gradually increase or gradually decrease. If no push operation n + 1 is triggered after the user cancels the push operation n within a duration T5 after time n, the earphone turns off the volume adjustment function at time n + 1, and the duration between time n + 1 and time n is equal to a duration T5.
[0172] Example 3: The first condition may include: detecting that the user triggers a first pushing operation; or, detecting that the user triggers a second pushing operation after triggering the first pushing operation. The second condition may include: detecting that the acting force duration of the first pushing operation or the second pushing operation triggered by the user is less than a first preset duration. When it is detected that the acting force duration of the first pushing operation or the second pushing operation in which the user applies a force to the earphone in the first direction is less than the first preset duration, the earphone can adjust the volume level of the earphone once when detecting a pushing operation triggered by the user within a preset duration, and the volume corresponding to the adjusted volume unit is greater than the volume corresponding to the volume level before adjustment. It can be understood that the earphone gradually increases the volume level of the earphone according to the pushing operation triggered by the user. When it is detected that the acting force duration of the first pushing operation or the second pushing operation in which the user applies a force to the earphone in the second direction is less than the first preset duration, the earphone can adjust the volume level of the earphone once when detecting a pushing operation triggered by the user within a preset duration, and the volume corresponding to the adjusted volume unit is less than the volume corresponding to the volume level before adjustment. It can be understood that the earphone gradually decreases the volume level of the earphone according to the pushing operation triggered by the user.
[0173] In the specific implementation process, when the first condition includes detecting that the user triggers a first pushing operation and the second condition includes that the acting force duration of the first pushing operation triggered by the user is less than the first preset duration, the earphone can adjust the volume level of the earphone to a first volume level based on the first pushing operation. Among them, the first volume level and the initial volume level are adjacent volume levels. When the earphone gradually increases the volume level of the earphone, the volume corresponding to the first volume level is greater than the volume corresponding to the initial volume level. When the earphone gradually decreases the volume level of the earphone, the volume corresponding to the first volume level is less than the volume corresponding to the initial volume level.
[0174] The earphone can detect that the user triggers a second pushing operation and adjust the volume level of the earphone to a second volume level. Among them, the moment when the volume level of the earphone is adjusted to the first volume level is the first moment, the moment when it is detected that the user triggers the second pushing operation 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 acting force duration of the second pushing operation is less than or equal to a second preset duration. The second volume level and the first volume level are adjacent volume levels. When the earphone gradually increases the volume level of the earphone, the volume corresponding to the second volume level is greater than the volume corresponding to the first volume level. When the earphone gradually decreases the volume level of the earphone, the volume corresponding to the second volume level is less than the volume corresponding to the first volume level.
[0175] Optionally, the second preset duration may be less than or equal to the first preset duration. It can be understood that the preset duration corresponding to the initial volume adjustment (i.e., the first preset duration) is greater than or equal to the preset duration corresponding to the non-initial volume adjustment (i.e., the second preset duration), reducing the occurrence of accidental touches by the user. Alternatively, the second preset duration may be greater than the first preset duration. It can be understood that the preset duration corresponding to the initial volume adjustment (i.e., the first preset duration) is less than the preset duration corresponding to the non-initial volume adjustment (i.e., the second preset duration), thereby reserving sufficient time for the user operation of the headset to detect the activation of the volume adjustment function and avoiding the problem of poor user experience caused by the user operation of the activation of the volume adjustment function not being detected. The embodiments of the present application do not make specific limitations on this.
[0176] In a possible implementation manner, the headset may also turn off the volume adjustment function when it does not detect the user triggering the third pushing operation within the second preset duration after adjusting the volume level of the headset to the second volume level. Or, when it detects the force continuously applied by the user to the headset based on the third pushing operation within the second preset duration after adjusting the volume level of the headset to the second volume level, it turns off the volume adjustment function.
[0177] For example, Figure 10 is a schematic flow chart of another method for adjusting the volume provided by the embodiments of the present application. As Figure 10As shown, it is detected that the user triggers a pushing operation 1, and the earphone activates the volume increasing function or the volume decreasing function at time 1. The earphone detects that the user cancels the pushing operation 1 at time 2, and adjusts the volume level of the earphone from volume level 1 to volume level 2. The time duration between time 1 and time 2 is less than a time duration T1, that is, the acting force duration of the pushing operation 1 is less than the time duration T1. The volume level 1 is the initial volume level of the earphone; it is detected that the user triggers a pushing operation 2 and then cancels the pushing operation 2 at time 3, and adjusts the volume level of the earphone from volume level 2 to volume level 3. The time duration between time 3 and time 2 is less than a time duration T2; it is detected that the user triggers a pushing operation 3 and then cancels the pushing operation 3 at time 4, and adjusts the volume level of the earphone from volume level 3 to volume level 4. The time duration between time 4 and time 3 is less than a time duration T2; and so on. It is detected that the user triggers a pushing operation n - 1 and then cancels the pushing operation n - 1 at time n, and adjusts the volume level of the earphone from volume level n - 1 to volume level n. The time duration between time n and time n - 1 is less than a time duration T2. Among them, the preset time duration (i.e., time duration T1) corresponding to the first volume adjustment is greater than the preset time duration (i.e., time duration T2) corresponding to non-first volume adjustments. 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 gradually decrease. If no pushing operation n followed by cancellation of the pushing operation n is detected within a time duration T2 after time n (for example, the pushing operation n is never triggered or the pushing operation n is triggered but never cancelled), the earphone 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.
[0178] Example 4: The first condition may include: detecting that the user triggers a first pushing operation and the acting force duration of the first pushing operation is less than a first preset time duration. The second condition may include: detecting that the user triggers a second pushing operation and the acting force duration of the second pushing operation is less than the first preset time duration.
[0179] When the duration of the force of the first pushing operation in which the user triggers a force applied to the earphone in the first direction is less than the first preset duration, the earphone can adjust the volume level of the earphone once when detecting a pushing operation triggered by the user within a preset duration, and the volume corresponding to the adjusted volume unit is greater than the volume corresponding to the volume level before adjustment. It can be understood that the earphone gradually increases the volume level of the earphone according to the pushing operation triggered by the user. When the duration of the force of the first pushing operation in which the user triggers a force applied to the earphone in the second direction is less than the first preset duration, the earphone can adjust the volume level of the earphone once when detecting a pushing operation triggered by the user within a preset duration, and the volume corresponding to the adjusted volume unit is less than the volume corresponding to the volume level before adjustment. It can be understood that the earphone gradually decreases the volume level of the earphone according to the pushing operation triggered by the user.
[0180] In the specific implementation process, the earphone can detect that the user triggers a second pushing operation and adjust the volume level of the earphone to the first volume level. Among them, the moment when the user triggers the second pushing 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 pushing 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 earphone gradually increases the volume level of the earphone, the volume corresponding to the first volume level is greater than the volume corresponding to the initial volume level. When the earphone gradually decreases the volume level of the earphone, the volume corresponding to the first volume level is less than the volume corresponding to the initial volume level.
[0181] The earphone can detect that the user triggers a third pushing operation and adjust the volume level of the earphone to the second volume level. Among them, the moment when the user triggers the third pushing operation is the second moment, the duration between the second moment and the moment when the volume level of the earphone 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 pushing 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 earphone gradually increases the volume level of the earphone, the volume corresponding to the second volume level is greater than the volume corresponding to the first volume level. When the earphone gradually decreases the volume level of the earphone, the volume corresponding to the second volume level is less than the volume corresponding to the first volume level.
[0182] Optionally, the third preset duration may be less than or equal to the second preset duration. It can be understood that the preset duration corresponding to the initial volume adjustment (i.e., the second preset duration) is greater than or equal to the preset duration corresponding to non-initial volume adjustment (i.e., the third preset duration), reducing the occurrence of accidental touches by the user. Alternatively, the third preset duration may be greater than the second preset duration. It can be understood that the preset duration corresponding to the initial volume adjustment (i.e., the second preset duration) is less than the preset duration corresponding to non-initial volume adjustment (i.e., the third preset duration), thereby reserving sufficient time for the user operation of the headset to detect the activation of the volume adjustment function and avoiding the problem of poor user experience caused by the user operation of not detecting the activation of the volume adjustment function. The embodiments of the present application do not make specific limitations on this.
[0183] In a possible implementation manner, the headset may also turn off the volume adjustment function when it does not detect the user triggering the fourth pushing operation on the headset within the third preset duration after adjusting the volume level of the headset to the second volume level. Alternatively, when it detects the force continuously applied by the user to the headset based on the fourth pushing operation within the third preset duration after adjusting the volume level of the headset to the second volume level, it turns off the volume adjustment function.
[0184] For example, Figure 11 is a schematic diagram of another volume adjustment process provided by the embodiments of the present application. As Figure 11As shown, when the triggering push operation 1 is detected and the acting force duration of the push operation 1 is less than the duration T1, the earphone activates the volume increase function or the volume decrease function at time 1. When the user triggers the push operation 2 at time 2 and then cancels the push operation 2, the earphone adjusts the volume level from volume level 1 to volume level 2. The duration between time 1 and time 2 is less than a duration T2, and the volume level 1 is the initial volume level of the earphone; when the user triggers the push operation 3 at time 3 and then cancels the push operation 3, the earphone adjusts the volume level from volume level 2 to volume level 3. The duration between time 3 and time 2 is less than a duration T3; when the user triggers the push operation 4 at time 4 and then cancels the push operation 4, the earphone adjusts the volume level from volume level 3 to volume level 4. The duration between time 4 and time 3 is less than a duration T3; and so on. When the user triggers the push operation n at time n and then cancels the push operation n, the earphone adjusts the volume level from volume level n - 1 to volume level n. The duration between time n and time n - 1 is less than a duration T3. Among them, the preset duration (i.e., duration T2) corresponding to the first volume adjustment is greater than the preset duration (i.e., duration T3) corresponding to non-first volume adjustments. 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 gradually decrease. If no user triggers the push operation n + 1 and then cancels the push operation n + 1 within a duration T3 after time n (for example, the push operation n + 1 is never triggered or the push operation n + 1 is triggered but never cancelled), the earphone turns off the volume adjustment function at time n + 1, and the duration between time n + 1 and time n is equal to a duration T3.
[0185] Example 5: The first condition may include: detecting that the user triggers the first push operation and then triggers the second push operation, and the acting force duration of the second push operation is less than the first preset duration. The second condition may include: detecting that the user triggers the third push operation, and the acting force duration of the third push operation is less than the first preset duration. For the specific content of "Example 5", reference can be made to the description in "Example 4", which will not be elaborated here.
[0186] In a possible implementation, after the earphone activates the volume adjustment function, the duration of the volume adjustment function can be set, or the number of volume adjustments can also be set, so as to avoid the problem of poor user experience caused by the failure to detect the user operation of turning off the volume adjustment function. For example, the earphone can set the duration between the moment when the volume adjustment function is activated and the moment when the volume adjustment function is turned off to be less than or equal to a first threshold; or, the earphone can set the number of times of adjusting the volume level of the earphone 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 in this regard.
[0187] In a possible implementation, the earphone can determine the difference between the volumes corresponding to adjacent volume levels according to a first volume and a second volume. For example, the difference between the volume corresponding to volume level 1 and the volume corresponding to volume level 2, and the difference between the volume corresponding to volume level 3 and the volume corresponding to volume level 4, etc. Among them, the first volume is the volume of the earphone at the moment 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 earphone according to the ambient volume and / or the historical volume, and the historical volume is the volume determined by the user's last volume adjustment.
[0188] In the specific implementation process, taking the example of the earphone turning up the volume level of the earphone. When the first volume is greater than or equal to the second volume, the earphone can determine that the difference between the volumes corresponding to adjacent volume levels is a third threshold. Among them, the third threshold is the minimum volume adjustment value supported by the earphone. 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, the earphone can determine that the difference between the volumes corresponding to adjacent volume levels is the difference between the first volume and the second volume. Among them, the fourth threshold is the maximum volume adjustment value supported by the earphone. 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, the earphone 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 the absolute value.
[0189] For example, the earphone can adjust the volume level of the earphone based on the following formula to gradually increase the volume of the earphone:
[0190]
[0191] 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 earphone, and tm is the maximum volume adjustment value supported by the earphone.
[0192] Taking the example of adjusting the volume level of the earphone to gradually decrease the volume of the earphone. When the first volume is less than or equal to the second volume, the earphone can determine that the difference between the volumes corresponding to adjacent volume levels is the third threshold. Wherein, the third threshold is the minimum volume adjustment value supported by the earphone. 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 the fourth threshold, the earphone can determine that the difference between the volumes corresponding to adjacent volume levels is the difference between the first volume and the second volume. Wherein, the fourth threshold is the maximum volume adjustment value supported by the earphone. 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 the fourth threshold, the earphone 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.
[0193] For example, the earphone can adjust the volume level of the earphone to gradually decrease the volume of the earphone based on the following formula:
[0194]
[0195] Wherein, 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 earphone, and tm is the maximum volume adjustment value supported by the earphone.
[0196] Again, for example, the earphone can adjust the volume level of the earphone based on the curve as shown in Figure 12 The first volume cv = 8, the minimum volume adjustment value td supported by the earphone is 1, the maximum volume adjustment value tm supported by the earphone is 3, and the second volume pv = 6. When the volume of the earphone 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 earphone 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 earphone 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 alternative embodiment, when the earphone activates the volume adjustment function, adjusts the volume level of the earphone, and deactivates the volume adjustment function, the earphone can feedback the current state of the earphone to the user by playing audio. For example, when the earphone activates the volume adjustment function, the earphone can play the audio of "beep beep beep". Alternatively, the earphone can also synchronize the current state of the earphone to the electronic device, and the electronic device can feedback the current state of the earphone to the user. For example, when the earphone activates the volume adjustment function, the electronic device can display an interface as shown in Figure 13 on the display screen. Information for prompting the user that the earphone has activated the volume adjustment function, such as "The earphone has activated the volume adjustment function", is displayed in this interface. Also for example, when the earphone activates the volume adjustment function, the electronic device can vibrate once to prompt the user that the earphone has activated the volume adjustment function.
[0198] In an alternative embodiment, if the earphone is the earphone 100A clipped on the auricle as shown in (1) of Figure 3 , the earphone can activate the volume adjustment function when the third condition is met. The rotation operation can be an operation of rotating the beam arm of the earphone in 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. It can be understood that when the rotation operation is an operation of rotating the beam arm of the earphone in 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. It can be understood that when the rotation operation is an operation of rotating the beam arm of the earphone in 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 triggers 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 earphone can detect the user operation by collecting data of various sensors (such as a motion sensor, etc.) of the earphone.
[0199] For example, Figure 14 is a schematic diagram of a volume adjustment scenario provided by an embodiment of the present application, taking the earphone as the earphone 100A as shown in (1) of the above Figure 3 as an example. As shown in (1) of Figure 14 , the user can rotate the beam arm of the earphone 100A upward to activate the volume increase function, and the user can increase the volume of the earphone by rotating the beam arm of the earphone 100A downward and then upward. As shown in Figure 14As shown in (2), the user can rotate the beam of the earphone 100A downward to activate the volume-down function, and the user can reduce the volume of the earphone by rotating the beam of the earphone 100A upward and then downward.
[0200] In an alternative embodiment, the earphone can activate the volume adjustment function when the fifth condition is met. Among them, the tapping operation can also be an operation of tapping the first area or the second area around the ear twice. The fifth condition can include detecting a tapping operation triggered by the user. The volume adjustment function can include a volume-up function and a volume-down function. The volume-up function corresponds to the first area, which can be understood as when the tapping operation is an operation of tapping the first area around the ear twice, the volume adjustment function activated by the earphone when the fifth condition corresponding to the tapping operation is met is the volume-up function. The volume-down function corresponds to the second area, which can be understood as when the tapping operation is an operation of tapping the second area around the ear twice, the volume adjustment function activated by the earphone when the fifth condition corresponding to the tapping operation is met is the volume-down function. The earphone can adjust the volume level of the earphone when the sixth condition is met. Among them, the sixth condition can include detecting a tapping operation triggered by the user. In a specific implementation, the earphone can detect the user operation by collecting data from various sensors (such as bone conduction sensors, etc.) of the earphone.
[0201] For example, Figure 15 FIG. is a schematic diagram of another volume adjustment scenario provided by the embodiment of the present application. As Figure 15 shown in (1), with the concha as the center and the vertical direction as the boundary, the earphone is divided into two regions on the left and right: region A1 and region A2. The user can tap region A1 twice to activate the volume-up function, and the user can increase the volume of the earphone by tapping region A1 twice; the user can tap region A2 twice to activate the volume-down function, and the user can reduce the volume of the earphone by tapping region A2 twice.
[0202] As Figure 15 shown in (2), with the concha as the center and the horizontal direction as the boundary, the earphone is divided into two upper and lower regions: region B1, C1 and region B2, C2. The user can tap region B1 or region C1 twice to activate the volume-up function, and the user can increase the volume of the earphone by tapping region B1 or region C1 twice; the user can tap region B2 or region C2 twice to activate the volume-down function, and the user can reduce the volume of the earphone by tapping region B2 or region C2 twice.
[0203] According to the above solution, the earphone can start volume adjustment when a pre-set first condition is met (for example, detecting that the user triggers a first pushing operation), which improves the volume adjustment method. Since the interaction contacts involved in the first pushing operation are fewer, the problem in the prior art that the volume cannot be adjusted due to fewer interaction contacts of the earphone is solved. In addition, in the embodiments of the present application, the earphone can adaptively adjust the volume level of the earphone (for example, according to a preset duration or a preset operation) when a pre-set second condition is met, improving the volume adjustment efficiency.
[0204] In the second embodiment, taking the earphone control method provided by the embodiments of the present application for switching the audio played by the earphone as an example, the execution process of switching the audio played by the earphone at least includes three stages: starting audio playback, starting audio switching, and switching audio. The methods for each stage will be described in detail below.
[0205] I. Starting audio playback
[0206] In the embodiments of the present application, for the specific content of "playing the first audio at the initial volume level" described in "I. Starting volume adjustment" in the first embodiment above, reference may be specifically made, and details will not be elaborated here.
[0207] II. Starting audio switching
[0208] In the embodiments of the present application, after the above earphone plays the first audio at the initial volume level, if the first audio is a switchable audio, then the earphone can start the audio switching function when the first condition is met.
[0209] Among them, 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 the first pushing operation can be understood as that the user does not cancel the first pushing operation after triggering the first pushing operation. For example, the user pushes the rear ball of the earphone forward (push), that is, the user performs a pushing operation on the earphone and remains in the pushing state;
[0211] Or, after detecting that the user triggers the first pushing operation and the acting force duration of the first pushing operation is less than the first preset duration, it can be understood that the user cancels the first pushing operation after triggering the first pushing operation. For example, the user pushes the rear ball of the earphone forward and then releases the rear ball of the earphone (i.e., push and release), that is, the user performs a pushing operation on the earphone and remains in the released state;
[0212] Alternatively, after detecting that the user triggers a first pushing operation and then triggers a second pushing operation, it can be understood that after the user triggers the first pushing operation, cancels the first pushing operation, and then triggers the second pushing operation. For example, the user pushes the rear ball of the earphone forward, releases the rear ball of the earphone, and then pushes the rear ball of the earphone forward again (push-release-push), that is, after the user performs two pushing operations on the earphone, it remains in the pushed state;
[0213] Alternatively, after detecting that the user triggers a first pushing operation and then triggers a second pushing operation, and the acting force duration of the second pushing operation is less than the first preset duration, it can be understood that after the user triggers the first pushing operation, cancels the first pushing operation, triggers the second pushing operation, and then cancels the second pushing operation. For example, the user pushes the rear ball of the earphone forward, releases the rear ball of the earphone, then pushes the rear ball of the earphone forward again, and then releases the rear ball of the earphone again (push-release-push-release), that is, after the user performs two pushing operations on the earphone, it remains in the 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. Among them, the audio switching function for switching to the previous audio corresponds to a first direction. It can be understood that when the pushing operation is an operation of applying a force to the earphone in the first direction, the audio switching function started by the earphone when meeting the first condition corresponding to the pushing operation 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. It can be understood that when the pushing operation is an operation of applying a force to the earphone in the second direction, the audio switching function started by the earphone when meeting the first condition corresponding to the pushing operation 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 embodiments of the present application may refer to switching from playing a first audio at an initial volume level to playing a second audio or a third audio at a first volume level. 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 also refer to switching from playing a first audio at an initial volume level to preparing to play a second audio or a third audio at a first volume level. It can be understood that after switching to the second audio or after the second audio, the second audio or the third audio is not played, but after closing the audio switching function, the second audio or the third audio is played.
[0216] For example, the current playlist of the music application includes Song 1, Song 2, and Song 3, and the earphone plays Song 2 at a first volume level. The earphone can start the audio switching function for switching to Song 1 or Song 3 when meeting the first condition.
[0217] In specific implementation, the earphone can detect user operations by collecting data of various sensors of the earphone (such as a capacitance sensor, a motion sensor, or a bone conduction sensor, etc.).
[0218] III. Audio Switching
[0219] After the earphone activates the audio switching function to switch to the previous audio when the first condition is met, the earphone can switch to the previous audio when the second condition is met. Alternatively, after the earphone activates the audio switching function to switch to the next audio when the first condition is met, the earphone can switch to the next audio when the second condition is met.
[0220] Among them, the second condition may include, but is not limited to, one or more of the following:
[0221] It is detected that the acting force duration of the first push operation or the second push operation triggered by the user is greater than or equal to the first preset duration. It can be understood that within the first preset duration after the user triggers the first push operation or the second push operation, the user does not cancel the first push operation or the second push operation, or it can be understood that within the first preset duration after the user triggers the first push operation or the second push operation, the earphone detects the acting force continuously exerted by the user on the earphone based on the first push operation or the second push operation;
[0222] Alternatively, it is detected that the acting force duration of the first push operation or the second push operation triggered by the user is less than the first preset duration. It can be understood that within the first preset duration after the user triggers the first push operation or the second push operation, the user cancels the first push operation or the second push operation, or it can be understood that within the first preset duration after the user triggers the first push operation or the second push operation, the earphone does not detect the acting force continuously exerted by the user on the earphone based on the first push operation or the second push operation;
[0223] Alternatively, it is detected that the user triggers the second push operation and the acting force duration of the second push operation is less than the first preset duration;
[0224] Alternatively, it is detected that the user triggers the third push operation and the acting force duration of the third push operation is less than the first preset duration.
[0225] It should be understood that for the specific implementation of the earphone switching to the previous audio or the next audio, reference can be made to the relevant content in "II. Volume Adjustment" in the above-mentioned Embodiment 1, which will not be elaborated here.
[0226] Based on the above embodiments and the same concept, the present application also provides an earphone control method. This method can be executed by Figures 1 - 2 the earphone shown.
[0227] Figure 16 is a schematic flowchart of an earphone control method provided by an embodiment of the present application. Referring to Figure 16 , the method includes the following steps:
[0228] S1601: Detect that the user triggers a first push operation of applying a force to the earphone in the first direction or the second direction, and start the volume adjustment function.
[0229] Among them, 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. For the specific content of S1601, please refer to the description in "I. Start Volume Adjustment" and will not be elaborated here.
[0230] S1602: After starting the volume adjustment function, detect that the acting time of the first push operation is greater than or equal to the first preset time, and adjust the volume level of the earphone.
[0231] For the specific content of S1602, please refer to the description in "II. Adjust Volume" and will not be elaborated here.
[0232] It should be noted that the specific implementation process provided in the above examples is only an example of the applicable method process of the embodiments of the present application. The execution order of each step can be adjusted 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, the embodiments of the present application also provide an earphone, which is used to implement the method executed by the earphone provided in the embodiments of the present application.
[0234] As Figure 17 shown, the earphone 1700 may include: a memory 1701, one or more processors 1702, and one or more computer programs (not shown in the figure). The above components can be coupled through one or more communication buses 1703.
[0235] Among them, one or more computer programs (codes) are stored in the memory 1701, and the one or more computer programs include computer instructions; the one or more processors 1702 call the computer instructions stored in the memory 1701, so that the earphone 1700 executes the earphone control method provided in the embodiments of the present application.
[0236] In a specific implementation, the memory 1701 may include a high-speed random access memory, and may also include non-volatile memories, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 1701 may store an operating system (hereinafter referred to as the system), such as an embedded operating system like ANDROID, IOS, WINDOWS, or LINUX. The memory 1701 can be used to store the implementation program of the embodiments of the present application. The memory 1701 may also store a network communication program, which can be used to communicate with one or more additional devices, one or more user devices, and one or more network devices. One or more processors 1702 may 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 solution of the present application.
[0237] It should be noted that Figure 17 This is merely one implementation manner of the earphone 1700 provided by the embodiments of the present application. In actual applications, the earphone 1700 may also include more or fewer components, which are not limited herein.
[0238] Based on the above embodiments and the same concept, the embodiments of the present application also provide a computer-readable storage medium storing a computer program. When the computer program runs on a computer, the computer is caused to execute the method performed by the earphone in the method provided by the above embodiments.
[0239] Based on the above embodiments and the same concept, the embodiments of the present application also provide a computer program product including a computer program or instruction. When the computer program or instruction runs on a computer, the computer is caused to execute the method performed by the earphone in the method provided by the above embodiments.
[0240] Those skilled in the art should understand that the embodiments of the present application may be provided as a method, a system, or a computer program product. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memories, CD-ROMs, optical memories, etc.) containing computer-usable program codes.
[0241] This application is described with reference to the flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to the application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, as well as the combination of flows and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing devices produce means for implementing the functions specified in the flow Figure 1 one flow or multiple flows and / or blocks Figure 1 or means for implementing the functions specified in multiple blocks.
[0242] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory produce a manufactured article including instruction means that implement the functions specified in the flow Figure 1 one flow or multiple flows and / or blocks Figure 1 or means for implementing the functions specified in multiple blocks.
[0243] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operating steps are executed on the computer or other programmable device to generate a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in the flow Figure 1 one flow or multiple flows and / or blocks Figure 1 or means for implementing the functions specified in multiple blocks.
[0244] Obviously, those skilled in the art can 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 equivalent technologies, this application is also intended to include these changes and modifications.
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. An earphone, 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.