Movatterモバイル変換


[0]ホーム

URL:


CN106598249A - A method, device and mobile terminal for preventing false touch of a touch button - Google Patents

A method, device and mobile terminal for preventing false touch of a touch button
Download PDF

Info

Publication number
CN106598249A
CN106598249ACN201611173923.2ACN201611173923ACN106598249ACN 106598249 ACN106598249 ACN 106598249ACN 201611173923 ACN201611173923 ACN 201611173923ACN 106598249 ACN106598249 ACN 106598249A
Authority
CN
China
Prior art keywords
touch
key
terminal
button
mode
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
CN201611173923.2A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201611173923.2ApriorityCriticalpatent/CN106598249A/en
Publication of CN106598249ApublicationCriticalpatent/CN106598249A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The embodiment of the invention discloses a method and a device for preventing mistaken touch of a touch key and a mobile terminal, and relates to the technical field of touch control. Judging whether to start a key false touch prevention mode according to screen direction information of the terminal and/or information of currently running application software; when the key false touch prevention mode is started, adjusting response conditions of touch operation on the touch keys; and when the touch operation on the touch key is detected, matching the operation information of the touch operation with the adjusted response condition, and determining whether to shield the touch operation according to a matching result. The embodiment of the invention solves the problem that the false touch event of the key is frequently generated because the touch key replaces the entity key, achieves the purpose of preventing the false touch of the touch key on the basis of not increasing or replacing components of the mobile terminal, and improves the management efficiency of the mobile terminal.

Description

Translated fromChinese
一种触摸按键的防误触方法、装置及移动终端A method, device and mobile terminal for preventing false touch of a touch button

技术领域technical field

本发明实施例涉及触控技术领域,尤其涉及一种触摸按键的防误触方法、装置及移动终端。Embodiments of the present invention relate to the field of touch technology, and in particular, to a method, device and mobile terminal for preventing false touches of touch keys.

背景技术Background technique

随着科技的发展,移动终端成为集通信和娱乐为一体的电子设备。为了提供更好的感官效果,移动终端触摸屏的尺寸也愈来愈大,并且移动终端往窄边框或无边框方向发展。With the development of science and technology, mobile terminals have become electronic devices integrating communication and entertainment. In order to provide a better sensory effect, the size of the touch screen of the mobile terminal is also getting larger and larger, and the mobile terminal is developing towards a direction of narrow frame or no frame.

伴随着移动终端触摸屏的尺寸的增大,实体按键的数量逐渐减少。目前安卓(Android)系统支持菜单键(menu)、主页键(Home)、返回键(back)三种虚拟按键,相应地,搭载安卓系统的大多数移动终端具有上述虚拟按键。部分厂商为了指纹的输入,还类似苹果手机保留了Home按键为实体按键。然而,一键锁屏应用的流行代表了大众的选择方向,触摸按键必将取代实体按键成为主流,例如,将指纹Home按键做成不可按下的触摸按键。With the increase of the size of the touch screen of the mobile terminal, the number of physical keys is gradually reduced. Currently, the Android system supports three virtual keys: a menu key (menu), a home key (Home), and a return key (back). Correspondingly, most mobile terminals equipped with the Android system have the above-mentioned virtual keys. For the input of fingerprints, some manufacturers also retain the Home button as a physical button similar to Apple mobile phones. However, the popularity of one-key lock screen applications represents the direction of choice for the public, and touch buttons will replace physical buttons and become the mainstream. For example, the fingerprint Home button is made into a touch button that cannot be pressed.

但是,触摸按键替代实体按键很容易发生误触摸的问题,为用户的正常使用造成不便。例如,用户在玩游戏时,特别是一些横屏游戏,触摸按键就在用户握持移动终端的位置,非常容易误触按键导致切换出游戏画面,从而,影响用户正常使用。However, the replacement of physical buttons by touch buttons is prone to the problem of false touch, which causes inconvenience to the normal use of the user. For example, when a user is playing a game, especially some horizontal-screen games, the touch button is at the position where the user holds the mobile terminal. It is very easy to touch the button by mistake and switch out of the game screen, thereby affecting the normal use of the user.

发明内容Contents of the invention

本发明实施例提供一种触摸按键的防误触方法、装置及移动终端,以实现触摸按键防误触。Embodiments of the present invention provide a method, device, and mobile terminal for preventing false touches of touch keys, so as to prevent false touches of touch keys.

第一方面,本发明实施例提供了一种触摸按键的防误触方法,包括:In the first aspect, an embodiment of the present invention provides a method for preventing false touch of a touch key, including:

根据终端的屏幕方向信息和/或当前运行的应用软件信息判断是否开启按键防误触模式;According to the screen orientation information of the terminal and/or the information of the currently running application software, it is judged whether to enable the key anti-mistouch mode;

在开启所述按键防误触模式时,调整对触摸按键的触摸操作的响应条件;When the button mis-touch prevention mode is turned on, adjust the response condition to the touch operation of the touch button;

在检测到对所述触摸按键的触摸操作时,将所述触摸操作的操作信息与调整后的所述响应条件进行匹配,根据匹配结果确定是否屏蔽所述触摸操作。When a touch operation on the touch key is detected, match the operation information of the touch operation with the adjusted response condition, and determine whether to shield the touch operation according to the matching result.

第二方面,本发明实施例还提供了一种触摸按键的防误触装置,该装置包括:In the second aspect, the embodiment of the present invention also provides an anti-mistouch device for touch keys, the device comprising:

模式判断模块,用于根据终端的屏幕方向信息和/或当前运行的应用软件信息判断是否开启按键防误触模式;The mode judging module is used for judging whether to open the button anti-mistouch mode according to the screen orientation information of the terminal and/or the application software information currently running;

条件调整模块,用于在开启所述按键防误触模式时,调整对触摸按键的触摸操作的响应条件;The condition adjustment module is used to adjust the response condition to the touch operation of the touch key when the key anti-mistouch mode is turned on;

操作匹配模块,用于在检测到对所述触摸按键的触摸操作时,将所述触摸操作的操作信息与调整后的所述响应条件进行匹配,根据匹配结果确定是否屏蔽所述触摸操作。An operation matching module, configured to match the operation information of the touch operation with the adjusted response condition when a touch operation on the touch key is detected, and determine whether to shield the touch operation according to the matching result.

第三方面,本发明实施例还提供了一种移动终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现以下步骤:In the third aspect, the embodiment of the present invention also provides a mobile terminal, including a memory, a processor, and a computer program stored on the memory and operable on the processor, and the processor implements the following steps when executing the computer program :

根据终端的屏幕方向信息和/或当前运行的应用软件信息判断是否开启按键防误触模式;According to the screen orientation information of the terminal and/or the information of the currently running application software, it is judged whether to enable the key anti-mistouch mode;

在开启所述按键防误触模式时,调整对触摸按键的触摸操作的响应条件;When the button mis-touch prevention mode is turned on, adjust the response condition to the touch operation of the touch button;

在检测到对所述触摸按键的触摸操作时,将所述触摸操作的操作信息与调整后的所述响应条件进行匹配,根据匹配结果确定是否屏蔽所述触摸操作。When a touch operation on the touch key is detected, match the operation information of the touch operation with the adjusted response condition, and determine whether to shield the touch operation according to the matching result.

本发明实施例提供了触摸按键防误触的方案,根据终端的屏幕方向信息和/或当前运行的应用软件信息判断是否开启按键防误触模式;在开启按键防误触模式时,调整对触摸按键的触摸操作的响应条件;在检测到对所述触摸按键的触摸操作时,将所述触摸操作的操作信息与调整后的所述响应条件进行匹配,根据匹配结果确定是否屏蔽所述触摸操作,实现在观看视频或玩游戏等用户容易误触移动终端的触摸按键的场景中,调整对触摸按键的触摸操作的响应条件,防止用户误触触摸按键而轻易切换出当前界面。本发明实施例解决触摸按键代替实体按键导致按键误触事件频发的问题,实现在不增加或者更换移动终端元器件的基础上,达到触摸按键防误触的目的,提高移动终端的管理效率。The embodiment of the present invention provides a touch key anti-mistouch solution, which judges whether to enable the key anti-mis-touch mode according to the screen orientation information of the terminal and/or the information of the currently running application software; The response condition of the touch operation of the button; when the touch operation of the touch button is detected, match the operation information of the touch operation with the adjusted response condition, and determine whether to shield the touch operation according to the matching result , to adjust the response conditions to the touch operation of the touch button in scenes where the user is likely to accidentally touch the touch button of the mobile terminal, such as watching a video or playing a game, so as to prevent the user from easily switching out of the current interface by accidentally touching the touch button. The embodiment of the present invention solves the problem of frequent accidental button touches caused by touch buttons instead of physical buttons, realizes the purpose of preventing false touches of touch buttons without adding or replacing mobile terminal components, and improves the management efficiency of mobile terminals.

附图说明Description of drawings

图1是本发明实施例提供的一种触摸按键的防误触方法的流程图;FIG. 1 is a flow chart of a method for preventing false touch of a touch button provided by an embodiment of the present invention;

图2是本发明实施例提供的一种移动终端触摸屏的示意图;FIG. 2 is a schematic diagram of a touch screen of a mobile terminal provided by an embodiment of the present invention;

图3是本发明实施例提供的又一种触摸按键的防误触方法的流程图;Fig. 3 is a flow chart of another method for preventing false touch of a touch button provided by an embodiment of the present invention;

图4是本发明实施例提供的另一种触摸按键的防误触方法的流程图;Fig. 4 is a flow chart of another method for preventing false touch of a touch button provided by an embodiment of the present invention;

图5是本发明实施例提供的一种触摸按键的防误触装置的结构示意图;Fig. 5 is a schematic structural diagram of a touch button anti-mistouch device provided by an embodiment of the present invention;

图6是本发明实施例提供的一种移动终端的结构示意图。Fig. 6 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present invention.

具体实施方式detailed description

下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.

在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各步骤描述成顺序的处理,但是其中的许多步骤可以被并行地、并发地或者同时实施。此外,各步骤的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe the steps as sequential processing, many of the steps may be performed in parallel, concurrently, or simultaneously. Additionally, the order of steps may be rearranged. The process may be terminated when its operations are complete, but may also have additional steps not included in the figure. The processing may correspond to a method, function, procedure, subroutine, subroutine, or the like.

图1为本发明实施例提供的一种触摸按键的防误触方法的流程图,该方法可以由触摸按键的防误触装置来执行,其中该装置可由软件和/或硬件实现,一般可集成在移动终端中。如图1所示,该方法包括如下步骤:Fig. 1 is a flow chart of a method for preventing false touches of touch keys provided by an embodiment of the present invention. The method can be executed by a device for preventing false touches of touch keys. in the mobile terminal. As shown in Figure 1, the method includes the following steps:

步骤110、根据终端的屏幕方向信息和/或当前运行的应用软件信息判断是否开启按键防误触模式。Step 110 , judging whether to enable the key mis-touch prevention mode according to the screen orientation information of the terminal and/or the information of the currently running application software.

其中,对于智能手机、掌上游戏机、人数字助手及平板电脑等集成有触摸屏的终端,优选为采用窄边框或者无边框设计的移动终端,其采用的触摸屏包括电阻式触摸屏、电容式触摸屏和压电式触摸屏等。随着触摸屏的普及,触摸按键也替代实体按键(物理按键)实现获取用户输入操作的功能。触摸按键包括触摸屏的触摸按键区域内的菜单键(menu)、主页键(Home)、返回键(back)等按键,其包括电容式、电阻式或压电式触摸按键。触摸按键可以与触摸屏的显示区域制备于同一触摸屏上。触摸按键对应的触摸按键区域区别于显示区域之处在于触摸按键附近设驱动线和扫描线,在触摸按键之间以及触摸按键与移 动终端边框之间的空白部分不设置驱动线和扫描线。从而,实现响应触摸按键的触摸操作,并且该空白部分的触摸操作不被响应。其中,触摸按键区域包括触摸按键、触摸按键之间的空白部分以及触摸按键与移动终端边框之间的空白部分。Among them, for terminals integrated with touch screens such as smart phones, handheld game consoles, digital assistants, and tablet computers, mobile terminals with narrow frame or frameless designs are preferred, and the touch screens used include resistive touch screens, capacitive touch screens, and pressure Electric touch screen, etc. With the popularization of touch screens, touch buttons also replace physical buttons (physical buttons) to realize the function of obtaining user input operations. The touch keys include keys such as a menu key (menu), a home key (Home), and a return key (back) in the touch key area of the touch screen, which include capacitive, resistive or piezoelectric touch keys. The touch key and the display area of the touch screen can be prepared on the same touch screen. The touch button area corresponding to the touch button is different from the display area in that driving lines and scanning lines are set near the touch buttons, and no driving lines and scanning lines are set between the touch buttons and the blank part between the touch buttons and the mobile terminal frame. Therefore, the touch operation of the touch button is responded to, and the touch operation of the blank part is not responded. Wherein, the touch button area includes touch buttons, blank parts between the touch buttons, and blank parts between the touch buttons and the frame of the mobile terminal.

当用户触碰触摸屏时,触摸屏会检测到触摸信息,进而识别出用户的触摸操作。例如,用户对触摸按键区域内的返回键执行触摸操作时,移动终端响应该触摸操作,执行返回当前界面的上一级界面的操作。然而,在用户玩游戏时,尤其是一些横屏游戏,用户往往是两手握持移动终端,这种握持姿势很容易误触返回键,如图2示出的一种移动终端触摸屏的示意图,移动终端的触摸屏201的一端设有菜单键202、主页键203以及返回键204。用户在握持移动终端时,手掌可能误触返回键204。为了避免误触到触摸按键而影响正常操作,移动终端上增设按键防误触模式。When the user touches the touch screen, the touch screen will detect the touch information, and then recognize the user's touch operation. For example, when the user performs a touch operation on the return key in the touch key area, the mobile terminal responds to the touch operation and performs an operation of returning to the upper-level interface of the current interface. However, when a user plays a game, especially some horizontal-screen games, the user often holds the mobile terminal with both hands. This holding posture is easy to touch the return key by mistake, as shown in FIG. 2 , a schematic diagram of a touch screen of a mobile terminal. One end of the touch screen 201 of the mobile terminal is provided with a menu key 202 , a home key 203 and a return key 204 . When the user is holding the mobile terminal, the palm of the user may accidentally touch the return key 204 . In order to avoid touching the touch keys by mistake and affecting the normal operation, a key anti-mistouch mode is added on the mobile terminal.

可以理解的是,触摸按键还可以有其它的设置方式,图2仅作为示意性说明。图2中在触摸屏显示区域外的一侧设置触摸按键区域,触摸按键区域包括触摸按键,且触摸按键分别为菜单键202、主页键203以及返回键204。可选的,还可以在触摸屏显示区域外的两侧分别设置触摸按键区域。还可以将主页键203设置于触摸屏显示区域外的一侧,菜单键202和返回键204以虚拟按键的形式显示于触摸屏显示区域内等。It can be understood that the touch keys can also be arranged in other manners, and FIG. 2 is only used as a schematic illustration. In FIG. 2 , a touch key area is set on a side outside the display area of the touch screen. The touch key area includes touch keys, and the touch keys are a menu key 202 , a home key 203 and a return key 204 . Optionally, touch button areas can also be respectively set on both sides outside the display area of the touch screen. The home key 203 can also be arranged on a side outside the display area of the touch screen, and the menu key 202 and the return key 204 can be displayed in the display area of the touch screen in the form of virtual keys.

按键防误触模式是对触摸按键的触摸操作的响应条件进行调整,采用调整后的响应条件判断对触摸按键的触摸操作对应的触控点是否上报的防误触机制。即,在按键防误触模式下,对于作用于触摸按键上的触摸操作,在其满足调整后的响应条件时,才能被响应。其中,该响应条件包括对触摸按键的长按或双击动作,触摸按键与物理按键进行组合,或者触摸按键与触摸屏上设定位置进行组合。示例性的,所述调整后的响应条件包括对触摸按键的长按或双击动作;或者,在检测到触摸按键的触摸操作后的设定时间长度内,检测到设定物理按键的触摸操作或触摸屏设定位置的触摸操作中的至少一种。The key anti-mistouch mode is an anti-mistouch mechanism that adjusts the response condition of the touch operation of the touch button, and uses the adjusted response condition to judge whether the touch point corresponding to the touch operation of the touch button is reported. That is, in the key mis-touch prevention mode, the touch operation on the touch key can be responded only when it satisfies the adjusted response condition. Wherein, the response condition includes a long-press or double-click action on the touch key, a combination of the touch key and a physical key, or a combination of the touch key and a set position on the touch screen. Exemplarily, the adjusted response condition includes a long press or double-tap action on the touch button; or, within a set time period after the touch operation of the touch button is detected, the touch operation of the set physical button is detected or At least one of the touch operations for setting the position on the touch screen.

终端的屏幕方向信息标识当前终端界面的显示方向,例如,当前终端界面的显示方向是横向,或者当前终端界面的显示方向是竖向。获取终端的屏幕方向信息的方式有多种,本实施例不作具体限定。例如,在终端系统为安卓系统时,可以通过安卓标准接口获取该终端的屏幕方向信息。具体的,可以通过 getConfiguration()获取当前终端屏幕方向是横屏或竖屏。又如,根据重力传感器的检测数据确定该终端的屏幕方向信息。示例性的,在重力传感器采集的检测数据为(x,y,z)=(0,0,-9.81)时,表示移动终端屏幕向上水平放置。在在重力传感器采集的检测数据为(x,y,z)=(0,0,0)时,表示移动终端屏幕竖直放置。在重力传感器采集的检测数据为(x,y,z)=(0,0,9.81)时,表示移动终端屏幕向下水平放置。系统默认情况下,当y轴坐标变为-5时,移动终端显示界面切换为竖屏;当x轴坐标变为-5时,移动终端显示界面切换为横屏。本实施例中设定终端的屏幕方向为横屏时,开启按键防误触模式。The screen orientation information of the terminal identifies the display orientation of the current terminal interface, for example, the current display orientation of the terminal interface is horizontal, or the current display orientation of the terminal interface is vertical. There are many ways to acquire the screen orientation information of the terminal, which are not specifically limited in this embodiment. For example, when the terminal system is an Android system, the screen orientation information of the terminal can be obtained through an Android standard interface. Specifically, you can use getConfiguration() to get whether the current terminal screen orientation is landscape or portrait. In another example, the screen orientation information of the terminal is determined according to the detection data of the gravity sensor. Exemplarily, when the detection data collected by the gravity sensor is (x, y, z)=(0, 0, -9.81), it means that the screen of the mobile terminal is placed upwards and horizontally. When the detection data collected by the gravity sensor is (x, y, z)=(0, 0, 0), it means that the screen of the mobile terminal is placed vertically. When the detection data collected by the gravity sensor is (x, y, z)=(0, 0, 9.81), it means that the screen of the mobile terminal is placed horizontally downward. By default, when the y-axis coordinate changes to -5, the mobile terminal display interface switches to a vertical screen; when the x-axis coordinate changes to -5, the mobile terminal display interface switches to a horizontal screen. In this embodiment, when the screen orientation of the terminal is set to be landscape, the anti-mistouch key mode is enabled.

当前运行的应用软件信息包括当前运行的应用软件的标识信息,例如软件标识或其它可以唯一标识应用软件的信息。本实施例中设定终端当前运行的应用软件属于预设白名单中时,开启按键防误触模式。其中,预设白名单是根据实际需求被配置某些权限的应用软件的集合。预设白名单中的应用软件可以是调研用户群体正常使用应用软件过程中,获取非正常中断(可以是检测到退出界面与进入界面的时间间隔小于设定时间阈值,或者检测到非正常中断频率超过设定频率阈值)上报信息。通过对非正常中断上报信息的统计分析,确定频繁发生非正常中断的应用软件,根据非正常终端发生频率超过设定频率阈值的应用软件确定预设白名单。在移动终端出厂前,将所确定的预设报名单配置于移动终端内。可以理解的是,预设白名单的方式可以由很多种,并不限于本实施例中列举的方式。例如,在应用软件安装完成时,提示用户是否将该应用软件添加至预设白名单。又如,获取用户在使用某一应用软件的过程中发生非正常中断的上报信息,对于同一应用软件对应的上报信息进行统计分析,确定非正常中断频率超过设定频率阈值的应用软件添加入预设白名单。然后,通过网络定期向移动终端推送预设白名单,以实时更新移动终端上的预设白名单。The currently running application software information includes identification information of the currently running application software, such as a software identifier or other information that can uniquely identify the application software. In this embodiment, it is set that when the application software currently running on the terminal belongs to the preset white list, the button mis-touch prevention mode is turned on. Wherein, the preset white list is a collection of application software configured with certain permissions according to actual needs. The application software in the preset white list can obtain abnormal interruption during the normal use of the application software by the research user group (it can be detected that the time interval between exiting the interface and entering the interface is less than the set time threshold, or detecting abnormal interruption frequency Exceeds the set frequency threshold) to report information. Through the statistical analysis of the reported information of abnormal interruptions, the application software with frequent abnormal interruptions is determined, and the preset white list is determined according to the application software whose occurrence frequency of abnormal terminals exceeds the set frequency threshold. Before the mobile terminal leaves the factory, the determined preset registration list is configured in the mobile terminal. It can be understood that there may be many manners of presetting the whitelist, and are not limited to the manners listed in this embodiment. For example, when the application software is installed, the user is prompted whether to add the application software to the preset white list. Another example is to obtain the reported information of abnormal interruptions that occur during the use of a certain application software by the user, conduct statistical analysis on the reported information corresponding to the same application software, and add the application software whose abnormal interruption frequency exceeds the set frequency threshold to the preset Set up a whitelist. Then, the preset white list is regularly pushed to the mobile terminal through the network, so as to update the preset white list on the mobile terminal in real time.

