WO2012151934A1 - 用于具有触摸屏的终端的字符删除方法、装置及终端 - Google Patents

用于具有触摸屏的终端的字符删除方法、装置及终端 Download PDF

Info

Publication number
WO2012151934A1
WO2012151934A1 PCT/CN2011/082588 CN2011082588W WO2012151934A1 WO 2012151934 A1 WO2012151934 A1 WO 2012151934A1 CN 2011082588 W CN2011082588 W CN 2011082588W WO 2012151934 A1 WO2012151934 A1 WO 2012151934A1
Authority
WO
WIPO (PCT)
Prior art keywords
character
contact point
information
coordinate information
deleted
Prior art date
Application number
PCT/CN2011/082588
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 WO2012151934A1 publication Critical patent/WO2012151934A1/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
    • 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/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • 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/04842Selection of displayed objects or displayed text elements

Definitions

  • the present invention relates to the field of portable electronic devices, and more particularly to a character deletion method, apparatus and terminal for a terminal having a touch screen. Background technique
  • Text editors, memos, and various social networking applications involve a lot of text editing, so users will have higher requirements for the operability and operational efficiency of text editing tools.
  • the character deletion operation step is at least 2 steps.
  • delete The keystrokes required for a word are proportional to the length of the word.
  • some operators will require new text messages to retain the contents of the last message.
  • the user needs to edit a brand new text message, the first thing he needs to do is to delete all the existing content. This workload is very considerable.
  • long button deletions are only deleted in units of words. Therefore, in the case of a large number of characters, the character deletion workload will not Less.
  • the system resources are occupied too much.
  • the mobile phone needs to first judge the button, and then delete the characters one by one according to the pressing operation of the button, and then perform the screen brushing. This is repeated until all the characters the user wants to delete are deleted. This operation consumes more system resources during this operation.
  • the over-occupation of system resources can bring many strange problems. These problems are concealed and have no fixed path, which can be very difficult to handle. A number of faults that occurred during frequent key presses were also found in the test.
  • the response speed is slow. Due to the above resource occupation problem, it is necessary to wait for the character deletion, and the waiting time user is perceptible, which may cause a problem of poor user experience.
  • a character deletion method for a terminal having a touch screen comprising:
  • the character information to be deleted is obtained according to the coordinate information of the first contact point and the coordinate information of the last contact point, and the deletion operation of the character to be deleted is performed.
  • the method before detecting contact with the touch screen, the method further includes:
  • the direction of travel of the contact is opposite to the direction of the text of the input method.
  • the obtaining the information to be deleted according to the coordinate information of the first contact point and the coordinate information of the last contact point is:
  • the character information between the first contact point and the last contact point is obtained as the character information to be deleted; when the abscissa of the first contact point coordinate information is equal to the last time
  • the abscissa of the coordinate information of the contact point when the ordinate of the coordinate information of the first contact point is greater than the ordinate of the coordinate information of the last contact point, the character information between the first contact point and the last contact point is obtained as the character information to be deleted.
  • a character deletion device for a terminal having a touch screen comprising:
  • a detecting module configured to detect contact with the touch screen, and obtain coordinate information of the first contact point and coordinate information of the last contact point;
  • a processing module configured to obtain character information to be deleted according to coordinate information of the first contact point and coordinate information of the last contact point;
  • An execution module configured to perform a deletion operation on the character to be deleted.
  • the character deletion device for the terminal having the touch screen further includes: an input method information collection module, configured to acquire the direction information of the input method.
  • the direction of travel of the contact is opposite to the direction of the text of the input method.
  • the processing module is specifically configured to: when the processing module acquires the character information to be deleted, When the abscissa of the coordinate information of the first contact point is greater than the abscissa of the coordinate information of the last contact point, the character information between the first contact point and the last contact point is obtained as the character information to be deleted; when the abscissa of the first contact point coordinate information is equal to the last time The abscissa of the coordinate information of the contact point, when the ordinate of the coordinate information of the first contact point is greater than the ordinate of the coordinate information of the last contact point, the character information between the first contact point and the last contact point is obtained as the character information to be deleted.
  • a terminal includes a touch screen and a character deletion device, and the character deletion device includes: a detection module, configured to detect contact with the touch screen, and acquire coordinate information of the first contact point and coordinate information of the last contact point;
  • a processing module configured to obtain character information to be deleted according to coordinate information of the first contact point and coordinate information of the last contact point;
  • An execution module configured to perform a deletion operation on the character to be deleted.
  • the character deletion device further includes:
  • the input method information collecting module is configured to obtain the direction information of the input method.
  • the direction of travel of the contact is opposite to the direction of the text of the input method.
  • the processing module is specifically configured to: when the horizontal coordinate of the first contact point coordinate information is greater than the horizontal coordinate of the last contact point coordinate information, obtain the first contact point and the last contact point in the process of acquiring the character information to be deleted.
  • the character information between the two is the character information to be deleted; when the abscissa of the coordinate information of the first contact point is equal to the abscissa of the coordinate information of the last contact point, and the ordinate of the coordinate information of the first contact point is greater than the ordinate of the coordinate information of the last contact point, the first time is obtained.
  • the character information between the touch point and the last touch point is the character information to be deleted.
  • a character deletion method for a terminal having a touch screen comprising:
  • a character deletion device for a terminal having a touch screen comprising:
  • An input method information collection module configured to obtain information about the direction of the input method
  • a detecting module configured to detect contact with the touch screen
  • a processing module configured to: when the traveling direction of the contact is opposite to the direction of the input method, obtain the character information to be deleted according to the traveling trajectory of the contact;
  • An execution module configured to perform a deletion operation on the character to be deleted.
  • a terminal includes a touch screen and a character deletion device, and the character deletion device includes: an input method information collection module, configured to acquire information about the direction of the input method;
  • a detecting module configured to detect contact with the touch screen
  • a processing module configured to: when the traveling direction of the contact is opposite to the direction of the input method, obtain the character information to be deleted according to the traveling trajectory of the contact;
  • An execution module configured to perform a deletion operation on the character to be deleted.
  • the present invention defines the "sliding" operation of the text deletion of the touch screen terminal, thereby simplifying the operation difficulty of the deletion operation in the text editing process, so that the user can obtain the text editing. A better user experience.
  • the present invention has the following beneficial effects:
  • the operation steps are simple.
  • the user touches the right end of the character or character set to be deleted, slides to the left end of the character or character set to be deleted, and releases the single, whole line, and entire block of text. If it is a language that needs to be written from right to left for Arabic or the like, the reverse operation is performed by the method provided by the present invention, that is, sliding from the left end to the right end of the object to be operated, thereby performing the deletion operation on the text.
  • FIG. 1 is a schematic flowchart of a character deletion method according to Embodiment 1 of the present invention.
  • FIG. 1 is a schematic structural diagram of a character deleting apparatus according to Embodiment 1 of the present invention.
  • FIG. 3 is a schematic diagram of another operation in the character deletion method according to the first embodiment of the present invention
  • FIG. 4 is a schematic diagram of another operation in the character deletion method according to the first embodiment of the present invention
  • the character deletion method for the terminal with the touch screen includes the following specific steps:
  • the method before performing all the steps, the method further includes:
  • the direction of travel of the contact is opposite to the direction of the input method. That is, the contact operation on the touch screen, and then the deletion operation on the corresponding text, is opposite to the direction of the input method.
  • the character information between the first contact point and the last contact point is obtained as the character information to be deleted; when the abscissa of the first contact point coordinate information is equal to the last time
  • the abscissa of the coordinate information of the contact point when the ordinate of the coordinate information of the first contact point is greater than the ordinate of the coordinate information of the last contact point, the character information between the first contact point and the last contact point is obtained as the character information to be deleted.
  • a character deletion device for a terminal having a touch screen is also provided. As shown in FIG. 2, the device includes:
  • the detecting module 20 is configured to detect contact with the touch screen, and acquire coordinate information of the first contact point and coordinate information of the last contact point;
  • the processing module 10 is configured to obtain character information to be deleted according to coordinate information of the first contact point and coordinate information of the last contact point;
  • the executing module 30 is configured to perform a delete operation on the character to be deleted.
  • the character deletion device for the terminal having the touch screen further includes: an input method information collection module 40, configured to acquire the direction information of the input method.
  • the direction of travel of the contact is opposite to the direction of the input method.
  • the processing module 10 in the process of the processing module 10 acquiring the character information to be deleted, when the horizontal coordinate of the coordinate information of the first contact point is greater than the abscissa of the coordinate information of the last contact point, the character between the first contact point and the last contact point is obtained.
  • the information is the character information to be deleted; when the abscissa of the coordinate information of the first contact point is equal to the abscissa of the coordinate information of the last contact point, and the ordinate of the coordinate information of the first contact point is greater than the ordinate of the coordinate information of the last contact point, the first contact point is obtained and
  • the character information between the last touch points is the character information to be deleted.
  • a terminal is provided in the embodiment of the present invention.
  • the terminal may be a currently popular smart phone, or may be another electronic device with a touch screen.
  • the terminal includes a touch screen and the character deletion device provided by the embodiment of the present invention. As shown in FIG. 2, the character deletion device includes:
  • the detecting module 20 is configured to detect contact with the touch screen, and acquire coordinate information of the first contact point and coordinate information of the last contact point;
  • the processing module 10 is configured to obtain character information to be deleted according to coordinate information of the first contact point and coordinate information of the last contact point;
  • the executing module 30 is configured to perform a delete operation on the character to be deleted.
  • the character deletion device for the terminal having the touch screen further includes: an input method information collection module 40, configured to acquire the direction information of the input method.
  • the direction of travel of the contact is opposite to the direction of the input method.
  • the processing module 10 of the character deletion device for the terminal having the touch screen acquires the character information to be deleted.
  • the character information between the first contact point and the last contact point is obtained as the character information to be deleted; when the abscissa of the first contact point coordinate information is equal to the last time
  • the abscissa of the coordinate information of the contact point when the ordinate of the coordinate information of the first contact point is greater than the ordinate of the coordinate information of the last contact point, the character information between the first contact point and the last contact point is obtained as the character information to be deleted.
  • the first embodiment will be described in detail with reference to FIGS. 3 and 4.
  • the text deletion operation is completed by using the sliding delete operation of the text provided by the embodiment of the present invention.
  • the implementation focuses on the selection of the operation object, and the complete operation thereof. The process is as follows:
  • This embodiment provides a character deletion method for a terminal having a touch screen. As shown in FIG. 5, the method includes the following specific steps:
  • the terminal determines the contact direction of the finger or the stylus with the touch screen, and combines the direction of the contact of the selected input method with the direction of travel of the finger or the stylus with the touch screen.
  • the terminal acquires the character information to be deleted according to the user's finger or the trajectory of the stylus and the touch screen, that is, the trajectory of the finger or the stylus. All characters above are deleted.
  • the embodiment further provides a character deletion device for a terminal having a touch screen.
  • the character deletion device includes:
  • the input method information collection module 40 is configured to obtain the direction information of the input method
  • the detecting module 20 is configured to detect contact with the touch screen
  • the processing module 10 is configured to determine, when the traveling direction of the contact is opposite to the direction of the input method, obtain the character information to be deleted according to the traveling trajectory of the contact;
  • the executing module 30 is configured to perform a delete operation on the character to be deleted.
  • the present invention also provides a terminal, including a touch screen, and the above-mentioned character deletion device.
  • the character deletion device includes:
  • the input method information collection module 40 is configured to obtain the direction information of the input method
  • the detecting module 20 is configured to detect contact with the touch screen
  • the processing module 10 is configured to determine, when the traveling direction of the contact is opposite to the direction of the input method, obtain the character information to be deleted according to the traveling trajectory of the contact;
  • the executing module 30 is configured to perform a delete operation on the character to be deleted.

Landscapes

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

Abstract

本发明公开了一种用于具有触摸屏的终端的字符删除方法、装置及终端,其中,所述方法包括下述步骤:检测与触摸屏的接触,并获取首次接触点坐标信息;依据所述接触,获取末次接触点坐标信息;依据首次接触点坐标信息与末次接触点坐标信息,获取待删除字符信息;执行对所述待删除字符的删除操作。在字符删除操作过程中,其能够对触摸屏手机的字符快速予以删除,操作步骤简单、占用系统资源少、提高了用户体验。

Description

用于具有触摸屏的终端的字符删除方法、 装置及终端 技术领域
本发明涉及便携电子设备领域, 更为具体地, 涉及一种用于具有触摸 屏的终端的字符删除方法、 装置及终端。 背景技术
在目前竟争日益激烈的手机市场上, 如何得以满足用户对手机越来越 苛刻的要求便是手机厂商寻求发展的重要通道。 漂亮的外观、 卓越的品牌 效应, 以及良好的易操作性等指标, 也成为用户在选购手机之时, 除考虑 手机的功能、 性能之外的重要参考指标。 而通常, 手机的外观和品牌都是 硬条件, 不是一朝一夕便可以改变的。 这种情况下, 如何通过相对容易进 行改进的手机软件, 为用户提供更好的视觉体验以及操作体验, 便成为了 一个值得探讨的问题。
随着手机应用的日益丰富, 目前与文字编辑有关的功能已经不再局限 于编辑短消息、 编辑名片夹那么简单了。 文本编辑器、 备忘录、 各类社交 网路的应用, 如 Twitter、 Facebook等, 无不涉及到大量的文字编辑, 因此 用户会对文字编辑工具的可操作性及操作效率提出了更高的要求。
现在市面上的触摸屏手机为用户提供了各种各样的输入方式, 例如 XT9与 Android自带输入法等。 这些输入法在输入方法上有着各自的特点, 但是在处理字符的删除过程中, 却基本走的同一条路线, 即:
1、 移动光标到需要删除的字符的后面;
2、 通过键盘上或者触摸屏上的删除键, 逐一删除。
而这样的字符删除方法却存在以下的这些弊端:
1、 字符删除操作步驟至少为 2步, 碰到输入法为拉丁文输入时, 删除 一个单词所需要的按键操作就与这个单词的长度成正比了。 另外, 有些运 营商会要求新建的短信保留上一次短信的内容。 这种情况下如果用户需要 编辑一条全新的短信, 那他首先需要做的是将已存在的内容全部删除, 这 个工作量是很可观的。 虽然目前也出现过采用长按键进行字符删除的设计, 但是出于安全的考虑, 长按键删除也只是以词为单位进行删除, 因此在字 符数较多的情况下, 字符删除工作量也是不会少的。
2、 系统资源占用过多。 手机需要首先判断按键, 然后根据按键的按下 操作将字符逐一删除, 之后进行刷屏。 如此周而复始, 直至用户想要删除 的所有字符被删光。 在此操作过程中, 该操作会占用较多的系统资源。 而 系统资源的过度占用会带来许多奇奇怪怪的问题, 这类问题隐蔽性强、 无 固定的路径, 处理起来会十分棘手。 测试中也发现了不少发生在频繁的按 键过程中的故障。
3、 响应速度慢。 由于存在上述资源占用问题, 在进行字符删除时是需 要等待的, 并且这个等待时间用户是可以感知的, 以致会造成用户体验效 果不佳的问题。
4、 准确度欠佳。 由于需要在删除的过程中连续的按删除键, 一旦控制 不好的话就会出现把原本不想删的东西也删了, 因此也会造成用户的体验 效果不佳。 发明内容
本发明的目的在于提供一种用于具有触摸屏的终端的字符删除方法、 装置及终端, 在字符删除操作过程中, 其能够对触摸屏手机的字符快速予 以删除, 提高了用户体验。
为了达到上述本发明的目的, 本发明采用以下技术方案实现: 一种用于具有触摸屏的终端的字符删除方法, 包括:
检测与触摸屏的接触, 并获取首次接触点坐标信息; 依据所述接触, 获取末次接触点坐标信息;
依据首次接触点坐标信息与末次接触点坐标信息, 获取待删除字符信 执行对所述待删除字符的删除操作。
优选地, 在检测与触摸屏的接触之前, 所述方法还包括:
获取输入法的行文方向信息。
优选地, 所述接触的行进方向与所述输入法的行文方向相反。
优选地, 所述依据首次接触点坐标信息与末次接触点坐标信息, 获取 待删除字符信息为:
当首次接触点坐标信息的横坐标大于末次接触点坐标信息的横坐标 时, 获取首次接触点及末次接触点之间的字符信息为待删除字符信息; 当首次接触点坐标信息的横坐标等于末次接触点坐标信息的横坐标, 首次接触点坐标信息的纵坐标大于末次接触点坐标信息的纵坐标时, 获取 首次接触点及末次接触点之间的字符信息为待删除字符信息。
一种用于具有触摸屏的终端的字符删除装置, 包括:
检测模块, 用于检测与触摸屏的接触, 并获取首次接触点坐标信息及 末次接触点坐标信息;
处理模块, 用于依据首次接触点坐标信息与末次接触点坐标信息, 获 取待删除字符信息;
执行模块, 用于执行对所述待删除字符的删除操作。
优选地, 所述用于具有触摸屏的终端的字符删除装置还包括: 输入法信息采集模块, 用于获取输入法的行文方向信息。
优选地, 所述接触的行进方向与所述输入法的行文方向相反。
优选地, 所述处理模块, 具体用于在处理模块获取待删除字符信息的 过程中, 当首次接触点坐标信息的横坐标大于末次接触点坐标信息的横坐标 时, 获取首次接触点及末次接触点之间的字符信息为待删除字符信息; 当首次接触点坐标信息的横坐标等于末次接触点坐标信息的横坐标, 首次接触点坐标信息的纵坐标大于末次接触点坐标信息的纵坐标时, 获取 首次接触点及末次接触点之间的字符信息为待删除字符信息。
一种终端, 包括触摸屏以及字符删除装置, 所述字符删除装置包括: 检测模块, 用于检测与触摸屏的接触, 并获取首次接触点坐标信息及 末次接触点坐标信息;
处理模块, 用于依据首次接触点坐标信息与末次接触点坐标信息, 获 取待删除字符信息;
执行模块, 用于执行对所述待删除字符的删除操作。
优选地, 所述字符删除装置还包括:
输入法信息采集模块, 用于获取输入法的行文方向信息。
优选地, 所述接触的行进方向与所述输入法的行文方向相反。
优选地, 所述处理模块, 具体用于在获取待删除字符信息的过程中, 当首次接触点坐标信息的横坐标大于末次接触点坐标信息的横坐标 时, 获取首次接触点及末次接触点之间的字符信息为待删除字符信息; 当首次接触点坐标信息的横坐标等于末次接触点坐标信息的横坐标, 首次接触点坐标信息的纵坐标大于末次接触点坐标信息的纵坐标时, 获取 首次接触点及末次接触点之间的字符信息为待删除字符信息。
一种用于具有触摸屏的终端的字符删除方法, 包括:
获取输入法的行文方向信息;
检测与触摸屏的接触;
当所述接触的行进方向与所述输入法的行文方向相反时, 依据所述接 触的行进轨迹, 获取待删除字符信息; 执行对所述待删除字符的删除操作。
一种用于具有触摸屏的终端的字符删除装置, 包括:
输入法信息采集模块, 用于获取输入法的行文方向信息;
检测模块, 用于检测与触摸屏的接触;
处理模块, 用于判断当所述接触的行进方向与所述输入法的行文方向 相反时, 依据所述接触的行进轨迹, 获取待删除字符信息;
执行模块, 用于执行对所述待删除字符的删除操作。
一种终端, 包括触摸屏以及字符删除装置, 所述字符删除装置包括: 输入法信息采集模块, 用于获取输入法的行文方向信息;
检测模块, 用于检测与触摸屏的接触;
处理模块, 用于判断当所述接触的行进方向与所述输入法的行文方向 相反时, 依据所述接触的行进轨迹, 获取待删除字符信息;
执行模块, 用于执行对所述待删除字符的删除操作。
通过上述本发明的技术方案可以看出, 本发明通过对触摸屏终端的文 字删除予以"滑动"操作进行定义,从而简化了文字编辑过程中删除操作的操 作难度, 以使用户在文字编辑时能够获得更好的用户体验。
综上所述, 本发明具有以下有益效果:
1、 操作步驟简单。 用户轻触所要删除的字符或字符集的右端, 滑动到 所要删除的字符或字符集的左端, 松手, 即可完成单个、 整行、 整块的文 字删除。 如果是对于阿拉伯语等行文需要从右向左书写的语言, 则采用本 发明提供的方法进行反向的操作, 即从所要操作对象的左端滑动到右端, 进而执行对文字的删除操作。
2、 占用系统资源少。 采用本发明, 只需判断用户轻触后滑动的范围, 然后对选中的文字进行一次性删除和一次刷屏操作, 从而无需占用过多的 系统资源。 由此, 一定程度上也能够提高终端的响应速度。 3、 采用本发明进行文字删除操作时, 对于字符的删除不受光标所在位 置的影响。 因此采用本发明提供的滑动操作来进行文字删除时, 删除的文 字只与落点及滑动轨迹相关, 因此一定程度上可以避免误删除, 提高用户 体验。 附图说明
图 1是本发明实施例一提供的字符删除方法流程示意图;
图 1是本发明实施例一提供的字符删除装置的结构示意图;
图 3是本发明实施例一提供的字符删除方法中的一种操作示意图; 图 4是本发明实施例一提供的字符删除方法中的另一种操作示意图;; 图 5是本发明实施例二提供的字符删除方法流程示意图。 具体实施方式
为了使本发明所要解决的技术问题、 技术方案及有益效果更加清楚、 明白, 以下结合附图和实施例, 对本发明进行进一步详细说明。 应当理解, 此处所描述的具体实施例仅仅用以解释本发明, 并不用于限定本发明。
实施例一
在本实施例中, 所述用于具有触摸屏的终端的字符删除方法, 如图 1 所示, 包括如下具体步驟:
5101、 检测与触摸屏的接触, 并获取首次接触点坐标信息;
5102、 依据所述接触, 获取末次接触点坐标信息;
5103、 依据首次接触点坐标信息与末次接触点坐标信息, 获取待删除 字符信息;
5104、 执行对所述待删除字符的删除操作。
优选实施方式下, 在执行所有步驟之前, 还包括:
S100、 获取输入法的行文方向信息。 优选实施方式下, 所述接触的行进方向与所述输入法的行文方向相反。 即对所述触摸屏的接触操作, 继而实现对相应文字的删除操作, 是与所述 输入法的行文方向相反的。
优选实施方式下, 在获取待删除字符信息的过程中,
当首次接触点坐标信息的横坐标大于末次接触点坐标信息的横坐标 时, 获取首次接触点及末次接触点之间的字符信息为待删除字符信息; 当首次接触点坐标信息的横坐标等于末次接触点坐标信息的横坐标, 首次接触点坐标信息的纵坐标大于末次接触点坐标信息的纵坐标时, 获取 首次接触点及末次接触点之间的字符信息为待删除字符信息。
对于上述的待删除字符信息的获取过程, 主要是针对输入法行文方向 从左往右而列举的一优选实施方式, 本技术领域的技术人员在阅读并理解 了本发明的主要精神之后不难得知, 在触摸屏上执行字符删除操作方法, 并不限于上述所述内容, 对于输入法行文方向为从右至左、 从上至下, 甚 至从下至上的各种文字输入方法, 均可采用本发明而实现, 对此这里不做 赞述。
在该实施例中, 还提供了一种用于具有触摸屏的终端的字符删除装置, 如图 2所示, 所述装置包括:
检测模块 20, 用于检测与触摸屏的接触, 并获取首次接触点坐标信息 及末次接触点坐标信息;
处理模块 10, 用于依据首次接触点坐标信息与末次接触点坐标信息, 获取待删除字符信息;
执行模块 30, 用于执行对所述待删除字符的删除操作。
优选实施方式下, 所述用于具有触摸屏的终端的字符删除装置还包括: 输入法信息采集模块 40, 用于获取输入法的行文方向信息。
优选实施方式下, 所述接触的行进方向与所述输入法的行文方向相反。 优选实施方式下, 在处理模块 10获取待删除字符信息的过程中, 当首次接触点坐标信息的横坐标大于末次接触点坐标信息的横坐标 时, 获取首次接触点及末次接触点之间的字符信息为待删除字符信息; 当首次接触点坐标信息的横坐标等于末次接触点坐标信息的横坐标, 首次接触点坐标信息的纵坐标大于末次接触点坐标信息的纵坐标时, 获取 首次接触点及末次接触点之间的字符信息为待删除字符信息。
另外, 本发明实施例中还提供了一种终端, 例如该终端可以为目前较 为流行的智能手机, 也可以为其他具有触摸屏的电子设备。 所述终端包括 触摸屏以及本发明实施例提供的所述字符删除装置, 如图 2所示, 所述字 符删除装置包括:
检测模块 20, 用于检测与触摸屏的接触, 并获取首次接触点坐标信息 及末次接触点坐标信息;
处理模块 10, 用于依据首次接触点坐标信息与末次接触点坐标信息, 获取待删除字符信息;
执行模块 30, 用于执行对所述待删除字符的删除操作。
优选实施方式下, 所述用于具有触摸屏的终端的字符删除装置还包括: 输入法信息采集模块 40, 用于获取输入法的行文方向信息。
优选实施方式下, 所述接触的行进方向与所述输入法的行文方向相反。 优选实施方式下, 所述用于具有触摸屏的终端的字符删除装置的处理 模块 10在获取待删除字符信息的过程中,
当首次接触点坐标信息的横坐标大于末次接触点坐标信息的横坐标 时, 获取首次接触点及末次接触点之间的字符信息为待删除字符信息; 当首次接触点坐标信息的横坐标等于末次接触点坐标信息的横坐标, 首次接触点坐标信息的纵坐标大于末次接触点坐标信息的纵坐标时, 获取 首次接触点及末次接触点之间的字符信息为待删除字符信息。 例如, 参照图 3和图 4, 进一步对本实施例一作详细的说明。
在触摸屏终端的文字编辑界面, 利用本发明实施例提供的对文字的滑 动删除操作, 完成文字的删除操作, 在此删除操作过程中, 实施的重点在 于对操作对象的选定, 其完整的操作过程如下:
1、 确认文字的行文方向, 可以根据具体的文字判断;
2、 确定完行文方向后, 就可以确定选定删除字符时手指或手写笔所需 要滑向的方向, 其中, 所述方向与行文方向相反;
3、记录接触的落点坐标(a,b ) (即首次接触点坐标),以及起点坐标(c,d ) (即手指或手写笔离开触摸屏的位置, 也即本发明实施里所述的末次接触 点坐标);
如果 a>c, 直接删除落点及起点间的内容;
如果 a=c, 并且 b>d, 直接删除落点及起点间的内容;
如果 a=c, 并且 b=d, 移动光标至该点;
如果 a=c, 并且 b<d, 作为选定内容由菜单判断下一步的操作, 如图 4 中的复制 (copy )、 剪切(cut )操作等;
如果 a<c, 作为选定内容由菜单判断下一步的操作。
4、 完成文字的删除操作或者菜单选定的相关操作。
实施例二
该实施例提供了一种用于具有触摸屏的终端的字符删除方法, 如图 5 所示, 该方法包括如下具体步驟:
5200、 获取输入法的行文方向信息;
5201、 检测与触摸屏的接触;
5202、 当所述接触的行进方向与所述输入法的行文方向相反时, 依据 所述接触的行进轨迹, 获取待删除字符信息;
5203、 执行对所述待删除字符的删除操作。 在该实施例提供的字符删除方法中, 终端依据手指或手写笔与触摸屏 的接触, 并结合所选择的输入法的行文方向进行判断, 当手指或手写笔与 触摸屏的接触的行进方向与所述输入法的行文方向相反时, 即判断当前用 户欲对文字采取删除操作, 此时, 终端依据用户的手指或手写笔与触摸屏 的行进轨迹, 获取待删除字符信息, 即在手指或手写笔的轨迹之上的所有 字符全部予以删除。
本实施例还提供了一种用于具有触摸屏的终端的字符删除装置, 对于 该字符删除装置的结构, 请参考图 2, 所述字符删除装置包括:
输入法信息采集模块 40, 用于获取输入法的行文方向信息;
检测模块 20, 用于检测与触摸屏的接触;
处理模块 10, 用于判断当所述接触的行进方向与所述输入法的行文方 向相反时, 依据所述接触的行进轨迹, 获取待删除字符信息;
执行模块 30, 用于执行对所述待删除字符的删除操作。
本发明实施里还提供了一种终端, 包括触摸屏, 以及上述的字符删除 装置, 继续参照图 2, 所述字符删除装置包括:
输入法信息采集模块 40, 用于获取输入法的行文方向信息;
检测模块 20, 用于检测与触摸屏的接触;
处理模块 10, 用于判断当所述接触的行进方向与所述输入法的行文方 向相反时, 依据所述接触的行进轨迹, 获取待删除字符信息;
执行模块 30, 用于执行对所述待删除字符的删除操作。
上述说明示出并描述了本发明的一个优选实施例, 但如前所述, 应当 理解本发明并非局限于本文所披露的形式, 不应看作是对其他实施例的排 除, 而可用于各种其他组合、 修改和环境, 并能够在本文所述发明构想范 围内, 通过上述教导或相关领域的技术或知识进行改动。 而本领域人员所 进行的改动和变化不脱离本发明的精神和范围, 则都应在本发明所附权利 要求的保护范围内

Claims

权利要求书
1、 一种用于具有触摸屏的终端的字符删除方法, 其特征在于, 所述方 法包括:
检测与触摸屏的接触, 并获取首次接触点坐标信息;
依据所述接触, 获取末次接触点坐标信息;
依据首次接触点坐标信息与末次接触点坐标信息, 获取待删除字符信 执行对所述待删除字符的删除操作。
2、 如权利要求 1所述的用于具有触摸屏的终端的字符删除方法, 其特 征在于, 在检测与触摸屏的接触之前, 所述方法还包括:
获取输入法的行文方向信息。
3、 如权利要求 2所述的用于具有触摸屏的终端的字符删除方法, 其特 征在于, 所述接触的行进方向与所述输入法的行文方向相反。
4、 如权利要求 1所述的用于具有触摸屏的终端的字符删除方法, 其特 征在于, 所述依据首次接触点坐标信息与末次接触点坐标信息, 获取待删 除字符信息为:
当首次接触点坐标信息的横坐标大于末次接触点坐标信息的横坐标 时, 获取首次接触点及末次接触点之间的字符信息为待删除字符信息; 当首次接触点坐标信息的横坐标等于末次接触点坐标信息的横坐标, 首次接触点坐标信息的纵坐标大于末次接触点坐标信息的纵坐标时, 获取 首次接触点及末次接触点之间的字符信息为待删除字符信息。
5、 一种用于具有触摸屏的终端的字符删除装置, 其特征在于, 所述装 置包括:
检测模块, 用于检测与触摸屏的接触, 并获取首次接触点坐标信息及 末次接触点坐标信息; 处理模块, 用于依据首次接触点坐标信息与末次接触点坐标信息, 获 取待删除字符信息;
执行模块, 用于执行对所述待删除字符的删除操作。
6、 如权利要求 5所述的用于具有触摸屏的终端的字符删除装置, 其特 征在于, 所述装置还包括:
输入法信息采集模块, 用于获取输入法的行文方向信息。
7、 如权利要求 6所述的用于具有触摸屏的终端的字符删除装置, 其特 征在于, 所述接触的行进方向与所述输入法的行文方向相反。
8、 如权利要求 5所述的用于具有触摸屏的终端的字符删除装置, 其特 征在于, 所述处理模块, 具体用于在处理模块获取待删除字符信息的过程 中, 当首次接触点坐标信息的横坐标大于末次接触点坐标信息的横坐标时, 获取首次接触点及末次接触点之间的字符信息为待删除字符信息; 当首次 接触点坐标信息的横坐标等于末次接触点坐标信息的横坐标, 首次接触点 坐标信息的纵坐标大于末次接触点坐标信息的纵坐标时, 获取首次接触点 及末次接触点之间的字符信息为待删除字符信息。
9、 一种终端, 包括触摸屏, 其特征在于, 还包括如权利要求 5至 8任 一所述的字符删除装置; 其中,
所述字符删除装置包括:
检测模块, 用于检测与触摸屏的接触, 并获取首次接触点坐标信息及 末次接触点坐标信息;
处理模块, 用于依据首次接触点坐标信息与末次接触点坐标信息, 获 取待删除字符信息;
执行模块, 用于执行对所述待删除字符的删除操作。
10、 如权利要求 9所述的终端, 其特征在于, 所述字符删除装置还包 括: 输入法信息采集模块, 用于获取输入法的行文方向信息。
11、 如权利要求 10所述的终端, 其特征在于, 所述接触的行进方向与 所述输入法的行文方向相反。
12、 如权利要求 9所述的终端, 其特征在于, 所述处理模块, 具体用 于在获取待删除字符信息的过程中, 当首次接触点坐标信息的横坐标大于 末次接触点坐标信息的横坐标时, 获取首次接触点及末次接触点之间的字 符信息为待删除字符信息; 当首次接触点坐标信息的横坐标等于末次接触 点坐标信息的横坐标, 首次接触点坐标信息的纵坐标大于末次接触点坐标 信息的纵坐标时, 获取首次接触点及末次接触点之间的字符信息为待删除 字符信息。
13、 一种用于具有触摸屏的终端的字符删除方法, 其特征在于, 所述 方法包括:
获取输入法的行文方向信息;
检测与触摸屏的接触;
当所述接触的行进方向与所述输入法的行文方向相反时, 依据所述接 触的行进轨迹, 获取待删除字符信息;
执行对所述待删除字符的删除操作。
14、 一种用于具有触摸屏的终端的字符删除装置, 其特征在于, 所述 装置包括:
输入法信息采集模块, 用于获取输入法的行文方向信息;
检测模块, 用于检测与触摸屏的接触;
处理模块, 用于判断当所述接触的行进方向与所述输入法的行文方向 相反时, 依据所述接触的行进轨迹, 获取待删除字符信息;
执行模块, 用于执行对所述待删除字符的删除操作。
15、 一种终端, 包括触摸屏, 其特征在于, 还包括如权利要求 14所述 的字符删除装置; 其中, 所述字符删除装置包括:
输入法信息采集模块, 用于获取输入法的行文方向信息;
检测模块, 用于检测与触摸屏的接触;
处理模块, 用于判断当所述接触的行进方向与所述输入法的行文方向 相反时, 依据所述接触的行进轨迹, 获取待删除字符信息;
执行模块, 用于执行对所述待删除字符的删除操作。
PCT/CN2011/082588 2011-09-13 2011-11-22 用于具有触摸屏的终端的字符删除方法、装置及终端 WO2012151934A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110269669.7A CN102331907B (zh) 2011-09-13 2011-09-13 用于具有触摸屏的终端的字符删除方法、装置及终端
CN201110269669.7 2011-09-13

Publications (1)

Publication Number Publication Date
WO2012151934A1 true WO2012151934A1 (zh) 2012-11-15

Family

ID=45483700

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/082588 WO2012151934A1 (zh) 2011-09-13 2011-11-22 用于具有触摸屏的终端的字符删除方法、装置及终端

Country Status (2)

Country Link
CN (1) CN102331907B (zh)
WO (1) WO2012151934A1 (zh)

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609203A (zh) * 2012-02-06 2012-07-25 深圳桑菲消费通信有限公司 一种删除移动终端编辑窗口字符的系统和方法
CN103294384B (zh) * 2012-03-05 2016-03-30 联想(北京)有限公司 便携式终端及其显示处理方法
JP5994300B2 (ja) 2012-03-12 2016-09-21 ブラザー工業株式会社 入力装置及び入力プログラム
CN102662558B (zh) * 2012-03-13 2018-02-13 中兴通讯股份有限公司 文字选中方法与装置及电子设备
CN103309600A (zh) * 2012-03-15 2013-09-18 中兴通讯股份有限公司 一种删除区域显示内容、已录入文字的方法及装置
CN102707891B (zh) * 2012-05-16 2015-08-19 华为终端有限公司 一种校准触屏输入的方法和移动终端
CN102981765A (zh) * 2012-11-26 2013-03-20 中兴通讯股份有限公司 一种文本处理方法及终端
CN103019589B (zh) * 2012-11-26 2015-07-08 广东欧珀移动通信有限公司 一种滑动删除列表条目的方法
CN103116461B (zh) * 2013-01-25 2015-10-21 中兴通讯股份有限公司 一种基于触摸屏的字符处理方法及终端
CN104063162B (zh) * 2013-03-20 2018-04-27 腾讯科技(深圳)有限公司 输入手写信息的方法及装置
CN104156089A (zh) * 2013-05-15 2014-11-19 联想(北京)有限公司 一种信息处理方法及电子设备
CN104424303B (zh) * 2013-09-04 2018-07-06 联想(北京)有限公司 一种输入装置及电子设备和信息处理方法
CN103677637B (zh) * 2013-12-06 2018-10-12 上海斐讯数据通信技术有限公司 删除显示在触摸屏上的文字的方法及电子设备
CN103645829A (zh) * 2013-12-18 2014-03-19 天津三星通信技术研究有限公司 字符删除方法及应用此的便携式终端
CN104169862B (zh) * 2014-02-19 2017-12-05 华为技术有限公司 一种信息处理方法和终端设备
CN105094757A (zh) * 2014-04-29 2015-11-25 阿里巴巴集团控股有限公司 在安卓系统上清空文本内容的方法、装置和终端设备
CN105094396A (zh) * 2014-05-05 2015-11-25 中兴通讯股份有限公司 一种基于触摸屏的元素删除方法及装置
CN105389022B (zh) * 2015-11-18 2017-11-03 广东欧珀移动通信有限公司 一种删除已上屏内容的处理方法及装置
CN106066755A (zh) * 2016-05-30 2016-11-02 乐视控股(北京)有限公司 一种控制方法及装置
CN109154878A (zh) * 2016-06-03 2019-01-04 株式会社半导体能源研究所 数据处理装置及其显示方法
CN107479786A (zh) * 2017-07-28 2017-12-15 珠海市魅族科技有限公司 一种删除文本的方法、装置、计算机装置及计算机可读存储介质
CN110633673B (zh) * 2019-09-17 2023-04-18 江苏科技大学 一种手写轨迹修改方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006244048A (ja) * 2005-03-02 2006-09-14 Nintendo Co Ltd 表示形態変更プログラムおよび表示制御装置
CN1979399A (zh) * 2005-12-09 2007-06-13 英业达股份有限公司 显示处理系统及方法
US20100321319A1 (en) * 2009-06-17 2010-12-23 Hefti Thierry Method for displaying and updating a view of a graphical scene in response to commands via a touch-sensitive device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102053768A (zh) * 2009-11-06 2011-05-11 康佳集团股份有限公司 在触摸设备上实现文字编辑的装置和方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006244048A (ja) * 2005-03-02 2006-09-14 Nintendo Co Ltd 表示形態変更プログラムおよび表示制御装置
CN1979399A (zh) * 2005-12-09 2007-06-13 英业达股份有限公司 显示处理系统及方法
US20100321319A1 (en) * 2009-06-17 2010-12-23 Hefti Thierry Method for displaying and updating a view of a graphical scene in response to commands via a touch-sensitive device

Also Published As

Publication number Publication date
CN102331907B (zh) 2017-12-22
CN102331907A (zh) 2012-01-25

Similar Documents

Publication Publication Date Title
WO2012151934A1 (zh) 用于具有触摸屏的终端的字符删除方法、装置及终端
WO2019128732A1 (zh) 一种图标管理的方法及装置
WO2017054623A1 (zh) 一种启动应用程序的方法、装置及电子设备
TWI564757B (zh) 具有觸控螢幕的電腦裝置與其操作方法及電腦可讀媒體
JP2012522284A (ja) タッチ・ベースのテキスト入力のためのシステム及び方法
CN105094551A (zh) 一种信息处理方法及电子设备
US9690479B2 (en) Method and apparatus for controlling application using key inputs or combination thereof
CN105144037A (zh) 用于输入字符的设备、方法和图形用户界面
US20150277748A1 (en) Edit providing method according to multi-touch-based text block setting
WO2014079263A1 (zh) 一种文本处理方法及终端
JP2012048623A (ja) 情報処理装置、パラメータ設定方法、及びプログラム
JP6448639B2 (ja) テキスト選択方法、装置および端末
CN101763218A (zh) 一种手持设备输入方法
CN103019592A (zh) 一种选择界面标识的方法、装置及移动终端
EP3084634B1 (en) Interaction with spreadsheet application function tokens
WO2012130156A1 (zh) 触摸设备的手写输入方法及装置和电子设备
KR101978239B1 (ko) 컨텐츠를 편집하는 방법 및 그 전자 장치
CN103197880A (zh) 在具有触摸屏的终端中显示键盘的方法和设备
JP2017515241A (ja) タッチパネルに基づく要素削除方法及び装置
WO2015035794A1 (zh) 一种消息展示的方法、装置及终端设备
CN104077065A (zh) 触摸屏终端显示虚拟键盘的方法及触摸屏终端
KR20140014510A (ko) 음성 인식에 의하여 형성된 문자의 편집 방법 및 그 단말
CN105426049A (zh) 一种删除方法及终端
CN103577085A (zh) 用于页面显示的控制方法和装置
CN105183310A (zh) 一种信息编辑方法及终端

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: 11864958

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: 11864958

Country of ref document: EP

Kind code of ref document: A1