[go: up one dir, main page]

CN106681636B - Method and device for preventing false touch and mobile terminal - Google Patents

Method and device for preventing false touch and mobile terminal Download PDF

Info

Publication number
CN106681636B
CN106681636B CN201611165124.0A CN201611165124A CN106681636B CN 106681636 B CN106681636 B CN 106681636B CN 201611165124 A CN201611165124 A CN 201611165124A CN 106681636 B CN106681636 B CN 106681636B
Authority
CN
China
Prior art keywords
touch
screen
operations
holding state
hand holding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611165124.0A
Other languages
Chinese (zh)
Other versions
CN106681636A (en
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 Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201611165124.0A priority Critical patent/CN106681636B/en
Publication of CN106681636A publication Critical patent/CN106681636A/en
Application granted granted Critical
Publication of CN106681636B publication Critical patent/CN106681636B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3259Power saving in cursor control device, e.g. mouse, joystick, trackball
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/041Indexing scheme relating to G06F3/041 - G06F3/045
    • G06F2203/04104Multi-touch detection in digitiser, i.e. details about the simultaneous detection of a plurality of touching locations, e.g. multiple fingers or pen and finger
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04808Several contacts: gestures triggering a specific function, e.g. scrolling, zooming, right-click, when the user establishes several contacts with the surface simultaneously; e.g. using several fingers or a combination of fingers and pen

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Position Input By Displaying (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明实施例公开了一种防误触的方法、装置及移动终端。所述防误触的方法包括:如果在预设时长内检测到至少两个触摸操作,则获取所述至少两个触摸操作的位置;如果所述至少两个触摸操作的位置分别位于至少两个预设检测区域内,则获取左右手持握状态;响应与所述左右手持握状态匹配的至少一个触摸操作。本发明实施例提供的防误触的方法,能够提高误触识别效率,降低误触识别操作的耗电量。

Figure 201611165124

The embodiment of the present invention discloses a method, device and mobile terminal for preventing accidental touches. The method for preventing accidental touches comprises: if at least two touch operations are detected within a preset time, obtaining the positions of the at least two touch operations; if the positions of the at least two touch operations are respectively located in at least two preset detection areas, obtaining the left and right hand gripping states; and responding to at least one touch operation that matches the left and right hand gripping states. The method for preventing accidental touches provided by the embodiment of the present invention can improve the efficiency of accidental touch recognition and reduce the power consumption of the accidental touch recognition operation.

Figure 201611165124

Description

一种防误触的方法、装置及移动终端Method, device and mobile terminal for preventing accidental touch

技术领域technical field

本发明实施例涉及电子设备应用技术,尤其涉及一种防误触的方法、装置及移动终端。Embodiments of the present invention relate to electronic device application technologies, and in particular, to a method, an apparatus, and a mobile terminal for preventing false touches.

背景技术Background technique

目前移动终端的设计不断向窄边框、大屏幕的趋势发展。窄边框、大屏幕使得移动终端的视觉冲击力大为增强,但同时使得用户在使用移动终端时常出现手指误触屏幕边框而导致屏幕内容乱跳的情况。At present, the design of mobile terminals is constantly developing towards the trend of narrow borders and large screens. The narrow frame and large screen greatly enhance the visual impact of the mobile terminal, but at the same time, the user often touches the screen frame by mistake when using the mobile terminal, causing the screen content to jump randomly.

现有技术中,防止误触的方式是对屏幕边缘的触控信号进行屏蔽。然而,这种屏蔽方式存在触摸操作识别的分析过程较为复杂,用时较长,耗电量高。In the prior art, the way to prevent false touches is to shield the touch signals at the edge of the screen. However, in this shielding method, the analysis process of touch operation recognition is complicated, takes a long time, and consumes high power.

发明内容SUMMARY OF THE INVENTION

本发明提供一种防误触的方法、装置及移动终端,以降低误触操作的识别复杂度,提高误触操作的识别效率,降低误触识别操作的耗电量。The present invention provides a method, device and mobile terminal for preventing false touch, so as to reduce the recognition complexity of false touch operation, improve the recognition efficiency of false touch operation, and reduce the power consumption of false touch recognition operation.

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

如果在预设时长内检测到至少两个触摸操作,则获取所述至少两个触摸操作的位置;If at least two touch operations are detected within the preset time period, acquiring the positions of the at least two touch operations;

如果所述至少两个触摸操作的位置分别位于至少两个预设检测区域内,则获取左右手持握状态;If the positions of the at least two touch operations are located in the at least two preset detection areas respectively, acquiring the holding state of the left and right hands;

响应与所述左右手持握状态匹配的至少一个触摸操作。Responding to at least one touch operation matching the holding state of the left and right hands.

第二方面,本发明实施例还提供了一种防误触的装置,包括:In a second aspect, an embodiment of the present invention also provides a device for preventing accidental touch, including:

触摸操作检测模块,用于如果在预设时长内检测到至少两个触摸操作,则获取所述至少两个触摸操作的位置;a touch operation detection module, configured to acquire the positions of the at least two touch operations if at least two touch operations are detected within a preset time period;

持握状态获取模块,用于如果所述触摸操作检测模块检测到的所述至少两个触摸操作的位置分别位于至少两个预设检测区域内,则获取左右手持握状态;a holding state acquisition module, configured to acquire the holding state of the left and right hands if the positions of the at least two touch operations detected by the touch operation detection module are located in at least two preset detection areas respectively;

响应模块,用于响应与所述持握状态获取模块获取的所述左右手持握状态匹配的至少一个触摸操作。A response module, configured to respond to at least one touch operation matching the holding state of the left and right hands acquired by the holding state acquiring module.

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

如果在预设时长内检测到至少两个触摸操作,则获取所述至少两个触摸操作的位置;If at least two touch operations are detected within the preset time period, acquiring the positions of the at least two touch operations;

如果所述至少两个触摸操作的位置分别位于至少两个预设检测区域内,则获取左右手持握状态;If the positions of the at least two touch operations are located in the at least two preset detection areas respectively, acquiring the holding state of the left and right hands;

响应与所述左右手持握状态匹配的至少一个触摸操作。Responding to at least one touch operation matching the holding state of the left and right hands.

本发明实施例首先当预设时长内检测到至少两个触摸操作时,获取至少两个触摸操作的位置;然后,当至少两个触摸操作的位置分别位于至少两个预设检测区域内时,获取左右手持握状态;最后,响应与左右手持握状态匹配的至少一个触摸操作,能够提高误触识别效率,降低误触识别操作的耗电量。In this embodiment of the present invention, when at least two touch operations are detected within a preset duration, the positions of the at least two touch operations are acquired; then, when the positions of the at least two touch operations are located in at least two preset detection areas, respectively, Obtaining the holding state of the left and right hands; finally, responding to at least one touch operation matching the holding state of the left and right hands, which can improve the efficiency of false touch recognition and reduce the power consumption of the false touch recognition operation.

附图说明Description of drawings

图1是本发明实施例一中的一个防误触的方法的流程图;1 is a flowchart of a method for preventing accidental touch in Embodiment 1 of the present invention;

图2是本发明实施例一中的检测区域示意图;2 is a schematic diagram of a detection area in Embodiment 1 of the present invention;

图3是本发明实施例一中的另一个防误触的方法的流程图;3 is a flowchart of another method for preventing accidental touch in Embodiment 1 of the present invention;

图4是本发明实施例一中的另一个检测区域示意图;4 is a schematic diagram of another detection area in Embodiment 1 of the present invention;

图5是本发明实施例一中的另一个防误触的方法的流程图;5 is a flowchart of another method for preventing accidental touch in Embodiment 1 of the present invention;

图6是本发明实施例一中的另一个防误触的方法的流程图;6 is a flowchart of another method for preventing accidental touch in Embodiment 1 of the present invention;

图7是本发明实施例二中的一种防误触的方法的流程图;7 is a flowchart of a method for preventing accidental touch in Embodiment 2 of the present invention;

图8是本发明实施例三中的一种防误触的装置的结构示意图;8 is a schematic structural diagram of a device for preventing accidental touches in Embodiment 3 of the present invention;

图9是本发明实施例四中的一种移动终端的结构示意图。FIG. 9 is a schematic structural diagram of a mobile terminal in Embodiment 4 of the present invention.

具体实施方式Detailed ways

下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。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 herein 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, the drawings only show some but not all structures related to the present invention.

实施例一Example 1

图1为本发明实施例一提供的一种防误触的方法的流程图,本实施例可适用于单手持握移动终端时进行误触操作识别的情况,该方法可以由具有触摸屏的移动终端执行,移动终端可以为智能手机、平板电脑等,如图1所示,该防误触的方法具体包括如下步骤:FIG. 1 is a flowchart of a method for preventing accidental touches provided by Embodiment 1 of the present invention. This embodiment can be applied to the case of identifying accidental touch operations when a mobile terminal is held with one hand. This method can be implemented by a mobile terminal with a touch screen. Execution, the mobile terminal may be a smart phone, a tablet computer, etc. As shown in FIG. 1 , the method for preventing accidental touch specifically includes the following steps:

步骤110、如果在预设时长内检测到至少两个触摸操作,则获取至少两个触摸操作的位置。Step 110: If at least two touch operations are detected within a preset time period, acquire the positions of the at least two touch operations.

预设时长用于表示用户输入正确操作以及误操作的时间间隔。预设时长可以为0秒,即同时检测到至少两个触摸操作。预设时长还可以为经验值,如0.1-0.7秒,优选为0.3秒。该经验值可以为程序员根据有限次试验得出的时间间隔,也可以为用户设置的时间间隔。The preset duration is used to indicate the time interval between correct operations and incorrect operations of user input. The preset duration can be 0 seconds, that is, at least two touch operations are detected at the same time. The preset duration may also be an empirical value, such as 0.1-0.7 seconds, preferably 0.3 seconds. The empirical value can be a time interval obtained by the programmer based on a limited number of trials, or it can be a time interval set by the user.

触摸操作可以为点击操作或滑动操作,其中点击操作包括单击操作和连击操作(如双击操作)。优选的,触摸操作为点击操作。如果触摸操作为点击操作,则将点击操作对应的屏幕坐标作为为触摸操作的位置。如果触摸操作为滑动操作,则将滑动操作对应的滑动轨迹的起点和终点作为触摸操作的位置。The touch operation can be a click operation or a slide operation, wherein the click operation includes a single click operation and a double click operation (such as a double click operation). Preferably, the touch operation is a click operation. If the touch operation is a click operation, the screen coordinates corresponding to the click operation are taken as the position of the touch operation. If the touch operation is a sliding operation, the start and end points of the sliding track corresponding to the sliding operation are used as the position of the touch operation.

可通过临时触摸位置信息列表,将获取到的全部触摸操作的位置信息进行存储。可选的,还可通过队列、堆栈或链表等形式存储获取到的全部触摸操作的位置信息。示例性的,屏幕分辨率为720*1280,临时触摸位置信息列表如表1所示,获取到的两个触摸操作为触摸操作A和触摸操作B。其中,触摸操作A的位置为(100,300),触摸操作B的位置为(620,1000)。The position information of all the acquired touch operations can be stored through the temporary touch position information list. Optionally, the acquired position information of all touch operations may also be stored in the form of a queue, a stack, or a linked list. Exemplarily, the screen resolution is 720*1280, the temporary touch position information list is shown in Table 1, and the two acquired touch operations are touch operation A and touch operation B. The position of touch operation A is (100, 300), and the position of touch operation B is (620, 1000).

表1Table 1

触摸操作序号Touch operation number 位置(坐标)Position coordinates) 触摸操作Atouch operation A (100,300)(100,300) 触摸操作Btouch operation B (620,1000)(620,1000)

步骤120、如果至少两个触摸操作的位置分别位于至少两个预设检测区域内,则获取左右手持握状态。Step 120: If the positions of the at least two touch operations are located in the at least two preset detection areas, respectively, acquire the holding state of the left and right hands.

可选的,预设检测区域可以为屏幕多个边缘对应的检测区域,每个边缘对应的检测区域不存在重合区域。在上例中,预设检测区域可以为屏幕的四个边缘对应的检测区域,如图2所示,屏幕上端边缘对应的检测区域a为(0,0)、(720,0)、(720,150)、(0,150)四个点确定的区域,屏幕下端边缘对应的检测区域b为(0,1130)、(720,1130)、(720,1280)、(0,1280)四个点确定的区域;屏幕左侧边缘对应的检测区域c为(0,150)、(150,150)、(150,1130)、(0,1130)四个点确定的区域;屏幕右侧边缘对应的检测区域d为(570,150)、(720,150)、(720,1130)、(720,1130)四个点确定的区域。在上例中,触摸操作A位于检测区域a中,触摸操作B位于检测区域b中,此时,两个触摸操作(触摸操作A和触摸操作B)的位置分别位于两个不同的检测区域中,因此获取左右手持握状态。Optionally, the preset detection areas may be detection areas corresponding to multiple edges of the screen, and the detection areas corresponding to each edge do not have overlapping areas. In the above example, the preset detection area can be the detection area corresponding to the four edges of the screen. As shown in Figure 2, the detection area a corresponding to the upper edge of the screen is (0,0), (720,0), (720,150 ), (0,150) the area determined by four points, the detection area b corresponding to the lower edge of the screen is the area determined by (0,1130), (720,1130), (720,1280), (0,1280) four points ; The detection area c corresponding to the left edge of the screen is the area determined by four points (0,150), (150,150), (150,1130), (0,1130); the detection area d corresponding to the right edge of the screen is (570,150) , (720,150), (720,1130), (720,1130) The area determined by the four points. In the above example, the touch operation A is located in the detection area a, and the touch operation B is located in the detection area b. At this time, the positions of the two touch operations (touch operation A and touch operation B) are located in two different detection areas respectively. , so get the left and right hand holding state.

左右手持握状态可以通过重力加速度传感器获得。示例性的,重力加速度传感器可根据移动终端当前的倾斜角度确定左右手持握状态。可选的,重力加速度传感器可根据移动终端的瞬间旋转角度确定左右手持握状态。例如,当用户使用右手单手进行单手操作时,右手大拇指在点击屏幕时移动终端会随着大拇指点击的动作沿右下方旋转,移动终端中的重力加速度传感器会根据感应到的移动终端的运动方向,进而判断出此时移动终端处于右手持握状态。The holding state of the left and right hands can be obtained through the gravitational acceleration sensor. Exemplarily, the gravitational acceleration sensor may determine the holding state of the left and right hands according to the current tilt angle of the mobile terminal. Optionally, the gravitational acceleration sensor may determine the holding state of the left and right hands according to the instantaneous rotation angle of the mobile terminal. For example, when the user uses the right hand to perform one-handed operation, when the right thumb clicks on the screen, the mobile terminal will rotate along the bottom right along with the click of the thumb, and the gravitational acceleration sensor in the mobile terminal will , and then it is judged that the mobile terminal is in the right-hand holding state at this time.

步骤130、响应与左右手持握状态匹配的至少一个触摸操作。Step 130: Respond to at least one touch operation matching the holding state of the left and right hands.

用户单手持握移动终端时,手掌的大鱼际部分易发生误触,因此当屏幕中存在多个触摸操作时,将远离持握手一侧的触摸操作确定为与左右手持握状态匹配的触摸操作。When the user holds the mobile terminal with one hand, the thenar part of the palm is prone to mistouch. Therefore, when there are multiple touch operations on the screen, the touch operation on the side away from the handshake is determined as the touch operation that matches the holding state of the left and right hands. .

示例性的,当预设检测区域位于屏幕两侧时,如果为左手持握状态,则响应屏幕右侧的触摸操作;如果为右手持握状态,则响应屏幕左侧的触摸操作。Exemplarily, when the preset detection area is located on both sides of the screen, if it is in a left-hand holding state, it responds to a touch operation on the right side of the screen; if it is a right-hand holding state, it responds to a touch operation on the left side of the screen.

本实施例首先当预设时长内检测到至少两个触摸操作时,获取至少两个触摸操作的位置;然后,当至少两个触摸操作的位置分别位于至少两个预设检测区域内时,获取左右手持握状态;最后,响应与左右手持握状态匹配的至少一个触摸操作。现有技术根据触摸面的面积确定是否为误操作,然而这种检测方法对于面积较小的无触摸无法进行识别,误触识别效率低,且计算触摸面面积需要进行面积计算,耗时较长,增大误触识别操作的耗电量。本实施例中,仅通过比较不同区域中是否存在触摸操作即可识别误触操作,操作简便,识别效率较高且节省电量。同时能够识别出接触面积较小的误触操作,提高误触识别的准确性。In this embodiment, when at least two touch operations are detected within a preset period of time, the positions of the at least two touch operations are acquired; then, when the positions of the at least two touch operations are respectively located in at least two preset detection areas, the positions of the at least two touch operations are acquired Left and right hand holding states; finally, responding to at least one touch operation matching the left and right hand holding states. The prior art determines whether it is a misoperation based on the area of the touch surface. However, this detection method cannot identify a small area without touch, and the efficiency of mistouch recognition is low. In addition, calculating the area of the touch surface requires area calculation, which takes a long time. to increase the power consumption of the false touch recognition operation. In this embodiment, the false touch operation can be identified only by comparing whether there is a touch operation in different areas, the operation is simple, the identification efficiency is high, and the power is saved. At the same time, the false touch operation with a small contact area can be recognized, and the accuracy of false touch recognition is improved.

进一步的,图3为本发明实施例一提供的一种防误触的方法的流程图,作为对上述步骤的进一步说明,如图4所示,所述预设检测区域包括左侧屏幕和右侧屏幕。左侧屏幕为屏幕中轴线左侧的屏幕区域,右侧屏幕为屏幕中轴线右侧的屏幕区域。步骤120、如果至少两个触摸操作的位置分别位于至少两个预设检测区域内,则获取左右手持握状态,可通过下属方式进行实施:Further, FIG. 3 is a flowchart of a method for preventing accidental touch provided by Embodiment 1 of the present invention. As a further description of the above steps, as shown in FIG. 4 , the preset detection area includes a left screen and a right screen. side screen. The left screen is the screen area on the left side of the screen axis, and the right screen is the screen area on the right side of the screen axis. Step 120: If the positions of the at least two touch operations are located in the at least two preset detection areas, respectively, obtain the holding state of the left and right hands, which can be implemented in the following manner:

步骤120a、如果至少两个触摸操作的位置分别位于左侧屏幕和右侧屏幕,则获取左右手持握状态。Step 120a: If the positions of the at least two touch operations are located on the left screen and the right screen, respectively, acquire the holding state of the left and right hands.

如果左侧屏幕和右侧屏幕中分别含有至少一个触摸操作,则获取左右手持握状态。If the left screen and the right screen respectively contain at least one touch operation, obtain the holding state of the left and right hands.

如果滑动操作的起点坐标和终点坐标位于同一侧屏幕中,则该侧屏幕包含滑动操作。如果滑动操作的起点和终点分别位于左侧屏幕和右侧屏幕中,则左侧屏幕和右侧屏幕均未包含该滑动操作。If the start and end coordinates of the swipe operation are in the same side screen, the side screen contains the swipe operation. If the swipe starts and ends in the left and right screens, then neither the left nor the right screen contains the swipe.

相应的,步骤130、响应与左右手持握状态匹配的至少一个触摸操作,可实施为:Correspondingly, step 130, responding to at least one touch operation matching the holding state of the left and right hands, may be implemented as:

步骤130a、如果左右手持握状态为左手持握状态,则响应右侧屏幕中的触摸操作。Step 130a: If the left-hand holding state is the left-hand holding state, respond to the touch operation on the right screen.

右侧屏幕中的触摸操作为与左手持握状态匹配的触摸操作。屏蔽左侧屏幕中检测到的触摸操作,响应右侧屏幕中检测到的触摸操作。The touch operation in the right screen is a touch operation that matches the holding state of the left hand. Blocks touches detected in the left screen and responds to touches detected in the right screen.

右侧屏幕中的触摸操作可以是一个或多个。如果是一个触摸操作,则响应该触摸操作。如果是多个(至少两个)触摸操作,则从多个触摸操作中确定有效触摸操作。The touch actions in the right screen can be one or more. If it is a touch operation, respond to the touch operation. If there are multiple (at least two) touch operations, a valid touch operation is determined from the multiple touch operations.

步骤130b、如果左右手持握状态为右手持握状态,则响应左侧屏幕中的触摸操作。Step 130b, if the holding state of the left and right hands is the holding state of the right hand, respond to the touch operation on the left screen.

左侧屏幕中的触摸操作为与右手持握状态匹配的触摸操作。屏蔽右侧屏幕中检测到的触摸操作,响应左侧屏幕中检测到的触摸操作。左侧屏幕中的触摸操作可以是一个或多个。The touch operation in the left screen is a touch operation that matches the holding state of the right hand. Blocks touches detected in the screen on the right and responds to touches detected in the screen on the left. The touch actions in the left screen can be one or more.

本实施例能够根据左侧屏幕和右侧屏幕中检测到的触摸操作的数量确定响应的触摸操作,降低误触识别的复杂度,简单易用。This embodiment can determine the responsive touch operations according to the number of touch operations detected in the left screen and the right screen, thereby reducing the complexity of false touch recognition, and being simple and easy to use.

进一步的,图5为本发明实施例一提供的一种防误触的方法的流程图,当与左右手持握状态匹配的触摸操作为多个时,步骤130、响应与左右手持握状态匹配的至少一个触摸操作,可通过下述方式进行实施:Further, FIG. 5 is a flowchart of a method for preventing accidental touches provided by Embodiment 1 of the present invention. When there are multiple touch operations matching the holding states of the left and right hands, step 130 is to respond to the touch operations matching the holding states of the left and right hands. At least one touch operation, which can be implemented in the following ways:

步骤131、如果在一个预设检测区域中检测到多个触摸点,则根据多个触摸点对应的触摸面面积确定有效触摸点。Step 131: If multiple touch points are detected in a preset detection area, determine the effective touch points according to the touch surface area corresponding to the multiple touch points.

获取手指对应的预设面积。如果多个触摸操作均为点击操作,则将接触面积与预设面积接近的触摸点确定为有效触摸点。可选的,预设面积为30*30像素点至50*50像素点,优选为,44*44像素点。如果多个触摸操作均为滑动操作,则根据滑动操作的操作对象确定滑动操作的有效性,将有效的滑动操作对应的触摸点确定为有效触摸点。如果多个触摸操作包括点击操作和触摸操作,则分别从点击操作和触摸操作中选取一个有效操作。Get the preset area corresponding to the finger. If the multiple touch operations are all click operations, a touch point whose contact area is close to the preset area is determined as an effective touch point. Optionally, the preset area is 30*30 pixels to 50*50 pixels, preferably, 44*44 pixels. If the multiple touch operations are sliding operations, the validity of the sliding operation is determined according to the operation object of the sliding operation, and the touch point corresponding to the valid sliding operation is determined as the valid touch point. If the multiple touch operations include a click operation and a touch operation, select an effective operation from the click operation and the touch operation respectively.

步骤132、对有效触摸点进行响应。Step 132, responding to the valid touch point.

本实施能够从多个触摸操作中筛选出有效的触摸点进行响应,避免响应无效触摸点,进而提高响应的触摸点的可靠性,进一步节约耗电量。This implementation can select valid touch points from multiple touch operations to respond, avoid responding to invalid touch points, thereby improving the reliability of the responding touch points and further saving power consumption.

进一步的,图6为本发明实施例一提供的一种防误触的方法的流程图,作为对上述实施例的进一步说明,步骤110中,在预设时长内检测到至少两个触摸操作,可实施为:Further, FIG. 6 is a flowchart of a method for preventing false touches provided by Embodiment 1 of the present invention. As a further description of the above embodiment, in step 110, at least two touch operations are detected within a preset time period, Can be implemented as:

步骤111、如果第一时刻时在检测到第一触摸操作,则启动计时。Step 111: If the first touch operation is detected at the first moment, start timing.

第一触摸操作为前一次触摸操作响应后,接收到的第一个触摸操作。由于用户用拇指进行点击屏幕时,会因拇指的运动轨迹导致手掌大鱼际在先接触屏幕,拇指的指肚在后接触屏幕,二者的触摸时间差较小,如小于0.3秒。在上例中,当检测到屏幕上触发第一个触摸操作时,通过计时器进行计时。The first touch operation is the first touch operation received after the response to the previous touch operation. When the user taps the screen with the thumb, the thenar of the palm will first contact the screen due to the motion trajectory of the thumb, and the belly of the thumb will contact the screen later, and the touch time difference between the two is small, for example, less than 0.3 seconds. In the above example, when the first touch operation on the screen is detected, it is timed by a timer.

步骤112、当计时结果到达预设触摸间隔时长时,停止计时并获取从第一时刻至计时停止时刻之间检测到的触摸操作。Step 112 , when the timing result reaches the preset touch interval duration, stop timing and acquire touch operations detected from the first moment to the timing stop time.

预设触摸间隔时长可以为0.1秒至1.0秒,优选为,0.3秒。在计时期间,持续检测屏幕上触发的触摸操作,统计每个触摸操作对应的坐标,得到触摸操作的触摸位置。The preset touch interval duration may be 0.1 seconds to 1.0 seconds, preferably, 0.3 seconds. During the timing period, the touch operation triggered on the screen is continuously detected, the coordinates corresponding to each touch operation are counted, and the touch position of the touch operation is obtained.

本实施例能够在屏幕上触发触摸操作时,经过预设触摸间隔时长后对屏幕中的触摸操作进行识别,进一步提高误触操作的识别,同时避免因误触操作略早于正确操作触发,导致错误执行误触摸操作,提高误触操作的识别效率。In this embodiment, when a touch operation is triggered on the screen, the touch operation on the screen can be identified after a preset touch interval, so as to further improve the recognition of the false touch operation, and at the same time avoid the false touch operation being triggered slightly earlier than the correct operation, resulting in The false touch operation is performed incorrectly, and the recognition efficiency of the false touch operation is improved.

实施例二Embodiment 2

图7为本发明实施例二提供的一种防误触的方法的流程图,作为对实施例一的进一步说明,包括:FIG. 7 is a flowchart of a method for preventing accidental touches provided by Embodiment 2 of the present invention. As a further description of Embodiment 1, the method includes:

步骤200、将左侧屏幕配置为一个检测区域,将右侧屏幕配置为另一个检测区域。Step 200: Configure the left screen as one detection area, and configure the right screen as another detection area.

步骤210、如果第一时刻时在任意一个检测区域中检测到第一触摸操作,则启动计时。Step 210: If the first touch operation is detected in any detection area at the first moment, start timing.

步骤220、当计时结果到达预设触摸间隔时长时,停止计时并获取从第一时刻至计时停止时刻之间检测到的触摸操作。Step 220: When the timing result reaches the preset touch interval duration, stop timing and acquire touch operations detected between the first moment and the timing stop moment.

步骤230、如果检测到N个(N大于等于2)触摸操作,则获取N个触摸操作的位置。Step 230: If N (N is greater than or equal to 2) touch operations are detected, acquire the positions of the N touch operations.

步骤240、如果至少两个触摸操作的位置分别位于左侧屏幕和右侧屏幕,则获取左右手持握状态。Step 240: If the positions of at least two touch operations are located on the left screen and the right screen, respectively, acquire the holding state of the left and right hands.

步骤250、如果左右手持握状态为左手持握状态,则响应右侧屏幕中的触摸操作。Step 250: If the left-hand holding state is the left-hand holding state, respond to the touch operation on the right screen.

步骤260、如果左右手持握状态为右手持握状态,则响应左侧屏幕中的触摸操作。Step 260: If the holding state of the left and right hands is the holding state of the right hand, respond to the touch operation on the left screen.

步骤270、如果响应的右侧屏幕或左侧屏幕中检测到多个触摸点,则根据多个触摸点对应的触摸面面积确定有效触摸点。Step 270: If multiple touch points are detected on the right screen or the left screen of the response, determine the valid touch points according to the touch surface area corresponding to the multiple touch points.

步骤280、对有效触摸点进行响应。Step 280, responding to the valid touch point.

实施例三Embodiment 3

图8为本发明实施例三提供的一种防误触的装置的结构示意图,该装置可位于移动终端中,如图8所示,该防误触的装置包括:触摸操作检测模块11、持握状态获取模块12和响应模块13。FIG. 8 is a schematic structural diagram of a device for preventing accidental touch according to Embodiment 3 of the present invention. The device may be located in a mobile terminal. As shown in FIG. 8 , the device for preventing accidental touch includes: a touch operation detection module 11, a holding handshake state acquisition module 12 and response module 13 .

触摸操作检测模块11,用于如果在预设时长内检测到至少两个触摸操作,则获取至少两个触摸操作的位置;a touch operation detection module 11, configured to acquire the positions of the at least two touch operations if at least two touch operations are detected within a preset time period;

持握状态获取模块12,用于如果触摸操作检测模块11检测到的至少两个触摸操作的位置分别位于至少两个预设检测区域内,则获取左右手持握状态;The holding state acquisition module 12 is configured to acquire the holding state of the left and right hands if the positions of at least two touch operations detected by the touch operation detection module 11 are located in at least two preset detection areas respectively;

响应模块13,用于响应与持握状态获取模块12获取的左右手持握状态匹配的至少一个触摸操作。The response module 13 is configured to respond to at least one touch operation matching the holding state of the left and right hands obtained by the holding state obtaining module 12 .

进一步的,预设检测区域包括左侧屏幕和右侧屏幕,持握状态获取模块12用于,如果触摸操作检测模块11检测到的至少两个触摸操作的位置分别位于左侧屏幕和右侧屏幕,则获取左右手持握状态;Further, the preset detection area includes a left screen and a right screen, and the holding state acquisition module 12 is used for, if the positions of at least two touch operations detected by the touch operation detection module 11 are located on the left screen and the right screen respectively. , then the left and right hand holding state is obtained;

相应的,响应模块13用于:Correspondingly, the response module 13 is used to:

如果左右手持握状态为左手持握状态,则响应右侧屏幕中的触摸操作;If the left-hand holding state is the left-hand holding state, respond to the touch operation in the right screen;

如果左右手持握状态为右手持握状态,则响应左侧屏幕中的触摸操作。If the left and right hand holding state is the right hand holding state, respond to the touch operation in the left screen.

进一步的,响应模块13用于:Further, the response module 13 is used to:

如果在一个预设检测区域中检测到多个触摸点,则根据多个触摸点对应的触摸面面积确定有效触摸点;If multiple touch points are detected in a preset detection area, the effective touch points are determined according to the touch surface area corresponding to the multiple touch points;

对有效触摸点进行响应。Respond to valid touch points.

进一步的,触摸操作检测模块11用于:Further, the touch operation detection module 11 is used for:

如果第一时刻时在检测到第一触摸操作,则启动计时;If the first touch operation is detected at the first moment, start timing;

当计时结果到达预设触摸间隔时长时,停止计时并获取从第一时刻至计时停止时刻之间检测到的触摸操作。When the timing result reaches the preset touch interval duration, the timing is stopped and the touch operations detected between the first moment and the timing stop moment are acquired.

进一步的,触摸操作为点击操作。Further, the touch operation is a click operation.

上述装置可执行本发明前述所有实施例所提供的方法,具备执行上述方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本发明前述所有实施例所提供的方法。The above-mentioned apparatus can execute the methods provided by all the foregoing embodiments of the present invention, and has corresponding functional modules and beneficial effects for executing the above-mentioned methods. For technical details not described in detail in this embodiment, reference may be made to the methods provided by all the foregoing embodiments of the present invention.

本实施例首先当预设时长内检测到至少两个触摸操作时,触摸操作检测模块11获取至少两个触摸操作的位置;然后,当至少两个触摸操作的位置分别位于至少两个预设检测区域内时,持握状态获取模块12获取左右手持握状态;最后,响应模块13响应与左右手持握状态匹配的至少一个触摸操作。现有技术根据触摸面的面积确定是否为误操作,然而这种检测方法对于面积较小的无触摸无法进行识别,误触识别效率低,且计算触摸面面积需要进行面积计算,耗时较长,增大误触识别操作的耗电量。本实施例中,仅通过比较不同区域中是否存在触摸操作即可识别误触操作,操作简便,识别效率较高且节省电量。同时能够识别出接触面积较小的误触操作,提高误触识别的准确性。In this embodiment, when at least two touch operations are detected within a preset time period, the touch operation detection module 11 acquires the positions of the at least two touch operations; then, when the positions of the at least two touch operations are located in at least two preset detection When it is within the area, the holding state acquisition module 12 acquires the holding state of the left and right hands; finally, the response module 13 responds to at least one touch operation matching the holding state of the left and right hands. The prior art determines whether it is a misoperation based on the area of the touch surface. However, this detection method cannot identify a small area without touch, and the efficiency of mistouch recognition is low. In addition, calculating the area of the touch surface requires area calculation, which takes a long time. to increase the power consumption of the false touch recognition operation. In this embodiment, the false touch operation can be identified only by comparing whether there is a touch operation in different areas, the operation is simple, the identification efficiency is high, and the power is saved. At the same time, the false touch operation with a small contact area can be recognized, and the accuracy of false touch recognition is improved.

实施例四Embodiment 4

图9为本发明实施例四提供的一种移动终端的结构示意图,如图9所示,该移动终端可以包括:壳体(图中未示出)、存储器801、中央处理器(Central Processing Unit,CPU)802(又称处理器,以下简称CPU)、存储在存储器801上并可在处理器802上运行的计算机程序、电路板(图中未示出)和电源电路(图中未示出)。所述电路板安置在所述壳体围成的空间内部;所述CPU802和所述存储器801设置在所述电路板上;所述电源电路,用于为所述移动终端的各个电路或器件供电;所述存储器801,用于存储可执行程序代码;所述CPU802通过读取所述存储器801中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行:如果在预设时长内检测到至少两个触摸操作,则获取至少两个触摸操作的位置;如果至少两个触摸操作的位置分别位于至少两个预设检测区域内,则获取左右手持握状态;响应与左右手持握状态匹配的至少一个触摸操作。FIG. 9 is a schematic structural diagram of a mobile terminal according to Embodiment 4 of the present invention. As shown in FIG. 9 , the mobile terminal may include: a casing (not shown in the figure), a memory 801, and a central processing unit (Central Processing Unit). , CPU) 802 (also known as processor, hereinafter referred to as CPU), a computer program stored in the memory 801 and running on the processor 802, a circuit board (not shown in the figure) and a power supply circuit (not shown in the figure) ). The circuit board is arranged inside the space enclosed by the casing; the CPU 802 and the memory 801 are arranged on the circuit board; the power circuit is used to supply power to each circuit or device of the mobile terminal ; The memory 801 is used to store executable program codes; the CPU 802 runs a program corresponding to the executable program codes by reading the executable program codes stored in the memory 801 to execute: if If at least two touch operations are detected within a preset time period, the positions of the at least two touch operations are acquired; if the positions of the at least two touch operations are located in at least two preset detection areas, respectively, the holding states of the left and right hands are acquired; At least one touch operation that matches the holding state of the left and right hands.

所述移动终端还包括:外设接口803、RF(Radio Frequency,射频)电路805、音频电路806、扬声器811、电源管理芯片808、输入/输出(I/O)子系统809、触摸屏812、其他输入/控制设备810以及外部端口804,这些部件通过一个或多个通信总线或信号线807来通信。The mobile terminal further includes: a peripheral interface 803, an RF (Radio Frequency, radio frequency) circuit 805, an audio circuit 806, a speaker 811, a power management chip 808, an input/output (I/O) subsystem 809, a touch screen 812, and other Input/control devices 810 and external ports 804, these components communicate via one or more communication buses or signal lines 807.

应该理解的是,图示移动终端800仅仅是移动终端的一个范例,并且移动终端800可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the illustrated mobile terminal 800 is merely an example of a mobile terminal, and that the mobile terminal 800 may have more or fewer components than those shown in the figure, two or more components may be combined, Or can 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 following will describe in detail the mobile terminal provided in this embodiment for implementing the function of preventing accidental touches, and the mobile terminal is a mobile phone as an example.

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

外设接口803,所述外设接口803可以将设备的输入和输出外设连接到CPU802和存储器801。A peripheral interface 803 that can connect the input and output peripherals of the device to the CPU 802 and the memory 801 .

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

其中,按照触摸屏的工作原理和传输信息的介质分类,触摸屏812可以为电阻式、电容感应式、红外线式或表面声波式。按照安装方式分类,触摸屏812可以为:外挂式、内置式或整体式。按照技术原理分类,触摸屏812可以为:矢量压力传感技术触摸屏、电阻技术触摸屏、电容技术触摸屏、红外线技术触摸屏或表面声波技术触摸屏。Wherein, according to the working principle of the touch screen and the classification of the medium for transmitting information, the touch screen 812 may be a resistive type, a capacitive induction type, an infrared type or a surface acoustic wave type. According to the installation method, the touch screen 812 can be an external type, a built-in type or an integral type. Classified according to technical principles, the touch screen 812 may be: a vector pressure sensing technology touch screen, a resistive technology touch screen, a capacitive technology touch screen, an infrared technology touch screen or a surface acoustic wave technology touch screen.

触摸屏812,所述触摸屏812是用户终端与用户之间的输入接口和输出接口,将可视输出显示给用户,可视输出可以包括图形、文本、图标、视频等。可选的,触摸屏812将用户在触屏幕上触发的电信号(如接触面的电信号),发送给处理器802。The touch screen 812, which is an input interface and an output interface between the user terminal and the user, displays visual output to the user, and the visual output may include graphics, text, icons, videos, and the like. Optionally, the touch screen 812 sends electrical signals triggered by the user on the touch screen (eg, electrical signals on the contact surface) to the processor 802 .

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

RF电路805,主要用于建立手机与无线网络(即网络侧)的通信,实现手机与无线网络的数据接收和发送。例如收发短信息、电子邮件等。The RF circuit 805 is mainly used to establish the communication between the mobile phone and the wireless network (ie, the network side), and realize the data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving text messages, e-mails, etc.

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

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

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

在本实施例中,中央处理器802用于:In this embodiment, the central processing unit 802 is used for:

如果在预设时长内检测到至少两个触摸操作,则获取至少两个触摸操作的位置;If at least two touch operations are detected within the preset time period, obtain the positions of the at least two touch operations;

如果至少两个触摸操作的位置分别位于至少两个预设检测区域内,则获取左右手持握状态;If the positions of the at least two touch operations are located in the at least two preset detection areas respectively, obtain the holding state of the left and right hands;