步骤120、在开启所述按键防误触模式时,调整对触摸按键的触摸操作的响应条件。Step 120 , when the key mis-touch prevention mode is turned on, adjust the response condition to the touch operation of the touch key.

通常情况下,对触摸按键的触摸操作的响应条件是单击触摸按键,响应该单击操作,执行触摸按键对应的功能。然而,在该按键防误触模式开启后,对触摸按键的触摸操作的响应条件进行调整,以在检测到满足调整后的响应条件的触摸操作时,响应触摸操作对应的触摸按键的功能。示例性的,调整后的响应条件可以是对触摸按键的长按或双击动作,还可以是在检测到触摸按键的触 摸操作后的设定时间长度内,检测到设定物理按键的触摸操作或触摸屏设定位置的触摸操作中的至少一种。Usually, the response condition to the touch operation of the touch button is to click the touch button, and in response to the click operation, the function corresponding to the touch button is executed. However, after the key mistouch prevention mode is turned on, the response condition of the touch operation of the touch key is adjusted, so that when a touch operation meeting the adjusted response condition is detected, the function of the touch key corresponding to the touch operation is responded. Exemplarily, the adjusted response condition may be a long-press or double-tap action on the touch button, or a touch operation of a set physical button is detected within a set period of time after the touch operation of the touch button is detected or At least one of the touch operations for setting the position on the touch screen.

步骤130、在检测到对所述触摸按键的触摸操作时,将所述触摸操作的操作信息与调整后的所述响应条件进行匹配,根据匹配结果确定是否屏蔽所述触摸操作。Step 130: When a touch operation on the touch key is detected, match the operation information of the touch operation with the adjusted response condition, and determine whether to block the touch operation according to the matching result.

以电容式触摸屏为例,其通过感应人体触摸所产生的电容变化而判断触摸点。其具有两组信号线:驱动线与感应线,驱动线发射信号,感应线侦测电容值的变化。当手指触摸在金属层上时,由于人体电场的存在,手指和触摸屏表面形成一个耦合电容,对于高频电流来说,电容是直接导体,于是手指从接触点吸走一个很小的电流。影响了触摸点附近两个电极之间的耦合,从而改变了这两个电极之间的电容量。检测互电容大小时,驱动线方向的电极依次发出激励信号,感应线方向的所有电极同时接收信号,这样可以得到所有横向和纵向电极交汇点的电容值的变化,即整个触摸屏的二维平面的电容大小。根据触摸屏二维电容变化量数据,可以计算出每一个触摸点的坐标。根据触摸点附近的两个电极之间的电容量的变化确定对于触摸点的触摸操作是按下操作、抬起操作或滑动操作。在确定当前触摸操作为按下操作时,触发按下事件(ACTION_DOWN)。当检测到抬起操作时,触发抬起事件(ACTION_UP)。从而,可以确定触摸操作的操作信息。其中,该操作信息包括对触摸按键进行单击、双击、长按等操作。该操作信息还可以是检测在触摸按键被触摸的同时,是否有其它实体按键被按下。例如,检测在触摸按键被触摸的同时,音量按键是否被按下。该操作信息还可以是对于触摸按键与触摸屏设定位置的多点触控等。Taking the capacitive touch screen as an example, it judges the touch point by sensing the capacitance change generated by the touch of the human body. It has two sets of signal lines: the driving line and the sensing line. The driving line emits signals, and the sensing line detects the change of capacitance value. When the finger touches the metal layer, due to the existence of the electric field of the human body, the finger and the surface of the touch screen form a coupling capacitance. For high-frequency current, the capacitance is a direct conductor, so the finger absorbs a small current from the contact point. Affects the coupling between the two electrodes near the touch point, thereby changing the capacitance between the two electrodes. When detecting the size of mutual capacitance, the electrodes in the direction of the driving line send excitation signals in sequence, and all the electrodes in the direction of the sensing line receive signals at the same time, so that the change of the capacitance value at the intersection of all horizontal and vertical electrodes can be obtained, that is, the two-dimensional plane of the entire touch screen. capacitor size. According to the two-dimensional capacitance change data of the touch screen, the coordinates of each touch point can be calculated. According to the change of capacitance between two electrodes near the touch point, it is determined whether the touch operation on the touch point is a press operation, a lift operation or a slide operation. When it is determined that the current touch operation is a press operation, a press event (ACTION_DOWN) is triggered. When a lift operation is detected, the lift event (ACTION_UP) is triggered. Thereby, the operation information of the touch operation can be determined. Wherein, the operation information includes operations such as single-click, double-click, and long-press on the touch button. The operation information may also be to detect whether other physical keys are pressed while the touch key is being touched. For example, it is detected whether the volume key is pressed while the touch key is touched. The operation information may also be multi-touch for setting positions of the touch button and the touch screen, and the like.

将该触摸操作的操作信息与调整后的该响应条件进行匹配。若匹配成功,则响应该触摸操作对应的触摸按键的功能。否则,屏蔽该触摸操作。The operation information of the touch operation is matched with the adjusted response condition. If the matching is successful, then respond to the function of the touch button corresponding to the touch operation. Otherwise, shield the touch operation.

本实施例的技术方案,根据终端的屏幕方向信息和/或当前运行的应用软件信息判断是否开启按键防误触模式;在开启按键防误触模式时,调整对触摸按键的触摸操作的响应条件;在检测到对所述触摸按键的触摸操作时,将所述触摸操作的操作信息与调整后的所述响应条件进行匹配,在匹配失败时,屏蔽所述触摸操作,实现在观看视频或玩游戏等用户容易误触移动终端的触摸按键的场景中,调整对触摸按键的触摸操作的响应条件,防止用户误触触摸按键而轻 易切换出当前界面。本发明实施例解决触摸按键代替实体按键导致按键误触事件频发的问题,实现在不增加或者更换移动终端元器件的基础上,达到触摸按键防误触的目的,提高移动终端的管理效率。In the technical solution of this embodiment, it is judged whether to enable the anti-mistouch mode of the key according to the screen orientation information of the terminal and/or the information of the currently running application software; when the anti-mistouch mode of the key is enabled, the response condition to the touch operation of the touch button is adjusted ; When a touch operation on the touch button is detected, match the operation information of the touch operation with the adjusted response condition, and when the matching fails, shield the touch operation, so as to achieve In scenarios such as games where the user easily touches the touch buttons of the mobile terminal by mistake, adjust the response conditions to the touch operation of the touch buttons to prevent the user from accidentally switching out of the current interface by touching the touch buttons by mistake. The embodiment of the present invention solves the problem of frequent accidental button touches caused by touch buttons instead of physical buttons, realizes the purpose of preventing false touches of touch buttons without adding or replacing mobile terminal components, and improves the management efficiency of mobile terminals.

在上述技术方案的基础上,优选还可以包括在开启按键防误触模式后,按照设定的周期检测终端的屏幕方向信息和当前运行的应用软件信息,以根据所检测的信息判断终端是否满足退出按键防误触模式的条件。在当前终端的屏幕方向是竖屏且当前运行的应用软件不属于预设白名单时,退出按键防误触模式。On the basis of the above technical solution, it may preferably also include detecting the screen orientation information of the terminal and the information of the currently running application software according to the set period after the button anti-mistouch mode is turned on, so as to judge whether the terminal meets the requirements according to the detected information. Conditions for exiting key mis-touch prevention mode. When the screen orientation of the current terminal is portrait and the currently running application software does not belong to the preset white list, exit the button mis-touch prevention mode.

在上述技术方案的基础上,优选还可以包括获取服务器推送的应用名单,以根据所述应用名单更新预设白名单。这样设置的好处在于由服务器获取用户在使用过程中关于误触到触摸按键的上报信息,对该上报信息进行统计分析。根据分析结果确定易发生触摸按键误触的应用软件,将其添加至预设白名单,并推送至移动终端,供用户更新移动终端内的预设白名单,达到准确、全面地防止按键误触发事件发生的目的。On the basis of the above technical solution, preferably, it may also include obtaining the application list pushed by the server, so as to update the preset white list according to the application list. The advantage of such setting is that the server obtains the reported information about the user accidentally touching the touch button during use, and performs statistical analysis on the reported information. According to the analysis results, determine the application software that is prone to accidental key touches, add it to the preset white list, and push it to the mobile terminal for users to update the preset white list in the mobile terminal, so as to accurately and comprehensively prevent key mis-triggering The purpose of the event.

在上述技术方案的基础上,优选还可以包括在检测到用户输入的按键防误触模式的开启指令时,调整对触摸按键的触摸操作的响应条件。例如,在下拉状态栏中显示开启或退出按键防误触模式的快捷按键。用户通过操作该快捷按键,进入或退出按键防误触模式。这样设置的好处在于可以根据用户的需求随时进入或退出按键防误触模式。On the basis of the above technical solution, preferably, it may also include adjusting the response condition to the touch operation of the touch key when detecting the activation instruction of the key mis-touch prevention mode input by the user. For example, a shortcut key for enabling or exiting the key mis-touch prevention mode is displayed in the drop-down status bar. By operating the shortcut key, the user enters or exits the key mis-touch prevention mode. The advantage of this setting is that it can enter or exit the button accidental touch prevention mode at any time according to the needs of the user.

