CN108924319B - Proximity detection method and mobile terminal - Google Patents
Proximity detection method and mobile terminal Download PDFInfo
- Publication number
- CN108924319B CN108924319B CN201811001618.4A CN201811001618A CN108924319B CN 108924319 B CN108924319 B CN 108924319B CN 201811001618 A CN201811001618 A CN 201811001618A CN 108924319 B CN108924319 B CN 108924319B
- Authority
- CN
- China
- Prior art keywords
- capacitance value
- value
- mobile terminal
- preset
- target
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/026—Details of the structure or mounting of specific components
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
本发明提供一种接近检测方法和移动终端,所述移动终端包含防尘网。该方法包括:获取所述防尘网的目标电容值;确定所述目标电容值与基准电容值的目标差值,其中,所述基准电容值为在没有物体靠近所述防尘网的情况下,所述防尘网的电容值;根据所述目标差值与预设门限值的比较结果,确定是否有物体靠近所述移动终端。这样,可以获取防尘网的目标电容值,进而可以确定目标电容值与基准电容值的目标差值。可以根据目标差值与预设门限值的比较结果确定是否有物体靠近移动终端。利用防尘网进行接近检测,不需要占用移动终端额外的正面空间,即不会限制移动终端的屏占比。
The present invention provides a proximity detection method and a mobile terminal, wherein the mobile terminal includes a dustproof net. The method includes: acquiring a target capacitance value of the dust filter; determining a target difference between the target capacitance value and a reference capacitance value, wherein the reference capacitance value is when no object is close to the dust filter , the capacitance value of the dust filter; according to the comparison result between the target difference value and the preset threshold value, it is determined whether there is an object close to the mobile terminal. In this way, the target capacitance value of the dust filter can be obtained, and then the target difference between the target capacitance value and the reference capacitance value can be determined. Whether there is an object approaching the mobile terminal may be determined according to the comparison result between the target difference value and the preset threshold value. Proximity detection using the dustproof net does not need to occupy additional front space of the mobile terminal, that is, the screen ratio of the mobile terminal is not limited.
Description
技术领域technical field
本发明涉及通信技术领域,尤其涉及一种接近检测方法和移动终端。The present invention relates to the field of communication technologies, and in particular, to a proximity detection method and a mobile terminal.
背景技术Background technique
移动终端可以通过红外接近传感器来实现接近检测的功能。例如,接听电话时,移动终端中的红外接近传感器检测到人脸靠近屏幕时,可以自动黑屏。可以避免出现误操作的情况。The mobile terminal can realize the function of proximity detection through the infrared proximity sensor. For example, when answering a call, when the infrared proximity sensor in the mobile terminal detects that the face is close to the screen, the screen can be automatically blacked out. Misoperation can be avoided.
现有技术中,红外接近传感器设置于移动终端的正面。在移动终端的屏幕的显示区域之外,需要一定的空间来放置红外接近传感器,限制了移动终端的屏占比。因此,现有技术中,红外接近传感器会导致移动终端的屏占比较小。In the prior art, the infrared proximity sensor is disposed on the front of the mobile terminal. Outside the display area of the screen of the mobile terminal, a certain space is required to place the infrared proximity sensor, which limits the screen ratio of the mobile terminal. Therefore, in the prior art, the infrared proximity sensor will lead to a small screen ratio of the mobile terminal.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种接近检测方法和移动终端,以解决现有技术中,使用红外接近传感器进行接近检测会导致移动终端的屏占比较小的问题。Embodiments of the present invention provide a proximity detection method and a mobile terminal, so as to solve the problem in the prior art that the use of an infrared proximity sensor for proximity detection results in a small screen ratio of the mobile terminal.
为了解决上述技术问题,本发明是这样实现的:In order to solve the above-mentioned technical problems, the present invention is achieved in this way:
第一方面,本发明实施例提供了一种接近检测方法,应用于移动终端,所述移动终端包含防尘网,所述方法包括:In a first aspect, an embodiment of the present invention provides a proximity detection method, which is applied to a mobile terminal, where the mobile terminal includes a dust filter, and the method includes:
获取所述防尘网的目标电容值;Obtain the target capacitance value of the dust filter;
确定所述目标电容值与基准电容值的目标差值,其中,所述基准电容值为在没有物体靠近所述防尘网的情况下,所述防尘网的电容值;determining a target difference between the target capacitance value and a reference capacitance value, wherein the reference capacitance value is the capacitance value of the dust filter when no object is close to the dust filter;
根据所述目标差值与预设门限值的比较结果,确定是否有物体靠近所述移动终端。According to the comparison result between the target difference value and the preset threshold value, it is determined whether there is an object approaching the mobile terminal.
第二方面,本发明实施例还提供一种移动终端,包括:In a second aspect, an embodiment of the present invention further provides a mobile terminal, including:
防尘网、电容检测芯片和连接线;Dust filter, capacitance detection chip and connecting wire;
所述连接线用于连接所述防尘网和所述电容检测芯片;The connecting wire is used to connect the dust filter and the capacitance detection chip;
所述电容检测芯片用于获取所述防尘网的目标电容值;The capacitance detection chip is used to obtain the target capacitance value of the dust filter;
所述电容检测芯片用于确定所述目标电容值与基准电容值的目标差值,其中,所述基准电容值为在没有物体靠近所述防尘网的情况下,所述防尘网的电容值;The capacitance detection chip is used to determine the target difference between the target capacitance value and the reference capacitance value, wherein the reference capacitance value is the capacitance of the dust filter when no object is close to the dust filter. value;
所述电容检测芯片用于根据所述目标差值与预设门限值的比较结果,确定是否有物体靠近所述移动终端。The capacitance detection chip is configured to determine whether there is an object approaching the mobile terminal according to the comparison result between the target difference value and the preset threshold value.
这样,本发明实施例中,获取所述防尘网的目标电容值;确定所述目标电容值与基准电容值的目标差值,其中,所述基准电容值为在没有物体靠近所述防尘网的情况下,所述防尘网的电容值;根据所述目标差值与预设门限值的比较结果,确定是否有物体靠近所述移动终端。可以获取防尘网的目标电容值,进而可以确定目标电容值与基准电容值的目标差值。可以根据目标差值与预设门限值的比较结果确定是否有物体靠近移动终端。利用防尘网进行接近检测,不需要占用移动终端额外的正面空间,即不会限制移动终端的屏占比。In this way, in the embodiment of the present invention, the target capacitance value of the dustproof net is obtained; the target difference between the target capacitance value and the reference capacitance value is determined, wherein the reference capacitance value is when no object is close to the dustproof net. In the case of a net, the capacitance value of the dust net; according to the comparison result between the target difference value and the preset threshold value, it is determined whether there is an object approaching the mobile terminal. The target capacitance value of the dust filter can be obtained, and then the target difference between the target capacitance value and the reference capacitance value can be determined. Whether there is an object approaching the mobile terminal may be determined according to the comparison result between the target difference value and the preset threshold value. Proximity detection using the dustproof net does not need to occupy additional front space of the mobile terminal, that is, the screen ratio of the mobile terminal is not limited.
附图说明Description of drawings
图1是本发明实施例提供的一种接近检测方法的流程图;1 is a flowchart of a proximity detection method provided by an embodiment of the present invention;
图2是本发明实施例提供的移动终端的正面示意图;2 is a schematic front view of a mobile terminal provided by an embodiment of the present invention;
图3是本发明实施例提供的听筒防尘网作为电容检测通道的示意图;3 is a schematic diagram of an earpiece dust filter provided as a capacitance detection channel according to an embodiment of the present invention;
图4是本发明实施例提供的物体从正面靠近移动终端的示意图;4 is a schematic diagram of an object approaching a mobile terminal from the front according to an embodiment of the present invention;
图5是本发明实施例提供的听筒防尘网的电容值与基准电容值的差值ΔC的变化过程的示意图;5 is a schematic diagram of a change process of the difference ΔC between the capacitance value of the earpiece dust filter and the reference capacitance value provided by an embodiment of the present invention;
图6是本发明实施例提供的另一种接近检测方法的流程图;6 is a flowchart of another proximity detection method provided by an embodiment of the present invention;
图7是本发明实施例提供的一种移动终端的硬件结构示意图。FIG. 7 is a schematic diagram of a hardware structure of a mobile terminal according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
参见图1,图1是本发明实施例提供的一种接近检测方法的流程图,应用于移动终端,所述移动终端包含防尘网。如图1所示,包括以下步骤:Referring to FIG. 1, FIG. 1 is a flowchart of a proximity detection method provided by an embodiment of the present invention, which is applied to a mobile terminal, and the mobile terminal includes a dustproof net. As shown in Figure 1, it includes the following steps:
步骤101、获取所述防尘网的目标电容值。Step 101: Obtain a target capacitance value of the dust filter.
在步骤101中,可以将移动终端正面的听筒防尘网设计为一个电容检测通道。当有物体靠近听筒防尘网,该听筒防尘网的电容值会发生变化。通过听筒防尘网的电容值的变化量,可以实现移动终端正面以及顶部的接近检测。该听筒防尘网可以为金属防尘网。如图2所示,为移动终端的正面示意图。在图2中,显示了移动终端的天线1以及听筒防尘网2。In
如图3所示,为听筒防尘网作为电容检测通道的示意图。在图3中,显示了听筒防尘网2、电容检测芯片3、静电防护器件4、连接线5、主板6和听筒7。听筒防尘网2作为电容检测通道,可以通过连接线5连接到电容检测芯片3的输入引脚。其中,连接线5可以为柔性电路板51(Flexible Printed Circuit,FPC),或者可以为顶针52。为了防止从听筒防尘网2进来的静电会对电容检测芯片3造成损坏,因此可以加入静电防护器件4。该静电防护器件4的选型可以由电容检测芯片3来确定。听筒7位于听筒防尘网2的下面。As shown in Figure 3, it is a schematic diagram of the earpiece dust filter as a capacitance detection channel. In FIG. 3 , the earpiece
移动终端可以获取防尘网的目标电容值,即移动终端可以获取听筒防尘网的目标电容值。The mobile terminal may acquire the target capacitance value of the dust filter, that is, the mobile terminal may acquire the target capacitance value of the earpiece dust filter.
步骤102、确定所述目标电容值与基准电容值的目标差值,其中,所述基准电容值为在没有物体靠近所述防尘网的情况下,所述防尘网的电容值。Step 102: Determine a target difference between the target capacitance value and a reference capacitance value, where the reference capacitance value is the capacitance value of the dust filter when no object is close to the dust filter.
在步骤102中,可以确定目标电容值与基准电容值的目标差值。其中,基准电容值为在没有物体靠近防尘网的情况下,防尘网的电容值。In
步骤103、根据所述目标差值与预设门限值的比较结果,确定是否有物体靠近所述移动终端。Step 103: Determine whether there is an object approaching the mobile terminal according to the comparison result between the target difference value and a preset threshold value.
在步骤103中,可以将目标差值与预设门限值进行比较。需要说明的是,预设门限值可以包括预设第一门限值N和预设第二门限值M,且预设第一门限值N可以大于预设第二门限值M。In
可以根据比较结果确定是否有物体靠近移动终端。如图4所示,为物体从正面靠近移动终端的示意图。Whether there is an object approaching the mobile terminal may be determined according to the comparison result. As shown in FIG. 4 , it is a schematic diagram of an object approaching the mobile terminal from the front.
如图5所示,为听筒防尘网的电容值与基准电容值的差值ΔC的变化过程的示意图。假设物体越靠近移动终端,听筒防尘网的电容值越大。在图5中,展示了物体逐渐远离移动终端→逐渐靠近移动终端→逐渐远离移动终端的过程。如图5所示,A点、D点和E点为听筒防尘网的电容值与基准电容值的差值ΔC为预设第一门限值N的点;B点、C点和F点为听筒防尘网的电容值与基准电容值的差值ΔC为预设第二门限值M的点。As shown in FIG. 5 , it is a schematic diagram of the change process of the difference ΔC between the capacitance value of the earpiece dust filter and the reference capacitance value. It is assumed that the closer the object is to the mobile terminal, the greater the capacitance value of the earpiece dust filter. In FIG. 5 , the process of the object gradually moving away from the mobile terminal → gradually approaching the mobile terminal → gradually moving away from the mobile terminal is shown. As shown in Figure 5, points A, D and E are the points where the difference between the capacitance value of the earpiece dust filter and the reference capacitance value ΔC is the preset first threshold value N; points B, C and F is the point where the difference ΔC between the capacitance value of the earpiece dust filter and the reference capacitance value is the preset second threshold value M.
当上述目标差值大于预设第一门限值N时,可以确定有物体靠近移动终端。例如,图5中的点G,点G对应的目标差值ΔC大于预设第一门限值N,可以确定点G对应的目标时刻有物体靠近移动终端。When the above target difference value is greater than the preset first threshold value N, it may be determined that an object is approaching the mobile terminal. For example, at point G in FIG. 5 , the target difference ΔC corresponding to point G is greater than the preset first threshold value N, and it can be determined that the target moment corresponding to point G has an object approaching the mobile terminal.
当上述目标差值小于预设第二门限值M时,可以确定没有物体靠近移动终端。例如,图5中的点H,点H对应的目标差值ΔC小于预设第二门限值M,可以确定点H对应的目标时刻没有物体靠近移动终端。When the above target difference value is smaller than the preset second threshold value M, it can be determined that no object is close to the mobile terminal. For example, at point H in FIG. 5 , the target difference ΔC corresponding to the point H is smaller than the preset second threshold value M, and it can be determined that there is no object close to the mobile terminal at the target moment corresponding to the point H.
当上述目标差值大于或者等于预设第二门限值M且小于或者等于预设第一门限值N时,可以确定获取到目标电容值之前防尘网的电容值与基准电容值的差值的变化过程。进而可以根据该变化过程确定是否有物体靠近移动终端。When the target difference value is greater than or equal to the preset second threshold value M and less than or equal to the preset first threshold value N, the difference between the capacitance value of the dust filter and the reference capacitance value before the target capacitance value is obtained can be determined value change process. Further, it can be determined whether there is an object approaching the mobile terminal according to the change process.
例如,当防尘网的电容值与基准电容值的差值逐渐变小时,可以确定有物体靠近移动终端。例如,图5中的点I,点I对应的目标差值ΔC介于预设第二门限值M和预设第一门限值N之间。虽然点I对应的目标差值ΔC已经小于预设第一门限值N,但是点I对应的目标时刻之前防尘网的电容值与基准电容值的差值是逐渐变小的,即从点I对应的目标时刻之前一直到点I对应的目标时刻,物体是在逐渐远离移动终端的。物体在到达点I对应的位置时,防尘网的电容值与基准电容值的差值ΔC并未跌至预设第二门限值M之下,因此可以认为点I对应的目标时刻有物体靠近移动终端。For example, when the difference between the capacitance value of the dust filter and the reference capacitance value gradually becomes smaller, it can be determined that there is an object approaching the mobile terminal. For example, at point I in FIG. 5 , the target difference value ΔC corresponding to the point I is between the preset second threshold value M and the preset first threshold value N. Although the target difference ΔC corresponding to point I is already smaller than the preset first threshold value N, the difference between the capacitance value of the dust filter and the reference capacitance value before the target time corresponding to point I gradually becomes smaller, that is, from point I Before the target time corresponding to point I until the target time corresponding to point I, the object is gradually moving away from the mobile terminal. When the object reaches the position corresponding to point I, the difference ΔC between the capacitance value of the dust filter and the reference capacitance value does not drop below the preset second threshold value M, so it can be considered that there is an object at the target moment corresponding to point I close to the mobile terminal.
当防尘网的电容值与基准电容值的差值逐渐变大时,可以确定没有物体靠近移动终端。例如,图5中的点J,点J对应的目标差值ΔC介于预设第二门限值M和预设第一门限值N之间。虽然点J对应的目标差值ΔC已经大于预设第二门限值M,但是点J对应的目标时刻之前防尘网的电容值与基准电容值的差值是逐渐变大的,即从点J对应的目标时刻之前一直到点J对应的目标时刻,物体是在逐渐靠近移动终端的。物体在到达点J对应的位置时,防尘网的电容值与基准电容值的差值ΔC并未跃至预设第一门限值N之上,因此可以认为点J对应的目标时刻没有物体靠近移动终端。When the difference between the capacitance value of the dust filter and the reference capacitance value gradually increases, it can be determined that no object is close to the mobile terminal. For example, at point J in FIG. 5 , the target difference value ΔC corresponding to point J is between the preset second threshold value M and the preset first threshold value N. Although the target difference ΔC corresponding to point J is already greater than the preset second threshold value M, the difference between the capacitance value of the dust filter and the reference capacitance value before the target time corresponding to point J gradually increases, that is, from point J Before the target time corresponding to point J until the target time corresponding to point J, the object is gradually approaching the mobile terminal. When the object reaches the position corresponding to point J, the difference ΔC between the capacitance value of the dust filter and the reference capacitance value does not jump above the preset first threshold value N, so it can be considered that there is no object at the target moment corresponding to point J close to the mobile terminal.
由以上分析可知,在图5中,位于A点、D点或者E点上方的点,对应的状态为有物体靠近移动终端;位于B点、C点或者F点下方的点,对应的状态为没有物体靠近移动终端;介于A点和B点之间的点,对应的状态为有物体靠近移动终端;介于C点和D点之间的点,对应的状态为没有物体靠近移动终端;介于E点和F点之间的点,对应的状态为有物体靠近移动终端。It can be seen from the above analysis that in Figure 5, a point located above point A, point D or point E corresponds to an object approaching the mobile terminal; points located below point B, point C or point F correspond to the state of No object is close to the mobile terminal; points between points A and B, the corresponding state is that there is an object close to the mobile terminal; points between points C and D, the corresponding state is that no object is close to the mobile terminal; A point between point E and point F corresponds to an object approaching the mobile terminal.
本发明实施例中,上述移动终端可以是手机、平板电脑(Tablet PersonalComputer)、膝上型电脑(Laptop Computer)、个人数字助理(personal digitalassistant,简称PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device)等。In the embodiment of the present invention, the above-mentioned mobile terminal may be a mobile phone, a tablet computer (Tablet PersonalComputer), a laptop computer (Laptop Computer), a personal digital assistant (personal digital assistant, PDA for short), a mobile Internet Device (Mobile Internet Device, MID) Or wearable device (Wearable Device) and so on.
本发明实施例的接近检测方法,应用于移动终端,所述移动终端包含防尘网。获取所述防尘网的目标电容值;确定所述目标电容值与基准电容值的目标差值,其中,所述基准电容值为在没有物体靠近所述防尘网的情况下,所述防尘网的电容值;根据所述目标差值与预设门限值的比较结果,确定是否有物体靠近所述移动终端。这样,可以获取防尘网的目标电容值,进而可以确定目标电容值与基准电容值的目标差值。可以根据目标差值与预设门限值的比较结果确定是否有物体靠近移动终端。利用防尘网进行接近检测,不需要占用移动终端额外的正面空间,即不会限制移动终端的屏占比。The proximity detection method according to the embodiment of the present invention is applied to a mobile terminal, where the mobile terminal includes a dust filter. Obtain a target capacitance value of the dust filter; determine a target difference between the target capacitance value and a reference capacitance value, wherein the reference capacitance value is the The capacitance value of the dust net; according to the comparison result between the target difference value and the preset threshold value, it is determined whether there is an object close to the mobile terminal. In this way, the target capacitance value of the dust filter can be obtained, and then the target difference between the target capacitance value and the reference capacitance value can be determined. Whether there is an object approaching the mobile terminal may be determined according to the comparison result between the target difference value and the preset threshold value. Proximity detection using the dustproof net does not need to occupy additional front space of the mobile terminal, that is, the screen ratio of the mobile terminal is not limited.
参见图6,图6是本发明实施例提供的另一种接近检测方法的流程图,应用于移动终端,所述移动终端包含防尘网。本实施例与前一个实施例的主要区别在于详细阐述了通过检测获取到目标电容值之前预设时间段内防尘网的电容值的增量的变化速度来进行动态校准的过程。如图6所示,包括以下步骤:Referring to FIG. 6, FIG. 6 is a flowchart of another proximity detection method provided by an embodiment of the present invention, which is applied to a mobile terminal, and the mobile terminal includes a dustproof net. The main difference between this embodiment and the previous embodiment is that the dynamic calibration process is described in detail by detecting the change speed of the increment of the capacitance value of the dust filter in the preset time period before the target capacitance value is obtained. As shown in Figure 6, it includes the following steps:
步骤601、获取所述防尘网的目标电容值。Step 601: Obtain the target capacitance value of the dust filter.
在步骤601中,可以将移动终端正面的听筒防尘网设计为一个电容检测通道。当有物体靠近听筒防尘网,该听筒防尘网的电容值会发生变化。通过听筒防尘网的电容值的变化量,可以实现移动终端正面以及顶部的接近检测。该听筒防尘网可以为金属防尘网。仍以图2为例,在图2中,显示了移动终端的天线1以及听筒防尘网2。In
仍以图3为例,在图3中,显示了听筒防尘网2、电容检测芯片3、静电防护器件4、连接线5、主板6和听筒7。听筒防尘网2作为电容检测通道,可以通过连接线5连接到电容检测芯片3的输入引脚。其中,连接线5可以为柔性电路板51(Flexible Printed Circuit,FPC),或者可以为顶针52。为了防止从听筒防尘网2进来的静电会对电容检测芯片3造成损坏,因此可以加入静电防护器件4。该静电防护器件4的选型可以由电容检测芯片3来确定。听筒7位于听筒防尘网2的下面。Still taking FIG. 3 as an example, in FIG. 3 , the earpiece dustproof
移动终端可以获取防尘网的目标电容值,即移动终端可以获取听筒防尘网的目标电容值。The mobile terminal may acquire the target capacitance value of the dust filter, that is, the mobile terminal may acquire the target capacitance value of the earpiece dust filter.
步骤602、检测获取到所述目标电容值之前预设时间段内所述防尘网的电容值的增量的变化速度。Step 602: Detect the change speed of the increment of the capacitance value of the dust filter within a preset time period before the target capacitance value is acquired.
在步骤602中,移动终端可以检测获取到目标电容值之前预设时间段内防尘网的电容值的增量的变化速度。In
步骤603、当所述变化速度大于或者等于预设速度阈值时,确定所述目标电容值与基准电容值的目标差值,其中,所述基准电容值为在没有物体靠近所述防尘网的情况下,所述防尘网的电容值。Step 603: When the change speed is greater than or equal to a preset speed threshold, determine the target difference between the target capacitance value and the reference capacitance value, wherein the reference capacitance value is when there is no object close to the dust filter. case, the capacitance value of the dust filter.
在步骤603中,当变化速度大于或者等于预设速度阈值时,可以确定目标电容值与基准电容值的目标差值。其中,基准电容值为在没有物体靠近防尘网的情况下,防尘网的电容值。In
步骤604、根据所述目标差值与预设门限值的比较结果,确定是否有物体靠近所述移动终端。Step 604: Determine whether there is an object approaching the mobile terminal according to the comparison result between the target difference value and a preset threshold value.
在步骤604中,可以将目标差值与预设门限值进行比较。需要说明的是,预设门限值可以包括预设第一门限值N和预设第二门限值M,且预设第一门限值N可以大于预设第二门限值M。需要说明的是,如果只设置一个门限值,很可能出现防尘网的电容值与基准电容值的差值不停地在该门限值附近抖动的情况,因此,需要设置两个门限值,可以有效避免上述抖动情况的出现。In
可以根据比较结果确定是否有物体靠近移动终端。假设物体越靠近移动终端,听筒防尘网的电容值越大。仍以图5为例,在图5中,展示了物体逐渐远离移动终端→逐渐靠近移动终端→逐渐远离移动终端的过程。如图5所示,A点、D点和E点为听筒防尘网的电容值与基准电容值的差值ΔC为预设第一门限值N的点;B点、C点和F点为听筒防尘网的电容值与基准电容值的差值ΔC为预设第二门限值M的点。Whether there is an object approaching the mobile terminal may be determined according to the comparison result. It is assumed that the closer the object is to the mobile terminal, the greater the capacitance value of the earpiece dust filter. Still taking FIG. 5 as an example, in FIG. 5 , a process of gradually moving away from the mobile terminal → gradually approaching the mobile terminal → gradually moving away from the mobile terminal is shown. As shown in Figure 5, points A, D and E are the points where the difference between the capacitance value of the earpiece dust filter and the reference capacitance value ΔC is the preset first threshold value N; points B, C and F is the point where the difference ΔC between the capacitance value of the earpiece dust filter and the reference capacitance value is the preset second threshold value M.
可选的,所述预设门限值包括预设第一门限值和预设第二门限值,所述预设第一门限值大于所述预设第二门限值,所述根据所述目标差值与预设门限值的比较结果,确定是否有物体靠近所述移动终端,包括:Optionally, the preset threshold value includes a preset first threshold value and a preset second threshold value, the preset first threshold value is greater than the preset second threshold value, the preset According to the comparison result between the target difference value and the preset threshold value, determining whether there is an object approaching the mobile terminal includes:
当所述目标差值大于所述预设第一门限值时,确定有物体靠近所述移动终端;When the target difference value is greater than the preset first threshold value, it is determined that there is an object approaching the mobile terminal;
当所述目标差值小于所述预设第二门限值时,确定没有物体靠近所述移动终端;When the target difference value is smaller than the preset second threshold value, determine that no object is close to the mobile terminal;
当所述目标差值大于或者等于所述预设第二门限值且小于或者等于所述预设第一门限值时,确定获取到所述目标电容值之前所述防尘网的电容值与所述基准电容值的差值的变化过程;根据所述变化过程确定是否有物体靠近所述移动终端。When the target difference value is greater than or equal to the preset second threshold value and less than or equal to the preset first threshold value, determine the capacitance value of the dust filter before the target capacitance value is obtained A change process of the difference from the reference capacitance value; according to the change process, it is determined whether there is an object approaching the mobile terminal.
如前所述,预设门限值可以包括预设第一门限值N和预设第二门限值M,且预设第一门限值N可以大于预设第二门限值M。As mentioned above, the preset threshold value may include a preset first threshold value N and a preset second threshold value M, and the preset first threshold value N may be greater than the preset second threshold value M.
当上述目标差值大于预设第一门限值N时,可以确定有物体靠近移动终端。例如,图5中的点G,点G对应的目标差值ΔC大于预设第一门限值N,可以确定点G对应的目标时刻有物体靠近移动终端。When the above target difference value is greater than the preset first threshold value N, it may be determined that an object is approaching the mobile terminal. For example, at point G in FIG. 5 , the target difference ΔC corresponding to point G is greater than the preset first threshold value N, and it can be determined that the target moment corresponding to point G has an object approaching the mobile terminal.
当上述目标差值小于预设第二门限值M时,可以确定没有物体靠近移动终端。例如,图5中的点H,点H对应的目标差值ΔC小于预设第二门限值M,可以确定点H对应的目标时刻没有物体靠近移动终端。When the above target difference value is smaller than the preset second threshold value M, it can be determined that no object is close to the mobile terminal. For example, at point H in FIG. 5 , the target difference ΔC corresponding to the point H is smaller than the preset second threshold value M, and it can be determined that there is no object close to the mobile terminal at the target moment corresponding to the point H.
当上述目标差值大于或者等于预设第二门限值M且小于或者等于预设第一门限值N时,可以确定获取到目标电容值之前防尘网的电容值与基准电容值的差值的变化过程。进而可以根据该变化过程确定是否有物体靠近移动终端。When the target difference value is greater than or equal to the preset second threshold value M and less than or equal to the preset first threshold value N, the difference between the capacitance value of the dust filter and the reference capacitance value before the target capacitance value is obtained can be determined value change process. Further, it can be determined whether there is an object approaching the mobile terminal according to the change process.
可选的,所述根据所述变化过程确定是否有物体靠近所述移动终端,包括:Optionally, the determining whether there is an object approaching the mobile terminal according to the change process includes:
当所述防尘网的电容值与所述基准电容值的差值逐渐变小时,确定有物体靠近所述移动终端;When the difference between the capacitance value of the dust filter and the reference capacitance value gradually becomes smaller, it is determined that an object is close to the mobile terminal;
当所述防尘网的电容值与所述基准电容值的差值逐渐变大时,确定没有物体靠近所述移动终端。When the difference between the capacitance value of the dust filter and the reference capacitance value gradually increases, it is determined that no object is close to the mobile terminal.
例如,当防尘网的电容值与基准电容值的差值逐渐变小时,可以确定有物体靠近移动终端。例如,图5中的点I,点I对应的目标差值ΔC介于预设第二门限值M和预设第一门限值N之间。虽然点I对应的目标差值ΔC已经小于预设第一门限值N,但是点I对应的目标时刻之前防尘网的电容值与基准电容值的差值是逐渐变小的,即从点I对应的目标时刻之前一直到点I对应的目标时刻,物体是在逐渐远离移动终端的。物体在到达点I对应的位置时,防尘网的电容值与基准电容值的差值ΔC并未跌至预设第二门限值M之下,因此可以认为点I对应的目标时刻有物体靠近移动终端。For example, when the difference between the capacitance value of the dust filter and the reference capacitance value gradually becomes smaller, it can be determined that there is an object approaching the mobile terminal. For example, at point I in FIG. 5 , the target difference value ΔC corresponding to the point I is between the preset second threshold value M and the preset first threshold value N. Although the target difference ΔC corresponding to point I is already smaller than the preset first threshold value N, the difference between the capacitance value of the dust filter and the reference capacitance value before the target time corresponding to point I gradually becomes smaller, that is, from point I Before the target time corresponding to point I until the target time corresponding to point I, the object is gradually moving away from the mobile terminal. When the object reaches the position corresponding to point I, the difference ΔC between the capacitance value of the dust filter and the reference capacitance value does not drop below the preset second threshold value M, so it can be considered that there is an object at the target moment corresponding to point I close to the mobile terminal.
当防尘网的电容值与基准电容值的差值逐渐变大时,可以确定没有物体靠近移动终端。例如,图5中的点J,点J对应的目标差值ΔC介于预设第二门限值M和预设第一门限值N之间。虽然点J对应的目标差值ΔC已经大于预设第二门限值M,但是点J对应的目标时刻之前防尘网的电容值与基准电容值的差值是逐渐变大的,即从点J对应的目标时刻之前一直到点J对应的目标时刻,物体是在逐渐靠近移动终端的。物体在到达点J对应的位置时,防尘网的电容值与基准电容值的差值ΔC并未跃至预设第一门限值N之上,因此可以认为点J对应的目标时刻没有物体靠近移动终端。When the difference between the capacitance value of the dust filter and the reference capacitance value gradually increases, it can be determined that no object is close to the mobile terminal. For example, at point J in FIG. 5 , the target difference value ΔC corresponding to point J is between the preset second threshold value M and the preset first threshold value N. Although the target difference ΔC corresponding to point J is already greater than the preset second threshold value M, the difference between the capacitance value of the dust filter and the reference capacitance value before the target time corresponding to point J gradually increases, that is, from point J Before the target time corresponding to point J until the target time corresponding to point J, the object is gradually approaching the mobile terminal. When the object reaches the position corresponding to point J, the difference ΔC between the capacitance value of the dust filter and the reference capacitance value does not jump above the preset first threshold value N, so it can be considered that there is no object at the target moment corresponding to point J close to the mobile terminal.
由以上分析可知,在图5中,位于A点、D点或者E点上方的点,对应的状态为有物体靠近移动终端;位于B点、C点或者F点下方的点,对应的状态为没有物体靠近移动终端;介于A点和B点之间的点,对应的状态为有物体靠近移动终端;介于C点和D点之间的点,对应的状态为没有物体靠近移动终端;介于E点和F点之间的点,对应的状态为有物体靠近移动终端。It can be seen from the above analysis that in Figure 5, a point located above point A, point D or point E corresponds to an object approaching the mobile terminal; points located below point B, point C or point F correspond to the state of No object is close to the mobile terminal; points between points A and B, the corresponding state is that there is an object close to the mobile terminal; points between points C and D, the corresponding state is that no object is close to the mobile terminal; A point between point E and point F corresponds to an object approaching the mobile terminal.
步骤605、当所述变化速度小于所述预设速度阈值时,确定所述目标电容值为基准电容值。Step 605: When the change speed is less than the preset speed threshold, determine the target capacitance value as a reference capacitance value.
在步骤605中,当变化速度小于预设速度阈值时,可以确定目标电容值为基准电容值。In
可选的,所述方法还包括:Optionally, the method further includes:
在接收到来电提醒的起始时刻检测防尘网的实时电容值,确定所述实时电容值为基准电容值;Detect the real-time capacitance value of the dust filter at the initial moment of receiving the incoming call reminder, and determine that the real-time capacitance value is a reference capacitance value;
或者,在接收到接听电话操作的起始时刻检测防尘网的实时电容值,确定所述实时电容值为基准电容值。Alternatively, the real-time capacitance value of the dust filter is detected at the initial moment of receiving the operation of answering a call, and the real-time capacitance value is determined as a reference capacitance value.
需要说明的是,可以在接收到来电提醒的起始时刻检测防尘网的实时电容值,进而可以确定该实时电容值为基准电容值。例如,接收到来电提醒之前,检测到的电容值为C0。如果此时有一些水粘在听筒防尘网上,导致检测到的电容值为C1,则电容增量ΔC=C1-C0。此时接收到来电提醒,如果不做任何处理,若ΔC已经大于预设第一门限值N,移动终端会错误的判断为有物体靠近,此时移动终端可能会自动黑屏。因此,接收到来电提醒之后,可以把C1确定为背景电容,即把水的影响当做背景电容噪声处理,对ΔC强制清零,即ΔC是在C1的基础上开始计算。这样,接下来的电容增量就只是物体靠近所产生的电容增加值,可以降低移动终端误判断的几率。或者,可以在接收到接听电话操作的起始时刻检测防尘网的实时电容值,进而可以确定该实时电容值为基准电容值。It should be noted that the real-time capacitance value of the dust filter can be detected at the initial moment of receiving the call reminder, and then the real-time capacitance value can be determined as the reference capacitance value. For example, before receiving an incoming call alert, the detected capacitance value is C0. If some water sticks to the earpiece dust filter at this time, resulting in the detected capacitance value of C1, the capacitance increment ΔC=C1-C0. At this time, if an incoming call reminder is received, if ΔC is already greater than the preset first threshold N, the mobile terminal will incorrectly judge that an object is approaching, and the mobile terminal may automatically black out at this time. Therefore, after receiving the call reminder, C1 can be determined as the background capacitance, that is, the influence of water is treated as the background capacitance noise, and ΔC is forcibly cleared, that is, ΔC is calculated on the basis of C1. In this way, the next capacitance increment is only the capacitance increase value generated by the approach of the object, which can reduce the probability of misjudgment by the mobile terminal. Alternatively, the real-time capacitance value of the dust filter can be detected at the initial moment of receiving the operation of answering a call, and then the real-time capacitance value can be determined as a reference capacitance value.
可选的,所述基准电容值为根据获取到所述目标电容值时所述防尘网的温度值所确定的电容值。Optionally, the reference capacitance value is a capacitance value determined according to the temperature value of the dust filter when the target capacitance value is obtained.
需要说明的是,温度对电容检测影响较大,所以在检测过程中,需要对温度的影响进行补偿。例如,可以增加一个检测通道,此通道需要做屏蔽。该通道对物体的靠近不敏感,仅反应温度对电容值的影响。通过补偿该通道检测到的电容变化量,来实现补偿的目的。此时,上述基准电容值即为根据获取到目标电容值时防尘网的温度值所确定的电容值。It should be noted that temperature has a great influence on capacitance detection, so during the detection process, it is necessary to compensate for the influence of temperature. For example, a detection channel can be added, which needs to be shielded. The channel is not sensitive to the proximity of the object, and only reflects the effect of temperature on the capacitance value. Compensation is achieved by compensating for the capacitance variation detected by the channel. At this time, the above-mentioned reference capacitance value is the capacitance value determined according to the temperature value of the dust filter when the target capacitance value is obtained.
本发明实施例的接近检测方法,应用于移动终端,所述移动终端包含防尘网。可以通过检测获取到目标电容值之前预设时间段内防尘网的电容值的增量的变化速度来进行动态校准。可以获取防尘网的目标电容值,进而可以确定目标电容值与基准电容值的目标差值。可以根据目标差值与预设门限值的比较结果确定是否有物体靠近移动终端。利用防尘网进行接近检测,不需要占用移动终端额外的正面空间,即不会限制移动终端的屏占比。The proximity detection method according to the embodiment of the present invention is applied to a mobile terminal, where the mobile terminal includes a dust filter. The dynamic calibration may be performed by detecting the change speed of the increment of the capacitance value of the dust filter within a preset time period before the target capacitance value is acquired. The target capacitance value of the dust filter can be obtained, and then the target difference between the target capacitance value and the reference capacitance value can be determined. Whether there is an object approaching the mobile terminal may be determined according to the comparison result between the target difference value and the preset threshold value. Proximity detection using the dustproof net does not need to occupy additional front space of the mobile terminal, that is, the screen ratio of the mobile terminal is not limited.
本发明实施例还提供一种移动终端,包括防尘网、电容检测芯片和连接线;所述连接线用于连接所述防尘网和所述电容检测芯片;所述电容检测芯片用于获取所述防尘网的目标电容值;所述电容检测芯片用于确定所述目标电容值与基准电容值的目标差值,其中,所述基准电容值为在没有物体靠近所述防尘网的情况下,所述防尘网的电容值;所述电容检测芯片用于根据所述目标差值与预设门限值的比较结果,确定是否有物体靠近所述移动终端。An embodiment of the present invention further provides a mobile terminal, including a dust filter, a capacitance detection chip, and a connection wire; the connection wire is used to connect the dust filter and the capacitance detection chip; the capacitance detection chip is used to obtain The target capacitance value of the dust filter; the capacitance detection chip is used to determine the target difference between the target capacitance value and the reference capacitance value, wherein the reference capacitance value is when there is no object close to the dust filter. In this case, the capacitance value of the dust filter; the capacitance detection chip is used to determine whether there is an object approaching the mobile terminal according to the comparison result between the target difference value and the preset threshold value.
仍以图3为例,在图3中,显示了听筒防尘网2、电容检测芯片3和连接线5。听筒防尘网2作为电容检测通道,可以通过连接线5连接到电容检测芯片3的输入引脚。Still taking FIG. 3 as an example, in FIG. 3 , the earpiece dustproof
电容检测芯片可以获取防尘网的目标电容值,进而电容检测芯片可以确定目标电容值与基准电容值的目标差值。其中,基准电容值为在没有物体靠近防尘网的情况下,防尘网的电容值。电容检测芯片用于根据目标差值与预设门限值的比较结果,确定是否有物体靠近移动终端。The capacitance detection chip can obtain the target capacitance value of the dust filter, and then the capacitance detection chip can determine the target difference between the target capacitance value and the reference capacitance value. Among them, the reference capacitance value is the capacitance value of the dust filter when no object is close to the dust filter. The capacitance detection chip is used to determine whether there is an object approaching the mobile terminal according to the comparison result between the target difference value and the preset threshold value.
可选的,所述预设门限值包括预设第一门限值和预设第二门限值,所述预设第一门限值大于所述预设第二门限值;Optionally, the preset threshold value includes a preset first threshold value and a preset second threshold value, and the preset first threshold value is greater than the preset second threshold value;
所述电容检测芯片用于当所述目标差值大于所述预设第一门限值时,确定有物体靠近所述移动终端;The capacitance detection chip is configured to determine that an object is approaching the mobile terminal when the target difference value is greater than the preset first threshold value;
所述电容检测芯片用于当所述目标差值小于所述预设第二门限值时,确定没有物体靠近所述移动终端;The capacitance detection chip is configured to determine that no object approaches the mobile terminal when the target difference is less than the preset second threshold value;
所述电容检测芯片用于当所述目标差值大于或者等于所述预设第二门限值且小于或者等于所述预设第一门限值时,确定获取到所述目标电容值之前所述防尘网的电容值与所述基准电容值的差值的变化过程;根据所述变化过程确定是否有物体靠近所述移动终端。The capacitance detection chip is configured to determine, when the target difference value is greater than or equal to the preset second threshold value and less than or equal to the preset first threshold value, the value before the acquisition of the target capacitance value. A change process of the difference between the capacitance value of the dust filter and the reference capacitance value; and whether an object is close to the mobile terminal is determined according to the change process.
电容检测芯片可以将目标差值与预设门限值进行比较。需要说明的是,预设门限值可以包括预设第一门限值N和预设第二门限值M,且预设第一门限值N可以大于预设第二门限值M。需要说明的是,如果只设置一个门限值,很可能出现防尘网的电容值与基准电容值的差值不停地在该门限值附近抖动的情况,因此,需要设置两个门限值,可以有效避免上述抖动情况的出现。The capacitance detection chip can compare the target difference with a preset threshold value. It should be noted that the preset threshold value may include a preset first threshold value N and a preset second threshold value M, and the preset first threshold value N may be greater than the preset second threshold value M. It should be noted that if only one threshold value is set, it is very likely that the difference between the capacitance value of the dust filter and the reference capacitance value will constantly vibrate around the threshold value. Therefore, two thresholds need to be set. value, which can effectively avoid the occurrence of the above jitter.
可以根据比较结果确定是否有物体靠近移动终端。假设物体越靠近移动终端,听筒防尘网的电容值越大。仍以图5为例,在图5中,展示了物体逐渐远离移动终端→逐渐靠近移动终端→逐渐远离移动终端的过程。如图5所示,A点、D点和E点为听筒防尘网的电容值与基准电容值的差值ΔC为预设第一门限值N的点;B点、C点和F点为听筒防尘网的电容值与基准电容值的差值ΔC为预设第二门限值M的点。Whether there is an object approaching the mobile terminal may be determined according to the comparison result. It is assumed that the closer the object is to the mobile terminal, the greater the capacitance value of the earpiece dust filter. Still taking FIG. 5 as an example, in FIG. 5 , a process of gradually moving away from the mobile terminal → gradually approaching the mobile terminal → gradually moving away from the mobile terminal is shown. As shown in Figure 5, points A, D and E are the points where the difference between the capacitance value of the earpiece dust filter and the reference capacitance value ΔC is the preset first threshold value N; points B, C and F is the point where the difference ΔC between the capacitance value of the earpiece dust filter and the reference capacitance value is the preset second threshold value M.
电容检测芯片用于当上述目标差值大于预设第一门限值N时,确定有物体靠近移动终端。例如,图5中的点G,点G对应的目标差值ΔC大于预设第一门限值N,可以确定点G对应的目标时刻有物体靠近移动终端。The capacitance detection chip is used to determine that an object is approaching the mobile terminal when the target difference value is greater than the preset first threshold value N. For example, at point G in FIG. 5 , the target difference ΔC corresponding to point G is greater than the preset first threshold value N, and it can be determined that the target moment corresponding to point G has an object approaching the mobile terminal.
电容检测芯片用于当上述目标差值小于预设第二门限值M时,确定没有物体靠近移动终端。例如,图5中的点H,点H对应的目标差值ΔC小于预设第二门限值M,可以确定点H对应的目标时刻没有物体靠近移动终端。The capacitance detection chip is used to determine that no object is close to the mobile terminal when the target difference is smaller than the preset second threshold value M. For example, at point H in FIG. 5 , the target difference ΔC corresponding to the point H is smaller than the preset second threshold value M, and it can be determined that there is no object close to the mobile terminal at the target moment corresponding to the point H.
电容检测芯片用于当上述目标差值大于或者等于预设第二门限值M且小于或者等于预设第一门限值N时,确定获取到目标电容值之前防尘网的电容值与基准电容值的差值的变化过程。进而电容检测芯片可以根据该变化过程确定是否有物体靠近移动终端。The capacitance detection chip is used to determine the capacitance value and reference of the dust filter before obtaining the target capacitance value when the target difference value is greater than or equal to the preset second threshold value M and less than or equal to the preset first threshold value N The change process of the difference of the capacitance value. Further, the capacitance detection chip can determine whether there is an object approaching the mobile terminal according to the change process.
可选的,所述电容检测芯片用于当所述防尘网的电容值与所述基准电容值的差值逐渐变小时,确定有物体靠近所述移动终端;Optionally, the capacitance detection chip is used to determine that an object is approaching the mobile terminal when the difference between the capacitance value of the dust filter and the reference capacitance value gradually becomes smaller;
所述电容检测芯片用于当所述防尘网的电容值与所述基准电容值的差值逐渐变大时,确定没有物体靠近所述移动终端。The capacitance detection chip is used to determine that no object is close to the mobile terminal when the difference between the capacitance value of the dust filter and the reference capacitance value gradually increases.
电容检测芯片用于当防尘网的电容值与基准电容值的差值逐渐变小时,确定有物体靠近移动终端。例如,图5中的点I,点I对应的目标差值ΔC介于预设第二门限值M和预设第一门限值N之间。虽然点I对应的目标差值ΔC已经小于预设第一门限值N,但是点I对应的目标时刻之前防尘网的电容值与基准电容值的差值是逐渐变小的,即从点I对应的目标时刻之前一直到点I对应的目标时刻,物体是在逐渐远离移动终端的。物体在到达点I对应的位置时,防尘网的电容值与基准电容值的差值ΔC并未跌至预设第二门限值M之下,因此可以认为点I对应的目标时刻有物体靠近移动终端。The capacitance detection chip is used to determine that there is an object approaching the mobile terminal when the difference between the capacitance value of the dust filter and the reference capacitance value gradually becomes smaller. For example, at point I in FIG. 5 , the target difference value ΔC corresponding to the point I is between the preset second threshold value M and the preset first threshold value N. Although the target difference ΔC corresponding to point I is already smaller than the preset first threshold value N, the difference between the capacitance value of the dust filter and the reference capacitance value before the target time corresponding to point I gradually becomes smaller, that is, from point I Before the target time corresponding to point I until the target time corresponding to point I, the object is gradually moving away from the mobile terminal. When the object reaches the position corresponding to point I, the difference ΔC between the capacitance value of the dust filter and the reference capacitance value does not drop below the preset second threshold value M, so it can be considered that there is an object at the target moment corresponding to point I close to the mobile terminal.
电容检测芯片用于当防尘网的电容值与基准电容值的差值逐渐变大时,确定没有物体靠近移动终端。例如,图5中的点J,点J对应的目标差值ΔC介于预设第二门限值M和预设第一门限值N之间。虽然点J对应的目标差值ΔC已经大于预设第二门限值M,但是点J对应的目标时刻之前防尘网的电容值与基准电容值的差值是逐渐变大的,即从点J对应的目标时刻之前一直到点J对应的目标时刻,物体是在逐渐靠近移动终端的。物体在到达点J对应的位置时,防尘网的电容值与基准电容值的差值ΔC并未跃至预设第一门限值N之上,因此可以认为点J对应的目标时刻没有物体靠近移动终端。The capacitance detection chip is used to determine that no object is close to the mobile terminal when the difference between the capacitance value of the dust filter and the reference capacitance value gradually increases. For example, at point J in FIG. 5 , the target difference value ΔC corresponding to point J is between the preset second threshold value M and the preset first threshold value N. Although the target difference ΔC corresponding to point J is already greater than the preset second threshold value M, the difference between the capacitance value of the dust filter and the reference capacitance value before the target time corresponding to point J gradually increases, that is, from point J Before the target time corresponding to point J until the target time corresponding to point J, the object is gradually approaching the mobile terminal. When the object reaches the position corresponding to point J, the difference ΔC between the capacitance value of the dust filter and the reference capacitance value does not jump above the preset first threshold value N, so it can be considered that there is no object at the target moment corresponding to point J close to the mobile terminal.
由以上分析可知,在图5中,位于A点、D点或者E点上方的点,对应的状态为有物体靠近移动终端;位于B点、C点或者F点下方的点,对应的状态为没有物体靠近移动终端;介于A点和B点之间的点,对应的状态为有物体靠近移动终端;介于C点和D点之间的点,对应的状态为没有物体靠近移动终端;介于E点和F点之间的点,对应的状态为有物体靠近移动终端。It can be seen from the above analysis that in Figure 5, a point located above point A, point D or point E corresponds to an object approaching the mobile terminal; points located below point B, point C or point F correspond to the state of No object is close to the mobile terminal; points between points A and B, the corresponding state is that there is an object close to the mobile terminal; points between points C and D, the corresponding state is that no object is close to the mobile terminal; A point between point E and point F corresponds to an object approaching the mobile terminal.
可选的,所述电容检测芯片用于检测获取到所述目标电容值之前预设时间段内所述防尘网的电容值的增量的变化速度;Optionally, the capacitance detection chip is used to detect the change speed of the increment of the capacitance value of the dust filter within a preset time period before the target capacitance value is obtained;
所述电容检测芯片用于当所述变化速度大于或者等于预设速度阈值时,执行所述确定所述目标电容值与基准电容值的目标差值的步骤;The capacitance detection chip is configured to perform the step of determining the target difference between the target capacitance value and the reference capacitance value when the change speed is greater than or equal to a preset speed threshold;
所述电容检测芯片用于当所述变化速度小于所述预设速度阈值时,确定所述目标电容值为基准电容值。The capacitance detection chip is configured to determine the target capacitance value as a reference capacitance value when the change speed is less than the preset speed threshold.
进一步的,电容检测芯片可以检测获取到目标电容值之前预设时间段内防尘网的电容值的增量的变化速度。电容检测芯片用于当变化速度大于或者等于预设速度阈值时,确定目标电容值与基准电容值的目标差值。进而电容检测芯片可以根据该目标差值确定是否有物体靠近移动终端。其中,基准电容值为在没有物体靠近防尘网的情况下,防尘网的电容值。电容检测芯片用于当变化速度小于预设速度阈值时,可以确定目标电容值为基准电容值。Further, the capacitance detection chip can detect the change speed of the increment of the capacitance value of the dust filter within a preset time period before the target capacitance value is acquired. The capacitance detection chip is used to determine the target difference between the target capacitance value and the reference capacitance value when the change speed is greater than or equal to the preset speed threshold. Further, the capacitance detection chip can determine whether there is an object approaching the mobile terminal according to the target difference. Among them, the reference capacitance value is the capacitance value of the dust filter when no object is close to the dust filter. The capacitance detection chip is used to determine the target capacitance value as the reference capacitance value when the change speed is less than the preset speed threshold.
可选的,所述电容检测芯片用于在接收到来电提醒的起始时刻检测防尘网的实时电容值,确定所述实时电容值为基准电容值;Optionally, the capacitance detection chip is used to detect the real-time capacitance value of the dust filter at the initial moment of receiving the call reminder, and determine that the real-time capacitance value is a reference capacitance value;
或者,所述电容检测芯片用于在接收到接听电话操作的起始时刻检测防尘网的实时电容值,确定所述实时电容值为基准电容值。Alternatively, the capacitance detection chip is configured to detect the real-time capacitance value of the dust filter at the initial moment of receiving the operation of answering a call, and determine the real-time capacitance value as a reference capacitance value.
需要说明的是,电容检测芯片用于在接收到来电提醒的起始时刻检测防尘网的实时电容值,进而电容检测芯片可以确定该实时电容值为基准电容值。例如,接收到来电提醒之前,检测到的电容值为C0。如果此时有一些水粘在听筒防尘网上,导致检测到的电容值为C1,则电容增量ΔC=C1-C0。此时接收到来电提醒,如果不做任何处理,若ΔC已经大于预设第一门限值N,移动终端会错误的判断为有物体靠近,此时移动终端可能会自动黑屏。因此,接收到来电提醒之后,可以把C1确定为背景电容,即把水的影响当做背景电容噪声处理,对ΔC强制清零,即ΔC是在C1的基础上开始计算。这样,接下来的电容增量就只是物体靠近所产生的电容增加值,可以降低移动终端误判断的几率。或者,电容检测芯片用于在接收到接听电话操作的起始时刻检测防尘网的实时电容值,进而电容检测芯片可以确定该实时电容值为基准电容值。It should be noted that the capacitance detection chip is used to detect the real-time capacitance value of the dust filter at the initial moment of receiving the call reminder, and then the capacitance detection chip can determine the real-time capacitance value as the reference capacitance value. For example, before receiving an incoming call alert, the detected capacitance value is C0. If some water sticks to the earpiece dust filter at this time, resulting in the detected capacitance value of C1, the capacitance increment ΔC=C1-C0. At this time, if an incoming call reminder is received, if ΔC is already greater than the preset first threshold N, the mobile terminal will incorrectly judge that an object is approaching, and the mobile terminal may automatically black out at this time. Therefore, after receiving the call reminder, C1 can be determined as the background capacitance, that is, the influence of water is treated as the background capacitance noise, and ΔC is forcibly cleared, that is, ΔC is calculated on the basis of C1. In this way, the next capacitance increment is only the capacitance increase value generated by the approach of the object, which can reduce the probability of misjudgment by the mobile terminal. Alternatively, the capacitance detection chip is used to detect the real-time capacitance value of the dust filter at the start of receiving the operation of answering a call, and then the capacitance detection chip can determine the real-time capacitance value as a reference capacitance value.
可选的,所述基准电容值为根据获取到所述目标电容值时所述防尘网的温度值所确定的电容值。Optionally, the reference capacitance value is a capacitance value determined according to the temperature value of the dust filter when the target capacitance value is obtained.
需要说明的是,温度对电容检测影响较大,所以在检测过程中,需要对温度的影响进行补偿。例如,可以增加一个检测通道,此通道需要做屏蔽。该通道对物体的靠近不敏感,仅反应温度对电容值的影响。通过补偿该通道检测到的电容变化量,来实现补偿的目的。此时,上述基准电容值即为根据获取到目标电容值时防尘网的温度值所确定的电容值。It should be noted that temperature has a great influence on capacitance detection, so during the detection process, it is necessary to compensate for the influence of temperature. For example, a detection channel can be added, which needs to be shielded. The channel is not sensitive to the proximity of the object, and only reflects the effect of temperature on the capacitance value. Compensation is achieved by compensating for the capacitance variation detected by the channel. At this time, the above-mentioned reference capacitance value is the capacitance value determined according to the temperature value of the dust filter when the target capacitance value is obtained.
可选的,所述移动终端还包括静电阻抗器;所述静电阻抗器的第一端与所述防尘网连接,所述静电阻抗器的第二端接地。Optionally, the mobile terminal further includes an electrostatic resistor; a first end of the electrostatic resistor is connected to the dust filter, and a second end of the electrostatic resistor is grounded.
如图3所示,为了防止从听筒防尘网2进来的静电会对电容检测芯片3造成损坏,因此可以加入静电防护器件4,即可以加入静电阻抗器4。静电阻抗器4的第一端与防尘网连接,静电阻抗器4的第二端接地。该静电阻抗器4的选型可以由电容检测芯片3来确定。As shown in FIG. 3 , in order to prevent the
可选的,所述连接线为柔性电路板或者顶针。Optionally, the connecting wire is a flexible circuit board or a thimble.
连接线5可以为柔性电路板FPC 51,或者可以为顶针52。The
本发明实施例的移动终端,包含防尘网。可以通过检测获取到目标电容值之前预设时间段内防尘网的电容值的增量的变化速度来进行动态校准。可以获取防尘网的目标电容值,进而可以确定目标电容值与基准电容值的目标差值。可以根据目标差值与预设门限值的比较结果确定是否有物体靠近移动终端。利用防尘网进行接近检测,不需要占用移动终端额外的正面空间,即不会限制移动终端的屏占比。The mobile terminal according to the embodiment of the present invention includes a dust filter. The dynamic calibration may be performed by detecting the change speed of the increment of the capacitance value of the dust filter within a preset time period before the target capacitance value is acquired. The target capacitance value of the dust filter can be obtained, and then the target difference between the target capacitance value and the reference capacitance value can be determined. Whether there is an object approaching the mobile terminal may be determined according to the comparison result between the target difference value and the preset threshold value. Proximity detection using the dustproof net does not need to occupy additional front space of the mobile terminal, that is, the screen ratio of the mobile terminal is not limited.
图7为实现本发明各个实施例的一种移动终端的硬件结构示意图。FIG. 7 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.
该移动终端700包括但不限于:射频单元701、网络模块702、音频输出单元703、输入单元704、传感器705、显示单元706、用户输入单元707、接口单元708、存储器709、处理器710、以及电源711等部件。本领域技术人员可以理解,图7中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The
处理器710,用于获取所述防尘网的目标电容值;a
确定所述目标电容值与基准电容值的目标差值,其中,所述基准电容值为在没有物体靠近所述防尘网的情况下,所述防尘网的电容值;determining a target difference between the target capacitance value and a reference capacitance value, wherein the reference capacitance value is the capacitance value of the dust filter when no object is close to the dust filter;
根据所述目标差值与预设门限值的比较结果,确定是否有物体靠近所述移动终端。According to the comparison result between the target difference value and the preset threshold value, it is determined whether there is an object approaching the mobile terminal.
可以通过检测获取到目标电容值之前预设时间段内防尘网的电容值的增量的变化速度来进行动态校准。可以获取防尘网的目标电容值,进而可以确定目标电容值与基准电容值的目标差值。可以根据目标差值与预设门限值的比较结果确定是否有物体靠近移动终端。利用防尘网进行接近检测,不需要占用移动终端额外的正面空间,即不会限制移动终端的屏占比。The dynamic calibration may be performed by detecting the change speed of the increment of the capacitance value of the dust filter within a preset time period before the target capacitance value is acquired. The target capacitance value of the dust filter can be obtained, and then the target difference between the target capacitance value and the reference capacitance value can be determined. Whether there is an object approaching the mobile terminal may be determined according to the comparison result between the target difference value and the preset threshold value. Proximity detection using the dustproof net does not need to occupy additional front space of the mobile terminal, that is, the screen ratio of the mobile terminal is not limited.
应理解的是,本发明实施例中,射频单元701可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器710处理;另外,将上行的数据发送给基站。通常,射频单元701包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元701还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, the
移动终端通过网络模块702为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides the user with wireless broadband Internet access through the
音频输出单元703可以将射频单元701或网络模块702接收的或者在存储器709中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元703还可以提供与移动终端700执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元703包括扬声器、蜂鸣器以及受话器等。The
输入单元704用于接收音频或视频信号。输入单元704可以包括图形处理器(Graphics Processing Unit,GPU)7041和麦克风7042,图形处理器7041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元706上。经图形处理器7041处理后的图像帧可以存储在存储器709(或其它存储介质)中或者经由射频单元701或网络模块702进行发送。麦克风7042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元701发送到移动通信基站的格式输出。The
移动终端700还包括至少一种传感器705,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板7061的亮度,接近传感器可在移动终端700移动到耳边时,关闭显示面板7061和/或背光。该接近传感器可以包括防尘网、电容检测芯片和连接线,连接线用于连接防尘网和电容检测芯片。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器705还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The
显示单元706用于显示由用户输入的信息或提供给用户的信息。显示单元706可包括显示面板7061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板7061。The
用户输入单元707可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元707包括触控面板7071以及其他输入设备7072。触控面板7071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板7071上或在触控面板7071附近的操作)。触控面板7071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器710,接收处理器710发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板7071。除了触控面板7071,用户输入单元707还可以包括其他输入设备7072。具体地,其他输入设备7072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The
进一步的,触控面板7071可覆盖在显示面板7061上,当触控面板7071检测到在其上或附近的触摸操作后,传送给处理器710以确定触摸事件的类型,随后处理器710根据触摸事件的类型在显示面板7061上提供相应的视觉输出。虽然在图7中,触控面板7071与显示面板7061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板7071与显示面板7061集成而实现移动终端的输入和输出功能,具体此处不做限定。Further, the
接口单元708为外部装置与移动终端700连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元708可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端700内的一个或多个元件或者可以用于在移动终端700和外部装置之间传输数据。The
存储器709可用于存储软件程序以及各种数据。存储器709可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器709可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The
处理器710是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器709内的软件程序和/或模块,以及调用存储在存储器709内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器710可包括一个或多个处理单元;优选的,处理器710可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器710中。The
移动终端700还可以包括给各个部件供电的电源711(比如电池),优选的,电源711可以通过电源管理系统与处理器710逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The
另外,移动终端700包括一些未示出的功能模块,在此不再赘述。In addition, the
可选的,处理器710还用于:Optionally, the
所述预设门限值包括预设第一门限值和预设第二门限值,所述预设第一门限值大于所述预设第二门限值;The preset threshold value includes a preset first threshold value and a preset second threshold value, and the preset first threshold value is greater than the preset second threshold value;
当所述目标差值大于所述预设第一门限值时,确定有物体靠近所述移动终端;When the target difference value is greater than the preset first threshold value, it is determined that there is an object approaching the mobile terminal;
当所述目标差值小于所述预设第二门限值时,确定没有物体靠近所述移动终端;When the target difference value is smaller than the preset second threshold value, determine that no object is close to the mobile terminal;
当所述目标差值大于或者等于所述预设第二门限值且小于或者等于所述预设第一门限值时,确定获取到所述目标电容值之前所述防尘网的电容值与所述基准电容值的差值的变化过程;根据所述变化过程确定是否有物体靠近所述移动终端。When the target difference value is greater than or equal to the preset second threshold value and less than or equal to the preset first threshold value, determine the capacitance value of the dust filter before the target capacitance value is obtained A change process of the difference from the reference capacitance value; according to the change process, it is determined whether there is an object approaching the mobile terminal.
可选的,处理器710还用于:Optionally, the
当所述防尘网的电容值与所述基准电容值的差值逐渐变小时,确定有物体靠近所述移动终端;When the difference between the capacitance value of the dust filter and the reference capacitance value gradually becomes smaller, it is determined that an object is close to the mobile terminal;
当所述防尘网的电容值与所述基准电容值的差值逐渐变大时,确定没有物体靠近所述移动终端。When the difference between the capacitance value of the dust filter and the reference capacitance value gradually increases, it is determined that no object is close to the mobile terminal.
可选的,处理器710还用于:Optionally, the
检测获取到所述目标电容值之前预设时间段内所述防尘网的电容值的增量的变化速度;Detecting the change speed of the increment of the capacitance value of the dust filter within a preset time period before the target capacitance value is obtained;
当所述变化速度大于或者等于预设速度阈值时,执行所述确定所述目标电容值与基准电容值的目标差值的步骤;When the change speed is greater than or equal to a preset speed threshold, the step of determining the target difference between the target capacitance value and the reference capacitance value is performed;
当所述变化速度小于所述预设速度阈值时,确定所述目标电容值为基准电容值。When the change speed is less than the preset speed threshold, it is determined that the target capacitance value is a reference capacitance value.
可选的,处理器710还用于:Optionally, the
在接收到来电提醒的起始时刻检测防尘网的实时电容值,确定所述实时电容值为基准电容值;Detect the real-time capacitance value of the dust filter at the initial moment of receiving the incoming call reminder, and determine that the real-time capacitance value is a reference capacitance value;
或者,在接收到接听电话操作的起始时刻检测防尘网的实时电容值,确定所述实时电容值为基准电容值。Alternatively, the real-time capacitance value of the dust filter is detected at the initial moment of receiving the operation of answering a call, and the real-time capacitance value is determined as a reference capacitance value.
可选的,处理器710还用于:Optionally, the
所述基准电容值为根据获取到所述目标电容值时所述防尘网的温度值所确定的电容值。The reference capacitance value is a capacitance value determined according to the temperature value of the dust filter when the target capacitance value is obtained.
移动终端700能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。且移动终端700可以通过检测获取到目标电容值之前预设时间段内防尘网的电容值的增量的变化速度来进行动态校准。可以获取防尘网的目标电容值,进而可以确定目标电容值与基准电容值的目标差值。可以根据目标差值与预设门限值的比较结果确定是否有物体靠近移动终端。利用防尘网进行接近检测,不需要占用移动终端额外的正面空间,即不会限制移动终端的屏占比。The
优选的,本发明实施例还提供一种移动终端,包括处理器710,存储器709,存储在存储器709上并可在所述处理器710上运行的计算机程序,该计算机程序被处理器710执行时实现上述接近检测方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, an embodiment of the present invention further provides a mobile terminal, including a
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述接近检测方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。Embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned embodiments of the proximity detection method can be implemented, and the same technology can be achieved. The effect, in order to avoid repetition, is not repeated here. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk, or an optical disk. It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台移动终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD), including several instructions to make a mobile terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present invention, without departing from the spirit of the present invention and the scope protected by the claims, many forms can be made, which all belong to the protection of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811001618.4A CN108924319B (en) | 2018-08-30 | 2018-08-30 | Proximity detection method and mobile terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811001618.4A CN108924319B (en) | 2018-08-30 | 2018-08-30 | Proximity detection method and mobile terminal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN108924319A CN108924319A (en) | 2018-11-30 |
| CN108924319B true CN108924319B (en) | 2020-09-25 |
Family
ID=64407097
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201811001618.4A Active CN108924319B (en) | 2018-08-30 | 2018-08-30 | Proximity detection method and mobile terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108924319B (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112751998B (en) * | 2019-10-31 | 2023-02-28 | 珠海市魅族科技有限公司 | Terminal equipment, distance sensing processing method and device thereof and storage medium |
| CN111707295B (en) * | 2020-08-17 | 2020-12-11 | 深圳市汇顶科技股份有限公司 | Method and device for treating temperature drift |
| CN115278504A (en) * | 2022-08-29 | 2022-11-01 | 深圳市飞科笛系统开发有限公司 | Earphone wearing state detection method and device and earphone |
| CN115684734A (en) * | 2022-10-20 | 2023-02-03 | 上海艾为电子技术股份有限公司 | Method and system for determining and detecting environment capacitance, chip and electronic equipment |
Family Cites Families (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8284165B2 (en) * | 2006-10-13 | 2012-10-09 | Sony Corporation | Information display apparatus with proximity detection performance and information display method using the same |
| JP2009192253A (en) * | 2008-02-12 | 2009-08-27 | Seiko Instruments Inc | Device and method for detecting proximity |
| JP2010257046A (en) * | 2009-04-22 | 2010-11-11 | Mitsubishi Electric Corp | Proximity detector |
| CN202276442U (en) * | 2011-05-31 | 2012-06-13 | 深圳市力合鑫源智能技术有限公司 | Headset controlled by intelligent induction |
| CN202267942U (en) * | 2011-06-15 | 2012-06-06 | 比亚迪股份有限公司 | Mobile terminal |
| CN102590867B (en) * | 2012-02-03 | 2015-05-27 | 华为终端有限公司 | Mobile terminal |
| WO2013159483A1 (en) * | 2012-04-23 | 2013-10-31 | Mediatek Inc. | Apparatus and method for performing proximity detection according to capacitive sensing output and status output |
| CN103984028A (en) * | 2014-05-26 | 2014-08-13 | 中国联合网络通信集团有限公司 | Detection device and mobile terminal |
| CN108076210A (en) * | 2016-11-11 | 2018-05-25 | 中兴通讯股份有限公司 | The screen backlight control system and method for smart machine |
| CN106878563B (en) * | 2017-03-07 | 2020-07-24 | Oppo广东移动通信有限公司 | mobile terminal |
| CN106851012A (en) * | 2017-03-07 | 2017-06-13 | 广东欧珀移动通信有限公司 | Proximity detection method, device and terminal |
| WO2018223252A1 (en) * | 2017-06-05 | 2018-12-13 | 深圳市汇顶科技股份有限公司 | Proximity detection apparatus and method, proximity sensor, and terminal device |
| CN107968855B (en) * | 2017-11-22 | 2020-08-04 | Oppo广东移动通信有限公司 | Electronic device, electronic equipment and display control method |
-
2018
- 2018-08-30 CN CN201811001618.4A patent/CN108924319B/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| CN108924319A (en) | 2018-11-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109343759B (en) | Screen-turning display control method and terminal | |
| CN108459797B (en) | Control method of folding screen and mobile terminal | |
| CN108347759B (en) | Anti-interference method of flexible screen and mobile terminal | |
| CN109078319B (en) | Game interface display method and terminal | |
| CN107977652B (en) | Method for extracting screen display content and mobile terminal | |
| CN109240577B (en) | Screen capturing method and terminal | |
| CN108196815B (en) | Method for adjusting call sound and mobile terminal | |
| CN108257104B (en) | An image processing method and mobile terminal | |
| CN107911445A (en) | A kind of information push method, mobile terminal and storage medium | |
| CN108924319B (en) | Proximity detection method and mobile terminal | |
| CN107895143A (en) | A kind of finger print information processing method, mobile terminal and computer-readable recording medium | |
| CN108509141A (en) | A kind of generation method and mobile terminal of control | |
| CN111401463A (en) | Method for outputting detection result, electronic device, and medium | |
| CN108388400B (en) | An operation processing method and mobile terminal | |
| CN111523286A (en) | Image display method and electronic device | |
| CN109443261B (en) | Method for obtaining folding angle of folding screen mobile terminal and mobile terminal | |
| CN110764650A (en) | Button trigger detection method and electronic device | |
| CN111246061A (en) | Mobile terminal, method for detecting shooting mode and storage medium | |
| CN108681429A (en) | A kind of bright screen control method and mobile terminal | |
| CN108170310A (en) | A kind of touch screen control method and mobile terminal | |
| CN109164948B (en) | A touch screen electrostatic capacitance supplement device, method and mobile terminal | |
| CN111443968A (en) | Screenshot method and electronic equipment | |
| CN108897467B (en) | A display control method and terminal device | |
| CN111475052A (en) | Method and electronic device for preventing accidental touch of a button | |
| CN110740270A (en) | Camera adjusting method and device, electronic equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |