




技术领域technical field
本公开涉及移动终端技术领域,具体涉及一种位置关系检测方法、装置、电子设备和存储介质。The present disclosure relates to the technical field of mobile terminals, and in particular to a position relationship detection method, device, electronic equipment and storage medium.
背景技术Background technique
近年来,手机等移动终端朝着大显示屏、高屏占比和曲面屏的方向发展。这些方面的发展使显示屏的显示效果不断提升,但显示屏的误触几率也随之增加。可以通过终端内天线的电容值判断目标对象与移动终端位置关系,进而触发防误触的功能,但是相关技术中移动终端的使用场景多样,因此无法保证目标对象与移动终端的位置关系的检测准确性。In recent years, mobile terminals such as mobile phones have developed in the direction of large display screens, high screen-to-body ratios, and curved screens. The development in these aspects has continuously improved the display effect of the display screen, but the probability of false touches on the display screen has also increased accordingly. The positional relationship between the target object and the mobile terminal can be judged by the capacitance value of the antenna in the terminal, and then the anti-mistouch function can be triggered. However, in related technologies, mobile terminals are used in various scenarios, so the detection accuracy of the positional relationship between the target object and the mobile terminal cannot be guaranteed. .
发明内容Contents of the invention
为克服相关技术中存在的问题,本公开实施例提供一种位置关系检测方法、装置、电子设备和存储介质,用以解决相关技术中的缺陷。In order to overcome the problems in the related art, the embodiments of the present disclosure provide a position relationship detection method, device, electronic equipment and storage medium to solve the defects in the related art.
根据本公开实施例的第一方面,提供一种位置关系检测方法,应用于移动终端,包括:According to the first aspect of the embodiments of the present disclosure, there is provided a location relationship detection method applied to a mobile terminal, including:
获取第一传感器采集的姿态数据;Acquiring attitude data collected by the first sensor;
根据所述姿态数据确定所述移动终端的姿态;determining the posture of the mobile terminal according to the posture data;
响应于所述移动终端的姿态为预设姿态,获取第二传感器采集的所述移动终端的天线的第一电容值,并根据所述第一电容值确定或更新补偿值;In response to the posture of the mobile terminal being a preset posture, acquiring a first capacitance value of the antenna of the mobile terminal collected by a second sensor, and determining or updating a compensation value according to the first capacitance value;
获取所述第二传感器采集的所述移动终端的天线的第二电容值,并根据所述第二电容值和所述补偿值,确定目标对象与所述移动终端的位置关系。Acquiring a second capacitance value of the antenna of the mobile terminal collected by the second sensor, and determining a positional relationship between the target object and the mobile terminal according to the second capacitance value and the compensation value.
在一个实施例中,所述根据所述姿态数据确定所述移动终端的姿态,包括:In one embodiment, the determining the posture of the mobile terminal according to the posture data includes:
响应于所述姿态数据保持在所述预设姿态对应的数据范围内的时间,超过预设的时间阈值,确定所述移动终端处于所述预设姿态。In response to the time during which the posture data remains within the data range corresponding to the preset posture exceeds a preset time threshold, it is determined that the mobile terminal is in the preset posture.
在一个实施例中,所述预设姿态包括静止姿态和竖向姿态,其中,所述竖向姿态为移动终端的显示屏所在平面与竖直方向的夹角小于预设角度。In one embodiment, the preset posture includes a static posture and a vertical posture, wherein the vertical posture is that the angle between the plane where the display screen of the mobile terminal is located and the vertical direction is smaller than the preset angle.
在一个实施例中,所述根据所述第一电容值确定或更新补偿值,包括:In one embodiment, the determining or updating the compensation value according to the first capacitance value includes:
将所述补偿值确定或更新为所述第一电容值中的最小值。determining or updating the compensation value as the minimum value among the first capacitance values.
在一个实施例中,所述根据所述第二电容值和所述补偿值,确定目标对象与所述移动终端的位置关系,包括:In one embodiment, the determining the positional relationship between the target object and the mobile terminal according to the second capacitance value and the compensation value includes:
将所述第二电容值和所述补偿值的差值,确定为实际电容值;determining the difference between the second capacitance value and the compensation value as an actual capacitance value;
响应于所述实际电容值大于预设的电容阈值,确定目标对象与所述移动终端的位置关系为接近关系。In response to the actual capacitance value being greater than a preset capacitance threshold, it is determined that the positional relationship between the target object and the mobile terminal is a close relationship.
在一个实施例中,所述获取第二传感器采集的移动终端的天线的第一电容值,并根据所述第一电容值确定或更新补偿值,包括:In one embodiment, the acquiring the first capacitance value of the antenna of the mobile terminal collected by the second sensor, and determining or updating the compensation value according to the first capacitance value includes:
获取所述第二传感器采集的移动终端的每个天线的第一电容值,并根据每个所述第一电容值,确定或更新对应的所述天线的补偿值;Acquiring the first capacitance value of each antenna of the mobile terminal collected by the second sensor, and determining or updating the corresponding compensation value of the antenna according to each of the first capacitance values;
所述获取所述第二传感器采集的所述移动终端的天线的第二电容值,并根据所述第二电容值和所述补偿值,确定目标对象与所述移动终端的位置关系,包括:The acquiring the second capacitance value of the antenna of the mobile terminal collected by the second sensor, and determining the positional relationship between the target object and the mobile terminal according to the second capacitance value and the compensation value includes:
获取所述第二传感器采集的移动终端的每个天线的第二电容值,并根据每个天线的所述第二电容值和所述补偿值,确定目标对象与所述移动终端的第一对应区域的位置关系,其中,所述第一对应区域为所述天线对应的移动终端的区域。Acquiring the second capacitance value of each antenna of the mobile terminal collected by the second sensor, and determining the first correspondence between the target object and the mobile terminal according to the second capacitance value of each antenna and the compensation value A positional relationship of areas, wherein the first corresponding area is the area of the mobile terminal corresponding to the antenna.
在一个实施例中,还包括:In one embodiment, also includes:
响应于所述第二电容值中的最小值小于所述补偿值,将所述补偿值更新为所述第二电容值中的最小值。In response to the minimum value of the second capacitance values being smaller than the compensation value, updating the compensation value to the minimum value of the second capacitance values.
在一个实施例中,还包括:In one embodiment, also includes:
响应于所述目标对象与所述移动终端的位置关系为接近关系,确定所述移动终端的显示屏的第二对应区域为防误触状态,其中,所述第二对应区域为所述第二电容值所属的天线对应的所述显示屏的区域。In response to the close relationship between the target object and the mobile terminal, determine that a second corresponding area of the display screen of the mobile terminal is in an anti-mistouch state, wherein the second corresponding area is the second The area of the display screen corresponding to the antenna to which the capacitance value belongs.
在一个实施例中,所述第一传感器包括运动传感器,所述姿态数据包括加速度数据;和/或,In one embodiment, the first sensor includes a motion sensor, and the attitude data includes acceleration data; and/or,
所述第二传感器包括电磁波吸收率传感器。The second sensor includes an electromagnetic wave absorption rate sensor.
根据本公开实施例的第二方面,提供一种目标对象检测装置,应用于移动终端,包括:According to the second aspect of the embodiments of the present disclosure, there is provided a target object detection device applied to a mobile terminal, including:
第一获取模块,用于获取第一传感器采集的姿态数据;A first acquisition module, configured to acquire attitude data collected by the first sensor;
姿态确定模块,用于根据所述姿态数据确定所述移动终端的姿态;a posture determination module, configured to determine the posture of the mobile terminal according to the posture data;
补偿确定模块,用于响应于所述移动终端的姿态为预设姿态,获取第二传感器采集的所述移动终端的天线的第一电容值,并根据所述第一电容值确定或更新补偿值;A compensation determination module, configured to acquire a first capacitance value of the antenna of the mobile terminal collected by the second sensor in response to the posture of the mobile terminal being a preset posture, and determine or update a compensation value according to the first capacitance value ;
位置确定模块,用于获取所述第二传感器采集的所述移动终端的天线的第二电容值,并根据所述第二电容值和所述补偿值,确定目标对象与所述移动终端的位置关系。A position determining module, configured to acquire a second capacitance value of the antenna of the mobile terminal collected by the second sensor, and determine the position of the target object and the mobile terminal according to the second capacitance value and the compensation value relation.
在一个实施例中,所述姿态确定模块具体用于:In one embodiment, the posture determination module is specifically used for:
响应于所述姿态数据保持在所述预设姿态对应的数据范围内的时间,超过预设的时间阈值,确定所述移动终端处于所述预设姿态。In response to the time during which the posture data remains within the data range corresponding to the preset posture exceeds a preset time threshold, it is determined that the mobile terminal is in the preset posture.
在一个实施例中,所述预设姿态包括静止姿态和移动姿态,其中,所述移动姿态为移动终端的显示屏所在平面与竖直方向的夹角小于预设角度。In one embodiment, the preset posture includes a static posture and a moving posture, wherein the moving posture is that the angle between the plane where the display screen of the mobile terminal is located and the vertical direction is smaller than the preset angle.
在一个实施例中,所述补偿确定模块具体用于:In one embodiment, the compensation determination module is specifically used for:
将所述补偿值确定或更新为所述第一电容值中的最小值。determining or updating the compensation value as the minimum value among the first capacitance values.
在一个实施例中,所述位置确定模块具体用于:In one embodiment, the location determination module is specifically used for:
将所述第二电容值和所述补偿值的差值,确定为实际电容值;determining the difference between the second capacitance value and the compensation value as an actual capacitance value;
响应于所述实际电容值大于预设的电容阈值,确定目标对象与所述移动终端的位置关系为接近关系。In response to the actual capacitance value being greater than a preset capacitance threshold, it is determined that the positional relationship between the target object and the mobile terminal is a close relationship.
在一个实施例中,所述补偿确定模块具体用于:In one embodiment, the compensation determination module is specifically used for:
获取所述第二传感器采集的移动终端的每个天线的第一电容值,并根据每个所述第一电容值,确定或更新对应的所述天线的补偿值;Acquiring the first capacitance value of each antenna of the mobile terminal collected by the second sensor, and determining or updating the corresponding compensation value of the antenna according to each of the first capacitance values;
所述位置确定模块具体用于:The location determination module is specifically used for:
获取所述第二传感器采集的移动终端的每个天线的第二电容值,并根据每个天线的所述第二电容值和所述补偿值,确定目标对象与所述移动终端的第一对应区域的位置关系,其中,所述第一对应区域为所述天线对应的移动终端的区域。Acquiring the second capacitance value of each antenna of the mobile terminal collected by the second sensor, and determining the first correspondence between the target object and the mobile terminal according to the second capacitance value of each antenna and the compensation value A positional relationship of areas, wherein the first corresponding area is the area of the mobile terminal corresponding to the antenna.
在一个实施例中,还包括更新模块,用于:In one embodiment, an update module is also included for:
响应于所述第二电容值中的最小值小于所述补偿值,将所述补偿值更新为所述第二电容值中的最小值。In response to the minimum value of the second capacitance values being smaller than the compensation value, updating the compensation value to the minimum value of the second capacitance values.
在一个实施例中,还包括防误触模块,具体用于:In one embodiment, it also includes an anti-mistouch module, which is specifically used for:
响应于所述目标对象与所述移动终端的位置关系为接近关系,确定所述移动终端的显示屏的第二对应区域为防误触状态,其中,所述第二对应区域为所述第二电容值所属的天线对应的所述显示屏的区域。In response to the close relationship between the target object and the mobile terminal, determine that a second corresponding area of the display screen of the mobile terminal is in an anti-mistouch state, wherein the second corresponding area is the second The area of the display screen corresponding to the antenna to which the capacitance value belongs.
在一个实施例中,所述第一传感器包括运动传感器,所述姿态数据包括加速度数据;和/或,In one embodiment, the first sensor includes a motion sensor, and the attitude data includes acceleration data; and/or,
所述第二传感器包括电磁波吸收率传感器。The second sensor includes an electromagnetic wave absorption rate sensor.
根据本公开实施例的第三方面,提供一种电子设备,所述电子设备包括存储器、处理器,所述存储器用于存储可在处理器上运行的计算机指令,所述处理器用于在执行所述计算机指令时基于第一方面所述的位置关系检测方法。According to a third aspect of the embodiments of the present disclosure, there is provided an electronic device, the electronic device includes a memory and a processor, the memory is used to store computer instructions that can be run on the processor, and the processor is used to execute the The computer instructions are based on the positional relationship detection method described in the first aspect.
根据本公开实施例的第四方面,提供一种计算机可读存储介质,其上存储有计算机程序,所述程序被处理器执行时实现第一方面所述的方法。According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the method described in the first aspect is implemented.
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
本公开通过获取第一传感器采集的姿态数据,并根据所述姿态数据确定所述移动终端的姿态,进而响应于所述移动终端的姿态为预设姿态,获取第二传感器采集的移动终端的天线的第一电容值,并根据所述第一电容值确定或更新补偿值,最后获取所述第二传感器采集的所述移动终端的天线的第二电容值,并根据所述第二电容值和所述补偿值,确定目标对象与所述移动终端的位置关系。由于在预设姿态下通过第二传感器采集的天线的第一电容值确定或更新了补偿值,且确定目标对象与移动终端的位置关系时,利用第二传感器采集的天线的第二电容值和补偿值,即利用补偿值对第二电容值进行了补偿,因此提高了目标对象与所述移动终端的位置关系的检测准确性。The disclosure obtains the posture data collected by the first sensor, determines the posture of the mobile terminal according to the posture data, and then obtains the antenna of the mobile terminal collected by the second sensor in response to the posture of the mobile terminal being a preset posture. the first capacitance value, and determine or update the compensation value according to the first capacitance value, and finally obtain the second capacitance value of the antenna of the mobile terminal collected by the second sensor, and based on the second capacitance value and The compensation value determines the positional relationship between the target object and the mobile terminal. Since the compensation value is determined or updated by the first capacitance value of the antenna collected by the second sensor in the preset attitude, and when the positional relationship between the target object and the mobile terminal is determined, the second capacitance value of the antenna collected by the second sensor and the The compensation value, that is, the compensation value is used to compensate the second capacitance value, thus improving the detection accuracy of the positional relationship between the target object and the mobile terminal.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention.
图1是本公开一示例性实施例示出的位置关系检测方法的流程图;FIG. 1 is a flow chart of a positional relationship detection method shown in an exemplary embodiment of the present disclosure;
图2是本公开一示例性实施例示出的移动终端的结构示意图;Fig. 2 is a schematic structural diagram of a mobile terminal shown in an exemplary embodiment of the present disclosure;
图3是本公开另一示例性实施例示出的移动终端的结构示意图;Fig. 3 is a schematic structural diagram of a mobile terminal shown in another exemplary embodiment of the present disclosure;
图4是本公开一示例性实施例示出的目标对象检测装置的结构示意图;Fig. 4 is a schematic structural diagram of a target object detection device shown in an exemplary embodiment of the present disclosure;
图5是本公开一示例性实施例示出的电子设备框图。Fig. 5 is a block diagram of an electronic device according to an exemplary embodiment of the present disclosure.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.
在本公开使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本公开。在本公开和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in the present disclosure is for the purpose of describing particular embodiments only, and is not intended to limit the present disclosure. As used in this disclosure and the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term "and/or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.
应当理解,尽管在本公开可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本公开范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of the present disclosure, first information may also be called second information, and similarly, second information may also be called first information. Depending on the context, the word "if" as used herein may be interpreted as "at" or "when" or "in response to a determination."
手机等移动终端在使用过程中,环境内各类因素,包括环境湿度,接触的物品等都会影响天线的电容值,因此很容易发生目标对象与移动终端的位置关系检测不准确的现象。During the use of mobile terminals such as mobile phones, various factors in the environment, including environmental humidity and objects in contact with them, will affect the capacitance value of the antenna, so it is easy to detect the inaccurate detection of the positional relationship between the target object and the mobile terminal.
基于此,第一方面,本公开至少一个实施例提供了一种位置关系检测方法,请参照附图1,其示出了该方法的流程,包括步骤S101至步骤S104。Based on this, in a first aspect, at least one embodiment of the present disclosure provides a positional relationship detection method, please refer to FIG. 1 , which shows the flow of the method, including steps S101 to S104.
其中,该方法应用于移动终端,该移动终端可以如图2和图3所示,图2为移动终端101,图3为安装了保护壳102的移动终端101。该方法应用于图2所示的移动终端101时,可以用于排除环境变化引起的目标对象与移动终端的位置关系检测不准确的问题。该方法应用于图3所示的移动终端101时,可以用于排除环境变化等包括保护壳102引起的目标对象与移动终端的位置关系检测不准确的问题。图2和图3中,移动终端101具有第一传感器1011、第二传感器1012和天线1013。Wherein, the method is applied to a mobile terminal, and the mobile terminal may be shown in FIG. 2 and FIG. 3 , FIG. 2 is a
位置关系检测指的是检测目标对象与移动终端的位置关系,例如目标对象可以为人手,则检测的就是人手与移动终端的位置关系。目标对象与移动终端的位置关系可以包括接近状态和远离状态等,接近状态可以是人手握持移动终端的状态,或者人手接触移动终端的状态等,远离状态可以是用户未接触移动终端的状态。进一步的,目标对象与移动终端的位置关系还可以包括目标对象与移动终端的特定区域的位置关系。Positional relationship detection refers to detecting the positional relationship between the target object and the mobile terminal. For example, the target object can be a human hand, and the detection is the positional relationship between the human hand and the mobile terminal. The positional relationship between the target object and the mobile terminal may include a proximity state and a distance state. The proximity state may be a state in which a human hand is holding the mobile terminal, or a state in which a human hand touches the mobile terminal. The far state may be a state in which the user does not touch the mobile terminal. Further, the positional relationship between the target object and the mobile terminal may also include the positional relationship between the target object and a specific area of the mobile terminal.
在步骤S101中,获取第一传感器采集的姿态数据。In step S101, attitude data collected by a first sensor is acquired.
其中,第一传感器采集的姿态数据用于判断移动终端的姿态。第一传感器可以包括运动传感器,例如加速度传感器和/或陀螺仪等。相应的,姿态数据可以为运动数据,例如加速度数据。Wherein, the attitude data collected by the first sensor is used to judge the attitude of the mobile terminal. The first sensor may include a motion sensor, such as an acceleration sensor and/or a gyroscope. Correspondingly, the posture data may be motion data, such as acceleration data.
终端在获取第一传感器采集的姿态数据时,可以实时获取,也可以按照预设方式进行获取。可以理解的是,实时获取的情况下,获取的频率较高,移动终端的功耗较高,因此可以在保证在不影响姿态数据的准确度要求的情况下,降低获取的频率,终端可以周期性获取姿态数据,也可以在不同的时间段采用不同的获取频率获取姿态数据,即按照预设方式进行获取。例如,在晚上10点至次日上午7点按照低频率获取,在上午7点至晚上10点高频率获取或者实时获取,再例如,在移动终端长时间(该时间的具体时长可以在移动终端出厂时预设和/或由用户按需设置)处于静止状态时,采用低频率获取。When the terminal acquires the attitude data collected by the first sensor, it may acquire it in real time or in a preset manner. It can be understood that in the case of real-time acquisition, the frequency of acquisition is relatively high, and the power consumption of the mobile terminal is relatively high. Therefore, the frequency of acquisition can be reduced without affecting the accuracy requirements of attitude data, and the terminal can periodically Attitude data can be acquired permanently, and attitude data can also be acquired at different acquisition frequencies in different time periods, that is, acquired in a preset manner. For example, it is acquired at a low frequency from 10:00 pm to 7:00 am the next day, and is acquired at a high frequency or in real time from 7:00 am to 10:00 pm. (Preset at the factory and/or set by the user on demand) When in a static state, low frequency acquisition is used.
在步骤S102中,根据所述姿态数据确定所述移动终端的姿态。In step S102, the attitude of the mobile terminal is determined according to the attitude data.
其中,移动终端的姿态可以是移动终端的方向和角度,或者移动终端的动静状态。可以预先设置至少一种预设姿态,然后移动终端的姿态则包括该几种预设姿态和其他姿态,其他姿态即为该几种预设姿态外的所有姿态的统称。Wherein, the gesture of the mobile terminal may be the direction and angle of the mobile terminal, or the state of movement or rest of the mobile terminal. At least one preset posture can be preset, and then the posture of the mobile terminal includes the several preset postures and other postures, and the other postures are collectively referred to as all postures except the several preset postures.
可选的,确定移动终端的姿态时,可以预先为每种预设姿态设置对应的数据范围,即预设姿态对应的姿态数据的范围,例如加速度范围等,然后响应于所述姿态数据保持在所述预设姿态对应的数据范围内的时间,超过预设的时间阈值,确定所述移动终端处于所述预设姿态。在一个示例中,预设姿态为静止姿态,其对应的加速度范围为0,则当第一传感器采集的加速度为0时,可以判定移动终端处于静止状态。Optionally, when determining the posture of the mobile terminal, a corresponding data range may be set in advance for each preset posture, that is, the range of the posture data corresponding to the preset posture, such as the acceleration range, etc., and then respond to the posture data maintained at If the time within the data range corresponding to the preset posture exceeds a preset time threshold, it is determined that the mobile terminal is in the preset posture. In one example, the preset posture is a static posture, and its corresponding acceleration range is 0, then when the acceleration collected by the first sensor is 0, it can be determined that the mobile terminal is in a static state.
在步骤S103中,响应于所述移动终端的姿态为预设姿态,获取第二传感器采集的移动终端的天线的第一电容值,并根据所述第一电容值确定或更新补偿值。In step S103, in response to the attitude of the mobile terminal being a preset attitude, a first capacitance value of the antenna of the mobile terminal collected by the second sensor is obtained, and a compensation value is determined or updated according to the first capacitance value.
其中,预设姿态可以选择移动终端的电容值受到环境因素的影响较小时的姿态,例如移动终端处于静止姿态或竖向姿态,其中,所述竖向姿态为移动终端的显示屏所在平面与竖直方向的夹角小于预设角度,例如该角度可以为30°。静止状态时,移动终端处于固定位置,电容值受到环境因素的影响较小;竖向姿态时,移动终端接近竖直方向,即移动终端被用户放置在衣服或书包内的状态,电容值受到环境因素的影响较小。因此上述两种状态下的天线的电容值可以作为判断天线的电容值是否受到环境因素影响的参照数据,因此在这些预设姿态下确定或更新补偿值。如果补偿值尚未确定,则在这些预设姿态下首次确定补偿值,如果补偿值已经确定,则在这些状态下更新补偿值。Wherein, the preset posture can select a posture when the capacitance value of the mobile terminal is less affected by environmental factors, for example, the mobile terminal is in a static posture or a vertical posture, wherein the vertical posture is the plane where the display screen of the mobile terminal is located and the vertical posture. The included angle in the vertical direction is smaller than the preset angle, for example, the angle may be 30°. In the static state, the mobile terminal is in a fixed position, and the capacitance value is less affected by environmental factors; in the vertical posture, the mobile terminal is close to the vertical direction, that is, the state where the mobile terminal is placed in clothes or school bags by the user, and the capacitance value is affected by the environment. factors have little influence. Therefore, the capacitance values of the antenna in the above two states can be used as reference data for judging whether the capacitance value of the antenna is affected by environmental factors, so the compensation value is determined or updated in these preset attitudes. If the compensation value has not been determined, the compensation value is determined for the first time in these preset attitudes, and if the compensation value has been determined, the compensation value is updated in these states.
第二传感器可以为电磁波吸收率传感器(Specific Absorption Rate,SAR),电磁波吸收率传感器能够获取移动终端的天线的电容值,在移动终端处于上述这些预设姿态下时,记第二传感器采集到的天线的电容值为第一电容值,可以获取第一电容值,并根据第一电容值确定或更新补偿值。移动终端对最新的补偿值进行保存,以备后续确定位置关系使用。The second sensor may be an electromagnetic wave absorption rate sensor (Specific Absorption Rate, SAR). The electromagnetic wave absorption rate sensor can obtain the capacitance value of the antenna of the mobile terminal, and record the capacitance value collected by the second sensor when the mobile terminal is in the above preset postures. The capacitance value of the antenna is the first capacitance value, and the first capacitance value may be acquired, and the compensation value may be determined or updated according to the first capacitance value. The mobile terminal saves the latest compensation value for subsequent determination of the positional relationship.
可选的,将所述补偿值确定或更新为所述第一电容值中的最小值。第一电容值中的最小值可以表征移动终端状态最稳定时的电容值,因此环境因素的影响程度最低,因此将第一电容值中的最小值确定或更新为补偿值,能够提高补偿值的准确性,进而提高目标对象和移动终端的位置关系的检测准确性。Optionally, the compensation value is determined or updated as the minimum value among the first capacitance values. The minimum value in the first capacitance value can represent the capacitance value when the state of the mobile terminal is the most stable, so the degree of influence of environmental factors is the lowest, so determining or updating the minimum value in the first capacitance value as the compensation value can improve the compensation value. Accuracy, thereby improving the detection accuracy of the positional relationship between the target object and the mobile terminal.
在步骤S104中,获取所述第二传感器采集的所述移动终端的天线的第二电容值,并根据所述第二电容值和所述补偿值,确定目标对象与所述移动终端的位置关系。In step S104, acquire the second capacitance value of the antenna of the mobile terminal collected by the second sensor, and determine the positional relationship between the target object and the mobile terminal according to the second capacitance value and the compensation value .
其中,本步骤可以运行在移动终端处于预设姿态外的其他姿态时,即移动终端处于预设姿态时用于确定补偿值,而移动终端处于预设姿态外的其他姿态时,用于确定目标对象与移动终端的位置关系。由于定义预设姿态时,是按照移动终端天线的电容值受环境因素影响最小的原则确定的,因此可以默认移动终端处于预设姿态时,目标对象与移动终端的位置关系为远离。Wherein, this step can be performed when the mobile terminal is in a posture other than the preset posture, that is, when the mobile terminal is in a preset posture, it is used to determine the compensation value, and when the mobile terminal is in a posture other than the preset posture, it is used to determine the target The positional relationship between the object and the mobile terminal. Since the preset attitude is defined according to the principle that the capacitance value of the mobile terminal antenna is least affected by environmental factors, it can be defaulted that when the mobile terminal is in the preset attitude, the positional relationship between the target object and the mobile terminal is far away.
在本步骤中,第二传感器采集到的移动终端的天线的电容值可以记为第二电容值。移动终端可以获取第二电容值,并根据第二电容值和所述补偿值,确定目标对象与所述移动终端的位置关系。当目标对象远离天线时,天线属于置空状态,天线的电容值较小;当有目标对象接近天线时,天线的电容值增大。In this step, the capacitance value of the antenna of the mobile terminal collected by the second sensor may be recorded as the second capacitance value. The mobile terminal may acquire the second capacitance value, and determine the positional relationship between the target object and the mobile terminal according to the second capacitance value and the compensation value. When the target object is far away from the antenna, the antenna is in a blank state, and the capacitance value of the antenna is small; when a target object approaches the antenna, the capacitance value of the antenna increases.
可选的,首先,将所述第二电容值和所述补偿值的差值,确定为实际电容值;接下来,响应于所述实际电容值大于预设的电容阈值,确定目标对象与所述移动终端的位置关系为接近关系。确定第二电容值和补偿值的差值时,可以用第二电容值减去补偿值得到差值,并作为实际电容值,由于补偿值是移动终端的保护壳等外部结构引起的天线电容值的变化量,因此第二电容值通过减去补偿值,可以排除保护壳等外部结构引起的这部分变化,即实际电容值是目标对象接触引起的电容变化量,因此便可以排除保护壳等外部结构对目标对象与移动终端的位置关系检测的影响。当有人体组织接近天线时,天线的电容值增大,因此可以预设电容阈值,当天线电容值增大量达到该电容阈值时,认定有人体组织接近,即确定目标对象与移动终端的位置关系为接近关系。Optionally, first, the difference between the second capacitance value and the compensation value is determined as an actual capacitance value; next, in response to the fact that the actual capacitance value is greater than a preset capacitance threshold, determine the difference between the target object and the The above-mentioned positional relationship of the mobile terminals is a proximity relationship. When determining the difference between the second capacitance value and the compensation value, the difference can be obtained by subtracting the compensation value from the second capacitance value and used as the actual capacitance value. Since the compensation value is the antenna capacitance value caused by the external structure such as the protective case of the mobile terminal Therefore, by subtracting the compensation value from the second capacitance value, this part of the change caused by the external structure such as the protective shell can be excluded, that is, the actual capacitance value is the capacitance change caused by the contact of the target object, so the external structure such as the protective shell can be excluded. The effect of structure on the detection of the positional relationship between the target object and the mobile terminal. When human tissue approaches the antenna, the capacitance value of the antenna increases, so the capacitance threshold can be preset. When the increase in the capacitance value of the antenna reaches the capacitance threshold, it is determined that there is human tissue approaching, that is, the positional relationship between the target object and the mobile terminal is determined. for a close relationship.
本公开通过获取第一传感器采集的姿态数据,并根据所述姿态数据确定所述移动终端的姿态,进而响应于所述移动终端的姿态为预设姿态,获取第二传感器采集的移动终端的天线的第一电容值,并根据所述第一电容值确定或更新补偿值,最后获取所述第二传感器采集的所述移动终端的天线的第二电容值,并根据所述第二电容值和所述补偿值,确定目标对象与所述移动终端的位置关系。由于在预设姿态下通过第二传感器采集的天线的第一电容值确定或更新了补偿值,且确定目标对象与移动终端的位置关系时,利用第二传感器采集的天线的第二电容值和补偿值,即利用补偿值对第二电容值进行了补偿,因此提高了目标对象与所述移动终端的位置关系的检测准确性。The disclosure obtains the posture data collected by the first sensor, determines the posture of the mobile terminal according to the posture data, and then obtains the antenna of the mobile terminal collected by the second sensor in response to the posture of the mobile terminal being a preset posture. the first capacitance value, and determine or update the compensation value according to the first capacitance value, and finally obtain the second capacitance value of the antenna of the mobile terminal collected by the second sensor, and based on the second capacitance value and The compensation value determines the positional relationship between the target object and the mobile terminal. Since the compensation value is determined or updated by the first capacitance value of the antenna collected by the second sensor in the preset attitude, and when the positional relationship between the target object and the mobile terminal is determined, the second capacitance value of the antenna collected by the second sensor and the The compensation value, that is, the compensation value is used to compensate the second capacitance value, thus improving the detection accuracy of the positional relationship between the target object and the mobile terminal.
本公开的一些实施例中,可以参照附图2和附图3,移动终端101可以具有多个天线1013,而每个天线1013对应移动终端101的不同区域,对应显示屏的不同区域,可以将天线1013对应的移动终端101的区域记为第一对应区域,将天线1013对应的显示屏的区域记为第二对应区域。In some embodiments of the present disclosure, referring to FIG. 2 and FIG. 3 , the
基于此,在确定补偿值和确定目标对象与移动终端的位置关系时,可以具有针对性,即分别针对不同的天线进行确定。可选的,可以获取所述第二传感器采集的移动终端的每个天线的第一电容值,并根据每个所述第一电容值,确定或更新对应的所述天线的补偿值;获取所述第二传感器采集的移动终端的每个天线的第二电容值,并根据每个天线的所述第二电容值和所述补偿值,确定目标对象与所述移动终端的第一对应区域的位置关系,其中,所述第一对应区域为所述天线对应的移动终端的区域。具体的确定补偿值和确定目标对象与第一对应区域的位置关系的方式,可以上述实施例中提到的方式,也可以采用其他方式,本申请对此不做限制。Based on this, when determining the compensation value and determining the positional relationship between the target object and the mobile terminal, it can be targeted, that is, determine for different antennas respectively. Optionally, the first capacitance value of each antenna of the mobile terminal collected by the second sensor may be obtained, and according to each of the first capacitance values, determine or update the corresponding compensation value of the antenna; obtain the The second capacitance value of each antenna of the mobile terminal collected by the second sensor, and according to the second capacitance value of each antenna and the compensation value, determine the distance between the target object and the first corresponding area of the mobile terminal Positional relationship, wherein the first corresponding area is the area of the mobile terminal corresponding to the antenna. The specific manner of determining the compensation value and the positional relationship between the target object and the first corresponding area may be the manner mentioned in the above embodiment, or other manners, which are not limited in this application.
本实施例中,通过针对不同天线分别确定补偿值和位置关系,能够更加精确的确定目标对象与移动终端的位置关系。在依照上述位置关系启动防误触功能时,能够更加具有针对性,且减少处于防误触的状态的显示屏的面积,从而既能够防止误触引发误操作,又避免对显示屏产生多余的影响。In this embodiment, the positional relationship between the target object and the mobile terminal can be determined more accurately by determining the compensation value and the positional relationship for different antennas respectively. When the anti-mistouch function is activated according to the above positional relationship, it can be more targeted and reduce the area of the display screen in the anti-mistouch state, thereby preventing misoperations caused by mistouching and avoiding unnecessary damage to the display screen. influences.
本公开的一些实施例中,在获取所述第二传感器采集的所述移动终端的天线的第二电容值,并根据所述第二电容值和所述补偿值,确定目标对象与所述移动终端的位置关系时,还可以响应于所述第二电容值中的最小值小于所述补偿值,将所述补偿值更新为所述第二电容值中的最小值。也就是说,当第二电容值中存在小于补偿值的值时,则补偿值不能表征目标对象对天线电容值影响最小时的电容值,因此该补偿值无法准确排除环境变化或手机保护壳等外部结构引起的电容值变化,因此需要进一步更新该补偿值,即可以将第二电容值中的最小值更新为补偿值,从而提高补偿值的准确性,进而提高据此补偿值确定的目标对象与移动终端的位置关系的准确性。In some embodiments of the present disclosure, after obtaining the second capacitance value of the antenna of the mobile terminal collected by the second sensor, and according to the second capacitance value and the compensation value, the relationship between the target object and the mobile terminal is determined. In response to the minimum value of the second capacitance values being smaller than the compensation value, the compensation value may be updated to the minimum value of the second capacitance values. That is to say, when there is a value smaller than the compensation value in the second capacitance value, the compensation value cannot represent the capacitance value when the target object has the least influence on the antenna capacitance value, so the compensation value cannot accurately exclude environmental changes or mobile phone protective cases, etc. The capacitance value changes caused by the external structure, so the compensation value needs to be further updated, that is, the minimum value of the second capacitance value can be updated as the compensation value, thereby improving the accuracy of the compensation value, and further improving the target object determined based on this compensation value The accuracy of the location relationship with the mobile terminal.
本公开的一些实施例中,在确定了目标对象与移动终端的位置关系后,还可以响应于所述目标对象与所述移动终端的位置关系为接近关系,确定所述移动终端的显示屏的第二对应区域为防误触状态,其中,所述第二对应区域为所述第二电容值所属的天线对应的所述显示屏的区域。In some embodiments of the present disclosure, after the positional relationship between the target object and the mobile terminal is determined, in response to the positional relationship between the target object and the mobile terminal being a close relationship, determine the position of the display screen of the mobile terminal The second corresponding area is in an anti-mistouch state, wherein the second corresponding area is an area of the display screen corresponding to the antenna to which the second capacitance value belongs.
本实施例中,利用补偿值排除环境变化以及保护壳等外部结构对天线电容值的影响,以准确确定目标对象对天线的电容值的影响后,进而确定目标对象与移动终端的位置关系后,可以准确的启动或关闭显示屏的防误触功能,而且还能够根据天线的位置准确确定防误触的区域,因此提高了防误触功能的准确性,也就是说,既能够准确的启动防误触,从而避免误操作,又能够避免影响显示屏的使用。In this embodiment, the compensation value is used to eliminate the influence of environmental changes and external structures such as protective shells on the capacitance value of the antenna, so as to accurately determine the influence of the target object on the capacitance value of the antenna, and then determine the positional relationship between the target object and the mobile terminal. The anti-mistouch function of the display screen can be activated or deactivated accurately, and the anti-mistouch area can be accurately determined according to the position of the antenna, thus improving the accuracy of the anti-mistouch function, that is to say, it is possible to accurately activate the anti-mistouch function. Inadvertent touch, so as to avoid misoperation, and can avoid affecting the use of the display screen.
请参照附图4,根据本公开实施例的第二方面,提供一种目标对象检测装置,应用于移动终端,包括:Please refer to FIG. 4 , according to the second aspect of the embodiments of the present disclosure, a target object detection device is provided, which is applied to a mobile terminal, including:
第一获取模块401,用于获取第一传感器采集的姿态数据;The first acquiring
姿态确定模块402,用于根据所述姿态数据确定所述移动终端的姿态;a
补偿确定模块403,用于响应于所述移动终端的姿态为预设姿态,获取第二传感器采集的所述移动终端的天线的第一电容值,并根据所述第一电容值确定或更新补偿值;The
位置确定模块404,用于获取所述第二传感器采集的所述移动终端的天线的第二电容值,并根据所述第二电容值和所述补偿值,确定目标对象与所述移动终端的位置关系。A
在本公开的一些实施例中,所述姿态确定模块具体用于:In some embodiments of the present disclosure, the pose determination module is specifically used for:
响应于所述姿态数据保持在所述预设姿态对应的数据范围内的时间,超过预设的时间阈值,确定所述移动终端处于所述预设姿态。In response to the time during which the posture data remains within the data range corresponding to the preset posture exceeds a preset time threshold, it is determined that the mobile terminal is in the preset posture.
在本公开的一些实施例中,所述预设姿态包括静止姿态和移动姿态,其中,所述移动姿态为移动终端的显示屏所在平面与竖直方向的夹角小于预设角度。In some embodiments of the present disclosure, the preset posture includes a static posture and a moving posture, wherein the moving posture is that the angle between the plane where the display screen of the mobile terminal is located and the vertical direction is smaller than the preset angle.
在本公开的一些实施例中,所述补偿确定模块具体用于:In some embodiments of the present disclosure, the compensation determination module is specifically configured to:
将所述补偿值确定或更新为所述第一电容值中的最小值。determining or updating the compensation value as the minimum value among the first capacitance values.
在本公开的一些实施例中,所述位置确定模块具体用于:In some embodiments of the present disclosure, the location determination module is specifically configured to:
将所述第二电容值和所述补偿值的差值,确定为实际电容值;determining the difference between the second capacitance value and the compensation value as an actual capacitance value;
响应于所述实际电容值大于预设的电容阈值,确定目标对象与所述移动终端的位置关系为接近关系。In response to the actual capacitance value being greater than a preset capacitance threshold, it is determined that the positional relationship between the target object and the mobile terminal is a close relationship.
在本公开的一些实施例中,所述补偿确定模块具体用于:In some embodiments of the present disclosure, the compensation determination module is specifically configured to:
获取所述第二传感器采集的移动终端的每个天线的第一电容值,并根据每个所述第一电容值,确定或更新对应的所述天线的补偿值;Acquiring the first capacitance value of each antenna of the mobile terminal collected by the second sensor, and determining or updating the corresponding compensation value of the antenna according to each of the first capacitance values;
所述位置确定模块具体用于:The location determination module is specifically used for:
获取所述第二传感器采集的移动终端的每个天线的第二电容值,并根据每个天线的所述第二电容值和所述补偿值,确定目标对象与所述移动终端的第一对应区域的位置关系,其中,所述第一对应区域为所述天线对应的移动终端的区域。Acquiring the second capacitance value of each antenna of the mobile terminal collected by the second sensor, and determining the first correspondence between the target object and the mobile terminal according to the second capacitance value of each antenna and the compensation value A positional relationship of areas, wherein the first corresponding area is the area of the mobile terminal corresponding to the antenna.
在本公开的一些实施例中,还包括更新模块,用于:In some embodiments of the present disclosure, an update module is also included for:
响应于所述第二电容值中的最小值小于所述补偿值,将所述补偿值更新为所述第二电容值中的最小值。In response to the minimum value of the second capacitance values being smaller than the compensation value, updating the compensation value to the minimum value of the second capacitance values.
在本公开的一些实施例中,还包括防误触模块,具体用于:In some embodiments of the present disclosure, an anti-mistouch module is also included, specifically for:
响应于所述目标对象与所述移动终端的位置关系为接近关系,确定所述移动终端的显示屏的第二对应区域为防误触状态,其中,所述第二对应区域为所述第二电容值所属的天线对应的所述显示屏的区域。In response to the close relationship between the target object and the mobile terminal, determine that a second corresponding area of the display screen of the mobile terminal is in an anti-mistouch state, wherein the second corresponding area is the second The area of the display screen corresponding to the antenna to which the capacitance value belongs.
在一个实施例中,所述第一传感器包括运动传感器,所述姿态数据包括加速度数据;和/或,In one embodiment, the first sensor includes a motion sensor, and the attitude data includes acceleration data; and/or,
所述第二传感器包括电磁波吸收率传感器。The second sensor includes an electromagnetic wave absorption rate sensor.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在第一方面有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above embodiments, the specific manner in which each module executes operations has been described in detail in the embodiment of the method in the first aspect, and will not be described in detail here.
根据本公开实施例的第五方面,请参照附图5,其示例性的示出了一种电子设备的框图。例如,装置500可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。According to a fifth aspect of the embodiments of the present disclosure, please refer to FIG. 5 , which exemplarily shows a block diagram of an electronic device. For example, the
参照图5,装置500可以包括以下一个或多个组件:处理组件502,存储器504,电源组件506,多媒体组件508,音频组件510,输入/输出(I/O)的接口512,传感器组件514,以及通信组件516。5,
处理组件502通常控制装置500的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理元件502可以包括一个或多个处理器520来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件502可以包括一个或多个模块,便于处理组件502和其他组件之间的交互。例如,处理组件502可以包括多媒体模块,以方便多媒体组件508和处理组件502之间的交互。The
存储器504被配置为存储各种类型的数据以支持在装置500的操作。这些数据的示例包括用于在装置500上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器504可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The
电力组件506为装置500的各种组件提供电力。电力组件506可以包括电源管理系统,一个或多个电源,及其他与为装置500生成、管理和分配电力相关联的组件。
多媒体组件508包括在所述装置500和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件508包括一个前置摄像头和/或后置摄像头。当装置500处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The
音频组件510被配置为输出和/或输入音频信号。例如,音频组件510包括一个麦克风(MIC),当装置500处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器504或经由通信组件516发送。在一些实施例中,音频组件510还包括一个扬声器,用于输出音频信号。The
I/O接口512为处理组件502和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/
传感器组件514包括一个或多个传感器,用于为装置500提供各个方面的状态评估。例如,传感器组件514可以检测到装置500的打开/关闭状态,组件的相对定位,例如所述组件为装置500的显示器和小键盘,传感器组件514还可以检测装置500或装置500一个组件的位置改变,用户与装置500接触的存在或不存在,装置500方位或加速/减速和装置500的温度变化。传感器组件514还可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件514还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件514还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件516被配置为便于装置500和其他设备之间有线或无线方式的通信。装置500可以接入基于通信标准的无线网络,如WiFi,2G或3G,4G或5G或它们的组合。在一个示例性实施例中,通信组件516经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件516还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The
在示例性实施例中,装置500可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述电子设备的供电方法。In an exemplary embodiment,
第六方面,本公开在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器504,上述指令可由装置500的处理器520执行以完成上述电子设备的供电方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In a sixth aspect, in an exemplary embodiment, the present disclosure also provides a non-transitory computer-readable storage medium including instructions, such as a
本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
| Application Number | Priority Date | Filing Date | Title | 
|---|---|---|---|
| CN202110552792.3ACN115373533A (en) | 2021-05-20 | 2021-05-20 | Positional relationship detection method, device, electronic device and storage medium | 
| Application Number | Priority Date | Filing Date | Title | 
|---|---|---|---|
| CN202110552792.3ACN115373533A (en) | 2021-05-20 | 2021-05-20 | Positional relationship detection method, device, electronic device and storage medium | 
| Publication Number | Publication Date | 
|---|---|
| CN115373533Atrue CN115373533A (en) | 2022-11-22 | 
| Application Number | Title | Priority Date | Filing Date | 
|---|---|---|---|
| CN202110552792.3APendingCN115373533A (en) | 2021-05-20 | 2021-05-20 | Positional relationship detection method, device, electronic device and storage medium | 
| Country | Link | 
|---|---|
| CN (1) | CN115373533A (en) | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| CN105406195A (en)* | 2015-12-31 | 2016-03-16 | 联想(北京)有限公司 | Frequency adjusting method and electronic apparatus | 
| US20170033830A1 (en)* | 2015-07-30 | 2017-02-02 | Pulse Finland Oy | Sensor-based closed loop antenna swapping apparatus and methods | 
| CN107463289A (en)* | 2017-07-26 | 2017-12-12 | 广东欧珀移动通信有限公司 | A kind of calibration method of touch-screen, device, storage medium and terminal | 
| CN108415024A (en)* | 2018-01-24 | 2018-08-17 | 广东欧珀移动通信有限公司 | Proximity sensor calibration method and device, mobile terminal and computer readable medium | 
| CN108759892A (en)* | 2018-06-08 | 2018-11-06 | Oppo(重庆)智能科技有限公司 | Sensor calibrating method, electronic device and computer readable storage medium | 
| CN109104521A (en)* | 2018-06-21 | 2018-12-28 | Oppo广东移动通信有限公司 | Method and device for correcting approaching state, mobile terminal and storage medium | 
| CN111782079A (en)* | 2020-06-23 | 2020-10-16 | 北京集创北方科技股份有限公司 | A startup method, apparatus, electronic device and storage medium | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| US20170033830A1 (en)* | 2015-07-30 | 2017-02-02 | Pulse Finland Oy | Sensor-based closed loop antenna swapping apparatus and methods | 
| CN105406195A (en)* | 2015-12-31 | 2016-03-16 | 联想(北京)有限公司 | Frequency adjusting method and electronic apparatus | 
| CN107463289A (en)* | 2017-07-26 | 2017-12-12 | 广东欧珀移动通信有限公司 | A kind of calibration method of touch-screen, device, storage medium and terminal | 
| CN108415024A (en)* | 2018-01-24 | 2018-08-17 | 广东欧珀移动通信有限公司 | Proximity sensor calibration method and device, mobile terminal and computer readable medium | 
| CN108759892A (en)* | 2018-06-08 | 2018-11-06 | Oppo(重庆)智能科技有限公司 | Sensor calibrating method, electronic device and computer readable storage medium | 
| CN109104521A (en)* | 2018-06-21 | 2018-12-28 | Oppo广东移动通信有限公司 | Method and device for correcting approaching state, mobile terminal and storage medium | 
| CN111782079A (en)* | 2020-06-23 | 2020-10-16 | 北京集创北方科技股份有限公司 | A startup method, apparatus, electronic device and storage medium | 
| Title | 
|---|
| 王窕丽;孙玉国;: "基于MEMS传感器的姿态检测系统", 电子科技, no. 10, 15 October 2015 (2015-10-15)* | 
| Publication | Publication Date | Title | 
|---|---|---|
| US10498873B2 (en) | Screen control method, apparatus, and non-transitory tangible computer readable storage medium | |
| KR101712301B1 (en) | Method and device for shooting a picture | |
| CN106339168B (en) | Screen control method and device | |
| CN106550522A (en) | Illumination control method and device | |
| CN108769416B (en) | Screen-off display method and device and non-transitory computer-readable storage medium | |
| CN110262692B (en) | Touch screen scanning method, device and medium | |
| CN109522058B (en) | Wake-up method, device, terminal and storage medium | |
| CN106210336B (en) | Control the method and device of mobile terminal state switching | |
| US11228860B2 (en) | Terminal positioning method, apparatus, electronic device and storage medium | |
| CN105208510B (en) | The method and device of intelligent alarm | |
| CN107943347A (en) | Touch-screen control method and device | |
| KR20170083588A (en) | Threshold setting method and apparatus | |
| EP3758343B1 (en) | Method and device for controlling image acquisition component and storage medium | |
| CN107295190A (en) | Working mode switching method, device and protective case | |
| CN106886019B (en) | Distance detection method and device | |
| CN108735218A (en) | voice awakening method, device, terminal and storage medium | |
| CN115033121A (en) | Anti-mistouch method, device, equipment and storage medium | |
| CN107529699A (en) | Control method of electronic device and device | |
| CN112148149A (en) | Touch screen control method, touch screen control device and storage medium | |
| CN107340996A (en) | Screen lights method and device | |
| CN108011191A (en) | Antenna, terminal, the method and device for controlling antenna | |
| CN106058470A (en) | GPS (Global Positioning System) antenna device and control method | |
| CN115373533A (en) | Positional relationship detection method, device, electronic device and storage medium | |
| CN115950415A (en) | Method and device for determining navigation direction and storage medium | |
| CN107948876A (en) | Control the method, apparatus and medium of sound-box device | 
| 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 |