WO2012130156A1 - 触摸设备的手写输入方法及装置和电子设备 - Google Patents

触摸设备的手写输入方法及装置和电子设备 Download PDF

Info

Publication number
WO2012130156A1
WO2012130156A1 PCT/CN2012/073288 CN2012073288W WO2012130156A1 WO 2012130156 A1 WO2012130156 A1 WO 2012130156A1 CN 2012073288 W CN2012073288 W CN 2012073288W WO 2012130156 A1 WO2012130156 A1 WO 2012130156A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch
mode
handwriting input
recognition
contacts
Prior art date
Application number
PCT/CN2012/073288
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 WO2012130156A1 publication Critical patent/WO2012130156A1/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

Definitions

  • the present invention relates to the field of input methods, and in particular, to a handwriting input method and apparatus for a touch device and an electronic device. Background technique
  • multi-touch devices have been rapidly popularized and popularized, but the multi-touch function on these multi-touch devices is limited to zoom-in and zoom-out functions, and is not fully applied to handwriting input technology.
  • the handwriting input method for a multi-touch device generally continues the single-touch input method when implementing a mixed input of various characters and punctuation marks.
  • Corresponding function keys to switch between different recognition modes. For example, if the user selects the punctuation function key, the input method will switch to the punctuation recognition state, in which the input method will recognize the input handwriting according to the punctuation mode. In this way, the user needs to click the function button repeatedly to switch the recognition mode, thus affecting the consistency of the user's handwriting input.
  • the other is to add a soft keyboard to the input method.
  • the user can input the punctuation by clicking the soft keyboard. In this way, for some embedded devices, it will occupy the screen display space and program resources, and also increase the complexity of user operations. Summary of the invention
  • the embodiment of the invention provides a handwriting input method and device for a touch device, so as to ensure continuity of handwriting input of a user and simplify operation when performing mixed handwriting input by using a touch device.
  • a handwriting input method for a touch device comprising: Obtaining touch operation information of the user and determining a touch mode in a handwriting input state of the touch device; acquiring an identification mode corresponding to the touch mode;
  • a handwriting input handwriting extracted from the touch operation information is recognized according to the touch mode and the recognition mode, and a recognition result corresponding to the handwriting input handwriting is displayed.
  • a handwriting input device for a touch device comprising:
  • a touch mode identifying unit configured to acquire touch operation information of the user in a handwriting input state of the touch device, and determine a touch mode
  • a touch analysis unit configured to acquire an identification mode corresponding to the touch mode
  • the trajectory identifying unit is configured to identify a handwriting input trajectory extracted from the touch operation information according to the touch mode and a corresponding recognition mode, and display a recognition result corresponding to the handwriting input trajectory.
  • the touch operation information of the user is acquired, and the touch mode is determined, and the corresponding recognition mode is obtained by the touch mode, and then according to the touch mode.
  • the corresponding recognition mode identifies the handwriting input handwriting of the user, and displays a recognition result corresponding to the handwritten input handwriting.
  • FIG. 1 is a flowchart of a handwriting input method of a touch device according to a first embodiment of the present invention
  • FIG. 2 is a schematic diagram of a manner of single-touch in the first embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a manner of two-point touch in the first embodiment of the present invention.
  • FIG. 4 is still another schematic diagram of a two-point touch method according to Embodiment 1 of the present invention
  • FIG. 5 is a schematic diagram of a handwriting input device of a touch device according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of a touch mode identification unit according to Embodiment 2 of the present invention
  • FIG. 7 is a structural diagram of a handwriting input device of a touch device according to Embodiment 2 of the present invention.
  • FIG. 8 is a schematic diagram of a track recognition unit according to Embodiment 2 of the present invention. detailed description
  • the handwriting input method of the touch device of the embodiment of the present invention in the handwriting input state of the touch device, the user is acquired in the handwriting input state of the touch device, in order to ensure the consistency of the handwriting input of the user and the user's operation. Touching the operation information, and determining the touch mode, and then acquiring the recognition mode corresponding to the touch mode. Then, the handwriting input handwriting extracted from the touch operation information is recognized according to the touch mode and the corresponding recognition mode, and the recognition result corresponding to the handwriting input handwriting is displayed.
  • the touch operation information of the user is acquired, and the touch mode is determined, the corresponding recognition mode is obtained by the touch mode, and then the user's handwriting is recognized according to the touch mode and the recognition mode. Enter the handwriting and display the recognition result corresponding to the handwritten input handwriting. Therefore, with the method of the embodiment of the present invention, when the mixed handwriting input is performed, the function key is not frequently switched to switch the recognition mode, thereby ensuring the consistency of the user's handwriting input; meanwhile, there is no need to add a soft keyboard to implement punctuation. Input, which simplifies the user's operation.
  • the handwriting input method of the touch device according to Embodiment 1 of the present invention may include the following steps.
  • Step 11 Establish the correspondence between the touch mode and the recognition mode.
  • the recognition mode may include a Chinese character mode, a punctuation mode, an English alphabet mode, and the like; the touch mode may include: a single touch and a multi-touch.
  • a plurality of contacts may be provided, namely: a first contact, a second contact, ... and an Nth contact.
  • the first contact, the second contact, ... and the N-1th contact may be disposed on a display of the multi-touch device Any position in the screen, and remains unchanged, the Nth contact is used to write a character handwriting in the writing area provided by the display screen of the multi-touch device, wherein the writing area may be a limited area or the entire display screen
  • the embodiment of the present invention does not limit this.
  • the specific value of N may be arbitrarily set according to the input mode.
  • N is a positive integer less than or equal to 10.
  • the single touch and the multi touch are defined as follows:
  • a single touch is a touch of a point, and the touch method is "write a character handwriting in a writing area provided on the display screen of the multi-touch device with only one finger".
  • Multi-touch includes two point touches, three point touches, ... N point touches, etc., where the value of N can take an integer greater than or equal to 2.
  • the touch method of two point touches is "touch the touch screen with two fingers, one of the fingers touches any position on the touch screen of the multi-touch device, does not leave the touch screen, does not move on the touch screen, and the other finger is more
  • the touch gesture is written in the writing area provided on the touch screen of the touch device.
  • the touch method of the N point touch is "with N-1 fingers touching any position on the touch screen of the multi-touch device, without leaving the touch screen , and does not move on the touch screen, the Nth finger writes a character handwriting in the writing area provided on the touch screen of the multi-touch device.
  • FIG. 2 it is a schematic diagram of the single-touch method.
  • the user can complete the handwriting input by one-hand operation or two-hand operation.
  • the user touches the character period ".” with one hand, one of the fingers a (ie, the first contact) of the same hand touches any position of the screen and is fixed, the same hand.
  • the other finger b ie the second contact
  • Step 12 Obtain the touch operation information of the user in the handwriting input state of the touch device, and determine the touch mode.
  • the touch operation information may include: the number of contacts that are in contact with the multi-touch device at the same time, the coordinates of each contact, the sliding direction, and the like, and the movement coordinates of each contact constitute a sliding track of the contact.
  • the current touch mode of the multi-touch device is single touch; if there are more than two contacts on the multi-touch device at the same time, then more points The current touch mode of the touch device is multi-touch.
  • Step 13 Find a correspondence between the touch mode and the recognition mode that is established in advance according to the touch mode, and acquire an identification mode corresponding to the touch mode.
  • the current recognition mode is Chinese characters; if it is two points under multi-touch, the current recognition mode is punctuation; if it is three points under multi-touch , the current recognition mode is English letters.
  • Step 14 Identify the handwriting input trajectory extracted from the touch operation information according to the touch mode and the corresponding recognition mode, and display the recognition result corresponding to the handwriting input trajectory.
  • the signals of the respective contacts received by the touch screen driver of the multi-touch device are first acquired. If the current touch screen operating system is in the handwriting input state, the signals of the acquired contacts are transmitted to the handwriting input process, otherwise the signals of the respective contacts are sent to the OS operating system for processing.
  • the handwriting input process receives the pen down signal of multiple contacts, and continuously receives the sliding track signal of the moving contact for handwriting, such as the coordinates of the changed contact. Sequence, and real-time display of the handwriting input trajectory consisting of the sliding trajectory of the moving contact. When a pen up action occurs, the handwriting input process receives a pen up signal and begins to recognize.
  • the touch operation information is obtained in step 12, and the touch operation information includes a plurality of sets of touch data, and the number of contacts, the coordinates of each contact, the sliding direction, and the like can be determined according to the touch data, wherein the movement coordinates of each contact The sliding trajectory of the contact is formed.
  • the touch method is determined according to the number of contacts: single touch or multi-touch.
  • step 13 the recognition mode of the current handwriting input handwriting is obtained according to the touch mode obtained in step 12.
  • the touch mode is single touch, there is only one moving contact, and the sliding track of the moving contact is used as a handwriting input handwriting. Identifying the handwriting input handwriting according to the recognition mode corresponding to the single touch, and displaying the recognition result corresponding to the handwriting input handwriting; when the touch mode is multi-touch, filtering out the fixed contacts of the plurality of contacts The trajectory extracts a sliding trajectory of the moving contact among the plurality of contacts as a handwriting input handwriting. Then, based on the recognition mode obtained in step 13, the handwriting input handwriting is recognized, and the recognition result corresponding to the handwriting input handwriting is displayed.
  • a Chinese character can be written on the screen of the touch device with one finger, and the sliding track of the finger is a handwriting input handwriting; when the user needs to input the punctuation mark, the recognition is not switched.
  • the touch screen can be simultaneously touched with two fingers, wherein the position of one finger is fixed and does not leave the screen, and the other finger writes the punctuation.
  • the sliding track of the fingers b and d is the handwriting input handwriting.
  • the second embodiment of the present invention further provides a handwriting input device of a touch device, which may include: a touch mode recognition unit 51, configured to acquire a touch operation of a user in a handwriting input state of the multi-touch device. The information is used to determine the touch mode; the touch analysis unit 52 is configured to acquire the recognition mode corresponding to the touch mode; the track recognition unit 53 is configured to identify the handwriting input track extracted from the touch operation information according to the touch mode and the corresponding recognition mode. And display the recognition result corresponding to the handwritten input track.
  • a touch mode recognition unit 51 configured to acquire a touch operation of a user in a handwriting input state of the multi-touch device. The information is used to determine the touch mode
  • the touch analysis unit 52 is configured to acquire the recognition mode corresponding to the touch mode
  • the track recognition unit 53 is configured to identify the handwriting input track extracted from the touch operation information according to the touch mode and the corresponding recognition mode. And display the recognition result corresponding to the handwritten input track.
  • the touch operation information may include: a contact that is in contact with the multi-touch device at the same time The number, the coordinates of each contact, the sliding direction, etc., wherein the moving coordinates of each contact constitute the sliding track of the contact.
  • the touch mode identification unit 51 may include: a contact information acquiring module 511, configured to acquire a number of contacts that the user contacts with the multi-touch device at the same time; and a touch mode identification module 512, configured to The current touch mode of the multi-touch device is determined according to the number of the contacts; wherein the touch mode may include: a single touch and a multi-touch.
  • the contact information acquisition module acquires the number of contacts that the user contacts with the multi-touch device at the same time, and also acquires the coordinates, the sliding track, and the direction of each contact, so as to extract the user. Handwriting input trajectory.
  • the touch analysis unit 52 may be specifically configured to: search for a correspondence between the touch mode and the recognition mode according to the touch mode, and acquire an identification mode corresponding to the touch mode.
  • the handwriting input device may further include: a correspondence relationship establishing unit 54, configured to establish a correspondence between the touch mode and the recognition mode, and store the corresponding relationship.
  • a correspondence relationship establishing unit 54 configured to establish a correspondence between the touch mode and the recognition mode, and store the corresponding relationship.
  • the trajectory identifying unit 53 may include: a filtering sub-unit 531, configured to filter a trajectory of the fixed contact of the plurality of contacts when the touch mode is multi-touch, and extract the sliding of the moving contact a track recognition sub-unit 532, configured to identify a sliding track of the moving contact as a handwriting input handwriting according to the obtained recognition mode; and a display sub-unit 533, configured to display a recognition result corresponding to the handwritten input handwriting.
  • a filtering sub-unit 531 configured to filter a trajectory of the fixed contact of the plurality of contacts when the touch mode is multi-touch, and extract the sliding of the moving contact
  • a track recognition sub-unit 532 configured to identify a sliding track of the moving contact as a handwriting input handwriting according to the obtained recognition mode
  • a display sub-unit 533 configured to display a recognition result corresponding to the handwritten input handwriting.
  • the touch point is the only moving contact, and it is no longer necessary to filter the track of the contact.
  • the sliding track of the touch point is a handwriting input handwriting, and the handwriting input handwriting is directly recognized by the track recognition sub-unit 532 according to the recognition mode corresponding to the single-point touch, and is displayed by the display sub-unit 533 corresponding to the handwriting input handwriting of the user. Identification result.
  • the trajectory of the fixed contact among the plurality of contacts is filtered by the filter sub-unit 531, and the sliding trajectory of the moving contact is extracted as a handwriting input handwriting, which is obtained by the trajectory recognition sub-unit 532.
  • the recognition mode recognizes the handwriting input handwriting, and the display sub-unit 533 displays the recognition result corresponding to the user's handwriting input handwriting.
  • the touch operation information of the user is acquired, and the touch mode is determined, and the corresponding recognition mode is obtained by the touch method, and then according to the The touch mode and the recognition mode recognize the handwriting input handwriting of the user extracted from the touch operation information, and display the recognition result corresponding to the handwriting input handwriting. Therefore, with the device of the embodiment of the present invention, when the mixed handwriting input is performed, the function key is not frequently switched to switch the recognition mode, thereby ensuring the consistency of the user's handwriting input; meanwhile, there is no need to add a soft keyboard to implement punctuation. Input, which simplifies the user's operation.
  • the present invention also discloses an electronic device, including the handwriting input method and device of the touch device provided by the above embodiments.
  • the electronic device is any one of an electronic reader, a tablet computer, a flat panel display, and a mobile phone.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

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

Description

技术领域
本发明涉及输入法技术领域, 尤其涉及一种触摸设备的手写输入方法及装置和一 种电子设备。 背景技术
随着多点触摸技术的发展, 多点触摸设备开始迅速推广和普及,但是这些多点触 摸设备上的多点触摸功能仅仅限于放大缩小功能, 没有充分应用到手写输入技术当 中。
在现有技术中, 针对多点触摸设备的手写输入法在实现各种文字和标点符号的混 合输入时, 通常会延续单点触摸输入的方式。
具体可划分为以下两种类型: 一种是将待输入字符划分为不同的识别模式 (如: 汉字、 英文字母、 数字及标点符号等), 并在输入法的面板上设置与各识别模式相对 应的功能键, 以切换不同的识别模式。 比如, 用户如果选择标点符号功能键, 输入法 将切换至标点符号识别状态, 该模式下输入法将按照标点符号模式识别输入笔迹。 在 这种方式下, 用户需要单指反复点击功能键以切换识别模式, 因而影响了用户手写输 入的连贯性。
另外一种是在输入法中增设软键盘, 用户通过点击软键盘实现对标点符号的输 入。 这种方式对一些嵌入式设备来说, 会占用屏幕显示空间及程序资源, 同时也增加 了用户操作的复杂性。 发明内容
本发明实施例提供一种触摸设备的手写输入方法及装置,以在利用触摸设备进行 混合手写输入时, 保证用户手写输入的连贯性, 并简化操作。
本发明实施例采用如下技术方案:
一种触摸设备的手写输入方法, 包括: 在触摸设备的手写输入状态下, 获取用户的触摸操作信息, 并确定触摸方式; 获取与所述触摸方式对应的识别模式;
根据所述触摸方式和所述识别模式, 识别从所述触摸操作信息中提取的手写输入 笔迹, 并显示与所述手写输入笔迹对应的识别结果。
一种触摸设备的手写输入装置, 包括:
触摸方式识别单元, 用于在触摸设备的手写输入状态下, 获取用户的触摸操作信 息, 并确定触摸方式;
触摸解析单元, 用于获取与所述触摸方式对应的识别模式;
轨迹识别单元, 用于根据所述触摸方式和相对应的识别模式, 识别从所述触摸操 作信息中提取的手写输入轨迹, 并显示与所述手写输入轨迹对应的识别结果。 通过以上可以看出, 在本发明实施例中, 在利用触摸设备进行混合手写输入时, 获取用户的触摸操作信息, 并确定触摸方式, 通过触摸方式获得对应的识别模式, 而 后根据所述触摸方式和对应的识别模式识别所述用户的手写输入笔迹, 并显示与该手 写输入笔迹对应的识别结果。 从而, 利用本发明实施例的方法及装置, 当进行混合手 写输入时, 无需频繁的切换功能键以切换识别模式, 从而保证了用户手写输入的连贯 性; 同时, 也无需增设软键盘实现对标点符号的输入, 从而简化了用户的操作。 附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用 的附图做一简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例 的部分附图, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以 根据这些附图获得其他的附图。
图 1为根据本发明实施例一的触摸设备的手写输入方法流程图;
图 2为本发明实施例一中单点触摸的方式的示意图;
图 3为本发明实施例一中两点触摸的方式的示意图;
图 4为本发明实施例一中两点触摸方式的又一示意图; 图 5为根据本发明实施例二触摸设备的手写输入装置的示意图; 图 6为本发明实施例二中触摸方式识别单元的示意图;
图 7为本发明实施例二中触摸设备的手写输入装置的结构图;
图 8为本发明实施例二中轨迹识别单元的示意图。 具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完 整地描述。显然,所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做出创造性劳动前提下所获得的 所有其他实施例, 都属于本发明保护的范围。
为了实现在利用触摸设备进行混合手写输入时, 保证用户手写输入的连贯性, 并 简化用户的操作, 本发明实施例的触摸设备的手写输入方法中, 在触摸设备的手写输 入状态下, 获取用户的触摸操作信息, 并确定触摸方式, 然后获取与触摸方式对应的 识别模式。 再根据触摸方式和对应的识别模式识别从触摸操作信息中提取的手写输入 笔迹, 并显示与手写输入笔迹对应的识别结果。
在本发明实施例中, 在利用触摸设备进行混合手写输入时, 获取用户的触摸操作 信息, 并确定触摸方式, 通过触摸方式获得对应的识别模式, 然后根据触摸方式和识 别模式来识别用户的手写输入笔迹, 并显示与手写输入笔迹对应的识别结果。 因此, 利用本发明实施例的方法, 当进行混合手写输入时, 无需频繁的切换功能键以切换识 别模式, 从而保证了用户手写输入的连贯性; 同时, 也无需增设软键盘实现对标点符 号的输入, 从而简化了用户的操作。
如图 1所示, 本发明实施例一的触摸设备的手写输入方法可以包括以下步骤。 步骤 11 : 建立触摸方式和识别模式的对应关系。
其中, 识别模式可以包括汉字模式、 标点符号模式、 英文字母模式等; 触摸方式 可以包括: 单点触摸和多点触摸。
在此实施例中, 可设置多个触点, 分别为: 第一触点、 第二触点、 ……和第 N触 点。 其中, 第一触点、 第二触点、 ……和第 N-1触点可以设置在多点触摸设备的显示 屏幕中的任意位置, 并保持不动, 第 N触点用于在多点触摸设备的显示屏幕提供的书 写区域中书写字符笔迹,其中, 书写区域可以是有限的区域, 也可以是整个显示屏幕, 本发明实施例对此不做限定。 其中 N的具体取值可以根据输入模式的多少任意设置, 优选地, N为小于等于 10的正整数。
并且, 在本发明实施例中, 对单点触摸和多点触摸做如下定义:
单点触摸即一个点触摸, 其触摸方法为 "只用一个手指在多点触摸设备的显示屏 幕上提供的书写区域中书写字符笔迹"。
多点触摸包括两个点触摸, 三个点触摸, …… N个点触摸等, 其中 N的值可以取 大于等于 2的整数。 例如, 两个点触摸的触摸方法为 "用两个手指接触触摸屏, 其中 一个手指接触多点触摸设备的触摸屏上的任意位置后, 不离开触摸屏, 也不在触摸屏 上移动, 另一个手指则在多点触摸设备的触摸屏上提供的书写区域中书写字符笔迹。 以此类推, N个点触摸的触摸方法为 "用 N-1个手指接触多点触摸设备的触摸屏上的 任意位置后, 不离开触摸屏, 也不在触摸屏上移动, 第 N个手指在多点触摸设备的触 摸屏上提供的书写区域中书写字符笔迹"。
在具体应用中, 可根据具体需要在程序中定义如下识别模式, 例如:
#define Chinese 0x0001 II 汉字
#define Punctuation 0x0002 II 标点符号
#define Alphabet 0x0004 II 英文字母 如图 2所示, 为单点触摸的方式的示意图。 对于两个点触摸的方式, 用户可以通 过单手操作或者双手操作的方式完成手写输入。 如图 3所示, 用户用一只手触摸书写 字符句号 "。"时, 其同一只手上的其中一个手指 a (即第一触点)触摸屏幕的任意位 置并固定不动, 同一只手上另外一个手指 b (即第二触点)触摸屏幕并书写字符笔迹。 如图 4所示, 用户用两个手指触摸书写问号 "? " 时, 其中的一只手上的手指 c (即 第一触点) 触摸屏幕的任意位置并固定不动, 另外一只手上的手指 d (即第二触点) 触摸屏幕并书写字符笔迹。
不同个数触点的组合对应不同的识别模式, 可建立如下表 1所示的对应关系: 表 1
Figure imgf000007_0001
步骤 12: 在触摸设备的手写输入状态下, 获取用户的触摸操作信息, 并确定触摸 方式。
其中,触摸操作信息可以包括:在同一时间内与多点触摸设备接触的触点的个数, 各个触点的坐标、 滑动方向等, 各个触点的移动坐标构成了该触点的滑动轨迹。
如果在同一时间内多点触摸设备上只有一个触点, 则多点触摸设备当前的触摸方 式为单点触摸; 如果在同一时间内多点触摸设备上有两个以上的触点, 则多点触摸设 备当前的触摸方式为多点触摸。
步骤 13: 根据触摸方式查找预先建立的触摸方式和识别模式的对应关系, 获取与 所述触摸方式对应的识别模式。
根据表 1, 如果为单点触摸, 则当前的识别模式为汉字; 如果为多点触摸下的两 个点触摸, 则当前的识别模式为标点符号; 如果为多点触摸下的三个点触摸, 则当前 的识别模式为英文字母。
在多点触摸输入中, 还可以有更多点的触摸方式和识别模式的对应关系, 在此不 一一列举。 还可以根据多个固定不变的触点的位置关系, 建立更多的触摸方式和识别 模式的对应关系。
步骤 14:根据触摸方式和相对应的识别模式识别从触摸操作信息中提取的手写输 入轨迹, 并显示与手写输入轨迹对应的识别结果。
在此步骤中, 首先获取多点触摸设备的触摸屏驱动接收到的各触点的信号。 如果 当前触摸屏操作***处于手写输入状态, 则向手写输入处理传输获取到的各触点的信 号, 否则将各个触点的信号发送至 OS操作***进行处理。 在进行多点触摸输入的过程中, 手写输入处理会接收到多个触点的落笔信号, 还 会不断的接收到用于进行手写的移动触点的滑动轨迹信号, 例如变化的触点的坐标序 列, 并实时显示由移动触点的滑动轨迹构成的手写输入轨迹。 当有抬笔动作发生时, 手写输入处理会收到抬笔信号, 并开始识别。
首先, 在步骤 12 中获得触摸操作信息, 所述触摸操作信息包括多组触摸数据, 根据触摸数据可以确定触点的个数、 各个触点的坐标、 滑动方向等, 其中各个触点的 移动坐标构成了该触点的滑动轨迹。 根据触点的个数确定触摸方式: 单点触摸或多点 触摸。
然后, 在步骤 13中, 根据步骤 12中获得的触摸方式, 获得当前手写输入笔迹的 识别模式。 最后, 当触摸方式为单点触摸时, 只有一个移动触点, 将该移动触点的滑 动轨迹作为手写输入笔迹。 根据与单点触摸对应的识别模式, 对手写输入笔迹进行识 别, 并显示与手写输入笔迹对应的识别结果; 当所述触摸方式为多点触摸时, 滤除多 个触点中固定触点的轨迹,提取多个触点中移动触点的滑动轨迹作为手写输入笔迹。 然后, 根据步骤 13 获得的识别模式, 对手写输入笔迹进行识别, 并显示与该手写输 入笔迹对应的识别结果。
例如, 当用户需要输入汉字时, 如图 2所示, 可用一个手指在触摸设备的屏幕上 书写汉字, 该手指的滑动轨迹即为手写输入笔迹; 当用户需要输入标点符号时, 在不 切换识别模式的情况下, 可用两只手指同时触摸触摸屏, 其中一只手指的位置固定不 动, 也不离开屏幕, 另外一只手指书写标点。 如图 3和图 4所示, 手指 b和 d的滑动 轨迹即为手写输入笔迹。 这样, 不仅可以有效地避免因为切换识别模式对用户书写的 打断, 而且可以很好地保证识别的准确性, 并简化了用户的操作。
如图 5所示,本发明实施例二还提供了一种触摸设备的手写输入装置,可以包括: 触摸方式识别单元 51, 用于在多点触摸设备的手写输入状态下, 获取用户的触摸 操作信息,并确定触摸方式;触摸解析单元 52,用于获取与触摸方式对应的识别模式; 轨迹识别单元 53,用于根据触摸方式和相对应的识别模式识别从触摸操作信息中提取 的手写输入轨迹, 并显示与手写输入轨迹对应的识别结果。
其中, 触摸操作信息可以包括: 在同一时间内与所述多点触摸设备接触的触点的 个数, 各个触点的坐标、 滑动方向等, 其中各个触点的移动坐标构成了该触点的滑动 轨迹。
如图 6所示, 触摸方式识别单元 51可包括: 触点信息获取模块 511, 用于获取用 户在同一时间内与多点触摸设备接触的触点的个数; 触摸方式识别模块 512, 用于根 据触点的个数来确定多点触摸设备当前的触摸方式; 其中, 触摸方式可以包括: 单点 触摸和多点触摸。 其中, 单点触摸和多点触摸的定义可参照前述方法实施例的描述。 此外, 触点信息获取模块在获取用户在同一时间内与所述多点触摸设备接触的触点的 个数的同时, 还可获取各触点的坐标、 滑动轨迹和方向等, 以便于提取用户的手写输 入轨迹。
其中, 触摸解析单元 52可具体用于: 根据所述触摸方式查找预先建立的触摸方 式和识别模式的对应关系, 获取与所述触摸方式对应的识别模式。
为了进一步提高用户的使用体验, 如图 7所示, 手写输入装置还可包括: 对应关 系建立单元 54, 用于建立触摸方式和识别模式的对应关系, 并存储对应关系。
如图 8所示, 轨迹识别单元 53可以包括: 过滤子单元 531, 用于当所述触摸方式 为多点触摸时, 滤除多个触点中固定触点的轨迹, 提取移动触点的滑动轨迹; 轨迹识 别子单元 532, 用于根据获得的识别模式, 将移动触点的滑动轨迹作为手写输入笔迹 进行识别; 显示子单元 533, 用于显示与所述手写输入笔迹对应的识别结果。
也就是说, 当触摸方式为单点触摸时, 触摸点就是唯一的移动触点, 不需要再对 触点的轨迹进行滤除操作。 触摸点的滑动轨迹就是手写输入笔迹, 直接由轨迹识别子 单元 532根据与所述单点触摸对应的识别模式, 对手写输入笔迹进行识别, 并由显示 子单元 533显示与用户的手写输入笔迹对应的识别结果。
当所述触摸方式为多点触摸时, 由过滤子单元 531滤除多个触点中固定触点的轨 迹, 提取移动触点的滑动轨迹作为手写输入笔迹, 由轨迹识别子单元 532根据获得的 识别模式, 对所述手写输入笔迹进行识别, 并由显示子单元 533显示与用户的手写输 入笔迹对应的识别结果。
通过以上描述可以看出, 在利用多点触摸设备进行混合手写输入时, 获取用户的 触摸操作信息, 并确定触摸方式, 通过触摸方式获得对应的识别模式, 而后根据所述 触摸方式和所述识别模式识别从所述触摸操作信息中提取的用户的手写输入笔迹, 并 显示与手写输入笔迹对应的识别结果。 因此, 利用本发明实施例的装置, 当进行混合 手写输入时, 无需频繁的切换功能键以切换识别模式, 从而保证了用户手写输入的连 贯性; 同时, 也无需增设软键盘实现对标点符号的输入, 从而简化了用户的操作。
本发明还公开了一种电子设备, 包括上述实施例提供的触摸设备的手写输入方法 和装置所述电子设备为电子阅读器、 平板电脑、 平板显示器、 手机中的任一种。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程, 是可以 通过计算机程序指令来控制相关的硬件完成, 所述的程序可存储于一计算机可读取存 储介质中, 该程序在执行时, 可包括如上述方法的实施例的流程。 其中, 存储介质可 为磁碟、光盘、只读存储记忆体(Read-Only Memory, ROM)或随机存储记忆体(Random Access Memory, RAM) 等。
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限于此, 任 何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应以所述权利要求的保 护范围为准。

Claims

权 利 要 求
1、 一种触摸设备的手写输入方法, 包括:
在触摸设备的手写输入状态下, 获取用户的触摸操作信息, 并确定触摸方式; 获取与所述触摸方式对应的识别模式;
根据所述触摸方式和相对应的识别模式来识别从所述触摸操作信息中提取的手 写输入轨迹, 并显示与所述手写输入轨迹对应的识别结果。
2、 根据权利要求 1 所述的方法, 其中, 所述触摸操作信息包括: 用户在同一时 间内与所述触摸设备接触的触点的个数;
所述获取用户的触摸操作信息, 并确定触摸方式, 包括:
获取用户在同一时间内与所述触摸设备接触的触点的个数;
根据所述触点的个数确定所述触摸设备当前的触摸方式; 其中所述触摸方式包 括: 单点触摸和多点触摸。
3、 根据权利要求 1 所述的方法, 其中, 所述方法还包括: 在所述获取用户的触 摸操作信息并确定触摸方式之前,
建立触摸方式和识别模式的对应关系。
4、 根据权利要求 1或 3所述的方法, 其中, 所述获取与所述触摸方式对应的识 别模式包括:
根据所述触摸方式在预先建立的触摸方式和识别模式的对应关系中进行查找, 获 取与所述触摸方式对应的识别模式。
5、 根据权利要求 2所述的方法, 其中, 所述触摸操作信息还包括: 各个触点的 坐标, 每个触点移动的坐标构成了该触点的滑动轨迹;
所述根据所述触摸方式和所述识别模式来识别从所述触摸操作信息中提取手写 输入轨迹, 并显示与所述手写输入轨迹对应的识别结果包括:
当所述触摸方式为单点触摸时, 根据获得的识别模式, 将该触点的滑动轨迹作为 手写输入轨迹进行识别, 并显示与所述手写输入轨迹对应的识别结果;
当所述触摸方式为多点触摸时, 滤除多个触点中固定触点的轨迹,根据获得的识 别模式, 将移动触点的滑动轨迹作为手写输入轨迹进行识别, 并显示与所述手写输入 轨迹对应的识别结果。
6、 一种触摸设备的手写输入装置, 其中, 包括:
触摸方式识别单元, 用于在触摸设备的手写输入状态下, 获取用户的触摸操作信 息, 并确定触摸方式;
触摸解析单元, 用于获取与所述触摸方式对应的识别模式;
轨迹识别单元, 用于根据所述触摸方式和相对应的识别模式来识别从所述触摸操 作信息中提取的手写输入轨迹, 并显示与所述手写输入轨迹对应的识别结果。
7、 根据权利要求 6所述的装置, 其中, 所述触摸操作信息包括: 用户在同一时 间内与所述触摸设备接触的触点的个数; 所述触摸方式识别单元包括:
触点信息获取模块, 用于获取用户在同一时间内与所述触摸设备接触的触点的个 数;
触摸方式识别模块, 用于根据所述触点的个数确定所述触摸设备当前的触摸方 式; 其中所述触摸方式包括: 单点触摸和多点触摸。
8、 根据权利要求 6所述的装置, 其中, 所述装置还包括:
对应关系建立单元, 用于建立触摸方式和识别模式的对应关系, 并存储所述对应 关系。
9、 根据权利要求 7或 8所述的装置, 其中, 所述触摸解析单元用于: 根据所述 触摸方式查找预先建立的触摸方式和识别模式的对应关系, 获取与所述触摸方式对应 的识别模式。
10、 根据权利要求 7所述的装置, 其中, 所述触摸操作信息还包括: 各个触点的 坐标, 每个触点移动的坐标构成了该触点的滑动轨迹;
所述轨迹识别单元包括:
过滤子单元, 用于在所述触摸方式为多点触摸时, 滤除多个触点中固定触点的轨 迹, 获得移动触点的滑动轨迹;
轨迹识别子单元, 用于根据获得的识别模式, 将移动触点的滑动轨迹作为手写输 入笔迹进行识别; 显示子单元, 用于显示与所述手写输入笔迹对应的识别结果。
11、 一种电子设备, 包括权利要求 6-10之一所述的触摸设备的手写输入装置。
12、 根据权利要求 11所述的电子设备, 其中, 所述电子设备为电子阅读器、 平 板电脑、 平板显示器、 手机中的任一种。
PCT/CN2012/073288 2011-03-30 2012-03-30 触摸设备的手写输入方法及装置和电子设备 WO2012130156A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110079720.8 2011-03-30
CN 201110079720 CN102156578B (zh) 2011-03-30 2011-03-30 触摸设备的手写输入方法及装置和电子设备

Publications (1)

Publication Number Publication Date
WO2012130156A1 true WO2012130156A1 (zh) 2012-10-04

Family

ID=44438095

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/073288 WO2012130156A1 (zh) 2011-03-30 2012-03-30 触摸设备的手写输入方法及装置和电子设备

Country Status (2)

Country Link
CN (1) CN102156578B (zh)
WO (1) WO2012130156A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014089669A1 (en) * 2012-12-13 2014-06-19 Blackberry Limited Handwriting-initiated search

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156578B (zh) * 2011-03-30 2013-01-09 汉王科技股份有限公司 触摸设备的手写输入方法及装置和电子设备
CN102566755A (zh) * 2011-12-15 2012-07-11 无敌科技(西安)有限公司 一种繁简对照学习的输入装置和方法
CN103197870B (zh) * 2012-01-05 2017-03-29 汉王科技股份有限公司 一种移动终端中切换功能状态的方法及装置
CN103365574A (zh) * 2012-03-27 2013-10-23 百度在线网络技术(北京)有限公司 一种用于执行翻页操作的方法和设备
CN106126090B (zh) * 2012-05-11 2019-07-26 联想(北京)有限公司 一种电子设备的控制方法及电子设备
CN103425424B (zh) * 2012-05-22 2018-02-13 北京蒙恬科技有限公司 手写输入选字***及方法
KR102051585B1 (ko) * 2012-08-27 2019-12-17 삼성전자주식회사 멀티 터치를 이용한 핸드 라이팅 기능을 갖는 전자 장치 및 제어 방법
CN103176794A (zh) * 2013-01-31 2013-06-26 北京恒华伟业科技股份有限公司 Android屏幕触点轨迹数据的组织及解析方法
WO2014127493A1 (en) * 2013-02-22 2014-08-28 Yahoo! Inc. Finger expressions for touch screens
US9760278B2 (en) 2013-03-01 2017-09-12 Altaba INC. Finger expressions for touch screens
CN103246477B (zh) * 2013-05-15 2016-08-24 广东威创视讯科技股份有限公司 触摸***输入法的切换方法及装置、触摸***
CN104699403B (zh) * 2015-03-20 2018-07-24 天脉聚源(北京)教育科技有限公司 一种笔迹展示的方法和装置
CN104778003B (zh) * 2015-03-23 2019-06-14 惠州Tcl移动通信有限公司 一种输入轨迹识别方法及其可穿戴设备
US10007421B2 (en) * 2015-08-03 2018-06-26 Lenovo (Singapore) Pte. Ltd. Natural handwriting detection on a touch surface
CN105573658A (zh) * 2016-02-01 2016-05-11 西安睿尚信息科技有限公司 一种基于手写的输入与页面移动和缩放的切换方法和***
CN109521908B (zh) * 2018-11-28 2021-12-24 广州朗国电子科技有限公司 智能白板单指与多指触摸模式的切换方法
CN114637454A (zh) * 2020-12-16 2022-06-17 北京搜狗科技发展有限公司 一种输入方法、装置和用于输入的装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101458591A (zh) * 2008-12-09 2009-06-17 三星电子(中国)研发中心 一种具有多点触摸屏硬件结构的手机输入***
CN101655771A (zh) * 2009-09-07 2010-02-24 上海合合信息科技发展有限公司 多触点字符输入方法及***
CN101727253A (zh) * 2008-10-14 2010-06-09 宸鸿光电科技股份有限公司 触控装置的触控位置感测方法
CN102156578A (zh) * 2011-03-30 2011-08-17 汉王科技股份有限公司 触摸设备的手写输入方法及装置和电子设备

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8059101B2 (en) * 2007-06-22 2011-11-15 Apple Inc. Swipe gestures for touch screen keyboards

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727253A (zh) * 2008-10-14 2010-06-09 宸鸿光电科技股份有限公司 触控装置的触控位置感测方法
CN101458591A (zh) * 2008-12-09 2009-06-17 三星电子(中国)研发中心 一种具有多点触摸屏硬件结构的手机输入***
CN101655771A (zh) * 2009-09-07 2010-02-24 上海合合信息科技发展有限公司 多触点字符输入方法及***
CN102156578A (zh) * 2011-03-30 2011-08-17 汉王科技股份有限公司 触摸设备的手写输入方法及装置和电子设备

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014089669A1 (en) * 2012-12-13 2014-06-19 Blackberry Limited Handwriting-initiated search

Also Published As

Publication number Publication date
CN102156578A (zh) 2011-08-17
CN102156578B (zh) 2013-01-09

Similar Documents

Publication Publication Date Title
WO2012130156A1 (zh) 触摸设备的手写输入方法及装置和电子设备
TWI541717B (zh) 管理即時手寫辨識
TWI653545B (zh) 用於即時手寫辨識之方法、系統及非暫時性電腦可讀媒體
TWI570632B (zh) 使用一通用辨識器之多筆跡手寫辨識
CN103809896B (zh) 一种页面切换方法及装置
CN101593080B (zh) 用于文本输入的候选字符的识别
US9448620B2 (en) Input method and apparatus of portable device for mapping segments of a hand to a plurality of keys
US8633909B2 (en) Information processing apparatus, input operation determination method, and input operation determination program
US20140123049A1 (en) Keyboard with gesture-redundant keys removed
TWI505155B (zh) 電容和電磁雙模觸摸屏的觸控方法及手持式電子設備
US8830192B2 (en) Computing device for performing functions of multi-touch finger gesture and method of the same
CN105094654B (zh) 一种屏幕控制方法及装置
CN102063250B (zh) 一种利用方向操作输入字符的方法和装置
TW201516887A (zh) 針對自動手寫辨識將筆劃分佈資訊整合到空間特徵擷取
WO2011026395A1 (zh) 多触点字符输入方法及***
JP2015518604A (ja) テキスト選択及び入力
WO2009074047A1 (fr) Procédé, système, dispositif et terminal pour la correction d'erreur d'écran tactile
CN103246437A (zh) 切换输入法的方法和终端
CN108710457B (zh) 一种交互方法及终端设备
US9588678B2 (en) Method of operating electronic handwriting and electronic device for supporting the same
CN103425424A (zh) 手写输入选字***及方法
CN107368205B (zh) 一种手写输入方法及移动终端
CN102147706A (zh) 一种通过触滑方式输入汉字全拼的方法
CN103472931A (zh) 鼠标仿真触控屏幕操作的方法
CN103984427A (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: 12763645

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

Country of ref document: EP

Kind code of ref document: A1