Movatterモバイル変換


[0]ホーム

URL:


CN106855784A - Method, device and terminal for preventing false triggering of touch keys - Google Patents

Method, device and terminal for preventing false triggering of touch keys
Download PDF

Info

Publication number
CN106855784A
CN106855784ACN201611166078.6ACN201611166078ACN106855784ACN 106855784 ACN106855784 ACN 106855784ACN 201611166078 ACN201611166078 ACN 201611166078ACN 106855784 ACN106855784 ACN 106855784A
Authority
CN
China
Prior art keywords
touch
touch operation
duration
key
detecting
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
CN201611166078.6A
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 CN201611166078.6ApriorityCriticalpatent/CN106855784A/en
Publication of CN106855784ApublicationCriticalpatent/CN106855784A/en
Priority to PCT/CN2017/107535prioritypatent/WO2018107898A1/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The invention discloses a method, a device and a terminal for preventing false triggering of a touch key. The method is applied to a terminal with a touch key and a touch screen, and comprises the following steps: when the current direction state of the touch screen is a first direction state and/or the application type of the currently displayed application program is a preset application type, detecting a first touch operation on the touch key; and when the duration of the first touch operation is less than the preset duration, determining that the first touch operation is misoperation. The invention avoids the misoperation that the duration of the first touch operation is shorter than the preset time length, and reduces the occurrence of false triggering of the touch key.

Description

Translated fromChinese
防止触摸按键误触发的方法、装置及终端Method, device and terminal for preventing false triggering of touch keys

技术领域technical field

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

背景技术Background technique

目前,智能手机上通常都设置有触摸屏和触摸按键。触摸屏用于显示用户交互界面,以及接收用户的输入操作(例如点击、滑动等)。触摸按键通常邻近触摸屏设置,用于实现HOME键、返回键、菜单键等常用功能。当用户使用智能手机玩游戏时,手指在触摸屏上进行滑动操作时偶尔会滑动到触摸按键的感应区域,进而触发触摸按键的功能,如导致返回桌面、中断应用程序等误触发问题。At present, touch screens and touch buttons are usually provided on smart phones. The touch screen is used for displaying a user interaction interface, and receiving user input operations (such as clicking, sliding, etc.). The touch keys are usually set adjacent to the touch screen, and are used to implement common functions such as a HOME key, a return key, and a menu key. When a user uses a smartphone to play a game, the finger occasionally slides to the sensing area of the touch button when sliding on the touch screen, thereby triggering the function of the touch button, such as returning to the desktop, interrupting the application program, and other false triggering problems.

发明内容Contents of the invention

有鉴于此,本发明实施例提供一种防止触摸按键误触发的方法、装置及终端,以减少触摸按键误触发的发生。In view of this, embodiments of the present invention provide a method, device and terminal for preventing false triggering of touch keys, so as to reduce the occurrence of false triggering of touch keys.

第一方面,本发明实施例提供了一种防止触摸按键误触发的方法,应用于具有触摸按键和触摸屏的终端,所述方法包括:In the first aspect, an embodiment of the present invention provides a method for preventing false triggering of a touch button, which is applied to a terminal with a touch button and a touch screen, and the method includes:

在所述当前触摸屏方向状态为第一方向状态和/或当前显示的应用程序的应用类型为预设应用类型时,检测对所述触摸按键的第一触摸操作;When the current touch screen direction state is the first direction state and/or the application type of the currently displayed application program is a preset application type, detecting a first touch operation on the touch button;

在所述第一触摸操作的持续时间小于预设时长时,确定所述第一触摸操作为误操作。When the duration of the first touch operation is less than a preset duration, it is determined that the first touch operation is a misoperation.

第二方面,本发明实施例还提供了一种防止触摸按键误触发的装置,集成于具有触摸按键和触摸屏的终端,所述装置包括:In the second aspect, the embodiment of the present invention also provides a device for preventing false triggering of touch keys, which is integrated into a terminal with touch keys and a touch screen, and the device includes:

第一触摸操作检测模块,用于在所述当前触摸屏方向状态为第一方向状态和/或当前显示的应用程序的应用类型为预设应用类型时,检测对所述触摸按键的第一触摸操作;A first touch operation detection module, configured to detect a first touch operation on the touch button when the current orientation state of the touch screen is the first orientation state and/or the application type of the currently displayed application program is a preset application type ;

误操作确定模块,用于在所述第一触摸操作的持续时间小于预设时长时,确定所述第一触摸操作为误操作。A misoperation determination module, configured to determine that the first touch operation is a misoperation when the duration of the first touch operation is less than a preset duration.

第三方面,本发明实施例还提供了一种终端,该终端具有触摸按键和触摸屏,包括:壳体、处理器、存储器、电路板和电源电路;In a third aspect, an embodiment of the present invention also provides a terminal, the terminal has a touch button and a touch screen, including: a housing, a processor, a memory, a circuit board, and a power supply circuit;

所述电路板安置在所述壳体围成的空间内部;The circuit board is placed inside the space enclosed by the housing;

所述处理器和所述存储器设置在所述电路板上;The processor and the memory are arranged on the circuit board;

所述电源电路,用于为所述终端的各个电路或器件供电;The power supply circuit is used to supply power to each circuit or device of the terminal;

所述存储器,用于存储可执行程序代码;The memory is used to store executable program codes;

所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行:The processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute:

在所述当前触摸屏方向状态为第一方向状态和/或当前显示的应用程序的应用类型为预设应用类型时,检测对所述触摸按键的第一触摸操作;When the current touch screen direction state is the first direction state and/or the application type of the currently displayed application program is a preset application type, detecting a first touch operation on the touch button;

在所述第一触摸操作的持续时间小于预设时长时,确定所述第一触摸操作为误操作。When the duration of the first touch operation is less than a preset duration, it is determined that the first touch operation is a misoperation.

本发明实施例的技术方案,通过在所述当前触摸屏方向状态为第一方向状态和/或当前显示的应用程序的应用类型为预设应用类型时,检测对所述触摸按键的第一触摸操作,在所述第一触摸操作的持续时间小于预设时长时,确定所述第一触摸操作为误操作,从而避免了第一触摸操作的持续时间小于预设时长的误操作,减少了触摸按键的误触发的发生。The technical solution of the embodiment of the present invention detects the first touch operation on the touch button when the current touch screen direction state is the first direction state and/or the application type of the currently displayed application program is a preset application type , when the duration of the first touch operation is less than the preset duration, it is determined that the first touch operation is a misoperation, thereby avoiding the misoperation that the duration of the first touch operation is less than the preset duration, and reducing the number of touch keys occurrence of false triggers.

附图说明Description of drawings

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

图2a是本发明实施例提供的防止触摸按键误触发的方法中的终端的示意图;Fig. 2a is a schematic diagram of a terminal in a method for preventing false triggering of a touch button provided by an embodiment of the present invention;

图2b是本发明实施例提供的防止触摸按键误触发的方法中的终端的横屏状态的示例图;Fig. 2b is an example diagram of the horizontal screen state of the terminal in the method for preventing false triggering of touch keys provided by an embodiment of the present invention;

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

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

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

图6为本发明实施例提供的一种终端的结构示意图。FIG. 6 is a schematic structural diagram of a 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 parts related to the present invention are shown in the drawings but not all content.

在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各步骤描述成顺序的处理,但是其中的许多步骤可以被并行地、并发地或者同时实施。此外,各步骤的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。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是本发明实施例提供的一种防止触摸按键误触发的方法的流程图,本实施例可适用于防止触摸按键误触发的情况,该方法应用于具有触摸按键和触摸屏的终端,可以由防止触摸按键误触发的装置来执行,该装置可以由软件和/或硬件来实现,该装置可以配置在手机或平板电脑等具有触摸屏的终端中,该方法具体包括如下步骤:Figure 1 is a flow chart of a method for preventing false triggering of touch keys provided by an embodiment of the present invention. This embodiment is applicable to preventing false triggering of touch keys. This method is applied to a terminal with touch keys and a touch screen, and can be implemented by The device for preventing false triggering of touch keys is implemented. The device can be implemented by software and/or hardware. The device can be configured in a terminal with a touch screen such as a mobile phone or a tablet computer. The method specifically includes the following steps:

步骤110,在所述当前触摸屏方向状态为第一方向状态和/或当前显示的应用程序的应用类型为预设应用类型时,检测对所述触摸按键的第一触摸操作。Step 110, when the current orientation state of the touch screen is the first orientation state and/or the application type of the currently displayed application program is a preset application type, detect a first touch operation on the touch button.

其中,触摸按键的分布因终端的品牌型号不同而不同,一般位于触摸屏的下侧位置。示例性地,图2a是本发明实施例提供的防止触摸按键误触发的方法中的终端的示意图。如图2a所示,终端包括触摸按键201和触摸区域202。触摸区域202指触摸屏上用于显示画面的区域。触摸按键201可包括HOME键、返回键、搜索键以及菜单键中的至少一种。其中,触摸按键201可以为独立于触摸屏的电容感应式按键,也可以为利用触摸屏感应电路实现的电容感应式按键。用户触摸这些触摸按键,都会导致返回上一级或返回桌面,并中断当前显示的应用程序。Wherein, the distribution of the touch keys varies with different brands and models of the terminals, and is generally located at the lower side of the touch screen. Exemplarily, FIG. 2a is a schematic diagram of a terminal in the method for preventing false triggering of a touch key provided by an embodiment of the present invention. As shown in FIG. 2 a , the terminal includes a touch button 201 and a touch area 202 . The touch area 202 refers to an area on the touch screen for displaying images. The touch key 201 may include at least one of a HOME key, a return key, a search key and a menu key. Wherein, the touch key 201 may be a capacitive sensing key independent of the touch screen, or may be a capacitive sensing key realized by a touch screen sensing circuit. When the user touches these touch buttons, it will cause returning to the previous level or returning to the desktop, and interrupt the currently displayed application.

当用户在触摸屏上的手势操作容易使手指进入所述触摸按键的感应区域时,所述触摸屏的方向状态为第一方向状态。触摸屏方向状态包括第一方向状态和第二方向状态,可以用重力传感器或其他类型的传感器来检测当前触摸屏方向状态,也可以通过判断用户手持的位置判断当前触摸屏方向状态。在本实施例中,第一方向状态为横屏状态,第二方向状态为竖屏状态。在其他实施例中,第一方向状态可以为竖屏状态,相应地,第二方向状态为横屏状态。图2b是本发明实施例提供的防止触摸按键误触发的方法中的终端的横屏状态的示例图。When the user's gesture operation on the touch screen easily makes the finger enter the sensing area of the touch key, the direction state of the touch screen is the first direction state. The touch screen orientation state includes the first orientation state and the second orientation state. The current touch screen orientation state can be detected by a gravity sensor or other types of sensors, or the current touch screen orientation state can be judged by judging the position of the user's hand. In this embodiment, the state of the first direction is the state of the horizontal screen, and the state of the second direction is the state of the vertical screen. In other embodiments, the first orientation state may be a portrait screen state, and correspondingly, the second orientation state is a landscape screen state. Fig. 2b is an example diagram of a terminal in a landscape state in the method for preventing false triggering of a touch key provided by an embodiment of the present invention.

示例性的,用户进行观看电视剧、娱乐视频或者玩游戏的时候,会将触摸屏方向状态调整为横屏状态,方便用户观看和操作游戏。用户进行发送短信或者拨打电话的时候,一般情况下会将触摸屏方向调整为竖屏状态,方便用户使用。在横屏状态下,由于触摸按键在触摸屏的左侧或者右侧,用户的手一般会握持在终端的左侧和右侧,从而用户在触控触摸屏的过程中容易由于手指的活动而误操作触摸按键,从而横屏状态下更加容易由于误操作而导致触摸按键的误触发,从而中断当前的应用程序。其中,可以通过多种方式获取当前触摸屏方向状态,例如可以通过握持传感器的检测数据来判断,在安卓系统中,还可以通过安卓标准接口来判断。Exemplarily, when the user is watching TV dramas, entertainment videos or playing games, the orientation state of the touch screen will be adjusted to the landscape state, which is convenient for the user to watch and operate the game. When the user sends a text message or makes a call, generally the orientation of the touch screen is adjusted to a vertical screen state, which is convenient for the user. In the horizontal screen state, since the touch buttons are on the left or right side of the touch screen, the user's hands will generally be held on the left and right sides of the terminal, so that the user is likely to mistakenly touch the touch screen due to finger activities. Operate the touch button, so that in the horizontal screen state, it is easier to cause the false triggering of the touch button due to misoperation, thereby interrupting the current application. Among them, the current orientation state of the touch screen can be obtained in various ways, for example, it can be judged through the detection data of the grip sensor, and in the Android system, it can also be judged through the Android standard interface.

