CN103197765B - Keyboard layout adjusting method - Google Patents

Keyboard layout adjusting method Download PDF

Info

Publication number
CN103197765B
CN103197765B CN201310078585.4A CN201310078585A CN103197765B CN 103197765 B CN103197765 B CN 103197765B CN 201310078585 A CN201310078585 A CN 201310078585A CN 103197765 B CN103197765 B CN 103197765B
Authority
CN
China
Prior art keywords
keyboard
user
word
button
key
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.)
Active
Application number
CN201310078585.4A
Other languages
Chinese (zh)
Other versions
CN103197765A (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.)
Shanghai Chule Cootek Information Technology Co Ltd
Original Assignee
Shanghai Chule Cootek Information Technology 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 Shanghai Chule Cootek Information Technology Co Ltd filed Critical Shanghai Chule Cootek Information Technology Co Ltd
Priority to CN201310078585.4A priority Critical patent/CN103197765B/en
Priority claimed from CN2008100363029A external-priority patent/CN101266520B/en
Publication of CN103197765A publication Critical patent/CN103197765A/en
Application granted granted Critical
Publication of CN103197765B publication Critical patent/CN103197765B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to a keyboard layout adjusting method, which comprises the following steps: displaying a keyboard containing a plurality of keys on display equipment with contacts, detecting actions of a user in the keyboard zone, detecting and recording the positions where the user releases the contacts when the user presses one key and moves the position of contacts, the positions of the keys in the keyboard are adjusted according to the recorded contact releasing positions, and the keyboard layout is updated; and the keyboard layout updating comprises the steps that according to the original positions and the new positions of the adjusted keys, character definitions originally corresponding to the adjusted keys and the new positions are adjusted, and thus the figure continuity of keyboard displaying after the keyboard is updated is ensured. With adoption of the keyboard layout adjusting method disclosed by the invention, different keyboard layouts can be defined by the user and switched freely; meanwhile, automatic error correction can be realized, and intelligent word selection with reference to the context can be realized; and further, design cost for portable equipment manufacturers can be greatly reduced due to adoption of the methods.

Description

Keyboard layout method of adjustment
The application for the applying date be on April 18th, 2008, application number be 200810036302.9, denomination of invention be " a kind of The divisional application of the application for a patent for invention of the system of achievable live keyboard layout ".
Technical field
The present invention relates to electronic device field, particularly to electronic device information input technology field, specifically refer to one kind User inputs the system of the achievable live keyboard layout of text to electronic equipment.
Background technology
In the modern life, with the continuous development of integrated circuit technique, occur in that various electronic equipments, On these numerous electronic equipments (as palm PC, smart mobile phone, embedded system, pocket computer etc.), due to by body Long-pending, the restriction of the factor such as manufacturing cost is it is impossible to be equipped with full-scale hardware keyboards, thus carries out input on this kind equipment generally It is filled with challenge.
Traditional mobile phone or portable device keyboard using the button being combined multiple characters, by supporting software with carry Lexicon file, according to user input keystroke sequence predict user want input word.A kind of common input method is Index tree is constructed to keystroke sequence, a specific keystroke sequence can regularly correspond to multiple words.When a user presses a button, Index tree is searched according to keystroke sequence, finds corresponding multiple candidate word and be shown on screen for user's selection.This method Closely related with the layout of keyboard in dictionary configuration, it is accomplished by reconfiguring dictionary configuration even weight whenever keyboard layout changes New design software.For the software keyboard on touch screen, this method motility is poor, and major defect has three: First it is impossible to flexibly change keyboard layout.If the layout of letter changes, such as from qwerty standard computer keyboard layout (beautiful, Asian countries commonly uses), is switched to during azerty keyboard layout (European countries commonly use) it is necessary to thoroughly rewrite software and word Allusion quotation file;Second it is impossible to intelligent correction.If user has pushed the wrong one or more buttons, the list after correction just cannot be shown Word;3rd it is impossible to conveniently enter the word not having in dictionary, such as some names, place name, email address, specific term, Etc..
Simultaneously as the keyboard size reducing, user is easy to press the wrong button, and especially presses on neighbouring key.Therefore exist The function of realizing automatic error-correcting on software is very useful.A kind of common automatic error correction method is using lookup frequent fault row Table is realizing automatic error correction function.For example, " can " mistake is often combined into " csn " by user, because the keyboard in qwerty layout On, alphabetical " a " and " s " is on adjacent position it is easy to push the wrong.This method is by consulting a predefined frequent fault List, including missed keys sequence and correct word, such as " csn " -> " can ", with this by missed keys sequence modification be Correct word.But the limitation of this method is obvious: it can only judge limited known error type, for more one As neighbouring key errors cannot effectively identify, and easily judge by accident.
Another kind of automatic error correction method is the position by judging screen contact, calculate its arrive each key between away from From, and the Weighted distance between keystroke sequence and each possible word is calculated with this, finally choose Weighted distance minimum, Word in dictionary.This method is feasible in theory, but excessively complicated in practice, due to the meter on general portable set Limited in one's ability, it is difficult to realize.
Content of the invention
The purpose of the present invention is to overcome above-mentioned shortcoming of the prior art, provides one kind can flexibly change keyboard layout simultaneously There is the system of intelligent correction function.Compare traditional method, the advantage of the present invention is embodied in the following aspects:
First, present system can flexibly adopt various keyboard layouts.For equipment vendors, new for each Language or input method are required for spending a large amount of manpower and materials to transform original software and input system, or the software that buying is new.And After the system, only need to simply define new keyboard layout, software kit need not be changed.This is multi-lingual version Localization provides faster more easily scheme.For user, can be according to itself use habit customizing keyboard Layout, more practical.
Second, present system can realize a kind of more effective, more practical error correction method, solves user in the key reducing The problem often pressing the wrong button on disk.Relatively with two kinds of traditional error correction methods, present system can be in conventional portable equipment Practical Calculation ability under, quickly comprehensively error correction, it is possible to allow user setup error correction scope, is a kind of real practical error correction Method.
3rd, present system can be judged to be best suitable for currently according to the context environmental of text, in conjunction with syntactic analysiss The candidate word of linguistic context, improves the accuracy of candidate word.
According to an aspect of the invention, it is provided a kind of achievable live keyboard for inputting text to electronic equipment The system of layout, including the input module of the input for detecting user;Connect to the layout map module of described input module, Described layout map module, according to current keyboard layout, the input at least one times of user is mapped at least one word corresponding Symbol set;For storing the lexicon module of word candidate;Connect to the candidate of described lexicon module and described layout map module Word module, described candidate word module generates list entries according to corresponding multiple character sets, and is looked into according to list entries Find out possible candidate word and sorted;And connect to described candidate word module and export the output mould of described candidate word Block.
According to another aspect of the present invention, there is provided a kind of achievable flexible key for inputting text to electronic equipment The method of disk layout, including the 1st step waiting user input signal;User input signal is changed according to current keyboard layout For a character set, described character set comprises the second step of the possible corresponding character of described user input;By described word Symbol set adds the third step of current input sequence;According to described current input sequence, generate candidate word and sort by priority The 4th step;Show the 5th step of described candidate word.
According to another aspect of the present invention, a kind of method being switched fast keyboard layout, including in the display with sense of touch 1st step of one keyboard layout is shown on equipment;The second step of the action that wait user contact is moved on the touchscreen;Will Original keyboard layout removes the third step of screen along contact moving direction;New keyboard layout is moved along contact moving direction Enter the 4th step of screen.
According to another aspect of the present invention, a kind of method of dynamic change keyboard layout, including in the display with sense of touch 1st step of multiple buttons is shown on equipment;Detection user press on a button after current collector action second step; Detection user decontrols the third step of the position of contact;Adjustment keyboard layout, described button is adjusted to described relieving contact position Put corresponding position, and show the 4th step of the keyboard layout of renewal.
Brief description
Accompanying drawing 1a-1e is the schematic diagram illustrating various difference keyboard layouts according to embodiments of the present invention;
Accompanying drawing 2a is the schematic diagram illustrating a kind of candidate word according to embodiments of the present invention and its related term;
Accompanying drawing 2b is to illustrate a kind of schematic diagram by context determination candidate word according to embodiments of the present invention;
Accompanying drawing 2c-2d is to illustrate the signal that a kind of basis according to embodiments of the present invention predicts next word above Figure;
Accompanying drawing 3 is to illustrate a kind of block hardware diagram according to embodiments of the present invention;
Accompanying drawing 4 is to illustrate a kind of system module structure chart according to embodiments of the present invention;
Accompanying drawing 5 is to illustrate the flow chart that a kind of user according to embodiments of the present invention completes once to input;
Accompanying drawing 6 is to illustrate showing of the information that in a kind of layout modules according to embodiments of the present invention, each key is comprised It is intended to;
Accompanying drawing 7 is to illustrate a kind of signal accurately being inputted a key expansion according to embodiments of the present invention Figure;
Accompanying drawing 8 is to illustrate a kind of dictionary configuration realizing quickly searching candidate word according to embodiments of the present invention to illustrate Figure;
Accompanying drawing 9 is the flow chart illustrating a kind of generation candidate word according to embodiments of the present invention;
Accompanying drawing 10 be illustrate according to embodiments of the present invention for inputting can achieve flexibly of text to electronic equipment The general flow figure of the method for keyboard layout;
Accompanying drawing 11a-11c is to illustrate a kind of signal being switched fast keyboard layout process according to embodiments of the present invention Figure;
Accompanying drawing 12 is to illustrate the general flow figure that realization according to embodiments of the present invention is switched fast keyboard layout;
Accompanying drawing 13a-13b is the signal illustrating a kind of dynamic change keyboard layout process according to embodiments of the present invention Figure;
Accompanying drawing 14 is the general flow figure illustrating dynamic change keyboard layout according to embodiments of the present invention;
Specific embodiment
Describe in detail according to embodiments of the invention before it should be noted that, described embodiment essentially consist in to The input method and step of text dependent and the combination of apparatus assembly in electronic equipment.Therefore, corresponding device assembly and method and step Showed in position by ordinary symbol in the accompanying drawings, and merely illustrate and the enforcement understanding the present invention The relevant details of example, in order to avoid because of those details obvious for the those of ordinary skill in the art having benefited from the present invention And obscured present disclosure.
Herein, such as left and right, upper and lower, front and rear, and first and second etc relational terms are used merely to area Divide an entity or action and another entity or action, and not necessarily require or imply any between this entity or action Actual this relation or order.Term " inclusion ", "comprising" or any other variant are intended to comprising of nonexcludability, by This makes a series of process including key elements, method, article or equipment not only comprise these key elements, but also comprises not bright Other key elements really listed, or for this process, method, article or the intrinsic key element of equipment.
For the purpose of this disclosure, term " keyboard " is generalized definition, including any input unit having and determining region Part, including but not limited to software keyboard on hardware mechanical keyboard, hardware inductive keyboard, touch screen etc..The present invention's Embodiment acquiescence illustrates taking the software keyboard on touch screen as a example, but it will be understood by those skilled in the art that the present invention Mentioned method and system can also be applied to hardware keyboards.
1. basic function and operation
Fig. 1 a describes the keyboard system 100 of an involved in the present invention achievable live keyboard layout and its carrier just Portable device 101.After button on keyboard 110, its input content is shown in text filed 102 user.Keyboard 110 is Qwerty layout, contains 26 English alphabets, numeral, symbol and space bar, and each button can represent three characters.Fig. 1 b Describe the keyboard 120 of another kind of layout, be singly-bound qwerty layout, each button represents a character, can between two keys There is numbers and symbols.Fig. 1 c describes the keyboard 130 of another kind of layout, is azerty layout, and each button can represent three words Symbol.Fig. 1 d describes the keyboard 140 of another kind of layout, is 9 key layouts, and each button can represent three to four letters and a number Word, extensively applies on cell phone keyboard.Fig. 1 e describes a kind of keyboard 150 of User Defined layout, and each button can represent Three characters, the content of character and order are customized according to use habit by user.
For the purpose of this disclosure, in order to avoid accompanying drawing mark is excessively complicated, hereinafter will with each keyboard layout often The first row central authorities each key of character mark of individual key.For example, the button 111 in the keyboard upper left corner in Fig. 1 a is identified with key " qw "; Identify the button 121 in the keyboard upper right corner in Fig. 1 b with key " p ";Identify the button in the keyboard lower left corner in Fig. 1 c with key " wx "; Identify the button 141 of keyboard last cell in Fig. 1 d with key " wxyz ".When the weight that method definition accordingly occurs in same in figure During multiple mark, then identified using sequence number and distinguish, to guarantee the uniqueness of this identification method.
It is pointed out that method described in the invention can also apply to other languages in addition to English, other Keyboard layout, and letter, numeral, the particular content of symbol and position also all can arbitrarily change.
Return to Fig. 1 a, when the key that user clicks on input through keyboard region produces keystroke sequence, system is by the word of candidate It is shown in candidate region 103, simultaneously can be in the candidate word of text filed middle display acquiescence.When user clicks on candidate word, or press During lower acknowledgement key when some punctuation marks (such as space bar or), selected word will input in text filed 102.
For example, in fig 1 a, when user's order presses lower key " ty ", key " ui ", during key " er ", system finds corresponding in dictionary All words of this key sequence, and by its sequencing display in candidate region 103.Due to word " tie ", " turn ", " tired ", " yield " has highest word frequency, therefore is shown in the page 1 of candidate word list.Wherein " tie " is simultaneously as acquiescence Candidate word be also shown in text filed interior, and be still unacknowledged text with special format (as underscore) to show it.When with When space bar is pressed at family, this candidate word is just identified and inputs to text.Because user is in button and indefinite specified every Concrete character representated by individual button, but by dictionary matching candidate word, therefore it is referred to as " Indistinct Input ".
According to certain embodiments of the present invention, user can also accurately be inputted.For example, with reference to Fig. 1 a, in touch screen Keyboard 110 on, user can decontrol after pressing and move to left on key " ty ", accurately inputs alphabetical " t ";Key " ui " is pressed simultaneously Move to right relieving, accurately input alphabetical " i ";Key " er " is pressed and moves to right relieving, accurately input alphabetical " r ".Now system is looked for To be the word that all " tir " start: " tired ", " tiring ", " tire ", " tirade ".
According to certain embodiments of the present invention, user can be by the symbol below the enter key of slide downward contact or number Word.For example, with reference to Fig. 1 a, user can move down contact on key " gh ", then input digital " 3 ".So user is no need for It is switched to special figure pattern or pattern of symbol.
Again for example, with reference to Fig. 1 b, user can input two in key " q " or key " s " or its zone line slide downward contact Symbol between person ";”.
According to certain embodiments of the present invention, symbol and numeral can also become the part in word.Such as " i ' m ", " i ' ll ", " let ' s ", " c++ ", " part-time " etc..User can facilitate topotype paste input symbol on same keyboard mode Number or numeral, without being switched to other pattern of symbol.For example, with reference to Fig. 1 a, on keyboard 110, single quotation marks " ' " in key On " ui ", user only needs order by lower key " ui ", key " ui ", key " m/ ", and system just can find word " i ' m " and is shown in In candidate region.
According to certain embodiments of the present invention, when user wants to change keyboard layout, such as from the qwerty layout of Fig. 1 a Be changed to Fig. 1 d 9 key layout when it is only necessary to pass through a predefined action, you can realize be switched fast.For example, in touch screen Keyboard on, user rapidly can slide into right-hand member from the left end of keyboard area with finger, then qwerty layout moves right And remove the right-hand member of screen, and 9 key layouts slip into from the left end of screen, produce coherent dynamic effect.Likewise, user also may be used To be switched to the singly-bound qwerty layout shown in Fig. 1 b, or the azerty layout shown in Fig. 1 c, or the user shown in Fig. 1 e makes by oneself Adopted layout.The mode of switching layout can have many kinds: the gesture of user can be detected, it is possible to use a specific button, Sound control can also be passed through.In this handoff procedure, because the layout of system is separate with dictionary search function, so Identical lexicon file and software can be used.
On, on less keyboard area, user often presses in input to adjacent key mapping, according to the present invention A kind of preferred embodiment, this mistake can automatically be corrected according to dictionary.For example, in Figure 1b, when user thinks button " t " When it is likely that mistakenly having pressed on key " f ".System can letter " r " around search key " f ", " g ", " d ", " v " and according to Possible correct word is judged in input before family.In an embodiment of the present invention, though the letter of all inputs of user all It is wrong, system is likely to find out correct word.For example, user input " v ", " i ", " p ", " l ", system can point out User's candidate word " book ", because " v ", " i ", and " p ", " l " is respectively " b ", " o ", " o ", the neighbouring letter of " k ".It is worth mentioning , when character position is separated by larger, need to expand the scope (being such as separated by the error correction of two keys) of error correction.But expand error correction model The side effect enclosed is that candidate word quantity can increase.In order to solve this contradiction, a preferred embodiment of the present invention is error correction model Enclose and can be adjusted according to user preference.User can be arranged on carry out error correction by alphabetical great scope, for example exist Error correction in all adjacent letters, or only error correction in the adjacent letter in left and right, or only error correction in neighbouring letter, or It is separated by error correction between two letters (as " t " and " u "), or not error correction.
According to certain embodiments of the present invention, the related term of candidate word can be rapidly selected.For example, with reference to Fig. 2 a, when When candidate word 211 " compare " in candidate region, user occurs in " compare " upper slide downward contact, then keyboard area Related term corresponding to " compare ", " comparing ", " compared ", " compares ", and " comparison ".User Click on one of related term can be input to text filed.In a lot of language, this related term is very common. Verb for example in English has much different tenses, and noun has plural form, and a word can have multiple parts of speech etc..This These word associations can be got up by bright embodiment, thus when user rapidly can extend to other phases from a candidate word Close word.
According to certain embodiments of the present invention, according to the context relation candidate word of text and phrases prediction can be provided.Example As with reference to Fig. 2 b, needed after have input " i " before user to input " am ", but pressing in neighbouring key " bn " when inputting " m " On.Now, system can based on context correlation rule, judge that " i am " is common phrases, therefore adjustment candidate word 221 " am " Higher than original candidate word " an " priority.In a lot of language, this phrase, specific collocation, custom grammer phenomenon very Common, the probability of occurrence of a therefore word depends not only on the word frequency of this word, more depends on and this word and context between The probability of collocation.In this instance, although " an " is a word higher than " am " word frequency, i heel almost always " am ", rather than " an ".Therefore based on context select suitable word can greatly improve the effectiveness selecting word, and then improve defeated Enter efficiency.Again for example, with reference to Fig. 2 c, after user input word 231 " look ", in candidate word list automatic Prediction to " look " forms the candidate word " forward to " of phrase collocation, " at ", " into ", " for ", selects for user.
According to certain embodiments of the present invention, context relation and phrase association can be provided on the basis of related term. For example, with reference to Fig. 2 d, when user input during related term " looking " of " look ", candidate word region remains to predict " look " corresponding phrase collocation " forward to ", " at ", " into ", " for " etc..
2. system structure and principle
Fig. 3 describes to be suitable for a kind of general block diagram of portable equipment 300 of the present invention.Input equipment 301, display device 302 are connected with processor 304 by electronic circuit with storage device 303.Input equipment 301 can be keyboard or touch pad;Aobvious Showing device 302 can be liquid crystal display screen;Storage device 303 can be any memory media, for example random-access memory (ram), only Rdma read (rom), flash memory (flash), hard disk etc.;Processor 304 can be cpu or dedicated IC chip.A lot of situations Under, input equipment 301 is likely to synthesize with display device 302, such as touch screen.Storage device 303 can preserve all of software, bag Containing operating system 311 and keyboard software according to the present invention 310 etc., alternatively, storage device can also include other application journey Sequence 312, such as text editor etc..
The keyboard system of the present invention is managed by keyboard software 310.Fig. 4 describes a kind of preferred of this keyboard software System structure 400.This system is mainly by input module 401, layout map module 402, setup module 403, candidate word module 404th, lexicon module 405 and output module 406 form.
Input module 401 is responsible for the input of detection user, the button of such as user, contact action on the touchscreen etc., And export to layout map module 402.Layout map module, according to current keyboard layout, user input is mapped to this defeated Enter corresponding character set, and export to candidate word module 404.Lexicon module 405 is responsible for candidate word module 404 and provides word Word in allusion quotation.Candidate word module 404 is responsible for for all previous character set generating list entries, and is found out according to list entries Possible candidate word is simultaneously sorted.Output module 406 is responsible for exporting candidate word in a certain way to equipment, for user's choosing Select.Setup module 403 stores user and default, for example whether enabling error correction, whether detecting context etc., reflects for layout Penetrate module 402 to use with candidate word module 404.
Fig. 5 describes keyboard software mastery routine in the main flow 500 completing when user input selects word, possesses following step Rapid: to wait user input (step 501);Judge whether to confirm operation (step 502);If so, in text filed middle input validation Word, and empty list entries (step 503);If it is not, generating this in layout map module 402 to input corresponding character set Close (step 504);This character set inputting and the character set inputting before are constituted list entries (step 505);? Candidate word list is generated, row major level of going forward side by side sorts (step 506) in this module of candidate;Candidate word list (the step that output updates Rapid 507).
For step 502, input module 401 judges whether this input confirms to operate.Confirm that operation can be by space Key or confirmation are strong (selected default candidate word), or click directly on candidate word, or by sky after directionkeys choose candidate word Lattice key or confirm strong, or inputting punctuation mark selectes default candidate word automatically, or other operations of arbitrarily specifying in advance.
For step 504, this input can be mapped as corresponding to by layout map module 402 according to current keyboard layout Character set.Comprise in this character set to likely correspond to all characters of this input.For example, when user is shown in Fig. 1 a Qwerty keyboard layout in by lower key " qw " when, character set comprises Indistinct Input character " q " on this key, " w ".And work as and set Put when enabling error correction, in character set, also can comprise the character in adjacent keys, such as " a ", " s ", " e ".
For step 505, the character set that this inputs can be added in list entries for candidate word module 404.For example, In qwerty keyboard layout shown in Fig. 1 a, after user's priority presses lower key " ty ", key " ui " and key " er ", list entries bag Character set containing three inputs: { " t ", " y " }, { " u ", " i " }, { " e ", " r " }.Subsequently, candidate word module 404 can be according to each Plant possible combination, lexicon module 405 searches out possible candidate word, such as " tie ", " turn " etc..Finally, can basis Candidate word is sorted by preferred sequence.In some preferred embodiments, may specify that the candidate word of highest priority is default candidate Word, that is, when user input space or other symbols, automatically confirms that default candidate word is to be input to text filed word.
For step 506, output module 406 candidate word list after updating can be shown on screen, selects for user. In some embodiments it is possible to default candidate word is shown in text filed interior, and with a kind of special format highlight mark out.
Return to Fig. 4, the implementation method of in the present embodiment each module is described below in detail.
Input module 401 detects the actuation of keys of user, and by the related data record of button each time and exports.Once The related data of button can be including but not limited to:
User presses the start position of lower contact
User decontrols the final position of contact
The track of user's current collector
The time of staying of user's holding contact
For example, in fig 1 a, when user decontrols by lower key " qw " and after moving to right, the output of input module 401 can comprise User presses the starting point coordinate of this key and decontrols the terminal point coordinate of this key.
Return to Fig. 4, setup module 403 comprises the various configuration informations related to system operation, including user use preference, System operating mode etc..For example, user can close error correction.So all would not be repaired by the mistake to adjacent key; And for example, user can select the rank of error correction: only corrects the mistake of neighbouring button, only correcting the mistake of left and right adjacent key By mistake, the mistake of periphery adjacent key or mistake (the singly-bound qwerty cloth as shown in Fig. 1 b correcting adjacent two layers button are corrected " d " can be corrected to by " g " in office, " f ", " h ", " j ").Setup module 403 is optional.
Return to Fig. 4, layout map module 402 has three major functions.
First function of layout map module 402 is to define and be stored with the various layout parameter of different keyboards, such as key Which character is had on disk, which character is compounded on a key, how accurately character in selection key etc..For example, in figure In 1a, alphabetical " q ", " w ", and symbol ";" one key " qw " of multiplexing.Fig. 6 then describes a kind of key described in internal memory " qw " Data structure, wherein can be including (but not limited to) following field:
Position on keyboard layout region for this key and size
Shown character and its relevant position region on this key: " q ", " w ", ";”
The character group of the corresponding input of the different action of user:
ο directly decontrols after clicking on: Indistinct Input " q ", " w ", ";”
Move on ο: Indistinct Input " q ", the patterns of capitalization (" q ", " w ") of " w "
ο moves to left: accurately input " q "
ο moves to right: accurately input " w "
ο upper left is moved: accurately input " q "
ο upper right is moved: accurately input " w "
ο move down accurate input ";”
Accurately the mode of input can have many kinds.A kind of preferably contact according to user moves to judge essence The really character of input;Multiple characters on this key are launched to select for user after preferably length presses certain input elements by another kind. For example, in fig 1 a, after user's long keying " as " is more than a Preset Time, this keyboard is just presented as accurate shown in Fig. 7 Input pattern, shows the character group 701 representated by this keys all, selects for user.The initial pattern of Fig. 1 a is returned after having selected. In Western-European languages, this mode can be used to select accented characters, for example " à á" etc..
It should be noted that each field of this data structure can carry out deleting modification as needed, and do not affect this The essence of invention.For example, it is possible to increase a field, whether show the picture of amplification after description button above key, be used for The current input of prompting user;And for example, when position or the size fixation of key, it is convenient to omit position on keyboard area for this key Size information field.Meanwhile, the different touch action definition of user can also be extension.Definition " user for example can be increased Length presses this key more than the x second " corresponding input, wherein x can be a configurable value;And for example, " user is double can to increase definition Hit this key " corresponding input.
As can be seen here, different actuation of keys can correspond to different character sets.
Second function of layout map module 402 is to store all keyboard layouts that may use and switch as needed. At a time, one and only one is the currently active keyboard layout.Here it is user can see in input through keyboard region Current keyboard layout.
In a preferred embodiment of the invention, user can switch current keyboard layout using gesture on the touchscreen, Current keyboard layout can also be switched using certain specific button in hardware keyboards.
3rd function of layout map module 402 is according to current keyboard layout, and being originally inputted of user is mapped as This input may corresponding character set.A kind of data structure of preferred character set can comprise Indistinct Input character group, Accurately input character, and error correction character group.
In qwerty layout shown in for example in Fig. 1 a, after user presses lower key " qw " and directly decontrols, this module first from Obtain the coordinate of contact in input module 401, can determine whether out button on key " qw " according to current arrangements.Because action is a little Directly decontrol after hitting, according to the topology data of key " qw " can obtain its corresponding Indistinct Input character group be (" q ", " w ", " 1 ", “;”).Read current error correction and be set to vertical error correction from setup module 403, from current arrangements, then obtain the character of lower section " a " and " s " is as error correction character.In this button final, the output character collection of layout map module 402 is combined into: Indistinct Input Character group (" q ", " w ", " 1 ", ";"), accurately input character (empty), error correction input character group (" a ", " s ").
Again for example, in 9 key layouts shown in Fig. 1 d, the corresponding layout information of key " jkl " is as follows:
Position on keyboard layout region for this key and size
Shown character and its relevant position region on this key: " j ", " k ", " l ", digital " 5 ", fullstop ". "
The character of the corresponding input of the different action of user:
ο directly decontrols after clicking on: Indistinct Input " j ", " k ", " l ", " 5 "
ο length is pressed: enters shift pattern (as pinned shift key on computor-keyboard)
ο moves to left: in the normal mode, accurately input " j ";Under shift pattern, accurately input " j "
ο moves to right: in the normal mode, accurately input " l ";Under shift pattern, accurately input " l "
Move on ο: in the normal mode, accurately input " k ";Under shift pattern, accurately input " k "
ο moves down: in the normal mode, accurately input fullstop ". ";Under shift pattern, accurately input " 5 "
When user decontrols after clicking directly on key " jkl ", layout map module 402 obtains the above-mentioned layout of key jkl Information.Because this action is directly decontroled for after clicking on, therefore Indistinct Input character group is (" j ", " k ", " l ", " 5 ");Simultaneously Because the error correction in setup module 403 is set to left and right error correction, therefore error correction character group is the adjacent character group of key " jkl " periphery (" m ", " i ").
If the user while length presses (or length press then move to left) after moving to left on key " jkl ", long due to comprising one in this button By action, therefore switch to shift pattern, accurately input character is (" j "), Indistinct Input character group (empty).According to setting mould The set information of block 403, when accurate input is not space-time, system is without error correction.Therefore error correction character group is also (empty).
As can be seen here, the input of user is converted into the character unrelated with keyboard layout by layout map module 402 effectively Set, therefore after candidate word module 404 need not change software or data structure according to the difference of layout.Work as keyboard layout After change, the layout information that layout map module 402 obtains also accordingly changes, and the character set of therefore output also changes therewith Become.
Because of independent keyboard layout design, keyboard layout can be predefined by cell phone manufacturer completely, or by user Self-defined, without affecting any systemic-function.For example, user can be corresponding on each key oneself to define the layout of key mapping Character, and the corresponding character group of action, thus write out the keyboard layout of oneself use habit suitable.Meanwhile, different language The input method of version can also correspond to and different keyboard layouts.
Return to Fig. 4, this corresponding character set of input is added in list entries candidate word module 404, looks into this Look for corresponding word in lexicon module 405, and single to candidate according to certain rule (as word frequency, context phrase, related term etc.) Word carries out prioritization, and candidate word exports output module 406 the most at last.
It will be understood by those skilled in the art that the structure of dictionary for example can be deposited using a variety of implementations Storage is stored in data base, or with tree.Correspondingly, finding out possible candidate word in dictionary also has a variety of methods.
Following for the feasibility being fully described by the system, illustrate a kind of dictionary that can quickly search word in fact Existing method, but the present invention is not rely on this method.Word in dictionary is arranged in tree the method, such as Fig. 8 Shown.In each of tree-shaped dictionary node ni-1, ni-2 ... ni-m represents a character, and wherein i represents this node in tree In depth (i-th layer).I-th character of word positioned at i-th layer of node on behalf.M represents the character sum in this layer, In English, for example there are 26 letters, then m can be less than 26;If the list being made up of other symbols can be comprised in dictionary Word, such as don ' t, then m can be more than 26.These nodes are coupled together by path pi-j-1, pi-j-2 ..., pi-j-m, wherein i- It is ni-j that j represents the connected father node in this path.Reach down to the sequence node of the path institute approach of a certain node from root node, It is referred to as the character string in this node (or this path).If the character string of a node is one of dictionary word, claim This node is word node.If a certain paths do not exist, the character string representing this path does not exist in dictionary.Example If the node corresponding to English word apple is it is simply that order finds node a-p-p-l-e downwards from root node.Wherein the 1st , at the 1st layer of tree, the node of the 2nd alphabetical p is in the 2nd layer setting for node corresponding to alphabetical a, and the section of the last letter e Point is word node, and its character string is exactly " apple ".The benefit of this tree be can be quickly found one specific Alphabetical sequence be whether a word in dictionary, and the corresponding node of this word.
Each word node may correspond to a word object, but the data structure of word object is independently of dictionary knot Structure.One word object can comprise following information: the statistics word frequency of word, related term, context relation rule, alternate formats Deng.The statistics word frequency of word can be represented with a numerical value, and such as numeral 1 to 8,8 represents the most frequently used word, and 1 represents the most seldom Word.Statistics word frequency can become a significant consideration of candidate word prioritization.When not considering other factors, word Frequency is higher, and the priority of word is higher.
The related term of word refers to the word being associated with this word, the plural form of such as noun, verb different when State, different parts of speech of this word etc..The related term of such as English word " jump " includes " jumps ", " jumping ", " jumped " etc..Related words list can be to be realized with pointer mode, and that is, word object can point to its associated other Word object.The purpose retaining related word information is to facilitate user quickly to select the word of its association from a word.For example when When user sees that " jump " occurs in candidate word, the action that can be specified in advance by certain is (for example to downslide on word Dynamic) allow system show all of related term, and therefrom select.
It is related to context environmental that context relation rule contains the common phrase collocation of this word, grammer criterion etc. Information.For example, the context relation rule of word " look " can comprise common phrase collocation " look at ", " look forward To ", " look for " etc..And for example, the context relation rule of word " am " can comprise common phrase collocation " i am " etc..Again As the context relation rule of word " of " can comprise grammatical ruless: " word being followed by should be noun or gerund ".There is this After a little information, system can pass through the priority of context intelligent decision candidate word.
In the present embodiment, can also come into force mutually during context relation rule is between related term.For example, work as context When having " look forward to " in correlation rule, even if " looking " occurs can also be associated with " forward in literary composition To ", because " looking " is the related term of " look ".
Alternate formats are certain forms of expression of this word, and such as " asap " is the contracting of " as soon as possible " Write form, then if user input " asap ", system can correspond to " as soon as possible " automatically.Therefore " as soon as possible " is exactly the alternate formats of word object " asap ".And for example, user input " dont " can be entangled automatically It is being just " don ' t ", because word object " dont " is upper contains alternate formats " don ' t ".Now word object " dont " is actually It is a kind of index.When a word has alternate formats, alternate formats can preferentially be exported by candidate word module.
Fig. 9 describes a kind of method generating candidate word in the present embodiment, comprises the steps of according to list entries, Corresponding word object is found as candidate word (step 901) in dictionary;The candidate word mark of character in error correction character group will be comprised It is designated as error correction candidate word (step 902);Find the related words list (step 903) corresponding to candidate word;Find candidate word institute right The alternative form (step 904) answered;Candidate word is carried out prioritization (step 905).
For step 901, candidate word module 404 is by the corresponding character of each button obtaining from layout map module 402 Gather constituted list entries and be combined into possible candidate word.In theory, as long as all character arrangements groups by list entries Close, and pick out all words existing present in lexicon module, you can constitute candidate word list.But in fact, once press Key may comprise multiple possible characters, and the character string that multiple button is likely to form will be more.With list entries Length increases, and if searching dictionary again after the fully intermeshing that will list all character strings, amount of calculation can be very big.Therefore, A kind of preferred candidate word lookup method of the present invention is the feature using lexicographic tree, is quickly excluded not by retrieving the node of number Possible character string.For example, if the character set of user's first time button is (" a ", " s "), the character set of second button It is combined into (" b ", " n "), the character set of third time button is (" t ", " y ", " u "), then the character string combination of three buttons is 2*2*3=12.But if the possible character string of button twice before analysis: " ab ", " an ", " sb ", " sn ", it is possible to find dictionary In there is not the word (path be sky) of " sb " sequence beginning, therefore only need to consider " ab ", " an ", " sn " and rear three characters Combination may.Find after analyzing further, in the arrangement of all three character, only " ant ", " any ", " aby " and " abu " It is likely to become the beginning part of word or word.Therefore actual possible combination is well below 12.With user key-press number of times Increase, although in theory possible group of character string be combined in increase, profit is in this way, impossible with continuous exclusion Path, amount of calculation remains at reduced levels.
For step 902, when list entries contain error correction character group, comprise in the candidate word that step 901 is found out Word after error correction, therefore for the ease of distinguishing it with not corrected ordinary candidate word, is marked as error correction candidate Word.According to statistics, user presses the probability to key and is higher than the probability pushing the wrong into certain key.Therefore, in follow-up prioritization In, the priority of error correction candidate word can be less than ordinary candidate word.
For step 904, the alternative form being found can replace original candidate word, adds candidate word list.
For step 905, candidate word searching modul 404 needs to carry out prioritization to candidate word.Impact priority Factor can comprise: context relation rule, counts word frequency, candidate word length etc..First, context relation rule can be paid the utmost attention to Then.For example, if having input above " look forward ", the word inputting below is likely to be " to ", rather than with Its close and same word frequency very high " go ".At this point it is possible to by compare candidate word context relation rule and ought be above This position above with hereinafter, if it find that certain candidate word and context form phrase collocation, just can be excellent by this candidate word First level improves.Secondly, system is contemplated that statistics word frequency in this language for the word, and word frequency is higher, then probability of occurrence is bigger, therefore Priority is higher.Additionally, when candidate word length is equal or close to user key-press number of times, the priority of this word can be enhanced. If containing error correction character in certain candidate word, its priority can reduce.In a kind of preferred embodiment, final Priority can calculate after being weighted by many factors and obtain.
Return to Fig. 4, candidate word list is shown to user by output module 406.In certain embodiments of the present invention, for There is the candidate word of related term, can be marked with special state, and a kind of shortcut of definable allows user enter into this word The selection pattern of related term.For example, referring to Fig. 2 a, there is an arrow lower section of word " compare ", represents and have found its phase Close word list.User can enter related term in " compare " upper slide downward contact and select pattern.Some enforcements in the present invention In example, for error correction candidate word, can be with different format identification (FID)s to show differentiation.
According to one embodiment of the present of invention, after user confirms certain candidate word and is input to text filed, wait Favored area will show next or multiple words being likely to occur.With reference to Fig. 2 c, after user input " look ", candidate region occurs Prediction " forward to " to lower word, " at ", " into ", " for ".This is due to the context relation of word object " look " There are phrase collocation " look forward to ", " look at ", " look into " and " look for " in rule.When user is true After recognizing candidate word " look ", candidate word module 404 finds out these rules from the context relation rule of this word, and will " look " part below is shown in candidate region as candidate word.
According to one embodiment of the present of invention, after user confirms certain candidate word and is input to text filed, its The phrase collocation of related term may also appear in candidate region.With reference to Fig. 2 d, after user input " i ' m looking ", candidate Also can the prediction " forward to " to lower word, " at ", " into ", " for " in word region.This is due in word object Have " look " in the related words list of " looking ", and candidate word module can be in related term corresponding context relation imputation Find out corresponding phrase collocation, and be shown in candidate region.
Figure 10 describes the achievable live keyboard layout for inputting text to electronic equipment designed by the present invention Method, possesses following steps: wait user input signal (step 1001);User input signal is turned according to current keyboard layout It is changed to a character set, described character set comprises the possible corresponding character (step 1002) of described user input;By institute State character set and add current input sequence (step 1003);According to described current input sequence, generate candidate word and by preferential Level sequence (step 1004);Show described candidate word (step 1005).
3. the switching of layout is adjusted with dynamic
Because of the design of flexible keyboard layout, the keyboard system of the present invention can change keyboard layout and not shadow at any time Ring method to realize and user's use.
According to certain embodiments of the present invention, user can pass through certain predefined operation, keyboard layout is cut at any time Change.For example, on the touchscreen, when user is in the quick passing contact of keyboard area, system just can be dynamically by current arrangements Azerty layout as illustrated in figure 1 c is switched to by qwerty layout as shown in Figure 1a.On the equipment with hardware keyboards, When user presses certain shortcut, system similarly can be with switching at runtime keyboard layout.
According to certain embodiments of the present invention, in the handoff procedure of keyboard layout, can make to cut by animation effect Change more natural.For example, referring to Figure 11 a, when the finger keyboard area on the touchscreen of user quickly moves from left to right, Old keyboard layout smoothly moves from left to right and fades out, and new keyboard layout smoothly moves to the right from screen left end and fades in. Figure 11 b describes in finger in moving process, and old keyboard layout 1102 is moved out to half, and new keyboard layout 1103 moves into Situation during half.Figure 11 c describes the situation after new keyboard layout is moved fully into.In the present embodiment, animation effect Can carry out glibly, and translational speed can determine according to the translational speed of user contact, allow user's sensation keyboard layout be Moved by user's finger.
Figure 12 describes a kind of method 1200 being switched fast keyboard layout in the present embodiment, comprises the steps of in band One keyboard layout (step 1201) is shown on the display device of sense of touch;Wait the action that user contact is moved on the touchscreen (step 1202);By original keyboard layout along contact moving direction removal screen (step 1203);By new keyboard layout edge Contact moving direction moves into screen (step 1204).
The keyboard layout of this method indication not only represents the different layouts of letter, also can broadly refer to for pages content In certain one page.For example, select on the page, have multipage to select in symbol, user can carry out page turn over operation by this method.
According to certain embodiments of the present invention, user can also dynamically change the layout of keyboard, such as changes the position of button Put.For example, in Figure 13 a, do not put when user presses " space " space bar 1301, and dragged to a left side for keyboard area Decontrol after inferior horn, this key has just been arranged at new position 1302 as illustrated in fig. 13b.Keyboard layout can be by accordingly more simultaneously Newly, for example the numeral " 8 " on space bar becomes for digital " 6 " originally, to keep the seriality of numeral.
Figure 14 describes a kind of method of dynamic change keyboard layout in the present embodiment, comprises the steps of in band sense of touch Display device on show multiple buttons (step 1401);Current collector action after detection user presses on a button (walks Rapid 1402);Detection user decontrols the position (step 1403) of contact;Adjustment keyboard layout, described button is adjusted to described Decontrol the position corresponding to contact position, and show the keyboard layout (step 1404) of renewal.
For step 1402, can preset some keys is moveable key, sets some keys as immovable key. For example, in Figure 13 a, " space " key is moveable key, and other buttons are immovable building.
For step 1404, the position after button adjustment often can be some predefined near relieving contact position On position.For example, when the position that user decontrols contact falls the region that " space " key is covered in Figure 13 b or distance about Less than in the range of x pixel when (x can be a predetermined value), after corresponding adjustment position be the screen lower left corner by Key position.

Claims (4)

1. a kind of keyboard layout method of adjustment is it is characterised in that include:
On the display device with sense of touch, display comprises the keyboard of multiple buttons;
Detection action in described keyboard area for the user;
When rear simultaneously current collector position is pressed on user wherein a button, detect and record the position that user decontrols contact Put;
According to the position of the relieving contact being recorded, the position of this button in keyboard is adjusted, and updates described keyboard cloth Office;
The described keyboard layout of described renewal includes: according to the original position being adjusted button and new position, to be adjusted button and its The character definition of the former corresponding button of new position is adjusted, to ensure the digital seriality of keyboard & display after updating.
2. keyboard layout method of adjustment as claimed in claim 1 it is characterised in that described according to the relieving contact being recorded Position the position of button is adjusted including: using the position of described relieving contact as the new position of this button, or work as institute State decontrol contact position meet when imposing a condition using predefined position as this button new position.
3. keyboard layout method of adjustment as claimed in claim 1 is it is characterised in that described renewal keyboard layout includes: by institute State the mobile position to after adjust of button.
4. keyboard layout method of adjustment as claimed in claim 1 is it is characterised in that described detection user is in described keyboard area Interior action also includes: the button of detection user operation is moveable key or immovable key.
CN201310078585.4A 2008-04-18 2008-04-18 Keyboard layout adjusting method Active CN103197765B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310078585.4A CN103197765B (en) 2008-04-18 2008-04-18 Keyboard layout adjusting method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310078585.4A CN103197765B (en) 2008-04-18 2008-04-18 Keyboard layout adjusting method
CN2008100363029A CN101266520B (en) 2008-04-18 2008-04-18 System for accomplishing live keyboard layout

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN2008100363029A Division CN101266520B (en) 2008-04-18 2008-04-18 System for accomplishing live keyboard layout

Publications (2)

Publication Number Publication Date
CN103197765A CN103197765A (en) 2013-07-10
CN103197765B true CN103197765B (en) 2017-01-25

Family

ID=48720421

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310078585.4A Active CN103197765B (en) 2008-04-18 2008-04-18 Keyboard layout adjusting method

Country Status (1)

Country Link
CN (1) CN103197765B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104777895A (en) * 2014-01-15 2015-07-15 英华达(南京)科技有限公司 Input method control method and handheld device
CN104635975B (en) * 2014-08-27 2017-09-19 康佳集团股份有限公司 A kind of touch pad combination physical button realizes the method and system of virtual key function
CN105573640A (en) * 2014-10-21 2016-05-11 中兴通讯股份有限公司 Implementation method and system for dynamic keyboard
CN106468955A (en) * 2015-08-20 2017-03-01 瓦戈科技(上海)有限公司 A kind of keyboard
CN106468958A (en) * 2015-08-20 2017-03-01 瓦戈科技(上海)有限公司 The method and device of input character
CN106468959A (en) * 2015-08-20 2017-03-01 瓦戈科技(上海)有限公司 Method by input through keyboard character
CN106227366A (en) * 2016-09-29 2016-12-14 珠海恒宇新科技有限公司 A kind of it is switched fast and the keyboard of user-defined press key arranging functional

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150618A (en) * 2007-10-31 2008-03-26 中兴通讯股份有限公司 A mobile phone with self-defined keyboard

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7509588B2 (en) * 2005-12-30 2009-03-24 Apple Inc. Portable electronic device with interface reconfiguration mode
US20090002321A1 (en) * 2006-01-30 2009-01-01 Kyocera Corporation Character Input Device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150618A (en) * 2007-10-31 2008-03-26 中兴通讯股份有限公司 A mobile phone with self-defined keyboard

Also Published As

Publication number Publication date
CN103197765A (en) 2013-07-10

Similar Documents

Publication Publication Date Title
CN101266520B (en) System for accomplishing live keyboard layout
CN103136196A (en) Methods used for inputting text into electronic device and correcting error
CN103197765B (en) Keyboard layout adjusting method
CN100334529C (en) Reduced keyboard disambiguating system
CA2410057C (en) Apparatus and method for input of ideographic korean syllables from reduced keyboard
US8315852B2 (en) Electronic equipment equipped with dictionary function
US20040021691A1 (en) Method, system and media for entering data in a personal computing device
CN103135786B (en) For the method to electronic equipment input text
JP2007133884A5 (en)
CN104516522A (en) Input method and device of nine-rectangle-grid keyboard
WO2003081365A2 (en) Entering text into an electronic communications device
CA2710161A1 (en) Character input device, system, and character input control method
WO2002033527A2 (en) Data entry system for personal computer
KR20070064869A (en) Method for scrolling data, changing page and changing data display, and mobile phone thereby
CN103135787B (en) Method and keyboard system for inputting text into electronic device
CN105988704A (en) Efficient touch screen text input system and method
US20080104036A1 (en) Mobile phone capable of building a quick launch item according a search result and related method
CN103279467A (en) Information display apparatus and an information display method
JP2007094802A (en) List display system, list display method, and program
JP6221275B2 (en) Character input program and character input device
CN101644958A (en) Method and device for inputting symbol
KR20050047074A (en) Apparatus and method for input of ideographic korean syllables from reduced keyboard
KR101478562B1 (en) mobile terminal and method for searching file thereof
MXPA99006904A (en) Reduced keyboard disambiguating system
JPH11338608A (en) Method and device for information processing and storage medium

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