WO2012130156A1 - Handwriting input method and apparatus for touch device, and electronic device - Google Patents

Handwriting input method and apparatus for touch device, and electronic device 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
French (fr)
Chinese (zh)
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/en

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)

Abstract

Disclosed are a handwriting input method and device for a touch device, and an electronic device, relating to the technical field of input methods, mainly used in handwriting input technology and invented for ensuring the coherence of handwriting input of the user and simplifying the operation when the user performs hybrid handwriting input using a multipoint touch device. The handwriting input method for a touch device includes: establishing a correlation between a touch manner and a recognition mode (11); under the handwriting input state of the touch device, acquiring touch operation information about the user, and determining the touch manner (12); acquiring the recognition mode corresponding to the touch manner (13); recognizing the handwriting input trace extracted from touch operation information according to the touch manner and the corresponding recognition mode, and displaying the recognition result corresponding to the handwriting input trace (14).

Description

技术领域 Technical field
本发明涉及输入法技术领域, 尤其涉及一种触摸设备的手写输入方法及装置和一 种电子设备。 背景技术  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
随着多点触摸技术的发展, 多点触摸设备开始迅速推广和普及,但是这些多点触 摸设备上的多点触摸功能仅仅限于放大缩小功能, 没有充分应用到手写输入技术当 中。  With the development of multi-touch technology, 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.
在现有技术中, 针对多点触摸设备的手写输入法在实现各种文字和标点符号的混 合输入时, 通常会延续单点触摸输入的方式。  In the prior art, 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.
具体可划分为以下两种类型: 一种是将待输入字符划分为不同的识别模式 (如: 汉字、 英文字母、 数字及标点符号等), 并在输入法的面板上设置与各识别模式相对 应的功能键, 以切换不同的识别模式。 比如, 用户如果选择标点符号功能键, 输入法 将切换至标点符号识别状态, 该模式下输入法将按照标点符号模式识别输入笔迹。 在 这种方式下, 用户需要单指反复点击功能键以切换识别模式, 因而影响了用户手写输 入的连贯性。  Specifically, it can be divided into the following two types: One is to divide the characters to be input into different recognition modes (such as: Chinese characters, English letters, numbers, punctuation marks, etc.), and set on the panel of the input method with each recognition mode. 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.
本发明实施例采用如下技术方案:  The embodiment of the invention adopts the following technical solutions:
一种触摸设备的手写输入方法, 包括: 在触摸设备的手写输入状态下, 获取用户的触摸操作信息, 并确定触摸方式; 获取与所述触摸方式对应的识别模式; 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. As can be seen from the above, in the embodiment of the present invention, when the handwriting input is performed by using the touch device, 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. And the corresponding recognition mode identifies the handwriting input handwriting of the user, and displays a recognition result corresponding to the handwritten input handwriting. Therefore, when the method and the device of the embodiment of the present invention are used, when the mixed handwriting input is performed, the function key is not frequently switched to switch the recognition mode, thereby ensuring the continuity of the user's handwriting input; meanwhile, there is no need to add a soft keyboard to implement the punctuation. The input of symbols simplifies the user's operation. DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用 的附图做一简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例 的部分附图, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以 根据这些附图获得其他的附图。  In order to more clearly illustrate the technical solutions of the embodiments of the present invention, a brief description of the drawings to be used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. In some of the drawings, other drawings may be obtained from those skilled in the art without departing from the drawings.
图 1为根据本发明实施例一的触摸设备的手写输入方法流程图;  1 is a flowchart of a handwriting input method of a touch device according to a first embodiment of the present invention;
图 2为本发明实施例一中单点触摸的方式的示意图;  2 is a schematic diagram of a manner of single-touch in the first embodiment of the present invention;
图 3为本发明实施例一中两点触摸的方式的示意图;  3 is a schematic diagram of a manner of two-point touch in the first embodiment of the present invention;
图 4为本发明实施例一中两点触摸方式的又一示意图; 图 5为根据本发明实施例二触摸设备的手写输入装置的示意图; 图 6为本发明实施例二中触摸方式识别单元的示意图; 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;
图 7为本发明实施例二中触摸设备的手写输入装置的结构图;  7 is a structural diagram of a handwriting input device of a touch device according to Embodiment 2 of the present invention;
图 8为本发明实施例二中轨迹识别单元的示意图。 具体实施方式  FIG. 8 is a schematic diagram of a track recognition unit according to Embodiment 2 of the present invention. detailed description
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完 整地描述。显然,所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做出创造性劳动前提下所获得的 所有其他实施例, 都属于本发明保护的范围。  The technical solutions in the embodiments of the present invention will be clearly and completely described in the following with reference to the accompanying drawings in the embodiments. It is apparent that the described embodiments are only a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
为了实现在利用触摸设备进行混合手写输入时, 保证用户手写输入的连贯性, 并 简化用户的操作, 本发明实施例的触摸设备的手写输入方法中, 在触摸设备的手写输 入状态下, 获取用户的触摸操作信息, 并确定触摸方式, 然后获取与触摸方式对应的 识别模式。 再根据触摸方式和对应的识别模式识别从触摸操作信息中提取的手写输入 笔迹, 并显示与手写输入笔迹对应的识别结果。  In 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.
在本发明实施例中, 在利用触摸设备进行混合手写输入时, 获取用户的触摸操作 信息, 并确定触摸方式, 通过触摸方式获得对应的识别模式, 然后根据触摸方式和识 别模式来识别用户的手写输入笔迹, 并显示与手写输入笔迹对应的识别结果。 因此, 利用本发明实施例的方法, 当进行混合手写输入时, 无需频繁的切换功能键以切换识 别模式, 从而保证了用户手写输入的连贯性; 同时, 也无需增设软键盘实现对标点符 号的输入, 从而简化了用户的操作。  In the embodiment of the present invention, when the handwriting input is performed by using the touch device, 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.
如图 1所示, 本发明实施例一的触摸设备的手写输入方法可以包括以下步骤。 步骤 11 : 建立触摸方式和识别模式的对应关系。  As shown in FIG. 1, 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.
在此实施例中, 可设置多个触点, 分别为: 第一触点、 第二触点、 ……和第 N触 点。 其中, 第一触点、 第二触点、 ……和第 N-1触点可以设置在多点触摸设备的显示 屏幕中的任意位置, 并保持不动, 第 N触点用于在多点触摸设备的显示屏幕提供的书 写区域中书写字符笔迹,其中, 书写区域可以是有限的区域, 也可以是整个显示屏幕, 本发明实施例对此不做限定。 其中 N的具体取值可以根据输入模式的多少任意设置, 优选地, N为小于等于 10的正整数。 In this embodiment, a plurality of contacts may be provided, namely: a first contact, a second contact, ... and an Nth contact. Wherein, 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. Preferably, N is a positive integer less than or equal to 10.
并且, 在本发明实施例中, 对单点触摸和多点触摸做如下定义:  Moreover, in the embodiment of the present invention, 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".
多点触摸包括两个点触摸, 三个点触摸, …… N个点触摸等, 其中 N的值可以取 大于等于 2的整数。 例如, 两个点触摸的触摸方法为 "用两个手指接触触摸屏, 其中 一个手指接触多点触摸设备的触摸屏上的任意位置后, 不离开触摸屏, 也不在触摸屏 上移动, 另一个手指则在多点触摸设备的触摸屏上提供的书写区域中书写字符笔迹。 以此类推, N个点触摸的触摸方法为 "用 N-1个手指接触多点触摸设备的触摸屏上的 任意位置后, 不离开触摸屏, 也不在触摸屏上移动, 第 N个手指在多点触摸设备的触 摸屏上提供的书写区域中书写字符笔迹"。  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. For example, 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. Similarly, 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.
在具体应用中, 可根据具体需要在程序中定义如下识别模式, 例如:  In specific applications, the following recognition modes can be defined in the program according to specific needs, for example:
#define Chinese 0x0001 II 汉字  #define Chinese 0x0001 II Chinese characters
#define Punctuation 0x0002 II 标点符号  #define Punctuation 0x0002 II Punctuation
#define Alphabet 0x0004 II 英文字母 如图 2所示, 为单点触摸的方式的示意图。 对于两个点触摸的方式, 用户可以通 过单手操作或者双手操作的方式完成手写输入。 如图 3所示, 用户用一只手触摸书写 字符句号 "。"时, 其同一只手上的其中一个手指 a (即第一触点)触摸屏幕的任意位 置并固定不动, 同一只手上另外一个手指 b (即第二触点)触摸屏幕并书写字符笔迹。 如图 4所示, 用户用两个手指触摸书写问号 "? " 时, 其中的一只手上的手指 c (即 第一触点) 触摸屏幕的任意位置并固定不动, 另外一只手上的手指 d (即第二触点) 触摸屏幕并书写字符笔迹。  #define Alphabet 0x0004 II English letters As shown in Figure 2, it is a schematic diagram of the single-touch method. For the two-point touch method, the user can complete the handwriting input by one-hand operation or two-hand operation. As shown in FIG. 3, when 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) touches the screen and writes a character handwriting. As shown in FIG. 4, when the user touches the question mark "?" with two fingers, the finger c (ie, the first contact) on one of the hands touches any position of the screen and is fixed, and the other hand Finger d (ie the second contact) touches the screen and writes a character handwriting.
不同个数触点的组合对应不同的识别模式, 可建立如下表 1所示的对应关系: 表 1 The combination of different number of contacts corresponds to different recognition modes, and the correspondence shown in Table 1 below can be established: Table 1
Figure imgf000007_0001
步骤 12: 在触摸设备的手写输入状态下, 获取用户的触摸操作信息, 并确定触摸 方式。
Figure imgf000007_0001
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.
如果在同一时间内多点触摸设备上只有一个触点, 则多点触摸设备当前的触摸方 式为单点触摸; 如果在同一时间内多点触摸设备上有两个以上的触点, 则多点触摸设 备当前的触摸方式为多点触摸。  If there is only one contact on the multi-touch device at the same time, 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.
步骤 13: 根据触摸方式查找预先建立的触摸方式和识别模式的对应关系, 获取与 所述触摸方式对应的识别模式。  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.
根据表 1, 如果为单点触摸, 则当前的识别模式为汉字; 如果为多点触摸下的两 个点触摸, 则当前的识别模式为标点符号; 如果为多点触摸下的三个点触摸, 则当前 的识别模式为英文字母。  According to Table 1, if it is a single touch, 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.
在多点触摸输入中, 还可以有更多点的触摸方式和识别模式的对应关系, 在此不 一一列举。 还可以根据多个固定不变的触点的位置关系, 建立更多的触摸方式和识别 模式的对应关系。  In the multi-touch input, there may be more correspondence between the touch mode and the recognition mode, which are not enumerated here. It is also possible to establish a correspondence between more touch modes and recognition modes according to the positional relationship of a plurality of fixed contacts.
步骤 14:根据触摸方式和相对应的识别模式识别从触摸操作信息中提取的手写输 入轨迹, 并显示与手写输入轨迹对应的识别结果。  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.
在此步骤中, 首先获取多点触摸设备的触摸屏驱动接收到的各触点的信号。 如果 当前触摸屏操作系统处于手写输入状态, 则向手写输入处理传输获取到的各触点的信 号, 否则将各个触点的信号发送至 OS操作系统进行处理。 在进行多点触摸输入的过程中, 手写输入处理会接收到多个触点的落笔信号, 还 会不断的接收到用于进行手写的移动触点的滑动轨迹信号, 例如变化的触点的坐标序 列, 并实时显示由移动触点的滑动轨迹构成的手写输入轨迹。 当有抬笔动作发生时, 手写输入处理会收到抬笔信号, 并开始识别。 In this step, 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. In the process of multi-touch input, 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.
首先, 在步骤 12 中获得触摸操作信息, 所述触摸操作信息包括多组触摸数据, 根据触摸数据可以确定触点的个数、 各个触点的坐标、 滑动方向等, 其中各个触点的 移动坐标构成了该触点的滑动轨迹。 根据触点的个数确定触摸方式: 单点触摸或多点 触摸。  First, 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.
然后, 在步骤 13中, 根据步骤 12中获得的触摸方式, 获得当前手写输入笔迹的 识别模式。 最后, 当触摸方式为单点触摸时, 只有一个移动触点, 将该移动触点的滑 动轨迹作为手写输入笔迹。 根据与单点触摸对应的识别模式, 对手写输入笔迹进行识 别, 并显示与手写输入笔迹对应的识别结果; 当所述触摸方式为多点触摸时, 滤除多 个触点中固定触点的轨迹,提取多个触点中移动触点的滑动轨迹作为手写输入笔迹。 然后, 根据步骤 13 获得的识别模式, 对手写输入笔迹进行识别, 并显示与该手写输 入笔迹对应的识别结果。  Then, in step 13, the recognition mode of the current handwriting input handwriting is obtained according to the touch mode obtained in step 12. Finally, when 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.
例如, 当用户需要输入汉字时, 如图 2所示, 可用一个手指在触摸设备的屏幕上 书写汉字, 该手指的滑动轨迹即为手写输入笔迹; 当用户需要输入标点符号时, 在不 切换识别模式的情况下, 可用两只手指同时触摸触摸屏, 其中一只手指的位置固定不 动, 也不离开屏幕, 另外一只手指书写标点。 如图 3和图 4所示, 手指 b和 d的滑动 轨迹即为手写输入笔迹。 这样, 不仅可以有效地避免因为切换识别模式对用户书写的 打断, 而且可以很好地保证识别的准确性, 并简化了用户的操作。  For example, when the user needs to input Chinese characters, as shown in FIG. 2, 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. In the case of the mode, 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. As shown in Fig. 3 and Fig. 4, the sliding track of the fingers b and d is the handwriting input handwriting. In this way, not only the interruption of the writing of the user by the switching recognition mode can be effectively avoided, but also the accuracy of the recognition can be well ensured, and the operation of the user is simplified.
如图 5所示,本发明实施例二还提供了一种触摸设备的手写输入装置,可以包括: 触摸方式识别单元 51, 用于在多点触摸设备的手写输入状态下, 获取用户的触摸 操作信息,并确定触摸方式;触摸解析单元 52,用于获取与触摸方式对应的识别模式; 轨迹识别单元 53,用于根据触摸方式和相对应的识别模式识别从触摸操作信息中提取 的手写输入轨迹, 并显示与手写输入轨迹对应的识别结果。  As shown in FIG. 5, 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.
其中, 触摸操作信息可以包括: 在同一时间内与所述多点触摸设备接触的触点的 个数, 各个触点的坐标、 滑动方向等, 其中各个触点的移动坐标构成了该触点的滑动 轨迹。 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.
如图 6所示, 触摸方式识别单元 51可包括: 触点信息获取模块 511, 用于获取用 户在同一时间内与多点触摸设备接触的触点的个数; 触摸方式识别模块 512, 用于根 据触点的个数来确定多点触摸设备当前的触摸方式; 其中, 触摸方式可以包括: 单点 触摸和多点触摸。 其中, 单点触摸和多点触摸的定义可参照前述方法实施例的描述。 此外, 触点信息获取模块在获取用户在同一时间内与所述多点触摸设备接触的触点的 个数的同时, 还可获取各触点的坐标、 滑动轨迹和方向等, 以便于提取用户的手写输 入轨迹。  As shown in FIG. 6, 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. Wherein, the definitions of single touch and multi-touch can be referred to the description of the foregoing method embodiments. In addition, 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.
其中, 触摸解析单元 52可具体用于: 根据所述触摸方式查找预先建立的触摸方 式和识别模式的对应关系, 获取与所述触摸方式对应的识别模式。  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.
为了进一步提高用户的使用体验, 如图 7所示, 手写输入装置还可包括: 对应关 系建立单元 54, 用于建立触摸方式和识别模式的对应关系, 并存储对应关系。  In order to further improve the user experience, as shown in FIG. 7, 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.
如图 8所示, 轨迹识别单元 53可以包括: 过滤子单元 531, 用于当所述触摸方式 为多点触摸时, 滤除多个触点中固定触点的轨迹, 提取移动触点的滑动轨迹; 轨迹识 别子单元 532, 用于根据获得的识别模式, 将移动触点的滑动轨迹作为手写输入笔迹 进行识别; 显示子单元 533, 用于显示与所述手写输入笔迹对应的识别结果。  As shown in FIG. 8, 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.
也就是说, 当触摸方式为单点触摸时, 触摸点就是唯一的移动触点, 不需要再对 触点的轨迹进行滤除操作。 触摸点的滑动轨迹就是手写输入笔迹, 直接由轨迹识别子 单元 532根据与所述单点触摸对应的识别模式, 对手写输入笔迹进行识别, 并由显示 子单元 533显示与用户的手写输入笔迹对应的识别结果。  That is to say, when the touch mode is single touch, 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.
当所述触摸方式为多点触摸时, 由过滤子单元 531滤除多个触点中固定触点的轨 迹, 提取移动触点的滑动轨迹作为手写输入笔迹, 由轨迹识别子单元 532根据获得的 识别模式, 对所述手写输入笔迹进行识别, 并由显示子单元 533显示与用户的手写输 入笔迹对应的识别结果。  When the touch mode is multi-touch, 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.
通过以上描述可以看出, 在利用多点触摸设备进行混合手写输入时, 获取用户的 触摸操作信息, 并确定触摸方式, 通过触摸方式获得对应的识别模式, 而后根据所述 触摸方式和所述识别模式识别从所述触摸操作信息中提取的用户的手写输入笔迹, 并 显示与手写输入笔迹对应的识别结果。 因此, 利用本发明实施例的装置, 当进行混合 手写输入时, 无需频繁的切换功能键以切换识别模式, 从而保证了用户手写输入的连 贯性; 同时, 也无需增设软键盘实现对标点符号的输入, 从而简化了用户的操作。 As can be seen from the above description, when the mixed handwriting input is performed by using the multi-touch device, 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.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程, 是可以 通过计算机程序指令来控制相关的硬件完成, 所述的程序可存储于一计算机可读取存 储介质中, 该程序在执行时, 可包括如上述方法的实施例的流程。 其中, 存储介质可 为磁碟、光盘、只读存储记忆体(Read-Only Memory, ROM)或随机存储记忆体(Random Access Memory, RAM) 等。  A person skilled in the art can understand that all or part of the process of implementing the above embodiments can be completed by computer program instructions, and the program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the method as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限于此, 任 何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应以所述权利要求的保 护范围为准。  The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.

Claims

权 利 要 求 Rights request
1、 一种触摸设备的手写输入方法, 包括: 1. 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 trajectory extracted from the touch operation information is identified according to the touch mode and a corresponding recognition mode, and a recognition result corresponding to the handwriting input trajectory is displayed.
2、 根据权利要求 1 所述的方法, 其中, 所述触摸操作信息包括: 用户在同一时 间内与所述触摸设备接触的触点的个数;  2. The method according to claim 1, wherein the touch operation information comprises: a number of contacts that the user contacts with the touch device in the same time;
所述获取用户的触摸操作信息, 并确定触摸方式, 包括:  The acquiring the touch operation information of the user and determining the touch manner includes:
获取用户在同一时间内与所述触摸设备接触的触点的个数;  Obtaining the number of contacts that the user contacts with the touch device at the same time;
根据所述触点的个数确定所述触摸设备当前的触摸方式; 其中所述触摸方式包 括: 单点触摸和多点触摸。  Determining a current touch manner of the touch device according to the number of the contacts; wherein the touch manner includes: a single touch and a multi-touch.
3、 根据权利要求 1 所述的方法, 其中, 所述方法还包括: 在所述获取用户的触 摸操作信息并确定触摸方式之前,  3. The method according to claim 1, wherein the method further comprises: before the obtaining the user's touch operation information and determining the touch mode,
建立触摸方式和识别模式的对应关系。  Establish a correspondence between the touch mode and the recognition mode.
4、 根据权利要求 1或 3所述的方法, 其中, 所述获取与所述触摸方式对应的识 别模式包括:  The method according to claim 1 or 3, wherein the acquiring the recognition mode corresponding to the touch mode comprises:
根据所述触摸方式在预先建立的触摸方式和识别模式的对应关系中进行查找, 获 取与所述触摸方式对应的识别模式。  A search is performed in a correspondence relationship between the touch mode and the recognition mode established in advance according to the touch mode, and an identification mode corresponding to the touch mode is obtained.
5、 根据权利要求 2所述的方法, 其中, 所述触摸操作信息还包括: 各个触点的 坐标, 每个触点移动的坐标构成了该触点的滑动轨迹;  5. The method according to claim 2, wherein the touch operation information further comprises: coordinates of each contact, and coordinates of each contact movement constitute a sliding track of the contact;
所述根据所述触摸方式和所述识别模式来识别从所述触摸操作信息中提取手写 输入轨迹, 并显示与所述手写输入轨迹对应的识别结果包括:  The recognizing the handwriting input trajectory from the touch operation information according to the touch mode and the recognition mode, and displaying the recognition result corresponding to the handwriting input trajectory includes:
当所述触摸方式为单点触摸时, 根据获得的识别模式, 将该触点的滑动轨迹作为 手写输入轨迹进行识别, 并显示与所述手写输入轨迹对应的识别结果;  When the touch mode is a single touch, according to the obtained recognition mode, the sliding track of the contact is recognized as a handwriting input track, and a recognition result corresponding to the handwritten input track is displayed;
当所述触摸方式为多点触摸时, 滤除多个触点中固定触点的轨迹,根据获得的识 别模式, 将移动触点的滑动轨迹作为手写输入轨迹进行识别, 并显示与所述手写输入 轨迹对应的识别结果。 When the touch mode is multi-touch, filtering the trajectory of the fixed contacts among the plurality of contacts, according to the obtained knowledge In the mode, the sliding trajectory of the moving contact is recognized as a handwriting input trajectory, and the recognition result corresponding to the handwriting input trajectory is displayed.
6、 一种触摸设备的手写输入装置, 其中, 包括:  6. A handwriting input device for a touch device, wherein:
触摸方式识别单元, 用于在触摸设备的手写输入状态下, 获取用户的触摸操作信 息, 并确定触摸方式;  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;
轨迹识别单元, 用于根据所述触摸方式和相对应的识别模式来识别从所述触摸操 作信息中提取的手写输入轨迹, 并显示与所述手写输入轨迹对应的识别结果。  And a trajectory identifying unit, 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.
7、 根据权利要求 6所述的装置, 其中, 所述触摸操作信息包括: 用户在同一时 间内与所述触摸设备接触的触点的个数; 所述触摸方式识别单元包括:  The device according to claim 6, wherein the touch operation information comprises: a number of contacts that the user contacts with the touch device in the same time; the touch mode identification unit includes:
触点信息获取模块, 用于获取用户在同一时间内与所述触摸设备接触的触点的个 数;  a contact information acquiring module, configured to acquire a number of contacts that the user contacts with the touch device at the same time;
触摸方式识别模块, 用于根据所述触点的个数确定所述触摸设备当前的触摸方 式; 其中所述触摸方式包括: 单点触摸和多点触摸。  a touch mode identification module, configured to determine a current touch mode of the touch device according to the number of the contacts; wherein the touch mode comprises: a single touch and a multi-touch.
8、 根据权利要求 6所述的装置, 其中, 所述装置还包括:  8. The device according to claim 6, wherein the device further comprises:
对应关系建立单元, 用于建立触摸方式和识别模式的对应关系, 并存储所述对应 关系。  The correspondence relationship establishing unit is configured to establish a correspondence between the touch mode and the recognition mode, and store the corresponding relationship.
9、 根据权利要求 7或 8所述的装置, 其中, 所述触摸解析单元用于: 根据所述 触摸方式查找预先建立的触摸方式和识别模式的对应关系, 获取与所述触摸方式对应 的识别模式。  The device according to claim 7 or 8, wherein the touch analysis unit is configured to: search for a correspondence between a touch mode and a recognition mode that are established in advance according to the touch mode, and acquire an identifier corresponding to the touch mode mode.
10、 根据权利要求 7所述的装置, 其中, 所述触摸操作信息还包括: 各个触点的 坐标, 每个触点移动的坐标构成了该触点的滑动轨迹;  10. The device according to claim 7, wherein the touch operation information further comprises: coordinates of each contact, and coordinates of each contact movement constitute a sliding track of the contact;
所述轨迹识别单元包括:  The trajectory identification unit includes:
过滤子单元, 用于在所述触摸方式为多点触摸时, 滤除多个触点中固定触点的轨 迹, 获得移动触点的滑动轨迹;  a filtering subunit, configured to filter a track of the fixed contact of the plurality of contacts when the touch mode is multi-touch, and obtain a sliding track of the moving contact;
轨迹识别子单元, 用于根据获得的识别模式, 将移动触点的滑动轨迹作为手写输 入笔迹进行识别; 显示子单元, 用于显示与所述手写输入笔迹对应的识别结果。 a track recognition subunit, configured to identify a sliding track of the moving contact as a handwriting input handwriting according to the obtained recognition mode; a display subunit, configured to display a recognition result corresponding to the handwriting input handwriting.
11、 一种电子设备, 包括权利要求 6-10之一所述的触摸设备的手写输入装置。 An electronic device comprising the handwriting input device of the touch device of any one of claims 6-10.
12、 根据权利要求 11所述的电子设备, 其中, 所述电子设备为电子阅读器、 平 板电脑、 平板显示器、 手机中的任一种。 12. The electronic device according to claim 11, wherein the electronic device is any one of an electronic reader, a tablet computer, a flat panel display, and a mobile phone.
PCT/CN2012/073288 2011-03-30 2012-03-30 Handwriting input method and apparatus for touch device, and electronic device WO2012130156A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110079720.8 2011-03-30
CN 201110079720 CN102156578B (en) 2011-03-30 2011-03-30 Handwriting input method and handwriting input device of touch equipment and electronic equipment

Publications (1)

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

Family

ID=44438095

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/073288 WO2012130156A1 (en) 2011-03-30 2012-03-30 Handwriting input method and apparatus for touch device, and electronic device

Country Status (2)

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

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 (en) * 2011-03-30 2013-01-09 汉王科技股份有限公司 Handwriting input method and handwriting input device of touch equipment and electronic equipment
CN102566755A (en) * 2011-12-15 2012-07-11 无敌科技(西安)有限公司 Input device and method for complex font and simple font contrast learning
CN103197870B (en) * 2012-01-05 2017-03-29 汉王科技股份有限公司 The method and device of handoff functionality state in a kind of mobile terminal
CN103365574A (en) * 2012-03-27 2013-10-23 百度在线网络技术(北京)有限公司 Method and equipment for executing page turning operation
CN103389871B (en) * 2012-05-11 2016-08-17 联想(北京)有限公司 The control method of a kind of electronic equipment and electronic equipment
CN103425425B (en) * 2012-05-22 2018-09-04 北京蒙恬科技有限公司 Handwriting input word selection system and method
KR102051585B1 (en) * 2012-08-27 2019-12-17 삼성전자주식회사 An electronic device and method having a function of hand writing using multi-touch
CN103176794A (en) * 2013-01-31 2013-06-26 北京恒华伟业科技股份有限公司 Organization and analysis method of Android screen contact trajectory data
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 (en) * 2013-05-15 2016-08-24 广东威创视讯科技股份有限公司 The changing method of touch system input method and device, touch system
CN104699403B (en) * 2015-03-20 2018-07-24 天脉聚源(北京)教育科技有限公司 A kind of method and apparatus of person's handwriting displaying
CN104778003B (en) * 2015-03-23 2019-06-14 惠州Tcl移动通信有限公司 A kind of input trajectory recognition methods and its wearable device
US10007421B2 (en) * 2015-08-03 2018-06-26 Lenovo (Singapore) Pte. Ltd. Natural handwriting detection on a touch surface
CN105573658A (en) * 2016-02-01 2016-05-11 西安睿尚信息科技有限公司 Method and system for switching input, page moving and page scaling on basis of handwriting
CN109521908B (en) * 2018-11-28 2021-12-24 广州朗国电子科技有限公司 Switching method of single-finger and multi-finger touch modes of intelligent whiteboard
CN114637454A (en) * 2020-12-16 2022-06-17 北京搜狗科技发展有限公司 Input method, input device and input device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101458591A (en) * 2008-12-09 2009-06-17 三星电子(中国)研发中心 Mobile phone input system with multi-point touch screen hardware structure
CN101655771A (en) * 2009-09-07 2010-02-24 上海合合信息科技发展有限公司 Method and system for inputting multi-contact characters
CN101727253A (en) * 2008-10-14 2010-06-09 宸鸿光电科技股份有限公司 Method for sensing touch position of touch device
CN102156578A (en) * 2011-03-30 2011-08-17 汉王科技股份有限公司 Handwriting input method and handwriting input device of touch equipment and electronic equipment

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 (en) * 2008-10-14 2010-06-09 宸鸿光电科技股份有限公司 Method for sensing touch position of touch device
CN101458591A (en) * 2008-12-09 2009-06-17 三星电子(中国)研发中心 Mobile phone input system with multi-point touch screen hardware structure
CN101655771A (en) * 2009-09-07 2010-02-24 上海合合信息科技发展有限公司 Method and system for inputting multi-contact characters
CN102156578A (en) * 2011-03-30 2011-08-17 汉王科技股份有限公司 Handwriting input method and handwriting input device of touch equipment and electronic equipment

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 (en) 2011-08-17
CN102156578B (en) 2013-01-09

Similar Documents

Publication Publication Date Title
WO2012130156A1 (en) Handwriting input method and apparatus for touch device, and electronic device
TWI541717B (en) Managing real-time handwriting recognition
TWI653545B (en) Method, system and non-transitory computer-readable media for real-time handwriting recognition
TWI570632B (en) Multi-script handwriting recognition using a universal recognizer
CN103809896B (en) A kind of page switching method and device
CN101593080B (en) Identification of candidate characters for text input
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 (en) Touch-control method for capactive and electromagnetic dual-mode touch screen and handheld electronic device
US8830192B2 (en) Computing device for performing functions of multi-touch finger gesture and method of the same
CN105094654B (en) Screen control method and device
CN102063250B (en) Method and device for inputting character by direction operation
TW201516887A (en) Integrating stroke-distribution information into spatial feature extraction for automatic handwriting recognition
WO2011026395A1 (en) Method and system for inputting multi-touch characters
JP2015518604A (en) Text selection and input
CN103246437A (en) Approach for switching input methods and terminal
CN108710457B (en) Interaction method and terminal equipment
US9588678B2 (en) Method of operating electronic handwriting and electronic device for supporting the same
CN103425424A (en) Handwriting input word selecting system and method
CN103472931A (en) Method for operating simulation touch screen by mouse
CN114690889A (en) Processing method of virtual keyboard and related equipment
CN103984427A (en) Multipoint touch method and device
CN104423657B (en) The method and electronic equipment of information processing
KR100656779B1 (en) Alphabet Input Apparatus Using A TouchPad And Method Thereof

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