Movatterモバイル変換


[0]ホーム

URL:


CN108801321A - Sensor calibrating method, electronic device and computer readable storage medium - Google Patents

Sensor calibrating method, electronic device and computer readable storage medium
Download PDF

Info

Publication number
CN108801321A
CN108801321ACN201810586318.0ACN201810586318ACN108801321ACN 108801321 ACN108801321 ACN 108801321ACN 201810586318 ACN201810586318 ACN 201810586318ACN 108801321 ACN108801321 ACN 108801321A
Authority
CN
China
Prior art keywords
proximity sensor
capacitive proximity
screen state
registered
capacitance value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810586318.0A
Other languages
Chinese (zh)
Other versions
CN108801321B (en
Inventor
张强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo Chongqing Intelligent Technology Co LtdfiledCriticalOppo Chongqing Intelligent Technology Co Ltd
Priority to CN201810586318.0ApriorityCriticalpatent/CN108801321B/en
Publication of CN108801321ApublicationCriticalpatent/CN108801321A/en
Application grantedgrantedCritical
Publication of CN108801321BpublicationCriticalpatent/CN108801321B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明实施例公开了一种传感器校准方法,应用于通信技术领域,包括:当电容式接近传感器被应用注册时,检测移动终端的屏幕状态,若屏幕状态为亮屏状态,则将电容式接近传感器当前测量的电容值作为电容式接近传感器的基准电容值。本发明实施例还公开了一种电子装置及计算机可读存储介质,可提高电容式接近传感器判断人脸接近移动终端屏幕的准确率。

The embodiment of the present invention discloses a sensor calibration method, which is applied in the field of communication technology, including: when the capacitive proximity sensor is registered by the application, detecting the screen state of the mobile terminal, and if the screen state is the bright screen state, setting the capacitive proximity sensor to The capacitance value currently measured by the sensor is used as the reference capacitance value of the capacitive proximity sensor. The embodiment of the invention also discloses an electronic device and a computer-readable storage medium, which can improve the accuracy rate of a capacitive proximity sensor in judging that a human face approaches a screen of a mobile terminal.

Description

Translated fromChinese
传感器校准方法、电子装置及计算机可读存储介质Sensor calibration method, electronic device and computer readable storage medium

技术领域technical field

本发明属于通信技术领域,尤其涉及一种传感器校准方法、电子装置及计算机可读存储介质。The invention belongs to the technical field of communication, and in particular relates to a sensor calibration method, an electronic device and a computer-readable storage medium.

背景技术Background technique

随着全面屏的普及,手机正面几乎没有空间可以放置接近红外传感器,所以会采用SAR(Specific Absorption Rate)传感器等电容式接近传感器来替代接近红外传感器。电容式接近传感器可放置在手机的天线区域附近,通过感应电容来检测是否有人脸靠近。With the popularity of full screens, there is almost no space for proximity infrared sensors on the front of mobile phones, so capacitive proximity sensors such as SAR (Specific Absorption Rate) sensors will be used to replace proximity infrared sensors. Capacitive proximity sensors can be placed near the antenna area of a mobile phone to detect whether a human face is approaching by sensing capacitance.

但是电容式接近传感器会有检测错误的情况,当手机屏幕有液体产生电容,电容式接近传感器会因检测到的电容值错误地识别为人脸接近状态,导致识别异常,影响手机的正常功能。However, the capacitive proximity sensor may detect errors. When there is liquid on the mobile phone screen to generate capacitance, the capacitive proximity sensor will mistakenly recognize the face proximity state due to the detected capacitance value, resulting in abnormal recognition and affecting the normal function of the mobile phone.

发明内容Contents of the invention

本发明提供一种传感器校准方法、电子装置及计算机可读存储介质,可以解决电容式接近传感器会因检测到无关电容值导致识别异常,影响手机的正常使用的问题。The invention provides a sensor calibration method, an electronic device and a computer-readable storage medium, which can solve the problem that a capacitive proximity sensor will cause abnormal identification due to detection of irrelevant capacitance values and affect the normal use of mobile phones.

本发明实施例一方面提供了一种传感器校准方法,包括:On the one hand, an embodiment of the present invention provides a sensor calibration method, including:

当电容式接近传感器被应用注册时,检测移动终端的屏幕状态;When the capacitive proximity sensor is registered by the application, detect the screen status of the mobile terminal;

若所述屏幕状态为亮屏状态,则将所述电容式接近传感器当前测量的电容值作为所述电容式接近传感器的基准电容值。If the screen state is a bright screen state, the capacitance value currently measured by the capacitive proximity sensor is used as the reference capacitance value of the capacitive proximity sensor.

本发明实施例另一方面提供了一种电子装置,包括:Another aspect of the embodiment of the present invention provides an electronic device, including:

检测模块,用于当电容式接近传感器被应用注册时,检测移动终端的屏幕状态;The detection module is used to detect the screen state of the mobile terminal when the capacitive proximity sensor is registered by the application;

校准模块,用于若所述屏幕状态为亮屏状态,则将所述电容式接近传感器当前测量的电容值作为所述电容式接近传感器的基准电容值。The calibration module is configured to use the capacitance value currently measured by the capacitive proximity sensor as a reference capacitance value of the capacitive proximity sensor if the screen state is a bright screen state.

本发明实施例另一方面提供了一种电子装置,包括:存储器,处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时,实现上述本发明实施例提供的传感器校准方法。Another aspect of the embodiments of the present invention provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, the above-mentioned present invention is realized. The sensor calibration method provided by the embodiment of the invention.

本发明实施例另一方面提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时,实现上述本发明实施例提供的传感器校准方法。Another aspect of the embodiments of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the sensor calibration method provided by the above-mentioned embodiments of the present invention is implemented.

上述本发明实施例提供的传感器校准方法、电子装置及计算机可读存储介质,当电容式接近传感器被应用注册时,检测移动终端的屏幕状态,若屏幕状态为亮屏状态,则校准电容式接近传感器的基准电容值,将电容式接近传感器当前测量的电容值作为电容式接近传感器的基准电容值,以此消除由于在用户使用移动终端时,其他无关物体产生的电容值造成电容式接近传感器的感应误差,提高判断人脸是否接近移动终端屏幕的准确率。The sensor calibration method, electronic device, and computer-readable storage medium provided by the above-mentioned embodiments of the present invention detect the screen status of the mobile terminal when the capacitive proximity sensor is applied and registered, and calibrate the capacitive proximity sensor if the screen status is a bright screen state. The reference capacitance value of the sensor, the capacitance value currently measured by the capacitive proximity sensor is used as the reference capacitance value of the capacitive proximity sensor, so as to eliminate the capacitance of the capacitive proximity sensor caused by the capacitance value generated by other irrelevant objects when the user uses the mobile terminal. Induction error improves the accuracy of judging whether the face is close to the screen of the mobile terminal.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only are some embodiments of the present invention.

图1是本发明一实施例提供的传感器校准方法的实现流程示意图;Fig. 1 is a schematic diagram of the implementation flow of a sensor calibration method provided by an embodiment of the present invention;

图2是本发明另一实施例提供的传感器校准方法的实现流程示意图;Fig. 2 is a schematic flow diagram of the realization of the sensor calibration method provided by another embodiment of the present invention;

图3是本发明另一实施例提供的传感器校准方法的实现流程示意图;Fig. 3 is a schematic flow diagram of the realization of the sensor calibration method provided by another embodiment of the present invention;

图4是本发明一实施例提供的电子装置的结构示意图;FIG. 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention;

图5是本发明另一实施例提供的电子装置的结构示意图;FIG. 5 is a schematic structural diagram of an electronic device provided by another embodiment of the present invention;

图6示出了一种电子装置的硬件结构图。Fig. 6 shows a hardware structure diagram of an electronic device.

具体实施方式Detailed ways

为使得本发明的发明目的、特征、优点能够更加的明显和易懂,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而非全部实施例。基于本发明中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.

请参阅图1,图1为本发明一实施例提供的传感器校准方法的实现流程示意图,该方法可应用于如下电子装置中:内置有SAR传感器等电容式接近传感器的手机、平板电脑、笔记本电脑等移动终端。如图1所示,该方法主要包括以下步骤:Please refer to Fig. 1, Fig. 1 is a schematic diagram of the implementation flow of the sensor calibration method provided by an embodiment of the present invention, which can be applied to the following electronic devices: mobile phones, tablet computers, notebook computers with built-in capacitive proximity sensors such as SAR sensors and other mobile terminals. As shown in Figure 1, the method mainly includes the following steps:

S101、当电容式接近传感器被应用注册时,检测移动终端的屏幕状态;S101. When the capacitive proximity sensor is registered by the application, detect the screen state of the mobile terminal;

电容式接近传感器内置于移动终端内,可用于根据检测的电容值的大小判断是否有人脸靠近屏幕。The capacitive proximity sensor is built into the mobile terminal and can be used to judge whether a human face is close to the screen according to the detected capacitance value.

移动终端在运行各种应用时,有些与应用运行时需要开启电容式接近传感器,通过电容式接近传感器检测结果控制移动终端的屏幕的点亮和熄灭。When the mobile terminal runs various applications, some applications need to turn on the capacitive proximity sensor when the application is running, and control the lighting and extinguishing of the screen of the mobile terminal through the detection result of the capacitive proximity sensor.

当电容式接近传感器被应用注册时,表明有应用要获取电容式接近传感器的检测数据,此时检测移动终端的屏幕状态,屏幕状态分为亮屏状态和灭屏状态。When the capacitive proximity sensor is registered by the application, it indicates that there is an application to obtain the detection data of the capacitive proximity sensor. At this time, the screen state of the mobile terminal is detected, and the screen state is divided into a bright screen state and an off screen state.

S102、若屏幕状态为亮屏状态,则将电容式接近传感器当前测量的电容值作为电容式接近传感器的基准电容值。S102. If the screen state is a bright screen state, use the capacitance value currently measured by the capacitive proximity sensor as a reference capacitance value of the capacitive proximity sensor.

若屏幕状态为亮屏状态,表明电容式接近传感器当前测量的电容值可能影响了屏幕熄灭,将电容式接近传感器当前测量的电容值作为电容式接近传感器的基准电容值,即,将电容式接近传感器的初始的基准电容值修改为该当前测量的电容值。这样即便是屏幕上有水滴、汗液等物体,它们产生的电容值被校准在修改后的基准电容值内了,因此不会影响电容式接近传感器的检测结果。那么此时用户使用移动终端,例如打电话,再将脸靠近屏幕,电容式接近传感器就可以有效地识别到人脸靠近导致的电容变化,从而做出正确的响应,那么通话时就会正常灭屏,不会误灭屏。If the screen status is bright, it indicates that the capacitance value currently measured by the capacitive proximity sensor may have affected the screen being turned off. The capacitance value currently measured by the capacitive proximity sensor is used as the reference capacitance value of the capacitive proximity sensor, that is, the capacitive proximity sensor The sensor's initial baseline capacitance value is modified to the current measured capacitance value. In this way, even if there are water droplets, sweat and other objects on the screen, the capacitance value generated by them is calibrated within the modified reference capacitance value, so the detection result of the capacitive proximity sensor will not be affected. At this time, when the user uses the mobile terminal, such as making a phone call, and then puts his face close to the screen, the capacitive proximity sensor can effectively recognize the capacitance change caused by the approach of the face, so as to make a correct response, then it will normally turn off during the call. screen, the screen will not be turned off by mistake.

基准电容值是指电容式接近传感器以此值为基础,对是否有人脸接近移动终端屏幕进行检测。The reference capacitance value means that the capacitive proximity sensor detects whether a human face approaches the screen of the mobile terminal based on this value.

本发明实施例中,当电容式接近传感器被应用注册时,检测移动终端的屏幕状态,若屏幕状态为亮屏状态,则校准电容式接近传感器的基准电容值,将电容式接近传感器当前测量的电容值作为电容式接近传感器的基准电容值,以此消除由于在用户使用移动终端时,其他无关物体产生的电容值造成电容式接近传感器的感应误差,提高判断人脸是否接近移动终端屏幕的准确率。In the embodiment of the present invention, when the capacitive proximity sensor is registered by the application, the screen state of the mobile terminal is detected. If the screen state is a bright screen state, the reference capacitance value of the capacitive proximity sensor is calibrated, and the capacitive proximity sensor is currently measured. The capacitance value is used as the reference capacitance value of the capacitive proximity sensor, so as to eliminate the sensing error of the capacitive proximity sensor caused by the capacitance value generated by other irrelevant objects when the user uses the mobile terminal, and improve the accuracy of judging whether the face is close to the mobile terminal screen Rate.

请参阅图2,图2为本发明另一实施例提供的传感器校准方法的实现流程示意图,该方法可应用于如下电子装置中:内置有SAR传感器等电容式接近传感器的手机、平板电脑、笔记本电脑等移动终端。如图2所示,该方法主要包括以下步骤:Please refer to Fig. 2, Fig. 2 is a schematic diagram of the implementation process of the sensor calibration method provided by another embodiment of the present invention, which can be applied to the following electronic devices: mobile phones, tablet computers, notebooks with built-in capacitive proximity sensors such as SAR sensors Computers and other mobile terminals. As shown in Figure 2, the method mainly includes the following steps:

S201、当电容式接近传感器被新的应用注册时,检测移动终端的屏幕状态;S201. When the capacitive proximity sensor is registered by a new application, detect the screen state of the mobile terminal;

移动终端在运行各种应用时,有些应用运行时开启电容式接近传感器,例如开启自动背光时,电容式接近传感器是被应用注册并触发开启了。此时如果有来电,那么电容式接近传感器虽然再次被注册,但并不会再次被开启。因此检测数据是前一次检测的结果,应用到新的应用上,可能会产生错误。When the mobile terminal runs various applications, some applications turn on the capacitive proximity sensor when running. For example, when the automatic backlight is turned on, the capacitive proximity sensor is registered by the application and triggered to turn on. If there is an incoming call at this time, although the capacitive proximity sensor is registered again, it will not be turned on again. Therefore, the detection data is the result of the previous detection, and when applied to a new application, errors may occur.

新的应用是指晚于之前已注册的应用注册的应用。之前已注册有应用,之后又有应用注册,则之后注册的应用为新的应用。例如:A应用在B应用之前注册电容式接近传感器,则B应用相对于A应用为新的应用。A new application is one that is registered later than a previously registered application. If an application has been registered before, and another application is registered later, the application registered after that is a new application. For example: Application A registers the capacitive proximity sensor before application B, then application B is a new application relative to application A.

S202、若屏幕状态为亮屏状态,则将电容式接近传感器当前测量的电容值作为电容式接近传感器的基准电容值。S202. If the screen state is a bright screen state, use the capacitance value currently measured by the capacitive proximity sensor as a reference capacitance value of the capacitive proximity sensor.

若屏幕状态为亮屏状态,表明电容式接近传感器当前测量的电容值可能影响了屏幕熄灭,将电容式接近传感器当前测量的电容值作为电容式接近传感器的基准电容值,即,将电容式接近传感器的初始的基准电容值修改为该当前测量的电容值。这样即便是屏幕上有水滴、汗液等物体,它们产生的电容值被校准在基准电容值内了,因此不会影响电容式接近传感器的检测结果。那么此时用户使用移动终端,例如打电话,再将脸靠近屏幕,电容式接近传感器就可以有效地识别到人脸靠近导致的电容变化,从而做出正确的响应,那么通话时就会正常灭屏,不会误灭屏。If the screen status is bright, it indicates that the capacitance value currently measured by the capacitive proximity sensor may have affected the screen being turned off. The capacitance value currently measured by the capacitive proximity sensor is used as the reference capacitance value of the capacitive proximity sensor, that is, the capacitive proximity sensor The sensor's initial baseline capacitance value is modified to the current measured capacitance value. In this way, even if there are water droplets, sweat and other objects on the screen, the capacitance value generated by them is calibrated within the reference capacitance value, so it will not affect the detection result of the capacitive proximity sensor. At this time, when the user uses the mobile terminal, such as making a phone call, and then puts his face close to the screen, the capacitive proximity sensor can effectively recognize the capacitance change caused by the approach of the face, so as to make a correct response, then it will normally turn off during the call. screen, the screen will not be turned off by mistake.

若屏幕为灭屏状态,表示当前屏幕状态的控制是准确的,则保持电容式接近传感器的当前基准电容值不变,不对电容式接近传感器的基准电容值进行校准,保持屏幕的灭屏状态。If the screen is in the off-screen state, it means that the control of the current screen state is accurate, then keep the current reference capacitance value of the capacitive proximity sensor unchanged, do not calibrate the reference capacitance value of the capacitive proximity sensor, and keep the screen in the off-screen state.

基准电容值是指电容式接近传感器以此基准电容值为基础,判断是否有人脸接近移动终端屏幕。The reference capacitance value means that the capacitive proximity sensor judges whether a human face approaches the screen of the mobile terminal based on the reference capacitance value.

本发明实施例中,当电容式接近传感器被新的应用注册时,检测移动终端的屏幕状态,若屏幕状态为亮屏状态,则校准电容式接近传感器的基准电容值,将电容式接近传感器当前测量的电容值作为电容式接近传感器的基准电容值,以此消除由于在用户使用移动终端时,其他无关物体产生的电容值造成电容式接近传感器的感应误差,提高判断人脸是否接近移动终端屏幕的准确率。In the embodiment of the present invention, when the capacitive proximity sensor is registered by a new application, the screen state of the mobile terminal is detected, and if the screen state is a bright screen state, the reference capacitance value of the capacitive proximity sensor is calibrated, and the capacitive proximity sensor is currently The measured capacitance value is used as the reference capacitance value of the capacitive proximity sensor, so as to eliminate the sensing error of the capacitive proximity sensor caused by the capacitance value generated by other irrelevant objects when the user uses the mobile terminal, and improve the judgment of whether the face is close to the mobile terminal screen the accuracy rate.

请参阅图3,图3为本发明另一实施例提供的传感器校准方法的实现流程示意图,该方法可应用于如下电子装置中:内置有SAR传感器等电容式接近传感器的手机、平板电脑、笔记本电脑等移动终端。如图3所示,该方法主要包括以下步骤:Please refer to Fig. 3, Fig. 3 is a schematic diagram of the implementation flow of the sensor calibration method provided by another embodiment of the present invention, which can be applied to the following electronic devices: mobile phones, tablet computers, notebooks with built-in capacitive proximity sensors such as SAR sensors Computers and other mobile terminals. As shown in Figure 3, the method mainly includes the following steps:

S301、当电容式接近传感器被新的应用注册时,对比已注册的应用等级和新的应用等级;S301. When the capacitive proximity sensor is registered by a new application, compare the registered application level with the new application level;

在移动终端的系统中设置一个应用等级表,其中记录有注册电容式接近传感器的应用名单以及对应的等级。An application level table is set in the system of the mobile terminal, which records the list of applications registered with the capacitive proximity sensor and the corresponding levels.

例如,通话应用的等级高于屏幕防误触应用的等级,屏幕防误触应用的等级高于自动背光应用的等级。For example, the level of the calling application is higher than that of the screen anti-mistouch application, and the level of the screen anti-mistouch application is higher than that of the automatic backlight application.

对比已注册的应用等级和新的应用等级,如果注册电容式接近传感器的新的应用等级高于已注册在先的应用等级,则检测移动终端屏幕状态,如果注册电容式接近传感器的新的应用等级低于于已注册在先的应用等级,则不检测移动终端屏幕状态的步骤,不校准电容式接近传感器的基准电容值。Compare the registered application level with the new application level, if the new application level of the registered capacitive proximity sensor is higher than the previously registered application level, then detect the screen status of the mobile terminal, if the new application level of the registered capacitive proximity sensor If the level is lower than the previously registered application level, the step of detecting the screen state of the mobile terminal is not performed, and the reference capacitance value of the capacitive proximity sensor is not calibrated.

例如开启自动背光时,电容式接近传感器是被注册并触发开启了。此时如果有来电,那么电容式接近传感器再次被注册,对比自动背光应用和通话应用的等级,通话应用等级高于自动背光应用,则在启用通话应用时不会再次开启电容式接近传感器。因此检测数据是前一次检测的结果,应用到通话应用上,可能会产生错误。For example, when the automatic backlight is turned on, the capacitive proximity sensor is registered and triggered to turn on. If there is an incoming call at this time, then the capacitive proximity sensor is registered again. Compared with the level of the automatic backlight application and the call application, the level of the call application is higher than that of the automatic backlight application, and the capacitive proximity sensor will not be turned on again when the call application is enabled. Therefore, the detection data is the result of the previous detection, and when applied to the call application, errors may occur.

S302、若新的应用等级高于已注册的应用等级,则检测移动终端的屏幕状态;S302. If the new application level is higher than the registered application level, then detect the screen state of the mobile terminal;

移动终端在运行各种应用时,有些应用运行时开启电容式接近传感器,例如开启自动背光时,电容式接近传感器是被注册并触发开启了。此时如果有来电,那么接近传感器虽然再次被注册,但并不会再次被开启。因此检测数据是前一次检测的结果,应用到新的应用上,可能会产生错误。When the mobile terminal runs various applications, some applications turn on the capacitive proximity sensor when running, for example, when the automatic backlight is turned on, the capacitive proximity sensor is registered and triggered to be turned on. If there is an incoming call at this time, although the proximity sensor is registered again, it will not be turned on again. Therefore, the detection data is the result of the previous detection, and when applied to a new application, errors may occur.

若新的应用等级低于已注册的应用等级,则不检测移动终端的屏幕状态。If the new application level is lower than the registered application level, the screen state of the mobile terminal is not detected.

S303、若屏幕状态为亮屏状态,则将电容式接近传感器当前测量的电容值作为电容式接近传感器的基准电容值;S303. If the screen state is a bright screen state, use the capacitance value currently measured by the capacitive proximity sensor as the reference capacitance value of the capacitive proximity sensor;

若屏幕状态为亮屏状态,表明电容式接近传感器当前测量的电容值可能影响了屏幕熄灭,将电容式接近传感器当前测量的电容值作为电容式接近传感器的基准电容值,这样即便是屏幕上有水滴、汗液等物体,它们产生的电容值被校准在基准电容值内了,因此不会影响电容式接近传感器的检测结果。那么此时用户使用移动终端,例如打电话,再将脸靠近屏幕,电容式接近传感器就可以有效地识别到人脸靠近导致的电容变化,从而做出正确的响应,那么通话时就会正常灭屏,不会误灭屏。If the screen status is bright, it means that the capacitance value currently measured by the capacitive proximity sensor may affect the screen being turned off. The capacitance value currently measured by the capacitive proximity sensor is used as the reference capacitance value of the capacitive proximity sensor, so that even if the screen has For objects such as water droplets and sweat, the capacitance value generated by them is calibrated within the reference capacitance value, so it will not affect the detection result of the capacitive proximity sensor. At this time, when the user uses the mobile terminal, such as making a phone call, and then puts his face close to the screen, the capacitive proximity sensor can effectively recognize the capacitance change caused by the approach of the face, so as to make a correct response, then it will normally turn off during the call. screen, the screen will not be turned off by mistake.

S304、若屏幕状态为灭屏状态,则保持电容式接近传感器的当前基准电容值不变。S304. If the screen state is the off-screen state, keep the current reference capacitance value of the capacitive proximity sensor unchanged.

若屏幕为灭屏状态,表示当前屏幕状态的控制是准确的,则保持电容式接近传感器的当前基准电容值不变,不对电容式接近传感器的基准电容值进行校准,保持屏幕的灭屏状态。If the screen is in the off-screen state, it means that the control of the current screen state is accurate, then keep the current reference capacitance value of the capacitive proximity sensor unchanged, do not calibrate the reference capacitance value of the capacitive proximity sensor, and keep the screen in the off-screen state.

基准电容值是指电容式接近传感器以此基准电容值为基础,判断是否有人脸接近移动终端屏幕。The reference capacitance value means that the capacitive proximity sensor judges whether a human face approaches the screen of the mobile terminal based on the reference capacitance value.

本发明实施例中,当电容式接近传感器被等级更高的应用注册时,检测移动终端的屏幕状态,若屏幕状态为亮屏状态,则校准电容式接近传感器的基准电容值,将电容式接近传感器当前测量的电容值作为电容式接近传感器的基准电容值,以此消除由于在用户使用移动终端时,其他无关物体产生的电容值造成电容式接近传感器的感应误差,提高判断人脸是否接近移动终端屏幕的准确率。In the embodiment of the present invention, when the capacitive proximity sensor is registered by a higher-level application, the screen state of the mobile terminal is detected. If the screen state is a bright screen state, the reference capacitance value of the capacitive proximity sensor is calibrated, and the capacitive proximity sensor The capacitance value currently measured by the sensor is used as the reference capacitance value of the capacitive proximity sensor, so as to eliminate the sensing error of the capacitive proximity sensor caused by the capacitance value generated by other irrelevant objects when the user uses the mobile terminal, and improve the judgment of whether the face is close to moving The accuracy rate of the terminal screen.

请参阅图4,图4是本发明一实施例提供的电子装置的结构示意图,为了便于说明,仅示出了与本发明实施例相关的部分。图4示例的电子装置可以是前述图1、图2、图3所示实施例提供的传感器校准方法的执行主体移动终端。图4示例的电子装置,主要包括:Please refer to FIG. 4 . FIG. 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. For ease of description, only parts related to the embodiment of the present invention are shown. The electronic device illustrated in FIG. 4 may be a mobile terminal executing the sensor calibration method provided in the embodiments shown in FIGS. 1 , 2 , and 3 . The electronic device illustrated in Figure 4 mainly includes:

检测模块401,用于当电容式接近传感器被应用注册时,检测移动终端的屏幕状态;The detection module 401 is used to detect the screen state of the mobile terminal when the capacitive proximity sensor is registered by the application;

电容式接近传感器内置于移动终端内,是根据检测的电容值的大小判断是否有人脸靠近屏幕。The capacitive proximity sensor is built into the mobile terminal, and judges whether a human face is close to the screen according to the detected capacitance value.

移动终端在运行各种应用时,有些与应用运行时需要开启电容式接近传感器,通过电容式接近传感器检测结果控制移动终端的屏幕的点亮和熄灭。When the mobile terminal runs various applications, some applications need to turn on the capacitive proximity sensor when the application is running, and control the lighting and extinguishing of the screen of the mobile terminal through the detection result of the capacitive proximity sensor.

当电容式接近传感器被应用注册时,表明有应用要获取电容式接近传感器的检测数据,此时检测移动终端的屏幕状态,屏幕状态分为亮屏状态和灭屏状态。When the capacitive proximity sensor is registered by the application, it indicates that there is an application to obtain the detection data of the capacitive proximity sensor. At this time, the screen state of the mobile terminal is detected, and the screen state is divided into a bright screen state and an off screen state.

校准模块402,用于若屏幕状态为亮屏状态,则将电容式接近传感器当前测量的电容值作为电容式接近传感器的基准电容值。The calibration module 402 is configured to use the capacitance value currently measured by the capacitive proximity sensor as a reference capacitance value of the capacitive proximity sensor if the screen state is a bright screen state.

若屏幕状态为亮屏状态,表明电容式接近传感器当前测量的电容值可能影响了屏幕熄灭,将电容式接近传感器当前测量的电容值作为电容式接近传感器的基准电容值,即,将电容式接近传感器的初始的基准电容值修改为该当前测量的电容值。这样即便是屏幕上有水滴、汗液等物体,它们产生的电容值被校准在修改后的基准电容值内了,因此不会影响电容式接近传感器的检测结果。那么此时用户使用移动终端,例如打电话,再将脸靠近屏幕,电容式接近传感器就可以有效地识别到人脸靠近导致的电容变化,从而做出正确的响应,那么通话时就会正常灭屏,不会误灭屏。If the screen status is bright, it indicates that the capacitance value currently measured by the capacitive proximity sensor may have affected the screen being turned off. The capacitance value currently measured by the capacitive proximity sensor is used as the reference capacitance value of the capacitive proximity sensor, that is, the capacitive proximity sensor The sensor's initial baseline capacitance value is modified to the current measured capacitance value. In this way, even if there are water droplets, sweat and other objects on the screen, the capacitance value generated by them is calibrated within the modified reference capacitance value, so the detection result of the capacitive proximity sensor will not be affected. At this time, when the user uses the mobile terminal, such as making a phone call, and then puts his face close to the screen, the capacitive proximity sensor can effectively recognize the capacitance change caused by the approach of the face, so as to make a correct response, then it will normally turn off during the call. screen, the screen will not be turned off by mistake.

基准电容值是指电容式接近传感器以此值为基础,判断是否有人脸接近移动终端屏幕。The reference capacitance value means that the capacitive proximity sensor judges whether a human face approaches the screen of the mobile terminal based on this value.

本实施例未尽之细节,请参阅前述图1~图3所示实施例的描述,此处不再赘述。For details not covered in this embodiment, please refer to the description of the embodiment shown in FIGS. 1 to 3 above, and will not be repeated here.

需要说明的是,以上图4示例的电子装置的实施方式中,各功能模块的划分仅是举例说明,实际应用中可以根据需要,例如相应硬件的配置要求或者软件的实现的便利考虑,而将上述功能分配由不同的功能模块完成,即将电子装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。而且,实际应用中,本实施例中的相应的功能模块可以是由相应的硬件实现,也可以由相应的硬件执行相应的软件完成。本说明书提供的各个实施例都可应用上述描述原则,以下不再赘述。It should be noted that, in the implementation of the electronic device illustrated in FIG. 4 above, the division of each functional module is only an example. In practical applications, it may be based on needs, such as the configuration requirements of corresponding hardware or the convenience of software implementation. The above function allocation is accomplished by different functional modules, that is, the internal structure of the electronic device is divided into different functional modules to complete all or part of the functions described above. Moreover, in practical applications, the corresponding functional modules in this embodiment may be implemented by corresponding hardware, or may be completed by corresponding hardware executing corresponding software. Each of the embodiments provided in this specification can apply the above-mentioned description principle, which will not be described in detail below.

本发明实施例中,当电容式接近传感器被新的应用注册时,检测移动终端的屏幕状态,若屏幕状态为亮屏状态,则校准电容式接近传感器的基准电容值,将电容式接近传感器当前测量的电容值作为电容式接近传感器的基准电容值,以此消除由于在用户使用移动终端时,其他无关物体产生的电容值造成电容式接近传感器的感应误差,提高判断人脸是否接近移动终端屏幕的准确率。In the embodiment of the present invention, when the capacitive proximity sensor is registered by a new application, the screen state of the mobile terminal is detected, and if the screen state is a bright screen state, the reference capacitance value of the capacitive proximity sensor is calibrated, and the capacitive proximity sensor is currently The measured capacitance value is used as the reference capacitance value of the capacitive proximity sensor, so as to eliminate the sensing error of the capacitive proximity sensor caused by the capacitance value generated by other irrelevant objects when the user uses the mobile terminal, and improve the judgment of whether the face is close to the mobile terminal screen the accuracy rate.

请参阅图5,本发明另一实施例提供的电子装置的结构示意图,为了便于说明,仅示出了与本发明实施例相关的部分。图5示例的电子装置可以是前述图1至图3所示实施例提供的传感器校准方法的执行主体。图5示例的电子装置,与图4所示实施例中的电子装置的不同之处主要在于:Please refer to FIG. 5 , which is a schematic structural diagram of an electronic device provided by another embodiment of the present invention. For ease of description, only parts related to the embodiment of the present invention are shown. The electronic device illustrated in FIG. 5 may be the execution subject of the sensor calibration method provided in the embodiments shown in FIGS. 1 to 3 . The electronic device illustrated in FIG. 5 differs from the electronic device in the embodiment shown in FIG. 4 mainly in that:

进一步的,检测模块401,还用于当电容式接近传感器被新的应用注册时,检测移动终端的屏幕状态;Further, the detection module 401 is also used to detect the screen state of the mobile terminal when the capacitive proximity sensor is registered by a new application;

新的应用是指晚于之前已注册的应用注册的应用。A new application is one that is registered later than a previously registered application.

检测模块401还进一步地包括:The detection module 401 further includes:

对比子模块4011,用于当电容式接近传感器被新的应用注册时,对比已注册的应用等级和新的应用等级;The comparison sub-module 4011 is used to compare the registered application level and the new application level when the capacitive proximity sensor is registered by a new application;

在移动终端的系统中设置一个应用等级表,其中记录有注册电容式接近传感器的应用名单以及对应的等级。An application level table is set in the system of the mobile terminal, which records the list of applications registered with the capacitive proximity sensor and the corresponding levels.

例如,通话应用的等级高于屏幕防误触应用的等级,屏幕防误触应用的等级高于自动背光应用的等级。For example, the level of the calling application is higher than that of the screen anti-mistouch application, and the level of the screen anti-mistouch application is higher than that of the automatic backlight application.

检测子模块4012,用于若新的应用等级高于已注册的应用等级,则检测移动终端的屏幕状态。The detection sub-module 4012 is used to detect the screen state of the mobile terminal if the new application level is higher than the registered application level.

校准模块402,还用于若屏幕状态为灭屏状态,则保持电容式接近传感器的当前基准电容值不变。The calibration module 402 is further configured to keep the current reference capacitance value of the capacitive proximity sensor unchanged if the screen state is off.

本实施例未尽之细节,请参阅前述图1至图4所示实施例的描述,此处不再赘述。For the details not covered in this embodiment, please refer to the description of the embodiment shown in FIG. 1 to FIG.

本发明实施例中,当电容式接近传感器被应用注册时,检测移动终端的屏幕状态,若屏幕状态为亮屏状态,则校准电容式接近传感器的基准电容值,将电容式接近传感器当前测量的电容值作为电容式接近传感器的基准电容值,以此消除由于在用户使用移动终端时,其他无关物体产生的电容值造成电容式接近传感器的感应误差,提高判断人脸是否接近移动终端屏幕的准确率。In the embodiment of the present invention, when the capacitive proximity sensor is registered by the application, the screen state of the mobile terminal is detected. If the screen state is a bright screen state, the reference capacitance value of the capacitive proximity sensor is calibrated, and the capacitive proximity sensor is currently measured. The capacitance value is used as the reference capacitance value of the capacitive proximity sensor, so as to eliminate the sensing error of the capacitive proximity sensor caused by the capacitance value generated by other irrelevant objects when the user uses the mobile terminal, and improve the accuracy of judging whether the face is close to the mobile terminal screen Rate.

请参阅图6,图6为本发明实施例提供的电子装置的硬件结构图。Please refer to FIG. 6 . FIG. 6 is a hardware structural diagram of an electronic device provided by an embodiment of the present invention.

本实施例中所描述的电子装置,包括:The electronic device described in this embodiment includes:

存储器51、处理器52及存储在存储器51上并可在处理器上运行的计算机程序,处理器执行所述计算机程序时,实现前述图1至图3所示实施例中描述的传感器校准方法。The memory 51, the processor 52, and the computer program stored in the memory 51 and operable on the processor, when the processor executes the computer program, implements the sensor calibration method described in the embodiment shown in Figs. 1 to 3 above.

进一步地,该电子装置还包括:Further, the electronic device also includes:

至少一个输入设备53;至少一个输出设备54。at least one input device 53; at least one output device 54.

上述存储器51、处理器52输入设备53和输出设备54通过总线55连接。The aforementioned memory 51 , processor 52 , input device 53 and output device 54 are connected through a bus 55 .

其中,输入设备53具体可为摄像头、触控面板、物理按键或者鼠标等等。输出设备54具体可为显示屏。Wherein, the input device 53 may specifically be a camera, a touch panel, a physical button or a mouse, and the like. The output device 54 can specifically be a display screen.

存储器51可以是高速随机存取记忆体(RAM,Random Access Memory)存储器,也可为非不稳定的存储器(non-volatile memory),例如磁盘存储器。存储器51用于存储一组可执行程序代码,处理器52与存储器51耦合。The memory 51 may be a high-speed random access memory (RAM, Random Access Memory) memory, or a non-volatile memory (non-volatile memory), such as a disk memory. The memory 51 is used to store a set of executable program codes, and the processor 52 is coupled with the memory 51 .

进一步地,本发明实施例还提供了一种计算机可读存储介质,该计算机可读存储介质可以是设置于上述各实施例中的电子装置中,该计算机可读存储介质可以是前述图6所示实施例中的存储器。该计算机可读存储介质上存储有计算机程序,该程序被处理器执行时实现前述图1至图3所示实施例中描述的传感器校准方法。进一步地,该计算机可存储介质还可以是U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。Furthermore, an embodiment of the present invention also provides a computer-readable storage medium, which can be set in the electronic device in each of the above-mentioned embodiments, and the computer-readable storage medium can be the above-mentioned FIG. 6 memory in the example embodiment. A computer program is stored on the computer-readable storage medium, and when the program is executed by a processor, the sensor calibration method described in the foregoing embodiments shown in FIGS. 1 to 3 is implemented. Further, the computer storage medium can also be a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, etc., which can store medium for program code.

在本申请所提供的多个实施例中,应该理解到,所揭露的移动终端和方法,可以通过其它的方式实现。例如,以上所描述的实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信链接可以是通过一些接口,模块的间接耦合或通信链接,可以是电性,机械或其它的形式。In the multiple embodiments provided in this application, it should be understood that the disclosed mobile terminal and method can be implemented in other ways. For example, the above-described embodiments are only illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules or components can be combined or can be Integrate into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication link shown or discussed may be through some interfaces, and the indirect coupling or communication link between modules may be in electrical, mechanical or other forms.

所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or may be distributed to multiple network modules. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, each module may exist separately physically, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules.

需要说明的是,对于前述的各方法实施例,为了简便描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其它顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定都是本发明所必须的。It should be noted that, for the sake of simplicity of description, the aforementioned method embodiments are expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. Because of the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其它实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.

以上为对本发明所提供的传感器校准方法、电子装置及计算机可读存储介质的描述,对于本领域的一般技术人员,依据本发明实施例的思想,在具体实施方式及应用范围上均会有改变之处,综上,本说明书内容不应理解为对本发明的限制。The above is the description of the sensor calibration method, electronic device and computer-readable storage medium provided by the present invention. For those of ordinary skill in the art, according to the idea of the embodiment of the present invention, there will be changes in the specific implementation and application scope In summary, the contents of this specification should not be construed as limiting the present invention.

Claims (10)

Translated fromChinese
1.一种传感器校准方法,其特征在于,所述方法包括:1. A sensor calibration method, characterized in that the method comprises:当电容式接近传感器被应用注册时,检测移动终端的屏幕状态;When the capacitive proximity sensor is registered by the application, detect the screen status of the mobile terminal;若所述屏幕状态为亮屏状态,则将所述电容式接近传感器当前测量的电容值作为所述电容式接近传感器的基准电容值。If the screen state is a bright screen state, the capacitance value currently measured by the capacitive proximity sensor is used as the reference capacitance value of the capacitive proximity sensor.2.如权利要求1所述的方法,其特征在于,所述当电容式接近传感器被应用注册时,检测移动终端的屏幕状态包括:2. The method according to claim 1, wherein when the capacitive proximity sensor is registered by the application, detecting the screen state of the mobile terminal comprises:当所述电容式接近传感器被新的应用注册时,检测移动终端的屏幕状态。When the capacitive proximity sensor is registered by a new application, the screen state of the mobile terminal is detected.3.如权利要求2所述的方法,其特征在于,所述当所述电容式接近传感器被新的应用注册时,检测移动终端的屏幕状态包括:3. The method according to claim 2, wherein when the capacitive proximity sensor is registered by a new application, detecting the screen state of the mobile terminal comprises:当所述电容式接近传感器被新的应用注册时,对比已注册的应用等级和新的应用等级;When the capacitive proximity sensor is registered by a new application, comparing the registered application level with the new application level;若新的应用等级高于所述已注册的应用等级,则检测移动终端的屏幕状态。If the new application level is higher than the registered application level, the screen state of the mobile terminal is detected.4.如权利要求1所述的方法,其特征在于,所述当电容式接近传感器被应用注册时,检测移动终端的屏幕状态之后包括:4. The method according to claim 1, wherein when the capacitive proximity sensor is registered by the application, detecting the screen state of the mobile terminal comprises:若所述屏幕状态为灭屏状态,则保持所述电容式接近传感器的当前基准电容值不变。If the screen state is an off-screen state, then keep the current reference capacitance value of the capacitive proximity sensor unchanged.5.一种电子装置,其特征在于,包括:5. An electronic device, characterized in that it comprises:检测模块,用于当电容式接近传感器被应用注册时,检测移动终端的屏幕状态;The detection module is used to detect the screen state of the mobile terminal when the capacitive proximity sensor is registered by the application;校准模块,用于若所述屏幕状态为亮屏状态,则将所述电容式接近传感器当前测量的电容值作为所述电容式接近传感器的基准电容值。The calibration module is configured to use the capacitance value currently measured by the capacitive proximity sensor as a reference capacitance value of the capacitive proximity sensor if the screen state is a bright screen state.6.如权利要求5所述的电子装置,其特征在于,所述检测模块,还用于当所述电容式接近传感器被新的应用注册时,检测移动终端的屏幕状态。6. The electronic device according to claim 5, wherein the detection module is further configured to detect a screen state of the mobile terminal when the capacitive proximity sensor is registered by a new application.7.如权利要求6所述的电子装置,其特征在于,所述检测模块包括:7. The electronic device according to claim 6, wherein the detection module comprises:对比子模块,用于当所述电容式接近传感器被新的应用注册时,对比已注册的应用等级和新的应用等级;The comparison sub-module is used to compare the registered application level and the new application level when the capacitive proximity sensor is registered by a new application;检测子模块,用于若新的应用等级高于所述已注册的应用等级,则检测移动终端的屏幕状态。The detection submodule is used to detect the screen state of the mobile terminal if the new application level is higher than the registered application level.8.如权利要求1所述的电子装置,其特征在于,所述校准模块,还用于若所述屏幕状态为灭屏状态,则保持所述电容式接近传感器的当前基准电容值不变。8 . The electronic device according to claim 1 , wherein the calibration module is further configured to keep the current reference capacitance value of the capacitive proximity sensor unchanged if the screen state is an off-screen state.9.一种电子装置,包括:存储器,处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时,实现权利要求1至4中的任一项所述的传感器校准方法中的各个步骤。9. An electronic device, comprising: a memory, a processor, and a computer program stored on the memory and operable on the processor, characterized in that, when the processor executes the computer program, claims 1 to 4 are realized Each step in the sensor calibration method described in any one.10.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时,实现权利要求1至4中的任一项所述的传感器校准方法中的各个步骤。10. A computer-readable storage medium on which a computer program is stored, wherein when the computer program is executed by a processor, the sensor calibration method according to any one of claims 1 to 4 is realized. various steps.
CN201810586318.0A2018-06-082018-06-08 Sensor calibration method, electronic device, and computer-readable storage mediumExpired - Fee RelatedCN108801321B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201810586318.0ACN108801321B (en)2018-06-082018-06-08 Sensor calibration method, electronic device, and computer-readable storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201810586318.0ACN108801321B (en)2018-06-082018-06-08 Sensor calibration method, electronic device, and computer-readable storage medium

Publications (2)

Publication NumberPublication Date
CN108801321Atrue CN108801321A (en)2018-11-13
CN108801321B CN108801321B (en)2021-08-17

Family

ID=64087887

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201810586318.0AExpired - Fee RelatedCN108801321B (en)2018-06-082018-06-08 Sensor calibration method, electronic device, and computer-readable storage medium

Country Status (1)

CountryLink
CN (1)CN108801321B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109724640A (en)*2019-01-122019-05-07Oppo广东移动通信有限公司 Proximity sensor calibration method, electronic device, and computer-readable storage medium
CN110044693A (en)*2019-05-052019-07-23大连理工大学A kind of sensor states method of real-time for structure load electrical testing inspection
CN112987127A (en)*2021-02-042021-06-18维沃移动通信有限公司Detection processing method and device of specific absorption rate sensor and electronic equipment
TWI869781B (en)*2022-11-252025-01-11大陸商敦泰電子(深圳)有限公司Proximity detection method, apparatus and medium

Citations (17)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20080167832A1 (en)*2005-06-102008-07-10Qsi CorporationMethod for determining when a force sensor signal baseline in a force-based input device can be updated
CN102541382A (en)*2012-01-182012-07-04华为终端有限公司Method and terminal for calibrating capacitive touch screen
CN102855032A (en)*2011-06-272013-01-02比亚迪股份有限公司Baseline updating method and touch device
CN102880346A (en)*2012-09-202013-01-16广东欧珀移动通信有限公司Method and system for mobile terminal to set standard value of touch screen
KR20130007789A (en)*2011-07-112013-01-21인하대학교 산학협력단Approch sensing touch system
US20130106710A1 (en)*2011-10-312013-05-02Nokia CorporationMethods, apparatuses, and computer program products for adjusting touchscreen sensitivity
US20130169584A1 (en)*2012-01-032013-07-04Vadim KonradiController and method for controlling a capacitive touch screen or the like
KR20130078235A (en)*2011-12-302013-07-10엘지전자 주식회사Mobile terminal and controlling method thereof
JP2013190850A (en)*2012-03-122013-09-26Denso CorpDisplay device
CN103677452A (en)*2012-08-302014-03-26华为终端有限公司Capacitive touch screen calibration method and capacitive touch device
CN103941994A (en)*2013-01-232014-07-23中兴通讯股份有限公司Sensing screen locking method and device of touch screen
CN104123006A (en)*2014-07-242014-10-29Tcl通讯(宁波)有限公司Control device for turning on or off screen on basis of proximity sensor and mobile terminal
CN104246675A (en)*2012-04-232014-12-24联发科技股份有限公司 Apparatus and method for performing proximity detection based on capacitive sensing output and status output
CN105760008A (en)*2015-01-052016-07-13辛纳普蒂克斯公司Modulating a reference voltage to perform capacitive sensing
US20160245671A1 (en)*2015-02-192016-08-25Brose Fahrzeugteile Gmbh & Co. Kommanditgesellschaft, HallstadtCapacitive proximity sensor for a motor vehicle, collision protection device for a motor vehicle and motor vehicle with a capacitive proximity sensor
WO2017014374A1 (en)*2015-07-202017-01-26Lg Electronics Inc.Mobile terminal and controlling method thereof
CN106657602A (en)*2016-10-262017-05-10努比亚技术有限公司Conversation screen-off system based on proximity sensor and mobile terminal

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20080167832A1 (en)*2005-06-102008-07-10Qsi CorporationMethod for determining when a force sensor signal baseline in a force-based input device can be updated
CN102855032A (en)*2011-06-272013-01-02比亚迪股份有限公司Baseline updating method and touch device
KR20130007789A (en)*2011-07-112013-01-21인하대학교 산학협력단Approch sensing touch system
US20130106710A1 (en)*2011-10-312013-05-02Nokia CorporationMethods, apparatuses, and computer program products for adjusting touchscreen sensitivity
KR20130078235A (en)*2011-12-302013-07-10엘지전자 주식회사Mobile terminal and controlling method thereof
US20130169584A1 (en)*2012-01-032013-07-04Vadim KonradiController and method for controlling a capacitive touch screen or the like
CN102541382A (en)*2012-01-182012-07-04华为终端有限公司Method and terminal for calibrating capacitive touch screen
JP2013190850A (en)*2012-03-122013-09-26Denso CorpDisplay device
CN104246675A (en)*2012-04-232014-12-24联发科技股份有限公司 Apparatus and method for performing proximity detection based on capacitive sensing output and status output
CN103677452A (en)*2012-08-302014-03-26华为终端有限公司Capacitive touch screen calibration method and capacitive touch device
CN102880346A (en)*2012-09-202013-01-16广东欧珀移动通信有限公司Method and system for mobile terminal to set standard value of touch screen
CN103941994A (en)*2013-01-232014-07-23中兴通讯股份有限公司Sensing screen locking method and device of touch screen
CN104123006A (en)*2014-07-242014-10-29Tcl通讯(宁波)有限公司Control device for turning on or off screen on basis of proximity sensor and mobile terminal
CN105760008A (en)*2015-01-052016-07-13辛纳普蒂克斯公司Modulating a reference voltage to perform capacitive sensing
US20160245671A1 (en)*2015-02-192016-08-25Brose Fahrzeugteile Gmbh & Co. Kommanditgesellschaft, HallstadtCapacitive proximity sensor for a motor vehicle, collision protection device for a motor vehicle and motor vehicle with a capacitive proximity sensor
WO2017014374A1 (en)*2015-07-202017-01-26Lg Electronics Inc.Mobile terminal and controlling method thereof
CN106657602A (en)*2016-10-262017-05-10努比亚技术有限公司Conversation screen-off system based on proximity sensor and mobile terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109724640A (en)*2019-01-122019-05-07Oppo广东移动通信有限公司 Proximity sensor calibration method, electronic device, and computer-readable storage medium
CN110044693A (en)*2019-05-052019-07-23大连理工大学A kind of sensor states method of real-time for structure load electrical testing inspection
CN110044693B (en)*2019-05-052021-04-20大连理工大学Sensor state real-time monitoring method for structure loading electrical measurement test
CN112987127A (en)*2021-02-042021-06-18维沃移动通信有限公司Detection processing method and device of specific absorption rate sensor and electronic equipment
TWI869781B (en)*2022-11-252025-01-11大陸商敦泰電子(深圳)有限公司Proximity detection method, apparatus and medium

Also Published As

Publication numberPublication date
CN108801321B (en)2021-08-17

Similar Documents

PublicationPublication DateTitle
US11133563B2 (en)Method of detecting swelling of battery using pressure sensor and electronic device using the method
CN106598335B (en)A kind of touch screen control method, device and mobile terminal of mobile terminal
US10261615B2 (en)Method and electronic device for outputting screen
CN108759892B (en) Sensor calibration method, electronic device, and computer-readable storage medium
EP3435199B1 (en)Method, mobile terminal and non-transitory computer-readable storage medium for adjusting scanning frequency of touch screen
US10466813B2 (en)Electronic device including electronic pen and method for recognizing the electronic pen therein
US20170336970A1 (en)Electronic device comprising display
US20170052630A1 (en)Method of sensing pressure by touch sensor and electronic device adapted thereto
CN104777987A (en)Method and device for controlling intelligent watch
CN106775087A (en)A kind of touch-screen control method of mobile terminal, device and mobile terminal
CN105243345B (en)The method and electronic equipment of a kind of electronic equipment false-touch prevention
CN106775407A (en) Method and device for controlling touch screen of mobile terminal and mobile terminal
TWI581139B (en)Touch display device and control system thereof
CN106657806B (en) A kind of exposure method and mobile terminal
CN106502605A (en)A kind of brightness of mobile terminal and color temperature adjusting method and device
CN108801321A (en)Sensor calibrating method, electronic device and computer readable storage medium
CN103513788B (en)Based on the gesture identification method of gyro sensor, system and mobile terminal
CN107504994A (en) Calibration method, device, mobile terminal and readable storage medium for proximity sensor
CN107506073A (en)Detection method of touch screen, device, mobile terminal and computer-readable recording medium
CN106293293A (en)The detection method of a kind of object distance state and mobile terminal
CN106909334A (en)A kind of method and mobile terminal for adjusting screen color temp
CN109738004A (en) Proximity sensor calibration method and device, electronic device and storage medium
CN106445235A (en)Touch starting position identification method and mobile terminal
CN106506825A (en) Touch screen control method, device and mobile terminal
CN107329586A (en)A kind of data inputting method, mobile terminal and computer-readable recording medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20210817

CF01Termination of patent right due to non-payment of annual fee

[8]ページ先頭

©2009-2025 Movatter.jp