A control method, device and mobile terminal of a proximity sensor
A technology of proximity sensor and control method, which is applied in the field of proximity sensors, can solve the problems of proximity sensor values becoming large and exceeding, and achieve the effect of reducing influence and optimizing control logic
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] see figure 1 , shows the control method of the proximity sensor provided by the embodiment of the present invention.
[0028] The control method of the proximity sensor is applied in a mobile terminal, and specifically includes the following steps:
[0029] In step S101, obtain the current ambient light value;
[0030] In the embodiment of the present invention, it is first detected whether the mobile terminal is currently in a call state; if it is detected that the mobile terminal is in a call state, then the current ambient light value is acquired.
[0031] Specifically, the mobile terminal obtains the status of the SIM card. If the SIM card is in a non-idle state, it can be determined that the mobile terminal is currently in a call state; at this time, the light sensor and the proximity sensor are turned on to work. Ambient light value, and then perform step S102 of judging whether it is in the strong light mode according to the current ambient light value.
[003...
Embodiment 2
[0049] Please also refer to figure 2 and image 3 , is a block diagram of a control device for a proximity sensor provided in Embodiment 2 of the present invention; for convenience of description, only parts related to the embodiment of the present invention are shown. The control device of the proximity sensor includes: an ambient light acquisition module 101 , a strong light judgment module 102 , a parameter adjustment module 103 , and a control module 104 . The control device for the proximity sensor may be a software unit, a hardware unit or a combination of software and hardware built in the mobile terminal.
[0050] Ambient light acquisition module 101, configured to acquire the current ambient light value;
[0051] A strong light judging module 102, configured to judge whether it is in a strong light mode according to the current ambient light value;
[0052] The parameter adjustment module 103 is used to adjust the parameter value of the proximity sensor if it is d...
Embodiment 3
[0072] Figure 4 A specific structural block diagram of a mobile terminal provided in Embodiment 3 of the present invention is shown, and the mobile terminal can be used to implement the method / apparatus for controlling a proximity sensor provided in the foregoing embodiments. The mobile terminal 1200 can be a smart phone or a tablet computer.
[0073] Such as Figure 4 As shown, the mobile terminal 1200 may include an RF (Radio Frequency, radio frequency) circuit 110, a memory 120 including one or more (only one shown in the figure) computer-readable storage media, an input unit 130, a display unit 140, a sensor 150 , an audio circuit 160 , a transmission module 170 , a processor 180 including one or more (only one is shown in the figure) processing cores, a power supply 190 and other components. Those skilled in the art can understand that, Figure 4 The structure of the mobile terminal 1200 shown in the above does not constitute a limitation to the mobile terminal 1200, ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


