CN100351758C - Tibetan encoding and inputting method and keyboard therefor - Google Patents
Tibetan encoding and inputting method and keyboard therefor Download PDFInfo
- Publication number
- CN100351758C CN100351758C CNB2005100960859A CN200510096085A CN100351758C CN 100351758 C CN100351758 C CN 100351758C CN B2005100960859 A CNB2005100960859 A CN B2005100960859A CN 200510096085 A CN200510096085 A CN 200510096085A CN 100351758 C CN100351758 C CN 100351758C
- Authority
- CN
- China
- Prior art keywords
- key
- tibetan
- key correspondence
- correspondence
- keyboard
- Prior art date
- Legal status (The legal status 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 status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Input From Keyboards Or The Like (AREA)
- Document Processing Apparatus (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种文字信息计算机输入法与使用这种方法的键盘,确切讲是藏文文字的计算机输入法和专用键盘。The invention relates to a text information computer input method and a keyboard using the method, specifically a Tibetan text computer input method and a special keyboard.
背景技术Background technique
中国发明专利89100794公开一种基于DOS系统的藏文编码输入法及键盘。该专利通过将藏文字母按一定顺序排列于通用键盘上,实现了藏文输入的盲打和输入方法符合藏文书写规律的目的。但该编码法仍难以记忆,使用者学习时有一定的困难,另一方面该编码方法及专用的键盘与藏文的书写方式不和谐,因此,使用该编码方法输入时,其输入速度会受到一定的影响。此外,由于该专利是基于DOS的系统,在现阶段广泛使用的Windows系统无法使用这一系统。Chinese invention patent 89100794 discloses a kind of Tibetan coding input method and keyboard based on DOS system. By arranging Tibetan letters in a certain order on the general-purpose keyboard, this patent realizes the purpose of blind typing of Tibetan input and the input method conforms to the rules of Tibetan writing. However, this encoding method is still difficult to remember, and users have certain difficulties in learning. On the other hand, this encoding method and the special keyboard are not harmonious with the Tibetan writing method. Therefore, when using this encoding method for input, its input speed will be affected. certain influence. In addition, since this patent is based on a DOS system, the widely used Windows system at this stage cannot use this system.
发明内容Contents of the invention
本发明提供一种可克服现有技术不足的,新的藏文编码输入法,以及使用这一方法的键盘。The invention provides a new Tibetan coding input method and a keyboard using the method, which can overcome the deficiencies of the prior art.
本发明的藏文输入编码方法是采用与藏文相适应的键盘,且键盘上的数字键与藏文数字一一对应,按藏文书写顺序与规则依次输入,使用音形码输入,用藏文元音字母、分词符号、分句符号或空格作为一个单元字输入结束的标志,连续输入时自动判断字符的结束位置,键盘的各键位按如下规定定义藏文字母,The Tibetan input coding method of the present invention adopts a keyboard compatible with the Tibetan, and the number keys on the keyboard correspond to the Tibetan numerals one by one, input sequentially according to the Tibetan writing order and rules, use phonetic-graphic code input, use Tibetan Chinese vowel letters, participle symbols, sentence symbols or spaces are used as a sign of the end of a unit word input, and the end position of the character is automatically judged during continuous input. The keys of the keyboard define Tibetan letters according to the following regulations.
第一排:自左向右的三个键依次为三个上加字: The first row: the three keys from left to right are three superscripts:
第四个键至第七个键依次对应四个藏文字母: The fourth key to the seventh key correspond to four Tibetan letters in turn:
第八个键至第十个键依次为四个下加字:The eighth key to the tenth key are four subscripts:
且第一排键的各字母与其他藏族字符配合使用,而不单独使用;And the letters of the first row of keys are used in conjunction with other Tibetan characters, not alone;
第二排键中第一至第十一个键依次对应的藏文字符为:The Tibetan characters corresponding to the first to eleventh keys in the second row of keys are:
第三排键中第一至第十一个键依次对应的藏文字符为:The Tibetan characters corresponding to the first to eleventh keys in the third row of keys are:
本发明的藏文输入编码方法基于windows设计,由转换接口和用户接口组成,转换接口为接口函数,这些函数由IMM调用,用户接口接收消息,并提供用户界面。The Tibetan input coding method of the present invention is designed based on windows, and consists of a conversion interface and a user interface. The conversion interface is an interface function, these functions are called by the IMM, and the user interface receives messages and provides a user interface.
本发明的藏文输入编码方法,其特征在于藏文码表文件和IME文件合二为一,在IME文件内部定义键盘码与字符编码对应的数组。这样的实现机制,可以将码表文件和IME文件一次性装入内存,存取速度快The Tibetan input coding method of the present invention is characterized in that the Tibetan code table file and the IME file are combined into one, and the array corresponding to the keyboard code and the character code is defined inside the IME file. Such an implementation mechanism can load the code table file and IME file into the memory at one time, and the access speed is fast
本发明使用的键盘,其特征是键盘为通用键盘,其上的数字键与藏文数字一The keyboard used in the present invention is characterized in that the keyboard is a general-purpose keyboard, and the numeric keys on it are the same as the Tibetan numerals.
一对应,键盘的各字母及符号键位上按如下规定定义藏文字母:QWE三个键为三个上加字: One-to-one correspondence, each letter and symbol key on the keyboard defines Tibetan letters according to the following regulations: The three keys of QWE are three superscripts:
IOP三个键为四个下加字:The three keys of IOP are four subscripts:
RTYU四个键对应四个藏文字母: 其余各键位按如下排列:The four keys of RTYU correspond to four Tibetan letters: The remaining keys are arranged as follows:
A至双引号键对应的藏文字符依次为:The Tibetan characters corresponding to A to the double quotation mark key are as follows:
Z至右斜杠对应的藏文字符依次为:The corresponding Tibetan characters from Z to right slash are as follows:
本发明由于是采用了Windows系统,因此可以适用于现阶段广泛使用的Windows。其次,键盘根据藏文大丁字符的组合规则和辅音字母的频率来布局。部分键位还考虑藏文拉丁转写的国际代码位。这种编码布局的效率高,并能支持英语和汉语输入。本发明所用按本发明的方法给出的方案设置,其输入速度快,正常打字员230字符/分钟,是目前最快的藏文输入方法。便于初学者掌握。Because the present invention adopts the Windows system, it can be applicable to Windows widely used at the present stage. Second, the keyboard is laid out according to the combination rules of Tibetan Dading characters and the frequency of consonants. Some key bits also consider the international code bits of Tibetan Latin transliteration. This coding layout has high efficiency and can support English and Chinese input. The scheme provided by the method of the present invention provided by the present invention has a fast input speed, 230 characters per minute for a normal typist, and is the fastest Tibetan input method at present. Easy for beginners to master.
附图说明Description of drawings
附图为本发明的藏文字母编码键盘布局表。Accompanying drawing is the keyboard layout table of Tibetan letter coding of the present invention.
具体实施方式Detailed ways
藏文是拼音文字有三十个辅音字母、四个元音字母、十个数字和若干个特殊符号组成。其中:Tibetan is an alphabetic script consisting of thirty consonants, four vowels, ten numbers and several special symbols. in:
辅音字母:Consonants:
元音字母: vowel:
数字: number:
其它符号 other symbols
上加字: Add words:
下加字: Add words:
在藏文三十个辅音字母 十个字母为后加字;在十个后加字中 五个字母为前加字, 两个字母为又后加字。对大量藏文文稿的统计得知藏文辅音字母(基字符)的频度顺序为:Thirty consonants in Tibetan Ten letters are suffixes; in ten suffixes Five letters are prefixed, Two letters are added after. According to the statistics of a large number of Tibetan manuscripts, the frequency order of Tibetan consonant letters (basic characters) is as follows:
因此、在定位键盘布局时,藏文辅音字母定位是藏文键盘布局设计的核心,一定要首先考虑藏文字母频率对藏文输入速度的影响。基于这一考虑,得出如图1所示的藏文字母键盘布局表。图1所示的藏文字母键盘布局表中QWE三个键为三个上加字;IOP三个键为四个下加字;RTYU四个键对应四个藏文字母。而这一布局能较好的实现藏文字母的合理布局,从而使藏文在保证可以实现盲打的前提下,较现有技术更为快捷。Therefore, when locating the keyboard layout, the positioning of Tibetan consonant letters is the core of Tibetan keyboard layout design, and the influence of Tibetan letter frequency on Tibetan input speed must be considered first. Based on this consideration, the Tibetan alphabet keyboard layout table shown in Figure 1 is obtained. In the Tibetan alphabet keyboard layout table shown in Figure 1, the three keys of QWE are three upper characters; the three keys of IOP are four lower characters; the four keys of RTYU correspond to four Tibetan letters. And this layout can better realize the rational layout of Tibetan letters, thereby making Tibetan under the premise of ensuring that touch typing can be realized, which is faster than the prior art.
另外,本发明的藏文输入编码中用元音字母、分词符号、分句符号、空格作为一个单元字输入结束的标志,连续输入时会自动判断字符的结束位置,不用空格键结束,因此可更进一步提高藏文的输入速度。In addition, in the Tibetan input coding of the present invention, vowel letters, participle symbols, sentence symbols, and spaces are used as the sign of the end of a unit word input, and the end position of the character can be automatically judged during continuous input, and the space bar is not used to end, so it can be Further improve the input speed of Tibetan.
本发明输入法编码的实施例是基于windows远东版本设计,由两部分接口组成:转换接口和用户接口。转换接口包括一系列接口函数,这些函数由IMM调用。用户接口包括一套窗口,这些窗口接收消息,并提供用户界面。当IME启动后,键盘事件由user.exe软件接收后,user.exe在将键盘事件传到输入法管理器(Input Method Manager,简称IMM)中,管理器再将键盘事件传到IME输入法中,输入法根据用户编码字典,翻译键盘事件为对应的字符(或字符串),然后再反传到user.exe中,user.exe再将翻译后的键盘事件传给当前正运行的应用程序,从而完成字符的输入。The embodiment of the input method encoding of the present invention is designed based on the Windows Far East version, and consists of two interfaces: a conversion interface and a user interface. The conversion interface includes a series of interface functions, which are called by the IMM. The user interface consists of a set of windows that receive messages and provide the user interface. When the IME is started, the keyboard event is received by user.exe software, user.exe transmits the keyboard event to the Input Method Manager (IMM for short), and the manager then transmits the keyboard event to the IME input method , the input method translates keyboard events into corresponding characters (or strings) according to the user code dictionary, and then transmits them back to user.exe, and user.exe then transmits the translated keyboard events to the currently running application. Thus, the input of characters is completed.
本发明的处理机制是:当用户按下键盘中某个键时,系统的USER32内核得到中断并响应它,然后向系统的SHELL消息队列发送键盘消息,该消息被IMM截获,IMM处理键盘消息并选择当前活动的(ACTIVE)IME输入法,将消息发送给IME输入法。主要有BOOL WINAPI ImeProcessKey(HIMC hIMC,UINT vKey,LPARAMlKeyData,CONST LPBYTE lpbKeyState)这个函数完成。本发明中处理的事件主要包括IME的按键响应和按键结束响应,即为IME_Keydownhandler和IME_Keyuphandler,这部分在预处理之后执行,对于预处理认为可以影响到转换流程的事件进行处理。本输入法中不对按键结束事件响应,也即只要用户按下某个有效的键就有响应,不必等到按键结束。输入法键盘处理中,对于那些在预处理中认为是合法的按键并且预处理不处理的情况进行转换,主要包括对退格键、ESC键、删除键、HOME键、END键LEFT键、RIGHT键等的处理。The processing mechanism of the present invention is: when the user presses a certain key in the keyboard, the USER32 kernel of the system gets interrupted and responds to it, then sends the keyboard message to the SHELL message queue of the system, and this message is intercepted by the IMM, and the IMM processes the keyboard message and Select the currently active (ACTIVE) IME input method, and send the message to the IME input method. The main function is BOOL WINAPI ImeProcessKey (HIMC hIMC, UINT vKey, LPARAMlKeyData, CONST LPBYTE lpbKeyState). The events processed in the present invention mainly include IME key response and key end response, that is, IME_Keydownhandler and IME_Keyuphandler, which are executed after preprocessing, and the events that preprocessing thinks can affect the conversion process are processed. This input method does not respond to the key press event, that is, as long as the user presses a valid key, there will be a response without waiting for the key press to end. In input method keyboard processing, convert those keys that are considered legal in preprocessing and not processed by preprocessing, mainly including backspace key, ESC key, delete key, HOME key, END key, LEFT key, and RIGHT key And so on.
由于藏文字符只有六百多字,码表并不庞大,在本输入法的实现中,将码表文件和IME文件合二为一,在IME文件内部定义键盘码与字符编码对应的数组,如TibetInputTable数组。Since the Tibetan characters are only more than 600 characters, the code table is not huge. In the implementation of this input method, the code table file and the IME file are combined into one, and the array corresponding to the keyboard code and the character code is defined inside the IME file. Such as TibetInputTable array.
藏文输入的过程中,如果有藏文元音字母、分词符号、分句符号、空格这些字符时,可以标志藏文字符的结束。对于特殊的符号:《》、()等,因为这些字符在藏文的使用频率比较低,可以采用两种解决方式,一种可以通过汉语的输入法来进行输入。In the process of Tibetan input, if there are characters such as Tibetan vowel letters, participles, sentence symbols, and spaces, it can mark the end of Tibetan characters. For special symbols: "", (), etc., because these characters are used less frequently in Tibetan, two solutions can be used, one can be input through Chinese input methods.
以下是一组藏文文字的输入举例:The following is an example of inputting a set of Tibetan characters:
藏文输入键盘对应表:Tibetan input keyboard correspondence table:
;s coy ly gwyh doO,ts ky;s coy ly gwyh doO, ts ky
fug,ts dir xuag h-f v ec;hMa ‘t h cus ecya mtg hi h hmudg gy Jfug, ts dir xuag h-f v ec; hMa 't h cus ecya mtg hi h hmudg gy J
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100960859A CN100351758C (en) | 2005-09-21 | 2005-09-21 | Tibetan encoding and inputting method and keyboard therefor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100960859A CN100351758C (en) | 2005-09-21 | 2005-09-21 | Tibetan encoding and inputting method and keyboard therefor |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1770072A CN1770072A (en) | 2006-05-10 |
CN100351758C true CN100351758C (en) | 2007-11-28 |
Family
ID=36751401
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005100960859A Expired - Fee Related CN100351758C (en) | 2005-09-21 | 2005-09-21 | Tibetan encoding and inputting method and keyboard therefor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100351758C (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101216739B (en) * | 2008-01-10 | 2010-12-08 | 昆明流湄科技有限公司 | Laotian computer input method |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101488125B (en) * | 2008-12-04 | 2015-03-25 | 洛藏 | Tibetan language encoding method and terminal |
CN101751140B (en) * | 2008-12-22 | 2011-08-10 | 青海师范大学 | Input method leading modern Tibetan scripts to correspond to fingerboard key maps one by one |
CN104156078B (en) * | 2014-08-28 | 2017-06-16 | 扎西松宝 | A kind of Tibetan input method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1045308A (en) * | 1989-03-03 | 1990-09-12 | 航天工业部第七一○研究所 | Coding method for input os Tibetan language and keyboard thereof |
CN1230714A (en) * | 1998-03-31 | 1999-10-06 | 魏盛涛 | Tibetan language computer input method and keyboard |
CN1403901A (en) * | 2002-09-28 | 2003-03-19 | 四川火狐电子有限公司 | Tibeten character form input method and keyboard |
-
2005
- 2005-09-21 CN CNB2005100960859A patent/CN100351758C/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1045308A (en) * | 1989-03-03 | 1990-09-12 | 航天工业部第七一○研究所 | Coding method for input os Tibetan language and keyboard thereof |
CN1230714A (en) * | 1998-03-31 | 1999-10-06 | 魏盛涛 | Tibetan language computer input method and keyboard |
CN1403901A (en) * | 2002-09-28 | 2003-03-19 | 四川火狐电子有限公司 | Tibeten character form input method and keyboard |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101216739B (en) * | 2008-01-10 | 2010-12-08 | 昆明流湄科技有限公司 | Laotian computer input method |
Also Published As
Publication number | Publication date |
---|---|
CN1770072A (en) | 2006-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100351758C (en) | Tibetan encoding and inputting method and keyboard therefor | |
CN1262473A (en) | Chinese-caracter input method by phonetic letters with numeral key pad | |
CN103376910A (en) | Coincident-code-free Shuangpin input method | |
CN1834870A (en) | Japanese character inputting method and system thereof | |
CN100476826C (en) | Chinese font sorting and searching method and device and information system | |
CN1136496C (en) | Simplified spelling-touching screen mouse chinese character input method | |
CN1834869A (en) | Simple Chinese character phonetic inputting keypad and method thereof | |
CN1054219C (en) | Substitution type Chinese phonetic character, word input coding method and keyboard thereof | |
CN101788853A (en) | Method for inputting Chinese phonetic alphabet through simultaneous stroking of a plurality of fingers based on symmetric virtual key mapping of computer standard keyboard | |
CN1111373A (en) | Computer Chinese input scheme based on the Chinese Phonetic Alphabet | |
CN1173250C (en) | A computer input method using smart code | |
CN1162767C (en) | Square round classify pictographic code | |
CN1349157A (en) | Digital configuration code Chinese character input method | |
CN1439954A (en) | Twin spelling and double shape Chinese character input method by numerical keys | |
CN1256649C (en) | Chinese whole sentence input method based on key selection double spelling and its keyboard arrangement | |
CN1612095A (en) | Double phonetic alphabet input method | |
CN1025540C (en) | Keyboard scheme for Chinese character phonetic coding computer input | |
CN101078953A (en) | Number code upgraded Chinese character input method | |
CN1245678C (en) | Chinese character input method using phoneticizing and complement code | |
CN2821684Y (en) | Computer keyboard | |
CN1156277A (en) | Chinese character input method of computer | |
CN1248014A (en) | Computer Chinese character input method and its keyboard according to the first and last codes of parts | |
CN101059722A (en) | Multiple key combined striking type English brevity code spell Chinese character input method and key board | |
CN1189810C (en) | Chinese-character diagonal code input method and keyboard | |
CN1549099A (en) | Simplified spellnig simplified stroke Chinese characters inputting method and keyboard |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20071128 Termination date: 20140921 |
|
EXPY | Termination of patent right or utility model |