应用类型是指应用程序的类型,如社交应用(如微信、QQ等)、地图导航类应用、网购支付类应用、通话通讯类应用、生活消费类应用、查询工具类应用、拍摄美化类应用、影音播放类应用(包括视频类和音频类)、图书阅读类应用、浏览器类应用以及游戏类应用等。在某类应用程序中,用户特别不希望由于误操作而导致应用程序中断的发生,如游戏类应用或视频类应用等,在游戏类应用中,如果用户正在玩游戏,这个时候双手往往都在触摸屏上活动,那么就有较大的概率碰到触摸按键,导致返回桌面、中断游戏,如果用户再重新打开该游戏,就会导致用户重新开始该游戏,而不能接着中断的进度继续玩,这给用户带来了不好的体验。Application type refers to the type of application, such as social applications (such as WeChat, QQ, etc.), map navigation applications, online shopping payment applications, call and communication applications, daily consumption applications, query tool applications, photography and beautification applications, Audio-visual playback applications (including video and audio), book reading applications, browser applications, and game applications, etc. In certain types of applications, users do not want the application to be interrupted due to misuse, such as game applications or video applications. In game applications, if the user is playing a game, both hands are often on the If there is any activity on the touch screen, there is a high probability of hitting the touch button, resulting in returning to the desktop and interrupting the game. If the user reopens the game, it will cause the user to restart the game instead of continuing to play at the interrupted progress. It brings bad experience to users.

有些应用类型的应用程序在第一方向状态下更加容易导致触摸按键的误操作,因此在第一方向状态下同时应用程序的应用类型是预设应用类型时,更加需要采取措施以防止用户误操作触摸按键导致的触摸按键的误触发。Some application types are more likely to cause misoperation of touch buttons in the first direction state, so when the application type of the application is the default application type in the first direction state, it is more necessary to take measures to prevent users from misoperation False triggering of the touch button caused by touching the button.

因此,在上述三种情况下,都需要采取措施以防止用户误操作触摸按键导致的触摸按键的误触发。上述三种情况,即第一种情况是在所述当前触摸屏方向状态为第一方向状态,第二种情况是当前显示的应用程序的应用类型为预设应用类型,第三种情况是当前触摸屏方向状态为第一方向状态和当前显示的应用程序的应用类型为预设应用类型。Therefore, in the above three cases, measures need to be taken to prevent false triggering of the touch key caused by the user's misoperation of the touch key. The above three cases, that is, the first case is that the current touch screen direction state is the first direction state, the second case is that the application type of the currently displayed application program is a preset application type, and the third case is that the current touch screen The orientation state is the first orientation state and the application type of the currently displayed application program is the preset application type.

这里,为了防止用户误操作触摸按键而导致触摸按键的误触发,首先需要检测是否发生触摸按键的第一触摸操作。Here, in order to prevent false triggering of the touch key by the user's misoperation of the touch key, it is first necessary to detect whether a first touch operation of the touch key occurs.

示例性的,现有终端采用的触摸屏有电阻式触摸屏、电容式触摸屏和压电式触摸屏等,当用户触碰触摸屏时,触摸屏会检测到触摸信息,进而识别出用户的触摸操作。以电容式触摸屏为例,用户在触碰触摸屏时,触摸屏可以感应到电容的变化,根据该电容的变化识别到触摸信息,触摸信息包括x坐标、y坐标、接触面的尺寸(包括长和宽等)以及触摸的手指数量等,从而利用触摸信息检测到了触摸屏上的触摸操作的发生位置。其中,在没有发生触摸操作时,触摸屏的电容有一个基准值,在发生触摸操作时,触摸屏的电容相对于基准值的变化量,即所述电容的变化,只有当触摸屏的电容的变化大于电容变化阀值时,才确定发生了触摸操作。Exemplarily, touch screens used in existing terminals include resistive touch screens, capacitive touch screens, and piezoelectric touch screens. When a user touches the touch screen, the touch screen detects touch information and then recognizes the user's touch operation. Taking the capacitive touch screen as an example, when the user touches the touch screen, the touch screen can sense the change of capacitance, and recognize the touch information according to the change of capacitance. The touch information includes x coordinate, y coordinate, size of the contact surface (including length and width) etc.) and the number of fingers touched, etc., so that the position where the touch operation on the touch screen occurs is detected by using the touch information. Wherein, when no touch operation occurs, the capacitance of the touch screen has a reference value, and when a touch operation occurs, the amount of change of the capacitance of the touch screen relative to the reference value, that is, the change of the capacitance, only when the change of the capacitance of the touch screen is greater than the capacitance When the threshold value is changed, it is determined that a touch operation has occurred.

当用户触碰触摸按键引起的电容变化值大于电容变化阀值时,确定发生了触摸按键的第一触摸操作。When the capacitance change value caused by the user touching the touch key is greater than the capacitance change threshold, it is determined that the first touch operation of the touch key has occurred.

步骤120,在所述第一触摸操作的持续时间小于预设时长时,确定所述第一触摸操作为误操作。Step 120, when the duration of the first touch operation is less than a preset duration, determine that the first touch operation is a misoperation.

其中,所述第一触摸操作包括按下事件和弹起事件,按下事件即用户手指开始触碰触摸按键的事件,弹起事件即用户手指离开触摸按键的事件,所述第一触摸操作的持续时间即用户的触摸时长,是指检测到用户的第一触摸操作中的按下事件和弹起事件之间持续的时间,即在电容式触摸屏中,用户手指触碰触摸按键引起的电容变化值大于电容变化阀值的持续时间。Wherein, the first touch operation includes a press event and a pop-up event, the press event is the event that the user's finger starts to touch the touch key, the pop-up event is the event that the user's finger leaves the touch key, and the first touch operation The duration is the user's touch duration, which refers to the duration between the press event and the pop-up event in the first touch operation detected by the user, that is, in the capacitive touch screen, the capacitance change caused by the user's finger touching the touch button The duration for which the value is greater than the capacitance change threshold.

用户误操作触摸按键的时长一般较短,而用户正常触摸一次触摸按键到终端响应该触摸操作的时间一般为20毫秒~50毫秒。通过将预设时长设置的较大,如2秒,可以避免用户误操作触摸按键导致触摸按键的误触发。即在检测到第一触摸操作时不立即进行响应,而是确定第一触摸操作的持续时间,只有在第一触摸操作的持续时间不小于预设时长时才进行响应,如果第一触摸操作的持续时间小于预设时长,则确定所述第一触摸操作为误操作,对所述第一触摸操作不进行响应,即不触发所述触摸按键。The time for the user to misoperate the touch button is generally short, and the time from the user's normal touch of the touch button once to the terminal responding to the touch operation is generally 20 milliseconds to 50 milliseconds. By setting the preset time length to be relatively large, such as 2 seconds, it is possible to avoid false triggering of the touch button caused by the user's misoperation of the touch button. That is, when the first touch operation is detected, it does not respond immediately, but determines the duration of the first touch operation, and responds only when the duration of the first touch operation is not less than the preset duration, if the first touch operation If the duration is less than the preset duration, it is determined that the first touch operation is a misoperation, and no response is made to the first touch operation, that is, the touch button is not triggered.

