Proximity sensor threshold updating method and device, and terminal

A technology of a proximity sensor and an update method, applied in the terminal field, can solve problems such as inaccurate screen control, achieve the effect of solving inaccurate screen control, accurate setting, and avoiding inaccurate threshold setting

Active Publication Date: 2017-05-31
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the embodiment of the present invention provides a method, device and terminal for updati

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Proximity sensor threshold updating method and device, and terminal
  • Proximity sensor threshold updating method and device, and terminal
  • Proximity sensor threshold updating method and device, and terminal

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0028] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only parts related to the present invention are shown in the drawings but not all content.

[0029] figure 1 It is a flowchart of a method for updating a threshold value of a proximity sensor provided by an embodiment of the present invention. The method is executed by a device for updating a threshold value of a proximity sensor. The device is implemented by software and / or hardware. The device is generally configured in such as In terminals such as mobile phones. When the terminal is a mobile phone, the method is applied in a call scenario. like figure 1 As shown, the technical solution provided by this embodimen...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a proximity sensor threshold updating method and device, and a terminal. The method comprises the following steps: when a proximity sensor is detected to be located in a departure state, recording proximity values continuously collected by the proximity sensor and accumulating the continuous collection times; if the continuous collection times reach preset times, updating the threshold of the proximity sensor according to the recorded proximity values; when the proximity sensor is detected to switch from the departure state to a proximity state, resetting the continuous collection times so as to accumulate the continuous collection times and record the proximity values again when the proximity sensor is in the proximity state; and if the re-accumulated continuous collection times reach the preset times, updating the threshold of the proximity sensor based on the re-recorded proximity values. By adoption of the proximity sensor threshold updating method and device disclosed by the embodiment of the invention, the threshold of the proximity sensor can be accurately set, the problem of screen control inaccuracy is solved, and the problem of inaccurate threshold setting caused by the influence of oil contamination to the proximity sensor is avoided.

Description

technical field [0001] The present invention relates to the technical field of terminals, in particular to a method, device and terminal for updating a threshold of a proximity sensor. Background technique [0002] The proximity sensor configured in the terminal is usually an infrared proximity sensor. The infrared proximity sensor includes an infrared emitting tube and an infrared receiving tube. First, the infrared emitting tube emits infrared light outward along the screen direction of the display screen. Then, the infrared light reflected by the blocking object is received by the infrared receiving tube and converted into an electrical signal. The electrical signal is amplified and processed by analog-to-digital conversion (A / D conversion), and the digital signal corresponding to the intensity of the reflected infrared light is obtained and then sent. To the CPU, the CPU takes the digital signal as a close value for further judgment. For example, the distance between ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04M1/725H04M1/67G06F3/01G06F3/041
CPCG06F3/011G06F3/0416H04M1/67H04M2250/12H04M1/72412H04M1/72454
Inventor 张强
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products