CN101727199A - Input method and input equipment - Google Patents
Input method and input equipment Download PDFInfo
- Publication number
- CN101727199A CN101727199A CN200910189127A CN200910189127A CN101727199A CN 101727199 A CN101727199 A CN 101727199A CN 200910189127 A CN200910189127 A CN 200910189127A CN 200910189127 A CN200910189127 A CN 200910189127A CN 101727199 A CN101727199 A CN 101727199A
- Authority
- CN
- China
- Prior art keywords
- character
- input method
- input
- cursor position
- cursor
- 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)
Abstract
The invention discloses an input method and input equipment. The method comprises the following steps of: obtaining a character input by a user and the input method used for inputting the character in an input mode by the equipment; recording and storing the character and recording the input method corresponding to the character by the equipment; obtaining a current cursor position when edition is needed by the equipment; inquiring corresponding input method according to the input method for the characters in front of and behind the cursor position; and starting the input method. The method calls a corresponding input method by adopting the input method for analyzing the characters in front of and behind the cursor position, so an appropriate input method is flexibly and rapidly switched for the user. The method improves the input speed and brings convenience for a user to use.
Description
Technical field
The present invention relates to the word processing field of embedded device, specially refer to a kind of input method and input media.
Background technology
Current mobile terminal function is more and more, and the text input has become general application, all needs to install one or more input methods usually in order to improve input speed, and the user can select corresponding input method according to own needs in use.When user input text, at first selected input method is carried out the text input according to the service regeulations of input method then, the method that adopts when needs are replaced input text and newly input text is identical also is at first to set input method.
In specific implementation process, the present inventor finds, when the text of having imported is replaced or inserted, still needs to reassign input method, has reduced input speed.
Summary of the invention
Technical matters to be solved by this invention is when input text is edited, can not switch corresponding input method rapidly, causes input speed to reduce.
In order to solve the problems of the technologies described above, the present invention proposes a kind of input method, comprising:
Under input pattern, obtain user inputs character and import the input method that described character uses;
The described character of recorded and stored, and the record input method corresponding with described character;
When the needs editor, obtain current cursor position;
Input method according to character before and after the described cursor position is searched corresponding input method;
Start described input method.
Further, describedly also comprise after obtaining current cursor position:
Judge whether editing mode is replacement;
When described editing mode is replacement, searches and be replaced the input method that character uses.
Further, described input method according to character before and after the described cursor position is searched corresponding input method and is comprised:
Judge whether be positioned at described cursor position input character begins;
When cursor is positioned at before first character of input of character string, the input method of searching first character in the described input of character string.
Further, described input method according to character before and after the described cursor position is searched corresponding input method and is comprised:
Judge whether described cursor position is positioned at input character end;
When cursor is positioned at after last character of input of character string, the input method of searching last character in the described input of character string.
Further, described input method according to character before and after the described cursor position is searched corresponding input method and is comprised:
Judge whether described cursor position is positioned in the middle of the input character;
When cursor between two adjacent characters of input of character string the time, the input method of using when importing according to the front and back character is searched input method according to predetermined policy.
Further, described input method according to character before and after the described cursor position is searched corresponding input method and is comprised: search corresponding input method according to the input method of preceding character; Or
Input method according to the back character is searched corresponding input method.
In order to solve the problems of the technologies described above, the present invention also provides a kind of input media, comprising:
First acquisition module is used under input pattern, obtains user inputs character and imports the input method that described character uses;
Logging modle is used for the described character of recorded and stored, and the record input method corresponding with described character;
Second acquisition module is used to obtain current cursor position;
Search module, be used for searching corresponding input method according to the input method of character before and after the described cursor position;
Start module, be used to start described input method.
Further, described device also comprises:
The editing mode judge module is used to judge whether editing mode is replacement;
The described module of searching also is used for when described editing mode is replacement, searches and is replaced the input method that character uses.
Further, the described module of searching comprises:
Judge module is used to judge whether described cursor position is positioned at that input character begins or whether described cursor position is positioned at input character end or described cursor position and whether is positioned in the middle of the input character;
Search submodule, be used for when cursor is positioned at before the input of character string beginning character input method of searching first character of character string; When cursor is positioned at after last character of input of character string, the input method of searching last character of character string; When cursor between two adjacent characters of input of character string the time, the input method of using when importing according to the front and back character is searched input method according to predetermined policy.
The present invention adopts the input method of analyzing front and back, cursor position character, thereby calls corresponding input method, can be that the user is switched a suitable input method fast flexibly, improves input speed, is user-friendly to.
Description of drawings
Fig. 1 is the process flow diagram of the input method of the embodiment of the invention;
Fig. 2 is the module diagram of the input media of the embodiment of the invention.
The realization of the object of the invention, functional characteristics and advantage will be in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
With reference to Fig. 1, the process flow diagram of embodiment of the invention input method;
Input method provided by the invention can be used in various device, for example portable terminal, computing machine etc.; To use the present invention to describe as example in portable terminal, each step is the portable terminal execution in Fig. 1 in the present embodiment; The user is when input characters in embodiments of the present invention, the input method that portable terminal (or computing machine) is adopted in the time of can writing down the position at this literal place in text earlier and input in the literal of recording user input.
User's operating mobile terminal adopts a certain input method to generate the required character of user.
The input method that step 102, portable terminal analysis user are used;
The user when writing literal, the input method that the portable terminal discriminating user uses.
Portable terminal gets access to the character of user input, after recognizing the user and importing the input method that this character uses, character, character position and user is imported the input method that this character uses preserve as a tabulation.
When user inputs character, simultaneously recording user is imported the input method that this character uses, and making can provide same input method to use to the user when the user need update input character.
When the user opens the text of having preserved, when beginning text edited; Portable terminal reads current cursor position according to user's operation.
After portable terminal reads cursor position, judge that cursor position is to be in the text centre of input character or beginning or place, end.When cursor position be arranged in input character begin place's (being before cursor position is in first character of input character) time, continue step 106; When cursor position is positioned at the centre of input character (cursor position is between two adjacent characters), continue step 107; When cursor position is arranged in the end of input character (being after cursor position is in last character of input character), continue step 108.
When cursor is positioned at before the input of character string beginning character, the input method pattern of analysis and consult beginning character in canned data.
When cursor was between two adjacent characters, the input method of using when importing according to the front and back character was searched input method according to predetermined policy; The input method of using when the input method of using in the time of for example can setting according to the input of last character also can be according to back one character input also can be used other input methods according to the formation of front and back character.
When cursor is positioned at after last character of input of character string, the input method pattern of last character of analysis and consult in canned data.
In the abovementioned steps, all be that to insert character with the user in input text be example, further, when the user need directly replace input character, judge whether editing mode is replacement; When editing mode is replacement, searches and be replaced the input method that character uses.
The input method that portable terminal obtains according to analysis starts corresponding input method, waits for user's input.
The embodiment of the invention adopts the input method of analyzing front and back, cursor position character, thereby calls corresponding input method, can be that the user is switched a suitable input method fast flexibly, improves input speed, is user-friendly to.
See also Fig. 2, the module diagram of the input media of the embodiment of the invention;
The embodiment of the invention is to adopt the input media of above-mentioned input method embodiment, the user is when input characters in the embodiment of the invention, the input method that input media is adopted in the time of can writing down the position at this literal place in text earlier and input in the literal of recording user input.
Input media comprises:
The user obtains the input method that discriminating user uses when writing literal.
When the user opens the text of having preserved, when beginning text edited; Acquisition module 41 reads current cursor position according to user's operation.
Search module 24, be used for searching corresponding input method according to the input method of character before and after the cursor position;
Further, device also comprises:
Editing mode judge module 26 is used to judge whether editing mode is replacement;
Search module 24 and also be used for when editing mode is replacement, search and be replaced the input method that character uses.
Further, searching module 24 comprises:
Further, in actual applications also can be with judge module 241 by three judge modules: first judge module 2411, second judge module 2412 and the 3rd judge module 2413 be formed; Searching submodule 242 also can search submodule 2421, second by first and search submodule 2422 and the 3rd and search submodule 2423 and form; Specific as follows:
First judge module 2411 is used to judge whether be positioned at cursor position input character begins:
First searches submodule 2421, is used for when cursor is positioned at before the input of character string beginning character input method of searching first character of character string.
Further, searching module comprises:
Second searches submodule 2422, is used for when cursor is positioned at after last character of input of character string the input method of searching last character of character string.
The 3rd judge module 2413 is used to judge whether cursor position is positioned in the middle of the input character;
The 3rd searches submodule 2423, be used for when cursor between two adjacent characters of input of character string the time, the input method of using when importing according to the front and back character is searched input method according to predetermined policy.
The embodiment of the invention adopts the input method of analyzing front and back, cursor position character, thereby calls corresponding input method, can be that the user is switched a suitable input method fast flexibly, improves input speed, is user-friendly to.
The above only is the preferred embodiments of the present invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to be done; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.
Claims (9)
1. an input method is characterized in that, comprising:
Under input pattern, obtain user inputs character and import the input method that described character uses;
The described character of recorded and stored, and the record input method corresponding with described character;
When the needs editor, obtain current cursor position;
Input method according to character before and after the described cursor position is searched corresponding input method;
Start described input method.
2. input method according to claim 1 is characterized in that, describedly also comprises after obtaining current cursor position:
Judge whether editing mode is replacement;
When described editing mode is replacement, searches and be replaced the input method that character uses.
3. input method according to claim 1 is characterized in that, described input method according to character before and after the described cursor position is searched corresponding input method and comprised:
Judge whether be positioned at described cursor position input character begins;
When cursor is positioned at before first character of input of character string, the input method of searching first character in the described input of character string.
4. input method according to claim 1 is characterized in that, described input method according to character before and after the described cursor position is searched corresponding input method and comprised:
Judge whether described cursor position is positioned at input character end;
When cursor is positioned at after last character of input of character string, the input method of searching last character in the described input of character string.
5. input method according to claim 1 is characterized in that, described input method according to character before and after the described cursor position is searched corresponding input method and comprised:
Judge whether described cursor position is positioned in the middle of the input character;
When cursor between two adjacent characters of input of character string the time, the input method of using when importing according to the front and back character is searched input method according to predetermined policy.
6. input method according to claim 1 is characterized in that, described input method according to character before and after the described cursor position is searched corresponding input method and comprised: search corresponding input method according to the input method of preceding character; Or
Input method according to the back character is searched corresponding input method.
7. an input media is characterized in that, comprising:
First acquisition module is used under input pattern, obtains user inputs character and imports the input method that described character uses;
Logging modle is used for the described character of recorded and stored, and the record input method corresponding with described character;
Second acquisition module is used to obtain current cursor position;
Search module, be used for searching corresponding input method according to the input method of character before and after the described cursor position;
Start module, be used to start described input method.
8. input media according to claim 7 is characterized in that, described device also comprises:
The editing mode judge module is used to judge whether editing mode is replacement;
The described module of searching also is used for when described editing mode is replacement, searches and is replaced the input method that character uses.
9. input media according to claim 7 is characterized in that, the described module of searching comprises:
Judge module is used to judge whether described cursor position is positioned at that input character begins or whether described cursor position is positioned at input character end or described cursor position and whether is positioned in the middle of the input character;
Search submodule, be used for when cursor is positioned at before the input of character string beginning character input method of searching first character of character string; When cursor is positioned at after last character of input of character string, the input method of searching last character of character string; When cursor between two adjacent characters of input of character string the time, the input method of using when importing according to the front and back character is searched input method according to predetermined policy.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910189127A CN101727199A (en) | 2009-12-21 | 2009-12-21 | Input method and input equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910189127A CN101727199A (en) | 2009-12-21 | 2009-12-21 | Input method and input equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101727199A true CN101727199A (en) | 2010-06-09 |
Family
ID=42448172
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910189127A Pending CN101727199A (en) | 2009-12-21 | 2009-12-21 | Input method and input equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101727199A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102339199A (en) * | 2010-07-23 | 2012-02-01 | 腾讯科技(深圳)有限公司 | Method and device for switching input methods |
CN102945113A (en) * | 2012-10-12 | 2013-02-27 | 上海量明科技发展有限公司 | Method for replacing character by input method and client |
CN103037106A (en) * | 2012-12-25 | 2013-04-10 | 广东欧珀移动通信有限公司 | Method and device of mobile phone input keyboard switch |
CN103838468A (en) * | 2014-03-18 | 2014-06-04 | 宇龙计算机通信科技(深圳)有限公司 | Intelligent input method switching method and device |
CN106293124A (en) * | 2016-08-05 | 2017-01-04 | 努比亚技术有限公司 | Input method switching device, terminal and method |
CN107957789A (en) * | 2017-11-29 | 2018-04-24 | 维沃移动通信有限公司 | A kind of text entry method and mobile terminal |
CN109164922A (en) * | 2018-07-27 | 2019-01-08 | 五八有限公司 | Character string input method, device, computer equipment and readable storage medium storing program for executing |
-
2009
- 2009-12-21 CN CN200910189127A patent/CN101727199A/en active Pending
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102339199A (en) * | 2010-07-23 | 2012-02-01 | 腾讯科技(深圳)有限公司 | Method and device for switching input methods |
CN102339199B (en) * | 2010-07-23 | 2016-04-27 | 深圳市世纪光速信息技术有限公司 | The method that input method switches and device |
CN102945113A (en) * | 2012-10-12 | 2013-02-27 | 上海量明科技发展有限公司 | Method for replacing character by input method and client |
CN102945113B (en) * | 2012-10-12 | 2016-08-31 | 上海量明科技发展有限公司 | Method character being replaced by input method and client |
CN103037106A (en) * | 2012-12-25 | 2013-04-10 | 广东欧珀移动通信有限公司 | Method and device of mobile phone input keyboard switch |
CN103838468A (en) * | 2014-03-18 | 2014-06-04 | 宇龙计算机通信科技(深圳)有限公司 | Intelligent input method switching method and device |
CN106293124A (en) * | 2016-08-05 | 2017-01-04 | 努比亚技术有限公司 | Input method switching device, terminal and method |
CN107957789A (en) * | 2017-11-29 | 2018-04-24 | 维沃移动通信有限公司 | A kind of text entry method and mobile terminal |
CN107957789B (en) * | 2017-11-29 | 2020-04-28 | 维沃移动通信有限公司 | Text input method and mobile terminal |
CN109164922A (en) * | 2018-07-27 | 2019-01-08 | 五八有限公司 | Character string input method, device, computer equipment and readable storage medium storing program for executing |
CN109164922B (en) * | 2018-07-27 | 2023-01-13 | 五八有限公司 | Character string input method and device, computer equipment and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101727199A (en) | Input method and input equipment | |
CN103200293A (en) | Method of automatically combining tautonomy contacts in process of guiding contacts into contact list | |
CN101763218A (en) | Input method for handheld equipment | |
CN103064530A (en) | Input processing method and device | |
CN102339199A (en) | Method and device for switching input methods | |
CN101833574B (en) | Method and system for locating application programs | |
CN103440297A (en) | Method for recording and reading user operation log information | |
CN103092981A (en) | Method and electronic equipment for building speech marks | |
CN104185088A (en) | Video processing method and device | |
CN108268438A (en) | A kind of content of pages extracting method, device and client | |
CN103354576B (en) | The storage of mobile phone and cell-phone number attaching information thereof and lookup method | |
CN103167171A (en) | Selection method and mobile terminal of contact mode | |
CN103678554A (en) | Character substituting method and device | |
CN103152633A (en) | Method and device for identifying key word | |
CN101944117B (en) | Sorting and searching method and system based on database | |
CN104156430A (en) | Device and method for fast extracting Android mobile phone data | |
CN104794046A (en) | Method and system for symbolizing program running log | |
CN105653669A (en) | HTML (Hypertext Marked Language) generating method and device | |
CN103533130B (en) | A kind of method deleting associated person information and mobile terminal | |
CN104182479A (en) | Method and device for processing information | |
CN103167087A (en) | Method and system of searching cell phone contact persons | |
CN103428341A (en) | Method and device for searching for mobile phone contacts | |
CN104125334A (en) | Information processing method and electronic equipment | |
CN104731766A (en) | Alphabetic writing lexicon establishing method, alphabetic writing lexicon establishing device, inputting method and inputting system | |
CN101436203B (en) | Recording index method and apparatus |
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: 20100609 |