其中,在所述第一触摸操作的持续时间小于预设时长时,确定所述第一触摸操作为误操作可选包括:Wherein, when the duration of the first touch operation is less than a preset duration, determining that the first touch operation is a misoperation may optionally include:

在检测到所述第一触摸操作对应的按下事件时,启动定时时长为所述预设时长的定时器;When a press event corresponding to the first touch operation is detected, start a timer whose timing duration is the preset duration;

如果在所述定时器的定时时间内,检测到所述第一触摸操作对应的弹起事件,则确定所述第一触摸操作为误操作。If the pop-up event corresponding to the first touch operation is detected within the timing of the timer, it is determined that the first touch operation is a misoperation.

在检测到触摸按键的第一触摸操作对应的按下事件时,即触摸按键产生中断信号且需要上报该第一触摸操作时,启动一个定时时长为所述预设时长的定时器,用以判断在定时器的定时时间内是否检测到第一触摸操作对应的弹起事件,如果检测到第一触摸操作对应的弹起事件,则确定所述第一触摸操作为误操作,对该第一触摸操作不进行响应,即不触发该触摸按键。通过启动定时时长为预设时长的定时器来判断第一触摸操作的持续时间,使得判断的更加准确。When the press event corresponding to the first touch operation of the touch button is detected, that is, when the touch button generates an interrupt signal and the first touch operation needs to be reported, a timer whose timing duration is the preset duration is started for judging Whether the pop-up event corresponding to the first touch operation is detected within the timing time of the timer, if the pop-up event corresponding to the first touch operation is detected, it is determined that the first touch operation is a misoperation, and the first touch The operation does not respond, that is, the touch key is not triggered. The duration of the first touch operation is judged by starting a timer with a preset duration, so that the judgment is more accurate.

本实施例的技术方案,通过在所述当前触摸屏方向状态为第一方向状态和/或当前显示的应用程序的应用类型为预设应用类型时,检测对所述触摸按键的第一触摸操作,在所述第一触摸操作的持续时间小于预设时长时,确定所述第一触摸操作为误操作,从而避免了第一触摸操作的持续时间小于预设时长的误操作,减少了触摸按键的误触发的发生。In the technical solution of this embodiment, when the current orientation state of the touch screen is the first orientation state and/or the application type of the currently displayed application program is the preset application type, by detecting the first touch operation on the touch button, When the duration of the first touch operation is less than the preset duration, it is determined that the first touch operation is a misoperation, thereby avoiding the misoperation that the duration of the first touch operation is less than the preset duration, and reducing the touch key Occurrence of false triggers.

在上述实施例的基础上,在所述当前触摸屏方向状态为第一方向状态和/或当前显示的应用程序的应用类型为预设应用类型时,检测对所述触摸按键的第一触摸操作之前,还可选包括:On the basis of the above embodiments, when the current touch screen direction state is the first direction state and/or the application type of the currently displayed application program is the preset application type, before detecting the first touch operation on the touch button , optionally including:

在终端的操作系统为安卓系统时,通过安卓标准接口获取当前触摸屏方向状态。When the operating system of the terminal is the Android system, the current touch screen orientation status is obtained through the Android standard interface.

在终端的操作系统为安卓系统的情况下,可以通过安卓标准接口来获取当前触摸屏方向状态,例如标准接口可以是getConfiguration()。通过安卓标准接口来获取当前触摸屏方向状态,使得获取到的触摸屏方向状态更加准确。When the operating system of the terminal is the Android system, the current touch screen orientation status can be acquired through the Android standard interface, for example, the standard interface can be getConfiguration(). The current orientation status of the touch screen is acquired through the Android standard interface, so that the acquired orientation status of the touch screen is more accurate.

图3是本发明实施例提供的另一种防止触摸按键误触发的方法的流程图,本实施例在上述实施例的基础上进行了优化,在检测对所述触摸按键的第一触摸操作之后,还进一步包括:在所述第一触摸操作的持续时间不小于所述预设时长时,响应所述第一触摸操作。该方法具体包括如下步骤:Fig. 3 is a flow chart of another method for preventing false triggering of touch buttons provided by an embodiment of the present invention. This embodiment is optimized on the basis of the above-mentioned embodiments. After detecting the first touch operation on the touch button , further comprising: responding to the first touch operation when the duration of the first touch operation is not less than the preset duration. The method specifically includes the following steps:

步骤310,在所述当前触摸屏方向状态为第一方向状态和/或当前显示的应用程序的应用类型为预设应用类型时,检测对所述触摸按键的第一触摸操作。Step 310, when the current orientation state of the touch screen is the first orientation state and/or the application type of the currently displayed application program is a preset application type, detect a first touch operation on the touch button.

步骤320,在所述第一触摸操作的持续时间小于预设时长时,确定所述第一触摸操作为误操作。Step 320, when the duration of the first touch operation is less than a preset duration, determine that the first touch operation is a misoperation.

步骤330,在所述第一触摸操作的持续时间不小于所述预设时长时,响应所述第一触摸操作。Step 330, when the duration of the first touch operation is not less than the preset duration, respond to the first touch operation.

在所述第一触摸操作的持续时间大于或者等于所述预设时长时,对所述第一触摸操作进行响应,即触发所述触摸按键。例如,用户触碰返回键,触摸时长即返回键的第一触摸操作的持续时间大于预设时长2秒时,则返回上一级;用户触碰HOME键,触摸时长即HOME键的第一触摸操作的持续时间大于预设时长2秒时,则返回桌面;用户触碰菜单键,触摸时长即菜单键的第一触摸操作的持续时间大于预设时长2秒时,则显示正在运行的应用程序。When the duration of the first touch operation is greater than or equal to the preset duration, respond to the first touch operation, that is, trigger the touch button. For example, if the user touches the back button, the duration of the touch is the duration of the first touch operation of the return button is greater than the preset duration of 2 seconds, then return to the previous level; the user touches the HOME button, the duration of the touch is the first touch of the HOME button When the duration of the operation is longer than the preset duration of 2 seconds, it will return to the desktop; when the user touches the menu button, the duration of the first touch operation of the menu button is longer than the preset duration of 2 seconds, then the running application will be displayed .

示例性的,在检测到触摸按键的第一触摸操作,即触摸按键产生中断信号且需要上报该第一触摸操作时,先不上报该第一触摸操作,而触发一个定时器并将触摸按键的第一触摸操作的上报交给该定时器去处理,而定时器设定为预设时长后触发,当预设时长到达时检测当前的触摸按键是否还处于按下状态,如果处于按下状态则上报该第一触摸操作。Exemplarily, when the first touch operation of the touch button is detected, that is, when the touch button generates an interrupt signal and the first touch operation needs to be reported, the first touch operation is not reported first, but a timer is triggered and the touch button The report of the first touch operation is handed over to the timer for processing, and the timer is set to trigger after the preset time length. When the preset time length arrives, it is detected whether the current touch button is still in the pressed state. If it is in the pressed state, then Report the first touch operation.

