The present invention relates to a data input technique, and more particularly, to a single-stroke code input method and system that allows required data to be inputted via a input device.
In the past, computers only have English character internal codes instead of Chinese character internal codes, so users can only input English data into the computers but not Chinese. Hence, the use of computers is not common among Chinese regions. In these days, due to the invention of Chinese character internal codes, keyboards with Chinese characters thereon can be commercialized, so that computers become more and more popular in Chinese regions.
Even so, inputting Chinese is not as easy as inputting English, for which just inputting a few alphabets will form a word. Chinese words are complex in terms of their structures, and also there are characters with same form but different pronunciations or different characters with similar forms involved. For most people, it is confusing enough to write them down manually, not to mention to type them up. Hence in order to improve the convenience of Chinese typing, many people have invented various Chinese input methods, such as Tsang-Jye, columns and rows, Wu-Xia-Mi and phonetic notations to improve the inputting speed for the Chinese users.
However, in terms of popularity of the above input methods, phonetic input method is the most common one because it uses a well-known Chinese characters assembly form. Unlike other input methods, users need to learn other ways of disassembling and assembling the characters. However, apart from wide acceptance of the phonetic input method, it involves too many keystrokes, which slows down the inputting speed. In practical cases, although users are already familiar with phonetic notations of the characters, it still takes time to locate positions of the keys on the keyboard so that the inputting speed of phonetic input method cannot be vastly improved like other input methods.
Moreover, if the background lighting is insufficient in the users' working environment, the inputting speed will be slowed down even more as it takes more time to locate the key positions.
Hence, in order to improve the disadvantage of slowing down the inputting speed due to finding key positions, others have proposed a writing pad, which is similar to writing on a paper with a pen, and where characters are inputted on the writing pad. Accordingly, inputting speed can be improved but since the writing pad is an external device, it is not very portable when used with laptop computers.
Therefore, how to reduce the time spent on finding key positions and subsequently improve data inputting speed and efficiency is an urgent technical problem to be solved.
In order to solve the problems of the prior art, a primary objective of the present invention is to provide a single-stroke code input method and system, which inputs required data directly on the monitor based on a continuous route of a moving cursor on the inputting device and prevents the disadvantage of spending a lot of time to locate key positions.
Another objective of the present invention is to provide a single-stroke code input method and system, which inputs required data directly on the monitor using the inputting device of the electronic equipment without relying on any other external devices to save cost.
In order to achieve the above objectives, the present invention aims to provide a single-stroke code input method and system.
The single-stroke code input method includes: (1) the single-stroke code input system detecting activation of a control key on the inputting device, if detected, proceeds to step (2); otherwise retaining original functionality of the inputting device; (2) the input system detecting a cursor position on the monitor corresponding to the inputting device in order to specify an initial position; (3) the system specifying an operating region starting from the initial position; and (4) the system determining a notation corresponding to the code formed by tracing the continuous route of the moving cursor in the operating region.
The single-stroke code input system includes: (1) a control key detection module, which sends out a start signal when activation of a control key on the inputting device is detected; (2) a cursor position detection module, which starts to detect a cursor position on the monitor corresponding to the inputting device after receiving the start signal; (3) an operating region specifying module, which specifies a region on the monitor for user's input based on the detected cursor position; (4) a cursor route identification module, which traces a continuous route of the moving cursor within the operating region to identify a code represented by the route; and (5) a code database, which finds a notation corresponding to the identified code represented by the continuous route, and displays the notation on the monitor.
To summarize the above, when activation of the control key on the inputting device is detected, the single-stroke code method and system of the present invention sets the current position of the cursor as the initial position and specifies an operating region within which routines of continuous movement of the cursor are traced, so that a specifying code is identified and the corresponding symbol can be found accordingly. Hence the users are able to input information directly on the monitor to save time spent on finding key positions and subsequently improve efficiency of data input.
A better understanding of the present invention can be obtained when the forgoing detailed description is considered in conjunction with the following drawings, in which:
The descriptions below of specific embodiments are to illustrate the present invention. Others skilled in the art can easily understand other advantages and features of the present invention from contents disclosed in this specification. The present invention can be carried out or applied through different embodiments. Every details of this specification can be modified based on different viewpoints and applications yet still within the scope of the present invention.
In the following embodiment, the present invention is applied in a laptop computer, for which the inputting device is a mouse. In this case, a perspective of the present invention is further clarified but the scope of the present invention should not be limited by any specific viewpoints (for example, the inputting device can be a touchpad and the laptop computer can be a desktop computer).
In step S2, the input system activates the inputting mechanism and detecting the current cursor position on the monitor corresponding to the mouse, then proceeds to step S3.
In step S3, the input system sets the cursor position detected from step S2 as the initial position, and forms an operating region on the monitor based on a user's setting to allow the user to input codes, and then proceeds to step S4.
In step S4, the user inputs the required code by moving the cursor within the operating region. It is noted that these codes correspond to the Chinese phonetic notations, but some of the codes may be different to the standard Chinese phonetic notations in that each code consists of a single continuous stroke while the corresponding standard Chinese phonetic notation may consist of multiple strokes. Thus, these codes are referred to as single-stroke codes. Since these single-stroke codes may be different from the well-known standard Chinese phonetic notations, user has to learn these codes beforehand in order for the input system to recognize them. The codes can be pre-defined by the supplier. The system traces the continuous track of the cursor within the operating region, and then proceeds to step S5.
In step S5, the input system determines the corresponding code from the continuous track (stroke) made by the cursor, and then determines the corresponding phonetic notation for the determined code.
The control key detection module 21 is used to detect if the middle button of the mouse 31 is pressed down by the user, if yes, it means the user wishes to input codes, a start signal is sent, otherwise, original functionality of mouse 31 is retained till the middle button is pressed.
After the cursor position detection module 22 receives the start signal, it starts an input operation mechanism and detects the cursor position on the monitor 32 corresponding to the mouse 31.
The operating region specifying module 23 sets the detected cursor position as the initial position and specifies an operating region on the monitor in which the user can input codes.
The cursor route identification module 24 traces movement of the mouse 31 and identifies the code inputted by the user from the continuous route of the mouse 31.
The code database 25 finds a phonetic notation according to the code inputted by the user as identified above, so that the user can use the phonetic notations to form a complete character.
While the present invention has been described in details with reference to the preferred embodiment above, it should not be construed as to limit the scope of the present invention. The technology disclosed in the present invention is broadly defined in the claim below. Any methods or embodiments presented by others that are identical or equivalent to the claims below are considered as within the scope of the claims.