Technology contents
The object of the present invention is to provide a kind of method with digital keys input characters character, this input ratio juris and technical scheme are as follows:
A, on digital keys, continuously button is imported a character for twice;
B, its mathematical model are: on N digital keys, import M English alphabet and character, wherein N, M are natural number, and N<M; Corresponding N digital keys set up N character set, makes character set of each digital keys correspondence; M English alphabet and character be assigned in N the character set and to the character in each character set sort, make the corresponding digital keys of the sequence number of character in character set; Determine character set with first key, second key is determined the sequence number of character in character set, thereby reaches the purpose that continuous button is determined a character for twice.
The present invention may be used on adopting N digital keys, imports M character, and the control panel of N<M, telepilot and telephone set.
The two-key input method principle
1〉mathematical model
1,2 ... N, altogether on N digital keys, (wherein N, M are natural number, N<M) to import M English alphabet such as a, b, c...... and character.
2〉solution---two-key input method
Because N<M can not set up relation one to one between character and the digital keys, but the corresponding a plurality of different characters of digital keys can not adopt " single-key input method ".We divided for three steps considered:
1. be limited owing to M, we are assigned to N the pairing character set of digital keys with M character, thereby form N character set.N digital keys N character set generation one-to-one relationship therewith like this, 1,2 ... N, altogether.This also is first key in the two-key input method, and promptly first key is determined character set.
2. consider any I pairing character set T of digital keys (I), wherein 0≤I≤N.We to this character set sort T1, T2 ..., the sequence number 1,2 of ordering ... then corresponding certain character of specially setting, thus make sequence number and character produce one-to-one relationship.
3. 1. go on foot M character is assigned to N the pairing character set of digital keys, thereby form in the process of N character set, consider that the character number in the practical application is very limited, we stipulate that the number of characters in all character set must not be greater than the digital keys number.With this understanding, with the character in character set ordering number with digital keys 1,2 ... N represents, like this, the character that the numeral on the digital keys is just concentrated with respective symbols produces one to one and concerns.This also is second key in the two-key input method, and promptly second key table shows the sequence number of concrete character in this character set.
Embodiment
One, the application of the present invention on telepilot, its embodiment is:
A. according to 1,2,3...N digital keys set up N character set, makes the corresponding character set of each digital keys;
B. with M English alphabet such as a, b, c...... and character is assigned in N the character set and the character in each character set is sorted, make the sequence number of character in character set corresponding a digital keys, wherein N<M;
C. determine character set with first key, second key is determined the sequence number of character in character set, thereby reaches the purpose that two keys are determined a character.
3 * 4 digital keys on the telepilot are as shown in Figure 3.
1〉principle of work of telepilot
Accompanying drawing 2 is electrical schematic diagrams of telepilot, it by radiating circuit, monolithic MPU, and sweep circuit form.Among the figure, single-chip microcomputer MPU ceaselessly scans 3 * 4 digital keys on the telepilot by sweep circuit.When single-chip microcomputer MPU measures certain key by by after once, it is sent to the radiating circuit emission with " numeral " of this key correspondence, after wideband set-top box receives the signal of telepilot, start function corresponding.
2〉application of two-key input method on telepilot
For 26 English alphabets such as input ABCD... etc. on 12 digital keys of accompanying drawing 3, "<", "! ", "? " ... wait 16 conventional characters and " Del " " Enter " ... wait 4 simple editing functions, we at first are divided into them 12 character set and arrange precedence as shown in Figure 1.
In the accompanying drawing 1, the top of each digital keys has all been set corresponding character set and has been sorted.Digital keys for example
Character set be D2EF}, and wherein " D " row No. 1, " 2 " row No. 2, " E " row No. 3, " F " row No. 4.Our regulation of contrast accompanying drawing 1:
1〉first key is determined character set.
2〉second key table shows the sequence number of concrete character in this character set.
3〉epistasis regulation: the double-click digital keys is imported the numeral on this key, as double-clicking
Key input digit " 3 " is double-clicked
Defeated as numeral " 8 ".
We illustrate these 3 regulations (that is concrete application of two-key input method).
Example 1, input alphabet " E ":
1. character " E " is in digital keys
Character set, so press for the first time
Key;
2. { ordering is No. 3 to character " E " among the D2EF}, so press for the second time in character set
Key;
3. the single-chip microcomputer MPU of telepilot does not handle at once, but waits for digital keys for the second time by in 3 * 4 digital keys of sweep circuit on measuring above-mentioned Fig. 1 telepilot for the first time during digital keys among Fig. 2.In actual applications, we can stipulate that the time interval of twice digital keys must not surpass 2 seconds, otherwise digital keys cancels for the first time.
When 4. the single-chip microcomputer MPU of telepilot measures for the second time digital keys in official hour, learn that this twice digital keys is
Key according to accompanying drawing 1 and three regulations, is delivered to letter " E " radiating circuit immediately and is gone emission.
5. after set-top box receives " E ", promptly be engraved in and show letter e on the screen.
Example 3, input " 5 ": double-click
Get final product.
Example 4, input " paul@21cn.com "
1. press
Produce " p "
Press
Produce " u "
2. double-click
Produce " @ "
Double-click
Produce " 2 "
Double-click
Produce " 1 "
4. double-click
Produce " "
Two, the application of the present invention on telephone set, its embodiment is:
A. according to 1,2,3...N digital keys set up N character set, makes the corresponding character set of each digital keys;
B. with M English alphabet such as a, b, c...... and character is assigned in N the character set and the character in each character set is sorted, make the sequence number of character in character set corresponding a digital keys, wherein N<M;
C. determine character set with first key, second key is determined the sequence number of character in character set, thereby reaches the purpose that two keys are determined a character.
3 * 4 digital keys on the telephone set as shown in Figure 4.
For 26 English alphabets such as input ABCD... etc. on 12 digital keys of accompanying drawing 4, "<", "! ", "? " ... wait 16 conventional characters and " Del " " Enter " ... wait 4 simple editing functions, we at first are divided into them 12 character set and arrange precedence as shown in Figure 4.
In the accompanying drawing 4, the top of each digital keys has all been set corresponding character set and has been sorted.Digital keys for example
Character set be D2EF}, and wherein " D " row No. 1, " 2 " row No. 2, " E " row No. 3, " F " row No. 4.Our regulation of contrast accompanying drawing 4:
4〉first key is determined character set.
5〉second key table shows the sequence number of concrete character in this character set.
6〉epistasis regulation: the double-click digital keys is imported the numeral on this key, as double-clicking
Key input digit " 3 " is double-clicked
Defeated as numeral " 8 ".
We illustrate these 3 regulations (that is concrete application of two-key input method).
Example 1, input alphabet " E ":
6. character " E " is in digital keys
Character set, so press for the first time
Key;
7. { ordering is No. 3 to character " E " among the D2EF}, so press for the second time in character set
Key;
Example 2, input " x ":
Example 3, input " 5 ": double-click
Get final product.
Three, two-key input method application in other respects
Two-key input method can be widely applied to and can only adopt a small amount of digital keys, but will control the multinomial function of many machines or certain machine or require the more multicharacter occasion of input.
For example, we will import 60 common characters or function, corresponding two-key input method principle, N=12, M=60 on mobile phone 3 * 4 standard digital buttons.At this moment, these 60 characters are divided into 12 or be less than 12 character set and the character in the character set is sorted, make maximum ordering number less than 12, then can adopt the application process on the above-mentioned similar telepilot, solve the difficulty of input character in the mobile phone.