Processing method for earphone and user equipment
First Claim
Patent Images
1. A processing method for an earphone, the method comprising:
- obtaining a sense signal;
obtaining a distance between an earphone and an ear corresponding to the earphone according to the sense signal;
comparing the distance with a first preset threshold;
closing an audio connection of the earphone if the distance is greater than the first preset threshold for a first preset time after obtaining the sense signal;
starting an audio playing program and opening an earphone channel of the earphone in response to the distance being less than or equal to the first preset threshold for a second preset time; and
increasing a volume of the earphone channel while the audio playing program is playing and the earphone channel of the earphone is open and in response to the distance changing to be less than or equal to a second preset threshold for a third preset time, wherein the second preset threshold is smaller than the first preset threshold.
3 Assignments
0 Petitions
Accused Products
Abstract
A processing method for an earphone includes receiving a sense signal sent by a proximity sensor. A distance between an earphone and an ear corresponding to the earphone is obtained according to the sense signal and compared with a first preset threshold. Within a first preset time, if the distance is greater than the first preset threshold, an audio playing program is closed or an earphone channel of the earphone is closed.
-
Citations
20 Claims
-
1. A processing method for an earphone, the method comprising:
-
obtaining a sense signal; obtaining a distance between an earphone and an ear corresponding to the earphone according to the sense signal; comparing the distance with a first preset threshold; closing an audio connection of the earphone if the distance is greater than the first preset threshold for a first preset time after obtaining the sense signal; starting an audio playing program and opening an earphone channel of the earphone in response to the distance being less than or equal to the first preset threshold for a second preset time; and increasing a volume of the earphone channel while the audio playing program is playing and the earphone channel of the earphone is open and in response to the distance changing to be less than or equal to a second preset threshold for a third preset time, wherein the second preset threshold is smaller than the first preset threshold. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A user equipment, comprising:
-
sensor configured to collect and obtain a sense signal; a processor connected to the sensor; a non-transitory computer readable medium connected to the processor and having stored thereon instructions that, when executed by the processor, cause the processor to; obtain a distance between an earphone and an ear corresponding to the earphone according to the sense signal and to compare the distance with a first preset threshold; close an audio playing program or close an earphone channel of the earphone if the distance is greater than the first preset threshold for a first preset time after obtaining the sense signal; start an audio playing program and open an earphone channel of the earphone in response to the distance being less than or equal to the first preset threshold for a second preset time; and increase a volume of the earphone channel while the audio playing program is playing and the earphone channel of the earphone is open and in response to the distance changing to be less than or equal to a second preset threshold for a third preset time, wherein the second preset threshold is smaller than the first preset threshold. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20)
-
Specification