CN102968277B - Touch screen or cut delete files based method and apparatus - Google Patents

Touch screen or cut delete files based method and apparatus Download PDF

Info

Publication number
CN102968277B
CN102968277B CN 201210506204 CN201210506204A CN102968277B CN 102968277 B CN102968277 B CN 102968277B CN 201210506204 CN201210506204 CN 201210506204 CN 201210506204 A CN201210506204 A CN 201210506204A CN 102968277 B CN102968277 B CN 102968277B
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
file
gesture command
gesture
cut
delete
Prior art date
Application number
CN 201210506204
Other languages
Chinese (zh)
Other versions
CN102968277A (en )
Inventor
夏新球
Original Assignee
小米科技有限责任公司
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
Grant date

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; 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 entering handwritten data, e.g. gestures, text
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector

Abstract

本发明公开了基于触摸屏删除或剪切文件的方法,能够简化删除或剪切文件时的操作。 The present invention discloses a method based on a touch screen to delete a file or cut, can be simplified or shearing operation when deleting a file. 所述方法包括:捕获用户通过触摸屏输入的第一手势指令;根据第一手势指令进入待删除或剪切状态;捕获用户通过触摸屏输入的针对目标文件的第二手势指令;其中,第二手势指令包括对所述目标文件的拖动操作;根据第二手势指令,删除或剪切所述目标文件。 The method comprising: capturing a user through the first touch-screen input gesture command; delete or cut into standby state according to a first gesture command; capturing a second gesture command by the user for the target file of the touch-screen input; wherein the second hand potential instructions include a drag operation of the target file; according to the second gesture command, delete or cut the target document. 本发明还公开了用于实现所述方法的装置。 The present invention also discloses an apparatus for implementing the method.

Description

基于触摸屏删除或剪切文件的方法及装置 Touch screen or cut delete files based method and apparatus

技术领域 FIELD

[0001]本发明涉及文件处理领域,尤其涉及基于触摸屏删除或剪切文件的方法及装置。 [0001] The present invention relates to document processing, and more particularly relates to a method and apparatus based on a touch screen to delete a file or shear.

背景技术 Background technique

[0002]随着通信技术的发展,具有触摸屏的手机已得到广泛的普及。 [0002] With the development of communication technology, mobile phones with a touch screen has been widely popular. 手机的存储空间是有限的,为了能保证手机运行顺畅,用户需要经常对手机上存储的文件进行整理,包括对手机上的联系人信息、短信、照片等进行整理,这其中删除和剪切是非常常见的操作。 The phone's storage space is limited, in order to ensure the smooth operation of the phone, users often need to store files on the phone to sort, including contact information on your phone, text messages, photos, organize, delete and which are cut very common operation.

[0003]以删除文件为例,如果手机中提供编辑和删除按钮的应用,通过触摸屏删除文件的操作过程包括: [0003] to delete the file, for example, if the application provides edit and delete button phone, through the process of operating the touch screen to delete files include:

[0004]点击编辑按钮,进入待删除或剪切状态; [0004] Click on the Edit button, to delete or cut into the state;

[0005]点击需要删除的文件;此时可以有多个文件被选中; [0005] Click on the file you want to delete; then you can have multiple files to be selected;

[0006]点击删除按钮,删除选中的文件。 [0006] click the Delete button to delete the selected file.

[0007]由此可见,整个删除操作较为繁琐,操作过程较多,并且需要点击特定的删除按钮才能完成删除操作。 [0007] Thus, the entire delete operation is more complicated, more during the operation, and will need to click the Delete button to complete specific deletion.

[0008]如果手机中未提供编辑和删除按钮的应用,则只能先选中要删除的一个文件,然后通过弹出菜单选择相应的命令进行删除,当要删除多个文件时,需要对每个文件逐一操作,操作不够简便。 [0008] If the application Edit and Delete buttons do not provide phone, you must first select a file you want to delete, and then delete command by selecting the appropriate pop-up menu when you want to delete multiple files, each file each operation, the operation is not simple.

发明内容 SUMMARY

[0009]本发明实施例提供基于触摸屏删除或剪切文件的方法及装置,能够简化删除或剪切文件时的操作。 [0009] Example embodiment of the present invention to provide a method and apparatus of a touch screen or shear delete a file-based deletion operation can be simplified or cut file.

[0010]本发明实施例提供一种基于触摸屏删除或剪切文件的方法,包括以下步骤:捕获用户通过触摸屏输入的第一手势指令;根据第一手势指令进入待删除或剪切状态;捕获用户通过触摸屏输入的针对目标文件的第二手势指令;其中,第二手势指令包括对所述目标文件的拖动操作;根据第二手势指令,删除或剪切所述目标文件。 [0010] Embodiments of the present invention provides a method for a touch screen or shear delete file-based, comprising the steps of: capturing a first user through the touch-screen input gesture command; to be deleted or cut into the state according to a first gesture command; capturing user the second target file gesture touch-screen input instruction; wherein the second gesture includes dragging operation instruction of the target file; according to the second gesture command, delete or cut the target document. 本实施例不提供删除按钮,而是通过第二手势指令这一个动作同时实现选中文件和删除文件两个操作。 This embodiment does not provide a delete button, but this operation instruction while achieving two selected files and file delete operation by the second gesture. 使得删除或剪切操作更灵活简便。 Delete or cut makes the operation more convenient and flexible.

[0011 ]优选的,第一手势指令为:在所述目标文件所在的窗口中进行单点操作;或者,在所述目标文件所在的窗口中进行多点操作;或者,在所述目标文件所在的窗口中进行单点滑动操作。 [0011] Preferably, the first gesture command is: a single point in the operation window of the target file is located; or multi-point operation is located in a window of the target file; or, where the target file in single point sliding window operation. 本实施例中第一手势指令可以在文件所在窗口中的任意一个位置实现,不需要点击特定的按钮,操作更灵活。 File can be located in any position of the window to achieve, not need to click a specific button, operation more flexible in a first embodiment according to the present embodiment gesture command.

[0012]优选的,第一手势指令为长按操作。 [0012] Preferably, the first gesture is a long-press operation instruction. 这样可通过单点或多点操作并结合长按操作来区别于其它的手势指令。 This single or multi-point binding operation and long press operation instruction is different from other gestures.

[0013]优选的,当第一手势指令是单点操作时,根据第一手势指令进入待删除或剪切状态的步骤包括:判断单点操作是否选中文件,如果单点操作选中文件,输出表示是否进入待删除或剪切状态的提示,当收到用户选择进入待删除或剪切状态的指令时,进入待删除或剪切状态;如果单点操作未选中文件,则进入待删除或剪切状态。 Step [0013] Preferably, when the first gesture is a single-point operation instruction, to be entered in accordance with the first gesture command to delete or cut state comprises: determining whether a single-point operation select the file, a single-point operation select the file, outputs a whether to enter the state to be deleted or cut tips, when receiving a user selection to enter an instruction to delete or shearing state, the process proceeds to delete or cut state; if the selected file is not a single point of operation, the process proceeds to delete or cut status. 本实施例中可能存在一种特殊的情况,就是第一手势指令点击在文件的图标处,为了区别于打开文件的操作,此时通过输出提示信息来由用户选择其所要进行的操作。 The present embodiment there may be a special case of this embodiment, a first gesture command is clicking the icon of the file, in order to distinguish the file opening operation, in which case the user selects the operation information reason they are to be output by the tips. 这样,可解决特殊情况下如何进入待删除或剪切状态的问题。 In this way, how to solve under special circumstances to be deleted or cut into the state's problems.

[0014]优选的,捕获用户通过触摸屏输入的第二手势指令的同时,持续捕获用户通过触摸屏输入的第一手势指令。 [0014] Preferably, the second gesture captured by a user touch screen input commands while continuously capturing the user through the first touch-screen input gesture command. 本实施例中在保持第一手势指令的同时进行第二手势指令,相当于通过多点手势操作来进行文件的删除或剪切。 In this embodiment the second gesture command while maintaining the first gesture command, which is equivalent to delete a file or shearing operation by the multi-point gesture. 仅需要两个手势,操作简便,并且不容易与其它已有的手势指令冲突,操作更准确。 Only two gestures, simple, and not easily with other existing conflicts gesture command, the operation more accurate.

[0015]优选的,根据第二手势指令,删除或剪切通过第二手势指令选中的文件的步骤包括:根据第二手势指令,判断拖动的距离是否达到预设的距离门限,如果拖动的距离达到预设的距离门限,则删除或剪切通过第二手势指令选中的文件。 [0015] Preferably, according to the second gesture command, a second step of deleting, or shearing by the selected gesture command file comprises: according to a second gesture command, it is determined whether the distance of the dragging distance reaches a preset threshold, If you drag the distance reaches a preset distance threshold, then delete or cut through the second gesture command selected file. 本实施例中通过判断拖动的距离是否达到预设的距离门限,来区分用户的删除(或剪切)操作与单纯的拖动文件的操作。 The present embodiment is determined by whether the distance of the dragging distance reaches a preset threshold, to distinguish the user to delete (or cut) with a simple dragging operation of the operation file. 以减少误操作。 To reduce misuse.

[0016]优选的,第二手势指令为:选中目标文件并按照预设的第一方向拖动,或选中目标文件并按照预设的第二方向拖动;所述根据第二手势指令,删除或剪切所述目标文件为:如果所述第二手势指令为选中目标文件并按照预设的第一方向拖动,删除所述目标文件;如果所述第二手势指令为选中目标文件并按照预设的第二方向拖动,剪切所述目标文件。 [0016] Preferably, the second gesture command is: select the target file in a first direction and a preset drag, or drag and select the target file in a second predetermined direction; according to the second gesture command , deleting, or shearing the target file is: if the instruction is a second gesture to select the target file in a first direction and a preset drag delete the target file; if the second gesture command is selected according to a second target file and drag preset direction, cut the target document. 本实施例通过不同的手势方向来区分删除和剪切操作,以减少误操作,并且操作简便。 Remove the present embodiment and shearing operation to distinguish different gesture directions, in order to reduce erroneous operation, and easy to operate.

[0017]本发明实施例提供一种基于触摸屏删除或剪切文件的方法,包括以下步骤:捕获用户通过触摸屏输入的第一手势指令;根据第一手势指令进入待删除或剪切状态;捕获用户通过触摸屏输入的第二手势指令;根据第二手势指令,选中目标文件;捕获用户通过触摸屏输入的针对目标文件的第三手势指令,该第三手势指令包括对至少一个目标文件的拖动操作;根据第三手势指令,删除或剪切第二手势指令选中的目标文件。 [0017] Embodiments of the present invention provides a method for a touch screen or shear delete file-based, comprising the steps of: capturing a first user through the touch-screen input gesture command; to be deleted or cut into the state according to a first gesture command; capturing user second gesture command input through the touch screen; according to the second gesture command, select the target file; capturing user gestures by the third instruction for the target file touch-screen input, the third drag gesture command comprises at least one target document operation; according to a third gesture command, a second gesture command to delete or cut the selected target file. 本发明实施例中通过第二手势指令可以选择多个目标文件,然后通过第三手势指令进行批量删除或剪切,使操作更快捷。 Embodiments of the present invention may be selected by a second plurality of object files gesture command, then the mass delete or cut by a third gesture command, make the operation more efficient. 并且,第三手势指令为拖动手势指令,不需要点击特定的删除按钮,也不需要提供该按钮,使删除或剪切操作更灵活。 And the third gesture command as the drag gesture command, do not need to click on a specific Delete button, the button does not need to provide the delete or cut operation more flexible.

[0018]优选的,第一手势指令为:在所述目标文件所在的窗口中进行单点操作;或者,在所述目标文件所在的窗口中进行多点操作;或者,在所述目标文件所在的窗口中进行单点滑动操作。 [0018] Preferably, the first gesture command is: a single point in the operation window of the target file is located; or multi-point operation is located in a window of the target file; or, where the target file in single point sliding window operation. 本实施例中第一手势指令可以在文件所在窗口中的任意一个位置实现,不需要点击特定的按钮,操作更灵活。 File can be located in any position of the window to achieve, not need to click a specific button, operation more flexible in a first embodiment according to the present embodiment gesture command.

[0019]优选的,第一手势指令为长按操作。 [0019] Preferably, the first gesture is a long-press operation instruction. 这样可通过单点或多点的长按操作来区别于其它的手势指令。 Such operations may be distinguished from the other by the gesture command by a long single point or points.

[0020]优选的,当第一手势指令是单点操作时,根据第一手势指令进入待删除或剪切状态的步骤包括:判断单点操作是否选中文件,如果单点操作选中文件,输出表示是否进入待删除或剪切状态的提示,当收到用户选择进入待删除或剪切状态的指令时,进入待删除或剪切状态;如果单点操作未选中文件,则进入待删除或剪切状态。 Step [0020] Preferably, when the first gesture is a single-point operation instruction, to be entered in accordance with the first gesture command to delete or cut state comprises: determining whether a single-point operation select the file, a single-point operation select the file, outputs a whether to enter the state to be deleted or cut tips, when receiving a user selection to enter an instruction to delete or shearing state, the process proceeds to delete or cut state; if the selected file is not a single point of operation, the process proceeds to delete or cut status. 本实施例中可能存在一种特殊的情况,就是第一手势指令点击在文件的图标处,为了区别于打开文件的操作,此时通过输出提示信息来由用户选择其所要进行的操作。 The present embodiment there may be a special case of this embodiment, a first gesture command is clicking the icon of the file, in order to distinguish the file opening operation, in which case the user selects the operation information reason they are to be output by the tips. 这样,可解决特殊情况下如何进入待删除或剪切状态的问题。 In this way, how to solve under special circumstances to be deleted or cut into the state's problems.

[0021]优选的,捕获用户通过触摸屏输入的第二手势指令和第三手势指令的同时,持续捕获用户对触摸屏进行的第一手势指令。 [0021] Preferably, the capture user input through the touch screen while the second and third gesture command in the gesture command for capturing a first user gesture command on the touch screen. 本实施例中在保持第一手势指令的同时进行第二手势指令和第三手势指令,相当于通过多点手势操作来进行文件的删除或剪切。 In this embodiment the second and third gesture command gesture command while maintaining the first gesture command, which is equivalent to delete a file or shearing operation by the multi-point gesture. 仅需要两个手势,操作简便,并且不容易与其它已有的手势指令冲突,操作更准确。 Only two gestures, simple, and not easily with other existing conflicts gesture command, the operation more accurate.

[0022]优选的,第二手势指令为单点操作,选中的目标文件包括一次或多次单点操作选中的文件;或者,第二手势指令为滑动并且滑动轨迹形成非封闭区域,选中的目标文件为滑动轨迹覆盖的文件或除滑动轨迹覆盖之外的文件;或者,第二手势指令为滑动并且滑动轨迹形成封闭区域,选中的目标文件为封闭区域内的文件或封闭区域外的文件。 [0022] Preferably, the second gesture is a single-point operation instruction, the selected target files included one or more single point of operation selected; or a sliding gesture command and the second sliding track form a non-enclosed area, select file object file or a cover for the sliding track file other than the sliding track cover; alternatively, the second gesture command as a closed sliding track and a sliding region, the outer region of the selected target file is a closed file or closed in the region file. 通过各种操作均可实现选择多个文件,便于实现文件的批量处理。 Various operations can be achieved by selecting a plurality of files, the file facilitates bulk handling.

[0023]优选的,根据第三手势指令,删除或剪切目标文件的步骤包括:根据第三手势指令,判断拖动的距离是否达到预设的距离门限,如果拖动的距离达到预设的距离门限,则删除或剪切目标文件。 [0023] Preferably, according to a third gesture command, the step of deleting a target file or shear comprising: a third gesture command, it is determined whether the distance of the dragging distance reaches a preset threshold, if the distance of the dragging reaches a preset distance threshold, then delete or cut the target file. 本实施例中通过判断拖动的距离是否达到预设的距离门限,来区分用户的删除(或剪切)操作与单纯的拖动文件的操作。 The present embodiment is determined by whether the distance of the dragging distance reaches a preset threshold, to distinguish the user to delete (or cut) with a simple dragging operation of the operation file. 以减少误操作。 To reduce misuse.

[0024]优选的,第三手势指令为:对至少一个目标文件按照预设的第一方向拖动,或对至少一个目标文件按照预设的第二方向拖动;所述根据第三手势指令,删除或剪切所述目标文件为:如果所述第三手势指令为对至少一个目标文件按照预设的第一方向拖动,删除第二手势指令选中的目标文件;如果所述第三手势指令为对至少一个目标文件按照预设的第二方向拖动,剪切第二手势指令选中的目标文件。 [0024] Preferably, the third gesture command as follows: in a first direction for a predetermined drag at least one target file, or drag according to the second predetermined direction to the at least one target document; according to the third gesture command , deleting, or shearing the target file is: if the gesture command is a third predetermined direction in accordance with a first drag for at least one target file, the second gesture command to delete the selected target file; if the third gesture command is a predetermined direction in accordance with a second drag for at least one target file, the second gesture command shear selected target file. 本实施例通过不同的手势方向来区分删除和剪切操作,以减少误操作,并且操作简便。 Remove the present embodiment and shearing operation to distinguish different gesture directions, in order to reduce erroneous operation, and easy to operate.

[0025]本发明实施例提供一种删除或剪切文件的装置,包括: [0025] The apparatus of embodiments of the present invention provides a cut or delete a file, comprising:

[0026]接口模块,用于捕获用户通过触摸屏输入的第一手势指令;以及,捕获用户通过触摸屏输入的针对目标文件的第二手势指令;其中,第二手势指令包括对所述目标文件的拖动操作; [0026] the interface module, for capturing a first user through the touch-screen input gesture command; and a second user gesture capture target file touch-screen input instruction; wherein the second gesture command includes the target documents a drag operation;

[0027]第一处理模块,用于根据第一手势指令进入待删除或剪切状态; [0027] The first processing module, configured to be deleted or cut into the state according to a first gesture command;

[0028]第二处理模块,用于根据第二手势指令,删除或剪切所述目标文件。 [0028] The second processing module, according to a second gesture command, delete or cut the target document.

[0029]第一手势指令为: [0029] The first gesture command is:

[0030]在所述目标文件所在的窗口中进行单点操作;或者[0031 ]在所述目标文件所在的窗口中进行多点操作;或者 [0,030] single point operation window is located in the target file; or [0031] multi-point operation is located in a window of the target file; or

[0032]在所述目标文件所在的窗口中进行单点滑动操作。 [0032] The single point sliding window operation of the target file is located.

[0033]第一手势指令为长按操作。 [0033] The first gesture is a long-press operation instruction.

[0034]第一处理模块用于:在第一手势指令是单点操作时,判断单点操作是否选中文件,如果单点操作选中文件,输出表示是否进入待删除或剪切状态的提示,当收到用户选择进入待删除或剪切状态的指令时,进入待删除或剪切状态;如果单点操作未选中文件,则进入待删除或剪切状态。 [0034] The first processing module is configured to: when the first gesture is a single-point operation instruction, the operation determines whether the selected file single point, single point operative if the selected file, indicates whether or not to enter the state to be deleted or cut tips, when upon receipt of a user selection to enter an instruction to delete or shearing state, the process proceeds to delete or cut state; if the selected file is not a single point of operation, the process proceeds to delete or cut state.

[0035]接口模块捕获用户通过触摸屏输入的第二手势指令的同时,持续捕获用户通过触摸屏输入的第一手势指令。 [0035] The user interface module by simultaneously capturing a second touch-screen input gesture command for capturing the user through the first touch-screen input gesture command.

[0036]第二处理模块用于:根据第二手势指令,判断拖动的距离是否达到预设的距离门限,如果拖动的距离达到预设的距离门限,则删除或剪切通过第二手势指令选中的文件。 [0036] The second processing module is configured to: according to a second gesture command, it is determined whether the distance of the dragging distance reaches a preset threshold, if the distance of the dragging distance reaches a preset threshold, or is deleted by the second shearing gesture command selected file.

[0037]第二手势指令为:选中目标文件并按照预设的第一方向拖动所述目标文件,或选中目标文件并按照预设的第二方向拖动所述目标文件; [0037] The second gesture command is: select the target file in a first direction and drag preset the target file, and drag the file or select the target the target file according to a preset second direction;

[0038]所述第二处理模块用于:如果所述第二手势指令为选中目标文件并按照预设的第一方向拖动所述目标文件,删除所述目标文件;如果所述第二手势指令为选中目标文件并按照预设的第二方向拖动所述目标文件,剪切所述目标文件。 [0038] The second processing module is configured to: if the second gesture command as the selected target file and drag the target file in a first predetermined direction, to delete the target file; if the second gesture command is selected according to a preset target file and a second file to the target direction of the drag, cut the target document.

[0039]本发明实施例提供一种删除或剪切文件的装置,包括: [0039] The apparatus of embodiments of the present invention provides a cut or delete a file, comprising:

[0040]接口模块,用于捕获用户通过触摸屏输入的第一手势指令;捕获用户通过触摸屏输入的第二手势指令;捕获用户对目标文件的第三手势指令,该第三手势指令包括对至少一个目标文件的拖动手势指令; [0040] the interface module, for capturing a first user through the touch-screen input gesture command; capturing a second user through the touch-screen input gesture command; capture a third user gesture command for the target file, which comprises at least a third gesture command a drag gesture command object files;

[0041 ]第一处理模块,用于根据第一手势指令进入待删除或剪切状态; [0041] The first processing module, to be deleted or cut for entering a first state according to a gesture command;

[0042]第二处理模块,用于根据第二手势指令,选中目标文件; [0042] The second processing module, according to a second gesture command, select the target file;

[0043]第三处理模块,用于根据第三手势指令,删除或剪切第二手势指令选中的目标文件。 [0043] a third processing module, according to a third gesture command, a second gesture command to delete or cut the selected target file.

[0044]第一手势指令为:在所述目标文件所在的窗口中进行单点操作;或者,在所述目标文件所在的窗口中进行多点操作;或者,在所述目标文件所在的窗口中进行单点滑动操作。 [0044] The first gesture command is: a single point in the operation window of the target file is located; or multi-point operation is located in a window of the target file; or, in the window of the target file is located single point sliding operation.

[0045]第一手势指令为长按操作。 [0045] The first gesture is a long-press operation instruction.

[0046]第一处理模块用于:在第一手势指令是单点操作时,判断单点操作是否选中文件,如果单点操作选中文件,输出表示是否进入待删除或剪切状态的提示,当收到用户选择进入待删除或剪切状态的指令时,进入待删除或剪切状态;如果单点操作未选中文件,则进入待删除或剪切状态。 [0046] The first processing module is configured to: when the first gesture is a single-point operation instruction, the operation determines whether the selected file single point, single point operative if the selected file, indicates whether or not to enter the state to be deleted or cut tips, when upon receipt of a user selection to enter an instruction to delete or shearing state, the process proceeds to delete or cut state; if the selected file is not a single point of operation, the process proceeds to delete or cut state.

[0047]接口模块捕获用户通过触摸屏输入的第二手势指令和第三手势指令的同时,持续捕获用户对触摸屏进行的第一手势指令。 [0047] User interface module captures input via a touch screen while the second and third gesture command in the gesture command for capturing a first user gesture command on the touch screen.

[0048]第二手势指令为单点操作,所述选中的目标文件为一次或多次单点操作选中的文件; [0048] The second gesture is a single-point operation instruction, the selected target file is one or more single point operative selected files;

[0049]或者,第二手势指令为滑动并且滑动轨迹形成非封闭区域,所述选中的目标文件为滑动轨迹覆盖的文件或除滑动轨迹覆盖之外的文件; [0049] Alternatively, the second gesture command is a sliding and non-sliding track formed in a closed region, the selected file is a target file to cover the sliding track or sliding track other than the file cover;

[0050]或者,第二手势指令为滑动并且滑动轨迹形成封闭区域,所述选中的目标文件为封闭区域内的文件或封闭区域外的文件。 [0050] Alternatively, the second gesture command as a closed sliding track and a sliding region, the target file selected in the file is closed or a region outside the region enclosed file.

[0051]第三处理模块用于:根据第三手势指令,判断拖动的距离是否达到预设的距离门限,如果拖动的距离达到预设的距离门限,则删除或剪切第二手势指令选中的目标文件。 [0051] The third processing module is configured to: according to a third gesture command, it is determined whether the distance of the dragging distance reaches a preset threshold, if the distance of the dragging distance reaches a preset threshold, the second gesture is deleted or cut select the command of the target file.

[0052]第三手势指令为:对至少一个目标文件按照预设的第一方向拖动,或对至少一个目标文件按照预设的第二方向拖动; [0052] The third gesture command as follows: in a first direction for a predetermined drag at least one target file, or drag according to the second predetermined direction to the at least one target document;

[0053]所述第三处理模块用于:如果所述第三手势指令为对至少一个目标文件按照预设的第一方向拖动,删除第二手势指令选中的目标文件; [0053] The third processing module configured to: if the gesture command is a third predetermined direction in accordance with a first drag for at least one target file, the second gesture command to delete the selected target file;

[0054]如果所述第三手势指令为对至少一个目标文件按照预设的第二方向拖动,剪切第二手势指令选中的目标文件。 [0054] If the gesture command is a third predetermined direction in accordance with a second drag for at least one target file, the second gesture command shear selected target file.

[0055]本发明实施例的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明实施例而了解。 [0055] Other features and advantages of embodiments of the invention will be set forth in the description which follows, and in part will be obvious from the description, or learned by practice of embodiments of the present invention. 本发明实施例的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。 The objectives and other advantages of embodiments of the present invention may be realized and attained by the written description, claims, and drawings structure particularly pointed out.

[0056]下面通过附图和实施例,对本发明实施例的技术方案做进一步的详细描述。 [0056] accompanying drawings and the following embodiments, the technical solutions of the embodiments of the present invention will be further described in detail.

附图说明 BRIEF DESCRIPTION

[0057]附图用来提供对本发明实施例的进一步理解,并且构成说明书的一部分,并不构成对本发明实施例的限制。 [0057] The accompanying drawings provide a further understanding of embodiments of the present invention, and constitute a part of this specification, not limiting embodiments of the present invention. 在附图中: In the drawings:

[0058]图1A为本发明实施例中第一种删除或剪切文件的主要方法流程图; [0058] FIG. 1A embodiment flowchart showing a main method for the first cut or delete files embodiment of the invention;

[0059]图1B为本发明实施例中手势位置的示意图; [0059] FIG. 1B is a schematic diagram of the embodiment of the invention the position of a gesture;

[0060]图2为本发明实施例中第一种删除或剪切文件的详细方法流程图; [0060] Figure 2 detail in a flow chart a first method of deleting a file or shear embodiment of the invention;

[0061]图3为本发明实施例中第二种删除或剪切文件的主要方法流程图; [0061] FIG. 3 flowchart showing a main method of the second embodiment to delete a file or cut the embodiment of the present invention;

[0062]图4为本发明实施例中第二种删除或剪切文件的详细方法流程图; [0062] FIG 4 is a flowchart of a second embodiment in detail a method to delete a file or cut the embodiment of the present invention;

[0063]图5为本发明实施例中第一种删除或剪切文件的装置的结构图; [0063] Figure 5 a first embodiment a configuration diagram of an apparatus to delete a file or shear embodiment of the invention;

[0064]图6为本发明实施例中第二种删除或剪切文件的装置的结构图。 [0064] FIG. 6 is a configuration diagram of a second embodiment of the apparatus to delete a file or cut the embodiment of the present invention.

具体实施方式 detailed description

[0065]以下结合附图对本发明实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本发明实施例,并不用于限定本发明实施例。 [0065] Hereinafter, the embodiments of the invention will be described in conjunction with the accompanying drawings, it should be understood that the preferred embodiments described herein are only used to illustrate and explain the present embodiment of the invention, it is not intended to limit the embodiments of the present invention.

[0066]本发明实施例不提供删除按钮,而是通过第二手势指令这一个动作同时实现选中文件和删除文件两个操作。 Embodiment [0066] The present invention does not provide a delete button, but this operation instruction while achieving two selected files and file delete operation by the second gesture. 使得删除或剪切操作更灵活简便。 Delete or cut makes the operation more convenient and flexible.

[0067]参见图1A,本实施例中第一种删除或剪切文件的主要方法流程如下: [0067] Referring to Figure 1A, a first embodiment of the present embodiment to delete a file or cut the main flow of the method is as follows:

[0068]步骤101:捕获用户通过触摸屏输入的第一手势指令。 [0068] Step 101: capturing a first user gesture command by touch-screen input.

[0069]步骤102:根据第一手势指令进入待删除或剪切状态。 [0069] Step 102: delete or cut into standby state according to the first gesture command.

[0070]步骤103:捕获用户通过触摸屏输入的针对目标文件的第二手势指令;其中,第二手势指令包括对所述目标文件的拖动操作。 [0070] Step 103: Capture a second user gesture command by the target file of the touch-screen input; wherein the second gesture includes dragging operation instruction of the target file. 本实施例中的文件在窗口中体现为图标形式,文件包括文本文件、图片文件、应用程序等。 File in the present embodiment is embodied in the form of an icon window, a file including text files, image files, application programs and the like. 其中,拖动包括:文件本身随着手指的移动而移动,或者,文件本身并不随手指的移动而移动,相当于手指仅在选中的文件图标上点击及滑动。 Among them, drag include: file itself with the movement of the finger is moved, or the file itself does not move with the movement of the finger, the finger is equivalent to only click and slide on the selected file icon.

[0071]步骤104:根据第二手势指令,删除或剪切所述目标文件。 [0071] Step 104: According to a second gesture command, delete or cut the target document. 参见图1B所示,第一手势的较佳位置为11所示的位置,第二手势的位置如12所示的位置。 Referring to FIG. 1B, the preferred location of the first gesture to the position shown in FIG. 11, the position of the second gesture as the position shown in Figure 12.

[0072]其中,第一手势指令包括:在目标文件所在的窗口中进行单点操作;或者,在目标文件所在的窗口中进行多点操作;或者,在目标文件所在的窗口中进行单点滑动操作。 [0072] wherein the first gesture command comprises: a target file is located in a window in the single-point operation; or multi-point operation window objects'; alternatively, a single point sliding window is located in the target document operating. 这里的单点操作指与触摸屏的单点接触,例如用户单手指接触触摸屏,多点操作指与触摸屏的多点接触,例如用户多手指接触触摸屏,单点滑动指与触摸屏单点接触并滑动,例如用户单手指接触触摸屏并接着在触摸屏上滑动。 Here a single point of operation single-point contact finger with the touch screen, for example, the user single finger contacting the touch screen, multi-point multi-point contact operation finger with the touch screen, such as a user multi-finger contact with the touch screen, a single point sliding finger contact with the touch screen, a single point and slides, for example, the user single finger contacting the touch screen and then slides on the touch screen.

[0073]本实施例中第一手势可以在窗口中的任意位置进行操作,窗口中可以不提供特定(如“编辑”)按钮,直接根据第一手势指令进入待删除或剪切状态,简化了窗口内容。 [0073] In this embodiment a first gesture may operate at any position in the window, the window may not provide a specific (e.g., "Edit") button to go directly to delete or cut state according to the first gesture command, the simplified window contents.

[0074]由于本实施例中的第一手势指令为点击或滑动操作,如果操作的位置为窗口空白处,则可直接根据第一手势指令进入待删除或剪切状态。 [0074] Since the first embodiment of the present embodiment is a click or gesture command sliding operation, if the operation position of the space for a window, can be deleted or cut into the state according to the first gesture command directly. 但是可能存在一种特殊情况,就是第一手势指令点击在文件的图标处。 But there may be a special case, it is the first gesture command-click the icon of the file.

[0075]为了区别于打开文件等其它操作,作为第一种可选的实施方式,第一手势指令为在目标文件所在的窗口中进行长按操作,例如用户单点接触触摸屏并持续接触超过一设定时间。 [0075] In order to distinguish it from other operations to open the file, etc., as a first alternative embodiment, the first gesture command to perform a long-press operation target file is located in a window, for example, a user touches the touch screen single-point continuous contact and more than one set time.

[0076]为了区别于打开文件等其它操作,作为第二种可选的实施方式,在单点操作选中文件时,输出表示是否进入待删除或剪切状态的提示,当收到用户选择进入待删除或剪切状态的指令时,进入待删除或剪切状态。 [0076] In order to distinguish it from other operations to open the file, etc., as a second alternative embodiment, the file operation is selected at a single point, indicating whether the output to be deleted or cut into the status prompt upon receipt of the user to be selected into the deleting or shearing state instruction, the process proceeds to delete or cut state.

[0077]在上述前两种可选的实施方式中,用户可以通过设定的其他手势指令退出删除或剪切状态,也可以通过软件或硬件按钮来退出删除或剪切状态,例如通过终端上的“返回”硬件按钮,如图1B中的“返回”按钮13。 [0077] In the first two alternative embodiments, the user may exit the delete state by shearing or other gesture command set may be deleted or cut state to exit through software or hardware buttons on the terminal by e.g. "Back" button in the hardware, as shown in FIG. 1B "return" button 13. 这样在结束删除或剪切操作后,可以恢复终端正常的操作状态。 Thus after the cut or delete operation, the terminal can be restored to normal operation.

[0078]为了区别打开文件等其他操作,作为第三种可选的实施方式,在捕获用户通过触摸屏输入的第二手势指令的同时,持续捕获用户通过触摸屏输入的第一手势指令,当结束持续捕获第一手势指令时,即退出待删除或剪切状态。 [0078] In order to distinguish the other operations to open the file, etc., as a third alternative embodiment, while capturing the user via the second touch-screen input gesture command, continuing to capture the user through the first touch-screen input gesture command, when the end when continuous capture first gesture command to exit the state to be deleted or cut. 这样可有效的区别于其它手势指令,减少误操作。 Such can be effectively distinguished from other gesture command, reduce misuse.

[0079]较佳的,第二手势指令为:选中目标文件并按照预设的第一方向拖动,或选中目标文件并按照预设的第二方向拖动。 [0079] Preferably, the second gesture command is: select the target file in a first direction and a preset drag, or drag and select the target file in a second predetermined direction. 本实施例中可通过不同的拖动方向来区分删除操作和剪切操作。 The present embodiment may be distinguished by the shearing operation and deletion operation different drag direction. 为了区别于对文件的位置移动操作,第二手势拖动文件的距离应达到预设的距离门限(如在拖动方向上达到窗口长度的三分之一)。 In order to distinguish the operation position of the document, drag a file from the second gesture should reach a preset threshold distance (e.g., one-third the length of the window in the drag direction). 因此,需要根据第二手势指令,判断拖动的距离是否达到预设的距离门限,若是,则删除或剪切通过第二手势指令选中的文件;否贝IJ,不删除或不剪切通过第二手势指令选中的文件。 Therefore, according to the second gesture command, drag judge whether the distance reaches a preset distance threshold, and if so, remove or cut through the second gesture command selected files; No shellfish IJ, do not delete or cut by the second gesture command selected file.

[0080]下面通过一个典型实施例来详细介绍实现过程。 [0080] below with an exemplary embodiment described in detail in the implementation process. 在该典型实施例中,第一手势指令为单点操作,在捕获第二手势指令的同时,持续捕获第一手势指令,当结束持续捕获时,退出删除或剪切状态。 In this exemplary embodiment, the first gesture is a single-point operation instruction, while the second gesture capture command for capturing a first gesture command, when the end of the continuous capturing, deleting, or shearing state exit.

[0081]参见图2,本实施例中第一种删除或剪切文件的详细方法流程如下: [0081] Referring to Figure 2, the detailed processes in the first embodiment to delete a file or cut the present embodiment is as follows:

[0082]步骤201:捕获用户对触摸屏进行的第一手势指令。 [0082] Step 201: Capture a first user gesture command on the touch screen.

[0083]步骤202:判断第一手势指令操作的位置是否为图标位置,若是,则继续步骤203,否则继续步骤204。 [0083] Step 202: determining a first gesture instruction operation position is the position of an icon, and if yes, proceeds to step 203, otherwise proceeds to step 204.

[0084]步骤203:向用户输出提示,若用户选择进入待删除或剪切状态,则继续步骤204,若用户选择提示的其它操作,则继续其它操作,结束本次流程。 [0084] Step 203: output to the user prompt, if the subscriber chooses to delete or cut into the state, then proceeds to step 204, if the user selects the prompt other operations, other operations continue, end the current process.

[0085]步骤204:根据第一手势指令进入待删除或剪切状态。 [0085] Step 204: The first gesture command to enter the state to be deleted or cut.

[0086]步骤205:捕获用户对触摸屏中文件进行拖动的第二手势指令。 [0086] Step 205: Capture a user touches the screen in the second file drag gesture command.

[0087] 步骤206:判断拖动的距离是否达到预设的距离门限,若是,则继续步骤207;否则继续步骤208。 [0087] Step 206: determining whether the distance dragged reaches predetermined distance threshold, if yes, proceed to Step 207; otherwise, proceed to step 208.

[0088]步骤207:删除或剪切通过第二手势指令选中的文件。 [0088] Step 207: Delete the second gesture command or cut the selected file.

[0089]步骤208:不删除或不剪切通过第二手势指令选中的文件。 [0089] Step 208: Do not remove or cut by a second gesture command selected file.

[0090]本实施例中每次执行第二手势指令可删除或剪切一个文件,若需要删除或剪切多个文件,则在删除或剪切状态下需要多次执行和捕获第二手势指令,即重复步骤205〜步骤207,由此实现批量删除或剪切。 [0090] In the present embodiment, the second gesture command to delete a file or cut each execution, if the need to remove or cut a plurality of files, deleting or executed for multiple times and the captured state of the second hand shear potential instruction, i.e., repeat step 205~ step 207, thereby enabling batch delete or cut.

[0091]为了便于批量删除或剪切文件,可以先选择多个文件,再一次性删除或剪切选中的文件,具体实现参见下面的实施例。 [0091] In order to facilitate the mass delete files or cut, you can select multiple files or deleted at a time and then cut the selected files, see the following specific implementation examples.

[0092]参见图3,本实施例中第二种删除或剪切文件的主要方法流程如下: [0092] Referring to Figure 3, a second embodiment to delete a file or cut the main flow of the method according to the present embodiment is as follows:

[0093]步骤301:捕获用户通过触摸屏输入的第一手势指令。 [0093] Step 301: capturing a first user gesture command by touch-screen input.

[0094]步骤302:根据第一手势指令进入待删除或剪切状态。 [0094] Step 302: The first gesture command to enter the state to be deleted or cut.

[0095]步骤303:捕获用户通过触摸屏输入的第二手势指令。 [0095] Step 303: capture a second user gesture command by touch-screen input.

[0096]步骤304:根据第二手势指令,选中目标文件。 [0096] Step 304: According to a second gesture command, select the target file.

[0097]步骤305:捕获用户通过触摸屏输入的针对目标文件的第三手势指令,该第三手势指令包括对至少一个目标文件的拖动操作。 [0097] Step 305: Capture a third gesture command by the user for the target file of the touch-screen input, the third gesture is a drag operation instruction comprises at least one of the target file.

[0098]步骤306:根据第三手势指令,删除或剪切第二手势指令选中的目标文件。 [0098] Step 306: According to a third gesture command, a second gesture command to delete or cut the selected target file. 本实施例中可通过不同的拖动方向来区分删除操作和剪切操作。 The present embodiment may be distinguished by the shearing operation and deletion operation different drag direction.

[0099]其中,第一手势指令包括:在目标文件所在的窗口中进行单点操作;或者,在目标文件所在的窗口中进行多点操作;或者,在目标文件所在的窗口中进行单点滑动操作。 [0099] wherein the first gesture command comprises: a target file is located in the window in the single-point operation; or multi-point operation window objects'; alternatively, a single point sliding window in the target file is located operating. 这里的单点操作指与触摸屏的单点接触,例如用户单手指接触触摸屏,多点操作指与触摸屏的多点接触,例如用户多手指接触触摸屏,单点滑动指与触摸屏单点接触并滑动,例如用户单手指接触触摸屏并接着在触摸屏上滑动。 Here a single point of operation single-point contact finger with the touch screen, for example, the user single finger contacting the touch screen, multi-point multi-point contact operation finger with the touch screen, such as a user multi-finger contact with the touch screen, a single point sliding finger contact with the touch screen, a single point and slides, for example, the user single finger contacting the touch screen and then slides on the touch screen.

[0100]本实施例中第一手势可以在窗口中的任意位置进行操作,窗口中可以不提供特定(如“编辑”)按钮,直接根据第一手势指令进入待删除或剪切状态,简化了窗口内容。 [0100] In the present embodiment, a first gesture may operate at any position in the window, the window may not provide a specific (e.g., "Edit") button to go directly to delete or cut state according to the first gesture command, the simplified window contents.

[0101 ]由于本实施例中的第一手势指令为点击或滑动操作,如果操作的位置为窗口空白处,则可直接根据第一手势指令进入待删除或剪切状态。 [0101] Since the first embodiment of the present embodiment is a click or gesture command sliding operation, if the operation position of the space for a window, can be deleted or cut into the state according to the first gesture command directly. 但是可能存在一种特殊情况,就是第一手势指令点击在文件的图标处。 But there may be a special case, it is the first gesture command-click the icon of the file.

[0102]为了区别于打开文件等其它操作,作为第一种可选的实施方式,第一手势指令可以为长按操作,例如在目标文件所在的窗口中进行单点长按操作,即单点操作持续超过一设定时间。 [0102] In order to distinguish it from other operations to open the file, etc., as a first alternative embodiment, the first gesture command may be a long press operation, for example, a single point in the window length of the target file is located in the pressing operation, i.e. a single point operation lasts more than a set time. 如果单点操作未选中文件,则进入待删除或剪切状态。 If you file a single point of operation is not selected, then enter the state be deleted or cut.

[0103]为了区别于打开文件等其它操作,作为第二种可选的实施方式,在单点操作选中文件时,输出表示是否进入待删除或剪切状态的提示,当收到用户选择进入待删除或剪切状态的指令时,进入待删除或剪切状态。 [0103] In order to distinguish it from other operations to open the file, etc., as a second alternative embodiment, the file operation is selected at a single point, indicating whether the output to be deleted or cut into the status prompt upon receipt of the user to be selected into the deleting or shearing state instruction, the process proceeds to delete or cut state.

[0104]在上述前两种可选的实施方式中,用户可以通过设定的其他手势指令退出删除或剪切状态,也可以通过软件或硬件按钮来退出删除或剪切状态,例如通过终端上的“返回”硬件按钮,如图1B中的“返回”按钮13。 [0104] In the first two alternative embodiments, the user can exit delete state by shearing or other gesture command set, or may be deleted or cut state by the exit software or hardware buttons on the terminal by e.g. "Back" button in the hardware, as shown in FIG. 1B "return" button 13. 这样在结束删除或剪切操作后,可以恢复终端正常的操作状态。 Thus after the cut or delete operation, the terminal can be restored to normal operation.

[0105]为了区别打开文件等其他操作,作为第三种可选的实施方式,在捕获用户通过触摸屏输入的第二手势指令和第三手势指令的同时,持续捕获用户对触摸屏进行的第一手势指令,当结束持续捕获第一手势指令时,即退出待删除或剪切状态。 [0105] In order to distinguish the other operations to open the file, etc., as a third alternative embodiment, while capturing the user through the touch screen input of the second and third gesture command gesture command, continuing to capture the user first touch screen gesture command, when capturing a first end continuous gesture command, i.e., to be deleted or shearing state exit.

[0106]较佳的,第二手势指令为单点操作,选中的目标文件为一次或多次单点操作选中的文件,此时可多次重复步骤303和304,以选择多个文件;或者,第二手势指令为滑动并且滑动轨迹形成非封闭区域,选中的目标文件为滑动轨迹覆盖的文件或除滑动轨迹覆盖之外的文件;或者,第二手势指令为滑动并且滑动轨迹形成封闭区域,选中的目标文件为封闭区域内的文件或封闭区域以外的文件。 [0106] Preferably, the second gesture is a single-point operation instruction, the selected target file is one or more selected file operations single point, this point may be repeated a plurality of times the steps 303 and 304, to select a plurality of documents; Alternatively, the second gesture command sliding track and a sliding form a non closed area, the selected file to the destination file cover or sliding track file other than the sliding track cover; or a sliding gesture command and the second sliding track is formed enclosed area, select the target file is closed the file or folder other than the enclosed area within the region. 这样,便于通过一次操作实现选择多个文件。 Thus, to facilitate the operation implemented by one select multiple files.

[0107]优选的,第三手势指令为拖动指令,为了区别于对文件的移动操作,则,根据第三手势指令,判断拖动的距离是否达到预设的距离门限,若是,则删除或剪切目标文件;否则,不删除或不剪切目标文件。 [0107] Preferably, the third gesture is a drag instruction command, in order to distinguish the moving operation of the file, according to the third gesture command, determines whether the drag distance reaches a predetermined distance threshold, if yes, deleting or cut the target file; otherwise, do not delete or cut the target file.

[0108]并且,第三手势指令为:对至少一个目标文件按照预设的第一方向拖动,或对至少一个目标文件按照预设的第二方向拖动。 [0,108] and the third gesture command as follows: in a first direction for a predetermined drag at least one target file, or drag according to the second predetermined direction to the at least one target document. 这样,便可通过一个手势的两个方向来区分删除和剪切操作,使得操作灵活简便。 This makes it possible to distinguish between shear and delete operation by a gesture of the two directions, so that the flexible operations.

[0109]下面通过一个典型实施例来详细介绍实现过程。 [0109] below with an exemplary embodiment described in detail in the implementation process. 在该典型实施例中,第一手势指令为单点操作,在捕获第二手势指令和第三手势指令的同时,持续捕获第一手势指令,当结束持续捕获第一手势指令时,退出删除或剪切状态。 In this exemplary embodiment, the first gesture is a single-point operation instruction, while the second gesture capture command and the third gesture command for capturing a first gesture command, when capturing a first end continuous gesture command, delete exit or shearing state.

[0110]参见图4,本实施例中第二种删除或剪切文件的详细方法流程如下: [0110] Referring to Figure 4, the detailed processes in the second embodiment to delete a file or cut the present embodiment is as follows:

[0111]步骤401:捕获用户对触摸屏进行的第一手势指令。 [0111] Step 401: Capture a first user gesture command on the touch screen.

[0112]步骤402:判断第一手势指令操作的位置是否为图标位置,若是,则继续步骤403,否则继续步骤404。 [0112] Step 402: determining a first gesture instruction operation position is the position of an icon, and if yes, proceeds to step 403, otherwise proceeds to step 404.

[0113]步骤403:向用户输出提示,若用户选择进入删除或剪切状态,则继续步骤204,若用户选择提示的其它操作,则继续其它操作,结束本次流程。 [0113] Step 403: output to the user prompt, if the subscriber chooses to delete or cut into the state, then proceeds to step 204, if the user selects the prompt other operations, other operations continue, end the current process.

[0114]步骤404:根据第一手势指令进入待删除或剪切状态。 [0114] Step 404: The first gesture command to enter the state to be deleted or cut.

[0115]步骤405:捕获用户对触摸屏中文件进行的第二手势指令。 [0115] Step 405: capture a second user touch gesture command file for the screen.

[0116]步骤406:根据第二手势指令,选中目标文件。 [0116] Step 406: According to a second gesture command, select the target file.

[0117]步骤407:捕获用户对目标文件的第三手势指令,该第三手势指令为对至少一个目标文件的拖动手势指令。 [0117] Step 407: capture a third user gesture command for the target file, the third gesture command for the at least one target file drag gesture command.

[0118] 步骤408:判断拖动的距离是否达到预设的距离门限,若是,则继续步骤409;否则继续步骤410。 [0118] Step 408: determining whether the distance of the dragging distance reaches a preset threshold, if yes, proceed to Step 409; otherwise, proceed to step 410.

[0119]步骤409:删除或剪切目标文件。 [0119] Step 409: Remove or cut the target file.

[0120]步骤410:不删除或不剪切目标文件。 [0120] Step 410: Do not delete the target file or not cut.

[0121]通过以上介绍了解了删除或剪切文件的实现过程,该过程可由装置实现,下面对该装置的内部结构和功能进行介绍。 [0121] Through the above description or understanding of the implementation shear deleted file, the process means may be implemented, following explains the internal structure and functions of the device.

[0122]参见图5,本实施例中删除或剪切文件的装置包括:接口模块501、第一处理模块502和第二处理模块503。 Interface module 501, a first processing module 502 and the second processing module 503: [0122] Referring to Figure 5, embodiments remove or shear apparatus of the present embodiment includes a file.

[0123]接口模块501用于捕获用户通过触摸屏输入的第一手势指令;以及,捕获用户通过触摸屏输入的针对目标文件的第二手势指令;其中,第二手势指令包括对所述目标文件的拖动操作。 [0123] User interface module 501 for capturing a gesture command by a first touch-screen input; and, capturing a second user gesture command by the target file of the touch-screen input; wherein the second gesture command includes the target documents the drag operation.

[0124]第一处理模块502用于根据第一手势指令进入待删除或剪切状态。 [0124] The first processing module 502 for entering a command to be deleted in accordance with the first gesture or shearing state.

[0125]第二处理模块503用于根据第二手势指令,删除或剪切所述目标文件。 [0125] The second processing module 503 according to the second gesture command, delete or cut the target document.

[0126]较优的,第一手势指令为:在目标文件所在的窗口中进行单点操作;或者,在目标文件所在的窗口中进行多点操作;或者,在目标文件所在的窗口中进行单点滑动操作。 [0126] superior, a first gesture command is: a single-point operation window is located in the target file; or multi-point operation window is located in the target file; or, in the single window of the target file is located point sliding operation. 第一手势指令可以为长按操作。 The first gesture command may be a long press operation.

[0127]较优的,第一处理模块502用于:在第一手势指令是单点操作时,判断单点操作是否选中文件,如果单点操作选中文件,输出表示是否进入待删除或剪切状态的提示,当收到用户选择进入待删除或剪切状态的指令时,进入待删除或剪切状态;如果单点操作未选中文件,进入待删除或剪切状态。 [0127] superior, a first processing module 502 is used: In the first gesture is a single-point operation instruction, the operation determines whether the selected file single point, single point operative if the selected file, indicates whether or not to delete or cut into the prompt state, when receiving a user selection to enter an instruction to delete or shearing state, the process proceeds to delete or cut state; if the selected file is not a single point of operation, or cut into the state to be deleted.

[0128]较优的,接口模块501捕获用户通过触摸屏输入的第二手势指令的同时,持续捕获用户通过触摸屏输入的第一手势指令。 [0128] superior, the user interface module 501 captures the second touch-screen input gesture commands while continuously capturing the user through the first touch-screen input gesture command.

[0129]较优的,第二处理模块503用于:根据第二手势指令,判断拖动的距离是否达到预设的距离门限,如果拖动的距离达到预设的距离门限,则删除或剪切通过第二手势指令选中的文件;如果拖动的距离未达到预设的距离门限,不删除或不剪切通过第二手势指令选中的文件。 [0129] superior, a second processing module 503 is configured to: according to a second gesture command, it is determined whether the distance of the dragging distance reaches a preset threshold, if the distance of the dragging distance reaches a preset threshold, or delete cut through the second gesture command selected files; if you drag the distance does not reach the preset distance threshold, do not delete or cut through the second gesture command selected file.

[0130]较优的,第二手势指令为:选中目标文件并按照预设的第一方向拖动,或选中目标文件并按照预设的第二方向拖动。 [0130] superior, to the second gesture command: select the target file in a first direction and a preset drag, or drag and select the target file in a second predetermined direction. 在此基础上,所述第二处理模块用于:如果所述第二手势指令为选中目标文件并按照预设的第一方向拖动,删除所述目标文件;如果所述第二手势指令为选中目标文件并按照预设的第二方向拖动,剪切所述目标文件。 Based on this, the second processing module is configured to: if the second gesture as a command to select the target file in a first direction and a preset drag delete the target file; if the second gesture select the target file for the instruction and a second direction in accordance with a predetermined drag, cut the target document.

[0131]参见图6,本实施例中删除或剪切文件的装置包括:接口模块601、第一处理模块602、第二处理模块603和第三处理模块604。 Interface module 601, a first processing module 602, a second processing module 603 and the third processing module 604: [0131] Referring to Figure 6, the apparatus comprises a deleted file or cut the present embodiment.

[0132]接口模块601用于捕获用户通过触摸屏输入的第一手势指令;捕获用户通过触摸屏输入的第二手势指令;捕获用户通过触摸屏输入的针对目标文件的第三手势指令,该第三手势指令包括对至少一个目标文件的拖动操作。 [0132] User interface module 601 for capturing a gesture command by a first touch-screen input; capture a second user through the touch-screen input gesture command; capturing user gestures by the third instruction for the target file touch-screen input, the third gesture instruction includes at least one drag operation target file.

[0133]第一处理模块602用于根据第一手势指令进入待删除或剪切状态。 [0133] The first processing module 602 in accordance with the first gesture for entering instructions to be deleted or shearing state.

[0134]第二处理模块603用于根据第二手势指令,选中目标文件。 [0134] The second processing module 603 according to the second gesture command, select the target file.

[0135]第三处理模块604用于根据第三手势指令,删除或剪切第二手指指令选中的目标文件。 [0135] The third processing module 604 according to a third gesture command, delete or cut finger second selected target instruction file.

[0136]较优的,第一手势指令包括:在目标文件所在的窗口中进行单点操作;或者,在目标文件所在的窗口中进行多点操作;或者,在目标文件所在的窗口中进行单点滑动操作。 [0136] superior, a first gesture command comprises: a target file is located in a window in the single-point operation; or multi-point operation window is located in the target file; or, in the single window of the target file is located point sliding operation.

[0137]进一步,第一手势指令为长按操作。 [0137] Further, the first gesture is a long-press operation instruction.

[0138]较优的,第二手势指令包括单点操作,所述选中的目标文件包括一次或多次单点操作选中的文件;或者,第二手势指令为滑动并且滑动轨迹形成非封闭区域,所述选中的目标文件为滑动轨迹覆盖的文件或除滑动轨迹覆盖之外的文件;或者,第二手势指令为滑动并且滑动轨迹形成封闭区域,所述选中的目标文件包括封闭区域内的文件或封闭区域外的文件。 [0138] superior, the second gesture includes single instruction operation, said selected target files included one or more single point of operation selected; or a sliding gesture command and the second sliding track formed unsealed region, the target file of the selected file or document cover sliding track other than the sliding track cover; alternatively, the second gesture command as a closed sliding track and a sliding region, the selected target file includes an enclosed area closing files or files outside the region.

[0139]较优的,第一处理模块602用于:在第一手势指令是单点操作时,判断单点操作是否选中文件,如果单点操作选中文件,输出表示是否进入待删除或剪切状态的提示,当收到用户选择进入待删除或剪切状态的指令时,进入待删除或剪切状态;如果单点操作未选中文件,进入待删除或剪切状态。 [0139] superior, 602 a first processing module configured to: in a first gesture is a single-point operation instruction, the operation determines whether the selected file single point, single point operative if the selected file, indicates whether or not to delete or cut into the prompt state, when receiving a user selection to enter an instruction to delete or shearing state, the process proceeds to delete or cut state; if the selected file is not a single point of operation, or cut into the state to be deleted.

[0140]较优的,接口模块601捕获用户对触摸屏中文件进行的第二手势指令和第三手势指令的同时,持续捕获用户对触摸屏进行的第一手势指令。 [0140] superior, the interface module 601 to capture a second user gesture command and the third gesture on the touch screen in the file for the instruction while continuously capturing a first user gesture command on the touch screen.

[0141]较优的,第三处理模块604用于:根据第三手势指令,判断拖动的距离是否达到预设的距离门限,如果拖动的距离达到预设的距离门限,则删除或剪切目标文件;如果拖动的距离未达到预设的门限,不删除或不剪切目标文件。 [0141] superior, a third processing module 604 is configured to: according to a third gesture command, it is determined whether the distance of the dragging distance reaches a preset threshold, if the distance of the dragging distance reaches a preset threshold, or delete the shear cut the target file; if you drag the distance does not reach a preset threshold, do not delete or cut the target file.

[0142]较优的,第三手势指令为:对至少一个目标文件按照预设的第一方向拖动,或对至少一个目标文件按照预设的第二方向拖动。 [0142] superior, the third gesture command as follows: in a first direction for a predetermined drag at least one target file, or drag according to the second predetermined direction to the at least one target document. 在此基础上,第三处理模块604用于:如果所述第三手势指令为对至少一个目标文件按照预设的第一方向拖动,删除第二手势指令选中的目标文件;如果所述第三手势指令为对至少一个目标文件按照预设的第二方向拖动,剪切第二手势指令选中的目标文件。 Based on this, the third processing module 604 is configured to: if the gesture command is a third predetermined direction in accordance with a first drag for at least one target file, the second gesture command to delete the selected target file; if the the third gesture command is in a second predetermined direction for at least one drag object file, a second gesture command shear selected target file.

[0143]本实施例不提供删除按钮,而是通过第二手势指令这一个动作同时实现选中文件和删除文件两个操作。 [0143] The present embodiment does not provide a delete button, but this operation instruction while achieving two selected files and file delete operation by the second gesture. 使得删除或剪切操作更灵活简便。 Delete or cut makes the operation more convenient and flexible. 本实施例还提供了多种手势指令,以解决特殊情况,并且可区分删除和剪切操作。 The present embodiment also provides a variety of gesture command, to address the special circumstances, and to distinguish and delete shearing operation.

[0144]本领域内的技术人员应明白,本发明实施例可提供为方法、系统、或计算机程序产品。 [0144] skilled in the art should understand that the embodiments of the present invention may provide a method, system, or computer program product. 因此,本发明实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。 Accordingly, the present invention embodiments may entirely hardware embodiment, an entirely software embodiment, or an embodiment in conjunction with the form of software and hardware aspects. 而且,本发明实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。 Further, a computer program product according to embodiments may employ one or more of which comprises a computer usable storage medium having computer-usable program code (including but not limited to disk storage, and optical memory, etc.) on the embodiment of the present invention.

[0145]本发明实施例是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。 [0145] Example embodiments of the present invention with reference to an embodiment of the method according to the present invention, apparatus (systems) and computer program products flowchart and / or block diagrams described. 应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。 It should be understood and implemented by computer program instructions and block, and the flowchart / or block diagrams each process and / or flowchart illustrations and / or block diagrams of processes and / or blocks. 可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的 These computer program instructions may be provided to a processor a general purpose computer, special purpose computer, embedded processor or other programmable data processing apparatus to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing apparatus generating in the flowchart for implementing a process or more processes and / or block diagram block or blocks a function specified

目.ο Head .ο

[0146]这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。 [0146] These computer program instructions may also be stored in a computer can direct a computer or other programmable data processing apparatus to function in a particular manner readable memory produce an article of manufacture such that the storage instruction means comprises a memory in the computer-readable instructions the instruction means implemented in a flowchart or more flows and / or block diagram block or blocks in a specified function.

[0147]这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。 [0147] These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps on the computer or other programmable apparatus to produce a computer implemented so that the computer or other programmable apparatus executing instructions for implementing the functions is provided a plurality of processes or process and / or block diagram block or blocks a function specified step. 显然,本领域的技术人员可以对本发明实施例进行各种改动和变型而不脱离本发明实施例的精神和范围。 Obviously, those skilled in the art can carry out embodiments of the present invention, various modifications and variations are possible without departing from the spirit and scope of the embodiments of the present invention. 这样,倘若本发明实施例的这些修改和变型属于权利要求及其等同技术的范围之内,则本发明实施例也意图包含这些改动和变型在内。 Thus, if the modifications and variations of the embodiments of the present invention is in the technical scope of the appended claims and their equivalents thereof, the embodiment of the present invention is intended to include these modifications and variations.

Claims (26)

  1. 1.一种基于触摸屏删除或剪切文件的方法,其特征在于,包括以下步骤: 捕获用户通过触摸屏输入的第一手势指令; 根据第一手势指令进入待删除或剪切状态; 捕获用户通过触摸屏输入的针对目标文件的第二手势指令;捕获用户通过触摸屏输入的第二手势指令的同时,持续捕获用户通过触摸屏输入的第一手势指令;其中,第二手势指令包括对所述目标文件的拖动操作; 根据第二手势指令,删除或剪切所述目标文件; 当结束持续捕获所述第一手势指令时,退出所述待删除或剪切状态。 1. A method for a touch screen to delete a file-based or shear, characterized in that it comprises the steps of: capturing a first user through the touch-screen input gesture command; to be deleted or cut into the state according to a first gesture command; capturing a user through the touch screen the second target gesture command input file; capture user gesture while a second touch-screen input command for capturing the user through the first touch-screen input gesture command; wherein the second instruction includes the target gesture file drag operation; according to the second gesture command, delete or cut the target file; upon completion of capturing the first gesture command duration, to be deleted or cut the exit state.
  2. 2.如权利要求1所述的方法,其特征在于,第一手势指令为: 在所述目标文件所在的窗口中进行单点操作; 或者,在所述目标文件所在的窗口中进行多点操作; 或者,在所述目标文件所在的窗口中进行单点滑动操作。 2. The method according to claim 1, wherein the first gesture command is: a single point in the operation window of the target file is located; or multi-point operation is located in a window of the target file ; Alternatively, a single slide operation point of the target file in the window is located.
  3. 3.如权利要求2所述的方法,其特征在于,第一手势指令为长按操作。 The method according to claim 2, wherein the first gesture is a long-press operation instruction.
  4. 4.如权利要求2或3所述的方法,其特征在于,当第一手势指令是单点操作时,根据第一手势指令进入待删除或剪切状态的步骤包括: 判断单点操作是否选中文件; 如果单点操作选中文件,则输出表示是否进入待删除或剪切状态的提示,当收到用户选择进入待删除或剪切状态的指令时,进入待删除或剪切状态; 如果单点操作未选中文件,进入待删除或剪切状态。 4. The method of claim 2 or claim 3, wherein, when the first gesture is a single-point operation instruction, to be deleted or proceeds to step comprises a first shearing state gesture command: determining whether a single-point operation select file; single point operative if the selected file is output indicating whether to delete or cut into the status prompt upon receipt of a user selection to enter an instruction to delete or shearing state, the process proceeds to delete or cut state; if a single point operation is not selected files to be deleted or cut into the state.
  5. 5.如权利要求1所述的方法,其特征在于,根据第二手势指令,删除或剪切通过第二手势指令选中的文件的步骤包括: 根据第二手势指令,判断拖动的距离是否达到预设的距离门限; 如果拖动的距离达到预设的距离门限,则删除或剪切通过第二手势指令选中的文件。 5. The method according to claim 1, characterized in that, according to the second gesture command, a second step of deleting, or shearing by the selected gesture command file comprises: according to a second gesture command, the drag determination whether the distance reaches a preset distance threshold; if the distance of the dragging reaches a preset distance threshold, then delete or cut through the second gesture command selected file.
  6. 6.如权利要求1所述的方法,其特征在于,第二手势指令为:选中目标文件并按照预设的第一方向拖动,或选中目标文件并按照预设的第二方向拖动; 所述根据第二手势指令,删除或剪切所述目标文件为: 如果所述第二手势指令为选中目标文件并按照预设的第一方向拖动,删除所述目标文件; 如果所述第二手势指令为选中目标文件并按照预设的第二方向拖动,剪切所述目标文件。 6. The method according to claim 1, wherein the second gesture command is: select the target file in a first direction and a preset drag, or drag and select the target file according to a preset second direction ; according to the second gesture command, delete or cut the target file is: if the instruction is a second gesture to select the target file in a first direction and a preset drag delete the target file; if the second gesture command is selected in accordance with a second target file and drag preset direction, cut the target document.
  7. 7.—种基于触摸屏删除或剪切文件的方法,其特征在于,包括以下步骤: 捕获用户通过触摸屏输入的第一手势指令; 根据第一手势指令进入待删除或剪切状态; 捕获用户通过触摸屏输入的第二手势指令;捕获用户通过触摸屏输入的第二手势指令的同时,持续捕获用户对触摸屏进行的第一手势指令; 根据第二手势指令,选中目标文件; 捕获用户通过触摸屏输入的针对目标文件的第三手势指令;捕获用户通过触摸屏输入的第三手势指令的同时,持续捕获用户对触摸屏进行的第一手势指令;其中,第三手势指令包括对至少一个目标文件的拖动操作; 根据第三手势指令,删除或剪切第二手势指令选中的目标文件; 当结束持续捕获所述第一手势指令时,退出所述待删除或剪切状态。 7.- method or a touch screen to delete files based on shear, characterized in that it comprises the steps of: capturing a first user through the touch-screen input gesture command; to be deleted or cut into the state according to a first gesture command; capturing a user through the touch screen second gesture command input; simultaneously captured by the second user instruction input gesture touch screen for capturing a first user gesture command on a touch screen; according to the second gesture command, select the target file; capture user input through the touch screen the third gesture command for the target file; capture user input through the touch screen while the third gesture command for capturing a first user gesture command on the touch screen; wherein the third drag gesture command comprises at least one target document operation; according to a third gesture command, a second gesture command to delete or cut the selected target file; upon completion of capturing the first gesture command duration, to be deleted or exiting the shearing state.
  8. 8.如权利要求7所述的方法,其特征在于,第一手势指令为: 在所述目标文件所在的窗口中进行单点操作; 或者,在所述目标文件所在的窗口中进行多点操作; 或者,在所述目标文件所在的窗口中进行单点滑动操作。 8. The method according to claim 7, wherein the first gesture command is: a single point in the operation window of the target file is located; or multi-point operation is located in a window of the target file ; Alternatively, a single slide operation point of the target file in the window is located.
  9. 9.如权利要求8所述的方法,其特征在于,第一手势指令为长按操作。 9. The method according to claim 8, wherein the first gesture is a long-press operation instruction.
  10. 10.如权利要求8或9所述的方法,其特征在于,当第一手势指令是单点操作时,根据第一手势指令进入待删除或剪切状态的步骤包括: 判断单点操作是否选中文件; 如果单点操作选中文件,则输出表示是否进入待删除或剪切状态的提示,当收到用户选择进入待删除或剪切状态的指令时,进入待删除或剪切状态; 如果单点操作未选中文件,进入待删除或剪切状态。 10. The process of claim 8 or claim 9, wherein, when the first gesture is a single-point operation instruction, to be deleted or proceeds to step comprises a first shearing state gesture command: determining whether a single-point operation select file; single point operative if the selected file is output indicating whether to delete or cut into the status prompt upon receipt of a user selection to enter an instruction to delete or shearing state, the process proceeds to delete or cut state; if a single point operation is not selected files to be deleted or cut into the state.
  11. 11.如权利要求7所述的方法,其特征在于,第二手势指令为单点操作,所述选中的目标文件为一次或多次单点操作选中的文件; 或者,第二手势指令为滑动并且滑动轨迹形成非封闭区域,所述选中的目标文件为滑动轨迹覆盖的文件或除滑动轨迹覆盖之外的文件; 或者,第二手势指令为滑动并且滑动轨迹形成封闭区域,所述选中的目标文件为封闭区域内的文件或封闭区域外的文件。 11. The method according to claim 7, wherein the second gesture is a single-point operation instruction, the selected target file is one or more single points of the selected file operations; or, a second gesture command file destination to slide and the sliding track is formed unclosed regions, the sliding track is selected to cover the sliding track or file other than the cover; alternatively, the second gesture command as a closed sliding track and a sliding region, the select the target file is closed the file or files outside of enclosed areas within the region.
  12. 12.如权利要求7所述的方法,其特征在于,根据第三手势指令,删除或剪切目标文件的步骤包括: 根据第三手势指令,判断拖动的距离是否达到预设的距离门限; 如果拖动的距离达到预设的距离门限,则删除或剪切目标文件。 12. The method according to claim 7, wherein the third gesture command, the step of deleting a target file or shear comprising: a third gesture command, it is determined whether the distance of the dragging distance reaches a preset threshold; If you drag the distance reaches a preset distance threshold, then delete or cut the target file.
  13. 13.如权利要求7所述的方法,其特征在于,第三手势指令为:对至少一个目标文件按照预设的第一方向拖动,或对至少一个目标文件按照预设的第二方向拖动; 所述根据第三手势指令,删除或剪切所述目标文件为: 如果所述第三手势指令为对至少一个目标文件按照预设的第一方向拖动,删除第二手势指令选中的目标文件; 如果所述第三手势指令为对至少一个目标文件按照预设的第二方向拖动,剪切第二手势指令选中的目标文件。 13. The method according to claim 7, wherein the third gesture command as follows: in a first direction for a predetermined drag at least one target file, or drag at least one second object file according to a preset direction movable; according to the third gesture command, delete or cut the target file is: if the gesture command is a third predetermined direction in accordance with a first drag for at least one target file, delete the second gesture command selected target file; gesture command if said third object file to a destination file in accordance with at least a second predetermined direction of the drag gesture command a second selected shear.
  14. 14.一种删除或剪切文件的装置,其特征在于,包括: 接口模块,用于捕获用户通过触摸屏输入的第一手势指令;以及,捕获用户通过触摸屏输入的针对目标文件的第二手势指令;捕获用户通过触摸屏输入的第二手势指令的同时,持续捕获用户通过触摸屏输入的第一手势指令;当结束持续捕获所述第一手势指令时,退出待删除或剪切状态;其中,第二手势指令包括对所述目标文件的拖动操作; 第一处理模块,用于根据第一手势指令进入所述待删除或剪切状态; 第二处理模块,用于根据第二手势指令,删除或剪切所述目标文件。 14. A cutting apparatus to delete a file or 2, characterized in that, comprising: an interface module for capturing a user through the first touch-screen input gesture command; and a target file by capturing the user touch screen input second gesture instruction; second gesture by simultaneously capturing the user touch screen input instruction for capturing the user through the first touch-screen input gesture command; upon completion of capturing the first gesture command duration, to be deleted or cut exit state; wherein, second gesture instruction includes a drag operation of the target file; a first processing module, for entering a first gesture in accordance with the instruction to be deleted or cut state; a second processing module, according to a second gesture command, delete or cut the target document.
  15. 15.如权利要求14所述的装置,其特征在于,第一手势指令为: 在所述目标文件所在的窗口中进行单点操作; 或者,在所述目标文件所在的窗口中进行多点操作; 或者,在所述目标文件所在的窗口中进行单点滑动操作。 15. The apparatus according to claim 14, wherein the first gesture command is: a single point in the operation window of the target file is located; or multi-point operation is located in a window of the target file ; Alternatively, a single slide operation point of the target file in the window is located.
  16. 16.如权利要求14所述的装置,其特征在于,第一手势指令为长按操作。 16. The apparatus according to claim 14, wherein the first gesture is a long-press operation instruction.
  17. 17.如权利要求15或16所述的装置,其特征在于,第一处理模块用于:在第一手势指令是单点操作时,判断单点操作是否选中文件,如果单点操作选中文件,输出表示是否进入待删除或剪切状态的提示,当收到用户选择进入待删除或剪切状态的指令时,进入待删除或剪切状态;如果单点操作未选中文件,进入待删除或剪切状态。 If a single point of operation is selected when the first file is a single point gesture command operation, it is determined whether the selected file, a single point of operation,,: 15 or 17. The apparatus according to claim 16, wherein the first processing means for indicates whether or not to enter the state to be deleted or cut tips, when receiving a user selection to enter an instruction to delete or shearing state, the process proceeds to delete or cut state; if the selected file is not a single point of operation, to be deleted or cut into the cut state.
  18. 18.如权利要求14所述的装置,其特征在于,第二处理模块用于:根据第二手势指令,判断拖动的距离是否达到预设的距离门限,如果拖动的距离达到预设的距离门限,则删除或剪切通过第二手势指令选中的文件。 18. The apparatus according to claim 14, characterized in that the second processing module is configured to: according to a second gesture command, it is determined whether the distance of the dragging distance reaches a preset threshold, if the distance of the dragging reaches a preset the distance threshold, then delete or cut through the second gesture command selected file.
  19. 19.如权利要求14所述的装置,其特征在于,第二手势指令为:选中目标文件并按照预设的第一方向拖动,或选中目标文件并按照预设的第二方向拖动; 所述第二处理模块用于:如果所述第二手势指令为选中目标文件并按照预设的第一方向拖动,删除所述目标文件;如果所述第二手势指令为选中目标文件并按照预设的第二方向拖动,剪切所述目标文件。 19. The apparatus according to claim 14, wherein the second gesture command is: select the target file in a first direction and a preset drag, or drag and select the target file according to a preset second direction ; said second processing module is configured to: if the second gesture as a command to select the target file in a first direction and a preset drag delete the target file; if the second gesture to select the target instruction according to a second predetermined file and drag direction, cut the target document.
  20. 20.一种删除或剪切文件的装置,其特征在于,包括: 接口模块,用于捕获用户通过触摸屏输入的第一手势指令;捕获用户通过触摸屏输入的第二手势指令;捕获用户通过触摸屏输入的针对目标文件的第三手势指令,该第三手势指令包括对至少一个目标文件的拖动操作;捕获用户通过触摸屏输入的第二手势指令和第三手势指令的同时,持续捕获用户对触摸屏进行的第一手势指令;当结束持续捕获所述第一手势指令时,退出待删除或剪切状态; 第一处理模块,用于根据第一手势指令进入所述待删除或剪切状态; 第二处理模块,用于根据第二手势指令,选中目标文件; 第三处理模块,用于根据第三手势指令,删除或剪切第二手势指令选中的目标文件。 20. An apparatus to delete a file or a cut, characterized by comprising: an interface module for capturing a user through the first touch-screen input gesture command; capturing a second user through the touch-screen input gesture command; capturing a user through the touch screen the third gesture command input for the target file, the third gesture is a drag operation instruction comprises at least one object file; while the second instruction to capture a user gesture inputted through the touch screen and the third gesture command, continuing to capture the user the first touch screen gesture command; and when the first end of the continuous capturing gesture command, be deleted or cut exit state; a first processing module, according to a first gesture command to delete or cut into the state; a second processing module, according to a second gesture command, select the target file; a third processing module, according to a third gesture command, a second gesture command to delete or cut the selected target file.
  21. 21.如权利要求20所述的装置,其特征在于,第一手势指令为: 在所述目标文件所在的窗口中进行单点操作; 或者,在所述目标文件所在的窗口中进行多点操作; 或者,在所述目标文件所在的窗口中进行单点滑动操作。 21. The apparatus according to claim 20, wherein the first gesture command is: a single point in the operation window of the target file is located; or multi-point operation is located in a window of the target file ; Alternatively, a single slide operation point of the target file in the window is located.
  22. 22.如权利要求20所述的装置,其特征在于,第一手势指令为长按操作。 22. The apparatus according to claim 20, wherein the first gesture is a long-press operation instruction.
  23. 23.如权利要求21或22所述的装置,其特征在于,第一处理模块用于:在第一手势指令是单点操作时,判断单点操作是否选中文件,如果单点操作选中文件,输出表示是否进入待删除或剪切状态的提示,当收到用户选择进入待删除或剪切状态的指令时,进入待删除或剪切状态;如果单点操作未选中文件,进入待删除或剪切状态。 If a single point of operation is selected when the first file is a single point gesture command operation, it is determined whether the selected file, a single point of operation,,: 21 or 23. The apparatus as claimed in claim 22, wherein the first processing means for indicates whether or not to enter the state to be deleted or cut tips, when receiving a user selection to enter an instruction to delete or shearing state, the process proceeds to delete or cut state; if the selected file is not a single point of operation, to be deleted or cut into the cut state.
  24. 24.如权利要求20所述的装置,其特征在于,第二手势指令为单点操作,所述选中的目标文件为一次或多次单点操作选中的文件; 或者,第二手势指令为滑动并且滑动轨迹形成非封闭区域,所述选中的目标文件为滑动轨迹覆盖的文件或除滑动轨迹覆盖之外的文件; 或者,第二手势指令为滑动并且滑动轨迹形成封闭区域,所述选中的目标文件为封闭区域内的文件或封闭区域外的文件。 Second gesture or instruction,; 24. The apparatus of claim 20, wherein the second gesture is a single-point operation instruction, the selected target file is one or more selected file operation à file destination to slide and the sliding track is formed unclosed regions, the sliding track is selected to cover the sliding track or file other than the cover; alternatively, the second gesture command as a closed sliding track and a sliding region, the select the target file is closed the file or files outside of enclosed areas within the region.
  25. 25.如权利要求20所述的装置,其特征在于,第三处理模块用于:根据第三手势指令,判断拖动的距离是否达到预设的距离门限,如果拖动的距离达到预设的距离门限,则删除或剪切第二手势指令选中的目标文件。 25. The apparatus according to claim 20, characterized in that the third processing module is configured to: according to a third gesture command, it is determined whether the distance of the dragging distance reaches a preset threshold, if the distance of the dragging reaches a preset distance threshold, then delete or cut the second gesture command selected target file.
  26. 26.如权利要求20所述的装置,其特征在于,第三手势指令为:对至少一个目标文件按照预设的第一方向拖动,或对至少一个目标文件按照预设的第二方向拖动; 所述第三处理模块用于:如果所述第三手势指令为对至少一个目标文件按照预设的第一方向拖动,删除第二手势指令选中的目标文件;如果所述第三手势指令为对至少一个目标文件按照预设的第二方向拖动,剪切第二手势指令选中的目标文件。 26. The apparatus according to claim 20, wherein the third gesture command as follows: in a first direction for a predetermined drag at least one target file, or drag at least one second object file according to a preset direction moving; the third processing module is configured to: if the gesture command is a third predetermined direction in accordance with a first drag for at least one target file, the second gesture command to delete the selected target file; if the third gesture command is a predetermined direction in accordance with a second drag for at least one target file, the second gesture command shear selected target file.
CN 201210506204 2012-11-30 2012-11-30 Touch screen or cut delete files based method and apparatus CN102968277B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201210506204 CN102968277B (en) 2012-11-30 2012-11-30 Touch screen or cut delete files based method and apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 201210506204 CN102968277B (en) 2012-11-30 2012-11-30 Touch screen or cut delete files based method and apparatus
PCT/CN2013/086549 WO2014082521A1 (en) 2012-11-30 2013-11-05 Method and device for deleting or cutting file based on touch screen

Publications (2)

Publication Number Publication Date
CN102968277A true CN102968277A (en) 2013-03-13
CN102968277B true CN102968277B (en) 2016-06-08

Family

ID=47798442

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201210506204 CN102968277B (en) 2012-11-30 2012-11-30 Touch screen or cut delete files based method and apparatus

Country Status (2)

Country Link
CN (1) CN102968277B (en)
WO (1) WO2014082521A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968277B (en) * 2012-11-30 2016-06-08 小米科技有限责任公司 Touch screen or cut delete files based method and apparatus
CN107045414A (en) * 2012-12-17 2017-08-15 华为终端有限公司 Method for controlling terminal with touch screen, and terminal
CN103677577A (en) * 2013-12-12 2014-03-26 宇龙计算机通信科技(深圳)有限公司 Terminal object operating method and terminal
CN104777970B (en) * 2014-01-10 2018-01-23 联想(北京)有限公司 An information processing method for an electronic device, and
CN105653145A (en) * 2014-11-12 2016-06-08 阿里巴巴集团控股有限公司 Method and device for processing display object
CN105323368B (en) * 2014-12-10 2018-08-17 维沃移动通信有限公司 Batch selection method and a mobile terminal
CN104777981A (en) * 2015-04-24 2015-07-15 无锡天脉聚源传媒科技有限公司 Information fast sharing method and device
CN105183325A (en) * 2015-10-27 2015-12-23 上海斐讯数据通信技术有限公司 User-defined input method and system
CN105426049A (en) * 2015-11-20 2016-03-23 魅族科技(中国)有限公司 Deletion method and terminal
CN105468257A (en) * 2015-11-20 2016-04-06 魅族科技(中国)有限公司 Deletion method and terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101876865A (en) * 2009-11-27 2010-11-03 友达光电股份有限公司 Method for judging gesture of touch device
CN102016777A (en) * 2008-03-04 2011-04-13 苹果公司 Methods and graphical user interfaces for editing on a portable multifunction device
EP2397970A2 (en) * 2010-06-21 2011-12-21 Lg Electronics Inc. Mobile terminal and group generating method therein
CN102375651A (en) * 2010-08-13 2012-03-14 Tcl集团股份有限公司 Method for unlocking portable electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102023797A (en) * 2009-09-14 2011-04-20 国基电子(上海)有限公司 Mobile device and method for controlling pictures browsing
CN102968277B (en) * 2012-11-30 2016-06-08 小米科技有限责任公司 Touch screen or cut delete files based method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102016777A (en) * 2008-03-04 2011-04-13 苹果公司 Methods and graphical user interfaces for editing on a portable multifunction device
CN101876865A (en) * 2009-11-27 2010-11-03 友达光电股份有限公司 Method for judging gesture of touch device
EP2397970A2 (en) * 2010-06-21 2011-12-21 Lg Electronics Inc. Mobile terminal and group generating method therein
CN102375651A (en) * 2010-08-13 2012-03-14 Tcl集团股份有限公司 Method for unlocking portable electronic equipment

Also Published As

Publication number Publication date Type
CN102968277A (en) 2013-03-13 application
WO2014082521A1 (en) 2014-06-05 application

Similar Documents

Publication Publication Date Title
US20110221678A1 (en) Device, Method, and Graphical User Interface for Creating and Using Duplicate Virtual Keys
US20070234226A1 (en) Smart drag-and-drop
US20120096393A1 (en) Method and apparatus for controlling touch screen in mobile terminal responsive to multi-touch inputs
US20100105443A1 (en) Methods and apparatuses for facilitating interaction with touch screen apparatuses
US20120068941A1 (en) Apparatus And Method For Proximity Based Input
US20110164042A1 (en) Device, Method, and Graphical User Interface for Providing Digital Content Products
US20120030568A1 (en) Device, Method, and Graphical User Interface for Copying User Interface Objects Between Content Regions
US20100229129A1 (en) Creating organizational containers on a graphical user interface
US20120050185A1 (en) Device, Method, and Graphical User Interface for Selecting and Using Sets of Media Player Controls
US20140310638A1 (en) Apparatus and method for editing message in mobile terminal
US20130019193A1 (en) Method and apparatus for controlling content using graphical object
US20090276701A1 (en) Apparatus, method and computer program product for facilitating drag-and-drop of an object
US20130212470A1 (en) Device, Method, and Graphical User Interface for Sharing a Content Object in a Document
US8269736B2 (en) Drop target gestures
US20120036460A1 (en) Device, Method, and Graphical User Interface for Creating a New Folder
US20110074830A1 (en) Device, Method, and Graphical User Interface Using Mid-Drag Gestures
US20130050141A1 (en) Input device and method for terminal equipment having a touch module
US20090282332A1 (en) Apparatus, method and computer program product for selecting multiple items using multi-touch
JP2001356878A (en) Icon control method
US20130024821A1 (en) Method and apparatus for moving items using touchscreen
CN101627361A (en) Portable multifunction device, method, and graphical user interface for interpreting a finger gesture on a touch screen display
CN103809888A (en) Mobile terminal and manipulation method thereof
CN102306080A (en) Touch electronic device and icon moving method
US20120174044A1 (en) Information processing apparatus, information processing method, and computer program
US20110302530A1 (en) Jump, checkmark, and strikethrough gestures

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C53 Correction of patent for invention or patent application
C14 Grant of patent or utility model