图3是本发明实施例提供的又一种触摸按键的防误触方法的流程图。在检测到用户输入的按键防误触模式的开启指令时,根据该开启指令调整对触摸按键的触摸操作的响应条件。其中,按键防误触模式开启时,对触摸按键的触摸操作的响应条件是双击,长按,触摸按键与音量键等实体按键组合,或者触摸按键与触摸屏设定位置组合等。且在检测到按键防误触模式的退出指令时,根据该退出指令退出按键防误触模式。其中,在检测到用户输入的退出操作时,生成按键防误触模式的退出指令。还可以是在检测到终端当前的屏幕方向是竖屏,且当前运行的应用软件不属于预设白名单时,生成按键防误触模式的退出指令。FIG. 3 is a flow chart of another method for preventing false touch of a touch button provided by an embodiment of the present invention. When detecting the activation instruction of the key mis-touch prevention mode input by the user, the response condition to the touch operation of the touch key is adjusted according to the activation instruction. Wherein, when the button anti-mistouch mode is turned on, the response conditions for the touch operation of the touch button are double-click, long press, combination of touch button and volume button and other physical buttons, or combination of touch button and touch screen setting position, etc. And when detecting the exit command of the anti-mistouch key mode, exit the anti-mistouch key mode according to the exit instruction. Wherein, when an exit operation input by the user is detected, an exit instruction of the button mistouch prevention mode is generated. Alternatively, when it is detected that the current screen orientation of the terminal is vertical, and the currently running application software does not belong to the preset white list, an exit instruction of the button mis-touch prevention mode may be generated.

若未检测到用户输入的按键防误触模式的开启指令,则执行如图3所示的步骤。If the command to enable the key mis-touch prevention mode input by the user is not detected, the steps shown in FIG. 3 are executed.

本方法具体包括:This method specifically includes:

步骤310、获取终端的屏幕方向信息。Step 310, acquiring screen orientation information of the terminal.

在终端系统为安卓系统时,通过安卓标准接口获取所述终端的屏幕方向信息。When the terminal system is an Android system, the screen orientation information of the terminal is obtained through an Android standard interface.

根据重力传感器的检测数据确定所述终端的屏幕方向信息。若无该设备,则返回Null。Determine the screen orientation information of the terminal according to the detection data of the gravity sensor. Returns Null if there is no such device.

根据接近传感器的检测数据确定所述终端的屏幕方向信息。若无该设备,则返回Null。可选的,可以采集设置于受话器附近的红外接近传感器的检测数据。若该检测数据显示设定范围内持续存在遮挡物,则确定终端的屏幕方向为横屏。例如,用户在以图2所示的握持姿势握持移动终端时,拇指遮挡住红外接近传感器。若拇指距离红外接近传感器的距离在设定范围内,且遮挡时间超过设定遮挡时间阈值,则确定移动终端的屏幕方向为横屏。Determine the screen orientation information of the terminal according to the detection data of the proximity sensor. Returns Null if there is no such device. Optionally, detection data of an infrared proximity sensor disposed near the receiver may be collected. If the detection data shows that there is a continuous occluder within the set range, it is determined that the screen orientation of the terminal is landscape. For example, when the user holds the mobile terminal in the holding posture shown in FIG. 2 , the thumb blocks the infrared proximity sensor. If the distance between the thumb and the infrared proximity sensor is within a set range, and the occlusion time exceeds the set occlusion time threshold, it is determined that the screen orientation of the mobile terminal is landscape.

根据摄像头所成像的明暗程度确定所述终端的屏幕方向信息。若无该设备,则返回Null。由于终端的显示屏是横屏时,手指可能遮挡终端的前置摄像头,使其所成的像的亮度降低。若前置摄像头所成像的亮度低于设定亮度阈值,且亮度低于设定亮度阈值的时长超过设定持续时长,则确定终端的屏幕方向是横屏。The screen orientation information of the terminal is determined according to the brightness and darkness of images imaged by the camera. Returns Null if there is no such device. When the display screen of the terminal is in landscape orientation, fingers may block the front camera of the terminal, reducing the brightness of the image formed by it. If the brightness of the image captured by the front camera is lower than the set brightness threshold, and the duration of the brightness being lower than the set brightness threshold exceeds the set duration, then it is determined that the screen orientation of the terminal is landscape.

根据光线传感器的检测数据确定所述终端的屏幕方向信息。若无该设备,则返回Null。由于光线传感器在有遮挡和无遮挡时,所采集的检测数据范围不同。若光线传感器的检测数据属于有遮挡的检测数据范围内,且检测数据属于有遮挡的检测数据范围内的时长超过设定持续时长,则确定终端处于横屏状态。Determine the screen orientation information of the terminal according to the detection data of the light sensor. Returns Null if there is no such device. Since the light sensor has different detection data ranges when there is occlusion and no occlusion. If the detection data of the light sensor is within the detection data range with occlusion, and the detection data is within the detection data range with occlusion for a period exceeding the set duration, then it is determined that the terminal is in the horizontal screen state.

根据指纹传感器的检测数据确定所述终端的屏幕方向信息。若无该设备,则返回Null。由于移动终端的屏幕为横屏时,用户在握持移动终端的过程中,拇指很容易触摸到指纹传感器。从而,触发指纹传感器检测拇指与其接触区域的指纹。进而,发生指纹传感器检测到非正常指纹的情况。若指纹传感器检测到非正常指纹的频率超过设定频率阈值,则确定移动终端的显示屏是横屏。Determine the screen orientation information of the terminal according to the detection data of the fingerprint sensor. Returns Null if there is no such device. Since the screen of the mobile terminal is a horizontal screen, the thumb of the user can easily touch the fingerprint sensor when holding the mobile terminal. Thereby, the fingerprint sensor is triggered to detect the fingerprint of the area where the thumb is in contact with it. Furthermore, it happens that the fingerprint sensor detects an abnormal fingerprint. If the frequency of abnormal fingerprints detected by the fingerprint sensor exceeds the set frequency threshold, it is determined that the display screen of the mobile terminal is a horizontal screen.

可以理解的是,采用上述方式中的至少一种即可获取终端的屏幕方向信息。It can be understood that the screen orientation information of the terminal can be acquired by adopting at least one of the above manners.

步骤320、判断终端的屏幕方向是否是横屏,若是,则执行步骤350,否则,执行步骤330。Step 320 , judging whether the screen orientation of the terminal is landscape, if so, execute step 350 , otherwise, execute step 330 .

在步骤310中列举的一种或一种以上方式符合横屏操作时终端的状态特性时,确定终端的屏幕方向是横屏,执行步骤350,否则执行步骤330。When one or more methods enumerated in step 310 conform to the state characteristics of the terminal during landscape operation, it is determined that the screen orientation of the terminal is landscape, and step 350 is performed; otherwise, step 330 is performed.

步骤330、获取当前运行的应用软件信息。Step 330, acquiring the information of the currently running application software.

在确定终端的屏幕方向是竖屏时,获取终端当前运行的应用软件信息。例如,获取当前运行的应用软件的软件标识。When it is determined that the screen orientation of the terminal is a vertical screen, the application software information currently running on the terminal is acquired. For example, obtain the software identification of the currently running application software.

步骤340、判断当前运行的应用软件是否属于预设白名单,若是,则执行步骤350,否则,执行步骤360。Step 340 , judging whether the currently running application software belongs to the preset white list, if yes, execute step 350 , otherwise, execute step 360 .

根据所获取的当前运行的应用软件的软件信息查询预设白名单,以确定该当前运行的应用软件是否属于预设白名单。在该当前运行的应用软件属于预设白名单时,执行步骤350。在该当前运行的应用软件不属于预设白名单时,执行步骤360。The preset white list is queried according to the acquired software information of the currently running application software to determine whether the currently running application software belongs to the preset white list. When the currently running application software belongs to the preset white list, step 350 is executed. When the currently running application software does not belong to the preset white list, step 360 is executed.

步骤350、开启按键防误触模式。Step 350 , enabling the anti-mistouch mode of keys.

在当前终端符合终端的屏幕方向是横屏,或终端的屏幕方向是竖屏且运行的应用软件属于预设白名单中的一项时,开启按键防误触模式,调整对触摸按键的触摸操作的响应条件。在触摸操作满足该响应条件时,才执行触摸操作对应的触摸按键的功能。When the current terminal matches the screen orientation of the terminal is landscape, or the screen orientation of the terminal is portrait and the running application software belongs to an item in the preset white list, enable the button anti-mistouch mode to adjust the touch operation of the touch button response conditions. When the touch operation satisfies the response condition, the function of the touch key corresponding to the touch operation is executed.

步骤360、保持按键防误触模式处于关闭状态或退出按键防误触模式。Step 360 , keeping the key anti-mis-touch mode in the off state or exiting the key anti-mis-touch mode.

重复执行上述步骤310至350;在检测到当前终端的屏幕方向是横屏时,保持按键防误触模式开启;在检测到当前终端的屏幕方向是竖屏且当前运行的应用软件的软件标识属于预设白名单时,保持按键防误触模式开启;在检测到当前终端符合终端的屏幕方向是竖屏且运行的应用软件不属于预设白名单时,执行步骤360。即,若终端已经开启按键防误触模式,则在检测到当前终端符合终端的屏幕方向是竖屏且运行的应用软件不属于预设白名单时,退出按键防误触模式。若终端未开启按键防误触模式,则在检测到当前终端符合终端的屏幕方向是竖屏且运行的应用软件不属于预设白名单时,保持按键防误触模式处于关闭状态。Repeat the above steps 310 to 350; when it is detected that the screen orientation of the current terminal is horizontal, keep the button anti-mistouch mode enabled; when it is detected that the screen orientation of the current terminal is vertical and the software identification of the currently running application software belongs to When the white list is preset, keep the button anti-mistouch mode enabled; when it is detected that the current terminal meets the screen orientation of the terminal is a vertical screen and the running application software does not belong to the preset white list, execute step 360. That is, if the terminal has turned on the anti-unintended key touch mode, it will exit the key anti-unintended touch mode when it detects that the current terminal meets the terminal's screen orientation is vertical screen and the running application software does not belong to the preset white list. If the terminal does not enable the anti-mistouch key mode, keep the anti-mistouch mode of the key in the off state when it is detected that the current terminal conforms to the terminal screen orientation is vertical screen and the running application software does not belong to the preset white list.

