WO2014079263A1 - 一种文本处理方法及终端 - Google Patents

一种文本处理方法及终端 Download PDF

Info

Publication number
WO2014079263A1
WO2014079263A1 PCT/CN2013/083426 CN2013083426W WO2014079263A1 WO 2014079263 A1 WO2014079263 A1 WO 2014079263A1 CN 2013083426 W CN2013083426 W CN 2013083426W WO 2014079263 A1 WO2014079263 A1 WO 2014079263A1
Authority
WO
WIPO (PCT)
Prior art keywords
text
finger
detecting
location
terminal
Prior art date
Application number
PCT/CN2013/083426
Other languages
English (en)
French (fr)
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
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2014079263A1 publication Critical patent/WO2014079263A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • the present invention relates to the field of intelligent terminal display with a touch screen, and provides a text processing method and terminal. Background technique
  • the first click is configured to determine the specific position in the text box.
  • a menu pops up, including selecting all, selecting (selecting the text in the specified text box according to your own needs), and pasting ( When pasting the selected content, etc., when you click the Select option, a dragged marker appears on both sides of the determined position. You can drag the logo left and right to circle the text content. After the drag marker is completed, the menu changes. For options such as cutting, copying, and pasting, select the option in the menu to implement the corresponding function. To delete the circled text content, delete it by using the delete key of the soft keyboard.
  • an embodiment of the present invention provides a text processing method, which is applied to a smart terminal having a touch screen, and includes:
  • the first direction is opposite to the second direction.
  • the text editing function includes: cutting, pasting, and copying.
  • performing a text editing function on the text between the third position and the fourth position includes: detecting When the finger slides from the third position to the fourth position along the second direction, an edit menu is displayed on the touch screen, and the edit menu includes: a cut, paste, and copy option;
  • Detecting an option in the edit menu selected by the finger, when the third position is detected, and the detecting that the finger slides from the first position to the second position in the first direction, deleting the The text between the first location and the second location includes:
  • the embodiment of the present invention further provides a terminal, including: a touch screen, the terminal further includes: a text detecting module configured to detect display text on the touch screen; wherein, the display text is an editable text;
  • a position detecting module configured to detect that a finger is located in the display text
  • a text deletion module configured to delete when the position detecting module detects that the finger slides from the first position to the second position in the first direction a text between the first location and the second location
  • a text editing module configured to: when the position detecting module detects that the finger slides from the third position to the fourth position in the second direction, the text between the third position and the fourth position Performing a text editing function; wherein the first direction is different from the second direction.
  • the first direction is opposite to the second direction.
  • the text editing function includes: cutting, pasting, and copying.
  • the text editing module is configured to:
  • an editing menu is displayed on the touch screen, and the editing menu includes: cutting, Paste, copy options;
  • Detecting an option in the edit menu selected by the finger, for the third location and the text deletion module configured as:
  • a scribe line indicating deletion is displayed, and the scribe line passes through the a text between a location and the second location;
  • FIG. 1 is a schematic diagram of a text processing method according to Embodiment 1 of the present invention.
  • 3A-3C are schematic diagrams showing deletion of characters in a text processing method according to Embodiment 1 of the present invention.
  • FIGS. 4A-4C are schematic diagrams of editing a text in a text processing method according to Embodiment 1 of the present invention.
  • FIG. 5 is a schematic structural diagram of a terminal according to Embodiment 2 of the present invention.
  • DETAILED DESCRIPTION OF THE EMBODIMENTS In order to make the technical problems, technical solutions, and advantages of the present invention more comprehensible, the detailed description will be made in conjunction with the accompanying drawings and specific embodiments.
  • a text processing method is applied to a smart terminal having a touch screen, including the following steps:
  • Step 1 detecting display text on the touch screen of the smart terminal, where the display text is editable text;
  • Step 2 detecting a position where the finger is located in the display text
  • Step 3 If it is detected that the finger slides from the first position to the second position in the first direction, deleting the text between the first position and the second position;
  • Step 4 if it is detected that the finger slides from the third position to the fourth position in the second direction,
  • the text between the third position and the fourth position performs a text editing function; wherein the first direction is different from the second direction, and the first position and the third position may be the same position, or may be The second position and the fourth position may be the same position or different positions.
  • the corresponding text selected by the slide can be deleted, and the delete key of the soft keyboard is not required to be clicked, thereby simplifying the operation.
  • the user can also slide the finger from the third position to the fourth position in the second direction, and the text editing function of the corresponding text selected by the sliding can be implemented simply and quickly.
  • Step 201 Detect an editable display text on a touch screen of the smart terminal
  • Step 202 Detect a position where a finger is located in the display text
  • Step 203 detecting that the finger slides from a starting position (ie, the first position or the third position) to a certain direction to obtain a current position in the sliding (ie, the finger does not leave the touch screen when the finger is in the second position or the fourth position. Where the time is);
  • Step 204 Determine a text between the starting position and the current position
  • Step 205 determining a sliding direction
  • step 206a When the sliding direction is the first direction (such as sliding to the left), then proceed to step 206a; when the sliding direction is the second direction (such as sliding to the right), proceed to step 206b;
  • Step 206a the text between the starting position and the current position is given to the deletion effect display; wherein the deleting effect may be a line drawn between the starting position and the current position by a line (as shown in FIG. 3A-3B). );
  • step 207 is performed to determine whether the sliding is over; if not, the step 202 and subsequent steps are continued, and if the sliding ends, step 208a is performed; Step 208a, deleting the text between the start position and the end position after the end of the slide (ie, the second position where the finger slides on the touch screen ends when leaving the touch screen), and obtains the text as shown in FIG. 3C;
  • Step 206b the text between the starting position and the current position is given to the editing effect display; wherein the editing effect can adopt a commonly used method in the field: adding a shadow effect to the text between the starting position and the current position (as shown in FIG. 4A) And Figure 4B);
  • step 207 is performed to determine whether the sliding ends; if not, the step 202 and subsequent steps are continued, and if the sliding ends, step 208b is performed;
  • Step 208b displaying an edit menu, where the edit menu includes: a cut, paste, copy option (as shown in FIG. 4C);
  • Step 209b detecting an option in the edit menu selected by the finger, and executing text corresponding to the option between the start position and the end position (ie, the fourth position where the finger slides on the touch screen ends when leaving the touch screen) Edit function.
  • the hand is swiped to the left, and the corresponding text selected by the sliding can be deleted, and the delete key of the soft keyboard is not needed, thereby simplifying the operation; the hand swiping to the right can perform text editing on the corresponding text in the sliding selection.
  • the method of deleting text does not need to use a soft keyboard to operate, and the operation is fast, and the steps required for popping up the editing menu are reduced.
  • an embodiment of the present invention further provides a terminal 11, including: a touch screen 111;
  • the text detection module 112 is configured to detect the display text on the touch screen of the smart terminal; wherein the display text is an editable text;
  • a position detecting module 113 configured to detect a position where the finger is located in the display text; and a text deleting module 114 configured to when the position detecting module 113 detects that the finger slides from the first position to the second position in the first direction Deleting the first location and the second location Text between
  • the text editing module 115 is configured to: when the position detecting module 113 detects that the finger slides from the third position to the fourth position in the second direction, the text between the third position and the fourth position Performing a text editing function; wherein the first direction is different from the second direction.
  • first direction and the second direction may be opposite, or may be performed according to a predetermined angle, according to a function of a touch operation supported by the terminal; and, the first position and the third position are It may be the same position or different positions; the second position and the fourth position may also be the same position or different positions.
  • the text editing module 115 displays an edit menu on the touch screen, and the edit menu includes: Cutting, pasting, copying options; thereafter, if the position detecting module 113 further detects an option in the editing menu selected by the finger, the text editing module 115 performs the text between the third position and the fourth position Text editing function corresponding to this option 6
  • the text deletion module 114 displays a scribe line configured to indicate deletion on the touch screen, the scribe line The text between the first position and the second position is swept, and then the text between the first position and the second position is deleted.
  • the first direction and the second direction may be opposite, for example, the left sliding is defined as a first direction, and the right sliding is defined as a second direction.
  • the position detection module can be implemented by a touch screen controller in the terminal
  • the text detection module, the text deletion module, and the text editing module can be implemented by a central processing unit (CPU) in the terminal, and a digital signal processor (DSP, Digital). Signal Processor) or Field-Programmable Gate Array (FPGA) implementation.
  • CPU central processing unit
  • DSP digital signal processor
  • FPGA Field-Programmable Gate Array
  • the terminal of this embodiment can enable the user to edit the text, only the finger from the first position By sliding to the second position in one direction, you can delete the corresponding text selected by swiping, and you don't need to click the delete button on the soft keyboard to simplify the operation.
  • the user can also slide the finger from the third position to the fourth position in the second direction, and the text editing function of the corresponding text selected by the sliding can be implemented simply and quickly.

Abstract

一种文本处理方法及终端。方法包括:检测到智能终端的触摸屏上的显示文本;检测到手指位于所述显示文本中的位置;若检测到手指沿第一方向从第一位置滑动至第二位置,则删除所述第一位置与所述第二位置之间的文字;若检测到手指沿第二方向从所述第三位置滑动至第四位置,则对所述第三位置与所述第四位置之间的文字执行文本编辑功能;其中所述第一方向与所述第二方向不同。该方法及终端可以快捷的对选定文字进行删除,以及执行相关的文本编辑功能。

Description

一种文本处理方法及终端 技术领域
本发明涉及具有触摸屏的智能终端显示领域, 提供一种文本处理方法 及终端。 背景技术
随着移动通信技术和智能终端的迅速发展, 智能触摸终端的使用人群 范围越来越广, 已成为我们生活中的一部分。 在用触摸终端编辑文本内容 时, 一般采用的方法如下:
在输入文本框时, 第一次点击配置为确定文本框中的具体位置, 第二 次点击后, 弹出一个菜单, 包括全选、 选择(按自己需求选择指定文本框 中的文字)、 粘贴 (粘贴之前拷贝的内容)等选项, 当点击选择选项时, 会 在已确定的位置两边出现一个拖动的标识, 可进行左右拖动标识来圈选文 字内容, 在拖动标识完成后, 菜单变为剪切、 拷贝、 粘贴等选项, 选择菜 单中的选项实现对应的功能, 若要删除圈选的文字内容, 则通过软键盘的 删除键, 进行删除。
上述方案有如下缺点:
1. 删除文字时需要使用软键盘来操作, 不够快捷。 尤其是删除多个文 字时, 不能快速完成。
2. 弹出相应菜单进行编辑所需要的步骤过多。 发明内容
本发明实施例要解决的技术问题是提供一种可快速删除, 并快速选择 文字并进行相应编辑操作的文本处理方法及终端。 为解决上述技术问题, 本发明的实施例提供一种文本处理方法, 应用 于具有触摸屏的智能终端, 包括:
检测到所述智能终端的触摸屏上的显示文本; 其中, 所述显示文本为 可编辑文本;
检测到手指位于所述显示文本中的位置;
检测到所述手指沿第一方向从第一位置滑动至第二位置时, 删除所述 第一位置与所述第二位置之间的文字;
检测到所述手指沿第二方向从第三位置滑动至第四位置时, 对所述第 三位置与所述第四位置之间的文字执行文本编辑功能; 其中所述第一方向 与所述第二方向不同。
其中, 所述第一方向与所述第二方向相反。
其中, 所述文本编辑功能包括: 剪切、 粘贴、 复制。
其中, 所述检测到所述手指沿第二方向从所述第三位置滑动至第四位 置时, 对所述第三位置与所述第四位置之间的文字执行文本编辑功能包括: 检测到所述手指沿所述第二方向从所述第三位置滑动至所述第四位置 时, 在所述触摸屏上显示一编辑菜单, 所述编辑菜单包括: 剪切、 粘贴、 复制选项;
检测到所述手指选中的所述编辑菜单中的选项, 对所述第三位置与所 其中, 所述检测到所述手指沿第一方向从第一位置滑动至第二位置时, 删除所述第一位置与所述第二位置之间的文字包括:
检测到所述手指沿所述第一方向从所述第一位置滑动至所述第二位置 时, 显示一用于表示删除的划线, 所述划线划过所述第一位置与所述第二 位置之间的文字;
删除所述第一位置与所述第二位置之间的文字。 本发明的实施例还提供一种终端, 包括: 触摸屏, 所述终端还包括: 文本检测模块, 配置为检测到所述触摸屏上的显示文本; 其中, 所述 显示文本为可编辑文本;
位置检测模块, 配置为检测到手指位于所述显示文本中位置; 文本删除模块, 配置为当所述位置检测模块检测到所述手指沿第一方 向从第一位置滑动至第二位置时, 删除所述第一位置与所述第二位置之间 的文字;
文本编辑模块, 配置为当所述位置检测模块检测到所述手指沿第二方 向从所述第三位置滑动至第四位置时, 对所述第三位置与所述第四位置之 间的文字执行文本编辑功能; 其中所述第一方向与所述第二方向不同。
其中, 所述第一方向与所述第二方向相反。
其中, 所述文本编辑功能包括: 剪切、 粘贴、 复制。
其中, 所述文本编辑模块配置为:
所述位置检测模块检测到所述手指沿所述第二方向从所述第三位置滑 动至所述第四位置时, 在所述触摸屏上显示一编辑菜单, 所述编辑菜单包 括: 剪切、 粘贴、 复制选项;
检测到所述手指选中的所述编辑菜单中的选项, 对所述第三位置与所 其中, 所述文本删除模块配置为:
所述位置检测模块检测到所述手指沿所述第一方向从所述第一位置滑 动至所述第二位置时, 显示一用于表示删除的划线, 所述划线划过所述第 一位置与所述第二位置之间的文字;
删除所述第一位置与所述第二位置之间的文字。
本发明实施例的上述方案具有如下有益效果: 第一方向滑动至第二位置, 可以删除滑动选中的相应文字, 无需点击软键 盘的删除键, 从而简化操作。 另外, 本发明实施例的方案中, 若检测到手 指沿第二方向从所述第三位置滑动至第四位置, 则直接对滑动选中的相应 文字实施文本编辑, 减少文本编辑所需要的步骤。 附图说明
图 1为本发明实施例一的文本处理方法的示意图;
图 2为本发明实施例一的文本处理方法的详细流程图;
图 3A-图 3C为本发明实施例一的文本处理方法中, 对文字进行删除的 示意图;
图 4A-图 4C为本发明的实施例一的文本处理方法中, 对文字进行编辑 的示意图;
图 5为本发明实施例二的终端的结构示意图。 具体实施方式 为使本发明要解决的技术问题、 技术方案和优点更加清楚, 下面将结 合附图及具体实施例进行详细描述。
实施例一
如图 1所示, 一种文本处理方法, 应用于具有触摸屏的智能终端, 包括 如下步骤:
步骤 1, 检测到所述智能终端的触摸屏上的显示文本, 其中, 该显示文 本为可编辑文本;
步骤 2, 检测到手指位于所述显示文本中的位置;
步骤 3, 若检测到手指沿第一方向从第一位置滑动至第二位置, 则删除 所述第一位置与所述第二位置之间的文字;
步骤 4, 若检测到手指沿第二方向从第三位置滑动至第四位置, 则对所 述第三位置与所述第四位置之间的文字执行文本编辑功能; 其中所述第一 方向与所述第二方向不同, 所述第一位置与第三位置可以是同一位置, 也 可以是不同位置, 所述第二位置与第四位置也可以是同一位置, 也可以是 不同位置。 一位置沿第一方向滑动至第二位置, 即可删除滑动选中的相应文字, 无需 点击软键盘的删除键, 从而简化操作。 另外, 用户还可以通过手指沿第二 方向从第三位置滑动至第四位置, 即可简单、 快捷地对滑动选中的相应文 字实施文本编辑功能。
下面对上述方法进行详细描述:
如图 2所示, 进行以下步骤:
步骤 201, 检测到智能终端的触摸屏上的可编辑的显示文本;
步骤 202, 检测到手指位于所述显示文本中的位置;
步骤 203, 检测到手指从起始位置(即上述第一位置或者第三位置)向 某个方向进行滑动, 得到滑动中的当前位置 (即手指在上述第二位置或者 第四位置时未离开触摸屏时所在的位置) ;
步骤 204, 确定起始位置与当前位置之间的文字;
步骤 205, 判断滑动方向;
当滑动方向为第一方向 (如向左滑动) 时, 则进行步骤 206a; 当滑动 方向为第二方向 (如向右滑动) 时, 则进行步骤 206b;
步骤 206a, 将起始位置与当前位置之间的文字给予删除特效显示; 其 中所述删除特效可以是一条划线划过起始位置与当前位置之间的文字 (如 图 3A-图 3B所示);
之后进行步骤 207, 判断滑动是否结束; 如果没有结束则继续步骤 202 及之后的相关步骤, 如果滑动结束, 则进行步骤 208a; 步骤 208a, 删除起始位置与滑动结束后的终止位置 (即手指在触摸屏 上的滑动操作结束离开触摸屏时所在的第二位置)之间的文字, 得到如图 3C所示的文本;
步骤 206b, 将起始位置与当前位置之间的文字给予编辑特效显示; 其 中所述编辑特效可以采用本领域常用方法: 将起始位置与当前位置之间的 文字加上阴影效果(如图 4A和图 4B所示);
之后进行步骤 207, 判断滑动是否结束; 如果没有结束则继续步骤 202 及之后的相关步骤, 如果滑动结束, 则进行步骤 208b;
步骤 208b, 显示编辑菜单, 所述编辑菜单包括: 剪切、 粘贴、 复制选 项 (如图 4C所示);
步骤 209b, 检测手指选中的编辑菜单中的选项, 对起始位置与终止位 置 (即手指在触摸屏上的滑动操作结束离开触摸屏时所在的第四位置)之 间的文字执行与该选项对应的文本编辑功能。
本实施例的方法中, 手指向左滑动, 可以删除滑动选中的相应文字, 无需点击软键盘的删除键, 从而简化操作; 手指向右滑动, 可以对滑动选 中的相应文字实施文本编辑。 与现有技术相比, 本方法删除文字不需要使 用软键盘来操作, 操作快捷, 并且减少了弹出编辑菜单所需要的步骤。
实施例二
如图 5所示, 本发明的实施例还提供一种终端 11, 包括: 触摸屏 111 ; 还包括
文本检测模块 112, 配置为检测到所述智能终端的触摸屏上的显示文 本; 其中, 该显示文本为可编辑文本;
位置检测模块 113, 配置为检测到手指位于所述显示文本中的位置; 文本删除模块 114, 配置为当所述位置检测模块 113检测到手指沿第一 方向从第一位置滑动至第二位置时, 删除所述第一位置与所述第二位置之 间的文字;
文本编辑模块 115, 配置为当所述位置检测模块 113检测到手指沿第二 方向从所述第三位置滑动至第四位置时, 对所述第三位置与所述第四位置 之间的文字执行文本编辑功能; 其中所述第一方向与所述第二方向不同。
需要指出的是, 所述第一方向与所述第二方向可以相反, 也可以按照 某一预定角度进行, 根据终端支持的触摸操作的功能而定; 另外, 所述第 一位置与第三位置可以是同一位置, 也可以是不同位置; 所述第二位置与 第四位置也可以是同一位置, 也可以是不同位置。
如果位置检测模块 113检测到手指沿所述第二方向从所述第三位置滑 动至所述第四位置, 则文本编辑模块 115在所述触摸屏上显示一编辑菜单, 所述编辑菜单包括: 剪切、 粘贴、 复制选项; 之后, 若位置检测模块 113 进一步检测到手指选中的所述编辑菜单中的选项, 则文本编辑模块 115对 所述第三位置与所述第四位置之间的文字执行与该选项对应的文本编辑功 6
Fi匕t!。
如果位置检测模块 113检测到手指沿所述第一方向从所述第一位置滑 动至所述第二位置, 则文本删除模块 114在触摸屏上显示一配置为表示删 除的划线, 所述划线划过所述第一位置与所述第二位置之间的文字, 之后 删除所述第一位置与所述第二位置之间的文字。
其中, 所述第一方向与所述第二方向可以相反, 比如向左滑动定义为 第一方向, 向右滑动定义为第二方向。
实际应用中, 位置检测模块可由终端中的触摸屏控制器实现, 文本检 测模块、 文本删除模块以及文本编辑模块可由终端中的中央处理器(CPU, Central Processing Unit ), 数字信号处理器(DSP, Digital Signal Processor ) 或可编程逻辑阵列 (FPGA, Field - Programmable Gate Array ) 实现。
本实施例的终端可以使用户在编辑文本时, 只需手指从第一位置沿第 一方向滑动至第二位置, 即可删除滑动选中的相应文字, 无需点击软键盘 的删除键, 从而简化操作。 另外, 用户还可以通过手指沿第二方向从第三 位置滑动至第四位置, 即可简单、 快捷地对滑动选中的相应文字实施文本 编辑功能。
以上所述是本发明的优选实施方式, 应当指出, 对于本技术领域的普 通技术人员来说, 在不脱离本发明所述原理的前提下, 还可以作出若干改 进和润饰, 这些改进和润饰也应视为本发明的保护范围。

Claims

权利要求书
1. 一种文本处理方法, 应用于具有触摸屏的智能终端, 包括: 检测到所述智能终端的触摸屏上的显示文本; 其中, 所述显示文本为 可编辑文本;
检测到手指位于所述显示文本中的位置;
检测到所述手指沿第一方向从第一位置滑动至第二位置时, 删除所述 第一位置与所述第二位置之间的文字;
检测到所述手指沿第二方向从第三位置滑动至第四位置时, 对所述第 三位置与所述第四位置之间的文字执行文本编辑功能; 其中所述第一方向 与所述第二方向不同。
2. 根据权利要求 1所述的文本处理方法, 其中, 所述第一方向与所述 第二方向相反。
3. 根据权利要求 1或 2所述的文本处理方法, 其中, 所述文本编辑功 能包括: 剪切、 粘贴、 复制。
4. 根据权利要求 3所述的文本处理方法, 其中, 所述检测到所述手指 沿第二方向从所述第三位置滑动至第四位置时, 对所述第三位置与所述第 四位置之间的文字执行文本编辑功能包括:
检测到所述手指沿所述第二方向从所述第三位置滑动至所述第四位置 时, 在所述触摸屏上显示一编辑菜单, 所述编辑菜单包括: 剪切、 粘贴、 复制选项;
检测到所述手指选中的所述编辑菜单中的选项, 对所述第三位置与所
5. 根据权利要求 1或 2所述的文本处理方法, 其中, 所述检测到所述手 指沿第一方向从第一位置滑动至第二位置时, 删除所述第一位置与所述第 二位置之间的文字包括: 检测到所述手指沿所述第一方向从所述第一位置滑动至所述第二位置 时, 显示一用于表示删除的划线, 所述划线划过所述第一位置与所述第二 位置之间的文字;
删除所述第一位置与所述第二位置之间的文字。
6. 一种终端, 包括: 触摸屏, 所述终端还包括:
文本检测模块, 配置为检测到所述触摸屏上的显示文本; 其中, 所述 显示文本为可编辑文本;
位置检测模块, 配置为检测到手指位于所述显示文本中位置; 文本删除模块, 配置为当所述位置检测模块检测到所述手指沿第一方 向从第一位置滑动至第二位置时, 删除所述第一位置与所述第二位置之间 的文字;
文本编辑模块, 配置为当所述位置检测模块检测到所述手指沿第二方 向从所述第三位置滑动至第四位置时, 对所述第三位置与所述第四位置之 间的文字执行文本编辑功能; 其中所述第一方向与所述第二方向不同。
7. 根据权利要求 6所述的终端, 其中, 所述第一方向与所述第二方向 相反。
8. 根据权利要求 6或 7所述的终端, 其中, 所述文本编辑功能包括: 剪切、 粘贴、 复制。
9. 根据权利要求 8所述的终端, 其中, 所述文本编辑模块配置为: 所述位置检测模块检测到所述手指沿所述第二方向从所述第三位置滑 动至所述第四位置时, 在所述触摸屏上显示一编辑菜单, 所述编辑菜单包 括: 剪切、 粘贴、 复制选项;
检测到所述手指选中的所述编辑菜单中的选项, 对所述第三位置与所
10. 根据权利要求 6或 7所述的终端, 其中, 所述文本删除模块配置 为:
所述位置检测模块检测到所述手指沿所述第一方向从所述第一位置滑 动至所述第二位置时, 显示一用于表示删除的划线, 所述划线划过所述第 一位置与所述第二位置之间的文字;
删除所述第一位置与所述第二位置之间的文字。
PCT/CN2013/083426 2012-11-26 2013-09-12 一种文本处理方法及终端 WO2014079263A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210486597.6 2012-11-26
CN2012104865976A CN102981765A (zh) 2012-11-26 2012-11-26 一种文本处理方法及终端

Publications (1)

Publication Number Publication Date
WO2014079263A1 true WO2014079263A1 (zh) 2014-05-30

Family

ID=47855845

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/083426 WO2014079263A1 (zh) 2012-11-26 2013-09-12 一种文本处理方法及终端

Country Status (2)

Country Link
CN (2) CN106445322A (zh)
WO (1) WO2014079263A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094626A (zh) * 2015-06-26 2015-11-25 小米科技有限责任公司 文本内容选择方法及装置
CN105183310A (zh) * 2015-08-26 2015-12-23 深圳市金立通信设备有限公司 一种信息编辑方法及终端
CN105744062A (zh) * 2016-01-29 2016-07-06 深圳天珑无线科技有限公司 精准定位文字光标的方法及系统

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445322A (zh) * 2012-11-26 2017-02-22 中兴通讯股份有限公司 一种文本处理方法及终端
CN104111787B (zh) * 2013-04-18 2018-09-28 三星电子(中国)研发中心 一种在触摸屏界面上实现文本编辑的方法和装置
CN104156089A (zh) * 2013-05-15 2014-11-19 联想(北京)有限公司 一种信息处理方法及电子设备
CN103455277A (zh) * 2013-08-17 2013-12-18 广东欧珀移动通信有限公司 一种纯文本编辑模式下便捷复制文本的方法及终端
CN103425395B (zh) * 2013-08-29 2017-02-01 宇龙计算机通信科技(深圳)有限公司 一种复制文本的方法以及移动终端
CN104423869A (zh) * 2013-09-09 2015-03-18 中兴通讯股份有限公司 文本擦除方法及装置
JP5830506B2 (ja) * 2013-09-25 2015-12-09 京セラドキュメントソリューションズ株式会社 入力装置および電子機器
CN103761216B (zh) * 2013-12-24 2018-01-16 上海斐讯数据通信技术有限公司 编辑文本的方法及移动终端
WO2015123823A1 (zh) * 2014-02-19 2015-08-27 华为技术有限公司 一种信息处理方法和终端设备
CN105094396A (zh) * 2014-05-05 2015-11-25 中兴通讯股份有限公司 一种基于触摸屏的元素删除方法及装置
CN104049865B (zh) * 2014-06-19 2018-03-27 联想(北京)有限公司 一种信息处理方法及电子设备
CN104007897A (zh) * 2014-06-19 2014-08-27 中科创达软件股份有限公司 一种用于文本编辑的工具栏的显示方法及系统
CN104391641A (zh) * 2014-09-22 2015-03-04 贵阳朗玛信息技术股份有限公司 信息处理方法及装置
CN104794107A (zh) * 2015-02-16 2015-07-22 北京道明科技有限公司 手写笔迹的编辑方法
CN106293433A (zh) * 2015-05-26 2017-01-04 联想(北京)有限公司 一种信息处理方法及电子设备
CN105094564A (zh) * 2015-08-11 2015-11-25 广州视睿电子科技有限公司 基于触摸操作的笔迹编辑方法及系统
CN105302464B (zh) * 2015-10-28 2020-06-05 北京京东尚科信息技术有限公司 一种对流式文档进行划线的系统及方法
CN105573650A (zh) * 2015-12-15 2016-05-11 魅族科技(中国)有限公司 一种数据剔除方法以及终端
CN105975166B (zh) * 2016-04-29 2020-05-12 广州华多网络科技有限公司 应用控制方法及装置
CN106202014A (zh) * 2016-06-28 2016-12-07 乐视控股(北京)有限公司 富文本编辑方法、装置和移动终端
CN107404583A (zh) * 2017-07-30 2017-11-28 安徽云帮邦网络技术有限公司 一种手机文本的复制程序
CN107391022A (zh) * 2017-08-03 2017-11-24 深圳天珑无线科技有限公司 文本复制粘贴方法及终端、存储装置
CN108132752B (zh) * 2017-12-21 2020-02-18 维沃移动通信有限公司 一种文本编辑方法及移动终端
CN109164913A (zh) * 2018-07-25 2019-01-08 珠海格力电器股份有限公司 一种界面的交互控制方法、装置、存储介质及终端
CN112445403A (zh) * 2020-11-30 2021-03-05 北京搜狗科技发展有限公司 一种文本处理方法、装置和用于文本处理的装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101539840A (zh) * 2009-05-08 2009-09-23 宇龙计算机通信科技(深圳)有限公司 手持终端删除处理方法及系统
CN102243561A (zh) * 2010-05-10 2011-11-16 腾讯科技(深圳)有限公司 输入信息的修正方法和装置
CN102981765A (zh) * 2012-11-26 2013-03-20 中兴通讯股份有限公司 一种文本处理方法及终端

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0112870D0 (en) * 2001-05-25 2001-07-18 Koninkl Philips Electronics Nv Text entry method and device therefore
CN1979399A (zh) * 2005-12-09 2007-06-13 英业达股份有限公司 显示处理系统及方法
US8739055B2 (en) * 2009-05-07 2014-05-27 Microsoft Corporation Correction of typographical errors on touch displays
US20110304556A1 (en) * 2010-06-09 2011-12-15 Microsoft Corporation Activate, fill, and level gestures
CN102331907B (zh) * 2011-09-13 2017-12-22 中兴通讯股份有限公司 用于具有触摸屏的终端的字符删除方法、装置及终端

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101539840A (zh) * 2009-05-08 2009-09-23 宇龙计算机通信科技(深圳)有限公司 手持终端删除处理方法及系统
CN102243561A (zh) * 2010-05-10 2011-11-16 腾讯科技(深圳)有限公司 输入信息的修正方法和装置
CN102981765A (zh) * 2012-11-26 2013-03-20 中兴通讯股份有限公司 一种文本处理方法及终端

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094626A (zh) * 2015-06-26 2015-11-25 小米科技有限责任公司 文本内容选择方法及装置
CN105183310A (zh) * 2015-08-26 2015-12-23 深圳市金立通信设备有限公司 一种信息编辑方法及终端
CN105744062A (zh) * 2016-01-29 2016-07-06 深圳天珑无线科技有限公司 精准定位文字光标的方法及系统

Also Published As

Publication number Publication date
CN106445322A (zh) 2017-02-22
CN102981765A (zh) 2013-03-20

Similar Documents

Publication Publication Date Title
WO2014079263A1 (zh) 一种文本处理方法及终端
US10990268B2 (en) Operation method and terminal device
US11301126B2 (en) Icon control method and terminal
WO2019128732A1 (zh) 一种图标管理的方法及装置
US20150106766A1 (en) Method for quickly operating file of smart phone and smart phone
WO2017032005A1 (zh) 一种操作菜单显示方法及终端
US20120144293A1 (en) Display apparatus and method of providing user interface thereof
US20130167090A1 (en) Device, method, and storage medium storing program
US20110141031A1 (en) Device, Method, and Graphical User Interface for Management and Manipulation of User Interface Elements
WO2016015438A1 (zh) 用于移动智能终端的操作方法、操作装置、移动智能终端和非易失性计算机存储介质
WO2012151934A1 (zh) 用于具有触摸屏的终端的字符删除方法、装置及终端
CN105373326B (zh) 数据处理系统及方法
JP6448639B2 (ja) テキスト選択方法、装置および端末
JP2012089129A (ja) スクリーンデータ操作方法
TW201337597A (zh) 文本編輯方法及系統
WO2014014847A1 (en) Location-dependent drag and drop ui
JP2009205304A (ja) タッチパネルの制御装置、制御方法およびコンピュータプログラム
US20160170635A1 (en) Mobile terminal, non-transitory computer readable storage medium, and combination control method
WO2014121626A1 (zh) 一种移动终端快捷方式的显示方法、装置及存储介质
KR20160042902A (ko) 올가미 선택을 위한 피드백 제공 기법
US20190220170A1 (en) Method and apparatus for creating group
JP2012048311A (ja) 情報処理装置、情報処理方法、及びプログラム
WO2018166469A1 (zh) 一种多路径复制粘贴方法及移动终端
WO2013189440A2 (zh) 一种显示界面滑动的方法及移动终端
US20190124481A1 (en) SMS Message Processing Method for Mobile Terminal and Mobile Terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13857232

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13857232

Country of ref document: EP

Kind code of ref document: A1