TWI472956B - System and method for pinyin input - Google Patents

System and method for pinyin input Download PDF

Info

Publication number
TWI472956B
TWI472956B TW99102762A TW99102762A TWI472956B TW I472956 B TWI472956 B TW I472956B TW 99102762 A TW99102762 A TW 99102762A TW 99102762 A TW99102762 A TW 99102762A TW I472956 B TWI472956 B TW I472956B
Authority
TW
Taiwan
Prior art keywords
letter
received
pinyin
chinese character
virtual keyboard
Prior art date
Application number
TW99102762A
Other languages
Chinese (zh)
Other versions
TW201128453A (en
Inventor
Tao Zhang
Original Assignee
Chi Mei Comm Systems Inc
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Chi Mei Comm Systems Inc filed Critical Chi Mei Comm Systems Inc
Priority to TW99102762A priority Critical patent/TWI472956B/en
Publication of TW201128453A publication Critical patent/TW201128453A/en
Application granted granted Critical
Publication of TWI472956B publication Critical patent/TWI472956B/en

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Input From Keyboards Or The Like (AREA)

Description

拼音輸入系統及方法 Pinyin input system and method

本發明涉及一種輸入系統及方法,尤其涉及一種應用於電子裝置中的拼音輸入系統及方法。 The present invention relates to an input system and method, and more particularly to a pinyin input system and method for use in an electronic device.

目前,操作便捷的觸控螢幕手機也受到越來越多人的青睞,大多數觸控螢幕手機在使用拼音輸入單個漢字時,每個拼音字母都會顯示在手機螢幕上,這樣造成每個字母會小很多,導致用戶要費時費力地從所有的字母中尋找所需要的特定字母,此外,用戶採用觸控筆點擊所需要的特定字母也很不方便,容易點錯,不僅浪費一定的時間,同時輸入效率也較為低下。 At present, the touch screen mobile phone with convenient operation is also favored by more and more people. When using a pinyin to input a single Chinese character, each pinyin letter will be displayed on the screen of the mobile phone, so that each letter will be A lot smaller, causing users to find the specific letters needed from all the letters in a time-consuming and laborious manner. In addition, it is inconvenient for the user to click on the specific letters required by the stylus, and it is easy to make mistakes, not only wasting a certain amount of time, but also Input efficiency is also low.

鑒於以上內容,有必要提供一種拼音輸入系統,其根據已輸入的字母,在字母顯示區域僅顯示與已輸入字母匹配的字母,方便用戶篩選和點擊。 In view of the above, it is necessary to provide a pinyin input system that displays only letters matching the entered letters in the letter display area according to the entered letters, facilitating user selection and clicking.

此外,還有必要提供一種拼音輸入方法,其根據已輸入的字母,在字母顯示區域僅顯示與已輸入字母匹配的字母,方便用戶篩選和點擊。 In addition, it is also necessary to provide a pinyin input method that displays only letters matching the entered letters in the letter display area according to the entered letters, facilitating user selection and clicking.

一種拼音輸入系統,運行於電子裝置上,所述的電子裝置包括儲存裝置及觸控螢幕,所述的儲存裝置中包括漢字字庫,該系統包括:設定模組,用於設定一個於所述觸控螢幕上顯示的初始化虛 擬鍵盤以及設定一個單獨的虛擬按鍵作為單字分隔符號;接收模組,用於當所述電子裝置進入拼音模式的編輯狀態且於所述觸控螢幕上顯示出所設定的初始化虛擬鍵盤後,接收用戶輸入的字母或字串;判斷模組,判斷接收的字母或字串是不是所設定的單字分隔符號;檢索模組,用於當所接收的不是所設定的單字分隔符號時,根據已接收的字母檢索所述儲存裝置中的漢字字庫,並判斷漢字字庫中是否包括以已接收的字母開頭的漢字拼音;處理模組,用於當從所述漢字字庫檢索出包括以該已接收的字母開頭的漢字拼音時,確認在該檢索出的漢字拼音中位於該已接收的字母後的下一個合法字母,從而確認匹配字母;顯示模組,用於當確認匹配字母時,在觸控螢幕上僅顯示匹配字母所對應的虛擬按鍵。 A pinyin input system, running on an electronic device, the electronic device includes a storage device and a touch screen, the storage device includes a Chinese character font, the system includes: a setting module, configured to set a touch Initialization displayed on the control screen The keyboard is set up and a single virtual button is set as a single word separator; the receiving module is configured to receive the user after the electronic device enters an edit state of the pinyin mode and displays the set initial virtual keyboard on the touch screen. The input letter or string; the judgment module determines whether the received letter or string is the set word separator; the retrieval module is configured to receive the received word not according to the received word separator Searching for a Chinese character font in the storage device, and determining whether the Chinese character font includes Chinese character pinyin beginning with the received letter; and processing module for when retrieving from the Chinese character font includes including the received letter When the Chinese character is pinyin, confirm the next legal letter located in the retrieved Chinese pinyin after the received letter, thereby confirming the matching letter; the display module is used to confirm only the matching letter on the touch screen Displays the virtual button corresponding to the matching letter.

一種拼音輸入方法,該方法應用於包括儲存有漢字字庫的儲存裝置及觸控螢幕的電子裝置上,該方法包括如下步驟:設定一個於所述觸控螢幕上顯示的初始化虛擬鍵盤以及設定一個單獨的虛擬按鍵作為單字分隔符號;當所述電子裝置進入拼音模式的編輯狀態後,於所述觸控螢幕上顯示所設定的初始化虛擬鍵盤,並接收用戶輸入的字母或字串,當所接收的不是所設定的單字分隔符號時,根據已接收的字母檢索所述漢字字庫,並判斷漢字字庫中是否包括以已接收的字母開頭的漢字拼音;當所述漢字字庫檢索出包括以該已輸入字母開頭的漢字拼音時,確認在該檢索出的漢字拼音中位於該已接收的字母後的下一個合法字母,從而確認匹配字母,以及在觸控螢幕上僅顯示匹配字母所對應的虛擬按鍵。 A pinyin input method is applied to an electronic device including a storage device storing a Chinese character font and a touch screen, the method comprising the steps of: setting an initial virtual keyboard displayed on the touch screen and setting a separate The virtual button is used as a single-word separator; after the electronic device enters the edit state of the pinyin mode, the set initial virtual keyboard is displayed on the touch screen, and the letter or string input by the user is received, when received When the set word separator is not set, the Chinese character font is retrieved according to the received letters, and it is determined whether the Chinese character font includes Chinese character pinyin beginning with the received letter; when the Chinese character library is retrieved, the entered letter is included When the initial Chinese character is pinyin, the next legal letter located after the received letter in the retrieved Chinese pinyin is confirmed, thereby confirming the matching letter, and displaying only the virtual key corresponding to the matching letter on the touch screen.

相較於習知技術,所述拼音輸入的系統及方法,可以根據用戶已 輸入的字母或字串檢索確認下一個可選擇輸入的匹配字母,並僅顯示所述確認的匹配字母所對應的虛擬按鍵,提高了用戶在電子裝置中在拼音輸入的效率及準確性。 Compared with the prior art, the system and method for inputting pinyin can be based on the user. The entered letter or string search confirms the next selectable input matching letter, and displays only the virtual key corresponding to the confirmed matching letter, which improves the efficiency and accuracy of the user's input in the electronic device.

1‧‧‧電子裝置 1‧‧‧Electronic device

10‧‧‧拼音輸入系統 10‧‧‧Pinyin input system

12‧‧‧儲存裝置 12‧‧‧Storage device

120‧‧‧漢字字庫 120‧‧‧Chinese character library

14‧‧‧觸控螢幕 14‧‧‧ touch screen

100‧‧‧設定模組 100‧‧‧Setting module

102‧‧‧接收模組 102‧‧‧ receiving module

104‧‧‧判斷模組 104‧‧‧Judgement module

106‧‧‧顯示模組 106‧‧‧Display module

108‧‧‧檢索模組 108‧‧‧Search Module

110‧‧‧處理模組 110‧‧‧Processing module

S110‧‧‧設定初始化的虛擬鍵盤並設定單字分隔符號 S110‧‧‧Set the initial virtual keyboard and set the word separator

S111‧‧‧接收輸入的字母或字串 S111‧‧‧Accept input letters or strings

S112‧‧‧判斷接收的是不是單字分隔符號 S112‧‧‧Determining whether the received word is separated

S113‧‧‧刷新顯示初始化的虛擬鍵盤 S113‧‧‧ Refresh display initial virtual keyboard

S114‧‧‧判斷漢字字庫中是否包括以已輸入字母開頭的漢字拼音 S114‧‧‧Identifies whether the Chinese character font includes Chinese pinyin that starts with the entered letter

S115‧‧‧返回提示資訊 S115‧‧‧Return to prompt information

S116‧‧‧確認匹配字母,僅顯示匹配字母所對應的虛擬按鍵,並接收用戶的輸入 S116‧‧‧Confirm matching letters, only display the virtual keys corresponding to the matching letters, and receive the user's input

S117‧‧‧判斷是否輸入完畢 S117‧‧‧Judge whether the input is completed

圖1是本發明拼音輸入系統的較佳實施例的環境架構圖。 BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a diagram showing the environmental architecture of a preferred embodiment of the pinyin input system of the present invention.

圖2是本發明拼音輸入系統輸入字母時的顯示示意圖。 2 is a schematic view showing the display of a letter input system of the present invention when a letter is input.

圖3是本發明拼音輸入方法的較佳實施例的流程圖。 3 is a flow chart of a preferred embodiment of the pinyin input method of the present invention.

如圖1所示,是本發明拼音輸入系統的較佳實施例的環境架構圖。所述的拼音輸入系統10運行於電子裝置1上,該電子裝置1包括儲存裝置12及觸控螢幕14。 As shown in FIG. 1, it is an environmental architecture diagram of a preferred embodiment of the pinyin input system of the present invention. The pinyin input system 10 runs on the electronic device 1 , and the electronic device 1 includes a storage device 12 and a touch screen 14 .

所述的儲存裝置12,可以是所述電子裝置1的記憶體,還可以是可外接於該電子裝置1的儲存卡,如SM卡(Smart Media Card,智慧媒體卡)、SD卡(Secure Digital Card,安全數位卡)等。所述的儲存裝置12用於儲存各類資料,例如,漢字字庫120。 The storage device 12 may be a memory of the electronic device 1 or a memory card externally connected to the electronic device 1, such as a SIM card (Smart Media Card) or an SD card (Secure Digital). Card, secure digital card) and so on. The storage device 12 is configured to store various types of materials, for example, a Chinese character font 120.

所述的拼音輸入系統10包括設定模組100、接收模組102、判斷模組104、顯示模組106,檢索模組108以及處理模組110。 The pinyin input system 10 includes a setting module 100, a receiving module 102, a determining module 104, a display module 106, a search module 108, and a processing module 110.

所述的設定模組100,用於設定一個於所述觸控螢幕14上顯示的初始化虛擬鍵盤20。如圖2所示,該初始化虛擬鍵盤20包括,但不限於:所有的字母的虛擬按鍵。實際應用中,所述的虛擬鍵盤中虛擬按鍵的排列和分佈並不局限於圖2中20所示的虛擬按鍵的排列和分佈。 The setting module 100 is configured to set an initial virtual keyboard 20 displayed on the touch screen 14 . As shown in FIG. 2, the initial virtual keyboard 20 includes, but is not limited to, virtual keys of all letters. In practical applications, the arrangement and distribution of the virtual keys in the virtual keyboard are not limited to the arrangement and distribution of the virtual keys shown in FIG.

所述的設定模組100還用於設定一個單獨的虛擬按鍵作為單字分 隔符號。所述的單字分隔符號表示下一個輸入的字母是一個新的漢字的拼音字母,而不再是上一個漢字的後續字母。例如圖2中的虛擬按鍵“|”即為單字分隔符號,但實際應用中並不局限於圖2中所示的單字分隔符號。 The setting module 100 is further configured to set a single virtual button as a single word Separate symbol. The single-word separator symbol indicates that the next input letter is a pinyin letter of a new Chinese character, and is no longer a subsequent letter of the previous Chinese character. For example, the virtual button "|" in FIG. 2 is a single-word separator, but the actual application is not limited to the single-word separator shown in FIG. 2.

應說明的是,設定單字分隔符號也可以方便下述情況的使用。例如用戶需要拼出“西安”,即拆分成“XI”以及“AN”,而不是拼出“XIAN”時,採用單字分隔符號便可以方便的進行輸入。 It should be noted that setting the word separator symbol can also facilitate the use of the following situations. For example, if the user needs to spell "Xi'an", that is, split into "XI" and "AN", instead of spelling "XIAN", the single-word separator symbol can be used for input.

所述的接收模組102,用於當所述電子裝置1進入拼音模式的編輯狀態且所述觸控螢幕14上顯示出所設定的初始化虛擬鍵盤20後,接收用戶從該虛擬鍵盤輸入的字母或字串。 The receiving module 102 is configured to receive a letter input by a user from the virtual keyboard after the electronic device 1 enters an edit state of the pinyin mode and the preset virtual keyboard 20 is displayed on the touch screen 14 String.

所述的判斷模組104用於判斷接收的字母或字串是不是所設定的單字分隔符號。 The determining module 104 is configured to determine whether the received letter or string is a set word separator.

所述的顯示模組106用於當接收的是所設定的單字分隔符號時,刷新顯示所設定的初始化虛擬鍵盤20。 The display module 106 is configured to refresh and display the set initial virtual keyboard 20 when the set single word separator is received.

所述的檢索模組108,用於當接收的不是所設定的單字分隔符號時,根據已接收的字母檢索所述儲存裝置12中的漢字字庫120,並判斷漢字字庫120中是否包括以已接收的字母開頭的漢字拼音。 The retrieval module 108 is configured to: when the received single word separation symbol is received, retrieve the Chinese character font 120 in the storage device 12 according to the received letter, and determine whether the Chinese character font 120 is included in the received The letter begins with the kanji pinyin.

所述的處理模組110用於當所述漢字字庫120不包括以該已接收的字母開頭的漢字拼音時,返回一個提示資訊給用戶,以提示用戶是否輸入錯誤,並繼續接收用戶的輸入。例如,可在輸入介面中顯示該提示資訊“無法檢索到相應的漢字拼音”,用戶可繼續輸入或者對已接收的字母進行修改。 The processing module 110 is configured to return a prompt information to the user when the Chinese character font 120 does not include the Chinese character pinyin beginning with the received letter, to prompt the user whether to input an error, and continue to receive the user's input. For example, the prompt information "Unable to retrieve the corresponding Chinese pinyin" can be displayed in the input interface, and the user can continue to input or modify the received letters.

所述的處理模組110還用於當所述漢字字庫120檢索出包括以該已接收的字母開頭的漢字拼音時,確認在該檢索出的漢字拼音中位於該已接收的字母後的下一個合法字母。在本較佳實施方式中,該確認的下一個字母簡稱為“匹配字母”。例如,根據漢字的拼音組合,拼寫以字母“X”開頭的漢字拼音時,以“X”開頭的拼音字母後面只有“I”和“U”,其與X組合才能組成合法的漢字拼音,則“I”和“U”稱為以字母“X”開頭的“匹配字母”。 The processing module 110 is further configured to: when the Chinese character font 120 retrieves the pinyin including the Chinese character beginning with the received letter, confirm the next one after the received letter in the retrieved Chinese pinyin Legal letter. In the preferred embodiment, the next letter of the confirmation is simply referred to as "matching letter". For example, according to the pinyin combination of Chinese characters, when spelling Chinese characters beginning with the letter "X", the pinyin letters beginning with "X" are followed by only "I" and "U", which can be combined with X to form a legal Chinese pinyin. "I" and "U" are referred to as "matching letters" beginning with the letter "X".

所述的顯示模組106還用於當確認匹配字母後,在觸控螢幕14上虛擬鍵盤上僅顯示匹配字母所對應的虛擬按鍵,從而使用戶從虛擬鍵盤上顯示的虛擬按鍵中輕鬆方便地選擇所需輸入的字母。 The display module 106 is further configured to display only the virtual keys corresponding to the matching letters on the virtual keyboard on the touch screen 14 after confirming the matching letters, thereby enabling the user to conveniently and conveniently from the virtual keys displayed on the virtual keyboard. Select the letter you want to enter.

所述的判斷模組104還用於判斷是否輸入完畢,若已經輸入完畢,例如,接收到發送資訊的按鍵指令或者退出編輯狀態的按鍵指令,則確認為當前編輯已經輸入完畢;否則,視為未輸入完畢。 The determining module 104 is further configured to determine whether the input is completed. If the input has been completed, for example, receiving a button command to send information or a button command to exit the editing state, it is confirmed that the current editing has been input; otherwise, Not entered.

例如,參照圖2所示,所設定的初始化虛擬鍵盤20每個虛擬按鍵上只顯示單個字母,若已接收的字母是X,所述的檢索模組108從所述漢字字庫120檢索出如下以X開頭的漢字拼音:xi、xia、xiao、xian、xiang、xie、xin、xing、xiong、xiu、xu、xuan、xue,所述的處理模組110確認以X開頭的匹配字母“i”、“u”,所述的顯示模組106在觸控螢幕14的虛擬鍵盤上僅顯示虛擬按鍵“i”、“u”,此時,初始化虛擬鍵盤20成為虛擬鍵盤21的形式,以此來提示用戶可從中選擇待輸入的下一個字母,完成拼音地輸入。若此時用戶再輸入I,則已接收的字母為XI,所述檢索模組108從漢字字庫120中檢索出如下以XI開頭的漢字拼音:xia、xiao、xian、xiang、xie、xin、xing、xiong、xiu;所述 的處理模組110確認以XI開頭的匹配字母“a”、“e”、“n”、“o”、“u”;所述的顯示模組106在觸控螢幕14上僅顯示虛擬按鍵“a”、“e”、“n”、“o”、“u”供用戶選擇,也即,此時的虛擬鍵盤已經成為虛擬鍵盤22的形式。應說明的是,所述的顯示模組106在觸控螢幕14上顯示虛擬按鍵的方式並不局限於圖2中的顯示方式。 For example, referring to FIG. 2, the set initial virtual keyboard 20 displays only a single letter on each virtual key. If the received letter is X, the search module 108 retrieves the Chinese character font 120 as follows. The Chinese character pinyin at the beginning of X: xi, xia, xiao, xian, xiang, xie, xin, xing, xiong, xiu, xu, xuan, xue, the processing module 110 confirms the matching letter "i" starting with X, "u", the display module 106 displays only the virtual keys "i" and "u" on the virtual keyboard of the touch screen 14, and at this time, the virtual keyboard 20 is initialized to form the virtual keyboard 21, thereby prompting The user can select the next letter to be entered and complete the pinyin input. If the user inputs I again at this time, the received letter is XI, and the search module 108 retrieves the following Chinese pinyin beginning with XI from the Chinese character font 120: xia, xiao, xian, xiang, xie, xin, xing , xiong, xiu; The processing module 110 confirms the matching letters "a", "e", "n", "o", and "u" starting with XI; the display module 106 displays only the virtual button on the touch screen 14" a", "e", "n", "o", "u" are selected by the user, that is, the virtual keyboard at this time has become the form of the virtual keyboard 22. It should be noted that the manner in which the display module 106 displays the virtual keys on the touch screen 14 is not limited to the display mode in FIG. 2 .

如圖3所示,是本發明拼音輸入的方法較佳實施例的流程圖。步驟S110,設定模組100設定一個於所述觸控螢幕14上顯示的初始化虛擬鍵盤20以及設定一個單獨的虛擬按鍵作為單字分隔符號。 3 is a flow chart of a preferred embodiment of the method for pinyin input of the present invention. In step S110, the setting module 100 sets an initial virtual keyboard 20 displayed on the touch screen 14 and sets a single virtual key as a single word separator.

步驟S111,當所述電子裝置1進入拼音模式的編輯狀態後,該初始化虛擬鍵盤20於所述觸控螢幕14上顯示,接收模組102接收用戶輸入的字母或字串。 In step S111, after the electronic device 1 enters the edit state of the pinyin mode, the initial virtual keyboard 20 is displayed on the touch screen 14, and the receiving module 102 receives the letter or string input by the user.

步驟S112,判斷模組104判斷接收的字母或字串是不是所設定的單字分隔符號。當接收的是所設定的單字分隔符號時,進入步驟S113;當接收的不是所設定的單字分隔符號時,進入步驟S114。 In step S112, the determining module 104 determines whether the received letter or string is a set word separator. When the set single word separator is received, the process proceeds to step S113; when the received word separator is not received, the process proceeds to step S114.

步驟S113,顯示模組106刷新顯示所設定的初始化虛擬鍵盤20,然後步驟返回S111。 In step S113, the display module 106 refreshes and displays the set initial virtual keyboard 20, and then the process returns to S111.

步驟S114,根據已接收的字母,檢索模組108檢索所述儲存裝置12中的漢字字庫120,並判斷漢字字庫120中是否包括以已接收的字母開頭的漢字拼音。 Step S114, based on the received letters, the retrieval module 108 retrieves the Chinese character font 120 in the storage device 12, and determines whether the Chinese character font 120 includes Chinese character pinyin beginning with the received letter.

步驟S115,當所述漢字字庫120不包括以該已接收的字母開頭的漢字拼音時,處理模組110返回一個提示資訊給用戶,以提示用戶輸入錯誤,進入步驟S117。例如,可在輸入介面中顯示該提示 資訊“無法檢索到相應的漢字拼音”,用戶可繼續輸入或者對已輸入的字母進行修改。 Step S115, when the Chinese character font 120 does not include the Chinese character pinyin beginning with the received letter, the processing module 110 returns a prompt information to the user to prompt the user to input an error, and proceeds to step S117. For example, the prompt can be displayed in the input interface The message "Cannot retrieve the corresponding Chinese Pinyin", the user can continue to input or modify the entered letters.

步驟S116,當所述漢字字庫120檢索出包括以該已接收的字母開頭的漢字拼音時,處理模組110確認在該檢索出的漢字拼音中位於該已接收的字母後的下一個合法字母。在本較佳實施方式中,該確認的下一個字母簡稱為“匹配字母”,以及顯示模組106在觸控螢幕14上顯示僅列出以該匹配字母所對應的虛擬鍵盤並繼續接收用戶的輸入。 Step S116, when the Chinese character font 120 retrieves the Chinese character pinyin including the received letter, the processing module 110 confirms the next legal letter located after the received letter in the retrieved Chinese pinyin. In the preferred embodiment, the next letter of the confirmation is simply referred to as “matching letter”, and the display module 106 displays on the touch screen 14 only the virtual keyboard corresponding to the matching letter and continues to receive the user. Input.

步驟S117,判斷模組104判斷是否輸入完畢,若已經輸入完畢,例如,接收到發送資訊的按鍵指令或者退出編輯狀態的按鍵指令,則結束本流程;否則,視為未輸入完畢,則流程返回步驟S111,繼續接收用戶所輸入的字母或字串。 In step S117, the determining module 104 determines whether the input is completed. If the input has been completed, for example, receiving a button command to send information or a button command to exit the editing state, the process ends; otherwise, if the input is not completed, the process returns. In step S111, the letter or string input by the user is continuously received.

透過上述方式,可以根據已接收的字母或字串檢索確認下一個可選擇輸入的匹配字母,在觸控螢幕14上僅顯示所述確認的匹配字母所對應的虛擬按鍵,減少了用戶選擇的範圍,提高了輸入效率;並且放大了虛擬鍵盤上每個字母,方便用戶點選。 In the above manner, the matching letters of the next selectable input can be retrieved according to the received letters or strings, and only the virtual buttons corresponding to the confirmed matching letters are displayed on the touch screen 14, thereby reducing the range selected by the user. , improve the input efficiency; and enlarge each letter on the virtual keyboard, which is convenient for the user to click.

綜上所述,本發明符合發明專利要件,爰依法提出專利申請。惟,以上所述者僅為本發明之較佳實施例,本發明之範圍並不以上述實施例為限,舉凡熟悉本案技藝之人士援依本發明之精神所作之等效修飾或變化,皆應涵蓋於以下申請專利範圍內。 In summary, the present invention complies with the requirements of the invention patent and submits a patent application according to law. The above is only the preferred embodiment of the present invention, and the scope of the present invention is not limited to the above-described embodiments, and equivalent modifications or variations made by those skilled in the art in light of the spirit of the present invention are It should be covered by the following patent application.

S110‧‧‧設定初始化的虛擬鍵盤並設定單字分隔符號 S110‧‧‧Set the initial virtual keyboard and set the word separator

S111‧‧‧接收輸入的字母或字串 S111‧‧‧Accept input letters or strings

S112‧‧‧判斷接收的是不是單字分隔符號 S112‧‧‧Determining whether the received word is separated

S113‧‧‧刷新顯示初始化的虛擬鍵盤 S113‧‧‧ Refresh display initial virtual keyboard

S114‧‧‧判斷漢字字庫中是否包括以已輸入字母開頭的漢字拼音 S114‧‧‧Identifies whether the Chinese character font includes Chinese pinyin that starts with the entered letter

S115‧‧‧返回提示資訊 S115‧‧‧Return to prompt information

S116‧‧‧確認匹配字母,僅顯示匹配字母所對應的虛擬按鍵,並接收用戶的輸入 S116‧‧‧Confirm matching letters, only display the virtual keys corresponding to the matching letters, and receive the user's input

S117‧‧‧判斷是否輸入完畢 S117‧‧‧Judge whether the input is completed

Claims (7)

一種拼音輸入系統,運行於電子裝置上,所述的電子裝置包括儲存裝置及觸控螢幕,所述的儲存裝置儲存有漢字字庫,該系統包括:設定模組,用於設定一個於所述觸控螢幕上顯示的初始化虛擬鍵盤以及設定一個單獨的虛擬按鍵作為單字分隔符號;接收模組,用於當所述電子裝置進入拼音模式的編輯狀態且所述觸控螢幕上顯示出所設定的初始化虛擬鍵盤後,接收用戶輸入的字母或字串;判斷模組,判斷接收的字母或字串是不是所設定的單字分隔符號;檢索模組,用於當所接收的不是所設定的單字分隔符號時,根據已接收的字母檢索所述儲存裝置中的漢字字庫,並判斷漢字字庫中是否包括以已接收的字母開頭的漢字拼音;處理模組,用於當從所述漢字字庫檢索出包括以該已接收的字母開頭的漢字拼音時,確認在該檢索出的漢字拼音中位於該已接收的字母後的下一個合法字母,從而確認匹配字母;顯示模組,用於當確認匹配字母時,在觸控螢幕上顯示該匹配字母對應的虛擬鍵盤,該虛擬鍵盤上僅顯示匹配字母所對應的虛擬按鍵。 A pinyin input system running on an electronic device, the electronic device comprising a storage device and a touch screen, the storage device storing a Chinese character font, the system comprising: a setting module, configured to set a touch Initializing the virtual keyboard displayed on the screen and setting a single virtual button as a single word separator; the receiving module is configured to display the set initialization virtual when the electronic device enters the edit state of the pinyin mode After the keyboard, receiving a letter or a string input by the user; determining a module to determine whether the received letter or string is a set word separator; the retrieval module is configured to receive when the received single word separator is not Retrieving a Chinese character font in the storage device according to the received letter, and determining whether the Chinese character font includes Chinese character pinyin beginning with the received letter; and processing module for retrieving the inclusion from the Chinese character font When the Chinese character at the beginning of the received letter is pinyin, it is confirmed that it is located in the received Chinese pinyin. The next legal letter after the mother, thereby confirming the matching letter; the display module is configured to display the virtual keyboard corresponding to the matching letter on the touch screen when the matching letter is confirmed, and only the matching letter corresponding to the virtual keyboard is displayed on the virtual keyboard. Virtual Key. 如申請專利範圍第1項所述之拼音輸入系統,所述的顯示模組還用於當接收的是所設定的單字分隔符號時,刷新顯示所設定的初始化虛擬鍵盤;所述的判斷模組還用於判斷是否輸入完畢。 The pinyin input system of claim 1, wherein the display module is further configured to: when the received single word separator is received, refresh the display of the initialized virtual keyboard; the determining module Also used to determine whether the input is complete. 如申請專利範圍第1項所述之拼音輸入系統,所述的處理模組還用於當所述漢字字庫不包括以該已接收的字母開頭的漢字拼音時,返回一個提示資訊。 The processing module is further configured to return a prompt information when the Chinese character font does not include the Chinese character pinyin beginning with the received letter, as in the pinyin input system of claim 1. 一種拼音輸入方法,應用於電子裝置,該電子裝置包括儲存有漢字字庫 的儲存裝置及觸控螢幕,該方法包括如下步驟:設定一個於所述觸控螢幕上顯示的初始化虛擬鍵盤以及設定一個單獨的虛擬按鍵作為單字分隔符號;當所述電子裝置進入拼音模式的編輯狀態後,於所述觸控螢幕上顯示所設定的初始化虛擬鍵盤,並接收用戶輸入的字母或字串;當所接收的不是所設定的單字分隔符號時,根據已接收的字母檢索所述漢字字庫,並判斷漢字字庫中是否包括以已接收的字母開頭的漢字拼音;當從所述漢字字庫檢索出包括以該已接收的字母開頭的漢字拼音時,確認在該檢索出的漢字拼音中位於該已接收的字母後的下一個合法字母,從而確認匹配字母,以及在觸控螢幕上顯示該匹配字母對應的虛擬鍵盤,該虛擬鍵盤上僅顯示匹配字母所對應的虛擬按鍵。 A pinyin input method is applied to an electronic device, which includes a Chinese character font stored therein Storage device and touch screen, the method comprising the steps of: setting an initial virtual keyboard displayed on the touch screen and setting a single virtual key as a single word separator; when the electronic device enters the edit mode of the pinyin mode After the state, the set initial virtual keyboard is displayed on the touch screen, and the letter or string input by the user is received; when the received single word separator is not received, the Chinese character is retrieved according to the received letter. a font library, and determining whether the Chinese character font includes Chinese character pinyin beginning with the received letter; when the Chinese character pinyin including the received letter is retrieved from the Chinese character font, the confirmation is located in the retrieved Chinese pinyin The next legal letter after the received letter, thereby confirming the matching letter, and displaying the virtual keyboard corresponding to the matching letter on the touch screen, and only the virtual button corresponding to the matching letter is displayed on the virtual keyboard. 如申請專利範圍第4項所述之拼音輸入方法,該方法還包括:當所接收的是所設定的單字分隔符號時,刷新顯示所設定的初始化虛擬鍵盤。 The method as claimed in claim 4, wherein the method further comprises: when the received single word separator is received, refreshing and displaying the set initial virtual keyboard. 如申請專利範圍第4項所述之拼音輸入方法,該方法還包括:若無法從所述漢字字庫中檢索出以該已接收的字母開頭的漢字拼音時,返回一個提示資訊。 The method as claimed in claim 4, wherein the method further comprises: returning a prompt information if the Chinese character pinyin beginning with the received letter cannot be retrieved from the Chinese character library. 如申請專利範圍第4項所述之拼音輸入方法,該方法還包括:當接收到發送資訊的按鍵指令或接收到退出當前編輯狀態的按鍵指令時,結束流程;或當未接收到發送資訊的按鍵指令或退出當前編輯狀態的按鍵指令,返回至接收用戶所輸入的字母或字串的步驟。 The method for inputting pinyin according to item 4 of the patent application, the method further comprising: ending the process when receiving a button command for transmitting the information or receiving a button command to exit the current editing state; or when the message is not received. The button command or the button command to exit the current editing state returns to the step of receiving the letter or string input by the user.
TW99102762A 2010-02-01 2010-02-01 System and method for pinyin input TWI472956B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW99102762A TWI472956B (en) 2010-02-01 2010-02-01 System and method for pinyin input

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW99102762A TWI472956B (en) 2010-02-01 2010-02-01 System and method for pinyin input

Publications (2)

Publication Number Publication Date
TW201128453A TW201128453A (en) 2011-08-16
TWI472956B true TWI472956B (en) 2015-02-11

Family

ID=45025220

Family Applications (1)

Application Number Title Priority Date Filing Date
TW99102762A TWI472956B (en) 2010-02-01 2010-02-01 System and method for pinyin input

Country Status (1)

Country Link
TW (1) TWI472956B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI485668B (en) * 2013-01-24 2015-05-21 Univ Fooyin Spelling learning program, readable and recordable medium using the same and portable device using the same

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW546943B (en) * 1999-04-29 2003-08-11 Inventec Corp Chinese character input method and system with virtual keyboard
US20080126073A1 (en) * 2000-05-26 2008-05-29 Longe Michael R Directional Input System with Automatic Correction
US7487461B2 (en) * 2005-05-04 2009-02-03 International Business Machines Corporation System and method for issuing commands based on pen motions on a graphical keyboard
TW200941293A (en) * 2008-03-20 2009-10-01 E Ten Information Sys Co Ltd Virtual key input method and its applications

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW546943B (en) * 1999-04-29 2003-08-11 Inventec Corp Chinese character input method and system with virtual keyboard
US20080126073A1 (en) * 2000-05-26 2008-05-29 Longe Michael R Directional Input System with Automatic Correction
US7487461B2 (en) * 2005-05-04 2009-02-03 International Business Machines Corporation System and method for issuing commands based on pen motions on a graphical keyboard
TW200941293A (en) * 2008-03-20 2009-10-01 E Ten Information Sys Co Ltd Virtual key input method and its applications

Also Published As

Publication number Publication date
TW201128453A (en) 2011-08-16

Similar Documents

Publication Publication Date Title
US10775967B2 (en) Context-aware field value suggestions
TWI394065B (en) Multiple predictions in a reduced keyboard disambiguating system
US8253709B2 (en) Electronic device and method for predicting word input
JP6450768B2 (en) Quick task for on-screen keyboard
US20140289618A1 (en) Character string replacement
CN104756061A (en) Multi-gesture text input prediction
TW200305099A (en) Entering text into an electronic communications device
US20170270092A1 (en) System and method for predictive text entry using n-gram language model
US20110161859A1 (en) Electronic device and method for pinyin input
WO2022089594A1 (en) Information display method and apparatus, and electronic device
US20140089841A1 (en) Device and method for providing application interface based on writing input
WO2022135474A1 (en) Information recommendation method and apparatus, and electronic device
WO2022247789A1 (en) Candidate word update method and apparatus, and electronic device
CN101369209B (en) Hand-written input device and method for complete mixing input
WO2022105754A1 (en) Character input method and apparatus, and electronic device
JP2002132429A (en) Method and device for inputting character and storage medium
TW201104501A (en) Device and method for inputting Chinese character
TWI472956B (en) System and method for pinyin input
WO2023045920A1 (en) Text display method and text display apparatus
WO2016107611A1 (en) Method and device for text search for mobile terminal
JP2008117310A (en) Dictionary retrieval device and dictionary retrieval processing program
TW201931070A (en) Chinese character input device and chinese character input method using same
TW200837640A (en) Handwriting recognition system and method
US20120174019A1 (en) Electronic device with typing prompt function and typing prompt method thereof
TWI238947B (en) Method and device for keying in a Chinese short sentence on a portable device

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees