CN105718204A - Touch gesture based control method and device - Google Patents

Touch gesture based control method and device Download PDF

Info

Publication number
CN105718204A
CN105718204A CN201610101060.1A CN201610101060A CN105718204A CN 105718204 A CN105718204 A CN 105718204A CN 201610101060 A CN201610101060 A CN 201610101060A CN 105718204 A CN105718204 A CN 105718204A
Authority
CN
China
Prior art keywords
touch
slide
pull
preset
touch gesture
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
CN201610101060.1A
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201610101060.1A priority Critical patent/CN105718204A/en
Publication of CN105718204A publication Critical patent/CN105718204A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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

Landscapes

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

Abstract

本发明实施例提供一种基于触摸手势的控制方法及装置,涉及通信技术领域,应用于终端,该终端包括触摸屏,且在触摸屏显示时的显示界面上设置有摇感触点,显示界面包括操作区域和非操作区域,且操作区域位于非操作区域的下方,该方法包括:检测在操作区域内输入的触摸手势;判断触摸手势是否满足预设条件,预设条件为触摸手势的起始触点为摇感触点,且触摸手势为单指控制;若触摸手势满足预设条件,则基于触摸手势,查询预设对应关系中与触摸手势对应的第一操作指令,预设对应关系包括至少一个预设触摸手势、以及每个预设触摸手势对应的操作指令,任意两个预设触摸手势对应的操作指令不同;基于第一操作指令,对终端进行控制。

Embodiments of the present invention provide a touch gesture-based control method and device, which relate to the field of communication technology and are applied to a terminal. The terminal includes a touch screen, and a touch screen is provided with a shake-sensing touch point on the display interface when the touch screen is displayed, and the display interface includes an operation area. and a non-operation area, and the operation area is located below the non-operation area. The method includes: detecting a touch gesture input in the operation area; Shake touch, and the touch gesture is single-finger control; if the touch gesture meets the preset condition, then based on the touch gesture, query the first operation instruction corresponding to the touch gesture in the preset correspondence relationship, and the preset correspondence relationship includes at least one preset The touch gestures and the operation instructions corresponding to each preset touch gesture, the operation instructions corresponding to any two preset touch gestures are different; based on the first operation instruction, the terminal is controlled.

Description

基于触摸手势的控制方法及装置Control method and device based on touch gesture

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种基于触摸手势的控制方法及装置。The present invention relates to the field of communication technology, in particular to a control method and device based on touch gestures.

背景技术Background technique

随着通信技术的快速发展,大屏的移动终端因为其分辨率高、视觉效果好而越来越受到广大用户的喜爱,为了节省空间和提高用户体验,这些移动终端大都去掉实体按键而采用触摸屏,以使用户通过触摸手势来实现对移动终端的控制操作。With the rapid development of communication technology, mobile terminals with large screens are more and more popular among users because of their high resolution and good visual effects. In order to save space and improve user experience, most of these mobile terminals use touch screen instead of physical buttons. , so that the user can implement control operations on the mobile terminal through touch gestures.

目前,这些移动终端支持多种触摸手势的识别,比如,基于单指控制的有单击、短按、长按、滑动、双击等触摸手势,还有基于多指控制的拖动、轻扫、捏合等触摸手势,且随着移动终端屏幕的不断增大,基于多指控制的触摸手势越来越多,占据了触摸手势中的主要位置,从而使得用户越来越难以单手操作移动终端,在一定程度上降低了移动终端的使用效率。Currently, these mobile terminals support the recognition of various touch gestures. For example, touch gestures based on single-finger control include click, short press, long press, slide, and double-click, as well as multi-finger control based on drag, swipe, Touch gestures such as pinching, and with the continuous increase of mobile terminal screens, more and more touch gestures based on multi-finger control occupy the main position in touch gestures, making it increasingly difficult for users to operate mobile terminals with one hand. To a certain extent, the use efficiency of the mobile terminal is reduced.

发明内容Contents of the invention

本发明的实施例提供一种基于触摸手势的控制方法及装置,解决了现有技术中当终端屏幕尺寸较大时,难以单手控制操作的问题。Embodiments of the present invention provide a control method and device based on touch gestures, which solve the problem in the prior art that it is difficult to control operations with one hand when the size of the terminal screen is large.

为达到上述目的,本发明的实施例采用如下技术方案:In order to achieve the above object, embodiments of the present invention adopt the following technical solutions:

第一方面,提供一种基于触摸手势的控制方法,应用于终端,所述终端包括触摸屏,且在所述触摸屏显示时的显示界面上设置有摇感触点,所述显示界面包括操作区域和非操作区域,且所述操作区域位于所述非操作区域的下方,所述方法包括:In the first aspect, a control method based on touch gestures is provided, which is applied to a terminal. The terminal includes a touch screen, and when the touch screen is displayed, a touch point is provided on the display interface, and the display interface includes an operation area and a non-contact area. an operating area, and the operating area is located below the non-operating area, the method comprising:

检测在所述操作区域内输入的触摸手势;detecting a touch gesture input within the operating area;

判断所述触摸手势是否满足预设条件,所述预设条件为所述触摸手势的起始触点为所述摇感触点,且所述触摸手势为单指控制;judging whether the touch gesture satisfies a preset condition, the preset condition being that the initial touch point of the touch gesture is the shake touch point, and the touch gesture is single-finger control;

若所述触摸手势满足预设条件,则基于所述触摸手势,查询预设对应关系中与所述触摸手势对应的第一操作指令,所述预设对应关系包括至少一个预设触摸手势、以及每个预设触摸手势对应的操作指令,任意两个预设触摸手势对应的操作指令不同;If the touch gesture satisfies the preset condition, based on the touch gesture, query the first operation instruction corresponding to the touch gesture in the preset correspondence, the preset correspondence includes at least one preset touch gesture, and The operation instructions corresponding to each preset touch gesture, and the operation instructions corresponding to any two preset touch gestures are different;

基于所述第一操作指令,对所述终端进行控制。Based on the first operation instruction, the terminal is controlled.

其中,该操作区域是指当用户通过单手控制该终端时,操作手指在触发触摸手势时,该操作手指所能接触到的显示界面的范围。相应的,非操作区域可以理解为在显示界面内,除操作区域以外的其他区域。Wherein, the operation area refers to the range of the display interface that can be touched by the operation finger when the user controls the terminal with one hand and triggers a touch gesture. Correspondingly, the non-operation area can be understood as other areas in the display interface except the operation area.

需要说明的是,本发明中的操作区域和非操作区域是对用户单手控制该装置时,基于操作手指所能接触到的显示界面的范围所定义的区域,当然,在实际应用中,该非操作区域也可以检测触摸手势,本发明实施例对此不作限定。It should be noted that the operating area and non-operating area in the present invention are areas defined based on the range of the display interface that can be touched by the operating finger when the user controls the device with one hand. Of course, in practical applications, the The non-operation area may also detect touch gestures, which is not limited in this embodiment of the present invention.

另外,该触摸手势的起始触点为摇感触点,是指该触摸手势是从该摇感触点发出的,也即是,该触摸手势的起始位置为该摇感触点;另外,该触摸手势为单指控制,是指该触摸手势的触发操作是通过单个手指实现的,也即是,通过单个手指触发该触摸手势就可以对该终端进行相应的控制操作。In addition, the starting point of the touch gesture is a shaking touch point, which means that the touch gesture is sent from the shaking touch point, that is, the starting point of the touch gesture is the shaking touch point; in addition, the touch The gesture is single-finger control, which means that the trigger operation of the touch gesture is realized by a single finger, that is, the corresponding control operation of the terminal can be performed by triggering the touch gesture with a single finger.

需要说明的是,该摇感触点可以设置在显示界面的操作区域中的任一位置,且该摇感触点的显示形状可以为圆形、方形、菱形等等,本发明实施例对此不作限定。It should be noted that the rocking touch point can be set at any position in the operating area of the display interface, and the display shape of the rocking touch point can be a circle, a square, a rhombus, etc., which is not limited in this embodiment of the present invention .

