CN103838468A - Intelligent input method switching method and device - Google Patents
Intelligent input method switching method and device Download PDFInfo
- Publication number
- CN103838468A CN103838468A CN201410099365.4A CN201410099365A CN103838468A CN 103838468 A CN103838468 A CN 103838468A CN 201410099365 A CN201410099365 A CN 201410099365A CN 103838468 A CN103838468 A CN 103838468A
- Authority
- CN
- China
- Prior art keywords
- character
- input method
- type
- changing
- input
- 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
- Document Processing Apparatus (AREA)
Abstract
The invention provides an intelligent input method switching method and device. The method includes the following steps that when a user edits a text, a character type interface of an input method is adjusted according to the position of a cursor. According to the intelligent input method switching method and device, when the user edits the text, the character type the user intends to input can be automatically predicated according to the circumstance that the user manually positions the cursor to a certain position, and therefore the character type interface of the input method can be adjusted. Fast input of the use is facilitated, the character type interface of the input method does not need to be switched manually, and the user input experience is improved.
Description
Technical field
The present invention relates to information input technology field, relate in particular to a kind of intelligent input method changing method and device.
Background technology
Use input method to carry out in the process of text editing user, as create message, input user name etc., user may be because error has been inputed number by mistake or failed to write information in the time of input, need to revise or increase content, just mouse position is switched back and re-entered, for example: user intends to input following content in note: " my new hand's plane No. is 13800000000, and old number does not re-use after No. 1.1; please every good friend present to so-and-so thanks! "; on current mobile terminal, input method character types interface is unalterable, and with set form interface display, if user finds that phone number input is above wrong; cursor is switched to after telephone number, need to manually switch input method type and modify to numeric type; When user inputs after thanks, now rest on the interface of English input, if user wants statement above " no longer to use " and change " not re-using " into, but input method also rests on digital interface, needing user's manual switchover is just can modify in input in Chinese interface.
Mobile terminal offers the present situation of the text input function of user's use, causes user in the time revising Edit Text content, and input operation is loaded down with trivial details, needs manual switching input method character types interface, and user experiences bad.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of intelligent input method changing method and device, automatic editor's demand of input method character types interface being adjusted to adapt to user.
The technical solution used in the present invention is that described intelligent input method changing method, comprising:
In the time that user carries out text editing, once the position of cursor changes, before and after the cursor position based on after changing, the type of adjacent character determines how input method character types interface is adjusted.
Further, the type of described character comprises: Chinese, English, numeral and punctuation mark.
Further, once the position of cursor changes, and to change be while occurring based on non-text input operation this position, and before and after the cursor position based on after changing, the type of adjacent character determines how input method character types interface is adjusted.
Further, before and after the described cursor position based on after changing, adjacent character types determine how input method character types interface is adjusted, specifically comprise:
When the type of adjacent character is identical before and after cursor position after changing, in input method character types interface, provide the input method character identical with the type of this front and back adjacent character; And/or,
When the type of adjacent character is different before and after cursor position after changing, in input method character types interface, provide the input method character of kinds of characters type simultaneously.
Further, when the type of adjacent character is different before and after described cursor position after changing, in input method character types interface, provide the input method character of kinds of characters type simultaneously, specifically comprise:
When cursor position after changing is arranged in input text, in input method character types interface, provide the two kind input method characters corresponding with the type of this front and back adjacent character simultaneously; And/or,
Before cursor position after changing is positioned at the initial character of input text or after trailing character time, in input method character types interface, provide polytype input method character simultaneously.
The present invention also provides a kind of intelligent input method switching device shifter, comprising:
Character types judge module, in the time that user carries out text editing, changes once the position of cursor, determine with change after cursor position before and after the type of adjacent character;
Interface of input method adjusting module, determines how input method character types interface is adjusted for the type of adjacent character before and after the cursor position based on after changing;
Further, the type of described character comprises: Chinese, English, numeral and punctuation mark.
Further, described character types judge module, for changing when the position of cursor, and to change be while occurring based on non-text input operation in this position, determines the type of adjacent character before and after the cursor position after changing.
Further, described interface of input method adjusting module, specifically comprises:
The first adjusting module when the type of adjacent character is identical before and after the cursor position after changing, provides the input method character identical with the type of this front and back adjacent character in input method character types interface; And/or,
The second adjusting module when different for the type of adjacent character before and after the cursor position after changing, provides the input method character of kinds of characters type in input method character types interface simultaneously.
Further, described the second adjusting module, specifically comprises:
Double-type is adjusted display module, in the time that the cursor position after change is positioned at input text, provides the two kind input method characters corresponding with the type of this front and back adjacent character in input method character types interface simultaneously; And/or,
Polymorphic type is adjusted display module, before being positioned at the initial character of input text or trailing character afterwards time, provides polytype input method character in input method character types interface for the cursor position after changing simultaneously.
Adopt technique scheme, the present invention at least has following advantages:
Intelligent input method changing method of the present invention and device, make user in the time carrying out copy editor, manually position a cursor over certain locational situation for user, the character types of can automatic Prediction user intending input, and then input method character types interface is adjusted, to facilitate user to input fast, and need not manually go to switch input method character types interface, improve user and input experience.
Accompanying drawing explanation
Fig. 1 is the intelligent input method changing method process flow diagram of first embodiment of the invention;
Fig. 2 is the intelligent input method switching device shifter composition schematic diagram of second embodiment of the invention;
Fig. 3 is the intelligent input method switching device shifter composition schematic diagram of third embodiment of the invention;
Fig. 4 is the input method switching flow figure that described in Fig. 3, device is carried out;
Fig. 5~Figure 12 is respectively the display effect figure at the input method character types interface that in third embodiment of the invention, each character types interface is corresponding.
Embodiment
Technological means and effect of taking for reaching predetermined object for further setting forth the present invention, below in conjunction with accompanying drawing and preferred embodiment, the present invention is described in detail as after.
First embodiment of the invention, a kind of intelligent input method changing method, as shown in Figure 1, comprises following concrete steps:
Step S101, carries out in the process of text editing user, in the time that the position of cursor changes, determine with change after cursor position before and after the type of adjacent character;
Preferably, when the position of cursor changes, and to change be not while occurring based on text input operation this position, just go to determine with change after the type of cursor position front and back adjacent character.Why this preferred version of the embodiment of the present invention is designed in finding that cursor position changes, also to judge whether this position changes is to occur based on text input operation, because in the time that user normally carries out text editing in turn, the character that the position of cursor can be inputted along with input operation and moving backward accordingly, and rest on the character end place of the last input, now, although also there is variation in cursor position, if but the type of all carrying out adjacent character before and after cursor position because of each text input operation is determined and is processed, can cause processor to increase unnecessary resource consumption, if and manually change cursor position because of user, such as: by point touching shield by cursor movement to before modify in the text inputted or when supplementary, be only the application scenarios that really need to carry out input method conversion according to the type of adjacent character before and after cursor position, therefore, the situation that the preferred version of the present embodiment changes Yin Wenben input operation triggering cursor position forecloses, do not carry out the adjustment of input method, can reduce the resource consumption of processor.In the specific implementation, can establish a zone bit flag, default value is 0, in the time that the cursor position of text input operation triggering changes, not changing the numerical value of flag, only have the light displacement triggering when non-text input operation to put while changing, is just 1 by flag assignment, triggered by the condition of flay=1 after this step of type of the cursor position front and back adjacent character after definite and change, then the numerical value of flag is being reverted to 0.
Step S102, before and after the cursor position based on after changing, the type of adjacent character determines how input method character types interface is adjusted; The type of described character comprises: Chinese, English, numeral and punctuation mark.
Concrete, step S102 at least comprises following one of two things:
The first: when the type of adjacent character is identical before and after the cursor position after changing, provide the input method character identical with the type of this front and back adjacent character in input method character types interface;
The second: when the type of adjacent character is different before and after the cursor position after changing, simultaneously provide the input method character of kinds of characters type in input method character types interface.
Further, above-mentioned the second situation at least comprises again one of following two kinds of scenes:
Scene one: when the cursor position after changing is arranged in input text, simultaneously provide the two kind input method characters corresponding with the type of this front and back adjacent character in input method character types interface;
Scene two: before the cursor position after changing is positioned at the initial character of input text or after trailing character time, simultaneously provide polytype input method character in input method character types interface.
Second embodiment of the invention, a kind of intelligent input method switching device shifter, as shown in Figure 2, comprises following ingredient:
Adjusting module 100, in the time that user carries out text editing, adjusts input method character types interface according to the position of cursor.
Concrete, adjusting module 100 comprises:
1) character types judge module 101, in the time that the position of cursor changes, determine with change after cursor position before and after the type of adjacent character;
Preferably, character types judge module 101 is for changing when the position of cursor, and to change be not while occurring based on text input operation in this position, determines the type of adjacent character before and after the cursor position after changing.
2) interface of input method adjusting module 102, determines how input method character types interface is adjusted for the type of adjacent character before and after the cursor position based on after changing; The type of described character comprises: Chinese, English, numeral and punctuation mark.
Concrete, interface of input method adjusting module 102 comprises:
The first adjusting module 200 when the type of adjacent character is identical before and after the cursor position after changing, provides the input method character identical with the type of this front and back adjacent character in input method character types interface; And/or,
The second adjusting module 400 when different for the type of adjacent character before and after the cursor position after changing, provides the input method character of kinds of characters type in input method character types interface simultaneously.
Further, the second adjusting module 400 specifically comprises again:
Double-type is adjusted display module 401, in the time that the cursor position after change is positioned at input text, provides the two kind input method characters corresponding with the type of this front and back adjacent character in input method character types interface simultaneously; And/or,
Polymorphic type is adjusted display module 402, before being positioned at the initial character of input text or trailing character afterwards time, provides polytype input method character in input method character types interface for the cursor position after changing simultaneously.
Third embodiment of the invention, introduces an application example of implementing technical solution of the present invention on smart mobile phone based on above-described embodiment.
The screen of existing smart mobile phone is increasing, and in the epoch of the intelligent terminal mobile office of marching toward just gradually, user is in the time using input method editor word, and the content of input is a lot, but most contents is all meaningful successional.Prior art all can not, according to type under the front and back content of text of current input cursor position, as numeral, Chinese, punctuation mark etc., be carried out intelligent automatic switchover input method.
This application example provides a kind of intelligent input method switching device shifter, is positioned on mobile terminal, and as shown in Figure 3, this device is mainly made up of three modules: copy editor's window, character types analysis module and input method character types interface display module.Wherein, the function class of character types analysis module is similar to the character types judge module 101 in the second embodiment, and the function class of input method character types interface display module is similar to the interface of input method adjusting module 102 in the second embodiment.
As shown in Figure 4, the input method switching flow that this device is carried out, as follows:
" be example.
Concrete, copy editor's window of user can be: the short message content region while writing note or the message body content area while writing mail.
Step 2: when user switch mouse to need to modify text place time, automatically trigger character type analysis module, to judge the character types of new cursor position left and right.
Concrete, this application example has been introduced a kind of interface of polling character type in character types analysis module, and the function of the interface of this polling character type is: become the front and back character of position according to light, intelligent decision user intends the fresh character type of input.This interface is the front and back character types by analyzing new cursor position, returns to the result of two character types, and form is " last position character types: rear character types ".Result is exemplified below, the permutation and combination that comprises various characters type:
1) numeral: numeral; 2) numeral: English; 3) numeral: Chinese; 4) numeral: symbol; 5) English: English; 6) English: symbol; 7) English: Chinese; ......
Step 3: input method character types interface display module gets after the result that character types analysis module returns, just according to the character types interface of the demonstration correspondence of result intelligent.
The display effect figure at the input method character types interface that each character types interface is corresponding is as shown in Fig. 5~Figure 12:
If the last position character and the rear character that return are same type, such input method corresponding to the direct pull-up in input method character types interface.Fig. 5 be before and after the input method character types interface of character while being numeral, Fig. 6 be before and after the input method character types interface of character while being Chinese, Fig. 7 be before and after the input method character types interface of character while being English.
If the last position character and the rear character that return are dissimilar, the input method of input method character types interface pull-up, assents family allowable and inputs two types of characters simultaneously, Fig. 8 be before and after the input method character types interface of character while being respectively numeral and Chinese; Fig. 9 be before and after the input method character types interface of character while being respectively English and numeral; Figure 10 be before and after the input method character types interface of character while being respectively numbers and symbols; Figure 11 be before and after the input method character types interface of character while being respectively English and symbol, if front and back character while being respectively Chinese and symbol, also can be applied mechanically this interface; Figure 12 be before and after character be respectively Chinese and the input method character types interface when English, this pattern can be inputted bilingual simultaneously, it be corresponding English selecting the first row, selects the second row Chinese for selecting.
This application example makes user in the situation that of copy editor's window input characters, in the time that user positions a cursor on certain position, the character types of type predictive user plan input under the character that can automatically return according to character query interface, carry out the switching of corresponding interface, to facilitate user to input fast, and need not manually remove to switch interface of input method, improve user and input experience.
By the explanation of embodiment, should be able to more deeply and concrete understanding for technological means and effect of reaching predetermined object and taking the present invention, but appended diagram be only to provide with reference to the use of explanation, be not used for the present invention to be limited.
Claims (10)
1. an intelligent input method changing method, is characterized in that, comprising:
In the time that user carries out text editing, once the position of cursor changes, before and after the cursor position based on after changing, the type of adjacent character determines how input method character types interface is adjusted.
2. intelligent input method changing method according to claim 1, is characterized in that, the type of described character comprises: Chinese, English, numeral and punctuation mark.
3. intelligent input method changing method according to claim 1, it is characterized in that, once the position of cursor changes, and it is while occurring based on non-text input operation that this position changes, and before and after the cursor position based on after changing, the type of adjacent character determines how input method character types interface is adjusted.
4. according to the intelligent input method changing method described in claim 1 or 3, it is characterized in that, before and after the described cursor position based on after changing, adjacent character types determine how input method character types interface is adjusted, specifically comprise:
When the type of adjacent character is identical before and after cursor position after changing, in input method character types interface, provide the input method character identical with the type of this front and back adjacent character; And/or,
When the type of adjacent character is different before and after cursor position after changing, in input method character types interface, provide the input method character of kinds of characters type simultaneously.
5. intelligent input method changing method according to claim 4, it is characterized in that, when the type of adjacent character is different before and after described cursor position after changing, in input method character types interface, provide the input method character of kinds of characters type simultaneously, specifically comprise:
When cursor position after changing is arranged in input text, in input method character types interface, provide the two kind input method characters corresponding with the type of this front and back adjacent character simultaneously; And/or,
Before cursor position after changing is positioned at the initial character of input text or after trailing character time, in input method character types interface, provide polytype input method character simultaneously.
6. an intelligent input method switching device shifter, is characterized in that, comprising:
Character types judge module, in the time that user carries out text editing, once the position of cursor change, determine with change after cursor position before and after the type of adjacent character;
Interface of input method adjusting module, determines how input method character types interface is adjusted for the type of adjacent character before and after the cursor position based on after changing.
7. intelligent input method switching device shifter according to claim 6, is characterized in that, the type of described character comprises: Chinese, English, numeral and punctuation mark.
8. intelligent input method switching device shifter according to claim 6, it is characterized in that described character types judge module changes for the position when cursor, and it is while occurring based on non-text input operation that this position changes, determine the type of adjacent character before and after the cursor position after changing.
9. according to the intelligent input method switching device shifter described in claim 6 or 8, it is characterized in that, described interface of input method adjusting module, specifically comprises:
The first adjusting module when the type of adjacent character is identical before and after the cursor position after changing, provides the input method character identical with the type of this front and back adjacent character in input method character types interface; And/or,
The second adjusting module when different for the type of adjacent character before and after the cursor position after changing, provides the input method character of kinds of characters type in input method character types interface simultaneously.
10. intelligent input method switching device shifter according to claim 9, is characterized in that, described the second adjusting module, specifically comprises:
Double-type is adjusted display module, in the time that the cursor position after change is positioned at input text, provides the two kind input method characters corresponding with the type of this front and back adjacent character in input method character types interface simultaneously; And/or,
Polymorphic type is adjusted display module, before being positioned at the initial character of input text or trailing character afterwards time, provides polytype input method character in input method character types interface for the cursor position after changing simultaneously.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410099365.4A CN103838468A (en) | 2014-03-18 | 2014-03-18 | Intelligent input method switching method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410099365.4A CN103838468A (en) | 2014-03-18 | 2014-03-18 | Intelligent input method switching method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103838468A true CN103838468A (en) | 2014-06-04 |
Family
ID=50802036
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410099365.4A Pending CN103838468A (en) | 2014-03-18 | 2014-03-18 | Intelligent input method switching method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103838468A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104102720A (en) * | 2014-07-18 | 2014-10-15 | 上海触乐信息科技有限公司 | Efficient input prediction method and device |
CN105138142A (en) * | 2015-08-26 | 2015-12-09 | 成都秋雷科技有限责任公司 | Method for automatically identifying input characters |
CN105446584A (en) * | 2014-08-26 | 2016-03-30 | 珠海金山办公软件有限公司 | Spreadsheet data input method and apparatus |
CN106406557A (en) * | 2015-07-31 | 2017-02-15 | 阿里巴巴集团控股有限公司 | Input method and equipment |
CN107219996A (en) * | 2017-05-04 | 2017-09-29 | 惠州Tcl移动通信有限公司 | Method, storage device and the mobile terminal of automatic switchover keyboard |
CN109032380A (en) * | 2018-08-01 | 2018-12-18 | 维沃移动通信有限公司 | A kind of character input method and terminal |
CN109992192A (en) * | 2019-02-28 | 2019-07-09 | 维沃移动通信有限公司 | A kind of interface display method and terminal device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1157951A (en) * | 1995-04-14 | 1997-08-27 | 株式会社日立制作所 | Method and apparatus for inputting data |
CN101546303A (en) * | 2008-03-28 | 2009-09-30 | 鸿富锦精密工业(深圳)有限公司 | Method for switching input methods and file processing equipment using same |
CN101727199A (en) * | 2009-12-21 | 2010-06-09 | 中兴通讯股份有限公司 | Input method and input equipment |
CN101916158A (en) * | 2010-07-30 | 2010-12-15 | 百度在线网络技术(北京)有限公司 | Method and device for configuring input mode according to input box of user device |
-
2014
- 2014-03-18 CN CN201410099365.4A patent/CN103838468A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1157951A (en) * | 1995-04-14 | 1997-08-27 | 株式会社日立制作所 | Method and apparatus for inputting data |
CN101546303A (en) * | 2008-03-28 | 2009-09-30 | 鸿富锦精密工业(深圳)有限公司 | Method for switching input methods and file processing equipment using same |
CN101727199A (en) * | 2009-12-21 | 2010-06-09 | 中兴通讯股份有限公司 | Input method and input equipment |
CN101916158A (en) * | 2010-07-30 | 2010-12-15 | 百度在线网络技术(北京)有限公司 | Method and device for configuring input mode according to input box of user device |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104102720A (en) * | 2014-07-18 | 2014-10-15 | 上海触乐信息科技有限公司 | Efficient input prediction method and device |
CN105446584A (en) * | 2014-08-26 | 2016-03-30 | 珠海金山办公软件有限公司 | Spreadsheet data input method and apparatus |
CN105446584B (en) * | 2014-08-26 | 2018-10-16 | 珠海金山办公软件有限公司 | A kind of spread-sheet data input method and device |
CN106406557A (en) * | 2015-07-31 | 2017-02-15 | 阿里巴巴集团控股有限公司 | Input method and equipment |
CN105138142A (en) * | 2015-08-26 | 2015-12-09 | 成都秋雷科技有限责任公司 | Method for automatically identifying input characters |
CN107219996A (en) * | 2017-05-04 | 2017-09-29 | 惠州Tcl移动通信有限公司 | Method, storage device and the mobile terminal of automatic switchover keyboard |
CN109032380A (en) * | 2018-08-01 | 2018-12-18 | 维沃移动通信有限公司 | A kind of character input method and terminal |
CN109032380B (en) * | 2018-08-01 | 2021-04-23 | 维沃移动通信有限公司 | Character input method and terminal |
US11340712B2 (en) | 2018-08-01 | 2022-05-24 | Vivo Mobile Communication Co., Ltd. | Text input method and terminal |
CN109992192A (en) * | 2019-02-28 | 2019-07-09 | 维沃移动通信有限公司 | A kind of interface display method and terminal device |
CN109992192B (en) * | 2019-02-28 | 2021-08-24 | 维沃移动通信有限公司 | Interface display method and terminal equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103838468A (en) | Intelligent input method switching method and device | |
CN102339199B (en) | The method that input method switches and device | |
US10310628B2 (en) | Type error revising method | |
CN106293124A (en) | Input method switching device, terminal and method | |
CN105786930A (en) | Touch interaction based search method and apparatus | |
CN106060618B (en) | Character input method and system of smart television | |
CN104020950A (en) | Input method based on touch screen and input device with touch screen | |
CN102455911A (en) | Handwriting input and display device and control method | |
CN103533448A (en) | Cursor control method of intelligent television and cursor control device thereof | |
CN104317780A (en) | Quick correction method of Chinese input texts | |
CN103761216A (en) | Method for editing text and mobile terminal | |
EP3477457A1 (en) | Touchpad-based rapid information input and interaction method and input and interaction system | |
CN102214043B (en) | Handwriting input identifying method and system | |
CN103116461A (en) | Character handling method and terminal based on touch screen | |
CN105744062A (en) | Method and system for accurately positioning text cursor | |
CN104320539A (en) | Method for quickly inputting on mobile equipment through template | |
US10254959B2 (en) | Method of inputting a character into a text string using a sliding touch gesture, and electronic device therefor | |
US20180275857A1 (en) | Data editing method and apparatus | |
CN105183310A (en) | Information editing method and terminal | |
CN112163432A (en) | Translation method, translation device and electronic equipment | |
CN102467376B (en) | Modification method and device for character information | |
CN101615204A (en) | Add method, device and the Chinese character input device of custom words in the input method dictionary | |
WO2023093809A1 (en) | File editing processing method and apparatus, and electronic device | |
CN105389022A (en) | Processing method and apparatus for deleting content already on screen | |
CN104991735A (en) | Virtual keyboard input method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140604 |