Movatterモバイル変換


[0]ホーム

URL:


CN112000270A - Method and device for dynamically adjusting false touch prevention area and electronic equipment - Google Patents

Method and device for dynamically adjusting false touch prevention area and electronic equipment
Download PDF

Info

Publication number
CN112000270A
CN112000270ACN202010742248.0ACN202010742248ACN112000270ACN 112000270 ACN112000270 ACN 112000270ACN 202010742248 ACN202010742248 ACN 202010742248ACN 112000270 ACN112000270 ACN 112000270A
Authority
CN
China
Prior art keywords
acceleration
area
mobile terminal
threshold
mistouch
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.)
Pending
Application number
CN202010742248.0A
Other languages
Chinese (zh)
Inventor
彭聪
高文俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co LtdfiledCriticalBeijing Xiaomi Mobile Software Co Ltd
Priority to CN202010742248.0ApriorityCriticalpatent/CN112000270A/en
Publication of CN112000270ApublicationCriticalpatent/CN112000270A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本公开是关于一种防误触区域动态调整方法、防误触区域动态调整装置、电子设备及计算机可读存储介质。其中防误触区域动态调整方法,应用于移动终端,移动终端包括触摸屏和加速度传感器,方法包括,获取加速度传感器输出的加速度数据;通过加速度数据判断移动终端当前是否出现突然的运动;若移动终端当前出现突然的运动,则增大位于触摸屏边缘的防误触区域的面积,其中,防误触区域内忽略触摸信号。通过检测移动终端运动状态,动态的调节防误触面积,可以有效的防止固定的防误触区域对正常用户操作的影响,同时灵活应对突发情况,防止突然运动导致的用户误触。

Figure 202010742248

The present disclosure relates to a dynamic adjustment method for an anti-mistouch area, a dynamic adjustment device for an anti-mistouch area, an electronic device and a computer-readable storage medium. The method for dynamically adjusting the anti-mistouch area is applied to a mobile terminal. The mobile terminal includes a touch screen and an acceleration sensor. The method includes: acquiring acceleration data output by the acceleration sensor; When a sudden movement occurs, the area of the false-touch prevention area located at the edge of the touch screen is increased, wherein the touch signal is ignored in the false-touch prevention area. By detecting the motion state of the mobile terminal and dynamically adjusting the anti-mistouch area, it can effectively prevent the impact of the fixed anti-mistouch area on normal user operations, and at the same time flexibly respond to emergencies and prevent users from mistouching caused by sudden movements.

Figure 202010742248

Description

Translated fromChinese
防误触区域动态调整方法和装置、以及电子设备Method and device for dynamic adjustment of false-touch prevention area, and electronic device

技术领域technical field

本公开涉及移动终端触摸屏控制领域,尤其涉及防误触区域动态调整方法、防误触区域动态调整装置、电子设备及计算机可读存储介质。The present disclosure relates to the field of touch screen control of a mobile terminal, and in particular, to a method for dynamically adjusting an anti-mistouch area, a device for dynamically adjusting an anti-mistouch area, an electronic device, and a computer-readable storage medium.

背景技术Background technique

目前智能移动终端普遍采用大面积触摸屏,触摸屏覆盖设备上表面绝大部分面积,尤其曲面屏使显示的内容进一步延展到移动终端侧面,极大地提升了设备在握持时的用户体验,因此越来越多的移动终端使用了该种触摸屏。然而,移动终端在单手握持的时候,边缘经常会发生误触的行为,如在一些情况下用户会无意识的增大触摸面积导致误触操作,影响用户正常的操作体验。At present, smart mobile terminals generally use large-area touch screens. The touch screen covers most of the upper surface of the device. In particular, the curved screen further extends the displayed content to the side of the mobile terminal, which greatly improves the user experience when holding the device. Therefore, more and more Many mobile terminals use this kind of touch screen. However, when the mobile terminal is held with one hand, the edge of the mobile terminal often has false touch behavior. For example, in some cases, the user may unintentionally increase the touch area, resulting in false touch operation, which affects the normal operation experience of the user.

发明内容SUMMARY OF THE INVENTION

为克服相关技术中存在的问题,本公开提供一种防误触区域动态调整方法、防误触区域动态调整装置、电子设备及计算机可读存储介质。In order to overcome the problems existing in the related art, the present disclosure provides a method for dynamically adjusting an anti-mistouch area, a dynamic adjusting device for an anti-mistouch area, an electronic device, and a computer-readable storage medium.

根据本公开实施例的第一方面,提供一种防误触区域动态调整方法,应用于移动终端,所述移动终端包括触摸屏和加速度传感器,方法包括:获取所述加速度传感器输出的加速度数据;通过所述加速度数据判断所述移动终端当前是否出现突然的运动;若所述移动终端当前出现突然的运动,则增大位于所述触摸屏边缘的所述防误触区域的面积,其中,所述防误触区域内忽略触摸信号。According to a first aspect of the embodiments of the present disclosure, there is provided a method for dynamically adjusting an anti-mistouch area, which is applied to a mobile terminal, where the mobile terminal includes a touch screen and an acceleration sensor. The method includes: acquiring acceleration data output by the acceleration sensor; The acceleration data judges whether the mobile terminal currently has a sudden movement; if the mobile terminal currently has a sudden movement, the area of the anti-mistouch area located at the edge of the touch screen is increased, wherein the anti-mistake The touch signal is ignored in the false touch area.

在一实施例中,所述加速度数据包括所述移动终端在三个维度的分加速度,包括x轴分加速度、y轴分加速度和z轴分加速度。In one embodiment, the acceleration data includes component accelerations of the mobile terminal in three dimensions, including an x-axis component acceleration, a y-axis component acceleration, and a z-axis component acceleration.

在一实施例中,所述通过所述加速度数据判断所述移动终端当前是否出现了突然的运动包括:若当前时刻任一维度的分加速度减去前一时刻相同维度的分加速度的差值大于第一阈值,或,若当前时刻总加速度减去前一时刻总加速度的差值大于第二阈值,则判定所述移动终端出现突然的运动;其中,所述总加速度为三个维度的分加速度的矢量和。In one embodiment, judging whether the mobile terminal is currently experiencing sudden movement by the acceleration data includes: if the difference between the component acceleration of any dimension at the current moment minus the component acceleration of the same dimension at the previous moment is greater than The first threshold, or, if the difference between the total acceleration at the current moment and the total acceleration at the previous moment is greater than the second threshold, it is determined that the mobile terminal has a sudden movement; wherein, the total acceleration is a three-dimensional sub-acceleration vector sum.

在一实施例中,所述通过所述加速度数据判断所述移动终端当前是否出现了突然的运动包括:若前一时刻任一维度的分加速度小于第三阈值且当前时刻相同维度的分加速度大于第四阈值,或,若前一时刻总加速度小于第五阈值且当前时刻总加速度大于第六阈值,则判定所述移动终端出现突然的运动;其中,所述总加速度为三个维度的分加速度的矢量和;所述第四阈值大于所述第三阈值,所述第六阈值大于所述第五阈值。In one embodiment, judging whether the mobile terminal has a sudden movement at present by the acceleration data includes: if the component acceleration of any dimension at the previous moment is less than a third threshold and the component acceleration of the same dimension at the current moment is greater than The fourth threshold, or, if the total acceleration at the previous moment is less than the fifth threshold and the total acceleration at the current moment is greater than the sixth threshold, it is determined that the mobile terminal has a sudden movement; wherein, the total acceleration is a three-dimensional sub-acceleration The vector sum of ; the fourth threshold is greater than the third threshold, and the sixth threshold is greater than the fifth threshold.

在一实施例中,所述增大位于所述触摸屏边缘的防误触区域的面积包括:将所述防误触区域向所述触摸屏中央方向扩大。In an embodiment, the increasing the area of the false-touch prevention area located at the edge of the touch screen includes: expanding the false-touch prevention area toward the center of the touch screen.

在一实施例中,所述获取所述加速度传感器输出的加速度数据之前,所述方法还包括:获取所述防误触区域的预设设置,其中,所述预设设置包括所述移动终端初始的设置或用户自定义的设置;若所述移动终端当前没有出现突然的运动,则根据所述预设设置,保持所述防误触区域。In an embodiment, before acquiring the acceleration data output by the acceleration sensor, the method further includes: acquiring a preset setting of the accidental touch prevention area, wherein the preset setting includes the initial setting of the mobile terminal. setting or user-defined setting; if there is no sudden movement of the mobile terminal at present, then according to the preset setting, the anti-mistouch area is maintained.

根据本公开实施例的第二方面,提供一种防误触区域动态调整装置,应用于移动终端,所述移动终端包括触摸屏和加速度传感器,装置包括:数据获取单元,用于获取所述加速度传感器输出的加速度数据;运动分析单元,用于通过所述加速度数据判断所述移动终端当前是否出现突然的运动;区域调整单元,用于在所述移动终端当前出现突然的运动时,增大位于所述触摸屏边缘的所述防误触区域的面积,其中,所述防误触区域内忽略触摸信号。According to a second aspect of the embodiments of the present disclosure, there is provided a device for dynamically adjusting a false-touch area, which is applied to a mobile terminal, where the mobile terminal includes a touch screen and an acceleration sensor, and the device includes: a data acquisition unit configured to acquire the acceleration sensor The output acceleration data; a motion analysis unit, used for judging whether the mobile terminal currently has a sudden motion through the acceleration data; a region adjustment unit, used for when the mobile terminal currently has a sudden motion, increase The area of the false-touch prevention area on the edge of the touch screen, wherein the touch signal is ignored in the false-touch prevention area.

在一实施例中,所述加速度数据包括所述移动终端在三个维度的分加速度,包括x轴分加速度、y轴分加速度和z轴分加速度。In one embodiment, the acceleration data includes component accelerations of the mobile terminal in three dimensions, including an x-axis component acceleration, a y-axis component acceleration, and a z-axis component acceleration.

在一实施例中,所述运动分析单元用于:若当前时刻任一维度的分加速度减去前一时刻相同维度的分加速度的差值大于第一阈值,或,若当前时刻总加速度减去前一时刻总加速度的差值大于第二阈值,则判定所述移动终端出现突然的运动;其中,所述总加速度为三个维度的分加速度的矢量和。In one embodiment, the motion analysis unit is configured to: if the difference between the component acceleration of any dimension at the current moment minus the component acceleration of the same dimension at the previous moment is greater than the first threshold, or, if the total acceleration at the current moment minus the If the difference between the total accelerations at the previous moment is greater than the second threshold, it is determined that the mobile terminal has a sudden movement; wherein, the total acceleration is the vector sum of the component accelerations in three dimensions.

在一实施例中,所述运动分析单元用于:若前一时刻任一维度的分加速度小于第三阈值且当前时刻相同维度的分加速度大于第四阈值,或,若前一时刻总加速度小于第五阈值且当前时刻总加速度大于第六阈值,则判定所述移动终端出现突然的运动;其中,所述总加速度为三个维度的分加速度的矢量和;所述第四阈值大于所述第三阈值,所述第六阈值大于所述第五阈值。In one embodiment, the motion analysis unit is used for: if the component acceleration of any dimension at the previous moment is less than the third threshold and the component acceleration of the same dimension at the current moment is greater than the fourth threshold, or, if the total acceleration at the previous moment is less than The fifth threshold value and the total acceleration at the current moment is greater than the sixth threshold value, then it is determined that the mobile terminal has a sudden movement; wherein, the total acceleration is the vector sum of the component accelerations in three dimensions; the fourth threshold value is greater than the third threshold value. Three thresholds, the sixth threshold is greater than the fifth threshold.

在一实施例中,所述区域调整单元用于:将所述防误触区域向所述触摸屏中央方向扩大。In an embodiment, the area adjustment unit is used for: expanding the anti-mistouch area toward the center of the touch screen.

在一实施例中,所述装置还包括:设置获取单元,用于获取所述防误触区域的预设设置,其中,所述预设设置包括所述移动终端初始的设置或用户自定义的设置;所述区域调整单元还用于:在所述移动终端当前没有出现突然的运动时,根据所述预设设置,保持所述防误触区域。In one embodiment, the device further includes: a setting acquisition unit, configured to acquire preset settings of the accidental-touch prevention area, wherein the preset settings include initial settings of the mobile terminal or user-defined settings. setting; the area adjustment unit is further configured to: maintain the anti-mistouch area according to the preset setting when there is no sudden movement of the mobile terminal currently.

根据本公开实施例的第三方面,提供一种电子设备,包括:存储器,用于存储指令;以及处理器,用于调用存储器存储的指令执行第一方面的防误触区域动态调整方法。According to a third aspect of the embodiments of the present disclosure, there is provided an electronic device, including: a memory for storing instructions; and a processor for invoking the instructions stored in the memory to execute the method for dynamically adjusting the accident prevention area of the first aspect.

根据本公开实施例的第四方面,提供一种计算机可读存储介质,存储有指令,指令被处理器执行时,执行第一方面的防误触区域动态调整方法。According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium storing instructions, and when the instructions are executed by a processor, the method for dynamically adjusting the false-touch prevention area of the first aspect is executed.

本公开的实施例提供的技术方案可以包括以下有益效果:通过检测移动终端运动状态,动态的调节防误触面积,可以有效的防止固定的防误触区域对正常用户操作的影响,同时灵活应对突发情况,防止突然运动导致的用户误触。The technical solutions provided by the embodiments of the present disclosure can include the following beneficial effects: by detecting the motion state of the mobile terminal and dynamically adjusting the anti-mistouch area, the impact of the fixed anti-mistouch area on normal user operations can be effectively prevented, and at the same time flexible response In emergencies, users can avoid accidental touches caused by sudden movements.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.

图1是根据一示例性实施例示出的一种防误触区域动态调整方法的流程示意图。FIG. 1 is a schematic flowchart of a method for dynamically adjusting a false-touch prevention area according to an exemplary embodiment.

图2是根据一示例性实施例示出的一种防误触区域动态调整方法的效果示意图。FIG. 2 is a schematic diagram illustrating the effect of a method for dynamically adjusting an anti-mistouch area according to an exemplary embodiment.

