Embodiment
The present invention can join in the various input method of Chinese character (such as phonetic, stroke, sound shape etc.) that use numeric keypad to carry out the Chinese character input, realizes the integrated mixing input of Chinese, English, numeral, punctuation mark.
The main points that realize technical solution of the present invention are:
1, three switch keys setting up (" digital upper screen key ", " English upper screen key " and " punctuation mark key ") must be the buttons that had not used under the input in Chinese state.
Can be used for importing and editing the keypad of Chinese character, at least Should Be 10 numerical key, 4 directionkeys and definite key (0K key), delete key, * key and # key.The present invention is based on above-mentioned key, so that compatible various numeric keypad;
In the input of keypad Chinese character, three kinds of basic status are arranged, that is: original state, outer sign indicating number input state, repeated code selection mode; Each button effect difference under different conditions, under in original state, the cursor that 4 directionkeys are used for controlling the screen text area moves, and delete key is used for deleting the indicated Chinese character of text area cursor, begins outer sign indicating number input etc. with numerical key; At the repeated code selection mode, the available digital key carries out repeated code district page turning or the like at repeated code district word selection with the left and right directions key; And outside the sign indicating number input state, will with down directionkeys and right key control repeated code option, with delete key return delete the outer sign indicating number inputed by mistake, with definite key outward a yard input state be transformed to the repeated code selection mode, so three switch keys setting up are selected in still untapped " upturning key ", " key is turned on a left side ", " # key ", " the * key " under the sign indicating number input state outside.Can get three arbitrarily in above-mentioned four keys, preferred plan is to adopt " upturning key ", " # key ", " * key " three keys.
Corresponding relation between three switch keys and three the key positions can arrange by oneself according to custom, but " punctuation mark key " must be arranged on " the # key " or " * key " that had not also used under the original state.
2, the input modes such as English, numeral and punctuation mark are brought into input in Chinese, realize the integrated treatment of literal input.
The principal character of integrated treatment is the pardon of outer code.Under the outer code input state, directly input digit, English outer code and punctuation mark code namely need not to switch input mode in advance, also need not to increase any identifier.When the input outer code, although acquiescence is retrieved by Chinese outer code, also uncertain this outer code is Chinese outer code, until the outer code input is complete.
3, when outer code is totally lost, presses different switch keys and show it is that any outer code input is complete, and do corresponding processing according to outer code of different nature.
When carrying out input in Chinese on keypad, digital keys is must be multiplexing.Import outer code (input state) with numerical key and selecting to be switched with special key (or other alternative) between repeated code (the heavy state of the choosing) two states with numerical key, this handoff functionality is defined in "OK button" (OK key) upper (also the method for available " long pressing " numerical key reaches same purpose) usually, with newly-increased three switch keys (" digital upper screen key ", " English upper screen key " and " punctuation mark key ") arranged side by side with definite key, after outer code is totally lost, if by "OK button" remain enter in selected works repeated code state, the same with former Chinese language input way; If this moment not according to definite key press " digital upper screen key " then outer code as digital processing; If this moment by be " English upper screen key " then outer code process as English outer code; If this moment press be " punctuation mark key " then outer code process as the punctuation mark outer code.
This shows that input in Chinese is after sign indicating number is totally lost outside, and is essential by a key switching state, so three switch keys that will increase newly are arranged side by side with it, do not increase stroke.And the one group of switch key that uses on this same opportunity has consisted of quick switching system.
4, for guaranteeing the compatibility to all kinds of Chinese character coding input methods, the present invention does not destroy the leading position of input in Chinese in input process.
In the outer code input process, before not yet determining outer code character by switch key, always earlier outer code is defaulted as Chinese outer code and retrieves and the repeated code prompting, whole input process and original input in Chinese are in full accord.The Chinese retrieval program that just requires software during sign indicating number, is not destroyed this outer sign indicating number outside can not find out certain.
5, after pressing " digital upper screen key ", the outer sign indicating number of having imported is taken as the text area that a string arabic numeral are served screen;
If under the input in Chinese state, import Arabic numerals 139, can directly press numerical key 1,3,9, click again " digital upper screen key ", 139 text areas of being served screen then, this input is just accused and is finished, and can continue input Chinese, English, punctuation mark or another group numeral; Input is during Arabic numerals, and the Chinese retrieval result of the acquiescence that shows for the repeated code district can ignore.
The numeral of each input is at least 1 figure place, mostly is most more than 8 figure places, can decide according to the size of outer code display window; If the numeric string of required input is oversize, can be divided into many group inputs.
6, after pressing " English upper screen key ", the outer code of having imported is taken as English outer code, is translated into some English word strings, chooses the text area of screen for the user;
Under the input in Chinese state, directly outer yard of inputting English letter or word.During input alphabet, the outer code of being totally lost is just pressed " English upper screen key " and is selected by repeated code, and the screen text district served in required letter; Input is during word, presses " English upper screen key " after import one group of outer code corresponding with word again, passes through Intelligent treatment the screen text district chosen in required word; After input is finished, can continue input Chinese, numeral, punctuation mark or another English alphabet or English word; When importing English outer code, the Chinese retrieval result of the acquiescence that shows for the repeated code district can ignore.
7, after pressing " punctuation mark key ", imported outer code that outer code is taken as punctuation mark and be converted to punctuation mark and serve text area,, press " punctuation mark key " then shows punctuation mark in the repeated code district first page if when not importing outer code, and page-turnable has been searched.
Under the input in Chinese state, direct inputting punctuation mark outer code.As import outer sign indicating number 1, and press " punctuation mark key ", then the text area of screen served in comma.Punctuation mark can be by voluntarily layout outer code of its usage frequency.During the inputting punctuation mark outer code, the Chinese retrieval result of the acquiescence that shows for the repeated code district can ignore.
As special case, under original state, namely do not import in the situation of any outer code, also can press " punctuation mark key ", at this moment, can show in the repeated code district first page of punctuation mark table, and select punctuation mark with numerical key, this be for common way compatibility." punctuation mark key " can only be defined on " # " number key or " * " number key for this reason, because under original state, the four direction key is commonly used to control moving of screen text area cursor.
8, the outer code input state is switched to the repeated code selection mode, except with the "OK button", also can adopt flexible method;
Carrying out Chinese character when input with keypad, is the repeated code selection mode from the outer code input state variable, usually will be with special-purpose button, such as "OK button" (OK key), enter the repeated code selection mode after, in the repeated code district, select Chinese character to shield with numerical key again.A kind of method of accommodation is: the corresponding numerical key of numbering with " long pressing " Chinese character repeated code is selected to shield on the Chinese character." long press " namely pressed numerical key and treated to unclamp this key after certain time-delay again, shows that with this this numerical key of pressing is not that outer code is imported but selected repeated code.This method is with to press definite key (OK key) more identical with the numerical key effect that word selection shields in the Chinese character repeated code.
9, this programme emphasize applicability and dirigibility
The present invention can use the literal input mode (as: phonetic, stroke, sound shape or the like) of keypad to match with any one; " English upper screen key " can also be replaced with other foreign language upper screen key; If extra function key is arranged on the keypad, also can the function key that these are special-purpose be defined as " digital upper screen key ", " English upper screen key " and " punctuation mark key ".
This programme can adopt the preferred plan of following keys arrangement in force:
1, come to shield on the control figure with " upturning key ", be referred to as " digital upper screen key " (referring to accompanying drawing 1), after the click " digital upper screen key ", the outer sign indicating number of having imported is taken as the text area that a string arabic numeral are served screen;
2, " * key " controlled English (foreign language) and gone up screen, be referred to as " English upper screen key " (referring to accompanying drawing 1), after the click " English upper screen key ", the outer sign indicating number of having imported is taken as English outer sign indicating number, translate into some English alphabets or English word, choose the text area of screen for the user;
3, control the selection of punctuation mark with " # key ", this function key is referred to as " punctuation mark key " (referring to accompanying drawing 1), click on " punctuation mark key ", having imported outer yard code conversion that is taken as punctuation mark is that punctuation mark is served text area, if when importing outer yard, press " punctuation mark key " and then show first page of punctuation mark, and page-turnable is searched in the repeated code district.
4, for the Chinese character outer code of input, can press common way click " acknowledgement key " (ok key) and enter the repeated code selection mode, select on the Chinese character with corresponding numeral again and shield; Also can adopt the simple and easy method of " long pressing " numerical key, screen chosen in Chinese character corresponding to numbering in the repeated code district.
This programme method of specific implementation Chinese, English, numeral, the integrated mixing input of punctuation mark in force is:
When outside Chinese character, importing Chinese character under the sign indicating number input state, after running into numeral, English or punctuation mark, input method need not be switched, the outer sign indicating number of English outer sign indicating number, numeral or punctuation mark can be directly beaten.After outer code is totally lost, if what import is the Chinese character outer code, then press "OK button" (OK key)+numerical key, or adopt the method for " long press " numerical key, carry out the selection of Chinese character repeated code; If what import is digital outer code, then by " digital upper screen key ", outer code is directly served the screen text district as Arabic numerals; If what import is English outer code, then by " English upper screen key ", changes English outer code over to and process; If what import is the punctuation mark outer code, then press " punctuation mark key ", change the conversion of punctuation mark outer code and upper screen over to, omit the punctuation mark outer code, directly press " punctuation mark key ", can show in the repeated code district first page of punctuation mark table, can therefrom select required punctuation mark.After defeated content is admitted to the screen text district, can continue to import Chinese, English, numeral, punctuation mark outer code that next group needs input, until import in full completely, all need not to switch input mode, remain on the Chinese character input state always.
Below be that the concrete operations behind adding the present invention are given an example in Chinese phonetic alphabet input method:
", concrete operations are as follows:
1, press numerical key 3 and 9, by " upturning key " (digital upper screen key), numeral 39 is served the screen text district; (seeing accompanying drawing 3)
2, by " number " numerical key 426 of the phonetic HAO correspondence of word, Chinese character " number " word is presented at the 2nd position of repeated code candidate row of screen, " long by " numerical key 2, will " number " word serves the screen text district;
3, by the corresponding numerical key 9426 of phonetic XIAO of " little " word, Chinese character " little " word is presented at the 2nd position, repeated code district, and " long pressing " numerical key 2 is served the screen text district with " little " word; Subsequently, the Chinese character that association function goes out association is presented at the repeated code district, and wherein " elder sister " word is presented at the 3rd position, and " long pressing " figure key 3 is served the screen text district with " elder sister " word; (seeing accompanying drawing 4)
4, press numerical key 2,3,2,8,8 successively, input alphabet b, e, a, u, t again by " * " number key (English upper screen key), show beautiful at repeated code district default location, press acknowledgement key, and then English word " beautiful " is gone up screen; (seeing accompanying drawing 5, Fig. 6)
5, by " # " number key (punctuation mark key), required symbol "! " be presented at the 4th position, repeated code district, with numerical key 4 select symbols "! " go up and shield.(seeing accompanying drawing 7)
" import and finish, input mode is always the phonetic mode.(seeing accompanying drawing 8)