Hand-written keyboard input collision solution method and input mechanism using the same

A technology for keyboard input and conflict resolution, applied in the input/output of user/computer interaction, the input/output process of data processing, multi-programming devices, etc. confusion, etc.

Inactive Publication Date: 2008-08-20
BEIJING SAMSUNG TELECOM R&D CENT +1
0 Cites 4 Cited by

AI-Extracted Technical Summary

Problems solved by technology

That is, because the handwriting pad and the keyboard board are physically overlapped, when the user presses a key, multiple handwriting interrupts/handwriting events and keyboard interrupts/keyboard events will be triggered al...
View more

Abstract

The invention provides a method for resolving hand-written keyboard input conflict and an input device using the same. The method comprises the following steps: a) when hand-written event is detected, the hand-written event is written into a temporary buffer, when the keyboard event is detected, the keyboard event treating module is invoked to treat the keyboard event, b) if the temporary buffer is full or handwriting highness or width exceeds the preset maximum value or the hand-written event is pen-rising event, it ensures that the user will write in hand so it switches handwriting painting state and ignores the following keyboard events, c) unless the temporary buffer is full or handwriting highness or width exceeds the preset maximum value or the hand-written event is pen-rising event, it dose not switch handwriting painting state and wait for the following events.

Application Domain

Input/output for user-computer interactionMultiprogramming arrangements +2

Technology Topic

HandwritingInput device

Image

  • Hand-written keyboard input collision solution method and input mechanism using the same
  • Hand-written keyboard input collision solution method and input mechanism using the same
  • Hand-written keyboard input collision solution method and input mechanism using the same

Examples

  • Experimental program(1)

Example Embodiment

[0017] Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
[0018] In the following detailed description, only specific exemplary embodiments of the present invention are simply shown and described by way of illustration. As those skilled in the art know, the described embodiments may be modified in many different ways without departing from the spirit or scope of the present invention. Therefore, the drawings and descriptions should be regarded as illustrative in nature and not restrictive.
[0019] First of all, such as figure 1 As shown, both handwriting events and keyboard events are events generated by hardware interrupts. Handwriting events are generated by the hardware interrupt of the pen tablet, including finger/pen down (also called pen down event) (pen_down), finger/pen up (also called pen up event) (pen_up), and finger/pen movement (also called pen up event) (pen_up). It can be called pen_move three events. Keyboard events are generated by the hardware interrupt of the keyboard board, including two events: key down (key_down) and key up (key_up). The following describes a method for distinguishing between handwriting events and keyboard events according to an embodiment of the present invention, such as figure 1 As shown, in step S11, the event type is detected and determined. If a handwriting event is detected in step S11, the handwriting event is written into the temporary buffer in step S12. If a keyboard event is detected in step S11, the keyboard event processing module is called to process the keyboard event in step S13. In step S14, it is determined whether a specified condition is satisfied (described in detail later), if one of the specified conditions is satisfied, the handwriting drawing state is switched in step S13, otherwise, the next event is waited for.
[0020] The specified conditions include the temporary buffer being full, the occurrence of a pen-up event, and the height or width of the handwriting exceeding a preset maximum value.
[0021] Condition 1: Temporary buffer is full
[0022] When the temporary buffer is full, it can be logically determined that the user wants to write, and any subsequent keyboard events will be ignored.
[0023] Whether the size of the temporary buffer is set properly or not directly affects the distinction between keyboard events and handwriting events, thereby affecting operating performance. If this value is set too small, it will make "handwriting too sensitive" and keyboard events will be difficult to handle; if this value is set too large, it will make "handwriting too slow", although keyboard events can be easily Processing, but if the user performs handwriting, the display of the first handwriting will be very slow. The size of the temporary buffer is a debug value, which can be debugged and modified according to different tablet parameters.
[0024] After repeated debugging, it is found that when the size of the temporary buffer is set to 8, the judgment of the user's intention is the most accurate and reasonable, and it will neither affect the display speed of the first stroke nor the processing of keyboard events.
[0025] Condition 2: The pen-raising event occurs
[0026] When a pen-up event (pen_up) occurs, it indicates that the user's first pen has been completed. At this time, it can be logically determined that the user wants to write, and any subsequent keyboard events will be ignored.
[0027] Condition 3: Handwriting height or width exceeds the preset maximum value
[0028] The handwriting moved by the user's finger is stored in the temporary buffer. With the continuous writing of new coordinates, the height and width of the handwriting rectangle are constantly changing. From a logical judgment, if the height of the rectangle exceeds the height of a key or the width of the rectangle exceeds the width of a key, it indicates that the user's finger has moved out of the range of a key, so that it can be determined that the user wants to write instead of pressing the keyboard ( Otherwise, the finger will not move out of the range of a key), and any subsequent keyboard events will be ignored.
[0029] Refer below figure 2 To describe the preset maximum handwriting height or width, figure 2 It is a schematic diagram showing a handwriting keyboard according to an embodiment of the present invention. The keyboard layout is like figure 2 As shown, assuming that the resolution of the handwriting board is 176×181 (ie: Touchpad_Width=176, Touchpad_Height=181), the width Key_Width and height Key_Height of the key can be obtained by calculation:
[0030] Key_Width=176/3=59
[0031] Key_Height=181/4=45
[0032] Therefore, the maximum handwriting height and width can be set to 45 and 59 respectively. When the width of the handwriting rectangle in the temporary buffer is greater than 59 or the height is greater than 45, and the above condition 3 is satisfied, any subsequent keyboard events will be ignored.
[0033] image 3 It is a schematic block diagram showing an input device according to an embodiment of the present invention. Refer to image 3 The input device according to the embodiment of the present invention includes: a handwriting keyboard 10, an event detection module 20, a temporary buffer 30, a control module 40, a keyboard event processing module 50, and a handwriting drawing module 60.
[0034] The handwriting keyboard 10 is composed of a handwriting board, a keyboard board and keyboard keys. The handwriting board overlaps the keyboard board, and the handwriting board is located between the keyboard board and the keyboard keys, that is, the handwriting board is located on the keyboard board and under the keyboard keys. The handwriting board is used for handwriting input, and the keyboard board is used for keyboard input.
[0035]The event detection module 20 is used to detect handwriting events and keyboard events. When a handwriting event is detected, the handwriting event is written into the temporary buffer 30. When a keyboard event is detected, a keyboard event signal is sent to the control module 40.
[0036] The temporary buffer 30 is used to store handwriting events. As described above, the size of the temporary buffer is a debugging value, which can be debugged and modified according to different handwriting tablet parameters. Whether the size of the temporary buffer is set properly or not directly affects the distinction between keyboard events and handwriting events, thereby affecting operating performance. If this value is set too small, it will make "handwriting too sensitive" and keyboard events will be difficult to handle; if this value is set too large, it will make "handwriting too slow", although keyboard events can be easily Processing, but if the user performs handwriting, the display of the first handwriting will be very slow. After repeated debugging, it is found that when the size of the temporary buffer is set to 8, the judgment of the user's intention is the most accurate and reasonable, and it will neither affect the display speed of the first stroke nor the processing of keyboard events.
[0037] When a keyboard event signal is received, the control module 40 calls the keyboard event processing module 50 to process the keyboard event. When the control module 40 determines that the temporary buffer 30 is full or the handwriting height or width exceeds the preset maximum value or the handwriting event is When the pen is raised, the handwriting drawing module 60 is called to process the handwriting event, and subsequent keyboard events are ignored.
[0038] The keyboard event processing module 50 is used for processing keyboard events, and the handwriting drawing module 60 is used for processing handwriting events.
[0039] Figure 4 It is a schematic diagram showing a portable terminal according to an embodiment of the present invention. For the sake of brevity, descriptions of functions and configurations known to those of ordinary skill in the art are omitted. Such as Figure 4 As shown, a finger-sensitive touch pad (ie, a handwriting pad) is provided in the numeric keyboard area, and the handwriting pad is located between the keyboard circuit board (not shown) and the keyboard keys, that is, the handwriting board is arranged above the keyboard circuit board and the keyboard keys. Below. When the user's finger moves in the keyboard area, the handwriting pad can sense the change in capacitance to obtain finger coordinate information. The handwriting board and the keyboard can be used at the same time, for example, the handwriting board is used for inputting text with fingers, and the keyboard is used for inputting numbers.
[0040] Although in Figure 4 Not shown in but Figure 4 The portable terminal shown also includes the above reference image 3 The event detection module 20, the temporary buffer 30, the control module 40, the keyboard event processing module 50 and the handwriting drawing module 60 are described. The structure and function of each part and reference image 3 The described structure and function are basically the same.
[0041] In the conflict resolution method and the input device using the method according to the present invention, the handwriting event and the keyboard event can be clearly distinguished, and the handwriting input and the keyboard input will not be confused. When the handwriting state is turned on, the user keys can be processed correctly, and keyboard events will not be ignored due to the alternate generation of handwriting interrupts and keyboard interrupts. Thus, the stability of operation and the reliability of the device are improved.
[0042] In the embodiments of the present invention, the term "module" as used herein refers to (but is not limited to) software or hardware components that perform specific tasks, such as a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC). The module may be configured to be on an addressable storage medium and configured to be executed on one or more processors. Modules may include components (such as software components, object-oriented software components, classification components, and task components), program code segments, drivers, firmware, microcode, and circuits.
[0043] Although the present invention has been described in conjunction with specific exemplary embodiments, it should be understood that the present invention is not limited to the disclosed embodiments. On the contrary, the present invention is intended to cover all those included in the spirit and scope of the claims and their equivalents. Kind of modification and arrangement.

PUM

no PUM

Description & Claims & Application Information

We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products