METHOD FOR CONTROLLING PROXIMITY SENSOR, DEVICE, AND MOBILE TERMINAL
First Claim
1. A method for controlling a proximity sensor, comprising:
- outputting, a driving signal with a preset timing and a preset duty cycle, to a transmitting end and a receiving end of a proximity sensor, controlling the transmitting end to be in a sleep mode, an off mode, and an on mode periodically, and controlling the receiving end to be in a sleep mode and a sampling mode periodically;
controlling an analog-digital converter in the receiving end to store a first input signal, in a sampling period of the receiving end when the transmitting end is in the off mode; and
controlling the analog-digital converter in the receiving end to clear the first input signal from a received second input signal, and outputting a first intensity value corresponding to the second input signal after the clearing process, thereby determining a proximity sensor is selectively in an approaching state or a leaving state based on the first intensity value, in a sampling period of the receiving end when the transmitting end is in the on mode.
1 Assignment
0 Petitions
Accused Products
Abstract
The present disclosure provides a method for controlling a proximity sensor, a device, a storage medium and a mobile terminal. The method comprising outputting a driving signal, to a transmitting end and a receiving end of a proximity sensor, controlling the transmitting end to be in a sleep mode, an off mode, and an on mode periodically, controlling the receiving end to be in a sleep mode and a sampling mode periodically; controlling an analog-digital converter to store a first input signal, in a sampling period of the receiving end corresponding to the off mode, and controlling the analog-digital converter to clear the first input signal from a received second input signal, outputting a first intensity value corresponding to the second input signal after the clearing process, in a sampling period of the receiving end when it is in the on mode.
-
Citations
20 Claims
-
1. A method for controlling a proximity sensor, comprising:
-
outputting, a driving signal with a preset timing and a preset duty cycle, to a transmitting end and a receiving end of a proximity sensor, controlling the transmitting end to be in a sleep mode, an off mode, and an on mode periodically, and controlling the receiving end to be in a sleep mode and a sampling mode periodically; controlling an analog-digital converter in the receiving end to store a first input signal, in a sampling period of the receiving end when the transmitting end is in the off mode; and controlling the analog-digital converter in the receiving end to clear the first input signal from a received second input signal, and outputting a first intensity value corresponding to the second input signal after the clearing process, thereby determining a proximity sensor is selectively in an approaching state or a leaving state based on the first intensity value, in a sampling period of the receiving end when the transmitting end is in the on mode. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A controlling device a for proximity sensor, comprising:
-
a driving signal outputting module, configured to output a driving signal with a preset timing and a preset duty cycle, to a transmitting end and a receiving end of a proximity sensor, control the transmitting end to be in a sleep mode, an off mode, and an on mode periodically, and control the receiving end to be in a sleep mode and a sampling mode periodically; an input signal storing module, configured to control an analog-digital converter in the receiving end to store a first input signal in a sampling period of the receiving end when the transmitting end is in the off mode; and a first signal correction module, configured to control the analog-digital converter in the receiving end to clear the first input signal from a received second input signal, and output a first intensity value corresponding to the second input signal after the clearing process, thereby determine a proximity sensor is selectively in an approaching state or a leaving state based on the first intensity value, in a sampling period of the receiving end when the transmitting end is in the on mode. - View Dependent Claims (13, 14, 15, 16, 17, 18)
-
-
19. A mobile terminal, comprising:
-
a memory, having executable program codes stored therein; and a processor, coupled to the memory; wherein the processor invokes the executable program codes stored in the memory to perform a method for controlling a proximity sensor, the method comprising; outputting, a driving signal with a preset timing and a preset duty cycle, to a transmitting end and a receiving end of a proximity sensor, controlling the transmitting end to be in a sleep mode, an off mode, and an on mode periodically, and controlling the receiving end to be in a sleep mode and a sampling mode periodically; controlling an analog-digital converter in the receiving end to store a first input signal, in a sampling period of the receiving end when the transmitting end is in the off mode; and controlling the analog-digital converter in the receiving end to clear the first input signal from a received second input signal, and outputting a first intensity value corresponding to the second input signal after the clearing process, thereby determining a proximity sensor is selectively in an approaching state or a leaving state based on the first intensity value, in a sampling period of the receiving end when the transmitting end is in the on mode. - View Dependent Claims (20)
-
Specification