响应与左右手持握状态匹配的至少一个触摸操作。Respond to at least one touch operation matching the holding state of the left and right hands.

进一步的,预设检测区域包括左侧屏幕和右侧屏幕,如果至少两个触摸操作的位置分别位于至少两个预设检测区域内,则获取左右手持握状态,包括:Further, the preset detection area includes a left screen and a right screen, and if the positions of at least two touch operations are located in the at least two preset detection areas, respectively, acquiring the holding state of the left and right hands includes:

如果至少两个触摸操作的位置分别位于左侧屏幕和右侧屏幕,则获取左右手持握状态;If the positions of at least two touch operations are located on the left screen and the right screen respectively, obtain the holding state of the left and right hands;

相应的,响应与左右手持握状态匹配的至少一个触摸操作,包括:Correspondingly, responding to at least one touch operation matching the holding state of the left and right hands includes:

如果左右手持握状态为左手持握状态,则响应右侧屏幕中的触摸操作;If the left-hand holding state is the left-hand holding state, respond to the touch operation in the right screen;

如果左右手持握状态为右手持握状态,则响应左侧屏幕中的触摸操作。If the left and right hand holding state is the right hand holding state, respond to the touch operation in the left screen.

进一步的,响应与左右手持握状态匹配的至少一个触摸操作,包括:Further, responding to at least one touch operation matching the holding state of the left and right hands includes:

如果在一个预设检测区域中检测到多个触摸点,则根据多个触摸点对应的触摸面面积确定有效触摸点;If multiple touch points are detected in a preset detection area, the effective touch points are determined according to the touch surface area corresponding to the multiple touch points;

对有效触摸点进行响应。Respond to valid touch points.

进一步的,在预设时长内检测到至少两个触摸操作,包括:Further, at least two touch operations are detected within a preset time period, including:

如果第一时刻时在检测到第一触摸操作,则启动计时;If the first touch operation is detected at the first moment, start timing;

当计时结果到达预设触摸间隔时长时,停止计时并获取从第一时刻至计时停止时刻之间检测到的触摸操作。When the timing result reaches the preset touch interval duration, the timing is stopped and the touch operations detected between the first moment and the timing stop moment are acquired.

进一步的,触摸操作为点击操作。Further, the touch operation is a click operation.

需要说明的是,移动终端还可以包括摄像头、蓝牙模块等,在此不再赘述。It should be noted that, the mobile terminal may further include a camera, a Bluetooth module, etc., which will not be repeated here.

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

Claims (7)

1. A method for preventing mistaken touch is characterized in that the method is applied to a terminal, frames are arranged on two sides of a screen of the terminal, and the method comprises the following steps:
if at least two touch operations are detected within a preset time length, acquiring the positions of the at least two touch operations;
if the positions of the at least two touch operations are respectively located in at least two preset detection areas, acquiring a left-hand holding state and a right-hand holding state;
responding to at least one touch operation matched with the left-right hand holding state;
predetermine the detection area and include left side screen and right side screen, left side screen is the screen area on screen axis left, and the screen area on right side screen is screen axis right side, if two at least touch operation's position is located two at least preset the detection area respectively, then obtains about hand and holds the state, include:
if the positions of the at least two touch operations are respectively located on the left screen and the right screen, acquiring a left-right hand holding state;
correspondingly, the responding to at least one touch operation matched with the left-right hand holding state comprises the following steps:
responding to touch operation in the right screen if the left-hand holding state and the right-hand holding state are left-hand holding states;
responding to touch operation in the left screen if the left-right hand holding state is a right hand holding state;
the responding to at least one touch operation matched with the left-right hand holding state comprises the following steps:
if a plurality of touch points are detected in a preset detection area and all the touch operations are sliding operations, determining the effectiveness of the sliding operations according to the operation objects of the sliding operations and determining the touch points corresponding to the effective sliding operations as effective touch points; if the touch operations comprise click operations and touch operations, respectively selecting an effective touch point from the click operations and the touch operations;
responding to the valid touch point.
2. The method for preventing false touch according to claim 1, wherein the detecting at least two touch operations within a preset time period comprises:
if the first touch operation is detected at the first moment, starting timing;
and when the timing result reaches the preset touch interval duration, stopping timing and acquiring the touch operation detected from the first time to the timing stop time.
3. The method of preventing false touches according to claim 1 or 2, wherein the touch operation is a click operation.
4. The utility model provides a prevent device that mistake touched, its characterized in that, the device is applied to the terminal, terminal screen both sides are equipped with the frame, and the device includes:
the touch operation detection module is used for acquiring the positions of at least two touch operations if the at least two touch operations are detected within a preset time length;
the holding state acquisition module is used for acquiring a left holding state and a right holding state if the positions of the at least two touch operations detected by the touch operation detection module are respectively located in at least two preset detection areas;
the response module is used for responding at least one touch operation matched with the left-hand holding state and the right-hand holding state acquired by the holding state acquisition module;
the preset detection area comprises a left screen and a right screen, the left screen is a screen area on the left side of a screen central axis, the right screen is a screen area on the right side of the screen central axis, and the holding state acquisition module is used for acquiring a left-right holding state if the positions of the at least two touch operations detected by the touch operation detection module are respectively located on the left screen and the right screen;
accordingly, the response module is configured to:
responding to touch operation in the right screen if the left-hand holding state and the right-hand holding state are left-hand holding states;
responding to touch operation in the left screen if the left-right hand holding state is a right hand holding state;
the response module is used for determining the effectiveness of the sliding operation according to an operation object of the sliding operation and determining the touch point corresponding to the effective sliding operation as an effective touch point if a plurality of touch points are detected in a preset detection area and all the plurality of touch operations are sliding operations; if the touch operations comprise click operations and touch operations, respectively selecting an effective touch point from the click operations and the touch operations;
responding to the valid touch point.
5. The device of claim 4, wherein the touch operation detection module is configured to:
if the first touch operation is detected at the first moment, starting timing;
and when the timing result reaches the preset touch interval duration, stopping timing and acquiring the touch operation detected from the first time to the timing stop time.
6. The device of claim 4 or 5, wherein the touch operation is a click operation.
7. A mobile terminal comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein two sides of a terminal screen are provided with frames, and the mobile terminal is characterized in that the processor executes the computer program and realizes the following steps:
if at least two touch operations are detected within a preset time length, acquiring the positions of the at least two touch operations;
if the positions of the at least two touch operations are respectively located in at least two preset detection areas, acquiring a left-hand holding state and a right-hand holding state;
responding to at least one touch operation matched with the left-right hand holding state;
predetermine the detection area and include left side screen and right side screen, left side screen is the screen area on screen axis left, and the screen area on right side screen is screen axis right side, if two at least touch operation's position is located two at least preset the detection area respectively, then obtains about hand and holds the state, include:
if the positions of the at least two touch operations are respectively located on the left screen and the right screen, acquiring a left-right hand holding state;
correspondingly, the responding to at least one touch operation matched with the left-right hand holding state comprises the following steps:
responding to touch operation in the right screen if the left-hand holding state and the right-hand holding state are left-hand holding states;
responding to touch operation in the left screen if the left-right hand holding state is a right hand holding state;
the responding to at least one touch operation matched with the left-right hand holding state comprises the following steps:
if a plurality of touch points are detected in a preset detection area and all the touch operations are sliding operations, determining the effectiveness of the sliding operations according to the operation objects of the sliding operations and determining the touch points corresponding to the effective sliding operations as effective touch points; if the touch operations comprise click operations and touch operations, respectively selecting an effective touch point from the click operations and the touch operations;
responding to the valid touch point.
CN201611165124.0A 2016-12-16 2016-12-16 Method and device for preventing false touch and mobile terminal Active CN106681636B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611165124.0A CN106681636B (en) 2016-12-16 2016-12-16 Method and device for preventing false touch and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611165124.0A CN106681636B (en) 2016-12-16 2016-12-16 Method and device for preventing false touch and mobile terminal

Publications (2)

Publication Number Publication Date
CN106681636A CN106681636A (en) 2017-05-17
CN106681636B true CN106681636B (en) 2020-01-14

Family

ID=58869094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611165124.0A Active CN106681636B (en) 2016-12-16 2016-12-16 Method and device for preventing false touch and mobile terminal

Country Status (1)

Country Link
CN (1) CN106681636B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107390917A (en) * 2017-06-20 2017-11-24 维沃移动通信有限公司 A kind of display methods, device, mobile terminal and the storage medium of touch-control bar
CN107562262B (en) * 2017-08-14 2020-06-19 维沃移动通信有限公司 Method for responding touch operation, terminal and computer readable storage medium
CN108388400B (en) * 2018-01-25 2020-10-02 维沃移动通信有限公司 Operation processing method and mobile terminal
CN109085944B (en) * 2018-06-07 2020-11-27 Oppo广东移动通信有限公司 Data processing method, device and mobile terminal
CN109246300A (en) * 2018-08-31 2019-01-18 努比亚技术有限公司 A kind of control method of terminal, terminal and computer storage medium
CN111562811B (en) * 2020-04-27 2022-09-02 维沃移动通信有限公司 Electronic equipment and control method of touch operation
CN111954110A (en) * 2020-08-14 2020-11-17 芯海科技(深圳)股份有限公司 Earphone interaction method and earphone
CN113608634B (en) * 2021-08-13 2024-06-14 清华大学 Method and device for preventing false touch of touch screen, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103995663A (en) * 2014-01-26 2014-08-20 宇龙计算机通信科技(深圳)有限公司 Single-hand touch operation method and device
CN104020878A (en) * 2014-05-22 2014-09-03 小米科技有限责任公司 Touch input control method and device
CN105975160A (en) * 2016-05-26 2016-09-28 深圳市金立通信设备有限公司 Mistaken touch prevention method and terminal
CN106227375A (en) * 2015-06-02 2016-12-14 三星电子株式会社 For controlling method and the electronic installation thereof of the display of electronic installation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103995663A (en) * 2014-01-26 2014-08-20 宇龙计算机通信科技(深圳)有限公司 Single-hand touch operation method and device
CN104020878A (en) * 2014-05-22 2014-09-03 小米科技有限责任公司 Touch input control method and device
CN106227375A (en) * 2015-06-02 2016-12-14 三星电子株式会社 For controlling method and the electronic installation thereof of the display of electronic installation
CN105975160A (en) * 2016-05-26 2016-09-28 深圳市金立通信设备有限公司 Mistaken touch prevention method and terminal

Also Published As

Publication number Publication date
CN106681636A (en) 2017-05-17

Similar Documents

Publication Publication Date Title
CN106681636B (en) Method and device for preventing false touch and mobile terminal
CN106681638B (en) A kind of touch screen control method, device and mobile terminal
US10747368B2 (en) Method and device for preventing false-touch on touch screen, mobile terminal and storage medium
CN106855782B (en) A method, device and terminal for preventing accidental touch
CN106598335B (en) A kind of touch screen control method, device and mobile terminal of mobile terminal
CN106527818B (en) A control method, device and mobile terminal for touch operation on a mobile terminal
CN104777987B (en) The control method and device of smartwatch
CN106855783A (en) A method, device and mobile terminal for preventing false touches
CN106648233B (en) A touch screen control method, device and mobile terminal of a mobile terminal
WO2018107903A1 (en) Control method and device for touch screen of mobile terminal, mobile terminal, and storage medium
CN106708263A (en) Method, device and mobile terminal for preventing false touch of touch screen
TWI557649B (en) Electronic device and control method for fingerprint recognition apparatus
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
WO2018107901A1 (en) Control method and device for touch screen of mobile terminal, mobile terminal, and storage medium
CN106855785A (en) A method, device and mobile terminal for realizing anti-mistouch screen when holding with both hands
CN106775407A (en) Method and device for controlling touch screen of mobile terminal and mobile terminal
CN107316033A (en) Fingerprint identification method, device and storage medium for mobile terminal, and mobile terminal
CN106775086A (en) Method and device for controlling touch screen of mobile terminal and mobile terminal
TWI510976B (en) Method of selecting touch input source and electronic device using the same
CN106775085A (en) A kind of method of screen edge false-touch prevention, device and mobile terminal
CN104252254A (en) Method for selecting touch input source and electronic device
CN103324410A (en) Method and apparatus for detecting touch
CN109582416A (en) Fingerprint acquisition method and device, storage medium and electronic equipment
CN105786373B (en) A kind of touch trajectory display methods and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant