CN101655742B - Key inputting method for mobile communication terminal - Google Patents

Key inputting method for mobile communication terminal Download PDF

Info

Publication number
CN101655742B
CN101655742B CN2009101898938A CN200910189893A CN101655742B CN 101655742 B CN101655742 B CN 101655742B CN 2009101898938 A CN2009101898938 A CN 2009101898938A CN 200910189893 A CN200910189893 A CN 200910189893A CN 101655742 B CN101655742 B CN 101655742B
Authority
CN
China
Prior art keywords
java
key
triggered
button
character
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
Application number
CN2009101898938A
Other languages
Chinese (zh)
Other versions
CN101655742A (en
Inventor
杨彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN2009101898938A priority Critical patent/CN101655742B/en
Publication of CN101655742A publication Critical patent/CN101655742A/en
Application granted granted Critical
Publication of CN101655742B publication Critical patent/CN101655742B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The invention is suitable for the technical field of mobile communication terminals, and provides a key inputting method of a mobile communication terminal. The method comprises the following steps: a. inquiring a Java enumerating key value of a triggered key, transmitting the enumerating key value of the triggered key to a Java program; b. judging whether an upper row of numbers/characters of the triggered key is needed to be input or not by the Java program, if soothe upper row of numbers/characteristics of the triggered key is needed to be input by the Java program, turning to a step c, and otherwise, turning to a step d; c. inquiring the upper row of numbers/characters corresponding to the Java enumerating key value to obtain the numbers/characters corresponding to the Java enumerating value; d. inquiring lower-case characters corresponding to the Java enumerating key value to obtain the lower-case characters corresponding to the Java enumerating key value; e. judging the state of the Caps key and determining if the upper-case characters should be inputted according to the judgment result. The technical scheme ensures that the mobile communication terminal can directly input and display a full keyboard and irregular keyboard characters in the Java program, keep the independence of the Java program and easily carry out a multilingual expanding at the same time so that the experience of a user is obviously improved.

Description

Key inputting method for mobile communication terminal
Technical field
The invention belongs to the mobile communication terminal technical field, relate in particular to a kind of key inputting method for mobile communication terminal.
Background technology
Existing mobile communication terminal, like mobile phone, its function that can realize is more and more, and the keyboard of mobile communication terminal is as the implementation tool of man-machine interaction, and its importance is self-evident.
Mobile communication terminal is on the basis of traditional 12 key products, and various full keyboards and irregular keyboard product continue to bring out, to make things convenient for user's input character more quickly.In the local loading routine of mobile communication terminal; Platform (the general designation of the operating system of product and button handling procedure; Down with) can the writing function bonded state be presented on the interface with the prompting user with the input language setting and with it, guarantee that the input of user's expection conforms to reality input.And for java applet, owing to lack standard interface, the button value of full keyboard and irregular keyboard itself is difficult to transmitted, and realize in java applet that character directly imports the difficult point of demonstration and just be this.Existing mobile communication terminal; For the java applet in the product; Owing to lack standard and technical scheme that full keyboard and irregular keypad character directly transmit, can only pass through a plurality of interfaces and switch the local loading routine realization character input of calling product, particularly inconvenience during use.
Therefore, need a kind of technical scheme, to solve the above problems.
Summary of the invention
The object of the present invention is to provide a kind of key inputting method for mobile communication terminal, be intended to solve the problem that full keyboard or irregular keypad character are directly imported demonstration.
The present invention is achieved in that a kind of key inputting method for mobile communication terminal, and described method comprises:
A, inquiry the be triggered key assignments of button and the mapping relations that Java enumerates key assignments, the Java that obtains the said button that is triggered enumerates key assignments, the Java of the said button that is triggered is enumerated key assignments be delivered to java applet;
B, said java applet judge whether to import the row's of going up numeral/symbol of the said button that is triggered, if change step c, otherwise change steps d;
C, the said Java of inquiry enumerate the mapping relations of key assignments and last row's numeral/symbol, obtain said Java and enumerate numeral/symbol that key-value pair is answered, and the numeral/symbol that is obtained as should characters displayed, be finished the input of this button that is triggered;
D, the said Java of inquiry enumerate the mapping relations of key assignments and lowercase character, obtain said Java and enumerate the lowercase character that key-value pair is answered;
E, said java applet are judged the Caps bonded state; Determine whether import upper case character according to judged result; Convert the lowercase character that is obtained into corresponding upper case character in this way, the upper case character of being changed as should characters displayed, be finished the input of this button that is triggered; Otherwise said lowercase character as should characters displayed, be finished the input of this button that is triggered.
More specifically, wherein the be triggered key assignments of button and mapping relations that Java enumerates key assignments of inquiry are specially:
Inquiry button key assignments and Java enumerate key assignments mapping relations table.
More specifically, wherein step b is specially:
Said java applet is judged the state of Fn key/shift key, determines whether to import the row's of going up numeral/symbol of the said button that is triggered according to judged result, if change step c, otherwise change steps d.
More specifically, wherein inquiring about the mapping relations that Java enumerates key assignments and last row's numeral/symbol is specially:
Inquiry Java enumerates the mapping relations table of key assignments and last row's numeral/symbol.
More specifically, wherein steps d is specially:
Said java applet is judged current input language setting, and the corresponding Java of inquiry current language enumerates the mapping relations table of key assignments and lowercase character, obtains said Java and enumerates the lowercase character that key-value pair is answered.
More specifically, wherein also comprise steps d 1 after the steps d before the step e:
Judge that said Java enumerates the lowercase character that key-value pair answers and whether has variant, if the corresponding Java of inquiry current language enumerates the mapping relations table of key assignments and lowercase character, obtains said Java and enumerates the lowercase character variant that key-value pair is answered; Otherwise obtain said Java and enumerate the lowercase character that key-value pair is answered.
More specifically, if there is variant, wherein obtains said Java and also comprise after enumerating the lowercase character variant that key-value pair answers:
Said java applet is judged the Caps bonded state; Determine whether import upper case character according to judged result; Convert the lowercase character variant that is obtained into corresponding upper case character in this way, the upper case character of being changed as should characters displayed, be finished the input of this button that is triggered; Otherwise said lowercase character variant as should characters displayed, be finished the input of this button that is triggered.
The present invention overcomes the deficiency of prior art; When the button on mobile communication terminal full keyboard or the irregular keyboard is triggered; The platform of mobile communication terminal is ignored its current input state, with the key assignments of the button that is triggered convert into and be triggered button one to one Java enumerate key assignments, be delivered to java applet; Carry out the control of input state then in java applet inside, search this Java and enumerate the key assignments corresponding characters.Technical scheme provided by the invention makes mobile communication terminal can in java applet, directly import the technical scheme that shows full keyboard and irregular keypad character; And when keeping java applet independence, be easy to carry out multilingual expansion; Thereby significantly improve user experience, need the java applet advantage of frequent input character particularly evident for MSN chat grade.
Description of drawings
Fig. 1 is an embodiment of the invention process flow diagram.
Embodiment
Technical scheme provided by the invention is: when the button on mobile communication terminal full keyboard or the irregular keyboard is triggered; The platform of mobile communication terminal is ignored its current input state; With the key assignments of the button that is triggered convert into and be triggered button one to one Java enumerate key assignments; Be delivered to java applet, carry out the control of input state then in java applet inside, search this Java and enumerate the key assignments corresponding characters.
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
On mobile communication terminal, intensify more for making product, a key is many with being very common situation, and the keyboard of mobile communication terminal can be divided into two types usually:
1) enter key: same enter key can be distinguished input digit/symbol/upper case character/lowercase character or the like under different situations;
2) function key: the concrete input content of control enter key, function key commonly used has (concrete function key definition and control law depend on keyboard Designing):
A) Fn key/shift key: the input of control enter key is gone up row's numeral/symbol or (is for example set up type symbol down; By the row of going up of expression input next time numeral/symbol; Press twice expression and import the row's of going up numeral/symbol continuously, press set up type under three expression inputs symbol, so circulation)
B) Caps key: control input upper case character or lowercase character (for example,, press twice expression and import upper case character " ABC " continuously, press expression input lowercase character " abc " three times, so circulation) by the upper case character " Abc " of expression input next time
In addition; The input language setting also can be controlled the character of enter key input; And there is variant in some character of some language; Need further to judge with which character of decision input (for example: corresponding E/
Figure DEST_PATH_GSB00000504054200031
Ё of E key), input language can be provided with through menu item usually in the input behavior.
Process flow diagram of the present invention is as shown in Figure 1, specifically comprises following step:
1, the user triggers the button on the mobile communication terminal;
2, the platform of mobile communication terminal is ignored its current input state, inquires about the be triggered key assignments of button and the mapping relations table that Java enumerates key assignments, converts button value into corresponding Java and enumerates key assignments, is delivered to java applet then;
Wherein, the Java that each enter key is corresponding enumerates key assignments and can directly adopt english lower case unicode sign indicating number:
Figure DEST_PATH_GSB00000504054200032
Figure DEST_PATH_GSB00000504054200041
Button value and Java enumerate the mapping table of key assignments shown in table one:
Physical button Java enumerates key assignments Push-button type
A a(U+0061) Enter key
B b(U+0062) Enter key
C c(U+0063) Enter key
D d(U+0064) Enter key
E e(U+0065) Enter key
F f(U+0066) Enter key
G g(U+0067) Enter key
H h(U+0068) Enter key
I i(U+0069) Enter key
J j(U+006a) Enter key
K k(U+006b) Enter key
L l(U+006c) Enter key
M m(U+006d) Enter key
N n(U+006e) Enter key
O o(U+006f) Enter key
P p(U+0070) Enter key
Q q(U+0071) Enter key
R r(U+0072) Enter key
S s(U+0073) Enter key
T t(U+0074) Enter key
U u(U+0075) Enter key
V v(U+0076) Enter key
W w(U+0077) Enter key
X x(U+0078) Enter key
Y y(U+0079) Enter key
Z z(U+007a) Enter key
Soft1 -6 Function key
Soft2 -7 Function key
Up -1 Function key
Down -2 Function key
Left -3 Function key
Right -4 Function key
Del -8 Function key
Select -5 Function key
Mail -23 Function key
Camera -24 Function key
Fn/Shift -34 Function key
Caps -37 Function key
SYM?Lg -39 Function key
Ctrl -38 Function key
Return -41 Function key
Table one
3, java applet is judged Fn key/shift key state, confirm import row's numeral/symbol according to judged result? In this way, change step 4, otherwise change step 5;
4, inquiry Java enumerates the mapping table of key assignments and last row's numeral/symbol, obtains the input value that show (on arrange numeral/symbol)
The mapping table that Java enumerates key assignments and last row's numeral/symbol writes in the jad file of java applet with text mode according to following form, thereby is convenient to maintenance and expansion:
Formal definition:
The mapping table sign of numeral/symbol: Java enumerates key assignments 1=numeral/symbol 1; Java enumerates key assignments 2=numeral/symbol 2...
Instance:
Private-Key-Symbols:q=#?w=1?e=2?r=3?t=(y=)u=_i=-o=+p=a=*
s=4?d=5?f=6?g=/h=:j=;k=’l=”z=7?x=8?c=9?v=?b=!n=,m=.
5, java applet is judged current input language setting, inquires about the mapping table that the corresponding Java of current input language enumerates key assignments and lowercase character, judges whether this lowercase character exists variant, then changes step 6 in this way; As otherwise change step 7;
The mapping table that Java enumerates key assignments and various input language lowercase characters writes in the jad file of java applet with text mode according to following form, thereby is convenient to maintenance and expansion:
Formal definition:
The mapping table of certain input language lowercase character sign: Java enumerate key assignments 1=lowercase character 1 lowercase character 1 variant 1 (if any) lowercase character 1 variant 2 (if any) ... Java enumerate key assignments 2=lowercase character 2 lowercase character 2 variant 1 (if any) lowercase character 2 variant 2 (if any) ...
Instance:
Private-Key-English:q=q?w=w?e=e?r=r?t=t?y=y?u=u?i=i?o=o?p=p?a=a?s=s
d=d?f=f?g=g?h=h?j=j?k=k?l=l?z=z?x=x?c=c?v=v?b=b?n=n?m=m
Private-Key-French:q=q?w=w?e=e\é\è\ê\ё?r=r?t=t?y=y?u=u\ù? \ü?i=i\?
Figure DEST_PATH_GSB00000504054200062
o=o\? p=p?a=a\à\? s=s?d=d?f=f?g=g?h=h?j=j?k=k?l=l?z=z?x=x?c=c\?
Figure DEST_PATH_GSB00000504054200065
v=v?b=b?n=nm=m
6, enumerate key assignments according to Java and select to be triggered the corresponding lowercase character variant of button, change step 8 with corresponding lowercase character mapping table;
Specifically; Java applet starts timer, if before timer expiry, receive the same key incident that platform is sent, then gets the next variant of this character; Repeat this process then; Promptly between this button corresponding characters and variant thereof, carry out Cyclic Selection,, the last lowercase character variant of selecting before the timer expiry is confirmed as the corresponding lowercase character variant of button that is triggered up to timer expiry;
7, enumerate key assignments according to Java and select to be triggered the corresponding lowercase character of button, change step 8 with corresponding lowercase character mapping table;
8, java applet is judged the Caps bonded state, determines whether import upper case character according to judged result, then changes step 9 in this way, otherwise changes step 10;
9, the lowercase character variant that lowercase character that step 7 is obtained or step 6 are obtained converts corresponding upper case character into, as the input value that should show (upper case character);
10, the lowercase character variant that lowercase character that step 7 is obtained or step 6 are obtained is as the input value that should show.
If the user need be switched Caps bonded state or Fn key/shift key state; Platform can be enumerated key assignments with the Java of this function key correspondence and send java applet to; Like Caps key key assignments-37; Fn key/shift key key assignments-34, then by the state (be pressed several times) of java applet from this function key of line item, and the user is given in performance on the java applet interface.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (7)

1. key inputting method for mobile communication terminal, described method comprises:
A, inquiry the be triggered key assignments of button and the mapping relations that Java enumerates key assignments, the Java that obtains the said button that is triggered enumerates key assignments, the Java of the said button that is triggered is enumerated key assignments be delivered to java applet;
B, said java applet judge whether to import the row's of going up numeral/symbol of the said button that is triggered, if change step c, otherwise change steps d;
C, the said Java of inquiry enumerate the mapping relations of key assignments and last row's numeral/symbol, obtain said Java and enumerate numeral/symbol that key-value pair is answered, and the numeral/symbol that is obtained as should characters displayed, be finished the input of this button that is triggered;
D, the said Java of inquiry enumerate the mapping relations of key assignments and lowercase character, obtain said Java and enumerate the lowercase character that key-value pair is answered;
E, said java applet are judged the Caps bonded state; Determine whether import upper case character according to judged result; Convert the lowercase character that is obtained into corresponding upper case character in this way, the upper case character of being changed as should characters displayed, be finished the input of this button that is triggered; Otherwise said lowercase character as should characters displayed, be finished the input of this button that is triggered.
2. method according to claim 1 is characterized in that, wherein the be triggered key assignments of button and mapping relations that Java enumerates key assignments of inquiry are specially: inquiry button key assignments and Java enumerate key assignments mapping relations table.
3. method according to claim 1 is characterized in that, wherein step b is specially:
Said java applet is judged the state of Fn key/shift key, determines whether to import the row's of going up numeral/symbol of the said button that is triggered according to judged result, if change step c, otherwise change steps d.
4. method according to claim 1 is characterized in that, wherein inquire about the mapping relations that Java enumerates key assignments and last row's numeral/symbol and be specially: inquiry Java enumerates the mapping relations table of key assignments and last row's numeral/symbol.
5. method according to claim 1 is characterized in that wherein steps d is specially:
Said java applet is judged current input language setting, and the corresponding Java of inquiry current language enumerates the mapping relations table of key assignments and lowercase character, obtains said Java and enumerates the lowercase character that key-value pair is answered.
6. method according to claim 5 is characterized in that, wherein also comprises steps d 1 after the steps d before the step e:
Judge that said Java enumerates the lowercase character that key-value pair answers and whether has variant, if the corresponding Java of inquiry current language enumerates the mapping relations table of key assignments and lowercase character, obtains said Java and enumerates the lowercase character variant that key-value pair is answered; Otherwise obtain said Java and enumerate the lowercase character that key-value pair is answered.
7. method according to claim 6 is characterized in that, if there is variant, wherein obtains said Java and also comprises after enumerating the lowercase character variant that key-value pair answers:
Said java applet is judged the Caps bonded state; Determine whether import upper case character according to judged result; Convert the lowercase character variant that is obtained into corresponding upper case character in this way, the upper case character of being changed as should characters displayed, be finished the input of this button that is triggered; Otherwise said lowercase character variant as should characters displayed, be finished the input of this button that is triggered.
CN2009101898938A 2009-09-04 2009-09-04 Key inputting method for mobile communication terminal Expired - Fee Related CN101655742B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101898938A CN101655742B (en) 2009-09-04 2009-09-04 Key inputting method for mobile communication terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101898938A CN101655742B (en) 2009-09-04 2009-09-04 Key inputting method for mobile communication terminal

Publications (2)

Publication Number Publication Date
CN101655742A CN101655742A (en) 2010-02-24
CN101655742B true CN101655742B (en) 2012-03-28

Family

ID=41710049

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101898938A Expired - Fee Related CN101655742B (en) 2009-09-04 2009-09-04 Key inputting method for mobile communication terminal

Country Status (1)

Country Link
CN (1) CN101655742B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184076B (en) * 2011-05-30 2014-04-16 惠州Tcl移动通信有限公司 Method and device for controlling input of mobile terminal specific to JAVA program

Also Published As

Publication number Publication date
CN101655742A (en) 2010-02-24

Similar Documents

Publication Publication Date Title
CN101996049B (en) Virtual keyboard input method applied to embedded touch screen equipment
CN101398717B (en) Display variable keyboard and input method
US20100207870A1 (en) Device and method for inputting special symbol in apparatus having touch screen
KR20120006503A (en) Improved text input
TWI529600B (en) Input apparatus, input method, and associated computer-readable medium
CN101286096A (en) Digit, letter and punctuation and input mode direct switching method
JP2007514363A (en) Character / number input device for communication terminal and input method thereof
KR101240088B1 (en) Display apparatus and display method thereof
CN101963879A (en) Touch screen soft keyboard
CN104618781A (en) Method and device for inputting characters on television terminal
CN101655742B (en) Key inputting method for mobile communication terminal
US20050100147A1 (en) Text messaging without a keyboard
CN103955342A (en) Sudoko English keyboard
CN106686434A (en) Method and system for controlling soft keyboard through remote controller
CN101261544A (en) Character and input mode direct switching method
CN101241399B (en) Simple text input method and input device using the method
CN106168880A (en) A kind of method inputting control and terminal
CN102402304A (en) Character input method
KR20080095823A (en) Device and method for multilingual mailing capable of selecting text input mode
CN101206525A (en) Disorder input method
JP4602180B2 (en) Communication terminal device and communication program
KR20050110329A (en) Input device of character for mobilephone and the method thereof
CN101241398B (en) Simple text input method and input device using the method
KR100983727B1 (en) English alphabet inputting method for mobile phone
KR20070082777A (en) Mobile communication terminal and the method for having character input function

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120328