Method and apparatus for adjusting volume using distance sensors
First Claim
1. A method for adjusting a volume of an electronic device, comprising:
- activating a distance detection module in the electronic device to measure distances between a volume adjusting member and the distance detection module, the distance detection module comprising at least one distance sensor;
obtaining, by the at least one distance sensor, a plurality of distance measure values between the volume adjusting member and the distance detection module;
converting each of the distance measure values into a respective distance indicator and obtaining a sequence of distance indicators;
wherein the plurality of distance measure values are converted into the respective distance indicator by;
comparing the plurality of distance measure values with distance reference values pre-stored in the electronic device; and
in response to finding a difference between a distance measure value and a distance reference value is less than a predetermined threshold, determining the distance reference value as a distance indicator corresponding to the distance measure value; and
adjusting the volume of the electronic device according to the distance measure values obtained by the at least one distance sensor.
1 Assignment
0 Petitions
Accused Products
Abstract
An electronic device includes a volume adjustment activating module, a distance detection module, and an adjusting module. The volume adjustment activating module is configured for activating the distance detection module to measure distances between a volume adjusting member and the distance detection module. The distance detection module includes at least one distance sensor, the at least one distance sensor is configured for detecting distances between the volume adjusting member and the distance detection module to obtain a plurality of distance measure values. The adjusting module is configured to adjust a volume of the electronic device according to the distance measure values.
10 Citations
18 Claims
-
1. A method for adjusting a volume of an electronic device, comprising:
-
activating a distance detection module in the electronic device to measure distances between a volume adjusting member and the distance detection module, the distance detection module comprising at least one distance sensor; obtaining, by the at least one distance sensor, a plurality of distance measure values between the volume adjusting member and the distance detection module; converting each of the distance measure values into a respective distance indicator and obtaining a sequence of distance indicators;
wherein the plurality of distance measure values are converted into the respective distance indicator by;comparing the plurality of distance measure values with distance reference values pre-stored in the electronic device; and in response to finding a difference between a distance measure value and a distance reference value is less than a predetermined threshold, determining the distance reference value as a distance indicator corresponding to the distance measure value; and adjusting the volume of the electronic device according to the distance measure values obtained by the at least one distance sensor. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. An electronic device, comprising a touch detection circuit, a distance detection module, and an adjusting module;
-
wherein the touch detection circuit activates the distance detection module to measure distances between a volume adjusting member and the distance detection module; the distance detection module comprises at least one distance sensor, the at least one distance sensor is configured for detecting distances between the volume adjusting member and the distance detection module to obtain a plurality of distance measure values; a processing module pre-storing a plurality of distance reference values, each of the distance reference values corresponds to a respective distance indicator, the processing module comparing the distance measure values with the pre-stored distance reference values and when a difference between a distance measure value and a distance reference value is less than a predetermined threshold, the processing module determines the distance reference value as a distance indicator for representing the distance measure value; and the adjusting module is configured to adjust a volume of the electronic device according to the distance measure values. - View Dependent Claims (13, 14, 15, 16, 17, 18)
-
Specification