结合第一方面,在第一方面的第一种可能的实现方式中,所述预设触摸手势包括:上拉左滑、上拉右滑、左滑上拉、右滑上拉、上拉左滑并长按、上拉右滑并长按、左滑上拉并长按、右滑上拉并长按、下拉左滑、下拉右滑、左滑下拉、右滑下拉、下拉左滑并长按、下拉右滑并长按、左滑下拉并长按、右滑下拉并长按、单击、双击、长按、右滑、左滑、上拉、上拉至顶部。With reference to the first aspect, in a first possible implementation of the first aspect, the preset touch gestures include: pull up to slide left, pull up to slide right, slide left to pull up, slide right to pull up, slide up to left Swipe and long press, pull up and slide right and long press, slide left and pull up and press long, slide right and pull up and press long, pull down and slide left, pull down and slide right, slide left and pull down, slide right and pull down, pull down and slide left and hold Press, pull down and slide right and long press, slide left and pull down and long press, slide right and pull down and long press, single click, double click, long press, right slide, left slide, pull up, pull up to the top.

当然,在实际应用中,该预设触摸手势还还可以包括:下拉至底部、左滑至左边界、右滑至右边界、上拉左滑至左边界、上拉右滑至右边界、左滑上拉至顶部、右滑上拉至顶部、下拉左滑至左边界、下拉右滑至右边界、左滑下拉至底部、右滑下拉至底部等等,本发明实施例对此不作限定。Of course, in practical applications, the preset touch gestures may also include: pull down to the bottom, slide left to the left boundary, slide right to the right boundary, pull up and slide left to the left boundary, pull up and slide right to the right boundary, Swipe up to the top, slide right to pull up to the top, pull down to the left border, pull down to the right border, slide left to the bottom, slide right to the bottom, etc., which are not limited in this embodiment of the present invention.

需要说明的是,上述预设触摸手势中的顶部是指操作区域的上边界,底部是指操作区域的下边界,左边界和右边界也分别是指操作区域的左边界和右边界。It should be noted that the top in the above preset touch gestures refers to the upper boundary of the operation area, the bottom refers to the lower boundary of the operation area, and the left boundary and right boundary also refer to the left and right boundaries of the operation area, respectively.

结合第一方面或者第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述操作指令包括返回系统界面、后退、前进、返回应用管理、关机、模式更改、拍照、截屏、切换下一个应用、切换上一个应用、增加音量、减小音量、连续切换至下一个应用、连续切换至上一个应用、持续增加音量、持续减小音量、放大、缩小。With reference to the first aspect or the first possible implementation of the first aspect, in the second possible implementation of the first aspect, the operation instructions include return to the system interface, back, forward, return to application management, shutdown, Mode change, photo taking, screenshot, switch to next app, switch to previous app, increase volume, decrease volume, continuously switch to next application, continuously switch to previous application, continuously increase volume, continuously decrease volume, zoom in, zoom out.

当然,在实际应用中,该操作指令还可以为关闭应用,打开网络、关闭网络、锁屏等等,本发明实施例对此不作限定。Of course, in practical applications, the operation instruction may also be to close the application, open the network, close the network, lock the screen, etc., which is not limited in this embodiment of the present invention.

需要说明的是,当预设对应关系包括上述预设触摸手势和操作指令时,在预设对应关系中,每个预设触摸手势对应的操作指令可以由用户根据自己的使用习惯进行自定义,也可以按照默认的对应关系使用,本发明实施例对此不作限定。It should be noted that when the preset correspondence includes the aforementioned preset touch gestures and operation instructions, in the preset correspondence, the operation instructions corresponding to each preset touch gesture can be customized by the user according to his or her usage habits. It can also be used according to the default correspondence, which is not limited in this embodiment of the present invention.

另外,预设触摸手势和操作指令之间的对应关系可以设置在系统层,也即是,在系统层设置预设触摸手势和操作指令的对应关系之后,在该终端不同的应用中,相同的预设触摸手势对应操作指令是相同的,从而可以保证触摸手势的统一化,便于管理和使用。In addition, the correspondence between preset touch gestures and operation instructions can be set at the system layer, that is, after setting the correspondence between preset touch gestures and operation instructions at the system layer, in different applications of the terminal, the same The operation instructions corresponding to the preset touch gestures are the same, so that the unification of the touch gestures can be ensured, which is convenient for management and use.

结合第一方面,在第一方面的第三种可能的实现方式中,所述摇感触点为所述终端的导航触点,且所述摇感触点位于所述操作区域下边缘的中间位置。With reference to the first aspect, in a third possible implementation manner of the first aspect, the rocking touch point is a navigation touch point of the terminal, and the rocking touch point is located in the middle of the lower edge of the operation area.

由于每个终端设置有导航触点,当摇感触点位于该当导航触点的位置时,该摇感触点也可以为导航触点,且该摇感触点除了具备自身的功能外,还可以具备导航触点的功能。Since each terminal is provided with a navigation contact, when the rocking contact is located at the position of the navigation contact, the rocking contact can also be a navigation contact, and the rocking contact can also have a navigation contact in addition to its own function. function of the contacts.

其中,该摇感触点具备导航触点的功能,是指该导航触点对应的触摸手势以及每个触摸手势对应的操作指令是固定的,因此,基于该摇感触点触发相同的触摸手势时,其对应的操作指令与导航触点对应的操作指令保持一致。Wherein, the rocking touch point has the function of a navigation touch point, which means that the touch gesture corresponding to the navigation touch point and the operation instruction corresponding to each touch gesture are fixed, therefore, when the same touch gesture is triggered based on the rocking touch point, The corresponding operation instructions are consistent with those corresponding to the navigation contacts.

结合第一方面的第三种可能的实现方式,在第一方面的第四种可能的实现方式中,当所述预设对应关系包括单击和/或右滑时,所述单击对应的操作指令为返回系统界面,所述右滑对应的操作指令为后退。With reference to the third possible implementation of the first aspect, in the fourth possible implementation of the first aspect, when the preset correspondence includes clicking and/or sliding right, the click corresponds to The operation instruction is to return to the system interface, and the operation instruction corresponding to the right swipe is to go back.

第二方面,提供一种基于触摸手势的控制装置,所述装置包括触摸屏,且在所述触摸屏显示时的显示界面上设置有摇感触点,所述显示界面包括操作区域和非操作区域,且所述操作区域位于所述非操作区域的下方,所述装置包括:In a second aspect, there is provided a control device based on touch gestures, the device includes a touch screen, and when the touch screen is displayed, a display interface is provided with a shaking touch point, the display interface includes an operation area and a non-operation area, and The operating area is located below the non-operating area, and the device includes:

检测单元,用于检测在所述操作区域内输入的触摸手势;a detection unit, configured to detect a touch gesture input in the operation area;

判断单元,用于判断所述触摸手势是否满足预设条件,所述预设条件为所述触摸手势的起始触点为所述摇感触点,且所述触摸手势为单指控制;A judging unit, configured to judge whether the touch gesture satisfies a preset condition, the preset condition being that the initial touch point of the touch gesture is the shake touch point, and the touch gesture is single-finger control;

查询单元,用于若所述触摸手势满足预设条件,则基于所述触摸手势,查询预设对应关系中与所述触摸手势对应的第一操作指令,所述预设对应关系包括至少一个预设触摸手势、以及每个预设触摸手势对应的操作指令,任意两个预设触摸手势对应的操作指令不同;A query unit, configured to, if the touch gesture satisfies a preset condition, based on the touch gesture, query a first operation instruction corresponding to the touch gesture in a preset correspondence, the preset correspondence including at least one preset Assuming touch gestures and operation instructions corresponding to each preset touch gesture, the operation instructions corresponding to any two preset touch gestures are different;

控制单元,用于基于所述第一操作指令,对所述装置进行控制。A control unit, configured to control the device based on the first operation instruction.

结合第二方面,在第二方面的第一种可能的实现方式中,所述预设触摸手势包括:上拉左滑、上拉右滑、左滑上拉、右滑上拉、上拉左滑并长按、上拉右滑并长按、左滑上拉并长按、右滑上拉并长按、下拉左滑、下拉右滑、左滑下拉、右滑下拉、下拉左滑并长按、下拉右滑并长按、左滑下拉并长按、右滑下拉并长按、单击、双击、长按、右滑、左滑、上拉、上拉至顶部。With reference to the second aspect, in the first possible implementation of the second aspect, the preset touch gestures include: pull up to slide left, pull up to slide right, slide left to pull up, slide right to pull up, slide up to left Swipe and long press, pull up and slide right and long press, slide left and pull up and press long, slide right and pull up and press long, pull down and slide left, pull down and slide right, slide left and pull down, slide right and pull down, pull down and slide left and hold Press, pull down and slide right and long press, slide left and pull down and long press, slide right and pull down and long press, single click, double click, long press, right slide, left slide, pull up, pull up to the top.