图3是根据一示例性实施例示出的一种防误触区域动态调整方法的效果示意图。FIG. 3 is a schematic diagram illustrating the effect of a method for dynamically adjusting an anti-mistouch area according to an exemplary embodiment.

图4是根据一示例性实施例示出的另一种防误触区域动态调整方法的流程示意图。FIG. 4 is a schematic flow chart of another method for dynamically adjusting an anti-mistouch area according to an exemplary embodiment.

图5是根据一示例性实施例示出的一种防误触区域动态调整装置的示意框图。Fig. 5 is a schematic block diagram of a device for dynamic adjustment of an anti-mistouch area according to an exemplary embodiment.

图6是根据一示例性实施例示出的另一种防误触区域动态调整装置的示意框图。Fig. 6 is a schematic block diagram of another device for dynamic adjustment of an anti-mistouch area according to an exemplary embodiment.

图7是根据一示例性实施例示出的一种装置的示意框图。Fig. 7 is a schematic block diagram of an apparatus according to an exemplary embodiment.

图8是根据一示例性实施例示出的一种电子装置的示意框图。Fig. 8 is a schematic block diagram of an electronic device according to an exemplary embodiment.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as recited in the appended claims.

本公开实施例提供一种防误触区域动态调整方法10,应用于移动终端,移动终端包括触摸屏和加速度传感器,移动终端为了防止用户的误触引起不必要的操作而设置有防误触区域,防误触区域一般设置于移动终端触摸屏的边缘,一般为靠近用户通过手握持的位置,尤其在曲面屏的移动终端中,曲面的触摸屏延伸至移动终端侧面,因此,触摸屏的侧部往往在锁屏或其他状态下设置为防误触区域,防误触区域内忽略触摸信号,即用户即使触碰触摸屏的防误触区域,也不会有任何响应。防误触区域是设备需要灵活地应对接收正常状态的用户操作和防止突然运动而导致的误触操作,移动终端可以是如手机等设备。为此,本公开实施例提供的防误触区域动态调整方法10,如图1所示,包括步骤S11-步骤S13:An embodiment of the present disclosure provides amethod 10 for dynamically adjusting an anti-mistouch area, which is applied to a mobile terminal. The mobile terminal includes a touch screen and an acceleration sensor. The mobile terminal is provided with an anti-mistouch area in order to prevent unnecessary operations caused by a user's mistouch. The anti-mistouch area is generally set at the edge of the touch screen of the mobile terminal, which is generally close to the position where the user holds the hand. Especially in the mobile terminal with a curved screen, the curved touch screen extends to the side of the mobile terminal. In the locked screen or other state, it is set as the anti-mistouch area, and the touch signal is ignored in the anti-mistouch area, that is, even if the user touches the anti-mistouch area of the touch screen, there will be no response. The anti-mistouch area is that the device needs to flexibly respond to receiving user operations in a normal state and prevent mistouch operations caused by sudden movements, and the mobile terminal may be a device such as a mobile phone. To this end, themethod 10 for dynamic adjustment of the anti-mistouch area provided by the embodiment of the present disclosure, as shown in FIG. 1 , includes steps S11 to S13:

步骤S11:获取加速度传感器输出的加速度数据。Step S11: Acquire acceleration data output by the acceleration sensor.

加速度传感器是一种能够测量加速度的传感器,能感受加速度并转换成可用输出信号。通常由质量块、阻尼器、弹性元件、敏感元件和适调电路等部分组成。加速度传感器在加速过程中,通过对质量块所受惯性力的测量,利用牛顿第二定律获得加速度值。根据加速度传感器敏感元件的不同,常见的加速度传感器包括电容式、电感式、应变式、压阻式、压电式等。加速度传感器的原理是牛顿第二定律,即加速度定律,也就是力的平衡,A(加速度)=F(惯性力)/M(质量),多数加速度传感器是根据压电效应的原理来工作的。所谓的压电效应就是“对于不存在对称中心的异极晶体加在晶体上的外力除了使晶体发生形变以外,还将改变晶体的极化状态,在晶体内部建立电场,这种由于机械力作用使介质发生极化的现象称为正压电效应”。加速度传感器就是利用了其内部的由于加速度造成的晶体变形这个特性。由于这个变形会产生电压,只要计算出产生电压和所施加的加速度之间的关系,就可以将加速度转化成电压输出。An accelerometer is a sensor that measures acceleration, senses it and converts it into a usable output signal. It is usually composed of mass blocks, dampers, elastic elements, sensitive elements and adaptive circuits. During the acceleration process, the acceleration sensor obtains the acceleration value by using Newton's second law by measuring the inertial force on the mass block. According to the different sensitive components of the acceleration sensor, common acceleration sensors include capacitive, inductive, strain, piezoresistive, piezoelectric and so on. The principle of the acceleration sensor is Newton's second law, that is, the law of acceleration, that is, the balance of forces, A (acceleration) = F (inertial force) / M (mass). Most acceleration sensors work according to the principle of piezoelectric effect. The so-called piezoelectric effect is "for a heteropolar crystal without a center of symmetry, the external force applied to the crystal will not only deform the crystal, but also change the polarization state of the crystal and establish an electric field inside the crystal. The phenomenon of polarizing a medium is called the positive piezoelectric effect". The accelerometer takes advantage of its internal crystal deformation caused by acceleration. Since this deformation generates a voltage, the acceleration can be converted into a voltage output by simply calculating the relationship between the generated voltage and the applied acceleration.

加速度传感器可以感知移动终端的运动状况,其持续输出每一时刻该设备在不同方向上的加速度值,在一实施例中,获取的加速度数据可以移动终端在三个维度的分加速度,即x轴分加速度、y轴分加速度和z轴分加速度,其中x轴分加速度可以对应于移动终端宽度方向,y轴分加速度可以对应于移动终端长度方向,z轴分加速度可以对应于移动终端的厚度方向。加速度数据可以存储在内存缓冲区或其他外部存储器中,按照时间先后顺序以队列或堆栈等逻辑结构排列,移动终端可以根据需要读取其中的数据,通过判断其大小变化,确定运动状况。The acceleration sensor can sense the motion status of the mobile terminal, and it continuously outputs the acceleration values of the device in different directions at each moment. In one embodiment, the acquired acceleration data can be the sub-acceleration of the mobile terminal in three dimensions, that is, the x-axis. Component acceleration, y-axis component acceleration, and z-axis component acceleration, where the x-axis component acceleration may correspond to the width direction of the mobile terminal, the y-axis component acceleration may correspond to the length direction of the mobile terminal, and the z-axis component acceleration may correspond to the thickness direction of the mobile terminal . Acceleration data can be stored in a memory buffer or other external memory, arranged in logical structures such as queues or stacks in chronological order, and the mobile terminal can read the data as needed, and determine the motion status by judging its size change.

步骤S12:通过加速度数据判断移动终端当前是否出现突然的运动。Step S12: Determine whether the mobile terminal is currently experiencing a sudden movement by using the acceleration data.

当移动终端突然晃动或剧烈抖动时,例如在公交车中,车速突然改变如急停或加速,加速度传感器输出的加速度数据将发生较大幅度的改变。读取加速度传感器输出的加速度数据,并对前后时刻的数据进行比较,从而检测移动终端是否突然从静止或平缓运动变为高速运动。When the mobile terminal suddenly shakes or shakes violently, for example, in a bus, the speed of the vehicle changes suddenly, such as sudden stop or acceleration, the acceleration data output by the acceleration sensor will change significantly. Read the acceleration data output by the acceleration sensor, and compare the data at the previous and previous times, so as to detect whether the mobile terminal suddenly changes from static or gentle motion to high-speed motion.

步骤S13:若移动终端当前出现突然的运动,则增大位于触摸屏边缘的防误触区域的面积。Step S13 : if the mobile terminal currently moves suddenly, the area of the anti-mistouch area located at the edge of the touch screen is increased.

当前移动终端越来越多采用大屏幕尤其是曲面屏来提升用户的操作体验。曲面屏幕是一种采用柔性塑料的显示屏,主要通过OLED面板来实现。相比直面屏幕,曲面屏幕弹性更好,不易破碎。用于移动终端时,曲面屏幕整体的弯曲设计有利于握持,和手心弧度贴合得更好,减少单手操作时大拇指触摸屏幕的距离,有助于提升大尺寸屏幕下横向跨屏操作的体验。曲线可以让手机持有者拥有更好的信息私密性,比如坐在旁边的人无法看到设备屏幕上显示的内容。大屏幕尤其是曲面屏幕的应用,一方面扩展了移动终端显示内容的区域,另一方面也使得几乎整个设备正面和侧面均处于可引发触摸操作的区域,用户很容易产生误操作,通常避免这种问题的做法是设备会预先设置一个防误触区域,处于屏幕边缘用户手掌或手指长时间握持和接触的位置。Currently, more and more mobile terminals use large screens, especially curved screens, to improve the user's operating experience. A curved screen is a display that uses flexible plastic and is mainly implemented through an OLED panel. Compared with the straight screen, the curved screen has better elasticity and is not easy to break. When used in mobile terminals, the overall curved design of the curved screen is conducive to holding, and fits better with the curvature of the palm of the hand, reducing the distance of the thumb touching the screen when operating with one hand, and helping to improve horizontal cross-screen operation under large-size screens. experience. Curves allow phone owners to have better information privacy, such as people sitting next to them not being able to see what's displayed on the device's screen. The application of large screens, especially curved screens, on the one hand, expands the area where the mobile terminal can display content, and on the other hand, makes almost the entire front and side of the device in the area that can trigger touch operations. Users are prone to misoperations, and this is usually avoided. The solution to this problem is that the device pre-sets an anti-mistouch area at the edge of the screen where the user's palm or fingers hold and touch for a long time.

当移动终端突然晃动或剧烈抖动时,用户会不由自主地紧紧握住移动终端,手掌或手指将触摸到屏幕边缘或屏幕更中间的部分,这将导致误触而产生不必要的操作,影响用户体验,虽然固定设置的防误触区域可以防止一部分误触,但也导致正常情况下该区域无法接收操作,并且在突发情况下,用户的误触面积将会增大,固定的防误触区域无法灵活应对。检测到移动终端突然运动状态后,移动终端增大防误触区域,可以灵活地防止此时用户应激反应而导致的误触操作,从而提升用户体验。When the mobile terminal suddenly shakes or shakes violently, the user will involuntarily hold the mobile terminal tightly, and the palm or fingers will touch the edge of the screen or the more middle part of the screen, which will lead to false touches and cause unnecessary operations and affect the user. Experience, although the fixed anti-mistouch area can prevent some mistouches, it also causes the area to fail to receive operations under normal circumstances, and in emergencies, the user's mistouch area will increase, and the fixed mistouch prevention Regions cannot respond flexibly. After detecting a sudden motion state of the mobile terminal, the mobile terminal increases the accidental touch prevention area, which can flexibly prevent accidental touch operations caused by the user's stress response at this time, thereby improving user experience.

在一实施例中,步骤S12可以包括:若当前时刻任一维度的分加速度减去前一时刻相同维度的分加速度的差值大于第一阈值,或,若当前时刻总加速度减去前一时刻总加速度的差值大于第二阈值,则判定移动终端出现突然的运动;其中,总加速度为三个维度的分加速度的矢量和。In one embodiment, step S12 may include: if the difference between the component acceleration of any dimension at the current moment minus the component acceleration of the same dimension at the previous moment is greater than the first threshold, or, if the total acceleration at the current moment is subtracted from the previous moment If the difference between the total accelerations is greater than the second threshold, it is determined that the mobile terminal has a sudden movement; wherein, the total acceleration is the vector sum of the component accelerations in three dimensions.

本实施例中,加速度的突然变化程度通过前后时刻的差值来判断,当差值大于第一阈值时即可认为此时移动终端发生了突然的运动。这种情况不仅仅考虑移动终端从静止出现突然运动,通过对每个维度的分加速度进行检测,可以在运动方向的突然改变也会引起防误触区域面积增大。In this embodiment, the sudden change degree of the acceleration is judged by the difference between the previous and the next time, and when the difference is greater than the first threshold, it can be considered that the mobile terminal has a sudden movement at this time. In this case, it is not only considered that the mobile terminal suddenly moves from being stationary, but by detecting the sub-acceleration of each dimension, the sudden change of the moving direction can also cause the area of the anti-mistouch area to increase.

在一实施例中,步骤S12可以包括:若前一时刻任一维度的分加速度小于第三阈值且当前时刻相同维度的分加速度大于第四阈值,或,若前一时刻总加速度小于第五阈值且当前时刻总加速度大于第六阈值,则判定移动终端出现突然的运动;其中,总加速度为三个维度的分加速度的矢量和;第四阈值大于第三阈值,第六阈值大于第五阈值。In one embodiment, step S12 may include: if the component acceleration of any dimension at the previous moment is less than the third threshold and the component acceleration of the same dimension at the current moment is greater than the fourth threshold, or, if the total acceleration at the previous moment is less than the fifth threshold And the total acceleration at the current moment is greater than the sixth threshold, it is determined that the mobile terminal has a sudden movement; wherein, the total acceleration is the vector sum of the component accelerations in three dimensions; the fourth threshold is greater than the third threshold, and the sixth threshold is greater than the fifth threshold.

本实施例中,加速度从较低值到较高值的短时间变化被用以确定发生突然运动。这种情况更侧重考虑用户在平稳地正常使用到突然发生运动的状态。In this embodiment, a short time change in acceleration from a lower value to a higher value is used to determine the occurrence of a sudden movement. In this case, it is more important to consider the state of the user from smooth and normal use to sudden movement.

在一实施例中,步骤S13可以包括:将防误触区域向触摸屏中央方向扩大。In an embodiment, step S13 may include: expanding the anti-mistouch area toward the center of the touch screen.

本实施例中,改变防误触区域面积可以通过改变区域形状来实现,将防误触区域从靠近边缘的地方向屏幕中央方向扩大,从而覆盖更多部分,甚至整个屏幕,从而减少用户的紧握和擦划等动作引起误操作的几率或完全避免误操作发生。In this embodiment, changing the area of the anti-mistouch area can be realized by changing the shape of the area, and expanding the anti-mistouch area from the place close to the edge to the center of the screen, so as to cover more parts or even the entire screen, thereby reducing the tension of the user. The probability of misoperation caused by actions such as grasping and swiping or completely avoiding the occurrence of misoperation.