本实施例的技术方案提供一种触摸按键的防误触方法,实现对于检测到对触摸按键的触摸操作,若其不满足按键防误触模式对应的响应条件,则屏蔽该触摸操作。本实施例技术方案实现在不增加或者更换移动终端元器件的基础上,达到触摸按键防误触的目的,避免发生因用户误触而切换出当前显示界面的情况。并且,实现自动检测是否满足退出按键防误触模式的退出条件,在满足该退出条件时,自动退出按键防误触模式,省略将检测到的触摸操作与调整后的 响应条件进行匹配的过程,节约移动终端的耗电量,提高移动终端的管理效率。The technical solution of this embodiment provides an anti-mistouch method for a touch key, which realizes shielding the touch operation if the detected touch operation on the touch key does not satisfy the response condition corresponding to the key anti-mistouch mode. The technical solution of this embodiment achieves the purpose of preventing accidental touches of the touch keys without adding or replacing mobile terminal components, and avoids switching out of the current display interface due to accidental touches by the user. In addition, it is possible to automatically detect whether the exit condition for exiting the anti-mistouch key mode is met. When the exit condition is met, the mode is automatically exited from the anti-unintended key touch mode, omitting the process of matching the detected touch operation with the adjusted response condition. The power consumption of the mobile terminal is saved, and the management efficiency of the mobile terminal is improved.

图4是本发明实施例提供的另一种触摸按键的防误触方法的流程图。在检测到用户输入的按键防误触模式的开启指令时,根据该开启指令调整对触摸按键的触摸操作的响应条件。其中,按键防误触模式开启时,对触摸按键的触摸操作的响应条件是双击,长按,或者在检测到触摸按键的触摸操作后的设定时间长度内,检测到设定物理按键的触摸操作或触摸屏设定位置的触摸操作中的至少一种。且在检测到按键防误触模式的退出指令时,根据该退出指令退出按键防误触模式。其中,在检测到用户输入的退出操作时,生成按键防误触模式的退出指令。还可以是在检测到终端当前的屏幕方向是竖屏,且当前运行的应用软件不属于预设白名单时,生成按键防误触模式的退出指令。FIG. 4 is a flow chart of another method for preventing false touch of a touch button provided by an embodiment of the present invention. When detecting the activation instruction of the key mis-touch prevention mode input by the user, the response condition to the touch operation of the touch key is adjusted according to the activation instruction. Among them, when the button anti-mistouch mode is turned on, the response condition for the touch operation of the touch button is double-click, long press, or within a set time period after the touch operation of the touch button is detected, the touch of the set physical button is detected At least one of touch operations for operating or setting positions on the touch screen. And when detecting the exit command of the anti-mistouch key mode, exit the anti-mistouch key mode according to the exit instruction. Wherein, when an exit operation input by the user is detected, an exit instruction of the button mistouch prevention mode is generated. Alternatively, when it is detected that the current screen orientation of the terminal is vertical, and the currently running application software does not belong to the preset white list, an exit instruction of the button mis-touch prevention mode may be generated.

若未检测到用户输入的按键防误触模式的开启指令,则执行如图4所示的步骤。If the command to enable the key mis-touch prevention mode input by the user is not detected, the steps shown in FIG. 4 are executed.

步骤410、获取当前运行的应用软件信息。Step 410, acquiring the information of the currently running application software.

若未检测到用户输入的按键防误触模式的开启指令,在检测到应用软件的运行指令时,则获取该应用软件的软件标识。若检测到用户输入的按键防误触模式的开启指令,则直接开启按键防误触模式,此后,在按照设定周期检测是否满足退出按键防误触模式的条件。If the command to enable the key mis-touch prevention mode input by the user is not detected, when the running command of the application software is detected, the software identification of the application software is obtained. If it is detected that the opening instruction of the button anti-mistouch mode input by the user is detected, the button anti-mistouch mode is directly turned on, and thereafter, whether the condition for exiting the button anti-mistouch mode is satisfied is detected according to the set cycle.

步骤420、判断当前运行的应用软件是否属于预设白名单,若是,则执行步骤430,若否,则执行步骤460。Step 420 , judging whether the currently running application software belongs to the preset white list, if yes, execute step 430 , if not, execute step 460 .

步骤430、开启按键防误触模式。Step 430 , enabling the anti-mistouch mode of keys.

在终端当前运行的应用软件属于预设白名单时,开启按键防误触模式。When the application software currently running on the terminal belongs to the preset white list, enable the button anti-mistouch mode.

步骤440、调整对触摸按键的触摸操作的响应条件。Step 440, adjusting the response condition to the touch operation of the touch key.

步骤450、在检测到对所述触摸按键的触摸操作时,将所述触摸操作的操作信息与调整后的所述响应条件进行匹配,根据匹配结果确定是否屏蔽所述触摸操作。Step 450: When a touch operation on the touch key is detected, match the operation information of the touch operation with the adjusted response condition, and determine whether to shield the touch operation according to the matching result.

步骤460、保持按键防误触模式处于关闭状态或退出按键防误触模式。Step 460 , keeping the anti-mis-touch key mode in the off state or exiting the anti-mis-touch key mode.

在终端当前运行的应用软件不属于预设白名单时,若按键防误触模式已开启,则退出按键防误触模式。在终端当前运行的应用软件不属于预设白名单时,若按键防误触模式为关闭状态,则保持按键防误触模式处于关闭状态。When the application software currently running on the terminal does not belong to the preset white list, if the key mis-touch prevention mode is enabled, exit the key mis-touch prevention mode. When the application software currently running on the terminal does not belong to the preset white list, if the key mis-touch prevention mode is off, keep the key mis-touch prevention mode off.

本实施例的技术方案,通过在未检测到用户输入的按键防误触模式的开启 指令时,判断终端运行的应用软件是否属于预设白名单。在该应用软件属于预设白名单时,开启按键防误触模式,实现对于检测到对按键的触摸操作,若其不满足按键防误触模式对应的响应条件,则屏蔽该触摸操作。本实施例技术方案实现在不增加或者更换移动终端元器件的基础上,采用较少的步骤达到触摸按键防误触的目的,提高移动终端的管理效率。The technical solution of this embodiment judges whether the application software running on the terminal belongs to the preset white list when the instruction to enable the key mis-touch prevention mode input by the user is not detected. When the application software belongs to the preset white list, the key anti-mistouch mode is turned on, and if a touch operation on the key is detected, if it does not meet the response conditions corresponding to the key anti-mistouch mode, the touch operation is shielded. The technical solution of this embodiment achieves the purpose of preventing false touches of the touch keys by using fewer steps without adding or replacing components of the mobile terminal, and improves the management efficiency of the mobile terminal.

图5是本发明实施例提供的一种触摸按键的防误触装置的结构示意图。该装置可由软件和/或硬件实现,一般可集成在移动终端中,可通过执行触摸按键的防误触方法来对移动终端的触摸按键进行控制。该装置包括:模式判断模块510、条件调整模块520和操作匹配模块530。Fig. 5 is a schematic structural diagram of an anti-mistouch device for touch keys provided by an embodiment of the present invention. The device can be implemented by software and/or hardware, and generally can be integrated in a mobile terminal, and can control the touch keys of the mobile terminal by implementing the method for preventing false touches of the touch keys. The device includes: a mode judgment module 510 , a condition adjustment module 520 and an operation matching module 530 .

其中,模式判断模块510,用于根据终端的屏幕方向信息和/或当前运行的应用软件信息判断是否开启按键防误触模式;条件调整模块520,用于在开启所述按键防误触模式时,调整对触摸按键的触摸操作的响应条件;操作匹配模块530,用于在检测到对所述触摸按键的触摸操作时,将所述触摸操作的操作信息与调整后的所述响应条件进行匹配,根据匹配结果确定是否屏蔽所述触摸操作。Wherein, the mode judging module 510 is used to judge whether to enable the button anti-mistouch mode according to the screen orientation information of the terminal and/or the application software information currently running; the condition adjustment module 520 is used to enable the button when the button , adjust the response condition of the touch operation on the touch key; the operation matching module 530 is configured to match the operation information of the touch operation with the adjusted response condition when the touch operation on the touch key is detected , and determine whether to shield the touch operation according to the matching result.

本发明实施例提供的触摸按键的防误触装置,实现在观看视频或玩游戏等用户容易误触移动终端的触摸按键的场景中,调整对触摸按键的触摸操作的响应条件,防止用户误触触摸按键而轻易切换出当前界面。本发明实施例解决触摸按键代替实体按键导致按键误触事件频发的问题,实现在不增加或者更换移动终端元器件的基础上,达到触摸按键防误触的目的,提高移动终端的管理效率。The anti-mistouch device of the touch button provided by the embodiment of the present invention can adjust the response condition to the touch operation of the touch button in the scene where the user is likely to accidentally touch the touch button of the mobile terminal, such as watching a video or playing a game, so as to prevent the user from accidentally touching the button. Touch the button to easily switch out of the current interface. The embodiment of the present invention solves the problem of frequent accidental button touches caused by touch buttons instead of physical buttons, realizes the purpose of preventing false touches of touch buttons without adding or replacing mobile terminal components, and improves the management efficiency of mobile terminals.

在上述技术方案的基础上,所述模式判断模块510包括下述至少一个子模块:On the basis of the above technical solution, the mode judgment module 510 includes at least one of the following submodules:

第一确定子模块,用于在终端的屏幕方向是横屏时,确定开启按键防误触模式;The first determination sub-module is used to determine to enable the anti-mistouch mode of the key when the screen orientation of the terminal is a horizontal screen;

第二确定子模块,用于在当前运行的应用软件属于预设白名单时,确定开启按键防误触模式。The second determination sub-module is used for determining to enable the key-press anti-mis-touch mode when the currently running application software belongs to the preset white list.

在上述技术方案的基础上,还包括:On the basis of the above technical solutions, it also includes:

模式退出模块,用于在调整对触摸按键的触摸操作的响应条件之后,在终端的屏幕方向是竖屏且当前运行的应用软件不属于预设白名单时,确定退出按 键防误触模式。The mode exit module is used to determine to exit the button anti-mistouch mode when the screen orientation of the terminal is vertical and the currently running application software does not belong to the preset white list after adjusting the response conditions to the touch operation of the touch button.

在上述技术方案的基础上,还包括:On the basis of the above technical solutions, it also includes:

名单更新模块,用于获取服务器推送的应用名单,以根据所述应用名单更新预设白名单。The list update module is configured to obtain the application list pushed by the server, so as to update the preset white list according to the application list.

在上述技术方案的基础上,还包括:On the basis of the above technical solutions, it also includes:

屏幕方向获取模块,用于采用如下方式中的至少一种获取终端的屏幕方向信息:A screen orientation acquiring module, configured to acquire the screen orientation information of the terminal in at least one of the following ways:

在终端系统为安卓系统时,通过安卓标准接口获取所述终端的屏幕方向信息;When the terminal system is the Android system, the screen orientation information of the terminal is obtained through the Android standard interface;

根据重力传感器的检测数据确定所述终端的屏幕方向信息;determining the screen orientation information of the terminal according to the detection data of the gravity sensor;

根据接近传感器的检测数据确定所述终端的屏幕方向信息;determining the screen orientation information of the terminal according to the detection data of the proximity sensor;

根据摄像头所成像的明暗程度确定所述终端的屏幕方向信息;determining the screen orientation information of the terminal according to the degree of brightness and darkness imaged by the camera;

根据光线传感器的检测数据确定所述终端的屏幕方向信息;determining the screen orientation information of the terminal according to the detection data of the light sensor;

根据指纹传感器的检测数据确定所述终端的屏幕方向信息。Determine the screen orientation information of the terminal according to the detection data of the fingerprint sensor.

在上述技术方案的基础上,还包括:On the basis of the above technical solutions, it also includes:

模式手动开启模块,用于在检测到用户输入的按键防误触模式的开启指令时,调整对触摸按键的触摸操作的响应条件。The mode manual opening module is used to adjust the response condition to the touch operation of the touch key when the key input by the user is detected to enable the key mis-touch prevention mode.

在上述技术方案的基础上,所述调整后的响应条件包括对触摸按键的长按或双击动作;或者,在检测到触摸按键的触摸操作后的设定时间长度内,检测到设定物理按键的触摸操作或触摸屏设定位置的触摸操作中的至少一种。On the basis of the above technical solution, the adjusted response condition includes a long press or double-click action on the touch button; or, within a set time period after the touch operation of the touch button is detected, a set physical button is detected At least one of the touch operation of the touch operation or the touch operation of the touch screen setting position.

本发明实施例提供了一种移动终端,该移动终端中可集成本发明实施例提供的触摸按键的防误触装置。示例性的,本实施例中的移动终端具体可为手机、掌上游戏机、人数字助手和平板电脑等终端,优选为智能手机。An embodiment of the present invention provides a mobile terminal, in which the device for preventing false touch of a touch button provided by the embodiment of the present invention can be integrated. Exemplarily, the mobile terminal in this embodiment may specifically be a terminal such as a mobile phone, a handheld game console, a digital assistant, and a tablet computer, preferably a smart phone.

图6为本发明实施例提供的一种移动终端的结构示意图。如图6所示,该移动终端可以包括:壳体(图中未示出)、存储器601、中央处理器(Central Processing Unit,CPU)602(又称处理器,以下简称CPU)、电路板(图中未示出)、触摸屏612和电源电路(图中未示出)。所述触摸屏612,用于将用户操作转换成电信号输入至所述处理器,并显示可视输出信号;所述电路板安置在所述触摸屏612与所述壳体围成的空间内部;所述CPU602和所述存储器601设置在所述电路板上;所述电源电路,用于为所述移动终端的各个电路或器件 供电;所述存储器601,用于存储计算机程序;所述CPU602读取并执行所述存储器601中存储的计算机程序。所述CPU602在执行所述计算机程序时实现以下步骤:根据终端的屏幕方向信息和/或当前运行的应用软件信息判断是否开启按键防误触模式;在开启所述按键防误触模式时,调整对触摸按键的触摸操作的响应条件;在检测到对所述触摸按键的触摸操作时,将所述触摸操作的操作信息与调整后的所述响应条件进行匹配,根据匹配结果确定是否屏蔽所述触摸操作。FIG. 6 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present invention. As shown in FIG. 6, the mobile terminal may include: a housing (not shown in the figure), a memory 601, a central processing unit (Central Processing Unit, CPU) 602 (also called a processor, hereinafter referred to as CPU), a circuit board ( not shown in the figure), touch screen 612 and power supply circuit (not shown in the figure). The touch screen 612 is used to convert user operations into electrical signals and input them to the processor, and display visual output signals; the circuit board is placed inside the space enclosed by the touch screen 612 and the housing; The CPU602 and the memory 601 are arranged on the circuit board; the power supply circuit is used to supply power to each circuit or device of the mobile terminal; the memory 601 is used to store computer programs; the CPU602 reads And execute the computer program stored in the memory 601. The CPU 602 implements the following steps when executing the computer program: judging whether to enable the button anti-mistouch mode according to the screen orientation information of the terminal and/or the application software information currently running; Response conditions for the touch operation of the touch button; when the touch operation for the touch button is detected, match the operation information of the touch operation with the adjusted response condition, and determine whether to shield the touch button according to the matching result Touch operation.

所述移动终端还包括:外设接口603、RF(Radio Frequency,射频)电路605、音频电路606、扬声器611、电源管理芯片608、输入/输出(I/O)子系统609、其他输入/控制设备610以及外部端口604,这些部件通过一个或多个通信总线或信号线607来通信。The mobile terminal also includes: peripheral interface 603, RF (Radio Frequency, radio frequency) circuit 605, audio circuit 606, speaker 611, power management chip 608, input/output (I/O) subsystem 609, other input/control Device 610 and external port 604 , these components communicate via one or more communication buses or signal lines 607 .

应该理解的是,图示移动终端600仅仅是移动终端的一个范例,并且移动终端600可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the illustrated mobile terminal 600 is only an example of a mobile terminal, and the mobile terminal 600 may have more or fewer components than those shown in the figure, and two or more components may be combined, Or can have a different component configuration. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.

下面就本实施例提供的集成有触摸按键的防误触装置的移动终端进行详细的描述,该移动终端以手机为例。The following describes in detail the mobile terminal integrated with the false touch prevention device provided by this embodiment. The mobile terminal takes a mobile phone as an example.

存储器601,所述存储器601可以被CPU602、外设接口603等访问,所述存储器601可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Memory 601, the memory 601 can be accessed by the CPU 602, the peripheral interface 603, etc., the memory 601 can include a high-speed random access memory, and can also include a non-volatile memory, such as one or more disk storage devices, flash memory devices , or other volatile solid-state storage devices.

外设接口603,所述外设接口603可以将设备的输入和输出外设连接到CPU602和存储器601。Peripheral interface 603 , which can connect the input and output peripherals of the device to CPU 602 and memory 601 .

I/O子系统609,所述I/O子系统609可以将设备上的输入输出外设,例如触摸屏612和其他输入/控制设备610,连接到外设接口603。I/O子系统609可以包括显示控制器6091和用于控制其他输入/控制设备610的一个或多个输入控制器6092。其中,一个或多个输入控制器6092从其他输入/控制设备610接收电信号或者向其他输入/控制设备610发送电信号,其他输入/控制设备610可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击滚轮。值得说明的是,输入控制器6092可以与以下任一个连接:键盘、红外端 口、USB接口以及诸如鼠标的指示设备。The I/O subsystem 609 , the I/O subsystem 609 can connect input and output peripherals on the device, such as a touch screen 612 and other input/control devices 610 , to the peripheral interface 603 . I/O subsystem 609 may include a display controller 6091 and one or more input controllers 6092 for controlling other input/control devices 610 . Among them, one or more input controllers 6092 receive electrical signals from or send electrical signals to other input/control devices 610, which may include physical buttons (push buttons, rocker buttons, etc.) ), dials, slide switches, joysticks, click wheels. It is worth noting that the input controller 6092 can be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.

触摸屏612,所述触摸屏612是用户终端与用户之间的输入接口和输出接口,将可视输出显示给用户,可视输出可以包括图形、文本、图标、视频等。A touch screen 612, the touch screen 612 is an input interface and an output interface between the user terminal and the user, and displays visual output to the user. The visual output may include graphics, text, icons, videos, and the like.

I/O子系统609中的显示控制器6091从触摸屏612接收电信号或者向触摸屏612发送电信号。触摸屏612检测触摸屏上的接触,显示控制器6091将检测到的接触转换为与显示在触摸屏612上的用户界面对象的交互,即实现人机交互,显示在触摸屏612上的用户界面对象可以是运行游戏的图标、联网到相应网络的图标等。值得说明的是,设备还可以包括光鼠,光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸。The display controller 6091 in the I/O subsystem 609 receives electrical signals from the touch screen 612 or sends electrical signals to the touch screen 612 . The touch screen 612 detects the contact on the touch screen, and the display controller 6091 converts the detected contact into an interaction with the user interface object displayed on the touch screen 612, that is, realizes human-computer interaction, and the user interface object displayed on the touch screen 612 can be a running Icons for games, icons for networking to appropriate networks, etc. It is worth noting that the device may also include an optical mouse, which is a touch-sensitive surface that does not display visual output, or that is an extension of a touch-sensitive surface formed by a touch screen.

RF电路605,主要用于建立手机与无线网络(即网络侧)的通信,实现手机与无线网络的数据接收和发送。例如收发短信息、电子邮件等。具体地,RF电路605接收并发送RF信号,RF信号也称为电磁信号,RF电路605将电信号转换为电磁信号或将电磁信号转换为电信号,并且通过该电磁信号与通信网络以及其他设备进行通信。RF电路605可以包括用于执行这些功能的已知电路,其包括但不限于天线系统、RF收发机、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、CODEC(COder-DECoder,编译码器)芯片组、用户标识模块(Subscriber Identity Module,SIM)等等。The RF circuit 605 is mainly used to establish communication between the mobile phone and the wireless network (that is, the network side), and realize data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. Specifically, the RF circuit 605 receives and sends RF signals, which are also called electromagnetic signals, and the RF circuit 605 converts electrical signals into electromagnetic signals or converts electromagnetic signals into electrical signals, and communicates with communication networks and other devices through the electromagnetic signals to communicate. RF circuitry 605 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC ( COder-DECoder, Codec) Chipset, Subscriber Identity Module (Subscriber Identity Module, SIM) and so on.

音频电路606,主要用于从外设接口603接收音频数据,将该音频数据转换为电信号,并且将该电信号发送给扬声器611。The audio circuit 606 is mainly used to receive audio data from the peripheral interface 603 , convert the audio data into electrical signals, and send the electrical signals to the speaker 611 .

扬声器611,用于将手机通过RF电路605从无线网络接收的语音信号,还原为声音并向用户播放该声音。The speaker 611 is used to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 605 into sound and play the sound to the user.

电源管理芯片608,用于为CPU602、I/O子系统及外设接口所连接的硬件进行供电及电源管理。The power management chip 608 is used for power supply and power management for the hardware connected to the CPU 602 , the I/O subsystem and the peripheral interface.

上述实施例中提供的触摸按键的防误触装置及移动终端可执行本发明任意实施例所提供的触摸按键的防误触方法,具备执行该方法相应的功能模块和有益效果。未在上述实施例中详尽描述的技术细节,可参见本发明任意实施例所提供的触摸按键的防误触方法。The anti-mistouch device and mobile terminal provided in the above embodiments can implement the method for preventing mistouch of touch buttons provided in any embodiment of the present invention, and have corresponding functional modules and beneficial effects for executing the method. For technical details not exhaustively described in the foregoing embodiments, reference may be made to the method for preventing false touches of touch keys provided in any embodiment of the present invention.

注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进 行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention, and the present invention The scope is determined by the scope of the appended claims.

Claims (15)

Translated fromChinese
1.一种触摸按键的防误触方法,其特征在于,包括:1. A method for preventing false touch of a touch button, characterized in that, comprising:根据终端的屏幕方向信息和/或当前运行的应用软件信息判断是否开启按键防误触模式;According to the screen orientation information of the terminal and/or the information of the currently running application software, it is judged whether to enable the key anti-mistouch mode;在开启所述按键防误触模式时,调整对触摸按键的触摸操作的响应条件;When the button mis-touch prevention mode is turned on, adjust the response condition to the touch operation of the touch button;在检测到对所述触摸按键的触摸操作时,将所述触摸操作的操作信息与调整后的所述响应条件进行匹配,根据匹配结果确定是否屏蔽所述触摸操作。When a touch operation on the touch key is detected, match the operation information of the touch operation with the adjusted response condition, and determine whether to shield the touch operation according to the matching result.2.根据权利要求1所述的方法,其特征在于,根据终端的屏幕方向信息和/或当前运行的应用软件信息判断是否开启按键防误触模式,包括下述至少一种情况:2. The method according to claim 1, characterized in that judging whether to enable the key-press anti-mistouch mode according to the screen orientation information of the terminal and/or the currently running application software information includes at least one of the following situations:在终端的屏幕方向是横屏时,确定开启按键防误触模式;When the screen orientation of the terminal is landscape, make sure to enable the button anti-mistouch mode;在当前运行的应用软件属于预设白名单时,确定开启按键防误触模式。When the currently running application software belongs to the preset white list, make sure to enable the button anti-mistouch mode.3.根据权利要求1所述的方法,其特征在于,在调整对触摸按键的触摸操作的响应条件之后,还包括:3. The method according to claim 1, further comprising: after adjusting the response condition to the touch operation of the touch button:在终端的屏幕方向是竖屏且当前运行的应用软件不属于预设白名单时,确定退出按键防误触模式。When the screen orientation of the terminal is portrait and the currently running application software does not belong to the preset white list, it is determined to exit the button accidental touch prevention mode.4.根据权利要求3所述的方法,其特征在于,还包括:4. The method according to claim 3, further comprising:获取服务器推送的应用名单,以根据所述应用名单更新预设白名单。Obtain the application list pushed by the server, so as to update the preset white list according to the application list.5.根据权利要求1所述的方法,其特征在于,还包括采用如下方式中的至少一种获取终端的屏幕方向信息:5. The method according to claim 1, further comprising acquiring the screen orientation information of the terminal in at least one of the following ways:在终端系统为安卓系统时,通过安卓标准接口获取所述终端的屏幕方向信息;When the terminal system is the Android system, the screen orientation information of the terminal is obtained through the Android standard interface;根据重力传感器的检测数据确定所述终端的屏幕方向信息;determining the screen orientation information of the terminal according to the detection data of the gravity sensor;根据接近传感器的检测数据确定所述终端的屏幕方向信息;determining the screen orientation information of the terminal according to the detection data of the proximity sensor;根据摄像头所成像的明暗程度确定所述终端的屏幕方向信息;determining the screen orientation information of the terminal according to the degree of brightness and darkness imaged by the camera;根据光线传感器的检测数据确定所述终端的屏幕方向信息;determining the screen orientation information of the terminal according to the detection data of the light sensor;根据指纹传感器的检测数据确定所述终端的屏幕方向信息。Determine the screen orientation information of the terminal according to the detection data of the fingerprint sensor.6.根据权利要求1所述的方法,其特征在于,还包括:6. The method according to claim 1, further comprising:在检测到用户输入的按键防误触模式的开启指令时,调整对触摸按键的触摸操作的响应条件。When detecting the activation instruction of the key mis-touch prevention mode input by the user, the response condition to the touch operation of the touch key is adjusted.7.根据权利要求1至6中任一项所述的方法,其特征在于,调整后的响应条件包括对触摸按键的长按或双击动作;7. The method according to any one of claims 1 to 6, wherein the adjusted response condition includes a long press or double-click action on the touch button;或者,在检测到触摸按键的触摸操作后的设定时间长度内,检测到设定物理按键的触摸操作或触摸屏设定位置的触摸操作中的至少一种。Or, within a set time period after the touch operation of the touch key is detected, at least one of a touch operation of setting a physical key or a touch operation of setting a position of the touch screen is detected.8.一种触摸按键的防误触装置,其特征在于,包括:8. An anti-mistouch device for touch buttons, characterized in that it comprises:模式判断模块,用于根据终端的屏幕方向信息和/或当前运行的应用软件信息判断是否开启按键防误触模式;The mode judging module is used for judging whether to open the button anti-mistouch mode according to the screen orientation information of the terminal and/or the application software information currently running;条件调整模块,用于在开启所述按键防误触模式时,调整对触摸按键的触摸操作的响应条件;The condition adjustment module is used to adjust the response condition to the touch operation of the touch key when the key anti-mistouch mode is turned on;操作匹配模块,用于在检测到对所述触摸按键的触摸操作时,将所述触摸操作的操作信息与调整后的所述响应条件进行匹配,根据匹配结果确定是否屏蔽所述触摸操作。An operation matching module, configured to match the operation information of the touch operation with the adjusted response condition when a touch operation on the touch key is detected, and determine whether to shield the touch operation according to the matching result.9.根据权利要求8所述的装置,其特征在于,所述模式判断模块包括下述至少一个子模块:9. The device according to claim 8, wherein the mode judging module comprises at least one of the following submodules:第一确定子模块,用于在终端的屏幕方向是横屏时,确定开启按键防误触模式;The first determination sub-module is used to determine to enable the anti-mistouch mode of the key when the screen orientation of the terminal is a horizontal screen;第二确定子模块,用于在当前运行的应用软件属于预设白名单时,确定开启按键防误触模式。The second determination sub-module is used to determine to enable the key-press anti-mis-touch mode when the currently running application software belongs to the preset white list.10.根据权利要求8所述的装置,其特征在于,还包括:10. The device according to claim 8, further comprising:模式退出模块,用于在调整对触摸按键的触摸操作的响应条件之后,在终端的屏幕方向是竖屏且当前运行的应用软件不属于预设白名单时,确定退出按键防误触模式。The mode exit module is used to determine to exit the button anti-mistouch mode when the screen orientation of the terminal is vertical and the currently running application software does not belong to the preset white list after adjusting the response conditions to the touch operation of the touch button.11.根据权利要求10所述的装置,其特征在于,还包括:11. The device according to claim 10, further comprising:名单更新模块,用于获取服务器推送的应用名单,以根据所述应用名单更新预设白名单。The list update module is configured to obtain the application list pushed by the server, so as to update the preset white list according to the application list.12.根据权利要求8所述的装置,其特征在于,还包括:12. The device according to claim 8, further comprising:屏幕方向获取模块,用于采用如下方式中的至少一种获取终端的屏幕方向信息:A screen orientation acquiring module, configured to acquire the screen orientation information of the terminal in at least one of the following ways:在终端系统为安卓系统时,通过安卓标准接口获取所述终端的屏幕方向信息;When the terminal system is the Android system, the screen orientation information of the terminal is obtained through the Android standard interface;根据重力传感器的检测数据确定所述终端的屏幕方向信息;determining the screen orientation information of the terminal according to the detection data of the gravity sensor;根据接近传感器的检测数据确定所述终端的屏幕方向信息;determining the screen orientation information of the terminal according to the detection data of the proximity sensor;根据摄像头所成像的明暗程度确定所述终端的屏幕方向信息;determining the screen orientation information of the terminal according to the degree of brightness and darkness imaged by the camera;根据光线传感器的检测数据确定所述终端的屏幕方向信息;determining the screen orientation information of the terminal according to the detection data of the light sensor;根据指纹传感器的检测数据确定所述终端的屏幕方向信息。Determine the screen orientation information of the terminal according to the detection data of the fingerprint sensor.13.根据权利要求8所述的装置,其特征在于,还包括:13. The device of claim 8, further comprising:模式手动开启模块,用于在检测到用户输入的按键防误触模式的开启指令时,调整对触摸按键的触摸操作的响应条件。The mode manual opening module is used to adjust the response condition to the touch operation of the touch key when the key input by the user is detected to enable the key mis-touch prevention mode.14.根据权利要求8至13中任一项所述的装置,其特征在于,调整后的响应条件包括对触摸按键的长按或双击动作;14. The device according to any one of claims 8 to 13, wherein the adjusted response condition includes a long press or double-click action on the touch button;或者,在检测到触摸按键的触摸操作后的设定时间长度内,检测到设定物理按键的触摸操作或触摸屏设定位置的触摸操作中的至少一种。Or, within a set time period after the touch operation of the touch key is detected, at least one of a touch operation of setting a physical key or a touch operation of setting a position of the touch screen is detected.15.一种移动终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现以下步骤:15. A mobile terminal, comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor implements the following steps when executing the computer program:根据终端的屏幕方向信息和/或当前运行的应用软件信息判断是否开启按键防误触模式;According to the screen orientation information of the terminal and/or the information of the currently running application software, it is judged whether to enable the key anti-mistouch mode;在开启所述按键防误触模式时,调整对触摸按键的触摸操作的响应条件;When the button mis-touch prevention mode is turned on, adjust the response condition to the touch operation of the touch button;在检测到对所述触摸按键的触摸操作时,将所述触摸操作的操作信息与调整后的所述响应条件进行匹配,根据匹配结果确定是否屏蔽所述触摸操作。When a touch operation on the touch key is detected, match the operation information of the touch operation with the adjusted response condition, and determine whether to shield the touch operation according to the matching result.
CN201611173923.2A2016-12-162016-12-16 A method, device and mobile terminal for preventing false touch of a touch buttonPendingCN106598249A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201611173923.2ACN106598249A (en)2016-12-162016-12-16 A method, device and mobile terminal for preventing false touch of a touch button

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201611173923.2ACN106598249A (en)2016-12-162016-12-16 A method, device and mobile terminal for preventing false touch of a touch button

Publications (1)

Publication NumberPublication Date
CN106598249Atrue CN106598249A (en)2017-04-26

Family

ID=58599216

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201611173923.2APendingCN106598249A (en)2016-12-162016-12-16 A method, device and mobile terminal for preventing false touch of a touch button

Country Status (1)

CountryLink
CN (1)CN106598249A (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107329757A (en)*2017-06-292017-11-07努比亚技术有限公司Mobile terminal key adaptive approach, mobile terminal and readable storage medium storing program for executing
CN107390936A (en)*2017-07-312017-11-24北京小米移动软件有限公司Trigger action processing method, device and computer-readable recording medium
CN107450773A (en)*2017-07-252017-12-08维沃移动通信有限公司A kind of false-touch prevention method, terminal and computer-readable recording medium
CN107479805A (en)*2017-08-212017-12-15深圳市邦华电子有限公司The control method and device of graphic user interface
CN107678591A (en)*2017-09-302018-02-09联想(北京)有限公司A kind of mode control method and terminal
CN107831966A (en)*2017-10-272018-03-23北京珠穆朗玛移动通信有限公司Method, mobile terminal and the storage medium of false-touch prevention
CN108039881A (en)*2017-12-222018-05-15北京顺源开华科技有限公司A kind of electronic equipment control method, device and electronic equipment
CN108804138A (en)*2018-06-052018-11-13Oppo(重庆)智能科技有限公司application operating optimization method, device, storage medium and terminal device
WO2019024056A1 (en)*2017-08-032019-02-07华为技术有限公司Anti-misoperation method and terminal
CN109976580A (en)*2019-03-262019-07-05深圳市火王燃器具有限公司A kind of false-touch prevention control method and device of intelligence kitchen appliance touch screen
CN110049190A (en)*2019-04-182019-07-23南京东屋电气有限公司Portable mobile apparatus, control method, program and its storage medium
WO2019196864A1 (en)*2018-04-132019-10-17维沃移动通信有限公司Control method for virtual button and mobile terminal
WO2020029975A1 (en)*2018-08-072020-02-13西安中兴新软件有限责任公司Control method, terminal, and storage medium
CN112698745A (en)*2020-12-282021-04-23维沃移动通信有限公司Control display method and electronic equipment
CN113093930A (en)*2020-01-082021-07-09北京小米移动软件有限公司Touch signal processing method, device and medium
CN114138117A (en)*2021-12-062022-03-04塔普翊海(上海)智能科技有限公司Virtual keyboard input method and system based on virtual reality scene
CN115599244A (en)*2022-10-312023-01-13深圳市一科时代科技发展有限公司(Cn)Portable communication equipment with prevent mistake and touch key structure

Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103309756A (en)*2013-06-142013-09-18广东欧珀移动通信有限公司Method for preventing application program from quitting or being interrupted accidently and mobile terminal
CN103699318A (en)*2014-01-062014-04-02联想(北京)有限公司Touch response method and touch response device of electronic device
CN103809867A (en)*2012-11-132014-05-21联想(北京)有限公司Control method, device and electronic equipment
CN103995668A (en)*2014-05-142014-08-20联想(北京)有限公司Information processing method and electronic device
CN104156171A (en)*2014-08-292014-11-19广东欧珀移动通信有限公司Method and device for preventing touch key misoperations in landscape screen state of mobile terminal
CN104238912A (en)*2014-08-222014-12-24小米科技有限责任公司Application control method and application control device
CN105426048A (en)*2015-11-192016-03-23广东欧珀移动通信有限公司 Method and device for preventing misoperation of application program
CN105739769A (en)*2016-01-292016-07-06广东欧珀移动通信有限公司 A method and terminal for displaying touch keys

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103809867A (en)*2012-11-132014-05-21联想(北京)有限公司Control method, device and electronic equipment
CN103309756A (en)*2013-06-142013-09-18广东欧珀移动通信有限公司Method for preventing application program from quitting or being interrupted accidently and mobile terminal
CN103699318A (en)*2014-01-062014-04-02联想(北京)有限公司Touch response method and touch response device of electronic device
CN103995668A (en)*2014-05-142014-08-20联想(北京)有限公司Information processing method and electronic device
CN104238912A (en)*2014-08-222014-12-24小米科技有限责任公司Application control method and application control device
CN104156171A (en)*2014-08-292014-11-19广东欧珀移动通信有限公司Method and device for preventing touch key misoperations in landscape screen state of mobile terminal
CN105426048A (en)*2015-11-192016-03-23广东欧珀移动通信有限公司 Method and device for preventing misoperation of application program
CN105739769A (en)*2016-01-292016-07-06广东欧珀移动通信有限公司 A method and terminal for displaying touch keys

Cited By (21)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107329757A (en)*2017-06-292017-11-07努比亚技术有限公司Mobile terminal key adaptive approach, mobile terminal and readable storage medium storing program for executing
CN107450773A (en)*2017-07-252017-12-08维沃移动通信有限公司A kind of false-touch prevention method, terminal and computer-readable recording medium
CN107450773B (en)*2017-07-252021-03-16维沃移动通信有限公司 A kind of anti-mistouch method, terminal and computer-readable storage medium
CN107390936A (en)*2017-07-312017-11-24北京小米移动软件有限公司Trigger action processing method, device and computer-readable recording medium
WO2019024056A1 (en)*2017-08-032019-02-07华为技术有限公司Anti-misoperation method and terminal
CN107479805A (en)*2017-08-212017-12-15深圳市邦华电子有限公司The control method and device of graphic user interface
CN107678591A (en)*2017-09-302018-02-09联想(北京)有限公司A kind of mode control method and terminal
CN107831966A (en)*2017-10-272018-03-23北京珠穆朗玛移动通信有限公司Method, mobile terminal and the storage medium of false-touch prevention
CN108039881A (en)*2017-12-222018-05-15北京顺源开华科技有限公司A kind of electronic equipment control method, device and electronic equipment
WO2019196864A1 (en)*2018-04-132019-10-17维沃移动通信有限公司Control method for virtual button and mobile terminal
CN108804138A (en)*2018-06-052018-11-13Oppo(重庆)智能科技有限公司application operating optimization method, device, storage medium and terminal device
WO2020029975A1 (en)*2018-08-072020-02-13西安中兴新软件有限责任公司Control method, terminal, and storage medium
CN110825293A (en)*2018-08-072020-02-21西安中兴新软件有限责任公司Control method, terminal and storage medium
CN109976580A (en)*2019-03-262019-07-05深圳市火王燃器具有限公司A kind of false-touch prevention control method and device of intelligence kitchen appliance touch screen
CN110049190A (en)*2019-04-182019-07-23南京东屋电气有限公司Portable mobile apparatus, control method, program and its storage medium
CN113093930A (en)*2020-01-082021-07-09北京小米移动软件有限公司Touch signal processing method, device and medium
CN113093930B (en)*2020-01-082024-08-23北京小米移动软件有限公司Touch signal processing method, device and medium
CN112698745A (en)*2020-12-282021-04-23维沃移动通信有限公司Control display method and electronic equipment
CN114138117A (en)*2021-12-062022-03-04塔普翊海(上海)智能科技有限公司Virtual keyboard input method and system based on virtual reality scene
CN114138117B (en)*2021-12-062024-02-13塔普翊海(上海)智能科技有限公司Virtual keyboard input method and system based on virtual reality scene
CN115599244A (en)*2022-10-312023-01-13深圳市一科时代科技发展有限公司(Cn)Portable communication equipment with prevent mistake and touch key structure

Similar Documents

PublicationPublication DateTitle
CN106598249A (en) A method, device and mobile terminal for preventing false touch of a touch button
US10969903B2 (en)Method, device and mobile terminal for preventing false-touch on touch screen
CN106681638B (en)A kind of touch screen control method, device and mobile terminal
CN106527818B (en) A control method, device and mobile terminal for touch operation on a mobile terminal
CN106708263A (en) Method, device and mobile terminal for preventing false touch of touch screen
CN106855782B (en) A method, device and terminal for preventing accidental touch
CN106775087B (en) A touch screen control method, device and mobile terminal of a mobile terminal
CN106598335B (en)A kind of touch screen control method, device and mobile terminal of mobile terminal
CN106775405A (en) Method and device for preventing false touch on touch screen of mobile terminal, and mobile terminal
CN106406633A (en) A method, device and mobile terminal for preventing false touches on the edge of a touch screen
US10466849B2 (en)Method and terminal for preventing unintentional triggering of a touch key and storage medium
CN106855784A (en) Method, device and terminal for preventing false triggering of touch keys
CN106681637B (en)Touch screen display method and device and mobile terminal
CN106855783A (en) A method, device and mobile terminal for preventing false touches
CN106681555A (en)Touch screen control method and device of mobile terminal and mobile terminal
CN106775407A (en) Method and device for controlling touch screen of mobile terminal and mobile terminal
CN106855785A (en) A method, device and mobile terminal for realizing anti-mistouch screen when holding with both hands
CN106708520A (en)Touch screen control method and device of mobile terminal and mobile terminal
CN106681635A (en)Method and device for preventing split screen touch by mistake and mobile terminal
CN106775085A (en)A kind of method of screen edge false-touch prevention, device and mobile terminal
CN106775086A (en) Method and device for controlling touch screen of mobile terminal and mobile terminal
CN106681554A (en)Mobile terminal touch screen control method and device and mobile terminal
CN106775404A (en) A method, device and mobile terminal for preventing false touches on a display interface
CN106502470A (en) Method, device and terminal for preventing false triggering of touch buttons
CN106681636A (en) A method, device and mobile terminal for preventing false touches

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20170426

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp