Method and keyboard for input of characters via use of specified shapes and patterns5307267Abstract A method of inputting characters and symbols on pattern element basis and a keyboard with over ten keys by means of which the characters and symbols are inputted. This input method and its keyboard can be used to input ASCII characters, Greek characters, Arabic characters, Japanese characters, Chinese characters as well as any other characters or symbols whose structure can be expressed as a combination of pattern elements, without changing the marks tagged on the key faces. It provides an easy to use, simple, general purpose and light in weight, small in size input device for computer, telephone, game machine or any digital system where a keyboard input is necessary. Claims I claim: Description FIELD OF THE INVENTION
______________________________________
Letters A B C D E F G H I J
______________________________________
Designated forms
Representative
pattern elements
.quadrature.
.quadrature.
Combination mode
______________________________________
Letters K L M N O P Q R S T
______________________________________
Designated forms
Representative
.quadrature.
.quadrature.
.quadrature.
.quadrature.
pattern elements
Combination mode
______________________________________
Letters U V W X Y Z
______________________________________
Designated forms
Representative
pattern elements
Combination mode
______________________________________
Numerals 0 1 2 3 4 5 6 7 8 9
______________________________________
Designated forms
.quadrature.
.vertline.
Representative
.quadrature.
.vertline.
pattern elements
Combination mode
______________________________________
Operators + - / > < = %
______________________________________
Designated forms
+ - / > < =
Representative
-- -- .quadrature.
pattern elements
--
Combination mode
______________________________________
Punctuation marks
. , : ; " ! ? ' [ ]
Designated forms
. , : ; " ! '
Representative
. , . . , .vertline.
pattern elements '
Combination mode
______________________________________
Punctuation marks
( ) { }
Designated forms
< >
Representative
< > --
pattern elements --
Combination mode
______________________________________
Special symbols
.about.
@ $ & #
Designated forms
Representative
.quadrature.
.quadrature.
.quadrature.
pattern elements
< .quadrature.
Combination mode
______________________________________
The shape and structure of Chinese characters are very complicated, but they can be summed up to be composed of five strokes, namely, horizontal stroke "--", vertical stroke ".vertline.", left-falling stroke "/", right-falling stroke " " and turning stroke " ". We use 1, 2, 3, 4, 5 to represent them respectively. With these five strokes, and by typing in the code of the strokes in the normal order of writing, Chinese characters can be inputted. The method of "5 keys for 5 strokes" works in the following way. The 21 pattern elements of the invention includes not only the five strokes, but some combination of them as well. For example, the pattern element " " is the combination of the three strokes .vertline. --. Therefore, Chinese characters are decomposed by the method of "line taking out" into an ordered set of the 21 pattern elements, and we can input the corresponding pattern elements in normal writing order. In this way, the input of Chinese characters is done. We call this "Method of inputting Chinese characters on pattern elements basis". For example, the character " " is decomposed into six strokes, .vertline. -- .vertline. -- but it can also can be decomposed into three pattern elements -- .quadrature.. The code length of the latter is only a half of that of the former, the speed of input is higher and the rate of duplication code is lower. It is very troublesome to input complicated Chinese characters even by the pattern elements based method. In order to increase the speed for inputting Chinese characters, the frequently used combination of strokes of Chinese characters can be defined as a Chinese letter, each letter being composed of two pattern elements. On the keyboard of pattern elements, one letter is keyed in each time and the letter can be taken as an independent code unit for Chinese characters code. According to the normal order of writing for Chinese characters and in observance of the rule of first upper then lower, first left then right and first outer then inner, the Chinese character can be decomposed into an ordered set of letters and pattern elements, the various letters and pattern elements are then typed in sequentially and the input of Chinese characters is done. This can be called letter based input method for Chinese characters. After analyzing, abstracting and classifying the various combinations of Chinese character strokes, we obtain the following 56 letters for Chinese characters: ##SPC2## They are as simple as the English alphabet. Because they are symmetrical in structure, the rules are simple and clear and easy to remember. A letter or a pattern element can represent several combinations of strokes which are similar to each other in shape. Their correspondence relationship is as follows: ##SPC3## For Chinese characters with simple and clear structure, direct decomposition is appropriate. For example, ##SPC4## For Chinese characters with intercrossed structure, it is relatively simple to decompose them by the method of "line taking out". For example, ##SPC5## For Chinese characters with similar shapes and structures it is appropriate to decompose them by the method of "line breaking" and in observance of the rule of "taking the bigger". For example, ##SPC6## For Chinese characters with complicated structure, the method of "mixed cut" should be used, for example, ##SPC7## An assembly of strokes which is more complicated than the letter is called a character root such as " " etc. In order to further increase the speed for inputting Chinese characters, frequently used character roots need not be decomposed. Instead, a character root can be represented by several of its pattern elements that can best describe its structure. A character root can be inputted by typing in all the representative pattern elements of the character root simultaneously. These character roots hence are regarded as the independent code unit of the Chinese character input codes. For briefness of description, the term "character root" refers only to the 32 assemblies of strokes. In accordance with the normal writing order of the Chinese character or its structural sequence, each Chinese character is to be decomposed into an ordered set of a series of character roots, letters and pattern elements, and these character roots, letters and pattern elements are typed in successively to input Chinese characters. This can be called character root based input method for Chinese characters. According to the frequency of use, 32 assemblies of strokes are selected as indecomposable independent character roots. Their representative pattern elements are shown as follows: ##SPC8## For easiness of remembering, these 32 character roots can be divided into 8 categories. The character roots in these categories relate to 8 different aspects of our daily life and real world (according to their meaning in Chinese) respectively. The 8 aspects are human beings, organs, utensils, animals, materials, earth, nature and status. ##SPC9## Assemblies of strokes with similar shape and structure can be merged, for example, " " can be merged with " ", " ", " " can be merged with " ". By taking advantage of character roots, we can greatly shorten the code length for Chinese characters, for example: ##SPC10## As the structure of some Chinese characters is simple while that of others is complicated, the code length for individual Chinese character is thus variable. If the computer is intended to be able to distinguish the two Chinese character codes consecutively inputted, it is necessary to key in a "space" character after one Chinese character code is inputted. According to the statistics disclosed in the "Dictionary of Chinese characters Information" compiled by the research group of Chinese Character Coding, Shanghai Jiao Tong University, every Chinese character can be constructed out of 623 parts of different shape and structure. Each Chinese character is a planar combination of these parts. The number of parts each Chinese character comprises and the combination pattern of the parts are different from character to character. If the planar combination of the parts can be transformed accurately to a linear combination of a series of numeral codes, the uniqueness for input of Chinese characters can be achieved. For this sake, the codes of the various parts must be different and the relative positions of the parts must be completely expressed by codes. The relative positions of the parts might be correctly expressed by means of brackets "( )", horizontal combination symbol " " and enclosure symbol " " (the combination of ".quadrature." and ".") For example, the character " " is composed of 4 parts. According to the order of first upper then lower, first left then right, and first outer then inner, this character can be expressed by the following linear expression: ##SPC11## Similarly, the expression for " " is .quadrature. ( ) and the expression for " " is: ( ). If the codes for these symbols are typed in according to the expression, the uniqueness of Chinese character input will be ensured. From this string of codes, a computer can make out the corresponding Chinese character out of the 623 parts. All the 21 pattern elements, 56 letters and 32 character roots are called Chinese character parts. They all have different codes--altogether 109 independent code units. These parts are called independent parts. They are about one sixth of all Chinese character parts. All other non-independent parts can be decomposed into the combinations of character roots, letters and pattern elements. For example, the part " " can be decomposed into " -- ";" " can be decomposed into " .+-.", and " " can be decomposed into .vertline.. This is actually the way to code 514 non-independent parts with the 109 code units. Duplication of Code can be eliminated when two code units are used to represent one part. If pattern element "," is used to represent the bracket, 21 pattern elements can carry out the unique input of Chinese characters. For most Chinese characters, omission of bracket, " " symbol and enclosure symbol " " will not cause duplication code. There are exceptions for a very few characters. For example, for the characters " " and " ", the code of symbol " " can not be omitted. Likewise, for the characters " " and " ", the symbol " " can not be omitted. Since these exceptional cases are very few and considering that the omission can increase input speed. We suggest to use the omissions as often as possible. There are 6,763 frequently used Chinese characters. Each character is composed of 3 parts on average. The number of combination of the three parts is approximately 4.times.10.sup.7. These frequently used Chinese characters are only two ten-thousandth of the different combinations of the three parts. Redundancy of input code for Chinese characters is great. The input codes can be further compressed. For example, for Chinese characters that have long code lengths, the input can be restricted to at most 3 to 4 codes, adopting a method of one, two, three, final or primary, secondary, final to fetch the code, and to omit some of the codes in between. In so doing, the duplication codes might be increased. But an operator skilled in the art can remember the characters with duplication code and will add input code correspondingly for the character with duplication codes. For most frequently used characters, decomposition is unnecessary. They may be represented by pattern elements that can describe best their structure characteristic; the representative pattern elements can be typed in simultaneously to realize the high speed input of Chinese characters. For example, ##SPC12## Their codes are different from the codes of all the letters and character roots. They can be distinguished without the use of "space" character. Therefore it is possible to key in a character simultaneously. There are four categories of structures of the Chinese characters: 1. Mono-structure For example, 2. Left and right structure For example, 3. Upper and lower structure For example, 4. Inner and outer structure For example, All the letters and character roots are considered to be mono-structure. structure. The procedure of inputting Chinese characters by the character roots method is shown in FIG. 7. As illustrated in FIG. 7, the whole procedure is divided into 4 parts. The first part: Character analysis -- If the character is a frequently used one, then enter 4: fetch its code and the procedure is over. Otherwise, goto 2 for further processing. The second part: Structure analysis -- through the analysis 2, 5, 6, the category of structure of the character is to be determined, and then which part of the character is to be decomposed is determined. After this, the part resulted from the decomposition is to go through a further analysis to see whether it can be further decomposed until the part that has been decomposed is of a mono-structure. The third part: Part fetching -- through three analysis 3, 7, 8 to determine what kind of code (pattern element, letter, character root) is to be fetched for the mono-structure. If the code can not he fetched directly, then the mono-structure will go through a further decomposition. The fourth part: Decomposing the mono-structure -- through two analysis 9, 10, we can decide which method should be used to decompose the mono-structure. After the decomposition, one of the resulted parts is to be taken to part fetching process. After the code is fetched the remaining part will be sent to analysis 2 for structural analysing. If the part is a mono-structure, then it should be sent to 3 for fetching code analysis. This process will go on until the mono-structure is completely decomposed. The following examples illustrate the process: " " -- (1) frequently used character? no -- (2) mono-structure? yes -- (3) pattern element? yes -- (4) fetch its code. " " -- (1) frequently used character? no -- (2) mono-structure? yes -- (3) pattern element? no -- (7) letter? no -- (8) character root? no -- (9) Take out line? no -- (10) breaking line? yes -- (12) fetch the upper " " (3) pattern element? no -- (8) character roots? yes -- (4) fetch the code of " " -- (2) the remaining " " is mono-structure? yes -- (3) pattern element? no -- (7) letter? no -- (8) character root? yes -- (4) fetch the code of " ". " " -- (1) frequently used character? no -- (2) mono-structure? no -- (5) left and right structure? yes -- (13) fetch the left part " " -- (2) mono-structure? no -- (5) left and right structure? no -- (6) upper and lower structure? yes -- (4) fetch the upper part " " -- (2) mono-structure? yes -- (3) pattern element? no -- (7) letter? no -- (8) character root? yes -- (4) fetch the code of " " -- (2) the remaining " " on the left is a mono-structure? yes -- (3) " " is a pattern element? yes -- (4) fetch the code of " " -- (2) " " on the right is a mono-structure? yes -- (3) pattern element? no -- (7) letter? yes -- (4) fetch the code of " ". The whole decomposition procedure looks very complicated, but actually there are only eight kinds of structures for frequently used Chinese characters: ##STR1## Decomposition and code fetching should observe the order illustrated above. ##SPC13## After practicing it repeatedly and becoming experienced and skilled, one can readily decompose the character " " into " " " ". Input and decomposition can be done simultaneously. This is just like the learning process when a man is writing. He never considers, at the time he begins the first stroke, where the next stroke will begin, in what direction and how long it will be, etc. Once a habit is formed, every action becomes natural. If the letter based input method is used to input Chinese character, the decomposition procedure is just the same as that of the character root based input method, only that it is not necessary to judge whether a part is a character root. When pattern element based input method is used, it is not necessary to judge whether a part is a letter or a character root. As the phonetic letters of Chinese characters are expressed by English alphabets, naturally, they can be directly entered by means of a pattern elements keyboard. But the current phonetic letter based inputting methods for Chinese characters are all designed for use on English keyboards, which does not make full use of the advantages of Chinese language and the speed of keying in is too low. For example, the phonetic letters for the character " " is "guang". As it ends in "g", a consonant, the demarcation between the characters is not clear and definite, a space character is needed for a demarcation line. Altogether we need six key-strikings to input the character " ". The Chinese vowels are constructed out of the following 8 letters (or string) a, o, e, i, u, u, n, ng. If each of the 8 letters (or string) is represented by a pattern element, all the vowels can be expressed by the pattern elements as shown below:
__________________________________________________________________________
Vowels a o c i u o n ng
Pattern element
.quadrature.
.vertline.
--
Vowels ai ei ao ou an cn ang cng ong
Pattern elements
.vertline.
.vertline.
.quadrature.
.quadrature.
.quadrature.
Vowels ia ic iao iou ian in iang
ing iong
Pattern elements
.vertline./
.vertline.
.vertline./ .quadrature.
.vertline..quadrature.
.vertline./
.vertline.
.vertline./
.vertline.
.vertline..quadrature.
Vowels ua uo uai uci uan ucn uang
ucng
Pattern elements
/ .quadrature.
/ .vertline.
.vertline.
/ /
Vowels uc uan un
Pattern elements
-- --/ --
__________________________________________________________________________
Among them, the pattern elements for "ai" and "ia", "ei" and "ie", "ou" and "uo" are the same, but the sequence is different. In order to facilitate the input of one vowel at one strike of the keys, the sequence information must be cast away. This will cause duplicate codes. In order to eliminate duplication codes, after the three vowels "ia", "ie", "uo", a pattern element " " is added. Their last letters all comprise an enclosed pattern " ". It is easy to remember. Thus it can be seen that the representative pattern elements of all the vowels will not exceed three. It is possible to press down three pattern element keys simultaneously to input one vowel at one strike of the keys. Since every Chinese character has only one vowel and the vowel always appears at the end of the phonetic letters, the demarcation between words is very clear so that no space character is needed. Therefore it needs only two key strikes to input the character " ". The number of key-striking is reduced by two-thirds and the speed of input doubles. If Chinese characters are inputted by employing words and expressions, it is only necessary to add a space character at the end of the words or expressions. As the code lengths of words and expressions are comparatively longer, the duplication codes rates will be substantially reduced. This will give full play to the information richness of Chinese characters and makes it possible to input Chinese characters faster than the input of English words. To input a consonant with only one key-striking, three symbols " " are used to represent the three consonants "zh, ch, sh", and the capital letter T is used to represent the consonant "t". The following results are obtained by means of the decomposition method of "line dissecting":
__________________________________________________________________________
Consonants
b p m f d T n L
Pattern elements
.quadrature.
.quadrature.
.quadrature.
Consonants
g k h j q x
Pattern elements
.quadrature.
.vertline.<
.quadrature.
Consonants
z c s r (zh)
(ch)
(sh)
)
Pattern elements
__________________________________________________________________________
The total number of vowels and consonants of the Chinese characters is 56. The combination of their representative pattern elements are all different from each other. There is no duplication code. It is possible to input a vowel or a consonant at one time. Five pattern elements "-- / .vertline. ." are used to represent respectively the five tones namely, level tone, falling-rising tone, falling tone, entering tone and light tone. The tone symbol will be inputted following each vowel. Notice that the pattern elements for the four tone symbols are identical to the representative pattern elements of the vowel symbols "u, a, ng, i". But if it is guaranteed that tone symbol must be inputted for every character, then no confusion will be caused and this can further reduce the duplication code rate. Most currently used coding methods for inputting Chinese characters, such as intonation coding method, structure coding method, intonation and structure coding method, structure and intonation coding method and five-stroke coding method are designed for use on a English keyboard, and in most cases, one letter or numeral is used to represent a vowel, a consonant or several Chinese character parts. Since the keyboard of the invention can be used to input all letters and numerals intuitively, all these currently used inputting methods can be adopted with the keyboard of the invention as their corresponding hardware. The keyboard can also be used to input French, Russian, Arabic, Japanese and Korean characters. If only 21 pattern elements are tagged on a conventional English keyboard and the keyboard management program is revised, the characters can be inputted with the pattern element based input method of the present invention. The pattern elements themselves are a number of simple structured graphical structures. The complicated structures can be decomposed into a combination of simpler structures. Therefore, the present invention can also be applied to input some graphical symbols. For example, the symbol for capacitor " " consists of two parts ".sup..perp. " and " ". ".sup..perp. " can be decomposed into " " and " ", and " " can be decomposed into " " and " ". First inputting " " and then inputting " ", the symbol " " is inputted. Symbol ".fwdarw." can be decomposed into "-- ". Symbol " " can be decomposed into " ". Symbol " " can be decomposed into " --". Complicated structures can be represented by some of their characteristics pattern elements, only if there is no duplication code in the set to which the structure belongs. To input a symbol, we only need to type in its corresponding pattern elements. Through decomposition and simplification, the symbols frequently used in electronic schematic diagrams are coded as a series of pattern elements. The correspondence relationship between these symbols and pattern elements is illustrated as follows: ##SPC14## Other structures, such as block diagram, flow diagram can also be inputting in a similar way. ADVANTAGES OF THE INVENTION Compared with the conventional computer keyboard and other currently used methods, the pattern element based input method and the corresponding keyboard have the following advantages: 1. The keyboard has fewer keys and is easy to use and remember. The positions of the 13 pattern element keys on the keyboard is easy to remember, easy for one-handed typing, easy to locate, suitable for typing without looking at the keyboard, and suitable for pocket-size computer. The keyboard and the method can also be applied to electronic recording card, game machine, telephone apparatus, it is also convenient for remote-controlled operation. 2. The keyboard can be used for inputting characters of several different languages without altering the symbols tagged on the keys. 3. It has flexibility of combination, suitable for the requirement in the development of computer. Combined keystriking is one of the special features of the invention. If 13 pattern element keys are used, there will be more than 8000 combinations. This is sufficient to meet the requirement of future development of computers. Some combination of the pattern elements can be used to construct characters (such as etc., They can be used as command symbols. It is simple and easy to remember. 4. The Method is suitable for inputting graphical symbols, the pattern elements in elementary pattern set can be used to construct more complicated graphical symbols. So some commonly used regular graphical symbols can be coded and inputted intuitively. But on a conventional keyboard, it is very difficult to achieve. 5. The design provides a systematic, complete, easy to learn and easy to use method for the input of Chinese character and the corresponding keyboard is flexible, light weight and small sized. Compared with other currently used Chinese character input methods, the present invention has the following advantages: (1) The patterns and letters are regularly structured and so easy to remember. There are too many parts of Chinese characters their structures are complicated and not easy to remember. The 21 pattern elements and 56 letters according to the invention are very simple, regular, symmetrical and easy to remember. 32 letters relate to eight aspects of our daily life. So it is not very hard to remember them through association. (2) The method can be used to code characters more accurately and comprehensively. There are 110 independent code units (including the symbol of the invention. The form and structure characteristics of Chinese characters can be coded accurately and comprehensively. It can not only input Chinese characters without duplication codes, but can also be used to construct new Chinese characters. The currently used method based on combination of character parts uses one letter to represent several Chinese character parts. The information about the difference among the structure of these parts is lost. So the duplication code rate is bound to be high. (3) The method is easy to learn and the users can make progress in a step by step manner. The invention includes the following methods: pattern element based input method, letter based input method and character root based input method, users can learn these methods from the simple ones to the sophisticated ones. The sophisticated method is based on the simpler ones and the methods are closely related to each other. All users, beginners or professionals on different levels will find the most suitable method for themselves. (4) The combination is flexible and efficient--There are 13 pattern element keys on the keyboard. For one-handed operation, at most five keys can be struck simultaneously. The number of combinations of the five keys is 2379. Now, only 114 of them have been used and the rest, over two thousand of them, remain undefined. Therefore, there is plenty of room for defining codes for more character parts and characters. These undefined combinations make it possible for future expansion of character set or character part set, thus provide a good foundation for fast Chinese character input. (5) The method is suitable for both phonetic coding system as well as structure coding system. With this method, both the structure code and phonetic code of Chinese character can be inputted. If a single code is assigned for each consonant, compound vowels and intonation, it is possible to input Chinese characters quickly by phonetic coding method. (6) A new gesture language can be developed--when the position of pattern elements is fixed, each character corresponds to a definite gesture (the hand gesture for striking the keys to input the character). This gesture language can he used to exchange information in some cases. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 shows the arrangements of the basic pattern element keyboard. FIG. 2 shows the arrangement of the basic pattern element keyboard with its rows of keys shifted to each other. FIG. 3 shows the arrangement of keyboard designed for IBM-PC computer. FIG. 4 is the outside view of the keyboard for IBM-PC computer. FIG. 5 is a schematic circuit diagram of keyboard for IBM-PC computer. FIG. 6 shows the arrangement of keyboard for two-hand typing on an IBM-PC computer. FIG. 7 is a program flow chart of decomposition process and code fetching of Chinese characters. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Practical examples of the present invention will be described with reference to the corresponding illustrations as follows: FIG. 1 shows the layout of pattern element keyboard of the present invention, the keys are carefully arranged so that the symbols on the keys are symmetrically located which makes the locating of keys very easy. FIG. 2 shows, on the basis of FIG. 1, that each row of keys is shifted for half of the key-width to the right, and the "angle key" is placed on the leftmost position of the bottom row. This arrangement is helpful to the operation of pressing down simultaneously two adjacent keys in adjacent rows, and is convenient for one-handed operation. FIG. 3 shows the arrangement of keyboard for IBM-PC computer. It has only 16 keys, yet has the complete functions of the original keyboard (83 keys), and can be connected directly to a PC computer for operation. Besides the above-mentioned 13 keys, there are 3 additional keys added to the keyboard, i.e., one "edit" selection key, one "function" selection key and one "command" selection key. And to each pattern element key there has been added 3 additional symbols, namely, one edit symbol, one function symbol and one command symbol. When the "edit" selection key is pressed down simultaneously with a pattern element key, the keyboard will output a corresponding edit code. When the "function" selection key is pressed down simultaneously with a pattern element key, the keyboard will output a corresponding function (F0-F9) code. When the "command" selection key is pressed down simultaneously with a pattern element key the keyboard will output a corresponding command code. Each selection key has three functions: "angle selection" key also has the function of "clear" "addition calculation"; "edit" selection key also has the function of "shift" and equal-sign; "function" selection key also has the function of "ctrl" and multiplication calculation; and "command" selection key also has the function of "Alt" and division calculation. When the key of "clear" is pressed, the last inputted pattern element is cleared. It is useful to correct mistyping. Pressing the "shift" key, followed by typing a character, the keyboard will output a shift code followed by the character code. If the keyboard is in a "capital letter" state, it will output small letter code, and vice versa. Pressing the "Ctrl" key, followed by typing a character, the keyboard will output a "Ctrl" code followed by the character code. Pressing the "Alt" key, followed by typing a character, the keyboard will output a "Alt" code followed by the character code. If "Calcu" command is inputted, the keyboard will be returned to "calculator" state. In this state, combined key striking is unnecessary. Each key corresponds to an operator or a numeral; the function keys are used as numeral keys (for example, F1-F9 represent numeral 1-9) pattern element "-" represents a minus sign, and pattern element "." represents a decimal point. "Second" command makes the keyboard produce a big sound after a character is inputted. Symhol " " represents return, and symbol " .quadrature." functions as a Backspace key. FIG. 4 is the outside view of the keyboard for IBM-PC computer, 16 keys arranged in a 4.times.4 array, and the keyboard is connected to the computer by a five-pin cable. The five-pin plug can be inserted in the keyboard interface socket on IBM-PC computer. This keyboard has all the functions of an IBM-PC computer keyboard (83 keys) and can be used as a substitute of the original keyboard. FIG. 5 is a schematic circuit diagram of the keyboard. The most important part of the circuit is a single-chip micro processor (8749) and the function of interface 1 is keyboard scanning. The four most significant bits of interface 1 successively and cyclically output three "1" signals and one "0" signal. The four least significant bits of interface 1 read in the state of 16 keys. "0" will be read when a key is pressed and when released, "1" will be read. The state of the 16 keys can be represented by 16 binary bits. The number of 0's is the number of keys pressed down. The positions of "0" expresses the positions of the keys being pressed. The monitor program of the micro processor will convert the key state codes into IBM-PC key position code and then send it to interface 2 as serial code. The output of P21 is serial key position code; the output of P20 is synchronous clock signal. In order to enhance the driving capability, both of them are outputted by driver 7404. T1 is connected to the clock host machine. When the host machine requests the keyboard type the micro processor in the keyboard reads in the state of T1 and sends the keyboard information to the host. FIG. 6 shows the keyboard for two-handed operation on IBM-PC computer. It has 27 keys. " " key is designed as a bar, suitable for combined key-striking. To strike the keys with both hands can increase the speed of typing, especially when the typing is performed on desk top. The Greek alphabets can be regarded as an independent character set. It is difficult to distinguish the Greek characters ".DELTA." and "0". To avoid being decomposed into identical code, ".DELTA." should be decomposed into " " and "--" instead of ".DELTA.", thus duplication code of ".DELTA." and "0" can be avoided. ".PHI." and ".PSI." can be decomposed by the method of "line taking out" and the other characters can be decomposed by the method of "line dissecting". The results obtained are as follows:
______________________________________
A .quadrature. B .quadrature.
.GAMMA. .DELTA.
--
E Z
H .THETA.
.quadrature.
I K .vertline.
.LAMBDA. M
N .XI.
O .quadrature. II
P .quadrature. .SIGMA.
T r
.PHI. .quadrature. .vertline.
X
.PSI. .vertline. .OMEGA.
.quadrature. --
______________________________________
The Japanese Katakana, after removing the hook stroke and transforming all angles to right angles, can be easily decomposed into pattern element strings as follows: ##SPC15## Among them, " " and " " are duplication codes (they are decomposed into the same pattern string). If we define that the pattern string of " " ended with a " " and " " without " ", the problem will be solved. Letters " " and " " are difficult to distinguish. In order to eliminate duplication code, " " is used to substitute ".", therefore its code is "./ ". Arabic letters can also be decomposed into pattern elements. To facilitate decomposition, they will first undergo a transformation process, that is, replace the curved line with straight line segments, but reserve its structure characteristics. For example, the letter " " can be transformed to " ", and then it is easy to decompose it. The results of decomposition are shown as follows: ##SPC16## ". " represents ".."; ", " represents ",,". On the right side of each letter, there is the corresponding pattern string code. During the process of input and code fetching. Some of the pattern elements can be ignored if only this will not cause duplication codes. When we use the character root based input method, in accordance with the rule of "taking the bigger", we should first fetch the character roots, then the letters and finally the pattern elements, and arrange them according to the rule of first upper then lower, first left then right and first outer then inner. For example, the character " " can be decomposed into three character roots " .+-..+-." and two letters " ". According to the order of decomposition, they should be coded as " .+-. .+-.". " " can be decomposed into character root ".+-.", letters " " and pattern elements ".quadrature. ". The outer hollow square .quadrature. should be represented by " ". According to the order of decomposition the character " " should be coded as " .+-..quadrature. ". If the code length of each character is restricted to only four, we should select the first, second, third and last component in the code a string of components. So the code for " " will be " .+-. .+-." and the code for " " will be " .+-..quadrature. ". When Chinese characters are inputted by letter, based input method, the codes for the character " " should be " +-- +--", and the codes for " " should be " +--.quadrature. ". If the code length is restricted to only five, we should select the first, second, third, fourth and the last component out. So the code for " " of the full code, will be " +-- " and the code for " " will be " +--.quadrature. ". When Chinese characters are inputted by pattern element based input method, each Chinese character should be decomposed into pattern elements according to the normal writing order of the character. The code for " " should be ".quadrature.--.vertline.-- -- . --.vertline.--.vertline.--" and the code for " " should be ".quadrature.-- .vertline. -- /.vertline./ ". If the code length is restricted to only six, we should select the first, second, third, fourth, fifth and last component out of the complete code thus, the code for " " will be " -- .vertline. -- --" and the code for " " will be ".quadrature.-- .vertline. -- ". Since there is correspondence relations between strokes (and their combinations) and pattern elements and character letters, we can input characters on a pattern element keyboard. In practice, it is not so complicated as described above. If character root based input method is used, the characters will be decomposed according to its structure and the decomposition process should observe the normal writing order of Chinese characters. Meanwhile the input can be carried out by striking the relevant keys. For example: ##SPC17## The decomposition process for these characters by the character root based input method is shown as follows: ##SPC18## If the letter based input method is to be used, the above character roots should be further decomposed. If the pattern element based input method is to be used, then the character root and the character letter should be further decomposed into pattern elements. It should be understood that the embodiments of the invention are only illustrative. They do not imply any restriction on the invention. The essential concepts and characteristics of the present invention are stated in the claims as follows.
|
Same subclass Same class Consider this |
||||||||||