结合第二方面或者第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,所述操作指令包括返回系统界面、后退、前进、返回应用管理、关机、模式更改、拍照、截屏、切换下一个应用、切换上一个应用、增加音量、减小音量、连续切换至下一个应用、连续切换至上一个应用、持续增加音量、持续减小音量、放大、缩小。With reference to the second aspect or the first possible implementation of the second aspect, in the second possible implementation of the second aspect, the operation instructions include return to the system interface, back, forward, return to application management, shutdown, Mode change, photo taking, screenshot, switch to next app, switch to previous app, increase volume, decrease volume, continuously switch to next application, continuously switch to previous application, continuously increase volume, continuously decrease volume, zoom in, zoom out.

结合第二方面,在第二方面的第三种可能的实现方式中,所述摇感触点为所述装置的导航触点,且所述摇感触点位于所述操作区域下边缘的中间位置。With reference to the second aspect, in a third possible implementation manner of the second aspect, the rocking touch point is a navigation touch point of the device, and the rocking touch point is located in the middle of the lower edge of the operation area.

结合第二方面的第三种可能的实现方式,在第二方面的第四种可能的实现方式中,当所述预设对应关系包括单击和/或右滑时,所述单击对应的操作指令为返回系统界面,所述右滑对应的操作指令为后退。With reference to the third possible implementation of the second aspect, in the fourth possible implementation of the second aspect, when the preset correspondence includes clicking and/or sliding right, the click corresponds to The operation instruction is to return to the system interface, and the operation instruction corresponding to the right swipe is to go back.

本发明的实施例提供的基于触摸手势的控制方法及装置,该方法应用于终端,该终端包括触摸屏,且在触摸屏显示时的显示界面上设置有摇感触点,显示界面包括操作区域和非操作区域,且操作区域位于非操作区域的下方,通过检测在操作区域内输入的触摸手势,并判断该触摸手势是否满足预设条件,该预设条件为触摸手势的起始触点为摇感触点,且触摸手势为单指控制;若该触摸手势满足预设条件,则基于该触摸手势,查询预设对应关系中与该触摸手势对应的第一操作指令,其中,预设对应关系包括至少一个预设触摸手势、以及每个预设触摸手势对应的操作指令,任意两个预设触摸手势对应的操作指令不同,之后,基于第一操作指令,对终端进行控制,从而可以使用户通过单手对终端进行控制操作,进而提高终端的使用效率。The embodiment of the present invention provides a control method and device based on touch gestures, the method is applied to a terminal, the terminal includes a touch screen, and when the touch screen is displayed, a touch point is provided on the display interface, and the display interface includes an operation area and a non-operation area. area, and the operating area is located below the non-operating area, by detecting the touch gesture input in the operating area, and judging whether the touch gesture meets the preset condition, the preset condition is that the initial touch point of the touch gesture is a shaking touch point , and the touch gesture is single-finger control; if the touch gesture satisfies the preset condition, based on the touch gesture, query the first operation instruction corresponding to the touch gesture in the preset correspondence, wherein the preset correspondence includes at least one The preset touch gestures, and the operation instructions corresponding to each preset touch gesture, the operation instructions corresponding to any two preset touch gestures are different, and then, based on the first operation instruction, the terminal is controlled, so that the user can use one hand The terminal is controlled and operated, thereby improving the use efficiency of the terminal.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only some of the present invention. Embodiments, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1为本发明实施例提供的一种终端的结构示意图;FIG. 1 is a schematic structural diagram of a terminal provided by an embodiment of the present invention;

图2为本发明实施例提供的一种基于触摸手势的控制方法的流程示意图;FIG. 2 is a schematic flowchart of a control method based on touch gestures provided by an embodiment of the present invention;

图3为本发明实施例提供的一种显示界面的结构示意图;Fig. 3 is a schematic structural diagram of a display interface provided by an embodiment of the present invention;

图4为本发明实施例提供的一种预设触摸手势的界面示意图;FIG. 4 is a schematic interface diagram of a preset touch gesture provided by an embodiment of the present invention;

图5为本发明实施例提供的一种基于触摸手势的控制装置的结构示意图。FIG. 5 is a schematic structural diagram of a touch gesture-based control device provided by an embodiment of the present invention.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

在介绍本发明中之前,首先对本发明的技术背景进行简单介绍,随着移动终端的发展和普及,大尺寸触摸屏的移动终端因为其分辨率高、视觉效果好而越来越受到用户的喜爱和欢迎,这些触摸屏的移动终端通常都采用触摸手势来实现对移动终端的控制操作,比如,常用的触摸手势有单击、短按、长按、滑动、滚动等等。但是,随着移动终端屏幕尺寸的不断增大,这些简单的触摸手势已经不足以支撑移动终端的多种功能,因此,又出现了像拖动、轻扫、捏合等较复杂的触摸手势,然而,这些触摸手势大都是多指控制,当通过这些触摸手势对移动终端进行控制时,用户通常难以单手实现对移动终端的控制操作,而是需要通过两只手来协同合作来实现相应的控制操作,从而在移动程度上降低了移动终端的使用效率。Before introducing the present invention, first briefly introduce the technical background of the present invention. With the development and popularization of mobile terminals, mobile terminals with large-size touch screens are more and more popular with users because of their high resolution and good visual effects. Welcome, these touch screen mobile terminals usually use touch gestures to implement control operations on the mobile terminal, for example, commonly used touch gestures include click, short press, long press, slide, scroll and so on. However, as the screen size of mobile terminals continues to increase, these simple touch gestures are no longer sufficient to support the various functions of mobile terminals. Therefore, more complex touch gestures such as dragging, swiping, and pinching have appeared. However, , most of these touch gestures are multi-finger control. When controlling the mobile terminal through these touch gestures, it is usually difficult for the user to control the mobile terminal with one hand, but needs two hands to cooperate to achieve the corresponding control operation, thereby reducing the use efficiency of the mobile terminal in terms of mobility.

本发明的基本原理在于,将基于单指控制的多个简单的触摸手势相结合,在对终端进行控制时,结合的触摸手势从预设的摇感触点发出,且遥感触点设置于用户单手手持终端时,对应的操作手指的可触范围内,比如,用户通过拇指进行操作时,拇指可以称为该操作手指,从而保证用户可以单手控制终端,且在控制操作时感觉像摇动实体的摇感手柄一样,进而提高用户体验。The basic principle of the present invention is to combine multiple simple touch gestures based on single-finger control. When controlling the terminal, the combined touch gestures are sent from the preset rocking touch points, and the remote sensing touch points are set on the user's single touch point. When the terminal is held in the hand, the corresponding operating finger is within the touchable range. For example, when the user operates with the thumb, the thumb can be called the operating finger, so as to ensure that the user can control the terminal with one hand and feel like shaking an entity when controlling the operation. It is the same as the rocking handle, which improves the user experience.

本发明的实施例所应用的终端的结构如图1所示,该终端可以为手机、平板电脑、笔记本电脑、UMPC(Ultra-mobilePersonalComputer,超级移动个人计算机)、上网本、PDA(PersonalDigitalAssistant,个人数字助理)、摄像机和照相机等等。本发明实施例以终端为手机为例进行说明,图1示出的是与本发明各实施例相关的手机的部分结构的框图。The structure of the terminal that the embodiment of the present invention is applied is as shown in Figure 1, and this terminal can be mobile phone, panel computer, notebook computer, UMPC (Ultra-mobilePersonalComputer, super mobile personal computer), netbook, PDA (PersonalDigitalAssistant, personal digital assistant) ), video cameras and cameras, etc. Embodiments of the present invention are described by taking the terminal as an example of a mobile phone. FIG. 1 shows a block diagram of a partial structure of a mobile phone related to various embodiments of the present invention.

本领域普通技术人员可以理解,图1所示的结构仅为示意,其并不对手机的结构造成限定。例如,该手机还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。Those of ordinary skill in the art can understand that the structure shown in FIG. 1 is only for illustration, and it does not limit the structure of the mobile phone. For example, the handset may also include more or fewer components than shown in FIG. 1 , or have a different configuration than that shown in FIG. 1 .

如图1所示,该终端10包括:存储器101、处理器102、传感器组件103、多媒体组件104、电源组件105、输入\输出接口106。As shown in FIG. 1 , the terminal 10 includes: a memory 101 , a processor 102 , a sensor component 103 , a multimedia component 104 , a power supply component 105 , and an input/output interface 106 .

下面结合图1对终端10的各个构成部件进行具体的介绍:The components of the terminal 10 are specifically introduced below in conjunction with FIG. 1 :

存储器101可用于存储数据、软件程序以及模块;主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序,比如声音播放功能、图像播放功能等;存储数据区可存储根据终端10的使用所创建的数据,比如音频数据、图像数据、电话本等。此外,存储器101可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Memory 101 can be used to store data, software programs and modules; it mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system and at least one application program required by a function, such as a sound playback function, an image playback function, etc. The storage data area can store data created according to the use of the terminal 10, such as audio data, image data, phonebook, and the like. In addition, the memory 101 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.

处理器102是终端10的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器101内的软件程序和/或模块,以及调用存储在存储器101内的数据,执行终端10的各种功能和处理数据,从而对终端进行整体监控。可选的,处理器102可包括一个或多个处理单元;优选的,处理器102可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器102中。The processor 102 is the control center of the terminal 10, using various interfaces and lines to connect various parts of the entire terminal, by running or executing software programs and/or modules stored in the memory 101, and calling data stored in the memory 101, Execute various functions and process data of the terminal 10, so as to monitor the terminal as a whole. Optionally, the processor 102 may include one or more processing units; preferably, the processor 102 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc. , the modem processor mainly handles wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 102 .

传感器组件103包括一个或多个传感器,用于为终端10提供各个方面的状态评估。其中,传感器组件103可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器,通过传感器组件103可以检测到终端10的加速/减速、方位、打开/关闭状态,组件的相对定位,或终端10的温度变化等。此外,传感器组件103还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。The sensor component 103 includes one or more sensors, which are used to provide various aspects of status assessment for the terminal 10 . Wherein, the sensor component 103 may include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor, and the sensor component 103 may detect the acceleration/deceleration, orientation, opening/closing state of the terminal 10, relative positioning of components, or The temperature change of the terminal 10, etc. In addition, the sensor assembly 103 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications.

多媒体组件104在终端10和用户之间的提供一个输出接口的屏幕,该屏幕可以为触摸面板,且当该屏幕为触摸面板时,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。此外,多媒体组件104还包括一个前置摄像头和/或后置摄像头。当终端10处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 104 provides an output interface screen between the terminal 10 and the user. The screen may be a touch panel, and when the screen is a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In addition, the multimedia component 104 also includes a front camera and/or a rear camera. When the terminal 10 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.

电源组件105用于为终端10的各个组件提供电源,电源组件105可以包括电源管理系统,一个或多个电源,及其他与终端10生成、管理和分配电力相关联的组件。输入\输出接口106为处理器102和外围接口模块之间提供接口,比如,外围接口模块可以键盘、鼠标等。The power supply component 105 is used to provide power for various components of the terminal 10 , and the power supply component 105 may include a power management system, one or more power supplies, and other components associated with the terminal 10 to generate, manage and distribute power. The input/output interface 106 provides an interface between the processor 102 and a peripheral interface module, for example, the peripheral interface module can be a keyboard, a mouse, and the like.

尽管未示出,终端10还可以包括音频组件和通信组件等,比如,音频组件包括麦克风,通信组件包括WiFi(wirelessfidelity,无线保真)模块、蓝牙模块等,本发明实施例在此不再赘述。Although not shown, the terminal 10 may also include an audio component and a communication component, etc., for example, the audio component includes a microphone, and the communication component includes a WiFi (wireless fidelity, wireless fidelity) module, a Bluetooth module, etc., which will not be described in detail here .

图2为本发明实施例提供的一种基于触摸手势的控制方法的流程示意图,应用于终端,如图3所示,该终端包括触摸屏,且在该触摸屏显示时的显示界面a上设置有摇感触点b,该显示界面a包括操作区域c和非操作区域d,且操作区域c位于非操作区域d的下方,参见图2,该方法包括以下几个步骤。Fig. 2 is a schematic flowchart of a control method based on touch gestures provided by an embodiment of the present invention, which is applied to a terminal. As shown in Fig. 3, the terminal includes a touch screen, and a shaker is set on the display interface a when the touch screen is displayed. Sensitive point b, the display interface a includes an operating area c and a non-operating area d, and the operating area c is located below the non-operating area d. Referring to FIG. 2 , the method includes the following steps.

步骤201:检测在操作区域内输入的触摸手势。Step 201: Detect a touch gesture input in an operation area.

其中,该操作区域是指当用户通过单手控制终端时,操作手指在触发触摸手势时,该操作手指所能接触到的显示界面的范围。相应的,非操作区域可以理解为在显示界面内,除操作区域以外的其他区域。Wherein, the operation area refers to the range of the display interface that can be touched by the operation finger when the user controls the terminal with one hand and triggers the touch gesture. Correspondingly, the non-operation area can be understood as other areas in the display interface except the operation area.

需要说明的是,本发明中的操作区域和非操作区域是对用户单手控制终端时,基于操作手指所能接触到的显示界面的范围所定义的区域,当然,在实际应用中,该非操作区域也可以检测触摸手势,本发明实施例对此不作限定。It should be noted that the operating area and non-operating area in the present invention are areas defined based on the range of the display interface that can be touched by the operating finger when the user controls the terminal with one hand. Of course, in practical applications, the non-operating area The operation area may also detect touch gestures, which is not limited in this embodiment of the present invention.

步骤202:判断该触摸手势是否满足预设条件,该预设条件为触摸手势的起始触点为摇感触点,且该触摸手势为单指控制。Step 202: Determine whether the touch gesture satisfies a preset condition. The preset condition is that the initial touch point of the touch gesture is a shake touch point, and the touch gesture is a single-finger control.

其中,该触摸手势的起始触点为摇感触点,是指该触摸手势是从该摇感触点发出的,也即是,该触摸手势的起始位置为该摇感触点;另外,该触摸手势为单指控制,是指该触摸手势的触发操作是通过单个手指实现的,也即是,通过单个手指触发该触摸手势就可以对该终端进行相应的控制操作。Wherein, the starting point of the touch gesture is a shaking touch point, which means that the touch gesture is sent from the shaking touch point, that is, the starting point of the touch gesture is the shaking touch point; in addition, the touch The gesture is single-finger control, which means that the trigger operation of the touch gesture is realized by a single finger, that is, the corresponding control operation of the terminal can be performed by triggering the touch gesture with a single finger.

需要说明的是,该摇感触点可以设置在显示界面的操作区域中的任一位置,且该摇感触点的显示形状可以为圆形、方形、菱形等等,本发明实施例对此不作限定。It should be noted that the rocking touch point can be set at any position in the operating area of the display interface, and the display shape of the rocking touch point can be a circle, a square, a rhombus, etc., which is not limited in this embodiment of the present invention .

步骤203:若该触摸手势满足预设条件,则基于该触摸手势,查询预设对应关系中与该触摸手势对应的第一操作指令。Step 203: If the touch gesture satisfies the preset condition, based on the touch gesture, query the first operation instruction corresponding to the touch gesture in the preset correspondence.

其中,预设对应关系包括至少一个预设触摸手势、以及每个预设触摸手势对应的操作指令,任意两个预设触摸手势对应的操作指令不同,也即是,预设对应关系是指预设触摸手势与操作指令之间的对应关系,且不同的预设触摸手势对应不同的操作指令,该预设对应关系可以包括一对预设触摸手势和操作指令,也可以包括多对预设触摸手势和操作指令,本发明实施例对此不作限定。Wherein, the preset correspondence includes at least one preset touch gesture and the operation instruction corresponding to each preset touch gesture, and the operation instructions corresponding to any two preset touch gestures are different, that is, the preset correspondence refers to the preset Set the correspondence between touch gestures and operation instructions, and different preset touch gestures correspond to different operation instructions. The preset correspondence may include a pair of preset touch gestures and operation instructions, or may include multiple pairs of preset touch gestures. Gestures and operating instructions are not limited in this embodiment of the present invention.

另外,该预设触摸手势可以包括:上拉左滑、上拉右滑、左滑上拉、右滑上拉、上拉左滑并长按、上拉右滑并长按、左滑上拉并长按、右滑上拉并长按、下拉左滑、下拉右滑、左滑下拉、右滑下拉、下拉左滑并长按、下拉右滑并长按、左滑下拉并长按、右滑下拉并长按、单击、双击、长按、右滑、左滑、上拉、上拉至顶部。当然,在实际应用中,该预设触摸手势还还可以包括:下拉至底部、左滑至左边界、右滑至右边界、上拉左滑至左边界、上拉右滑至右边界、左滑上拉至顶部、右滑上拉至顶部、下拉左滑至左边界、下拉右滑至右边界、左滑下拉至底部、右滑下拉至底部等等,本发明实施例对此不作限定。In addition, the preset touch gestures may include: pull up to slide left, pull up to slide right, slide left to pull up, slide right to pull up, pull up to slide left and long press, pull up to slide right and long press, slide left to pull up and long press, right slide up and long press, pull down left slide, pull down right slide, left slide down, right slide down, pull down left slide and long press, pull down right slide and long press, left slide pull down and long press, right Swipe down and long press, single click, double click, long press, right swipe, left swipe, pull up, pull up to top. Of course, in practical applications, the preset touch gestures may also include: pull down to the bottom, slide left to the left boundary, slide right to the right boundary, pull up and slide left to the left boundary, pull up and slide right to the right boundary, Swipe up to the top, slide right to pull up to the top, pull down to the left border, pull down to the right border, slide left to the bottom, slide right to the bottom, etc., which are not limited in this embodiment of the present invention.

需要说明的是,上述预设触摸手势中的顶部是指操作区域的上边界,底部是指操作区域的下边界,左边界和右边界也分别是指操作区域的左边界和右边界。It should be noted that the top in the above preset touch gestures refers to the upper boundary of the operation area, the bottom refers to the lower boundary of the operation area, and the left boundary and right boundary also refer to the left and right boundaries of the operation area, respectively.

此外,当摇感触点位于操作区域的边缘时,相应的预设触摸操作不包括基于该边缘方向上滑动的触摸手势,比如,当该摇感触点位于操作区域下边界的中间位置时,则预设触摸操作不包括下拉、下拉左滑、下拉右滑、左滑下拉、右滑下拉、下拉左滑并长按、下拉右滑并长按、左滑下拉并长按、右滑下拉并长按这些触摸手势。In addition, when the rocking touch point is located at the edge of the operation area, the corresponding preset touch operation does not include a touch gesture based on sliding in the direction of the edge, for example, when the rocking touch point is located in the middle of the lower boundary of the operating area, The touch operation does not include pull-down, pull-down to the left, pull-down to the right, left-slide to pull, right-slide to pull, pull-down to the left and long press, pull-down to the right and long-press, left-slide to pull-down and long-press, right-swipe to pull-down and long-press These touch gestures.

具体的,上述预设触摸手势中上拉左滑、上拉右滑、左滑上拉、右滑上拉、下拉左滑、下拉右滑、左滑下拉和右滑下拉的示意图如图4中的(A)-(H)所示。Specifically, the schematic diagrams of the above-mentioned preset touch gestures of sliding up and sliding left, sliding up and sliding right, sliding left to pull up, sliding right to pull up, sliding down to left, sliding down to right, sliding left to pull down, and sliding right to pull down are shown in Figure 4. (A)-(H) shown.

再者,操作指令可以包括返回系统界面、后退、前进、返回应用管理、关机、模式更改、拍照、截屏、切换下一个应用、切换上一个应用、增加音量、减小音量、连续切换至下一个应用、连续切换至上一个应用、持续增加音量、持续减小音量、放大、缩小。当然,在实际应用中,该操作指令还可以为关闭应用,打开网络、关闭网络、锁屏等等,本发明实施例对此不作限定。Furthermore, the operation instructions may include returning to the system interface, going back, forward, returning to application management, shutting down, changing modes, taking pictures, taking screenshots, switching to the next application, switching to the previous application, increasing the volume, decreasing the volume, continuously switching to the next application, continuously switch to the previous application, continuously increase the volume, continuously decrease the volume, zoom in, zoom out. Of course, in practical applications, the operation instruction may also be to close the application, open the network, close the network, lock the screen, etc., which is not limited in this embodiment of the present invention.

需要说明的是,当预设对应关系包括上述列举的预设触摸手势和操作指令时,在预设对应关系中,每个预设触摸手势对应的操作指令可以由用户根据自己的使用习惯进行自定义,也可以按照默认的对应关系使用,本发明实施例对此不作限定。It should be noted that when the preset correspondence includes the preset touch gestures and operation instructions listed above, in the preset correspondence, the operation instructions corresponding to each preset touch gesture can be customized by the user according to his or her usage habits. The definition can also be used according to the default correspondence, which is not limited in this embodiment of the present invention.

另外,上述预设触摸手势和操作指令之间的对应关系可以设置在系统层,也即是,在系统层设置预设触摸手势和操作指令的对应关系之后,在该终端不同的应用中,相同的预设触摸手势对应操作指令是相同的,从而可以保证触摸手势的统一化,便于管理和使用。In addition, the above-mentioned correspondence between preset touch gestures and operation instructions can be set at the system layer, that is, after setting the correspondence between preset touch gestures and operation instructions at the system layer, in different applications of the terminal, the same The operation instructions corresponding to the preset touch gestures are the same, so that the unification of touch gestures can be ensured, which is convenient for management and use.

进一步的,由于每个终端设置有导航触点,当摇感触点位于该当导航触点的位置时,该摇感触点也可以为导航触点,且位于操作区域下边缘的中间位置,同时,当该摇感触点为该终端的导航触点时,该摇感触点除了具备自身的功能外,还可以具备导航触点的功能。Further, since each terminal is provided with a navigation contact, when the rocking contact is located at the position of the navigation contact, the rocking contact can also be a navigation contact and is located in the middle of the lower edge of the operating area. When the rocking contact is a navigation contact of the terminal, the rocking contact may also have the function of a navigation contact in addition to its own function.

其中,该摇感触点具备导航触点的功能,是指该导航触点对应的触摸手势以及每个触摸手势对应的操作指令是固定的,因此,基于该摇感触点触发相同的触摸手势时,其对应的操作指令与导航触点对应的操作指令保持一致。Wherein, the rocking touch point has the function of a navigation touch point, which means that the touch gesture corresponding to the navigation touch point and the operation instruction corresponding to each touch gesture are fixed, therefore, when the same touch gesture is triggered based on the rocking touch point, The corresponding operation instructions are consistent with those corresponding to the navigation contacts.

具体的,当摇感触点为终端的导航触点,且预设对应关系包括单击和/或右滑时,在预设对应关系中,单击对应的操作指令为返回系统界面,右滑对应的操作指令为后退。Specifically, when the shake-sensing touch point is the navigation touch point of the terminal, and the preset corresponding relationship includes clicking and/or sliding right, in the preset corresponding relationship, the operation command corresponding to clicking is to return to the system interface, and sliding right corresponds to The operation command for is back.

步骤204:基于第一操作指令,对终端进行控制。Step 204: Control the terminal based on the first operation instruction.

具体的,当基于触摸手势,从预设对应关系中查询到与触摸手势对应的第一操作指令时,则基于第一操作指令,对该终端进行控制。Specifically, when the first operation instruction corresponding to the touch gesture is found from the preset correspondence based on the touch gesture, the terminal is controlled based on the first operation instruction.

本发明实施例提供的基于触摸手势的控制方法,应用于终端,该终端包括触摸屏,且在触摸屏显示时的显示界面上设置有摇感触点,该显示界面包括操作区域和非操作区域,且操作区域位于非操作区域的下方,通过检测在操作区域内输入的触摸手势,并判断该触摸手势是否满足预设条件,该预设条件为触摸手势的起始触点为摇感触点,且触摸手势为单指控制;若该触摸手势满足预设条件,则基于该触摸手势,查询预设对应关系中与该触摸手势对应的第一操作指令,其中,预设对应关系包括至少一个预设触摸手势、以及每个预设触摸手势对应的操作指令,任意两个预设触摸手势对应的操作指令不同,之后,基于第一操作指令,对终端进行控制,从而可以使用户通过单手对终端进行控制操作,进而提高终端的使用效率。The control method based on touch gestures provided by the embodiments of the present invention is applied to a terminal, the terminal includes a touch screen, and a touch point is provided on the display interface when the touch screen is displayed, the display interface includes an operation area and a non-operation area, and the operation The area is located below the non-operation area. By detecting the touch gesture input in the operation area, it is judged whether the touch gesture meets the preset condition. It is single-finger control; if the touch gesture satisfies the preset condition, based on the touch gesture, query the first operation instruction corresponding to the touch gesture in the preset correspondence, wherein the preset correspondence includes at least one preset touch gesture , and the operation instructions corresponding to each preset touch gesture, the operation instructions corresponding to any two preset touch gestures are different, and then, based on the first operation instruction, the terminal is controlled, so that the user can control the terminal with one hand operation, thereby improving the efficiency of terminal use.

图5为本发明实施例提供的一种基于触摸手势的控制装置的结构示意图,该装置包括触摸屏,且在触摸屏显示时的显示界面上设置有摇感触点,该显示界面包括操作区域和非操作区域,且操作区域位于非操作区域的下方,该装置包括:Fig. 5 is a schematic structural diagram of a control device based on touch gestures provided by an embodiment of the present invention. The device includes a touch screen, and the display interface when the touch screen is displayed is provided with shaking touch points. The display interface includes an operation area and a non-operation area. area, and the operating area is located below the non-operating area, the device includes:

检测单元301,用于检测在所述操作区域内输入的触摸手势;a detection unit 301, configured to detect a touch gesture input in the operation area;

其中,该操作区域是指当用户通过单手控制该装置时,操作手指在触发触摸手势时,该操作手指所能接触到的显示界面的范围。相应的,非操作区域可以理解为在显示界面内,除操作区域以外的其他区域。Wherein, the operation area refers to the range of the display interface that can be touched by the operation finger when the user controls the device with one hand and triggers the touch gesture. Correspondingly, the non-operation area can be understood as other areas in the display interface except the operation area.

需要说明的是,本发明中的操作区域和非操作区域是对用户单手控制该装置时,基于操作手指所能接触到的显示界面的范围所定义的区域,当然,在实际应用中,该非操作区域也可以检测触摸手势,本发明实施例对此不作限定。It should be noted that the operating area and non-operating area in the present invention are areas defined based on the range of the display interface that can be touched by the operating finger when the user controls the device with one hand. Of course, in practical applications, the The non-operation area may also detect touch gestures, which is not limited in this embodiment of the present invention.

判断单元302,用于判断所述触摸手势是否满足预设条件,所述预设条件为所述触摸手势的起始触点为所述摇感触点,且所述触摸手势为单指控制;A judging unit 302, configured to judge whether the touch gesture satisfies a preset condition, the preset condition being that the initial touch point of the touch gesture is the shake touch point, and the touch gesture is single-finger control;

其中,该触摸手势的起始触点为摇感触点,是指该触摸手势是从该摇感触点发出的,也即是,该触摸手势的起始位置为该摇感触点;另外,该触摸手势为单指控制,是指该触摸手势的触发操作是通过单个手指实现的,也即是,通过单个手指触发该触摸手势就可以对该装置进行相应的控制操作。Wherein, the starting point of the touch gesture is a shaking touch point, which means that the touch gesture is sent from the shaking touch point, that is, the starting point of the touch gesture is the shaking touch point; in addition, the touch The gesture is single-finger control, which means that the trigger operation of the touch gesture is realized by a single finger, that is, the corresponding control operation of the device can be performed by triggering the touch gesture by a single finger.

需要说明的是,该摇感触点可以设置在显示界面的操作区域中的任一位置,且该摇感触点的显示形状可以为圆形、方形、菱形等等,本发明实施例对此不作限定。It should be noted that the rocking touch point can be set at any position in the operating area of the display interface, and the display shape of the rocking touch point can be a circle, a square, a rhombus, etc., which is not limited in this embodiment of the present invention .

查询单元303,用于若所述触摸手势满足预设条件,则基于所述触摸手势,查询预设对应关系中与所述触摸手势对应的第一操作指令,所述预设对应关系包括至少一个预设触摸手势、以及每个预设触摸手势对应的操作指令,任意两个预设触摸手势对应的操作指令不同;The query unit 303 is configured to, if the touch gesture satisfies a preset condition, based on the touch gesture, query a first operation instruction corresponding to the touch gesture in a preset correspondence, where the preset correspondence includes at least one The preset touch gestures and the operation instructions corresponding to each preset touch gesture, the operation instructions corresponding to any two preset touch gestures are different;

控制单元304,用于基于所述第一操作指令,对所述装置进行控制。The control unit 304 is configured to control the device based on the first operation instruction.

可选的,所述预设触摸手势包括:上拉左滑、上拉右滑、左滑上拉、右滑上拉、上拉左滑并长按、上拉右滑并长按、左滑上拉并长按、右滑上拉并长按、下拉左滑、下拉右滑、左滑下拉、右滑下拉、下拉左滑并长按、下拉右滑并长按、左滑下拉并长按、右滑下拉并长按、单击、双击、长按、右滑、左滑、上拉、上拉至顶部。当然,在实际应用中,该预设触摸手势还还可以包括:下拉至底部、左滑至左边界、右滑至右边界、上拉左滑至左边界、上拉右滑至右边界、左滑上拉至顶部、右滑上拉至顶部、下拉左滑至左边界、下拉右滑至右边界、左滑下拉至底部、右滑下拉至底部等等,本发明实施例对此不作限定。Optionally, the preset touch gestures include: pull up to slide left, pull up to slide right, slide left to pull up, slide right to pull up, pull up to slide left and long press, pull up to slide right and long press, slide left Pull up and long press, right slide and long press, pull down and left slide, pull down and right slide, left slide and pull down, right slide and pull down, pull down and left slide and long press, pull down and right slide and long press, left slide and pull down and long press , Swipe right to pull down and long press, single click, double click, long press, right swipe, left swipe, pull up, and pull up to the top. Of course, in practical applications, the preset touch gestures may also include: pull down to the bottom, slide left to the left boundary, slide right to the right boundary, pull up and slide left to the left boundary, pull up and slide right to the right boundary, Swipe up to the top, slide right to pull up to the top, pull down to the left border, pull down to the right border, slide left to the bottom, slide right to the bottom, etc., which are not limited in this embodiment of the present invention.

需要说明的是,上述预设触摸手势中的顶部是指操作区域的上边界,底部是指操作区域的下边界,左边界和右边界也分别是指操作区域的左边界和右边界。It should be noted that the top in the above preset touch gestures refers to the upper boundary of the operation area, the bottom refers to the lower boundary of the operation area, and the left boundary and right boundary also refer to the left and right boundaries of the operation area, respectively.

可选的,所述操作指令包括返回系统界面、后退、前进、返回应用管理、关机、模式更改、拍照、截屏、切换下一个应用、切换上一个应用、增加音量、减小音量、连续切换至下一个应用、连续切换至上一个应用、持续增加音量、持续减小音量、放大、缩小。当然,在实际应用中,该操作指令还可以为关闭应用,打开网络、关闭网络、锁屏等等,本发明实施例对此不作限定。Optionally, the operation instructions include returning to the system interface, going back, going forward, returning to application management, shutting down, changing modes, taking pictures, taking screenshots, switching to the next application, switching to the previous application, increasing the volume, decreasing the volume, continuously switching to Next application, continuous switch to previous application, continuous increase in volume, continuous decrease in volume, zoom in, zoom out. Of course, in practical applications, the operation instruction may also be to close the application, open the network, close the network, lock the screen, etc., which is not limited in this embodiment of the present invention.

需要说明的是,当预设对应关系包括上述列举的预设触摸手势和操作指令时,在预设对应关系中,每个预设触摸手势对应的操作指令可以由用户根据自己的使用习惯进行自定义,也可以按照默认的对应关系使用,本发明实施例对此不作限定。It should be noted that when the preset correspondence includes the preset touch gestures and operation instructions listed above, in the preset correspondence, the operation instructions corresponding to each preset touch gesture can be customized by the user according to his or her usage habits. The definition can also be used according to the default correspondence, which is not limited in this embodiment of the present invention.

另外,上述预设触摸手势和操作指令之间的对应关系可以设置在系统层,也即是,在系统层设置预设触摸手势和操作指令的对应关系之后,在该装置不同的应用中,相同的预设触摸手势对应操作指令是相同的,从而可以保证触摸手势的统一化,便于管理和使用。In addition, the above-mentioned correspondence between preset touch gestures and operation instructions can be set at the system layer, that is, after setting the correspondence between preset touch gestures and operation instructions at the system layer, in different applications of the device, the same The operation instructions corresponding to the preset touch gestures are the same, so that the unification of touch gestures can be ensured, which is convenient for management and use.

在本发明的另一实施例中,所述摇感触点为所述装置的导航触点,且所述摇感触点位于所述操作区域下边缘的中间位置。In another embodiment of the present invention, the rocking touch point is a navigation touch point of the device, and the rocking touch point is located in the middle of the lower edge of the operating area.

其中,当该摇感触点为该装置的导航触点时,该摇感触点具备导航触点的功能,也即是,该导航触点对应的触摸手势以及每个触摸手势对应的操作指令是固定的,因此,基于该摇感触点触发相同的触摸手势时,其对应的操作指令与导航触点对应的操作指令保持一致。Wherein, when the rocking touch point is the navigation touch point of the device, the rocking touch point has the function of a navigation touch point, that is, the touch gesture corresponding to the navigation touch point and the operation command corresponding to each touch gesture are fixed. Therefore, when the same touch gesture is triggered based on the rocking contact, its corresponding operation instruction is consistent with the operation instruction corresponding to the navigation contact.

具体的,当所述预设对应关系包括单击和/或右滑时,所述单击对应的操作指令为返回系统界面,所述右滑对应的操作指令为后退。Specifically, when the preset correspondence includes single click and/or right swipe, the operation instruction corresponding to the single click is to return to the system interface, and the operation instruction corresponding to the right swipe is back.

本发明实施例提供的基于触摸手势的控制装置,该装置包括触摸屏,且在触摸屏显示时的显示界面上设置有摇感触点,该显示界面包括操作区域和非操作区域,且操作区域位于非操作区域的下方,通过检测在操作区域内输入的触摸手势,并判断该触摸手势是否满足预设条件,该预设条件为触摸手势的起始触点为摇感触点,且触摸手势为单指控制;若该触摸手势满足预设条件,则基于该触摸手势,查询预设对应关系中与该触摸手势对应的第一操作指令,其中,预设对应关系包括至少一个预设触摸手势、以及每个预设触摸手势对应的操作指令,任意两个预设触摸手势对应的操作指令不同,之后,基于第一操作指令,对装置进行控制,从而可以使用户通过单手对该装置进行控制操作,进而提高该装置的使用效率。The embodiment of the present invention provides a control device based on touch gestures, the device includes a touch screen, and the display interface when the touch screen is displayed is provided with a shaking touch point, the display interface includes an operation area and a non-operation area, and the operation area is located in the non-operation area Below the area, by detecting the touch gesture input in the operation area, and judging whether the touch gesture meets the preset condition, the preset condition is that the initial touch point of the touch gesture is a shake touch point, and the touch gesture is a single-finger control ; if the touch gesture satisfies the preset condition, based on the touch gesture, query the first operation instruction corresponding to the touch gesture in the preset correspondence, wherein the preset correspondence includes at least one preset touch gesture, and each The operation instructions corresponding to the preset touch gestures, the operation instructions corresponding to any two preset touch gestures are different, and then, based on the first operation instruction, the device is controlled, so that the user can control and operate the device with one hand, and then Improve the use efficiency of the device.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims (10)

1.一种基于触摸手势的控制方法,其特征在于,应用于终端,所述终端包括触摸屏,且在所述触摸屏显示时的显示界面上设置有摇感触点,所述显示界面包括操作区域和非操作区域,且所述操作区域位于所述非操作区域的下方,所述方法包括:1. A control method based on touch gestures, characterized in that it is applied to a terminal, the terminal includes a touch screen, and a touch screen is provided with a shaking touch point on the display interface when the touch screen is displayed, and the display interface includes an operation area and a non-operating area, and the operating area is located below the non-operating area, the method comprising: 检测在所述操作区域内输入的触摸手势;detecting a touch gesture input within the operating area; 判断所述触摸手势是否满足预设条件,所述预设条件为所述触摸手势的起始触点为所述摇感触点,且所述触摸手势为单指控制;judging whether the touch gesture satisfies a preset condition, the preset condition being that the initial touch point of the touch gesture is the shake touch point, and the touch gesture is single-finger control; 若所述触摸手势满足预设条件,则基于所述触摸手势,查询预设对应关系中与所述触摸手势对应的第一操作指令,所述预设对应关系包括至少一个预设触摸手势、以及每个预设触摸手势对应的操作指令,任意两个预设触摸手势对应的操作指令不同;If the touch gesture satisfies the preset condition, based on the touch gesture, query the first operation instruction corresponding to the touch gesture in the preset correspondence, the preset correspondence includes at least one preset touch gesture, and The operation instructions corresponding to each preset touch gesture, and the operation instructions corresponding to any two preset touch gestures are different; 基于所述第一操作指令,对所述终端进行控制。Based on the first operation instruction, the terminal is controlled. 2.根据权利要求1所述的方法,其特征在于,所述预设触摸手势包括:上拉左滑、上拉右滑、左滑上拉、右滑上拉、上拉左滑并长按、上拉右滑并长按、左滑上拉并长按、右滑上拉并长按、下拉左滑、下拉右滑、左滑下拉、右滑下拉、下拉左滑并长按、下拉右滑并长按、左滑下拉并长按、右滑下拉并长按、单击、双击、长按、右滑、左滑、上拉、上拉至顶部。2. The method according to claim 1, wherein the preset touch gestures include: pull up to slide left, pull up to slide right, slide left to pull up, slide right to pull up, pull up to slide left and press and hold , pull up and slide right and long press, slide left and slide up and press and hold, slide right and slide up and press and hold, pull down and slide left, slide down right Swipe and long press, slide left to pull down and long press, slide right to pull down and long press, single click, double click, long press, right slide, left slide, pull up, pull up to top. 3.根据权利要求1或2所述的方法,其特征在于,所述操作指令包括返回系统界面、后退、前进、返回应用管理、关机、模式更改、拍照、截屏、切换下一个应用、切换上一个应用、增加音量、减小音量、连续切换至下一个应用、连续切换至上一个应用、持续增加音量、持续减小音量、放大、缩小。3. The method according to claim 1 or 2, wherein the operation instructions include returning to the system interface, back, forward, back to application management, shutdown, mode change, taking pictures, taking screenshots, switching to the next application, switching to the previous One app, volume up, volume down, continuous switching to next application, continuous switching to previous application, continuous volume up, continuous volume down, zoom in, zoom out. 4.根据权利要求1所述的方法,其特征在于,所述摇感触点为所述终端的导航触点,且所述摇感触点位于所述操作区域下边缘的中间位置。4. The method according to claim 1, wherein the rocking touch point is a navigation touch point of the terminal, and the rocking touch point is located in the middle of the lower edge of the operation area. 5.根据权利要求4所述的方法,其特征在于,当所述预设对应关系包括单击和/或右滑时,所述单击对应的操作指令为返回系统界面,所述右滑对应的操作指令为后退。5. The method according to claim 4, wherein when the preset corresponding relationship includes single click and/or right slide, the operation instruction corresponding to the single click is to return to the system interface, and the right slide corresponds to The operation command for is back. 6.一种基于触摸手势的控制装置,其特征在于,所述装置包括触摸屏,且在所述触摸屏显示时的显示界面上设置有摇感触点,所述显示界面包括操作区域和非操作区域,且所述操作区域位于所述非操作区域的下方,所述装置包括:6. A control device based on touch gestures, characterized in that the device includes a touch screen, and a shake-sensitive contact is provided on a display interface when the touch screen is displayed, and the display interface includes an operating area and a non-operating area, And the operating area is located below the non-operating area, the device includes: 检测单元,用于检测在所述操作区域内输入的触摸手势;a detection unit, configured to detect a touch gesture input in the operation area; 判断单元,用于判断所述触摸手势是否满足预设条件,所述预设条件为所述触摸手势的起始触点为所述摇感触点,且所述触摸手势为单指控制;A judging unit, configured to judge whether the touch gesture satisfies a preset condition, the preset condition being that the initial touch point of the touch gesture is the shake touch point, and the touch gesture is single-finger control; 查询单元,用于若所述触摸手势满足预设条件,则基于所述触摸手势,查询预设对应关系中与所述触摸手势对应的第一操作指令,所述预设对应关系包括至少一个预设触摸手势、以及每个预设触摸手势对应的操作指令,任意两个预设触摸手势对应的操作指令不同;A query unit, configured to, if the touch gesture satisfies a preset condition, based on the touch gesture, query a first operation instruction corresponding to the touch gesture in a preset correspondence, the preset correspondence including at least one preset Assuming touch gestures and operation instructions corresponding to each preset touch gesture, the operation instructions corresponding to any two preset touch gestures are different; 控制单元,用于基于所述第一操作指令,对所述装置进行控制。A control unit, configured to control the device based on the first operation instruction. 7.根据权利要求6所述的装置,其特征在于,所述预设触摸手势包括:上拉左滑、上拉右滑、左滑上拉、右滑上拉、上拉左滑并长按、上拉右滑并长按、左滑上拉并长按、右滑上拉并长按、下拉左滑、下拉右滑、左滑下拉、右滑下拉、下拉左滑并长按、下拉右滑并长按、左滑下拉并长按、右滑下拉并长按、单击、双击、长按、右滑、左滑、上拉、上拉至顶部。7. The device according to claim 6, wherein the preset touch gestures include: pull up to slide left, pull up to slide right, slide left to pull up, slide right to pull up, pull up to slide left and press and hold , pull up and slide right and long press, slide left and slide up and press and hold, slide right and slide up and press and hold, pull down and slide left, slide down right Swipe and long press, slide left to pull down and long press, slide right to pull down and long press, single click, double click, long press, right slide, left slide, pull up, pull up to top. 8.根据权利要求6或7所述的装置,其特征在于,所述操作指令包括返回系统界面、后退、前进、返回应用管理、关机、模式更改、拍照、截屏、切换下一个应用、切换上一个应用、增加音量、减小音量、连续切换至下一个应用、连续切换至上一个应用、持续增加音量、持续减小音量、放大、缩小。8. The device according to claim 6 or 7, wherein the operation instructions include returning to the system interface, back, forward, back to application management, shutdown, mode change, taking pictures, taking screenshots, switching to the next application, switching to the previous One app, volume up, volume down, continuous switching to next application, continuous switching to previous application, continuous volume up, continuous volume down, zoom in, zoom out. 9.根据权利要求6所述的装置,其特征在于,所述摇感触点为所述装置的导航触点,且所述摇感触点位于所述操作区域下边缘的中间位置。9. The device according to claim 6, wherein the rocking touch point is a navigation touch point of the device, and the rocking touch point is located in the middle of the lower edge of the operating area. 10.根据权利要求9所述的装置,其特征在于,当所述预设对应关系包括单击和/或右滑时,所述单击对应的操作指令为返回系统界面,所述右滑对应的操作指令为后退。10. The device according to claim 9, wherein when the preset correspondence includes single click and/or right slide, the operation instruction corresponding to the single click is to return to the system interface, and the right slide corresponds to The operation command for is back.
CN201610101060.1A 2016-02-24 2016-02-24 Touch gesture based control method and device Pending CN105718204A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610101060.1A CN105718204A (en) 2016-02-24 2016-02-24 Touch gesture based control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610101060.1A CN105718204A (en) 2016-02-24 2016-02-24 Touch gesture based control method and device

Publications (1)

Publication Number Publication Date
CN105718204A true CN105718204A (en) 2016-06-29

Family

ID=56156107

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610101060.1A Pending CN105718204A (en) 2016-02-24 2016-02-24 Touch gesture based control method and device

Country Status (1)

Country Link
CN (1) CN105718204A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106502561A (en) * 2016-10-12 2017-03-15 乐视控股(北京)有限公司 Terminal operation method and device
CN106557239A (en) * 2016-11-29 2017-04-05 深圳铂睿智恒科技有限公司 The screenshotss method of touch panel device, system and touch panel device
CN106845190A (en) * 2016-12-26 2017-06-13 珠海市魅族科技有限公司 Display control program and method
CN107172735A (en) * 2017-04-26 2017-09-15 广东美的厨房电器制造有限公司 A kind of control method and firing equipment
CN107291226A (en) * 2017-06-12 2017-10-24 深圳市创梦天地科技股份有限公司 Control method and device, terminal based on touch gestures

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681779A (en) * 2012-04-25 2012-09-19 中兴通讯股份有限公司南京分公司 Method and device for operating touch screen
JP2012242851A (en) * 2011-05-13 2012-12-10 Lenovo Singapore Pte Ltd Portable electronic device having touch screen and control method
CN102937873A (en) * 2012-10-12 2013-02-20 天津三星通信技术研究有限公司 Method and equipment for performing keyboard inputting in portable terminal
CN103197885A (en) * 2013-03-04 2013-07-10 东莞宇龙通信科技有限公司 Mobile terminal manipulation method and mobile terminal thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012242851A (en) * 2011-05-13 2012-12-10 Lenovo Singapore Pte Ltd Portable electronic device having touch screen and control method
CN102681779A (en) * 2012-04-25 2012-09-19 中兴通讯股份有限公司南京分公司 Method and device for operating touch screen
CN102937873A (en) * 2012-10-12 2013-02-20 天津三星通信技术研究有限公司 Method and equipment for performing keyboard inputting in portable terminal
CN103197885A (en) * 2013-03-04 2013-07-10 东莞宇龙通信科技有限公司 Mobile terminal manipulation method and mobile terminal thereof

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106502561A (en) * 2016-10-12 2017-03-15 乐视控股(北京)有限公司 Terminal operation method and device
CN106557239A (en) * 2016-11-29 2017-04-05 深圳铂睿智恒科技有限公司 The screenshotss method of touch panel device, system and touch panel device
CN106845190A (en) * 2016-12-26 2017-06-13 珠海市魅族科技有限公司 Display control program and method
CN106845190B (en) * 2016-12-26 2020-08-04 珠海市魅族科技有限公司 Display control system and method
CN107172735A (en) * 2017-04-26 2017-09-15 广东美的厨房电器制造有限公司 A kind of control method and firing equipment
CN107291226A (en) * 2017-06-12 2017-10-24 深圳市创梦天地科技股份有限公司 Control method and device, terminal based on touch gestures

Similar Documents

Publication Publication Date Title
JP5759660B2 (en) Portable information terminal having touch screen and input method
KR102519800B1 (en) Electronic device
WO2020259651A1 (en) Method for controlling user interface and electronic device
CN107124508B (en) Position adjusting method and device of suspension control, terminal and readable storage medium
CN107509028B (en) A kind of image pickup method, mobile terminal and computer readable storage medium
WO2018157662A1 (en) Display control method for mobile terminal, and mobile terminal
WO2014032431A1 (en) Terminal device and method for quickly starting program
CN107066167A (en) A kind of regional selection method, device and graphic user interface
CN105103110B (en) Information terminal, display control method and program
CN104360813B (en) A kind of display device and information processing method thereof
TWI616803B (en) Screen zooming and operation method, device and computer program product
KR20160028338A (en) Potable terminal device comprisings bended display and method for controlling thereof
CN108509105B (en) Application program management method and terminal
CN108762619A (en) buoy display method, device, terminal and storage medium
CN107797747A (en) A kind of screen control method, device and terminal based on multi-screen
WO2017101445A1 (en) Method for responding to operation track and operation track response apparatus
CN104731496A (en) Unlocking method and electronic device
CN110531904A (en) Background task display method and terminal
WO2019062431A1 (en) Photographing method and mobile terminal
WO2020173235A1 (en) Task switching method and terminal device
CN105718204A (en) Touch gesture based control method and device
KR101559091B1 (en) Potable terminal device comprisings bended display and method for controlling thereof
CN106406535B (en) A kind of mobile device operation method, apparatus and mobile device
CN103513871A (en) Method and device for having control over mobile terminal
CN111314552A (en) User interface control method and device, and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160629