591426 五、發明說明(1) 發明背畺 枝術範園 本發明有關一種中文字元編碼及輸入方法,尤其有關 一種適用於電子設備一包括個人電腦,尤其是因體積漸小 而使按鈕(按鍵)數目受到限制的各種行動電話…的中文字 元編碼及輸入方法。 皆景枝術 一般皆知中文字元爲一種象形文字,且屬一種形態與 · 書寫筆劃幾乎無限制的字元。尤其是中文字元的書寫筆劃 數,它與字元系統相當簡單與明確的韓文、或是與日文、 英文、法文與德文都不同。由於此種基於發源地的限制, 所以要將中文字元數字化以應用在電子裝置中,是一項極 ' 難的主題。 在傳統電腦鍵盤的中文字元輸入方法,一般皆知主要 是分成一種發音法與一種分類法。其中,發音法利用諸如 、 英文、韓文與曰文等的發音符號,先輸入所要的中文字元 之發音,然後顯示與此發音對應的一組中文字元,再從顯 示的中文字元組點取所要的中文字元,然後輸入此字元。 分類法中,依每一中文字元之字形特徵或一中文字元之字 根,預先對每一中文字元指定一分類號碼,再參照含有分 __ 類號碼說明的手冊輸入分類號碼,於是輸入所要的中文字 元。 · 在中國、台灣或在韓國、日本等屬於中交字元的文化 · 區域中,發音法廣泛用於一種利用英語或母語的中文字元 1BI ~~~ 第6頁 591426 五、發明說明(2) 發音輸入系統。然而,由於使用者即使確實知道所要輸入 的中文字元,仍須先用中文字元以外的語言輸入中文字元 的發音,並要從顯示的一組發音相同的中文字元中選出所 要的中文字元,因此造成不便。此外,即使是基於相同字 形的中文字元,由於根據各國的具體發音彼此各不相同, 所以發音輸入法對於依國別不同的所有系統之操作,並無 幫助。此外,在中國與台灣等完全使用中文字元的國家中, 若僅使用外語字元來輸入母語,亦有所限制。 - 1987年8月4日核可的美國專利Νο·4,684,926,1998 年8月4日核可的美國專利Νο·5,790,926,及2000年2 ^ 月7日公開之韓國專利公告No .0 0-6943,都揭示分類法。 美國專利No.4,684,926揭示的方法中,提供五個基本 書寫筆劃,它們構成所有中文字元中高出現頻率與高使用 _ 頻率的基本字根;此專利亦根據每一中文字元的拓撲型 態,對每一中文字元提供一個以8碼爲基礎的號碼,藉此 ' 將中文字元編碼。美國專利Νο·5,790,926亦揭示一種8碼 編碼方法,其中之8碼由一個4碼的“框”碼(FRAME code) 及一個4碼的“識別碼”(ID code)組成。在此一專利中,根 據中文字元的四個邊緣型樣將4碼的“框”碼分類,並根據 中文字元的代表性字根的四個邊緣型樣將4碼的“識別碼”鲁 分類,藉此將中文字元編碼。韓國專利公告Ν〇·00_6943揭 示的方法中,將中文字元的書寫筆劃定爲五種基本型態, 並將中文字元最初二個筆劃與最後二個筆劃的基本型態編 · 碼,然後輸入中文字元。591426 V. Description of the invention (1) Invention of Pipi branch art. The present invention relates to a method for encoding and inputting Chinese characters, and in particular to a method suitable for electronic equipment, including a personal computer, and especially for buttons (keys) ) Chinese character meta-coding and input methods for a limited number of mobile phones ... Jiejingzhishu It is generally known that the Chinese character is a kind of hieroglyph, and it is a form and a character with almost unlimited writing strokes. In particular, the number of strokes for writing Chinese characters is different from that of Korean, whose character system is quite simple and clear, or from Japanese, English, French, and German. Due to this limitation based on the place of origin, it is a very difficult subject to digitize Chinese characters for use in electronic devices. The input method of Chinese characters in the traditional computer keyboard is generally known to be mainly divided into a pronunciation method and a classification method. Among them, the pronunciation method uses pronunciation symbols such as, English, Korean, and Japanese to input the pronunciation of the desired Chinese characters first, then display a set of Chinese characters corresponding to this pronunciation, and then from the displayed Chinese character tuple points Take the desired Chinese character and enter it. In the classification method, according to the zigzag characteristics of each Chinese character or the radical of a Chinese character, a classification number is assigned to each Chinese character in advance, and then the classification number is entered by referring to the manual containing the description of the __ class number, so Enter the desired Chinese characters. · In Chinese, Taiwanese, or Korean, Japanese and other cultures that belong to Chinese characters · In the region, pronunciation is widely used for a Chinese character that uses English or a native language 1BI ~~~ Page 6 591426 V. Description of the invention (2 ) Pronunciation input system. However, even if the user does know the Chinese character to be input, the user must first input the pronunciation of the Chinese character in a language other than the Chinese character, and select the desired Chinese from the displayed set of Chinese characters with the same pronunciation Characters, causing inconvenience. In addition, even if the Chinese characters are based on the same glyph, the pronunciation of each country is different from each other, so the pronunciation input method is not helpful for the operation of all systems that differ by country. In addition, in countries such as China and Taiwan that completely use Chinese characters, there are restrictions on using only foreign language characters to enter the mother tongue. -US Patent No. 4,684,926 approved on August 4, 1987, US Patent No. 5,790,926 approved on August 4, 1998, and Korean Patent Publication No. 0 0-6943 published on February 7, 2000 , Both reveal taxonomy. In the method disclosed in U.S. Patent No. 4,684,926, five basic writing strokes are provided, which constitute the basic radicals of high occurrence frequency and high use frequency in all Chinese characters; this patent is also based on the topology of each Chinese character. Provide an 8-digit number for each Chinese character, to 'encode the Chinese character. US Patent No. 5,790,926 also discloses an 8-code encoding method, in which the 8-code consists of a 4-code "FRAME code" and a 4-code "ID code". In this patent, the four-frame "frame" codes are classified according to the four edge patterns of Chinese characters, and the four-code "identification codes" are classified according to the four edge patterns of the representative roots of Chinese characters. Lu classifies Chinese characters by encoding them. In the method disclosed in Korean Patent Publication No. 00-6943, the writing strokes of Chinese characters are defined as five basic types, and the first two strokes and the last two strokes of Chinese characters are encoded and coded, and then Enter Chinese characters.
第7頁 591426 五、發明說明(3) 然而’藉由此種分類系統實施的中文字元輸入法,不 僅因爲雙重的代碼而發生例外處理的情況,而且因爲僅有 參照代碼手冊或記憶代碼才能輸入中文字元,所以使用不 便。尤其是’例如在行動電話的情況,幾乎不能適用此種 方法,形成一種限制。 發明內窓 因此’本發明之目標在於一種可實質解決相關技術範 圍中一或多項限制與缺點的中文字元編碼及輸入方法。 本發明主要目的在於提供一種中文字元編碼及輸入方 法’其中僅有少數輸入鍵,不需要刻意記憶某些規則,使 · 用者可用與手寫系統相同的方式輸入中文字元。 μ m 現在詳細說明本發明之較佳實施例,並將其範例顯示 於附圖中。 根據本發明,其中提供一種中文字元編碼及輸入方 法,以將中文字元輸入一電子裝置。 在本發明之中文字元編碼方法中,先分析中文字元的 型態,再抽出至少8個基本筆劃,中文字元的各部份根據 中文字元之書寫順序依序安排並對應此8個抽出的基本筆 劃,藉此獲得一種排列,並用中文字元之代碼決定此排列。4 根據本發明,中文字元的輸入方法包括:(a)輸入步 驟:接收來自一中文字元書寫筆劃輸入鍵的鍵信號,其中, 中文字元書寫筆劃輸入鍵包括至少8個基本書寫筆劃鍵與 一個完成鍵;基本書寫筆劃鍵配置有經由分析中文字元型 IHii 591426 五、發明說明(4) 態而抽出的至少8個基本筆劃,完成鍵配置有一個圖形用 以指示已完成一個中文字元的輸入;及(b)中文字元決定步 驟:暫時儲存所輸入的基本書寫筆劃鍵輸入信號之排列; 於輸入完成鍵信號時,查詢一資料庫尋找所儲存的基本書 寫筆劃鍵信號排列;及決定對應該信號排列之中文字元; 其中,該資料庫儲存依上述中文字元編碼方法而編碼的資 訊。 基本筆劃可依照觀點而有不同。本發明經由深入硏究 中文字元之型態而完成,其中發現所有中文字元都可僅用 8個基本筆劃寫出。此8個基本筆劃爲、;-;丨;一;,;響 /;、; V。本發明中雖然爲了方便說明之故而將構成中 文字兀的基本筆劃限制在8個,但若必要時,可增加若干 基本筆劃數。 下列表1中,說明以上選擇的基本筆劃的拓撲特徵及 暫用號碼。 〈表1> 基_本筆劃之柘撑特徵 基本箠割 暫用號碼 1 2 3 4 6 7 柘撑特徵 右降點 短水平條 ⑩ 垂直線條 長水平條 左降點 左降線條Page 7 591426 V. Description of the invention (3) However, the Chinese character input method implemented by this classification system is not only caused by exceptions due to double codes, but also only by referring to code manuals or memorized codes. Entering Chinese characters is inconvenient. Especially, 'for example, in the case of a mobile phone, this method can hardly be applied, forming a limitation. Intrinsics of the Invention Therefore, the object of the present invention is a Chinese character element encoding and input method that can substantially solve one or more of the limitations and disadvantages in the related technical range. The main purpose of the present invention is to provide a Chinese character element encoding and input method, which has only a few input keys, and does not need to memorize certain rules deliberately, so that users can input Chinese character elements in the same manner as a handwriting system. μm Now, a preferred embodiment of the present invention will be described in detail, and an example thereof is shown in the accompanying drawings. According to the present invention, a method for encoding and inputting Chinese characters is provided to input Chinese characters into an electronic device. In the Chinese character encoding method of the present invention, the type of the Chinese character is analyzed first, and then at least 8 basic strokes are extracted. Each part of the Chinese character is arranged in sequence according to the writing order of the Chinese character and corresponds to the 8 characters. The basic strokes are extracted to obtain an arrangement, and the arrangement is determined by the code of the Chinese character. 4 According to the present invention, a Chinese character input method includes: (a) an input step: receiving a key signal from a Chinese character writing stroke input key, wherein the Chinese character writing stroke input key includes at least 8 basic writing stroke keys And a completion key; the basic writing stroke key is configured with at least 8 basic strokes extracted by analyzing the Chinese character meta-type IHii 591426 5. Invention Description (4) state, the completion key is provided with a graphic to indicate that a Chinese character has been completed Input of Chinese characters; and (b) Chinese character element determining step: temporarily storing the input signal sequence of the basic writing stroke key input; when inputting the completion key signal, query a database to find the stored basic writing stroke signal signal arrangement; And decide to correspond to the Chinese characters in the signal arrangement; wherein the database stores the information encoded according to the Chinese character encoding method described above. The basic strokes can vary depending on the viewpoint. The present invention is completed by in-depth study of the types of Chinese characters, and it is found that all Chinese characters can be written with only 8 basic strokes. The eight basic strokes are ,;-; 丨; one;,; ring /;,; V. In the present invention, although the basic strokes constituting the Chinese character are limited to eight for the convenience of explanation, if necessary, several basic strokes may be added. In Table 1 below, the topological characteristics and temporary numbers of the basic strokes selected above are described. <Table 1> Basic_Supporting characteristics of this stroke Basic castration Provisional number 1 2 3 4 6 7 Supporting characteristics Right drop point Short horizontal bar ⑩ Vertical line Long horizontal bar Left drop point Left drop line
第9頁 591426 五、發明說明(5) 、 8 左向勾 V 9 右降線條 同時,由於中文字元的書寫筆劃數目不定,因此,將 中文字元輸入一電子裝置時,必須提供一信號用以通知一 中文字元之鍵輸入已經完成。因此,應用本發明中文字元 輸入方法之裝置中,務必需要配備一完成鍵,以完成一個 中文字元的輸入。爲了說明方便,以下假設完成鍵上印有 一個“永”子。 本發明中分析中文字元之型態,從其中抽出至少8個 基本筆劃;中文字元的各部份係根據中文字元之書寫順序 依序安排並對應抽出的8 .個基本筆劃,藉此獲得一種排 列,並用此排列決定中文字元之代碼。亦即,一特定中文 字元是用對應其書寫筆劃順序及各個書寫筆劃的基本筆劃 編碼的。下列表2顯示根據上述8個基本筆劃及其順序執 行編碼的範例,其中所說明的代碼是用表丨中提供的暫用 號碼轉換的。 <表2> ZI^,.範中文字元與本j明編碼t法決宏之_人碼間之相關性 中文字元 字碼 代碼 基 一丨[ ---7 V - -[—43322479234 本 一丨) ,V - 4 3 7 92 図 [-[ 、、/ \ 一 34311794 形 --J [… 2273666 曰 \ -[ -一 3 2 3 22 第10頁 591426 五、發明說明(6) 曰 [一丨—— 3 43 44 月 1 - 323822 肉 ί - f / V y V 3437979 方 、一 J - J 、 147278 法 、 、 、 — f ^ * 、 1 1 1 23474 1 根據本發明’所有中文字元的編碼可如表2所示預先 決定,使用者可以只用按鍵而不必記憶、編碼或查詢編碼手 冊即可輸入所有中文字元。例如’“基”字係預先編碼爲 4 3 3 22479243,然後使用者注視基本書寫筆劃鍵,像手寫般 輸入“ 一丨丨---/V -丨一”,於是,其信號被轉換成 Φ 43322479243。之後,參照資料庫抽出並儲存對應此號碼的 “基”字,然後顯示此字。 圖式簡要說明 本發明上述及其他目的與特徵,可從以下配合附圖所 作的較佳實施例說明而趨於明確,附圖包括: 圖1爲應用本發明中文字元輸入方法時提供的按鍵配 置圖; 圖2爲應用本發明中文字元輸入方法之輸入裝置之槪 要方塊圖,及 圖3爲一流程圖,顯示本發明中文字元輸入方法中的 $ 中文字元輸入程序。 發明昜佳實施樽忒 以下參照附圖更詳細說明本發明。爲了解說方便,此 處假設應用本發明中文字元輸入方法的按鍵配置係根據圖 1^11 第11頁 591426 五、發明說明(7) 1所示的相同類型,而且所有中文字元都用本發明上述編 碼方法編碼。 圖2爲根據本發明中文字元輸入方法之輸入裝置之槪 要方塊圖。如圖2所示,本發明之裝置係由一中文字元輸 入單元及一中文字元決定單元組成。中文字元輸入單元包 括8個基本書寫筆劃鍵與一完成鍵,8個基本書寫筆劃鍵 基本上配置有8個基本筆劃。中文字元決定單元可儲存各 中文字元以8個基本筆劃編碼的資訊;接收中文字元輸入 單元的基本書寫筆劃鍵信號;在信號排列已被暫時儲存的 狀態下,於輸入完成鍵信號時向一資料庫單元查詢各基本 書寫筆劃鍵之排列碼;以及抽出對應編碼的中文字元。根 據需要,亦可在根據本發明中文字元輸入方法之輸入裝置 上,.加入顯示中文字元確認程序的設備。 此處,本發明之中文字元輸入裝置其各個組件之分類 僅作爲功能性的區分,用以說明本發明的操作,因此’當 然不必是實體上獨立的組件。例如,資料庫單元與中文字 元決定單元當然可以製造成一個整體的程式或一個組件。 對於熟悉此類技術之人士而言,可輕易在應用本發明 中文字元輸入方法之輸入裝置中,加入其他輸入鍵或增加 一輸入鍵的功能,以便執行額外的功能,諸如輸入引號、 逗點、句點等特殊字元’韓文、英文與數字間的輸入轉換’ 空格棒功能等。 在本發明之中文字元輸入裝置中,亦可加入一種可對 使用者通知異常狀況並要求使用者正確使用本裝置之系P.9 591426 V. Description of the invention (5), 8 Left-handed hook V 9 Right-down line At the same time, because the number of writing strokes of Chinese characters is uncertain, when inputting Chinese characters into an electronic device, a signal must be provided The key input to notify a Chinese character has been completed. Therefore, the device applying the Chinese character input method of the present invention must be equipped with a completion key to complete the input of one Chinese character. For the convenience of explanation, the following assumes that there is a "yong" child printed on the completion key. In the present invention, the type of the Chinese character is analyzed, and at least 8 basic strokes are extracted from it; each part of the Chinese character is sequentially arranged according to the writing order of the Chinese character and corresponds to the extracted 8 basic strokes, thereby Obtain an arrangement and use this arrangement to determine the code of the Chinese character. That is, a specific Chinese character is encoded with a basic stroke corresponding to its writing stroke order and each writing stroke. Table 2 below shows an example of encoding based on the above 8 basic strokes and their order. The illustrated codes are converted using the temporary numbers provided in Table 丨. < Table 2 > ZI ^ ,. Correlation between the Chinese characters and the original code, and the method of determining the macro of the _ human code, the Chinese character code code base 丨 [--- 7 V--[— 43322479234 this one丨), V-4 3 7 92 図 [-[,, / \ 一 34311794 form--J [... 2273666 yell---3 2 3 22 page 10 591426 V. Description of the invention (6) y [一丨 —— 3 43 44 January 1-323822 Meat ί-f / V y V 3437979 Fang, Yi J-J, 147278 method,,,-f ^ *, 1 1 1 23474 1 According to the invention 'all Chinese characters The coding can be determined in advance as shown in Table 2. The user can input all Chinese characters only by pressing keys without having to memorize, code or query the coding manual. For example, the word "" base "is pre-coded as 4 3 3 22479243, and then the user looks at the basic writing stroke key and enters" 一 丨 丨 --- / V-丨 one "like handwriting, so the signal is converted into Φ 43322479243. After that, refer to the database to extract and store the "base" word corresponding to this number, and then display this word. The drawings briefly explain the above and other objects and features of the present invention, which can be made clear from the following description of preferred embodiments made with reference to the accompanying drawings. The drawings include: FIG. 1 is a key provided when the Chinese character input method of the present invention is applied; Configuration diagram; FIG. 2 is a schematic block diagram of an input device to which the Chinese character input method of the present invention is applied, and FIG. 3 is a flowchart showing a $ Chinese character input program in the Chinese character input method of the present invention. The invention is best implemented in the following. The invention will be described in more detail with reference to the drawings. For the convenience of understanding, it is assumed here that the key arrangement to which the Chinese character input method of the present invention is applied is according to Figure 1 ^ 11, page 11, 591426 V. Description of the invention (7) The same type as shown in 1, and all Chinese characters use the text Invent the coding method described above. FIG. 2 is a schematic block diagram of an input device according to the Chinese character input method of the present invention. As shown in Fig. 2, the device of the present invention is composed of a Chinese character input unit and a Chinese character determination unit. The Chinese character element input unit includes 8 basic writing stroke keys and a completion key. The 8 basic writing stroke keys are basically configured with 8 basic strokes. The Chinese character element determination unit can store the information encoded by each Chinese character element with 8 basic strokes; receive the basic writing stroke key signal of the Chinese character element input unit; and when the signal arrangement has been temporarily stored, when the completion key signal is input Query a database unit for the arrangement code of each basic writing stroke key; and extract the Chinese characters corresponding to the code. According to the need, the input device according to the Chinese character input method of the present invention can also be added with a device for displaying a Chinese character confirmation program. Here, the classification of the various components of the character element input device in the present invention is only used as a functional distinction to explain the operation of the present invention, so 'of course, it does not have to be a physically independent component. For example, the database unit and the Chinese character determination unit can of course be manufactured as a whole program or a component. For those who are familiar with such technologies, it is easy to add other input keys or add an input key to the input device to which the Chinese character input method of the present invention is applied, in order to perform additional functions, such as inputting quotation marks, commas , Period, and other special characters 'Korean, English and number input conversion' Space bar function, etc. In the character element input device of the present invention, a system that can notify the user of an abnormal condition and require the user to use the device correctly can also be added.
第12頁 591426 五、發明說明(8) 統。異常狀況例如,在輸入之信號排列未對應一中文字元 的情況下輸入完成鍵信號,因此無法決定中文字元等。 圖3爲一流程圖,顯示本發明中文字元輸入方法中的 中文字元輸入程序。 爲了解說方便,此處假設並無異常輸入,且從基本書 寫筆劃鍵產生原始輸入信號。輸入裝置當然應該是專供中 文字元使用,或應該先變換爲中文字元輸入模式,以便首 先執行輸入起始設定。爲了能先執行輸入起始設定’輸入 裝置須爲中文字元專用,或應變換成中文字元輸入模式。 從一鍵產生一信號時,即暫時依序儲存輸入信號,同 時決定下一個鍵是否爲一完成鍵信號。若非完成鍵信號, 則繼續依序暫時儲存輸入信號。若爲完成鍵信號,則查詢 一資料庫以抽出迄當時爲止與輸入的信號排列(碼)對應的 中文字元,並決定第η個中文字元與除去暫時儲存的輸入 信號。所決定的中文字元可顯示在一顯示設備上,或可儲 存而已。當連續產生輸入信號時,可提供依序暫時儲存各 輸入信號的步驟,以便決定第η+1個中文字元。 由中文字元構成的一個字或一句話,可藉由反覆執行 上述程序而完成。 丁業應用件 如上所述,根據本發明之中文字元輸入方法中利用最 少但數目足夠的基本筆劃,藉此可像手寫方法般依序方便 地輸入中文字元,不僅活化在中文字元文化區域的國家內 以中文字元提供的電子資訊交換,也可有效地將中文字元 1HR1 第13頁 591426 五、發明說明(9) 輸入電子裝置,諸如體積漸小而多功能的手持電話等。 本發明雖以較佳實施例圖示說明之,但熟悉此類技術 之人士應可了解,本發明可有各種變化與修改而不脫離以 下申請專利範圍定義之發明精神與範圍。 iHi 第14頁 591426 圖式簡單說明 圖1為應用本發明中文字元輸入方法時提供的按鍵配置 圖, 圖2為應用本發明中文字元輸入方法之輸入裝置之概要方 塊圖,及 圖3為一流程圖,顯示本發明中文字元輸入方法中的中文 字元輸入程序。Page 12 591426 V. Description of Invention (8) System. An abnormal situation is, for example, that the completion key signal is input when the input signal arrangement does not correspond to one Chinese character, so the Chinese character cannot be determined. Fig. 3 is a flowchart showing a Chinese character input procedure in the Chinese character input method of the present invention. For the sake of understanding, it is assumed that there is no abnormal input, and the original input signal is generated from the basic writing stroke key. The input device should, of course, be exclusively used for Chinese characters, or it should be switched to Chinese character input mode first, so that the input initial setting is performed first. In order to execute the input initial setting first, the input device must be dedicated to Chinese characters, or it should be converted to Chinese character input mode. When a signal is generated from a key, the input signal is temporarily stored sequentially, and at the same time, it is determined whether the next key is a completed key signal. If it is not the completion key signal, the input signal will continue to be temporarily stored sequentially. If it is the completion key signal, query a database to extract the Chinese characters corresponding to the input signal arrangement (code) so far, and determine the nth Chinese character and remove the temporarily stored input signal. The determined Chinese characters can be displayed on a display device or can be stored. When the input signal is continuously generated, a step of temporarily storing each input signal in order may be provided in order to determine the (n + 1) th Chinese character. A word or sentence composed of Chinese characters can be completed by repeatedly executing the above procedures. As described above, the Dingye application uses the minimum but sufficient number of basic strokes in the Chinese character input method according to the present invention, so that Chinese characters can be input sequentially and conveniently like a handwriting method, not only activating the Chinese character culture The electronic information exchange provided by Chinese characters in the countries of the region can also effectively input Chinese characters 1HR1 Page 13 591426 V. Description of the invention (9) Enter electronic devices, such as smaller and more versatile handheld phones. Although the present invention is illustrated by the preferred embodiments, those skilled in the art should understand that the present invention can have various changes and modifications without departing from the spirit and scope of the invention as defined in the following patent application scope. iHi Page 14 591426 Brief description of the diagram Figure 1 is a diagram of the key arrangement provided when the Chinese character input method of the present invention is applied, FIG. 2 is a schematic block diagram of an input device applying the Chinese character input method of the present invention, and FIG. 3 is A flowchart showing a Chinese character input procedure in the Chinese character input method of the present invention.
第15頁Page 15