本实施例的技术方案,在上述实施例的基础上,通过在第一触摸操作的持续时间不小于所述预设时长时,响应所述第一触摸操作,由于用户真正想要操作某一触摸按键时,其触摸时长一般较长,因此,通过触摸时长不小于预设时长时对第一触摸操作进行响应,减少了触摸按键的误触发的发生。In the technical solution of this embodiment, on the basis of the above embodiments, by responding to the first touch operation when the duration of the first touch operation is not less than the preset duration, since the user really wants to operate a certain touch When a key is pressed, the touch time is generally longer. Therefore, by responding to the first touch operation when the touch time is not less than the preset time, the occurrence of false triggering of the touch key is reduced.

图4是本发明实施例提供的另一种防止触摸按键误触发的方法的流程图,本实施例在上述实施例的基础上进行了优化,所述触摸屏包括触摸区域,在所述第一触摸操作的持续时间不小于所述预设时长时,响应所述第一触摸操作进一步包括:在所述第一触摸操作的持续时间不小于所述预设时长时,判断在所述持续时间中有没有检测到所述触摸区域的第二触摸操作;如果在所述持续时间中没有检测到所述触摸区域的第二触摸操作,则响应所述第一触摸操作。该方法具体包括如下步骤:Fig. 4 is a flow chart of another method for preventing false triggering of touch keys provided by an embodiment of the present invention. This embodiment is optimized on the basis of the above-mentioned embodiments. When the duration of the operation is not less than the preset duration, responding to the first touch operation further includes: when the duration of the first touch operation is not shorter than the preset duration, judging that there is No second touch operation on the touch area is detected; if no second touch operation on the touch area is detected within the duration, respond to the first touch operation. The method specifically includes the following steps:

步骤410,在所述当前触摸屏方向状态为第一方向状态和/或当前显示的应用程序的应用类型为预设应用类型时,检测对所述触摸按键的第一触摸操作。Step 410, when the current orientation state of the touch screen is the first orientation state and/or the application type of the currently displayed application program is a preset application type, detect a first touch operation on the touch button.

步骤420,在所述第一触摸操作的持续时间小于预设时长时,确定所述第一触摸操作为误操作。Step 420, when the duration of the first touch operation is less than a preset duration, determine that the first touch operation is a misoperation.

步骤430,在所述第一触摸操作的持续时间不小于所述预设时长时,判断在所述持续时间中有没有检测到手势触摸区域的第二触摸操作。Step 430, when the duration of the first touch operation is not less than the preset duration, determine whether a second touch operation of the gesture touch area is detected within the duration.

本实施例中,为了进一步减少触摸按键误触发的发生,在第一触摸操作的持续时间不小于所述预设时长时,判断在该触摸按键的持续时间中是否检测到触摸区域的第二触摸操作。因为用户在游戏中,会一直操作触摸区域进行游戏,这时有可能会不小心碰到触摸按键,因此可以通过对触摸按键和触摸区域的操作的互斥机制来进一步判断用户对触摸按键的操作是否为误操作。In this embodiment, in order to further reduce the occurrence of false triggering of the touch button, when the duration of the first touch operation is not less than the preset duration, it is judged whether a second touch of the touch area is detected during the duration of the touch button operate. Because the user will always operate the touch area to play the game in the game, and may accidentally touch the touch button at this time, so the user's operation on the touch button can be further judged through the mutual exclusion mechanism for the operation of the touch button and the touch area Is it a misuse.

步骤440,如果在所述持续时间中没有检测到所述触摸区域的第二触摸操作,则响应所述第一触摸操作。Step 440, if no second touch operation on the touch area is detected within the duration, respond to the first touch operation.

如果在所述持续时间中没有检测到触摸区域的第二触摸操作,则可以确定触摸按键的第一触摸操作不是误操作,并对该第一触摸操作进行响应,即如果第一触摸操作发生在返回键上并持续预设时长,则返回上一级;如果第一触摸操作发生在HOME键上并持续预设时长,则返回桌面;如果第一触摸操作发生在菜单键上并持续预设时长,则显示正在运行的应用程序的菜单。If the second touch operation of the touch area is not detected within the duration, it can be determined that the first touch operation of the touch key is not a misoperation, and respond to the first touch operation, that is, if the first touch operation occurs in If the first touch operation occurs on the HOME key and lasts for a preset time, return to the desktop; if the first touch operation occurs on the menu button and lasts for a preset time , the menu of the running application is displayed.

本实施例的技术方案,在上述实施例的基础上,通过在第一触摸操作的持续时间不小于预设时长时,进一步判断在所述持续时间中是否检测到触摸区域的第二触摸操作,如果在所述持续时间中没有检测到触摸区域的第二触摸操作,则响应所述第一触摸操作,从而通过触摸区域和触摸按键的互斥操作机制,进一步减少了触摸按键的误触发的发生。In the technical solution of this embodiment, on the basis of the above embodiments, when the duration of the first touch operation is not less than a preset duration, it is further judged whether a second touch operation of the touch area is detected within the duration, If the second touch operation of the touch area is not detected within the duration, then respond to the first touch operation, thereby further reducing the occurrence of false triggering of the touch key through the mutually exclusive operation mechanism of the touch area and the touch key .

在上述实施例的基础上,判断在所述持续时间中有没有检测到所述触摸区域的第二触摸操作之后,还可选包括:On the basis of the above-mentioned embodiments, after determining whether the second touch operation of the touch area is detected within the duration, it may also optionally include:

如果在所述持续时间中检测到所述触摸区域的第二触摸操作,则确定所述第一触摸操作为误操作并响应所述第二触摸操作。If a second touch operation on the touch area is detected within the duration, it is determined that the first touch operation is a misoperation and the second touch operation is responded to.

如果在所述持续时间中检测到触摸区域的第二触摸操作,则可以确定所述触摸按键的第一触摸操作为误操作,这时对该第一触摸操作采取不响应的方式以避免该触摸按键的误触发,同时响应触摸区域的第二触摸操作。If the second touch operation of the touch area is detected within the duration, it can be determined that the first touch operation of the touch key is a misoperation, and at this time, a non-responsive method is adopted to avoid the touch operation. False triggering of the key, while responding to the second touch operation of the touch area.

示例性的,用户触摸返回键的触摸时长大于预设时长2秒时,如果检测到触摸区域的第二触摸操作,则确定用户触摸返回键的操作为误操作,而用户对触摸区域的第二触摸操作是用户真正意识的操作,这时响应用户对触摸区域的第二触摸操作,而不响应用户触碰返回键的第一触摸操作,即不返回上一级。通过触摸区域和触摸按键的互斥操作机制,进一步减少了触摸按键的误触发的发生。Exemplarily, when the touch duration of the user touching the return key is longer than the preset duration of 2 seconds, if a second touch operation on the touch area is detected, it is determined that the operation of the user touching the return key is a misoperation, and the user's second touch operation on the touch area The touch operation is an operation of the user's real awareness. At this time, the user responds to the second touch operation on the touch area, but does not respond to the user's first touch operation of touching the return key, that is, does not return to the previous level. Through the mutually exclusive operation mechanism of the touch area and the touch key, the occurrence of false triggering of the touch key is further reduced.

图5是本发明实施例提供的一种防止触摸按键误触发的装置的结构示意图,该装置集成于具有触摸按键和触摸屏的终端,如图5所示,本实施例所述的防止触摸按键误触发的装置包括:第一触摸操作检测模块510和误操作确定模块520。Fig. 5 is a schematic structural diagram of a device for preventing false triggering of touch keys provided by an embodiment of the present invention. The device is integrated into a terminal with touch keys and a touch screen. The triggered device includes: a first touch operation detection module 510 and a misoperation determination module 520 .

其中,第一触摸操作检测模块510,用于在所述当前触摸屏方向状态为第一方向状态和/或当前显示的应用程序的应用类型为预设应用类型时,检测对所述触摸按键的第一触摸操作;Wherein, the first touch operation detection module 510 is configured to detect the first touch operation on the touch key when the current touch screen direction state is the first direction state and/or the application type of the currently displayed application program is a preset application type. One touch operation;

误操作确定模块520,用于在所述第一触摸操作的持续时间小于预设时长时,确定所述第一触摸操作为误操作。The misoperation determination module 520 is configured to determine that the first touch operation is a misoperation when the duration of the first touch operation is less than a preset duration.

可选的,所述误操作确定模块包括:Optionally, the misoperation determination module includes:

定时器启动单元,用于在检测到第一触摸操作对应的按下事件时,启动定时时长为所述预设时长的定时器;A timer starting unit, configured to start a timer whose timing duration is the preset duration when a press event corresponding to the first touch operation is detected;

误操作确定单元,用于如果在所述定时器的定时时间内,检测到所述第一触摸操作对应的弹起事件,则确定所述第一触摸操作为误操作。The misoperation determination unit is configured to determine that the first touch operation is a misoperation if a pop-up event corresponding to the first touch operation is detected within the timing of the timer.

可选的,还包括:Optionally, also include:

第一触摸操作响应模块,用于在检测对所述触摸按键的第一触摸操作之后,在所述第一触摸操作的持续时间不小于所述预设时长时,响应所述第一触摸操作。The first touch operation response module is configured to respond to the first touch operation when the duration of the first touch operation is not less than the preset duration after detecting the first touch operation on the touch key.

可选的,所述触摸屏包括触摸区域,所述第一触摸操作响应模块包括:Optionally, the touch screen includes a touch area, and the first touch operation response module includes:

判断单元,用于在所述第一触摸操作的持续时间不小于所述预设时长时,判断在所述持续时间中有没有检测到所述触摸区域的第二触摸操作;A judging unit, configured to judge whether a second touch operation on the touch area is detected during the duration when the duration of the first touch operation is not less than the preset duration;

第一触摸操作响应单元,用于如果在所述持续时间中没有检测到所述触摸区域的第二触摸操作,则响应所述第一触摸操作。The first touch operation response unit is configured to respond to the first touch operation if no second touch operation on the touch area is detected within the duration.

可选的,所述第一触摸操作响应模块还包括:Optionally, the first touch operation response module further includes:

第二触摸操作响应单元,用于判断在所述持续时间中有没有检测到所述触摸区域的第二触摸操作之后,如果在所述持续时间中检测到所述触摸区域的第二触摸操作,则确定所述第一触摸操作为误操作并响应所述第二触摸操作。The second touch operation response unit is configured to determine whether a second touch operation of the touch area is detected within the duration, if a second touch operation of the touch area is detected within the duration, Then determine that the first touch operation is a misoperation and respond to the second touch operation.

上述防止触摸按键误触发的装置可执行本发明任意实施例所提供的防止触摸按键误触发的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本发明任意实施例提供的防止触摸按键误触发的方法。The above-mentioned device for preventing false triggering of touch keys can execute the method for preventing false triggering of touch keys provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method. For technical details not exhaustively described in this embodiment, refer to the method for preventing false triggering of a touch key provided in any embodiment of the present invention.

本发明实施例还提供了一种终端,该终端具有触摸按键和触摸屏,包括:壳体、处理器、存储器、电路板和电源电路;The embodiment of the present invention also provides a terminal, the terminal has a touch button and a touch screen, including: a housing, a processor, a memory, a circuit board, and a power supply circuit;

所述电路板安置在所述壳体围成的空间内部;The circuit board is placed inside the space enclosed by the housing;

所述处理器和所述存储器设置在所述电路板上;The processor and the memory are arranged on the circuit board;

所述电源电路,用于为所述终端的各个电路或器件供电;The power supply circuit is used to supply power to each circuit or device of the terminal;

所述存储器,用于存储可执行程序代码;The memory is used to store executable program codes;

所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行:The processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to perform:

在所述当前触摸屏方向状态为第一方向状态和/或当前显示的应用程序的应用类型为预设应用类型时,检测对所述触摸按键的第一触摸操作;When the current touch screen direction state is the first direction state and/or the application type of the currently displayed application program is a preset application type, detecting a first touch operation on the touch button;

在所述第一触摸操作的持续时间小于预设时长时,确定所述第一触摸操作为误操作。When the duration of the first touch operation is less than a preset duration, it is determined that the first touch operation is a misoperation.

该终端可以包括本发明任意实施例提供的防止触摸按键误触发的装置。图6为本发明实施例提供的一种终端的结构示意图,如图6所示,该终端可以包括:存储器601、中央处理器(Central Processing Unit,以下简称CPU)602、外设接口603、RF(RadioFrequency,射频)电路605、音频电路606、扬声器611、电源管理芯片608、输入/输出(I/O)子系统609、触摸屏612、其他输入/控制设备610以及外部端口604,这些部件通过一个或多个通信总线或信号线607来通信。其中,电源管理芯片608为所述电源电路中的一个核心芯片。The terminal may include the device for preventing false triggering of touch keys provided by any embodiment of the present invention. FIG. 6 is a schematic structural diagram of a terminal provided by an embodiment of the present invention. As shown in FIG. (RadioFrequency, radio frequency) circuit 605, audio frequency circuit 606, loudspeaker 611, power management chip 608, input/output (I/O) subsystem 609, touch screen 612, other input/control equipment 610 and external port 604, these components pass a or multiple communication buses or signal lines 607 for communication. Wherein, the power management chip 608 is a core chip in the power circuit.

应该理解的是,图示终端600仅仅是终端的一个范例,并且终端600可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the illustrated terminal 600 is only one example of a terminal, and that the terminal 600 may have more or fewer components than shown, may combine two or more components, or may have Different component configurations. 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 terminal for preventing false triggering of touch keys provided by this embodiment will be described in detail below, and a mobile phone is used as an example of the terminal.

存储器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可以将设备上的输入输出外设,例如触摸屏602和其他输入/控制设备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 the input and output peripherals on the device, such as the touch screen 602 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.

本发明实施例提供的CPU602可执行本发明任意实施例所提供的删除媒体文件的方法,具备执行方法相应的功能模块和有益效果。The CPU 602 provided in the embodiment of the present invention can execute the method for deleting media files provided in any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method.

注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。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 that 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 (11)

CN201611166078.6A2016-12-162016-12-16 Method, device and terminal for preventing false triggering of touch keysPendingCN106855784A (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
CN201611166078.6ACN106855784A (en)2016-12-162016-12-16 Method, device and terminal for preventing false triggering of touch keys
PCT/CN2017/107535WO2018107898A1 (en)2016-12-162017-10-24Method and device for preventing false triggering of touch button, terminal and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201611166078.6ACN106855784A (en)2016-12-162016-12-16 Method, device and terminal for preventing false triggering of touch keys

Publications (1)

Publication NumberPublication Date
CN106855784Atrue CN106855784A (en)2017-06-16

Family

ID=59127145

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201611166078.6APendingCN106855784A (en)2016-12-162016-12-16 Method, device and terminal for preventing false triggering of touch keys

Country Status (2)

CountryLink
CN (1)CN106855784A (en)
WO (1)WO2018107898A1 (en)

Cited By (23)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107340911A (en)*2017-06-292017-11-10胡玥莹A kind of mobile terminal Touch-control error prevention method and device
CN107608551A (en)*2017-09-112018-01-19广东欧珀移动通信有限公司Touch operation response method and device
CN107864267A (en)*2017-09-212018-03-30李梦天Display device and display device control device
WO2018107898A1 (en)*2016-12-162018-06-21广东欧珀移动通信有限公司Method and device for preventing false triggering of touch button, terminal and storage medium
CN108334255A (en)*2018-01-262018-07-27维沃移动通信有限公司A kind of response method and mobile terminal of function event
CN108509056A (en)*2018-06-192018-09-07李金雄A kind of intelligent keyboard
CN108765636A (en)*2018-03-282018-11-06上海科世达-华阳汽车电器有限公司A kind of arrangements for automotive doors unlocker device and system
CN109144395A (en)*2018-08-302019-01-04北京金堤科技有限公司A kind of text maninulation method, apparatus, electronic equipment and computer-readable medium
CN109190415A (en)*2018-07-052019-01-11天津众达智腾科技有限公司Data destroying triggering method and its device based on physical protection
CN109217859A (en)*2017-07-072019-01-15中兴通讯股份有限公司Key disappears fluttering method, equipment and storage medium
CN109656406A (en)*2018-11-092019-04-19信利半导体有限公司A kind of anti-interference method, device and the computer readable storage medium of display screen touch key-press
CN109697086A (en)*2018-12-282019-04-30Tcl移动通信科技(宁波)有限公司Application program for mobile terminal starts processing method, mobile terminal and storage medium
CN109712384A (en)*2019-01-252019-05-03北京戴纳实验科技有限公司A kind of novel intelligent vent cabinet infrared control system
US10466849B2 (en)2016-12-162019-11-05Guangdong Oppo Mobile Telecommunications Corp., Ltd.Method and terminal for preventing unintentional triggering of a touch key and storage medium
US10698533B2 (en)2017-09-112020-06-30Guangdong Oppo Mobile Telecommunications Corp., Ltd.Method for responding to touch operation and electronic device
CN111475052A (en)*2020-04-102020-07-31维沃移动通信有限公司 Method and electronic device for preventing accidental touch of a button
CN111698632A (en)*2020-06-032020-09-22歌尔科技有限公司Headset state detection method and device, TWS headset and computer storage medium
CN112684936A (en)*2020-12-292021-04-20深圳酷派技术有限公司Information identification method, storage medium and computer equipment
US11194425B2 (en)2017-09-112021-12-07Shenzhen Heytap Technology Corp., Ltd.Method for responding to touch operation, mobile terminal, and storage medium
CN114558750A (en)*2022-01-262022-05-31得力集团有限公司Hot melt glue gun glue discharging control method and device and hot melt glue gun
CN114816215A (en)*2022-05-192022-07-29深圳市联谛信息无障碍有限责任公司Input method, mobile terminal and storage medium
CN116495586A (en)*2023-01-042023-07-28达运精密工业股份有限公司 Non-contact switch control system
CN116513900A (en)*2022-12-232023-08-01达运精密工业股份有限公司Non-contact switch control system

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110673753B (en)*2018-07-032024-04-12北京搜狗科技发展有限公司Key false touch error correction method and device
CN110471559B (en)*2019-07-252023-05-26维沃移动通信有限公司False touch prevention method and mobile terminal
CN113473194B (en)*2020-05-092022-04-08海信集团有限公司Intelligent device and response method
CN111766930A (en)*2020-06-082020-10-13安徽华米信息科技有限公司Wearable device shutdown method and device and wearable device

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
EP2418574A2 (en)*2010-08-142012-02-15Samsung Electronics Co., Ltd.System and method for preventing touch malfunction in a mobile device
CN103699318A (en)*2014-01-062014-04-02联想(北京)有限公司Touch response method and touch response device of electronic device
CN104199604A (en)*2014-09-122014-12-10上海斐讯数据通信技术有限公司Electronic device with touch display screen and information processing method thereof
CN105631367A (en)*2015-12-242016-06-01深圳市金立通信设备有限公司Terminal operation area management method and terminal
CN106201292A (en)*2015-04-292016-12-07小米科技有限责任公司Terminal false-touch prevention method and apparatus

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105807965B (en)*2014-12-302019-03-29联想(北京)有限公司A kind of method and device for preventing from accidentally touching
CN105867797A (en)*2015-12-042016-08-17乐视移动智能信息技术(北京)有限公司Control method and device of virtual keys on touch screen, and mobile terminal
CN106855784A (en)*2016-12-162017-06-16广东欧珀移动通信有限公司 Method, device and terminal for preventing false triggering of touch keys

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
EP2418574A2 (en)*2010-08-142012-02-15Samsung Electronics Co., Ltd.System and method for preventing touch malfunction in a mobile device
CN103699318A (en)*2014-01-062014-04-02联想(北京)有限公司Touch response method and touch response device of electronic device
CN104199604A (en)*2014-09-122014-12-10上海斐讯数据通信技术有限公司Electronic device with touch display screen and information processing method thereof
CN106201292A (en)*2015-04-292016-12-07小米科技有限责任公司Terminal false-touch prevention method and apparatus
CN105631367A (en)*2015-12-242016-06-01深圳市金立通信设备有限公司Terminal operation area management method and terminal

Cited By (29)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2018107898A1 (en)*2016-12-162018-06-21广东欧珀移动通信有限公司Method and device for preventing false triggering of touch button, terminal and storage medium
US10466849B2 (en)2016-12-162019-11-05Guangdong Oppo Mobile Telecommunications Corp., Ltd.Method and terminal for preventing unintentional triggering of a touch key and storage medium
CN107340911A (en)*2017-06-292017-11-10胡玥莹A kind of mobile terminal Touch-control error prevention method and device
CN109217859A (en)*2017-07-072019-01-15中兴通讯股份有限公司Key disappears fluttering method, equipment and storage medium
US11194425B2 (en)2017-09-112021-12-07Shenzhen Heytap Technology Corp., Ltd.Method for responding to touch operation, mobile terminal, and storage medium
CN107608551A (en)*2017-09-112018-01-19广东欧珀移动通信有限公司Touch operation response method and device
US10901553B2 (en)2017-09-112021-01-26Guangdong Oppo Mobile Telecommunications Corp., Ltd.Method for responding to touch operation and electronic device
US10698533B2 (en)2017-09-112020-06-30Guangdong Oppo Mobile Telecommunications Corp., Ltd.Method for responding to touch operation and electronic device
CN107608551B (en)*2017-09-112019-08-06Oppo广东移动通信有限公司 Touch operation response method and device
CN107864267A (en)*2017-09-212018-03-30李梦天Display device and display device control device
CN108334255A (en)*2018-01-262018-07-27维沃移动通信有限公司A kind of response method and mobile terminal of function event
CN108334255B (en)*2018-01-262020-03-03维沃移动通信有限公司Response method of function event and mobile terminal
CN108765636A (en)*2018-03-282018-11-06上海科世达-华阳汽车电器有限公司A kind of arrangements for automotive doors unlocker device and system
CN108509056A (en)*2018-06-192018-09-07李金雄A kind of intelligent keyboard
CN109190415B (en)*2018-07-052021-08-27天津众达智腾科技有限公司Data destruction triggering method and device based on physical protection
CN109190415A (en)*2018-07-052019-01-11天津众达智腾科技有限公司Data destroying triggering method and its device based on physical protection
CN109144395A (en)*2018-08-302019-01-04北京金堤科技有限公司A kind of text maninulation method, apparatus, electronic equipment and computer-readable medium
CN109656406A (en)*2018-11-092019-04-19信利半导体有限公司A kind of anti-interference method, device and the computer readable storage medium of display screen touch key-press
CN109697086B (en)*2018-12-282022-07-08Tcl移动通信科技(宁波)有限公司Mobile terminal application program starting processing method, mobile terminal and storage medium
CN109697086A (en)*2018-12-282019-04-30Tcl移动通信科技(宁波)有限公司Application program for mobile terminal starts processing method, mobile terminal and storage medium
CN109712384A (en)*2019-01-252019-05-03北京戴纳实验科技有限公司A kind of novel intelligent vent cabinet infrared control system
CN111475052A (en)*2020-04-102020-07-31维沃移动通信有限公司 Method and electronic device for preventing accidental touch of a button
CN111475052B (en)*2020-04-102023-12-22维沃移动通信有限公司Method for preventing false touch of key and electronic equipment
CN111698632A (en)*2020-06-032020-09-22歌尔科技有限公司Headset state detection method and device, TWS headset and computer storage medium
CN112684936A (en)*2020-12-292021-04-20深圳酷派技术有限公司Information identification method, storage medium and computer equipment
CN114558750A (en)*2022-01-262022-05-31得力集团有限公司Hot melt glue gun glue discharging control method and device and hot melt glue gun
CN114816215A (en)*2022-05-192022-07-29深圳市联谛信息无障碍有限责任公司Input method, mobile terminal and storage medium
CN116513900A (en)*2022-12-232023-08-01达运精密工业股份有限公司Non-contact switch control system
CN116495586A (en)*2023-01-042023-07-28达运精密工业股份有限公司 Non-contact switch control system

Also Published As

Publication numberPublication date
WO2018107898A1 (en)2018-06-21

Similar Documents

PublicationPublication DateTitle
CN106855784A (en) Method, device and terminal for preventing false triggering of touch keys
US10831314B2 (en)Method and electronic device for preventing touch button from being false triggered
EP3336679B1 (en)Method and terminal for preventing unintentional triggering of a touch key and storage medium
CN106598335B (en)A kind of touch screen control method, device and mobile terminal of mobile terminal
CN106775087B (en) A touch screen control method, device and mobile terminal of a mobile terminal
CN106681638B (en)A kind of touch screen control method, device and mobile terminal
CN107340910B (en) A method, device, storage medium and electronic device for responding to a touch key
CN106406904B (en) An information processing method, electronic equipment and information processing device
CN106681635B (en) A split-screen anti-mistouch method, device and mobile terminal
CN106681555A (en)Touch screen control method and device of mobile terminal and mobile terminal
CN106502470A (en) Method, device and terminal for preventing false triggering of touch buttons
WO2018107900A1 (en)Method and device for preventing mistouch on touch screen, mobile terminal, and storage medium
CN106775407A (en) Method and device for controlling touch screen of mobile terminal and mobile terminal
CN106681637B (en)Touch screen display method and device and 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
CN106598249A (en) A method, device and mobile terminal for preventing false touch of a touch button
CN107422916B (en)Touch operation response method and device, storage medium and terminal
CN106681554A (en)Mobile terminal touch screen control method and device and mobile terminal
CN107357458B (en) Response method, device, storage medium and mobile terminal for touch key
CN106775086A (en) Method and device for controlling touch screen of mobile terminal and mobile terminal
CN106909250B (en)Touch operation processing method and device and mobile terminal
CN106708408A (en) Method, device and terminal for preventing false triggering of touch buttons
CN106708409B (en)Response method and device of popup menu and mobile terminal
CN106708410A (en)Method and device for preventing spurious triggering of touch keys and terminal

Legal Events

DateCodeTitleDescription
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:20170616

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp