CN102609108A - Electronic equipment for inputting characters and method for inputting characters into electronic equipment - Google Patents
Electronic equipment for inputting characters and method for inputting characters into electronic equipment Download PDFInfo
- Publication number
- CN102609108A CN102609108A CN2012100337139A CN201210033713A CN102609108A CN 102609108 A CN102609108 A CN 102609108A CN 2012100337139 A CN2012100337139 A CN 2012100337139A CN 201210033713 A CN201210033713 A CN 201210033713A CN 102609108 A CN102609108 A CN 102609108A
- Authority
- CN
- China
- Prior art keywords
- character
- substring
- backup
- behind
- frequency
- 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.)
- Pending
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
- Input From Keyboards Or The Like (AREA)
Abstract
The invention relates to the field of relevant technology of electronic equipment, in particular to electronic equipment for inputting characters and a method for inputting the characters into the electronic equipment. The method includes identifying the position of a cursor in a character string to be inputted; determining a first character sub-string with a first forecasting quantity in front of the cursor and/or a second character sub-string with a second forecasting quantity in rear of the cursor; determining a first alternative character table in rear of the first character sub-string and/or a second alternative character table in front of the second character sub-string; and displaying the first alternative character table and/or the second alternative character table in the electronic equipment. By means of tracking the cursor, the position at which a user is about to input characters is determined, written languages about to be inputted by the user is forecasted according to the character strings in front and rear of the position, then written languages are displayed and selected by the user, the electronic equipment and the method bring great convenience for the user, and input speed and accuracy of the user are improved.
Description
Technical field
The present invention relates to the electronic equipment correlative technology field, particularly the electronic equipment of the method for input character and input character in electronic equipment.
Background technology
The mutual very important technology of input character right and wrong ordinary person machine in electronic equipment.In general, to computer input character literal, perhaps present mobile phone comprises the mobile phone that uses keyboard or use touch-screen to the user through keyboard, all is to need could accomplish man-machine interaction through input character.And how input character has become a special technology, i.e. input method.
Existing input method is compared has had very large development in the past.And wherein maximum progress is the method that the prediction character occurred, promptly when the user imports a character, just can pass through forecast method rapidly, the character that the judges next one will be imported, and show, supply the user to select.Made things convenient for the user greatly.
Yet still there is certain defective in existing input method:
It only can carry out anticipation according to the current input of user, and passes through methods such as mouse, keyboard, touch-screen as the user, when in the middle of a pile literal, importing, then can't accomplish this function.When the user has write passage, find that then the central existence of literal needs the place of revising, and when re-entering, after existing input method still need be waited for user's input characters, could predict the literal that the user has just imported, for the user makes troubles.
Summary of the invention
The present invention provide a kind of in electronic equipment the method for input character and the electronic equipment of input character, to solve the prior art technical matters that input characters can not be predicted at once in the middle of a plurality of characters.
The technical scheme that adopts is following:
A kind of in electronic equipment the method for input character, comprising:
The identification position of cursor in the character to be entered string confirms behind first character substring and/or the cursor of preceding the first prediction quantity of cursor that second predicts second character substring of quantity;
According to character string incoming frequency table, confirm the first alternative characters table and/or the second alternative characters table before second character substring behind first character substring;
In electronic equipment, show the first alternative characters table and/or the second alternative characters table;
According to the selection of the user who receives to the first alternative characters table and/or the second alternative characters table, input character in electronic equipment;
Said character string incoming frequency table comprises preset to a plurality of characters that possibly occur behind first character substring and/or before second character substring;
The said first alternative characters table comprises: from character string incoming frequency table, be chosen at a plurality of characters that possibly occur behind first character substring;
The said second alternative characters table comprises: from character string incoming frequency table, be chosen at a plurality of characters that possibly occur before second character substring.
Said cursor is meant, when the user in a text box or certain program during input character, be used for a sign of the position that explicit user will input character.
Present most cursor all is a little vertical line, and regular flashes.Can be also can be static dynamically, appearance be also different under different situations.Can control cursor through modes such as keyboard, mouse or touch-screens by the user and between a plurality of characters, move, thus the position that identifying user will input character.
Further, the said character that possibly occur adopts following method to obtain:
When the order of the input character that receives the user, preserve:
Character behind the first backup character substring of a plurality of first prediction quantity and the first backup character substring, and/or;
Character before the second backup character substring of a plurality of second prediction quantity and the second backup character substring;
Character behind the said first backup character substring and/or the character of character before the second backup character substring for occurring.
Further, the said first alternative characters table and/or the second alternative characters table sort according to the frequency of occurrences of character.
Further, the said frequency of occurrences adopts following method to obtain:
When the order of the input character that receives the user, preserve:
The frequency that the first backup character substring of a plurality of first prediction quantity, the character behind the first backup character substring and character occur behind the first backup character substring, and/or;
The frequency that the second backup character substring of a plurality of second prediction quantity, the character before the second backup character substring and character occur before the second backup character substring;
It is the said frequency of occurrences that frequency that said character occurs behind the first backup character substring and/or character back up the frequency that occurs before the character substring second.
A kind of electronic equipment of input character comprises:
Storer;
Character input device;
One or more processors, and;
One or more modules are stored in the storer, and are carried out by said one or more processors, and said one or more modules comprise:
Position determination module is used for discerning the position of cursor at the character to be entered string, confirms second character substring of the second prediction quantity behind first character substring and/or the cursor of the preceding first prediction quantity of cursor;
The alternative characters table is selected module, is used for according to character string incoming frequency table, confirms the first alternative characters table and/or the second alternative characters table before second character substring behind first character substring;
Alternative characters table display module is used for showing the first alternative characters table and/or the second alternative characters table at electronic equipment;
The alternative characters load module is used for the selection to the first alternative characters table and/or the second alternative characters table according to the user who receives, input character in electronic equipment;
Said character string incoming frequency table comprises preset to a plurality of characters that possibly occur behind first character substring and/or before second character substring;
The said first alternative characters table comprises: from character string incoming frequency table, be chosen at a plurality of characters that possibly occur behind first character substring;
The said second alternative characters table comprises: from character string incoming frequency table, be chosen at a plurality of characters that possibly occur before second character substring.
Further, said one or more module also comprises:
Module preserved in character, when being used for the order when the input character that receives the user, and preservation:
Character behind the first backup character substring of a plurality of first prediction quantity and the first backup character substring, and/or;
Character before the second backup character substring of a plurality of second prediction quantity and the second backup character substring;
Character behind the said first backup character substring and/or the character of character before the second backup character substring for occurring.
Further, said one or more module also comprises:
Order module is used for the said first alternative characters table and/or the second alternative characters table frequency of occurrences according to character is sorted.
Further, said character is preserved module and is used for:
When the order of the input character that receives the user, preserve:
The frequency that the first backup character substring of a plurality of first prediction quantity, the character behind the first backup character substring and character occur behind the first backup character substring, and/or;
The frequency that the second backup character substring of a plurality of second prediction quantity, the character before the second backup character substring and character occur before the second backup character substring;
It is the said frequency of occurrences that frequency that said character occurs behind the first backup character substring and/or character back up the frequency that occurs before the character substring second.
The present invention is through to the tracking of cursor, thereby confirms the position that the user will input character, according to the character string before and after this position; The literal that will import the user carries out anticipation; Thereby show to supply the user to select, made things convenient for the user greatly, the input speed that has improved the user is accuracy very.
Description of drawings
Fig. 1 is the process flow diagram of the embodiment of the invention;
Synoptic diagram when Fig. 2 is the prior art input character;
Synoptic diagram when Fig. 3 is embodiment of the invention input character.
Embodiment
Below in conjunction with accompanying drawing and specific embodiment the present invention is done further detailed explanation.
As shown in Figure 1, be the process flow diagram of present embodiment.
A kind of in electronic equipment the method for input character, comprising:
Step S101,1 second character substring is confirmed behind first character substring that cursor is preceding 1 and the cursor in the identification position of cursor in the character to be entered string.
In the present embodiment, the first prediction quantity and the second prediction quantity all are set to " 1 ", but in fact numeral arbitrarily can be set.
Step S102 according to character string incoming frequency table, confirms the first alternative characters table and the second alternative characters table before second character substring behind first character substring.
Wherein, character string incoming frequency table comprise to behind first character substring with second character substring before a plurality of characters that possibly occur and the frequency of occurrences thereof;
The character that possibly occur and the frequency of occurrences adopt following method to obtain:
When the order of the input character that receives the user, preserve:
The frequency (as the frequency of occurrences) that the first backup character substring of a plurality of first prediction quantity, first backup character (as the character that possibly occur) and the character behind the character substring occurs behind the first backup character substring and;
The frequency (as the frequency of occurrences) that the second backup character substring of a plurality of second prediction quantity, the character (as the character that possibly occur) before the second backup character substring and character occur before the second backup character substring.
The first alternative characters table comprises: from character string incoming frequency table, be chosen at a plurality of characters that possibly occur behind first character substring, and sort according to the frequency of occurrences of character;
The second alternative characters table comprises: from character string incoming frequency table, be chosen at a plurality of characters that possibly occur before second character substring, and sort according to the frequency of occurrences of character.
Step S103 shows the first alternative characters table and the second alternative characters table in electronic equipment.
Step S104 is according to the selection of the user who receives to the first alternative characters table and the second alternative characters table, input character in electronic equipment.
As shown in Figure 2, be the input mode of prior art.
The user imports in the textbox 21 of computing machine 24: " I am "; Then when user input " in " during word; Cursor 22 " I am " afterwards, the input mode of prior art then can provide preliminary election frame 23 in advance, shows that " 1. state 2. China are 3. " select to the user as alternate item.The user only needs to click " 1 " then can directly import " state " word.
Yet when if the user moves on to cursor 22 in the middle of " I am " two characters, existing input mode can't be discerned and predicts that therefore, the Character prediction function of prior art lost efficacy at this it.
As shown in Figure 3, be the input mode of present embodiment:
The user imports in the textbox 31 of computing machine 34: " I am ", and in the time of in the middle of the user moves on to cursor 32 " I am " two characters, then:
Execution in step S101, preceding 1 character of cursor be " I " as first character substring, 1 character " is " as second character substring behind the cursor.
Execution in step S102 according to character incoming frequency table as shown in table 1, confirms the content of the first alternative characters table and the second alternative characters table and puts in order.
Table 1 character incoming frequency table
first backup character substring | first backup characters substring character after | corresponding frequency |
I | who | 35 |
I | To | 24 |
I | is | 18 |
Yes | you | 47 |
...... | ...... | ...... |
? | ? | ? |
The second backup character substring | second backup character substring of characters before the | corresponding frequency |
yes | I | 13 |
is | who | 8 |
yes | ? | ? |
...... | ... ... | ...... |
Wherein, the content of the first alternative characters table and put in order and be ", will, be ", the content of the second alternative characters table and put in order and be " you, I, ".
Execution in step S103, in the preliminary election frame, provide " 1. 2. want 3. be 4. you 5. I 6. ".
Execution in step S104, the user clicks " 1 " input " " word.
Can also adjust according to actual conditions for the first prediction quantity and the second prediction quantity.In general, first the prediction quantity and second the prediction quantity be provided with greatly more, selects accurate more, but the while, selectable range will dwindle.And first the prediction quantity and second the prediction quantity be provided with more for a short time, selects fuzzy more, but the while, selectable range will enlarge.
Claims (8)
1. the method for an input character in electronic equipment is characterized in that, comprising:
The identification position of cursor in the character to be entered string confirms behind first character substring and/or the cursor of preceding the first prediction quantity of cursor that second predicts second character substring of quantity;
According to character string incoming frequency table, confirm the first alternative characters table and/or the second alternative characters table before second character substring behind first character substring;
In electronic equipment, show the first alternative characters table and/or the second alternative characters table;
According to the selection of the user who receives to the first alternative characters table and/or the second alternative characters table, input character in electronic equipment;
Said character string incoming frequency table comprises preset to a plurality of characters that possibly occur behind first character substring and/or before second character substring;
The said first alternative characters table comprises: from character string incoming frequency table, be chosen at a plurality of characters that possibly occur behind first character substring;
The said second alternative characters table comprises: from character string incoming frequency table, be chosen at a plurality of characters that possibly occur before second character substring.
2. according to claim 1 in electronic equipment the method for input character, it is characterized in that the said character that possibly occur adopts following method to obtain:
When the order of the input character that receives the user, preserve:
Character behind the first backup character substring of a plurality of first prediction quantity and the first backup character substring, and/or;
Character before the second backup character substring of a plurality of second prediction quantity and the second backup character substring;
Character behind the said first backup character substring and/or the character of character before the second backup character substring for occurring.
3. according to claim 1 in electronic equipment the method for input character, it is characterized in that the said first alternative characters table and/or the second alternative characters table sort according to the frequency of occurrences of character.
4. according to claim 3 in electronic equipment the method for input character, it is characterized in that the said frequency of occurrences adopts following method to obtain:
When the order of the input character that receives the user, preserve:
The frequency that the first backup character substring of a plurality of first prediction quantity, the character behind the first backup character substring and character occur behind the first backup character substring, and/or;
The frequency that the second backup character substring of a plurality of second prediction quantity, the character before the second backup character substring and character occur before the second backup character substring;
It is the said frequency of occurrences that frequency that said character occurs behind the first backup character substring and/or character back up the frequency that occurs before the character substring second.
5. the electronic equipment of an input character is characterized in that, comprising:
Storer;
Character input device;
One or more processors, and;
One or more modules are stored in the storer, and are carried out by said one or more processors, and said one or more modules comprise:
Position determination module is used for discerning the position of cursor at the character to be entered string, confirms second character substring of the second prediction quantity behind first character substring and/or the cursor of the preceding first prediction quantity of cursor;
The alternative characters table is selected module, is used for according to character string incoming frequency table, confirms the first alternative characters table and/or the second alternative characters table before second character substring behind first character substring;
Alternative characters table display module is used for showing the first alternative characters table and/or the second alternative characters table at electronic equipment;
The alternative characters load module is used for the selection to the first alternative characters table and/or the second alternative characters table according to the user who receives, input character in electronic equipment;
Said character string incoming frequency table comprises preset to a plurality of characters that possibly occur behind first character substring and/or before second character substring;
The said first alternative characters table comprises: from character string incoming frequency table, be chosen at a plurality of characters that possibly occur behind first character substring;
The said second alternative characters table comprises: from character string incoming frequency table, be chosen at a plurality of characters that possibly occur before second character substring.
6. the electronic equipment of input character according to claim 5 is characterized in that, said one or more modules also comprise:
Module preserved in character, when being used for the order when the input character that receives the user, and preservation:
Character behind the first backup character substring of a plurality of first prediction quantity and the first backup character substring, and/or;
Character before the second backup character substring of a plurality of second prediction quantity and the second backup character substring;
Character behind the said first backup character substring and/or the character of character before the second backup character substring for occurring.
7. the electronic equipment of input character according to claim 5 is characterized in that, said one or more modules also comprise:
Order module is used for the said first alternative characters table and/or the second alternative characters table frequency of occurrences according to character is sorted.
8. the electronic equipment of input character according to claim 7 is characterized in that, said character is preserved module and is used for:
When the order of the input character that receives the user, preserve:
The frequency that the first backup character substring of a plurality of first prediction quantity, the character behind the first backup character substring and character occur behind the first backup character substring, and/or;
The frequency that the second backup character substring of a plurality of second prediction quantity, the character before the second backup character substring and character occur before the second backup character substring;
It is the said frequency of occurrences that frequency that said character occurs behind the first backup character substring and/or character back up the frequency that occurs before the character substring second.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012100337139A CN102609108A (en) | 2012-02-15 | 2012-02-15 | Electronic equipment for inputting characters and method for inputting characters into electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012100337139A CN102609108A (en) | 2012-02-15 | 2012-02-15 | Electronic equipment for inputting characters and method for inputting characters into electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102609108A true CN102609108A (en) | 2012-07-25 |
Family
ID=46526545
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012100337139A Pending CN102609108A (en) | 2012-02-15 | 2012-02-15 | Electronic equipment for inputting characters and method for inputting characters into electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102609108A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104461054A (en) * | 2014-12-16 | 2015-03-25 | 飞天诚信科技股份有限公司 | String length limited input device and string length limited input method |
CN105204658A (en) * | 2014-06-27 | 2015-12-30 | 联想(北京)有限公司 | Electronic equipment and input control method thereof |
CN107783668A (en) * | 2016-08-25 | 2018-03-09 | 京瓷办公信息系统株式会社 | Electronic equipment and character input control method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1731331A (en) * | 2004-08-05 | 2006-02-08 | 摩托罗拉公司 | Character prediction |
CN101424979A (en) * | 2008-11-27 | 2009-05-06 | 北京中星微电子有限公司 | Method for enhancing intellectualization of input method |
JP2011170437A (en) * | 2010-02-16 | 2011-09-01 | Nec System Technologies Ltd | Touch panel input device, and input position adjustment method and program therefor |
-
2012
- 2012-02-15 CN CN2012100337139A patent/CN102609108A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1731331A (en) * | 2004-08-05 | 2006-02-08 | 摩托罗拉公司 | Character prediction |
CN101424979A (en) * | 2008-11-27 | 2009-05-06 | 北京中星微电子有限公司 | Method for enhancing intellectualization of input method |
JP2011170437A (en) * | 2010-02-16 | 2011-09-01 | Nec System Technologies Ltd | Touch panel input device, and input position adjustment method and program therefor |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105204658A (en) * | 2014-06-27 | 2015-12-30 | 联想(北京)有限公司 | Electronic equipment and input control method thereof |
CN105204658B (en) * | 2014-06-27 | 2019-02-05 | 联想(北京)有限公司 | Electronic equipment and its input control method |
CN104461054A (en) * | 2014-12-16 | 2015-03-25 | 飞天诚信科技股份有限公司 | String length limited input device and string length limited input method |
CN104461054B (en) * | 2014-12-16 | 2017-11-24 | 飞天诚信科技股份有限公司 | A kind of input unit and method of restricted character string length |
CN107783668A (en) * | 2016-08-25 | 2018-03-09 | 京瓷办公信息系统株式会社 | Electronic equipment and character input control method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102830924B (en) | A kind of method and device adjusting entering method keyboard | |
EP2940557A1 (en) | Method and device used for providing input candidate item corresponding to input character string | |
CN104636434A (en) | Search result processing method and device | |
CN101763218A (en) | Input method for handheld equipment | |
CN102841746B (en) | A kind of mobile phone webpage interaction method | |
CN104281649A (en) | Input method and device and electronic equipment | |
CN102141868B (en) | Method for quickly operating information interaction page, input method system and browser plug-in | |
CN102591880A (en) | Information providing method and device | |
EP3029567B1 (en) | Method and device for updating input method system, computer storage medium, and device | |
CN102930002A (en) | Instant searching method and device | |
CN105488159A (en) | Page display method and page display apparatus | |
CN102043574A (en) | Input method and input equipment | |
CN106527888A (en) | Screen-sliding page searching method and device | |
CN105335383A (en) | Input information processing method and device | |
CN104571813A (en) | Information displaying method and device | |
CN104537051A (en) | Terminal and searching method based on touch operation | |
CN104102636A (en) | Method and device for counting and presenting page data | |
CN103455498A (en) | Table keyword information locating method based on hypertext | |
CN103020277B (en) | A kind of search terms suggestions method and apparatus | |
CN106601256A (en) | Voice recognition method and mobile terminal | |
CN104102704A (en) | System control displaying method and system control displaying device | |
CN102609108A (en) | Electronic equipment for inputting characters and method for inputting characters into electronic equipment | |
CN103294175A (en) | Electronic device and method for electronic device to automatically switch input modes | |
CN106293354B (en) | Shortcut menu self-adaptive display control method, server and portable terminal | |
CN105094653A (en) | Page content positioning method and page content positioning device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20120725 |