如图2所示,移动终端的触摸屏11的边缘设置有防误触区域111,用户在正常情况下的握持通常只会触摸到边缘很小的部分,而当突发情况发生时,例如碰撞、骤停或加速等,用户会不自主地紧握手机,也可能发生手指偏滑等情况,这些均会造成更大范围的触摸,从而引起误操作,比如点开某个应用或者摁下某些操作按钮,有时会导致移动终端错误地发送信息、确认订单或打开很多应用程序,严重影响用户的操作,导致用户烦恼。As shown in FIG. 2 , the edge of thetouch screen 11 of the mobile terminal is provided with ananti-mistouch area 111 , and the user usually only touches a small part of the edge when holding it under normal circumstances, but when an emergency occurs, such as a collision , sudden stop or acceleration, etc., the user will involuntarily hold the phone tightly, or the fingers may slip, etc., which will cause a wider range of touches, resulting in misoperations, such as opening an app or pressing a certain These operation buttons sometimes cause the mobile terminal to incorrectly send information, confirm orders or open many applications, which seriously affects the user's operation and causes the user to be annoyed.

因此,如图3所示,通过上述实施例的方式,当检测到突发状况时,灵活地将防误触区域向触摸屏11中央方向扩大,扩大后的防误触区域112面积更大,此时用户因突发情况导致的握持面积增大或无意间触碰触摸屏11的情况下,通过防误触区域112面积的增大,可以避免误操作的发生。Therefore, as shown in FIG. 3 , when an emergency situation is detected, the false-touch prevention area is flexibly expanded toward the center of thetouch screen 11 , and the enlarged false-touch prevention area 112 has a larger area. When the user's grip area increases due to an emergency or touches thetouch screen 11 unintentionally, by increasing the area of the false-touch prevention area 112 , the occurrence of false operations can be avoided.

在一实施例中,如图4所示,防误触区域动态调整方法10在步骤S11之前,还可以包括:步骤S14:获取防误触区域的预设设置,其中,预设设置包括移动终端初始的设置或用户自定义的设置;防误触区域动态调整方法10还可以包括:步骤S15:若移动终端当前没有出现突然的运动,则根据预设设置,保持防误触区域。In one embodiment, as shown in FIG. 4 , before step S11 , themethod 10 for dynamically adjusting the accident prevention area may further include: Step S14 : acquiring preset settings of the accident prevention area, wherein the preset settings include the mobile terminal The initial setting or the user-defined setting; themethod 10 for dynamically adjusting the accident prevention area may further include: Step S15 : if the mobile terminal does not currently move suddenly, maintain the accident prevention area according to the preset settings.

本实施例中,触摸屏防误触区域的大小和形状可以在出厂时设置,用户也可以通过交互界面自定义设置相关参数,区域面积将根据用户需求被设置为对应的大小,动态调整区域面积是在误触区域的预设设置的基础上进行的。在用户正常使用或者从突然运动中恢复正常时,防误触区域保持初始水平,从而保证用户的正常使用。In this embodiment, the size and shape of the anti-mistouch area of the touch screen can be set at the factory, and the user can also customize the relevant parameters through the interactive interface. Based on the preset settings of the false touch area. When the user uses it normally or recovers from a sudden movement, the anti-mistouch area maintains the initial level, thereby ensuring the normal use of the user.

基于同一个发明构思,图5示出了一种防误触区域动态调整装置100,应用于移动终端,移动终端包括触摸屏和加速度传感器,防误触区域动态调整装置100包括:数据获取单元110,用于获取加速度传感器输出的加速度数据;运动分析单元120,用于通过加速度数据判断移动终端当前是否出现突然的运动;区域调整单元130,用于在移动终端当前出现突然的运动时,增大位于触摸屏边缘的防误触区域的面积,其中,防误触区域内忽略触摸信号。Based on the same inventive concept, FIG. 5 shows a device 100 for dynamically adjusting an area for preventing accidental touch, which is applied to a mobile terminal. The mobile terminal includes a touch screen and an acceleration sensor. The device 100 for dynamically adjusting an area for preventing accidental touch includes: a data acquisition unit 110, Used to obtain the acceleration data output by the acceleration sensor; the motion analysis unit 120 is used to judge whether the mobile terminal currently has a sudden movement through the acceleration data; the area adjustment unit 130 is used to increase the position at The area of the false-touch prevention area at the edge of the touch screen, where the touch signal is ignored in the false-touch prevention area.

在一实施例中,加速度数据包括移动终端在三个维度的分加速度,包括x轴分加速度、y轴分加速度和z轴分加速度。In one embodiment, the acceleration data includes component accelerations of the mobile terminal in three dimensions, including x-axis component acceleration, y-axis component acceleration, and z-axis component acceleration.

在一实施例中,运动分析单元120用于:若当前时刻任一维度的分加速度减去前一时刻相同维度的分加速度的差值大于第一阈值,或,若当前时刻总加速度减去前一时刻总加速度的差值大于第二阈值,则判定移动终端出现突然的运动;其中,总加速度为三个维度的分加速度的矢量和。In one embodiment, the motion analysis unit 120 is configured to: if the difference between the partial acceleration of any dimension at the current moment minus the partial acceleration of the same dimension at the previous moment is greater than the first threshold, or, if the total acceleration at the current moment minus the previous The difference between the total accelerations at a moment is greater than the second threshold, and it is determined that the mobile terminal has a sudden movement; wherein, the total acceleration is the vector sum of the component accelerations in three dimensions.

在一实施例中,运动分析单元120用于:若前一时刻任一维度的分加速度小于第三阈值且当前时刻相同维度的分加速度大于第四阈值,或,若前一时刻总加速度小于第五阈值且当前时刻总加速度大于第六阈值,则判定移动终端出现突然的运动;其中,总加速度为三个维度的分加速度的矢量和;第四阈值大于第三阈值,第六阈值大于第五阈值。In one embodiment, the motion analysis unit 120 is configured to: if the component acceleration of any dimension at the previous moment is less than the third threshold and the component acceleration of the same dimension at the current moment is greater than the fourth threshold, or, if the total acceleration at the previous moment is less than the third threshold Five thresholds and the total acceleration at the current moment is greater than the sixth threshold, it is determined that the mobile terminal has a sudden movement; wherein, the total acceleration is the vector sum of the component accelerations in three dimensions; the fourth threshold is greater than the third threshold, and the sixth threshold is greater than the fifth threshold threshold.

在一实施例中,区域调整单元130用于:将防误触区域向触摸屏中央方向扩大。In one embodiment, the area adjustment unit 130 is used for: expanding the anti-mistouch area toward the center of the touch screen.

在一实施例中,如图6所示,防误触区域动态调整装置100还包括:设置获取单元140,用于获取防误触区域的预设设置,其中,预设设置包括移动终端初始的设置或用户自定义的设置;区域调整单元130还用于:在移动终端当前没有出现突然的运动时,根据预设设置,保持防误触区域。In one embodiment, as shown in FIG. 6 , the device 100 for dynamic adjustment of the anti-mistouch area further includes: a setting acquisition unit 140 for acquiring preset settings of the anti-mistouch area, wherein the preset settings include the initial settings of the mobile terminal. Settings or user-defined settings; the area adjustment unit 130 is further configured to: maintain the anti-mistouch area according to preset settings when there is no sudden movement of the mobile terminal currently.

关于上述实施例中的防误触区域动态调整装置100,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the device 100 for dynamic adjustment of the anti-mistouch area in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be described in detail here.

图7是根据一示例性实施例示出的前述任一实施例装置的示意框图。例如,装置300可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 7 is a schematic block diagram of an apparatus according to any one of the foregoing embodiments according to an exemplary embodiment. For example,apparatus 300 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, and the like.

参照图7,装置300可以包括以下一个或多个组件:处理组件302,存储器304,电源组件306,多媒体组件308,音频组件310,输入/输出(I/O)的接口312,传感器组件314,以及通信组件316。7, theapparatus 300 may include one or more of the following components: aprocessing component 302, amemory 304, apower supply component 306, amultimedia component 308, anaudio component 310, an input/output (I/O)interface 312, asensor component 314, andcommunication component 316 .

处理组件302通常控制装置300的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件302可以包括一个或多个处理器320来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件302可以包括一个或多个模块,便于处理组件302和其他组件之间的交互。例如,处理组件302可以包括多媒体模块,以方便多媒体组件308和处理组件302之间的交互。Theprocessing component 302 generally controls the overall operation of thedevice 300, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. Theprocessing component 302 may include one ormore processors 320 to execute instructions to perform all or some of the steps of the methods described above. Additionally,processing component 302 may include one or more modules that facilitate interaction betweenprocessing component 302 and other components. For example,processing component 302 may include a multimedia module to facilitate interaction betweenmultimedia component 308 andprocessing component 302 .

存储器304被配置为存储各种类型的数据以支持在装置300的操作。这些数据的示例包括用于在装置300上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器304可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。Memory 304 is configured to store various types of data to support operations atdevice 300 . Examples of such data include instructions for any application or method operating ondevice 300, contact data, phonebook data, messages, pictures, videos, and the like.Memory 304 may be implemented by any type of volatile or nonvolatile storage device or combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

电源组件306为装置300的各种组件提供电力。电源组件306可以包括电源管理系统,一个或多个电源,及其他与为装置300生成、管理和分配电力相关联的组件。Power supply assembly 306 provides power to the various components ofdevice 300 .Power supply components 306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power todevice 300 .

多媒体组件308包括在所述装置300和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件308包括一个前置摄像头和/或后置摄像头。当装置300处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。Multimedia component 308 includes screens that provide an output interface between thedevice 300 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or swipe action, but also detect the duration and pressure associated with the touch or swipe action. In some embodiments, themultimedia component 308 includes a front-facing camera and/or a rear-facing camera. When theapparatus 300 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each of the front and rear cameras can be a fixed optical lens system or have focal length and optical zoom capability.

音频组件310被配置为输出和/或输入音频信号。例如,音频组件310包括一个麦克风(MIC),当装置300处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器304或经由通信组件316发送。在一些实施例中,音频组件310还包括一个扬声器,用于输出音频信号。Audio component 310 is configured to output and/or input audio signals. For example,audio component 310 includes a microphone (MIC) that is configured to receive external audio signals whendevice 300 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signal may be further stored inmemory 304 or transmitted viacommunication component 316 . In some embodiments,audio component 310 also includes a speaker for outputting audio signals.

I/O接口312为处理组件302和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 312 provides an interface between theprocessing component 302 and a peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to: home button, volume buttons, start button, and lock button.

传感器组件314包括一个或多个传感器,用于为装置300提供各个方面的状态评估。例如,传感器组件314可以检测到装置300的打开/关闭状态,组件的相对定位,例如所述组件为装置300的显示器和小键盘,传感器组件314还可以检测装置300或装置300一个组件的位置改变,用户与装置300接触的存在或不存在,装置300方位或加速/减速和装置300的温度变化。传感器组件314可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件314还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件314还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 314 includes one or more sensors for providing status assessment of various aspects ofdevice 300 . For example, thesensor assembly 314 can detect the open/closed state of thedevice 300, the relative positioning of components, such as the display and keypad of thedevice 300, and thesensor assembly 314 can also detect a change in the position of thedevice 300 or a component of thedevice 300 , the presence or absence of user contact with thedevice 300 , the orientation or acceleration/deceleration of thedevice 300 and the temperature change of thedevice 300 .Sensor assembly 314 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact.Sensor assembly 314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, thesensor assembly 314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

通信组件316被配置为便于装置300和其他设备之间有线或无线方式的通信。装置300可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件316经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件316还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。Communication component 316 is configured to facilitate wired or wireless communication betweenapparatus 300 and other devices.Device 300 may access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In one exemplary embodiment, thecommunication component 316 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, thecommunication component 316 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,装置300可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment,apparatus 300 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation is used to perform the above method.

在示例性实施例中,还提供了一种包括指令的计算机可读存储介质,例如包括指令的存储器304,上述指令可由装置300的处理器320执行以完成上述方法。例如,所述计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a computer-readable storage medium including instructions, such as amemory 304 including instructions, which are executable by theprocessor 320 of theapparatus 300 to perform the above-described method. For example, the computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

图8是根据一示例性实施例示出的一种电子装置400的框图。例如,装置400可以被提供为一服务器。参照图8,装置400包括处理组件422,其进一步包括一个或多个处理器,以及由存储器442所代表的存储器资源,用于存储可由处理组件422的执行的指令,例如应用程序。存储器442中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件422被配置为执行指令,以执行上述方法。FIG. 8 is a block diagram of anelectronic device 400 according to an exemplary embodiment. For example, theapparatus 400 may be provided as a server. 8,apparatus 400 includes aprocessing component 422, which further includes one or more processors, and a memory resource, represented bymemory 442, for storing instructions executable by processingcomponent 422, such as an application program. An application program stored inmemory 442 may include one or more modules, each corresponding to a set of instructions. Additionally, theprocessing component 422 is configured to execute instructions to perform the above-described methods.

装置400还可以包括一个电源组件426被配置为执行装置300的电源管理,一个有线或无线网络接口450被配置为将装置400连接到网络,和一个输入输出(I/O)接口458。装置400可以操作基于存储在存储器442的操作系统,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM或类似。Device 400 may also include apower supply assembly 426 configured to perform power management ofdevice 300 , a wired orwireless network interface 450 configured to connectdevice 400 to a network, and an input output (I/O)interface 458 .Device 400 may operate based on an operating system stored inmemory 442, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™ or the like.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求指出。Other embodiments of the invention will readily suggest themselves to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or conventional techniques in the art not disclosed by this disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the invention being indicated by the following claims.

应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。It should be understood that the present invention is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims (14)

Translated fromChinese
1.一种防误触区域动态调整方法,其特征在于,应用于移动终端,所述移动终端包括触摸屏和加速度传感器,所述方法包括:1. A method for dynamic adjustment of an anti-mistouch area, characterized in that it is applied to a mobile terminal, the mobile terminal comprising a touch screen and an acceleration sensor, the method comprising:获取所述加速度传感器输出的加速度数据;acquiring acceleration data output by the acceleration sensor;通过所述加速度数据判断所述移动终端当前是否出现突然的运动;Judging whether the mobile terminal currently has a sudden movement by the acceleration data;若所述移动终端当前出现突然的运动,则增大位于所述触摸屏边缘的所述防误触区域的面积,其中,所述防误触区域内忽略触摸信号。If the mobile terminal currently has a sudden movement, the area of the false-touch prevention area located at the edge of the touch screen is increased, wherein the touch signal is ignored in the false-touch prevention area.2.根据权利要求1所述的防误触区域动态调整方法,其特征在于,所述加速度数据包括所述移动终端在三个维度的分加速度,包括x轴分加速度、y轴分加速度和z轴分加速度。2 . The method for dynamically adjusting the anti-mistouch area according to claim 1 , wherein the acceleration data includes the component acceleration of the mobile terminal in three dimensions, including the x-axis component acceleration, the y-axis component acceleration and the z-axis component acceleration. 3 . Axial acceleration.3.根据权利要求2所述的防误触区域动态调整方法,其特征在于,所述通过所述加速度数据判断所述移动终端当前是否出现了突然的运动包括:3 . The method for dynamically adjusting the anti-mistouch area according to claim 2 , wherein the judging by the acceleration data whether a sudden movement currently occurs in the mobile terminal comprises: 3 .若当前时刻任一维度的分加速度减去前一时刻相同维度的分加速度的差值大于第一阈值,或,若当前时刻总加速度减去前一时刻总加速度的差值大于第二阈值,则判定所述移动终端出现突然的运动;其中,所述总加速度为三个维度的分加速度的矢量和。If the difference between the component acceleration of any dimension at the current moment minus the component acceleration of the same dimension at the previous moment is greater than the first threshold, or, if the difference between the total acceleration at the current moment minus the total acceleration at the previous moment is greater than the second threshold, then It is determined that a sudden movement occurs in the mobile terminal; wherein, the total acceleration is the vector sum of the component accelerations in three dimensions.4.根据权利要求2所述的防误触区域动态调整方法,其特征在于,所述通过所述加速度数据判断所述移动终端当前是否出现了突然的运动包括:4 . The method for dynamically adjusting the anti-mistouch area according to claim 2 , wherein the determining by the acceleration data whether a sudden movement currently occurs in the mobile terminal comprises: 5 .若前一时刻任一维度的分加速度小于第三阈值且当前时刻相同维度的分加速度大于第四阈值,或,若前一时刻总加速度小于第五阈值且当前时刻总加速度大于第六阈值,则判定所述移动终端出现突然的运动;其中,所述总加速度为三个维度的分加速度的矢量和;所述第四阈值大于所述第三阈值,所述第六阈值大于所述第五阈值。If the component acceleration of any dimension at the previous moment is less than the third threshold and the component acceleration of the same dimension at the current moment is greater than the fourth threshold, or, if the total acceleration at the previous moment is less than the fifth threshold and the total acceleration at the current moment is greater than the sixth threshold, then It is determined that a sudden movement occurs in the mobile terminal; wherein, the total acceleration is the vector sum of the component accelerations in three dimensions; the fourth threshold is greater than the third threshold, and the sixth threshold is greater than the fifth threshold .5.根据权利要求1所述的防误触区域动态调整方法,其特征在于,所述增大位于所述触摸屏边缘的防误触区域的面积包括:5 . The method for dynamically adjusting the false-touch prevention area according to claim 1 , wherein the increasing the area of the false-touch prevention area located at the edge of the touch screen comprises: 6 .将所述防误触区域向所述触摸屏中央方向扩大。The anti-mistouch area is expanded toward the center of the touch screen.6.根据权利要求1-5任一项所述的防误触区域动态调整方法,其特征在于,所述获取所述加速度传感器输出的加速度数据之前,所述方法还包括:6 . The method for dynamically adjusting a false-touch prevention area according to claim 1 , wherein, before acquiring the acceleration data output by the acceleration sensor, the method further comprises: 7 .获取所述防误触区域的预设设置,其中,所述预设设置包括所述移动终端初始的设置或用户自定义的设置;Acquiring preset settings of the accidental-touch prevention area, wherein the preset settings include initial settings of the mobile terminal or user-defined settings;若所述移动终端当前没有出现突然的运动,则根据所述预设设置,保持所述防误触区域。If there is no sudden movement of the mobile terminal at present, the accident prevention area is maintained according to the preset setting.7.一种防误触区域动态调整装置,其特征在于,应用于移动终端,所述移动终端包括触摸屏和加速度传感器,所述装置包括:7. An anti-mistouch area dynamic adjustment device, characterized in that it is applied to a mobile terminal, wherein the mobile terminal comprises a touch screen and an acceleration sensor, and the device comprises:数据获取单元,用于获取所述加速度传感器输出的加速度数据;a data acquisition unit for acquiring acceleration data output by the acceleration sensor;运动分析单元,用于通过所述加速度数据判断所述移动终端当前是否出现突然的运动;a motion analysis unit, configured to judge whether the mobile terminal currently has a sudden motion through the acceleration data;区域调整单元,用于在所述移动终端当前出现突然的运动时,增大位于所述触摸屏边缘的所述防误触区域的面积,其中,所述防误触区域内忽略触摸信号。an area adjustment unit, configured to increase the area of the false-touch prevention area located at the edge of the touch screen when the mobile terminal currently moves suddenly, wherein the touch signal is ignored in the false-touch prevention area.8.根据权利要求7所述的防误触区域动态调整装置,其特征在于,所述加速度数据包括所述移动终端在三个维度的分加速度,包括x轴分加速度、y轴分加速度和z轴分加速度。8 . The device for dynamic adjustment of an anti-mistouch area according to claim 7 , wherein the acceleration data comprises the component accelerations of the mobile terminal in three dimensions, including the x-axis component acceleration, the y-axis component acceleration and the z-axis component acceleration. 9 . Axial acceleration.9.根据权利要求8所述的防误触区域动态调整装置,其特征在于,所述运动分析单元用于:9. The device for dynamic adjustment of the anti-mistouch area according to claim 8, wherein the motion analysis unit is used for:若当前时刻任一维度的分加速度减去前一时刻相同维度的分加速度的差值大于第一阈值,或,若当前时刻总加速度减去前一时刻总加速度的差值大于第二阈值,则判定所述移动终端出现突然的运动;其中,所述总加速度为三个维度的分加速度的矢量和。If the difference between the component acceleration of any dimension at the current moment minus the component acceleration of the same dimension at the previous moment is greater than the first threshold, or, if the difference between the total acceleration at the current moment minus the total acceleration at the previous moment is greater than the second threshold, then It is determined that a sudden movement occurs in the mobile terminal; wherein, the total acceleration is the vector sum of the component accelerations in three dimensions.10.根据权利要求8所述的防误触区域动态调整装置,其特征在于,所述运动分析单元用于:10. The device for dynamic adjustment of the anti-mistouch area according to claim 8, wherein the motion analysis unit is used for:若前一时刻任一维度的分加速度小于第三阈值且当前时刻相同维度的分加速度大于第四阈值,或,若前一时刻总加速度小于第五阈值且当前时刻总加速度大于第六阈值,则判定所述移动终端出现突然的运动;其中,所述总加速度为三个维度的分加速度的矢量和;所述第四阈值大于所述第三阈值,所述第六阈值大于所述第五阈值。If the component acceleration of any dimension at the previous moment is less than the third threshold and the component acceleration of the same dimension at the current moment is greater than the fourth threshold, or, if the total acceleration at the previous moment is less than the fifth threshold and the total acceleration at the current moment is greater than the sixth threshold, then It is determined that a sudden movement occurs in the mobile terminal; wherein, the total acceleration is a vector sum of three-dimensional component accelerations; the fourth threshold is greater than the third threshold, and the sixth threshold is greater than the fifth threshold .11.根据权利要求7所述的防误触区域动态调整装置,其特征在于,所述区域调整单元用于:11. The device for dynamic adjustment of the anti-mistouch area according to claim 7, wherein the area adjustment unit is used for:将所述防误触区域向所述触摸屏中央方向扩大。The anti-mistouch area is expanded toward the center of the touch screen.12.根据权利要求7-11任一项所述的防误触区域动态调整装置,其特征在于,所述装置还包括:12. The device for dynamic adjustment of the anti-mistouch area according to any one of claims 7-11, wherein the device further comprises:设置获取单元,用于获取所述防误触区域的预设设置,其中,所述预设设置包括所述移动终端初始的设置或用户自定义的设置;a setting acquisition unit, configured to acquire preset settings of the accidental-touch prevention area, wherein the preset settings include initial settings of the mobile terminal or user-defined settings;所述区域调整单元还用于:在所述移动终端当前没有出现突然的运动时,根据所述预设设置,保持所述防误触区域。The area adjustment unit is further configured to maintain the accidental-touch prevention area according to the preset setting when there is no sudden movement of the mobile terminal currently.13.一种电子设备,其特征在于,包括:13. An electronic device, characterized in that, comprising:存储器,用于存储指令;以及memory for storing instructions; and处理器,用于调用所述存储器存储的指令执行如权利要求1-6中任一项所述的防误触区域动态调整方法。The processor is configured to invoke the instructions stored in the memory to execute the method for dynamically adjusting the false-touch prevention area according to any one of claims 1-6.14.一种计算机可读存储介质,其特征在于,存储有指令,所述指令被处理器执行时,执行如权利要求1-6中任一项所述的防误触区域动态调整方法。14 . A computer-readable storage medium, characterized in that it stores an instruction, and when the instruction is executed by a processor, the method for dynamically adjusting the false-touch prevention area according to any one of claims 1 to 6 is executed.
CN202010742248.0A2020-07-292020-07-29Method and device for dynamically adjusting false touch prevention area and electronic equipmentPendingCN112000270A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202010742248.0ACN112000270A (en)2020-07-292020-07-29Method and device for dynamically adjusting false touch prevention area and electronic equipment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202010742248.0ACN112000270A (en)2020-07-292020-07-29Method and device for dynamically adjusting false touch prevention area and electronic equipment

Publications (1)

Publication NumberPublication Date
CN112000270Atrue CN112000270A (en)2020-11-27

Family

ID=73462408

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010742248.0APendingCN112000270A (en)2020-07-292020-07-29Method and device for dynamically adjusting false touch prevention area and electronic equipment

Country Status (1)

CountryLink
CN (1)CN112000270A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113407104A (en)*2021-06-302021-09-17北京小米移动软件有限公司Touch detection method and device and storage medium
CN115033121A (en)*2021-02-202022-09-09北京小米移动软件有限公司 Anti-mistouch method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20130201117A1 (en)*2012-02-082013-08-08Acer IncorporatedMethod for processing touch signal and electronic device using the same
CN105162960A (en)*2015-08-042015-12-16努比亚技术有限公司Photographing device and method of frameless mobile terminal
CN105700709A (en)*2016-02-252016-06-22努比亚技术有限公司Mobile terminal and method for controlling untouchable area of mobile terminal
CN105955659A (en)*2016-06-242016-09-21维沃移动通信有限公司Determining method of response area of touch screen and mobile terminal
CN106453825A (en)*2016-09-052017-02-22努比亚技术有限公司Wrong-touch-prevention apparatus and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20130201117A1 (en)*2012-02-082013-08-08Acer IncorporatedMethod for processing touch signal and electronic device using the same
CN105162960A (en)*2015-08-042015-12-16努比亚技术有限公司Photographing device and method of frameless mobile terminal
CN105700709A (en)*2016-02-252016-06-22努比亚技术有限公司Mobile terminal and method for controlling untouchable area of mobile terminal
CN105955659A (en)*2016-06-242016-09-21维沃移动通信有限公司Determining method of response area of touch screen and mobile terminal
CN106453825A (en)*2016-09-052017-02-22努比亚技术有限公司Wrong-touch-prevention apparatus and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115033121A (en)*2021-02-202022-09-09北京小米移动软件有限公司 Anti-mistouch method, device, equipment and storage medium
CN113407104A (en)*2021-06-302021-09-17北京小米移动软件有限公司Touch detection method and device and storage medium

Similar Documents

PublicationPublication DateTitle
US10750007B2 (en)Method and device for preventing terminal from being inadvertently touched
EP3163404B1 (en)Method and device for preventing accidental touch of terminal with touch screen
US11199928B2 (en)Method and apparatus for preventing false touch on edge, and storage medium
US10162466B2 (en)Portable device and method of modifying touched position
WO2017177597A1 (en)Entity button assembly, terminal, touch control response method and apparatus
US8634872B2 (en)Mobile terminal for distinguishing an ear during a call and method thereof
CN107656682B (en) Mobile terminal and bending angle calculation method
CN106802741B (en)Method and device for determining screen edge touch event and mobile terminal
JP7413546B2 (en) Photography method and electronic equipment
CN107748648A (en)Prevent the method and terminal device of fingerprint sensor false triggering
CN112306147B (en) Flexible screen support structure, flexible screen structure and terminal equipment
CN112148149A (en)Touch screen control method, touch screen control device and storage medium
CN111104001B (en) A method, device, mobile terminal and storage medium for preventing accidental touch of screen
CN112000270A (en)Method and device for dynamically adjusting false touch prevention area and electronic equipment
WO2017088238A1 (en)Touch gesture determining method and device
CN110427149B (en) Terminal operation method and terminal
CN108777763A (en)A kind of photographic method and terminal device
US9996186B2 (en)Portable device and method for defining restricted area within touch panel
CN107908983A (en)A kind of method and mobile terminal for controlling mobile terminal screen
CN111246011A (en)Lifting type camera protection method and device and mobile terminal
CN109257489B (en)Display method and mobile terminal
CN113126796B (en)Touch sensitivity control method and device and storage medium
CN111176601B (en)Processing method and device
WO2021121178A1 (en)Application startup method and electronic device
CN107995413B (en) A kind of photographing control method and mobile terminal

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination

[8]ページ先頭

©2009-2025 Movatter.jp