CN104571863A - Cursor operation method and device for input method - Google Patents

Cursor operation method and device for input method Download PDF

Info

Publication number
CN104571863A
CN104571863A CN201410851035.6A CN201410851035A CN104571863A CN 104571863 A CN104571863 A CN 104571863A CN 201410851035 A CN201410851035 A CN 201410851035A CN 104571863 A CN104571863 A CN 104571863A
Authority
CN
China
Prior art keywords
cursor
slip event
candidate item
editor
candidate
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
Application number
CN201410851035.6A
Other languages
Chinese (zh)
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.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410851035.6A priority Critical patent/CN104571863A/en
Publication of CN104571863A publication Critical patent/CN104571863A/en
Priority to PCT/CN2015/094841 priority patent/WO2016107316A1/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)

Abstract

The invention discloses a cursor operation method and device for an input method and relates to the technical field of input method. The cursor operation method is capable of monitoring a sliding event received from an input method region in an interface of a conventional character candidate mode of the input method, judging whether the received sliding event meets preset conditions, entering an edit string cursor sliding mode if the sliding event meets the preset conditions, controlling the move of the cursor in the edit string according to the sliding event, or judging whether the received sliding event meets preset conditions, entering a candidate item cursor sliding mode if the sliding event meets the preset conditions, and controlling the move of the cursor in the candidate item according to the sliding event. The cursor operation method for the input method is convenient for a user to control the cursor of the input method to move in the edit string or candidate item according to the sliding operation in the input method, the sight line of the user is not influenced, and the user can more precisely locate the cursor.

Description

Input method cursor operating method and device
Technical field
The present invention relates to input method technique field, be specifically related to a kind of input method cursor operating method and device.
Background technology
In various computer systems, the input language of acquiescence is the character in English.English input can directly select letter to input.The input of other language then comparatively bothers, such as Chinese language has up to ten thousand characters, directly cannot input simply by button completely, need to encode to Chinese character, such as according to the pronunciation characteristics of Chinese character, (corresponding spelling input method) is encoded to Chinese character, according to the font characteristic (as stroke and radical) of Chinese character, (corresponding font input method) etc. is encoded to Chinese character, each key combination then can be carried out corresponding with encode Chinese characters for computer, thus can carry out the input of Chinese character.
But, in the input method of current mobile terminal, for editor's string that user's click keys sequence is converted to, if user will input cursor in editor goes here and there edit string to revise, user is needed to click certain position in editor's string, and narrow and small owing to editing the display area of going here and there, the touch screen click action of user is difficult to precisely click the position wanted, further, user's click action can block editor's string, more affects the accuracy of user operation.
In addition, the candidate item obtained according to editor's string for input method is illustrated in candidate bar, if user will select more candidate item, user is needed to click expansion button, launch candidate interface to select, but candidate interface can cover entering method keyboard, it directly cannot show new candidate item by the cursor of candidate bar in candidate bar.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of overcoming the problems referred to above or the input method cursor operations device solved the problem at least in part and corresponding input method cursor operating method.
According to one aspect of the present invention, provide a kind of input method cursor operating method, comprising:
In the conventional text candidate pattern of input method, monitor whether receive slip event;
If receive slip event, then judge whether described slip event meets pre-conditioned;
If described slip event meets pre-conditioned, then enter editor's optical crosstalk mark sliding-modes, control cursor according to slip event and move in editor's string.
Preferably, if described slip event meets pre-conditioned, then enter editor's optical crosstalk mark sliding-modes, control cursor according to slip event and editing mobile in string comprising:
If described slip event meets pre-conditioned, then by current be the first status indicator of conventional text candidate pattern, be revised as the second status indicator of editor's optical crosstalk mark sliding-modes;
After continuing to receive slip event, judge whether the status indicator of current input method is the second status indicator;
If the status indicator of current input method is the second status indicator, then move the position of cursor in editor's string according to described slip event.
Preferably, judge whether described slip event meets pre-conditioned comprising:
Judge whether described slip event is to the slide editing string head end direction in entering method keyboard region;
If described slip event is the slide to editor's string head end direction in entering method keyboard region, then judge that described slip event meets pre-conditioned.
Preferably, described movement in editor's string according to slip event control cursor comprises:
According to glide direction and displacement, control the position of described cursor in editor's string in the same way.
Preferably, after mobile in editor's string according to slip event control cursor, also comprise:
When described cursor is when editing string tail end, if again receive the character string of user's input, then exit described editor's optical crosstalk mark sliding-modes.
Preferably, after mobile in editor's string according to slip event control cursor, also comprise:
Determine the button subsequence that described cursor is corresponding;
Receive the screening strokes sequence of user's input;
By described screening strokes sequence, the first strokes sequence of each initial candidate item corresponding with described button subsequence mates;
According to each initial candidate item matched, revise described button subsequence and phonetic substring corresponding to button subsequence afterwards, and revise corresponding upper screen candidate item.
Preferably, by described screening strokes sequence, the strokes sequence of each initial candidate item corresponding with described button subsequence mates, and comprising:
By the screening strokes sequence that user inputs, the first strokes sequence formed with at least the first stroke of each word by each initial candidate item mates.
According to another aspect of the present invention, provide a kind of input method cursor operating method, comprising:
In the conventional text candidate pattern of input method, monitor whether receive slip event;
If receive slip event, then judge whether described slip event meets pre-conditioned;
If described slip event meets pre-conditioned, then enter candidate item cursor sliding-modes, control cursor according to slip event and move in candidate item.
Preferably, if described slip event meets pre-conditioned, then enter candidate item cursor sliding-modes, comprise according to slip event control cursor is mobile in candidate item:
If described slip event meets pre-conditioned, then by current be the first status indicator of conventional text candidate pattern, be revised as the third state mark of candidate item cursor sliding-modes;
After continuing to receive slip event, judge whether the status indicator of current input method is third state mark;
If the status indicator of current input method is third state mark, then move the position of cursor in candidate item according to described slip event.
Preferably, judge whether described slip event meets pre-conditioned comprising:
Judge that whether described slip event is the slide to candidate item tail end direction in entering method keyboard region;
If described slip event is the slide to candidate item tail end direction in entering method keyboard region, then judge that described slip event meets pre-conditioned.
Preferably, described movement in candidate item according to slip event control cursor comprises:
According to glide direction and displacement, control the movement of cursor in candidate item in the same way.
Preferably, after mobile in candidate item according to slip event control cursor, also comprise:
If again receive the character string of user's input, then exit described candidate item cursor sliding-modes.
Preferably, comprise according to slip event control cursor is mobile in candidate item:
When cursor moves to last candidate item shown in candidate bar, if continue to receive the slip event to candidate item tail end, then judge whether last candidate item shown in described candidate bar is end candidate item;
If last candidate item shown in described candidate bar is not end candidate item, then each candidate item of showing in candidate bar is moved to head end is suitable;
When cursor moves to first candidate item shown in candidate bar, if continue to receive the slip event to candidate item head end, then judge whether first candidate item shown in described candidate bar is the first candidate item;
If show in described candidate bar first candidate item is not the first candidate item, then move caudad suitable for each candidate item of showing in candidate bar.
Preferably, comprise according to slip event control cursor is mobile in candidate item:
Candidate item corresponding for cursor is carried out highlighted display.
Preferably, control also to comprise after cursor moves in candidate item according to slip event:
Move candidate item corresponding to rear position according to cursor, revise corresponding editor's string.
According to another aspect of the present invention, provide a kind of input method cursor operating method, comprising:
In the conventional text candidate pattern of input method, monitor whether receive slip event;
If receive slip event, then judge the pre-conditioned type that described slip event meets;
If it is pre-conditioned that described slip event meets the first kind, then enter editor's optical crosstalk mark sliding-modes, control cursor according to slip event and move in editor's string;
If it is pre-conditioned that described slip event meets Second Type, then enter candidate item cursor sliding-modes, control cursor according to slip event and move in candidate item.
Preferably, if described slip event meets pre-conditioned, then enter editor's optical crosstalk mark sliding-modes, control cursor according to slip event and editing mobile in string comprising:
If described slip event meets the first pre-conditioned type, then by current be the first status indicator of conventional text candidate pattern, be revised as the second status indicator of editor's optical crosstalk mark sliding-modes;
After continuing to receive slip event, judge whether the status indicator of current input method is the second status indicator;
If the status indicator of current input method is the second status indicator, then move the position of cursor in editor's string according to described slip event.
Preferably, if described slip event meets pre-conditioned, then enter candidate item cursor sliding-modes, comprise according to slip event control cursor is mobile in candidate item:
If described slip event meets second pre-conditioned, then by current be the first status indicator of conventional text candidate pattern, the third state being revised as candidate item cursor sliding-modes identifies;
After continuing to receive slip event, judge whether the status indicator of current input method is third state mark;
If the status indicator of current input method is third state mark, then move the position of cursor in candidate item according to described slip event.
Preferably, judge that the pre-conditioned type that described slip event meets comprises:
When judging that described slip event is the slide to editor's string head end direction in entering method keyboard region, then judge that described slip event meets the first kind pre-conditioned;
When judging that described slip event is the slide to candidate item tail end direction in entering method keyboard region, then judge that described slip event meets Second Type pre-conditioned.
Preferably, described movement in editor's string according to slip event control cursor comprises: according to glide direction and displacement, control the position of described cursor in editor goes here and there in the same way;
Described movement in candidate item according to slip event control cursor comprises: according to glide direction and displacement, control the movement of cursor in candidate item in the same way.
Preferably, described according to slip event control cursor mobile in editor's string after, also comprise:
When described cursor is when editing string tail end, if again receive the character string of user's input, then exit described editor's optical crosstalk mark sliding-modes;
Described according to slip event control cursor mobile in candidate item after, also comprise:
If again receive the character string of user's input, then exit described candidate item cursor sliding-modes.
Preferably, after mobile in editor's string according to slip event control cursor, also comprise:
Determine the button subsequence that described cursor is corresponding;
Receive the screening strokes sequence of user's input;
By described screening strokes sequence, the first strokes sequence of each initial candidate item corresponding with described button subsequence mates;
According to each initial candidate item matched, revise described button subsequence and phonetic substring corresponding to button subsequence afterwards, and revise corresponding upper screen candidate item.
Preferably, by described screening strokes sequence, the strokes sequence of each initial candidate item corresponding with described button subsequence mates, and comprising:
By the screening strokes sequence that user inputs, the first strokes sequence formed with at least the first stroke of each word by each initial candidate item mates.
Preferably, comprise according to slip event control cursor is mobile in candidate item:
When cursor moves to last candidate item shown in candidate bar, if continue to receive the slip event to candidate item tail end, then judge whether last candidate item shown in described candidate bar is end candidate item;
If last candidate item shown in described candidate bar is not end candidate item, then each candidate item of showing in candidate bar is moved to head end is suitable;
When cursor moves to first candidate item shown in candidate bar, if continue to receive the slip event to candidate item head end, then judge whether first candidate item shown in described candidate bar is the first candidate item;
If show in described candidate bar first candidate item is not the first candidate item, then move caudad suitable for each candidate item of showing in candidate bar.
Preferably, comprise according to slip event control cursor is mobile in candidate item:
Candidate item corresponding for cursor is carried out highlighted display.
Preferably, control also to comprise after cursor moves in candidate item according to slip event:
Move candidate item corresponding to rear position according to cursor, revise corresponding editor's string.
According to another aspect of the present invention, provide a kind of device of input method cursor operations, comprising:
Slide and monitor module, be suitable for the conventional text candidate pattern in input method, monitor whether receive slip event;
Judgement of slide module, if be suitable for receiving slip event, then judges whether described slip event meets pre-conditioned;
Cursor mobile module, meets pre-conditioned if be suitable for described slip event, then enter editor's optical crosstalk mark sliding-modes, control cursor move in editor's string according to slip event.
Preferably, described cursor mobile module comprises:
First status indicator handover module, meets pre-conditioned if be suitable for described slip event, then by current be the first status indicator of conventional text candidate pattern, be revised as the second status indicator of editor's optical crosstalk mark sliding-modes;
First status indicator judge module, is suitable for after continuing to receive slip event, judges whether the status indicator of current input method is the second status indicator;
First cursor mobile module, if the status indicator being suitable for current input method is the second status indicator, then moves the position of cursor in editor's string according to described slip event.
Preferably, described judgement of slide module comprises:
Head end walking direction module, is suitable for judging whether described slip event is to the slide editing string head end direction in entering method keyboard region; If described slip event is the slide to editor's string head end direction in entering method keyboard region, then judge that described slip event meets pre-conditioned.
Preferably, described cursor mobile module comprises:
First mobile module in the same way, is suitable for according to glide direction and displacement, controls the position of described cursor in editor's string in the same way.
Preferably, after described cursor mobile module, also comprise:
Editor's optical crosstalk mark sliding-modes exits module, is suitable for, when described cursor is when editing string tail end, if again receive the character string of user's input, then exiting described editor's optical crosstalk mark sliding-modes.
Preferably, after described cursor mobile module, also comprise:
Cursor determination module, is suitable for the button subsequence determining that described cursor is corresponding
Screening sequential reception module, is suitable for the screening strokes sequence receiving user's input;
Screening matching module, be suitable for described screening strokes sequence, the first strokes sequence of each initial candidate item corresponding with described button subsequence mates;
Adjusting module, is suitable for according to each initial candidate item of matching, revises described button subsequence and phonetic substring corresponding to button subsequence afterwards, and revises corresponding upper screen candidate item.
Preferably, described screening matching module comprises:
First screening matching module, be suitable for screening strokes sequence user inputted, the first strokes sequence formed with at least the first stroke of each word by each initial candidate item mates.
According to another aspect of the present invention, provide a kind of device of input method cursor operations, comprising:
Slide and monitor module, be suitable for the conventional text candidate pattern in input method, monitor whether receive slip event;
Judgement of slide module, if be suitable for receiving slip event, then judges whether described slip event meets pre-conditioned;
Cursor mobile module, meets pre-conditioned if be suitable for described slip event, then enter candidate item cursor sliding-modes, controls cursor move in candidate item according to slip event.
Preferably, described cursor mobile module comprises:
Second status indicator handover module, meets pre-conditioned if be suitable for described slip event, then by current be the first status indicator of conventional text candidate pattern, be revised as the third state mark of candidate item cursor sliding-modes;
Second status indicator judge module, is suitable for after continuing to receive slip event, judges whether the status indicator of current input method is third state mark;
Second cursor mobile module, if the status indicator being suitable for current input method is third state mark, then moves the position of cursor in candidate item according to described slip event.
Preferably, described judgement of slide module comprises:
Tail end judge module, is suitable for judging that whether described slip event is the slide to candidate item tail end direction in entering method keyboard region; If described slip event is the slide to candidate item tail end direction in entering method keyboard region, then judge that described slip event meets pre-conditioned.
Preferably, described cursor mobile module comprises:
Second synchronizing moving module, is suitable for according to glide direction and displacement, controls the movement of cursor in candidate item in the same way.
Preferably, after described cursor mobile module, also comprise:
Candidate item cursor sliding-modes exits module, if be suitable for the character string again receiving user's input, then exits described candidate item cursor sliding-modes.
Preferably, described cursor mobile module comprises:
First candidate item moves judge module, be suitable for when cursor moves to last candidate item shown in candidate bar, if continue to receive the slip event to candidate item tail end, then judge whether last candidate item shown in described candidate bar is end candidate item; If last candidate item shown in described candidate bar is not end candidate item, then each candidate item of showing in candidate bar is moved to head end is suitable;
Second candidate item moves judge module, when cursor moves to first candidate item shown in candidate bar, if continue to receive the slip event to candidate item head end, then judges whether first candidate item shown in described candidate bar is the first candidate item; If show in described candidate bar first candidate item is not the first candidate item, then move caudad suitable for each candidate item of showing in candidate bar.
Preferably, described cursor mobile module comprises:
Highlighted display module, is suitable for candidate item corresponding for cursor to carry out highlighted display.
Preferably, also comprise after described cursor mobile module:
Editor's string correcting module, is suitable for moving candidate item corresponding to rear position according to cursor, revises corresponding editor's string.
According to another aspect of the present invention, provide a kind of device of input method cursor operations, comprising:
Slide and monitor module, be suitable for the conventional text candidate pattern in input method, monitor whether receive slip event;
Type judging module, if be suitable for receiving slip event, then judges the pre-conditioned type that described slip event meets;
Editor's optical crosstalk mark mobile module, if be suitable for described slip event, to meet the first kind pre-conditioned, then enter editor's optical crosstalk mark sliding-modes, control cursor move in editor's string according to slip event;
Candidate's cursor mobile module, if be suitable for described slip event, to meet Second Type pre-conditioned, then enter candidate item cursor sliding-modes, controls cursor move in candidate item according to slip event.
Preferably, described editor's optical crosstalk mark mobile module comprises:
First status indicator handover module, if be suitable for described slip event to meet the first pre-conditioned type, then by current be the first status indicator of conventional text candidate pattern, be revised as the second status indicator editing optical crosstalk mark sliding-modes
First status indicator judge module, is suitable for after continuing to receive slip event, judges whether the status indicator of current input method is the second status indicator;
First cursor mobile module, if the status indicator being suitable for current input method is the second status indicator, then moves the position of cursor in editor's string according to described slip event.
44, device as claimed in claim 42, it is characterized in that, described candidate's cursor mobile module comprises:
Second status indicator handover module, meets second pre-conditioned if be suitable for described slip event, then by current be the first status indicator of conventional text candidate pattern, the third state being revised as candidate item cursor sliding-modes identifies;
Second status indicator judge module, is suitable for after continuing to receive slip event, judges whether the status indicator of current input method is third state mark;
Second cursor mobile module, if the status indicator being suitable for current input method is third state mark, then moves the position of cursor in candidate item according to described slip event.
Preferably, described type judging module comprises:
Head end judge module, is suitable for when judging that described slip event is the slide to editor's string head end direction in entering method keyboard region, then judging that described slip event meets the first kind pre-conditioned;
Tail end judge module, is suitable for when judging that described slip event is the slide to candidate item tail end direction in entering method keyboard region, then judging that described slip event meets Second Type pre-conditioned.
Preferably, described editor's optical crosstalk mark mobile module comprises:
First mobile module in the same way, is suitable for according to glide direction and displacement, controls the position of described cursor in editor's string in the same way;
Described candidate's cursor mobile module comprises:
Second synchronizing moving module, is suitable for according to glide direction and displacement, controls the movement of cursor in candidate item in the same way.
Preferably, after described editor's optical crosstalk mark mobile module, also comprise:
Editor's optical crosstalk mark sliding-modes exits module, is suitable for, when described cursor is when editing string tail end, if again receive the character string of user's input, then exiting described editor's optical crosstalk mark sliding-modes;
After described candidate's cursor mobile module, also comprise:
Candidate item cursor sliding-modes exits module, if be suitable for the character string again receiving user's input, then exits described candidate item cursor sliding-modes.
Preferably, after described editor's optical crosstalk mark mobile module, also comprise:
Cursor determination module, is suitable for the button subsequence determining that described cursor is corresponding;
Screening sequential reception module, is suitable for the screening strokes sequence receiving user's input;
Screening matching module, be suitable for described screening strokes sequence, the first strokes sequence of each initial candidate item corresponding with described button subsequence mates;
Adjusting module, is suitable for according to each initial candidate item of matching, revises described button subsequence and phonetic substring corresponding to button subsequence afterwards, and revises corresponding upper screen candidate item.
Preferably, described screening matching module comprises:
First screening matching module, be suitable for screening strokes sequence user inputted, the first strokes sequence formed with at least the first stroke of each word by each initial candidate item mates.
Preferably, described candidate's cursor mobile module comprises:
First candidate item moves judge module, be suitable for when cursor moves to last candidate item shown in candidate bar, if continue to receive the slip event to candidate item tail end, then judge whether last candidate item shown in described candidate bar is end candidate item; If last candidate item shown in described candidate bar is not end candidate item, then each candidate item of showing in candidate bar is moved to head end is suitable;
Second candidate item moves judge module, when cursor moves to first candidate item shown in candidate bar, if continue to receive the slip event to candidate item head end, then judges whether first candidate item shown in described candidate bar is the first candidate item; If show in described candidate bar first candidate item is not the first candidate item, then move caudad suitable for each candidate item of showing in candidate bar.
Preferably, described candidate's cursor mobile module comprises:
Highlighted display module, is suitable for candidate item corresponding for cursor to carry out highlighted display.
Preferably, also comprise after described cursor mobile module:
Editor's string correcting module, is suitable for moving candidate item corresponding to rear position according to cursor, revises corresponding editor's string.
Can in the interface of input method conventional text candidate pattern according to input method cursor operating method of the present invention, monitor the slip event received in input method region, judge whether the slip event received meets pre-conditioned, if described slip event meets pre-conditioned, then enter editor's optical crosstalk mark sliding-modes, control cursor according to slip event to move in editor's string, if solve user thus will input cursor to revise editor's string in editor's string, user is needed to click certain position in editor's string, and it is narrow and small owing to editing the display area of going here and there, the touch screen click action of user is difficult to precisely click the position wanted, and, user's click action can block editor's string, more affect the problem of the accuracy of user operation, achieve and facilitate user according to the slide in input method, the cursor of control inputs method enters editor's string, and move in editor's string, do not affect the sight line of user, make user can the beneficial effect of more accurate positioning cursor.
In addition, can in the interface of input method conventional text candidate pattern according to input method cursor operating method of the present invention, monitor the slip event received in input method region, judge whether the slip event received meets pre-conditioned, if described slip event meets pre-conditioned, then enter candidate item cursor sliding-modes, control cursor according to slip event to move in candidate item, solving the candidate item obtained according to editor's string for input method is thus illustrated in candidate bar, if user will select more candidate item, user is needed to click expansion button, launch candidate interface to select, but candidate interface can cover entering method keyboard, it directly cannot show the problem of new candidate item in candidate bar by the cursor of candidate bar, achieve and facilitate user according to the slide in input method, the cursor of control inputs method enters candidate bar, and move in candidate item, do not affect the sight line of user, make user can select the beneficial effect of candidate item more easily.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows a kind of according to an embodiment of the invention schematic flow sheet of input method cursor operating method;
Figure 1A shows conventional text candidate pattern example according to an embodiment of the invention;
Figure 1B shows and edits optical crosstalk mark sliding-modes example according to an embodiment of the invention;
Fig. 1 C shows the editor's optical crosstalk mark sliding-modes example obtained by Figure 1B;
Fig. 2 shows the schematic flow sheet of a kind of input method cursor operating method according to one embodiment of the invention one;
Fig. 3 shows the schematic flow sheet of a kind of input method cursor operating method according to one embodiment of the invention one;
Fig. 4 shows a kind of according to an embodiment of the invention schematic flow sheet of input method cursor operating method;
Fig. 4 A shows candidate item cursor sliding-modes example according to an embodiment of the invention;
Fig. 5 shows the schematic flow sheet of a kind of input method cursor operating method according to one embodiment of the invention four;
Fig. 6 shows a kind of according to an embodiment of the invention schematic flow sheet of input method cursor operating method;
Fig. 7 shows the schematic flow sheet of a kind of input method cursor operating method according to one embodiment of the invention six;
Fig. 8 shows a kind of according to an embodiment of the invention structural representation of input method cursor operations device;
Fig. 9 shows the structural representation of a kind of input method cursor operations device according to one embodiment of the invention eight;
Figure 10 shows the structural representation of a kind of input method cursor operations device according to one embodiment of the invention eight;
Figure 11 shows a kind of according to an embodiment of the invention structural representation of input method cursor operations device;
Figure 12 shows the structural representation of a kind of input method cursor operations device according to one embodiment of the invention 11;
Figure 13 shows a kind of according to an embodiment of the invention structural representation of input method cursor operations device;
Figure 14 shows the structural representation of a kind of input method cursor operations device according to one embodiment of the invention 13.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
One of core concept of the present invention is: in the conventional text candidate pattern of input method, in the word candidate interface of input method, receive the slip event triggered, trigger entering editor's optical crosstalk mark sliding-modes or candidate item cursor sliding-modes according to this slip event.Facilitate the position of the accurate positioning cursor of user in editor's string, or facilitate user to select the candidate item of showing in candidate bar.
Embodiment one
With reference to Fig. 1, it illustrates the schematic flow sheet of a kind of input method cursor operating method of the present invention, specifically can comprise:
Step 110, in the conventional text candidate pattern of input method, monitors whether receive slip event; If receive slip event, then enter step 120;
In embodiments of the present invention, such as mobile terminal uses the spelling input method of nine key boards, such as nine key boards are as follows: 1 key is corresponding: participle, and 2 keys are corresponding: abc, and 3 keys are corresponding: def, 4 keys are corresponding: ghi, 5 keys are corresponding: jkl, and 6 keys are corresponding: mno, and 7 keys are corresponding: pqrs, 8 keys are corresponding: tuv, and 9 keys are corresponding: wxyz.
User can click the keyboard 516482 of nine keys, so input rule first according to the recognition logic of spelling input method, first key range sequence 516482, obtaining acquiescence pinyin string is " kai ' gua ", by this pinyin string, this kind of state is the normal conventional text candidate pattern of input method.This conventional text candidate pattern is input method and user is clicked to the keystroke sequence obtained, and carries out the identification of editing string, then obtains upper screen candidate item based on editor's string from dictionary, the forward upper screen candidate item of sequence is illustrated in the situation of candidate bar.For nine key input methods, as Figure 1A, it illustrates the conventional text candidate pattern of input method.
Certainly, for the keyboard of other types, the similar above-mentioned example of conventional text candidate pattern of the input method of such as full keyboard and the input method of other types.The conventional text candidate pattern also similar above-mentioned example of other types input method, such as stroke input method, after user's click keys sequence, keystroke sequence is converted to stroke string by input method, upper screen candidate item is obtained from dictionary according to stroke string, the forward upper screen candidate item of sequence is illustrated in candidate bar, and situation is this moment conventional text candidate pattern.
So under conventional text candidate pattern, in the slip event of input keyboard areas accept user on screen of input method.In embodiments of the present invention, input keyboard region can be the region under input method candidate bar.Defeated as in Figure 1A, the region under the word place candidate bar such as such as " to bloom ".Certainly, preferred input keyboard region can be chosen as the inputting interface at 1-9 key place, certainly can also comprise " symbol ", " ' " the button place interface zone such as " space ", " word word ".
So user is when slide is carried out in the input keyboard region of input method, can trigger slip event, and then the embodiment of the present invention is after interface of input method areas accept to slip event, then can judge this slip event.
In certain embodiment of the present invention, can judge to occur slip event by the down event+move event on touch-screen, judge that the operation of user terminates by up event.
Step 120, judges whether described slip event meets pre-conditioned; If described slip event meets pre-conditioned, then enter step 130;
It is pre-conditioned that the present invention can judge whether described slip event meets, and such as whether judges that whether described slip event reaches threshold value to the sliding distance of predetermined direction.Such as arrange and be pre-conditionedly: with the vertical direction of touch-screen and horizontal direction for reference to (as Figure 1A), (corresponding vertical direction is upper and lower as shown in Figure 1A in the left side of starting point for the terminal of slip event slip, left and right with corresponding horizontal direction), slip origin-to-destination distance in the horizontal direction reaches threshold value, as 3 (left and right directions as Fig. 1), if then slip event meets above-mentioned condition, judge that it meets pre-conditioned.Initial focal coordinates after so such as user presses touch-screen are (10,10), after user slides, the coordinate touching focus, along with change, such as slides into (7,5), focal coordinates so after its slip are in the left side of initial focal coordinates, and so slip event is for slide left, and the distance of its horizontal slip is then 3, reach aforesaid threshold value 3, then judge that this slip event meets pre-conditioned.
In the embodiment of the present invention, as previous example, according to the relative position between coordinate position corresponding to up event, these events of down event+move event and coordinate and distance, can identify whether slip event meets pre-conditioned.
Preferably, judge whether described slip event meets pre-conditioned comprising:
Sub-step 121, judges whether described slip event is to the slide editing string head end direction in entering method keyboard region;
Sub-step 122, if described slip event is the slide to editor's string head end direction in entering method keyboard region, then judges that described slip event meets pre-conditioned.
In embodiments of the present invention, can specify that pre-conditioned is to the slide editing string head end direction in entering method keyboard region.Such as, with the vertical direction of touch-screen and horizontal direction for reference to (as Figure 1A), (corresponding vertical direction is upper and lower as shown in Figure 1A in the left side of starting point for the terminal of slip event slip, left and right with corresponding horizontal direction), slip origin-to-destination distance threshold is in the horizontal direction x.
After the horizontal range that so user slides in entering method keyboard region reaches x, then enter sub-step 130 left.In this kind of situation, when entering editor's optical crosstalk mark sliding-modes in step 130, cursor occurs, as Figure 1B from editor's string afterbody.
Step 130, enters editor's optical crosstalk mark sliding-modes, controls cursor move in editor's string according to slip event.
Then, by current conventional text candidate pattern, editor's optical crosstalk mark sliding-modes can be switched to, namely as Figure 1B, then can control cursor according to slip event and move in editor's string.
In embodiments of the present invention, certain slide for user triggers the slip event entering editor's string, if the direction of this slip event and sliding distance reach predetermined condition, then generates cursor at editor's string assigned address, enters editor's optical crosstalk mark sliding-modes.If then the aforementioned slide of user does not terminate, continue to slide, then can move in editor's string according to the direction of continuing to slide and distance controlling cursor.When the above-mentioned slide of user terminates, when again receiving slide, owing to being the slip event received in editor's optical crosstalk mark sliding-modes, then the direct direction according to slip event and the mobile cursor edited in string of distance.
Preferably, described movement in editor's string according to slip event control cursor comprises:
Sub-step 133, according to glide direction and displacement, controls the position of described cursor in editor's string in the same way.
State horizontal slip direction in front of the moving direction of cursor in editor's string in the present invention consistent, namely user left slide time, cursor slides left, as Fig. 1 C, is to slide to the right the schematic diagram obtained from Figure 1B.User to the right slide time, cursor slides to the right.Under editing optical crosstalk mark sliding-modes in embodiments of the present invention, left cunning then Left Arrow, but cursor does not then respond left cunning in editor's string leftmost position (i.e. editor's string head end position).Right cunning then cursor moves right, and does not respond right cunning editor's string rightmost (i.e. editor go here and there most end position).
In addition, user can exit editor's optical crosstalk mark sliding-modes, and then then enters the process of step 120 after receiving slip event.
Preferably, after mobile in editor's string according to slip event control cursor, also comprise:
Step 140, when described cursor is when editing string tail end, if again receive the character string of user's input, then exits described editor's optical crosstalk mark sliding-modes.
In embodiments of the present invention, cursor is when editing other positions outside string tail end, illustrate that user may need amendment editor string, or need the operations such as adjustment pinyin string, the character receiving user's input then can insert cursor position, and in such as Fig. 1 C, user continues input character u, after then u being inserted k, obtain editor's string " ku Shu ai ' gua ", cursor, after u, does not exit editor's optical crosstalk mark sliding-modes.If but cursor is when editing string tail end, as the cursor position of Figure 1B, when user inputs and clicks key-press input character, then exiting described editor's optical crosstalk mark sliding-modes, returning to aforesaid conventional text candidate pattern.
Can in the interface of input method conventional text candidate pattern according to input method cursor operating method of the present invention, monitor the slip event received in input method region, judge whether the slip event received meets pre-conditioned, if described slip event meets pre-conditioned, then enter editor's optical crosstalk mark sliding-modes, control cursor according to slip event to move in editor's string, if solve user thus will input cursor to revise editor's string in editor's string, user is needed to click certain position in editor's string, and it is narrow and small owing to editing the display area of going here and there, the touch screen click action of user is difficult to precisely click the position wanted, and, user's click action can block editor's string, more affect the problem of the accuracy of user operation, achieve and facilitate user according to the slide in input method, the cursor of control inputs method enters editor's string, and move in editor's string, do not affect the sight line of user, make user can the beneficial effect of more accurate positioning cursor.
Embodiment two
With reference to Fig. 2, it illustrates the schematic flow sheet of a kind of input method cursor operating method of the present invention, specifically can comprise:
Step 210, in the conventional text candidate pattern of input method, monitors whether receive slip event; Fruit receives slip event, then enter step 220;
Step 220, judges whether described slip event meets pre-conditioned; If described slip event meets pre-conditioned, then enter step 230;
Step 230, enters editor's optical crosstalk mark sliding-modes, by current be the first status indicator of conventional text candidate pattern, be revised as the second status indicator editing optical crosstalk mark sliding-modes;
In embodiments of the present invention, aforementioned pre-conditioned in order to ensure not make each slip all judge whether it meet, all trigger the operation entering and judge cursor sliding-modes, the present invention maintains the first status indicator of conventional text candidate pattern and the second status indicator of editor's optical crosstalk mark sliding-modes at every turn.Under corresponding modes, then enable corresponding status indicator.Such as the aforementioned input method that is clicks the keystroke sequence obtained for user, carry out the identification of editing string, then upper screen candidate item is obtained based on editor's string from dictionary, conventional text candidate pattern is when the forward upper screen candidate item of sequence is illustrated in candidate bar, now enable the first status indicator, when then entering editor's optical crosstalk mark sliding-modes, then by current be the first status indicator of conventional text candidate pattern, be revised as the second status indicator editing optical crosstalk mark sliding-modes.
Step 240, after continuing to receive slip event, judges whether the status indicator of current input method is the second status indicator; If the status indicator of current input method is the second status indicator, then enter step 250;
So after continuing to receive slip event, then judge that the status indicator of current input method is any, if be the first status indicator, then can continue the deterministic process adopting step 210.If be the second status indicator, then step 250 can be entered.
Step 250, moves the position of cursor in editor's string according to described slip event.
Certainly, user, can click keys input character after not moving, one or more in such as a-z.
Preferably, after mobile in editor's string according to slip event control cursor, also comprise:
Step 254, when described cursor is when editing string tail end, if again receive the character string of user's input, then exits described editor's optical crosstalk mark sliding-modes.
In embodiments of the present invention, when described cursor is when editing string tail end, if again receive the character string of user's input, then by the second status indicator of editor's optical crosstalk mark sliding-modes, be revised as the first status indicator of conventional text candidate pattern.
Certainly, when described cursor not to be on the permanent staff volume string tail end, can click keys input character, one or more in such as a-z.
If the invention solves user will input cursor to revise editor's string in editor's string, user is needed to click certain position in editor's string, and it is narrow and small owing to editing the display area of going here and there, the touch screen click action of user is difficult to precisely click the position wanted, and, user's click action can block editor's string, more affect the problem of the accuracy of user operation, achieve and facilitate user according to the slide in input method, the cursor of control inputs method enters editor's string, and move in editor's string, do not affect the sight line of user, make user can the beneficial effect of more accurate positioning cursor.Further, by the mark of status indicator, make the judgement of slip event simpler, save system resource.
Embodiment three
With reference to Fig. 3, it illustrates the schematic flow sheet of a kind of input method cursor operating method of the present invention, specifically can comprise:
Step 310, in the conventional text candidate pattern of input method, monitors whether receive slip event; Fruit receives slip event, then enter step 320;
Such as such as mobile terminal uses the spelling input method of nine key boards in embodiments of the present invention, such as nine key boards are as follows: 1 key is corresponding: participle, 2 keys are corresponding: abc, 3 keys are corresponding: def, and 4 keys are corresponding: ghi, and 5 keys are corresponding: jkl, 6 keys are corresponding: mno, 7 keys are corresponding: pqrs, and 8 keys are corresponding: tuv, and 9 keys are corresponding: wxyz.
User can click the keyboard 516482 of nine keys, so input rule first according to the recognition logic of spelling input method, first key range sequence 516482, obtaining acquiescence pinyin string is " kai ' gua ", by this pinyin string, multiple upper screen candidate item initially can be found from dictionary, such as sort first for a series of upper screen candidate item such as " opening extension ", "ON", " triumphant ".Wherein " ' " be the cutting symbol that input method generates automatically, the keystroke sequence inputted with user has nothing to do.
The slip event that so slide of user in entering method keyboard region triggers then enters step 320, carries out follow-up judgement.
Step 320, judges whether described slip event meets pre-conditioned; If described slip event meets pre-conditioned, then enter step 330;
Step 330, enters editor's optical crosstalk mark sliding-modes, controls cursor move in editor's string according to slip event;
After the present invention enters editor's optical crosstalk mark sliding-modes, also can trigger stroke filtering mode, generate stroke inputting interface, to receive the screening strokes sequence of user's input.Such as " anyhow erect ", carry out cutting for " Philosophy folding " to Chinese-character stroke, concrete as " a Shu Pie Dian second ", so user can click these 5 buttons and carries out stroke input.As " a Shu Pie Dian second " interface, place in Figure 1B.
Step 340, determines the button subsequence that described cursor is corresponding;
After the present invention moves the cursor in editor's string, situation after such as mobile is as " kai ' Shu gua ", or " kai Shu ' gua ", or " kai ' gu Shu a ", so then by button subsequence corresponding in the location, position 516482 of described positioning cursor " Shu ", the keystroke sequence of first phonetic substring after such as positioning cursor, for " kai ' Shu gua " or " kai Shu ' gua " its location positioning cursor after first phonetic substring, the button subsequence of its correspondence is 482, for " kai ' gu Shu a ", the phonetic substring at positioning cursor place is gua, so the button subsequence of its correspondence is also 482.
Step 350, receives the screening strokes sequence of user's input;
Such as user's input " a Shu Shu ", so inputs rule and receives screening strokes sequence " a Shu Shu ".
Step 360, by described screening strokes sequence, the first strokes sequence of each initial candidate item corresponding with described button subsequence mates;
In input method, for certain button subsequence, the pinyin string of its correspondence may have various ways, and the word of its correspondence and/or word also have different types.Such as aforementioned 482, the phonetic substring of its correspondence can comprise " gua ", " hua " etc., each phonetic substring corresponding a series of initial candidate item again in dictionary, so aforementioned screening strokes sequence can mate with the first strokes sequence of these initial candidate items by the present invention, enters step 370 for the initial candidate Xiang Ze matched.
Be appreciated that, this step before matching, need by described button subsequence, each phonetic substring that acquisition can be made up of described button subsequence, then from dictionary, extract corresponding initial candidate item by each phonetic substring, then the initial candidate item of each phonetic substring is combined as the initial candidate item of corresponding described button subsequence.
Certainly in embodiments of the present invention, for the selection of initial candidate item, preferentially can mate with the initial candidate item that other pinyin string are combined as word/sentence.Such as aforementioned " kai Shu ' gua ", pinyin string kai does not process it, below 482, " gua ", " hua " of its correspondence, then prioritizing selection " kai ' gua ", word in the word that pinyin string combinations such as " " kai ' hua " is corresponding, such as " opens extension ", " blooming ", " kai " word below in the word such as " becoming civilized ", and other individual characters that can not be combined as word then just can be selected to mate.
So for the screening strokes sequence " a Shu Shu " in previous example, then with each initial candidate item of 482 match " flower ".
Step 370, according to each initial candidate item matched, revises described button subsequence and phonetic substring corresponding to button subsequence afterwards, and revises corresponding upper screen candidate item.
For in previous example, for the pinyin string " kai ' gua " of upper screen, it shields candidate item for " opening extension " etc., so due to abovementioned steps for 482 initial candidate item filter, obtain " flower ", and the pinyin string of flower is " hua ", so the pinyin string of upper screen is modified to " kai ' hua ", " will open extension " etc. upper screen candidate item is cancelled simultaneously, is revised as the upper screen candidate item of " kai ' hua ", namely sequence first is " blooming ", " becoming civilized " etc.
Preferably, in step 340, the described button subsequence determining that described cursor is corresponding comprises:
Sub-step A361, according to the primary importance of described cursor in pinyin string, judges described primary importance whether in the phonetic substring meeting Pinyin rule;
Sub-step A362, if described primary importance is not in the phonetic substring meeting Pinyin rule, then from the phonetic substring that first after described primary importance meets Pinyin rule, select corresponding button subsequence as button subsequence corresponding to described cursor;
Sub-step A363, if described primary importance is in the phonetic substring meeting Pinyin rule, then from primary importance place meet the phonetic substring of Pinyin rule, select corresponding button subsequence as button subsequence corresponding to described cursor.
Certainly, can specify only to select a keystroke sequence meeting the phonetic substring of Pinyin rule as button subsequence corresponding to described positioning cursor in the embodiment of the present invention, also can be the multiple keystroke sequence meeting the phonetic substring of Pinyin rule of regulation as button subsequence corresponding to described positioning cursor.
For aforementioned nine keyboards, when user have input 9494242426, input method is identified as acquiescence pinyin string " yi ' xian ' tian ", and in acquiescence, screen candidate item comprises in " a line sky " etc.If only the regulation keystroke sequence of selecting one to meet the phonetic substring of Pinyin rule is as button subsequence corresponding to described positioning cursor:
So when user inputs positioning cursor at " y Shu i ' xian ' tian ", so because positioning cursor " Shu " is before first i, according to the Pinyin rule of the Chinese phonetic alphabet, this positioning cursor in phonetic substring yi, so using button subsequence 94 corresponding for yi as button subsequence corresponding to described positioning cursor.
When user inputs positioning cursor at " y i ' Shu xian ' tian ", so because positioning cursor " Shu " is before x, according to the Pinyin rule of the Chinese phonetic alphabet, this positioning cursor is not among certain phonetic substring, its first phonetic substring is below xian, so using keystroke sequence 9426 corresponding for xian as button subsequence corresponding to described positioning cursor.
When user inputs positioning cursor at " y i ' xi Shu an ' tian ", so because positioning cursor " Shu " is before a, according to the Pinyin rule of the Chinese phonetic alphabet, this positioning cursor is in phonetic substring xian,, so using keystroke sequence 9426 corresponding for xian as button subsequence corresponding to described positioning cursor.
When user inputs positioning cursor at " y i ' xian ' Shu t ian ", so due to before positioning cursor " Shu " later an i, do not have among certain phonetic substring according to this positioning cursor of Pinyin rule of the Chinese phonetic alphabet, its first phonetic substring is below t ian, so using keystroke sequence 8426 corresponding for tian as button subsequence corresponding to described positioning cursor.
Certainly, if select multiple phonetic substring as button subsequence corresponding to described positioning cursor, such as aforementioned " y i ' xi Shu an ' tian ", can using " 9426 " and " 8426 " as button subsequence corresponding to described positioning cursor, follow-up stroke screening sequence can screen word corresponding to these two button subsequences and/or word simultaneously.Other situations by that analogy.
Certainly, according to the primary importance of described positioning cursor in pinyin string, the phonetic substring meeting Pinyin rule can also before judging described primary importance, whether be had; If there is the phonetic substring meeting Pinyin rule before described primary importance, then using the button subsequence after the described phonetic substring meeting Pinyin rule as button subsequence corresponding to described positioning cursor; If do not meet the phonetic substring of Pinyin rule before described primary importance, then the button subsequence started by first button is as button subsequence corresponding to described positioning cursor.
Preferably, in step 360, described by described screening strokes sequence, the first strokes sequence of each initial candidate item corresponding with described button subsequence carries out coupling and comprises:
Sub-step B361, searches the various phonetic substrings corresponding with described button subsequence;
Sub-step B362, obtains corresponding word and/or word by each pinyin string, obtains each initial candidate item;
Sub-step B363, by described screening strokes sequence, mates with the strokes sequence of each initial candidate item.
For the keystroke sequence 9426 that aforementioned " y i ' Shu xian ' tian " is corresponding, it may correspond to " xian ", " xiao ", the phonetic substring such as " zhao ", the corresponding a series of word of these phonetic substrings, so using these words as initial candidate item, can screen to screen strokes sequence.
Based on sub-step B361-step B363, be attached to step 370.In order to understand the embodiment of the present invention more easily, the example stated before this is illustrated.Such as user inputs 9494242426, and input method is identified as acquiescence pinyin string " yi ' xian ' tian ", and in acquiescence, screen candidate item comprises in " a line sky " etc.
Situation 1: user inputs positioning cursor and obtains, " y i ' Shu xian ' tian ", so according to abovementioned steps, can determine that the button subsequence that positioning cursor is corresponding is 94.When user inputs screening strokes sequence " a Shu second ", so pass through abovementioned steps, obtain in " west " for screening in each word of 94 correspondences, so the yi in acquiescence " yi ' xian ' tian " can be revised as xi, certain yi phonetic substring below also can corresponding modify, also can not revise, and such as can be " xi ' xian ' tian " for situation about not revising, it shielding candidate item first character is west, can searching from dictionary according to phonetic substring below of other.
Situation 2: user inputs positioning cursor and obtains, " y i ' Shu xian ' tian ", so according to abovementioned steps, can determine that the button subsequence that positioning cursor is corresponding is 9426.When user inputs screening strokes sequence " Shu Pie Dian ", so pass through abovementioned steps, obtain " little " for screening in each word of 9426 correspondences, so the xian in acquiescence " yi ' xian ' tian " can be revised as xiao, certain xian phonetic substring below also can corresponding modify, also can not revise, such as " xi ' xiao ' tian " be can be for situation about not revising, it shielding candidate item first character is be still one, second word is then little, 3rd word can be the word that can be combined as word with second word, such as sky.Other upper screen candidate item can be searched from dictionary according to phonetic substring below.
Situation 3: user inputs positioning cursor and obtains, " y i ' Shu xian ' tian ", so according to abovementioned steps, can determine that the button subsequence that positioning cursor is corresponding is 94242426.
In this kind of situation, owing to may mate the stroke of multiple word, can prespecifiedly be that the first strokes sequence that at least the first stroke of multiple word forms is mated.Mate for the first sum of the carrying out of each word.When user inputs screening strokes sequence " Pie mono-", so by abovementioned steps, obtain in " little sky " for screening in each word of 94242426 correspondences.If the character/word certainly for stroke coupling has multiple, also can select according to frequency of utilization, prioritizing selection frequency of utilization is high.
So xian ' the tian in acquiescence " yi ' xian ' tian " can be revised as xiao ' tian, it shielding candidate item first character is be still one, and second and third word is then little sky.Other upper screen candidate item can be searched from dictionary according to phonetic substring below.
Preferably, in step 360, by described screening strokes sequence, the strokes sequence of each initial candidate item corresponding with described button subsequence mates, and comprising:
Sub-step C361, by the screening strokes sequence that user inputs, the first strokes sequence formed with at least the first stroke of each word by each initial candidate item mates.
In embodiments of the present invention, the corresponding several pinyin string of button subsequence energy that positioning cursor is corresponding, and the corresponding multiple initial candidate item of each pinyin string, therefore, each button subsequence is by the corresponding more initial candidate item of the pinyin string of its correspondence.In such as step, regulation obtains the current or multiple phonetic substrings meeting Pinyin rule afterwards of primary importance corresponding to positioning cursor, using multiple button subsequences corresponding for the plurality of phonetic substring as button subsequence corresponding to described positioning cursor, so this button word sequence possibility equivalent, 94242426 to may correspond in such as embodiment two " xiao ' tian ", " xian ' tian ", all each corresponding two words of these pinyin string, or can be understood as its corresponding word.So the present invention can mate multiple words of an initial candidate item simultaneously by screening strokes sequence.
Preferably, the described screening strokes sequence that user is inputted, the first strokes sequence formed with at least the first stroke of each word by each initial candidate item carries out mating comprising:
Sub-step C362, mates the first strokes sequence that described screening strokes sequence and the complete strokes sequence by each word of each initial candidate item form;
The complete stroke of each word of each initial upper screen candidate item can be extracted in embodiments of the present invention, form the first strokes sequence, such as " Asia ", the complete strokes sequence of " Asia " is " a Shu Shu Pie Dian mono-", the complete strokes sequence in " continent " is " Dian Dian mono-Dian Pie Dian Shu Dian Shu ", the first strokes sequence so formed is " a Shu Shu Pie Dian mono-Dian Dian mono-Dian Pie Dian Shu Dian Shu ", and described screening strokes sequence can mate with this first strokes sequence.
And/or sub-step C363, matches described screening strokes sequence and the first strokes sequence be made up of the first stroke of each word of each initial candidate item.
The complete stroke of each word of each initial upper screen candidate item can be extracted in embodiments of the present invention, form the first strokes sequence, such as aforementioned " Asia ", the first stroke of " Asia " is " one ", the first stroke in " continent " is " Dian ", the first strokes sequence so formed is " Dian ", and described screening strokes sequence can mate with this first strokes sequence.
Preferably, screening strokes sequence user inputted, also comprises before the first strokes sequence formed mates with at least the first stroke of each word by each initial candidate item:
Sub-step C364, for each initial candidate item, obtains the first strokes sequence of each initial candidate item from dictionary.
In embodiments of the present invention, the stroke of each word can be preserved in advance in dictionary, under this dictionary can be arranged on the specified path of system with client when mounted.
In the embodiment of the present invention, before receiving user and inputting the process of screening strokes sequence, among or afterwards, all can extract each the first strokes sequence initially shielding candidate item from dictionary.Certainly as described in embodiment one, the first strokes sequence that at least the first stroke that can extract each word of each initial upper screen candidate item forms.
Preferably, the described screening strokes sequence that user is inputted, the first strokes sequence formed with at least the first stroke of each word by each initial candidate item carries out mating also comprising:
Sub-step C365, when the first strokes sequence Incomplete matching of described screening strokes sequence and described initial candidate item, the error correcting model based on stroke is utilized to judge the probability of the first stroke sequences match of the strokes sequence that described user inputs and described initial candidate item;
In actual applications, when user inputs screening strokes sequence, may input error, when such as inputting " soon " word, for five-stroke input method " one, Shu, Pie, Dian, second ", correct stroke order should be " Dian Dian Shu second one Pie Dian ", input for one of the Chinese character components then easily makes mistakes, such as " Shu Dian Dian ", so this kind of mistake input then judges it by the error correcting model based on stroke, judges the strokes sequence that user inputs and the initial upper probability shielding the first stroke sequences match of candidate item.
Sub-step C366, when the probability of described coupling is greater than threshold value, then judges in the first stroke sequences match of described screening strokes sequence and described initial candidate item.
When by judging that based on the error correcting model of stroke the strokes sequence that described user inputs and described initial upper probability shield the first stroke sequences match of candidate item are greater than certain threshold value, then can think that described screening strokes sequence shields in the first stroke sequences match of candidate item with described initially going up; Otherwise, then think and do not match.
Preferably, also comprise:
Sub-step C367, utilizes binary or the n-tuple relation of words in phrase and/or sentence, builds the described error correcting model based on stroke;
Binary relation, for representing the probability that two elements occur in succession, i.e. P (B|A), under representing the condition that A occurs, the probability that B occurs.N-tuple relation is derived by binary relation.
In embodiments of the present invention, can according to the stroke adding up phrase and words in advance, according to the probability that phrase or the direct binary of the direct word of sentence or n-tuple relation determination stroke occur.Such as happy strokes sequence is " Dian Dian Shu second one Pie Dian Pie second Shu Pie Dian ", obtaining " Dian Shu Dian second one Pie Dian Pie second Shu Pie Dian " corresponding happy probability by statistics is 90%, " Shu Dian Dian second one Pie Dian Pie second Shu Pie Dian " corresponding happy probability is 79%, by that analogy, thus build based on the error correcting model of stroke.So, for the stroke screening sequence not matching initial upper screen candidate item, stroke screening sequence and each initial upper matching probability shielding candidate item can be judged, if be greater than threshold value according to the above-mentioned error correcting model based on stroke, such as be greater than 34%, then can think that initial upper screen candidate item is matched.
And/or sub-step C342, utilizes the binary between the stroke forming each word or n-tuple relation, builds the described error correcting model based on stroke.
The stroke " Dian Dian Shu second one Pie Dian " of such as " soon " word is, the probability that statistics can obtain strokes sequence " Dian Shu Dian second one Pie Dian " correspondence " soon " word is for being 90%, the probability of strokes sequence " Shu Dian Dian second one Pie Dian " correspondence " soon " word is 80%, and similar principles can build the error correcting model based on stroke.Also can judge stroke screening sequence and each initial upper matching probability shielding candidate item according to the above-mentioned error correcting model based on stroke, if be greater than threshold value, such as be greater than 34%, then can think that initial upper screen candidate item is matched.
Preferably, in step 350, the screening strokes sequence of described reception user input, comprising:
Sub-step C369, judges whether there is separator in described screening strokes sequence; If there is separator, then screening strokes sequence user inputted according to described separator is divided into each screening stroke subsequence.
Further, the described screening strokes sequence that user is inputted, the first strokes sequence formed with at least the first stroke of each word by each initial candidate item carries out mating comprising:
Sub-step C370, to screen in units of stroke subsequence, mates the target stroke subsequence of described screening stroke subsequence with the word in respective sequence in each initial candidate item according to the order of sequence.
In embodiments of the present invention, can separator recognition rule pre-set, such as arrange ", " or "; " be separator, user can input separator between input screening stroke, screening strokes sequence is divided into screening stroke subsequence, and each screening stroke subsequence can the screening strokes sequence of a correspondence word.
If there is no separator, then can according to the order of sequence screening strokes sequence be mated with the first strokes sequence be made up of each initial upper at least the first stroke shielding each word of candidate item.
Such as user input " Shu " input afterwards separator "; "; so can determine " Shu " screening stroke subsequence for screening initial upper screen candidate item first character; user is after input separator; continue input " Dian Dian "; so can " Dian Dian " as the screening stroke subsequence for the initial upper screen candidate item of screening second word; if separator in addition, the screening stroke subsequence Corresponding matching so between two separators initially above shields the word of candidate item relevant position.Ratio is if any two separators, screening stroke subsequence Corresponding matching before first separator is the upper first character shielding candidate item initially, screening stroke subsequence Corresponding matching between first separator and second separator is upper second word shielding candidate item initially, and the screening stroke subsequence Corresponding matching after second separator is upper the 3rd word shielding candidate item initially.
Sub-step C369 and C370 for using when the first strokes sequence formed at least the first two strokes of each word of initial candidate item mates, can improve the recognition speed to screening strokes sequence, improving matching efficiency.
If the invention solves user will input cursor to revise editor's string in editor's string, user is needed to click certain position in editor's string, and it is narrow and small owing to editing the display area of going here and there, the touch screen click action of user is difficult to precisely click the position wanted, and, user's click action can block editor's string, more affect the problem of the accuracy of user operation, achieve and facilitate user according to the slide in input method, the cursor of control inputs method enters editor's string, and move in editor's string, do not affect the sight line of user, make user can the beneficial effect of more accurate positioning cursor.Further, by the mark of status indicator, make the judgement of slip event simpler, save system resource
。And can directly according to the keystroke sequence of the correspondence of positioning cursor position, the screening strokes sequence again inputted with user, the various word corresponding to the various pinyin string that this keystroke sequence is corresponding and/word (i.e. initial candidate item) screen, and according to the phonetic substring of keystroke sequence corresponding to the selection result correction positioning cursor, upper screen candidate item is determined again after not needing first to determine phonetic, upper screen candidate item can be determined by screening strokes sequence, correct corresponding phonetic substring simultaneously.Solve and determine that the process need phonetic of candidate Chinese character could obtain candidate after determining, operating process is many, and can not filter further, affect the problem of the input efficiency of user, improve the dirigibility that user uses positioning cursor, further upper screen candidate item is screened, to improve the input efficiency of user.Further, in the embodiment of the present invention, can be screened by multiple words of multiple stroke to initial candidate item, be not limited to the filtration of individual character, screening effeciency is high, further increases input efficiency.
Embodiment four
With reference to Fig. 4, it illustrates the schematic flow sheet of a kind of input method cursor operating method of the present invention, specifically can comprise:
Step 410, in the conventional text candidate pattern of input method, monitors whether receive slip event; Fruit receives slip event, then enter step 420;
In embodiments of the present invention, such as mobile terminal uses the spelling input method of nine key boards, such as nine key boards are as follows: 1 key is corresponding: participle, and 2 keys are corresponding: abc, and 3 keys are corresponding: def, 4 keys are corresponding: ghi, 5 keys are corresponding: jkl, and 6 keys are corresponding: mno, and 7 keys are corresponding: pqrs, 8 keys are corresponding: tuv, and 9 keys are corresponding: wxyz.
User can click the keyboard 516482 of nine keys, so input rule first according to the recognition logic of spelling input method, first key range sequence 516482, obtaining acquiescence pinyin string is " kai ' gua ", by this pinyin string, this kind of state is the normal conventional text candidate pattern of input method.This conventional text candidate pattern is input method and user is clicked to the keystroke sequence obtained, and carries out the identification of editing string, then obtains upper screen candidate item based on editor's string from dictionary, the forward upper screen candidate item of sequence is illustrated in the situation of candidate bar.For nine key input methods, as Figure 1A, it illustrates the conventional text candidate pattern of input method.
Certainly, for the keyboard of other types, the similar above-mentioned example of conventional text candidate pattern of the input method of such as full keyboard and the input method of other types.The conventional text candidate pattern also similar above-mentioned example of other types input method, such as stroke input method, after user's click keys sequence, keystroke sequence is converted to stroke string by input method, upper screen candidate item is obtained from dictionary according to stroke string, the forward upper screen candidate item of sequence is illustrated in candidate bar, and situation is this moment conventional text candidate pattern.
So under conventional text candidate pattern, in the slip event of input keyboard areas accept user on screen of input method.In embodiments of the present invention, input keyboard region can be the region under input method candidate bar.Defeated as in Figure 1A, the region under the word place candidate bar such as such as " to bloom ".Certainly, preferred input keyboard region can be chosen as the inputting interface at 1-9 key place, certainly can also comprise " symbol ", " ' " the button place interface zone such as " space ", " word word ".
So user is when slide is carried out in the input keyboard region of input method, can trigger slip event, and then the embodiment of the present invention is after interface of input method areas accept to slip event, then can judge this slip event.
In certain embodiment of the present invention, can judge to occur slip event by the down event+move event on touch-screen, judge that the operation of user terminates by up event.
Step 420, judges whether described slip event meets pre-conditioned; If described slip event meets pre-conditioned, then enter step 430;
It is pre-conditioned that the present invention can judge whether described slip event meets, and such as whether judges that whether described slip event reaches threshold value to the sliding distance of predetermined direction.Such as arrange and be pre-conditionedly: with the vertical direction of touch-screen and horizontal direction for reference to (as Figure 1A), (corresponding vertical direction is upper and lower as shown in Figure 1A on the right side of starting point for the terminal of slip event slip, left and right with corresponding horizontal direction), slip origin-to-destination distance in the horizontal direction reaches threshold value, as 3 (left and right directions as Fig. 1), if then slip event meets above-mentioned condition, judge that it meets pre-conditioned.Initial focal coordinates after so such as user presses touch-screen are (7,5), after user slides, the coordinate touching focus, along with change, such as slides into (10,10), focal coordinates so after its slip are in the left side of initial focal coordinates, and so slip event is for slide left, and the distance of its horizontal slip is then 3, reach aforesaid threshold value 3, then judge that this slip event meets pre-conditioned.
In the embodiment of the present invention, as previous example, according to the relative position between coordinate position corresponding to up event, these events of down event+move event and coordinate and distance, can identify whether slip event meets pre-conditioned.
Preferably, judge whether described slip event meets pre-conditioned comprising:
Sub-step 421, judges that whether described slip event is the slide to candidate item tail end direction in entering method keyboard region;
Sub-step 422, if described slip event is the slide to candidate item tail end direction in entering method keyboard region, then judges that described slip event meets pre-conditioned.
In embodiments of the present invention, can specify that pre-conditioned is to the slide editing string head end direction in entering method keyboard region.Such as, with the vertical direction of touch-screen and horizontal direction for reference to (as Figure 1A), (corresponding vertical direction is upper and lower as shown in Figure 1A on the right side of starting point for the terminal of slip event slip, left and right with corresponding horizontal direction), slip origin-to-destination distance threshold is in the horizontal direction x.
After the horizontal range that so user slides in entering method keyboard region reaches x, then enter sub-step 430 left.
Step 430, enters candidate item cursor sliding-modes, controls cursor move in candidate item according to slip event.
Then, by current conventional text candidate pattern, candidate item cursor sliding-modes can be switched to, namely as Fig. 4 A, then can control cursor according to slip event and move in candidate bar, move in candidate item " triumphant China ".Under candidate item cursor sliding-modes, cursor is generally sightless, and it is just presented on mobile item, i.e. a mobile position in candidate bar, and its correspondence moves in next candidate item.
Preferably, comprise according to slip event control cursor is mobile in candidate item:
Sub-step 431, carries out highlighted display by candidate item corresponding for cursor.
Namely which candidate item cursor moves in, then the described candidate item of highlighted display.User is facilitated to determine the position that cursor is concrete.
In embodiments of the present invention, certain slide for user triggers the slip event entering candidate bar, if the direction of this slip event and sliding distance reach predetermined condition, then enters candidate item cursor sliding-modes.If then the aforementioned slide of user does not terminate, continue to slide, then can move in candidate bar, by the candidate item corresponding to mobile cursor according to the direction of continuing to slide and distance controlling cursor.When the above-mentioned slide of user terminates, when again receiving slide, owing to being the slip event received in candidate item cursor sliding-modes, then the direct direction according to slip event and apart from the cursor in mobile candidate bar.
Preferably, described movement in candidate item according to slip event control cursor comprises:
Sub-step 432, according to glide direction and displacement, moves the position of described cursor in candidate bar in the same way.
State horizontal slip direction in the present invention in front of the moving direction of cursor in candidate bar consistent, namely user to the right slide time, cursor slides to the right, as Fig. 4 A, is the schematic diagram after cursor moves right in candidate item.User to the right slide time, cursor slides to the right.In embodiments of the present invention under candidate item cursor sliding-modes, left cunning then Left Arrow, but cursor is in candidate bar leftmost position then attonity, but mobile candidate item.Right cunning then cursor moves right, in candidate bar rightmost attonity, but mobile candidate item.
In addition, user can exit candidate item cursor sliding-modes, and then then enters the process of step 420 after receiving slip event.
Preferably, after mobile in candidate item according to slip event control cursor, also comprise:
Sub-step 433, if the character string again receiving user's input, then exits described candidate item cursor sliding-modes.
In embodiments of the present invention, continue the character receiving user's input, such as in spelling input method, input u at candidate item cursor sliding-modes, then the editor meaned goes here and there change, and so the candidate item of correspondence also changes, then can exit candidate item cursor sliding-modes.
Preferably, comprise according to slip event control cursor is mobile in candidate item:
Sub-step 434, when cursor moves to last candidate item shown in candidate bar, if continue to receive the slip event to candidate item tail end, then judges whether last candidate item shown in described candidate bar is end candidate item;
Sub-step 435, if last candidate item shown in described candidate bar is not end candidate item, then moves each candidate item of showing in candidate bar to head end is suitable;
In embodiments of the present invention, the candidate item that subsequent column is shown simultaneously has restriction, can only show the candidate item of about 4 in such as Fig. 4 A, and in fact editor goes here and there the number of the general candidate item can shown more than candidate bar of candidate item number corresponding to the keystroke sequence of user's input in other words far away.So cursor is when moving to last candidate item of showing in candidate bar, as " triumphant China " in Fig. 4 A, so then can judge " triumphant China " candidate item whether all sequences are last, if " triumphant China " is not a last candidate item, so for slip event to the right, need the candidate item after by corresponding for cursor current candidate, then need all candidate item to move, to ensure that the cursor being in candidate bar tail end can correspond to corresponding candidate item to head end is suitable according to the order of sequence.In embodiments of the present invention, Fig. 4 A " triumphant China " is namely after being moved right by the cursor in Figure 1A, and all candidate item are moved to the left and obtain.If " triumphant China " is a last candidate item, then do not respond right cunning.
Sub-step 436, when cursor moves to first candidate item shown in candidate bar, if continue to receive the slip event to candidate item head end, then judges whether first candidate item shown in described candidate bar is the first candidate item;
Sub-step 437, if show in described candidate bar first candidate item is not the first candidate item, then moves caudad suitable for each candidate item of showing in candidate bar.
As aforementioned logic, if when cursor moves to the position of candidate bar first candidate item, when such as moving on " the opening extension " in Figure 1A, need to judge " opening extension " be whether sort in all candidate item first candidate item, if the candidate item of sequence first in not all candidate item of " opening extension ", so for slip event left, then by all candidate item to the right along moving.If " open extension " and be in all candidate item sort first candidate item, then do not respond left cunning.
Preferably, control also to comprise after cursor moves in candidate item according to slip event:
Sub-step 438, moves candidate item corresponding to rear position according to cursor, revises corresponding editor's string.
In embodiments of the present invention, for candidate item, can according to keystroke sequence, each candidate item of various editor's string correspondences that selection key sequence pair is answered, keystroke sequence " 516482 " in such as previous example, its at least corresponding two pinyin string, such as " kai ' hua ", " kai ' gua ", so can each word of these pinyin string and/or word all alternatively item in candidate item.Be so " kai ' gua " for pinyin string initial in Figure 1A and Fig. 4 A, so after entering candidate item cursor sliding-modes, after Right Arrow to " triumphant China ", adjust pinyin string for " kai ' hua " according to " triumphant China ".
Can in the interface of input method conventional text candidate pattern according to input method cursor operating method of the present invention, monitor the slip event received in input method region, judge whether the slip event received meets pre-conditioned, if described slip event meets pre-conditioned, then enter candidate item cursor sliding-modes, control cursor according to slip event to move in candidate item, solving the candidate item obtained according to editor's string for input method is thus illustrated in candidate bar, if user will select more candidate item, user is needed to click expansion button, launch candidate interface to select, but candidate interface can cover entering method keyboard, it directly cannot show the problem of new candidate item in candidate bar by the cursor of candidate bar, achieve and facilitate user according to the slide in input method, the cursor of control inputs method enters candidate bar, and move in candidate item, do not affect the sight line of user, make user can select the beneficial effect of candidate item more easily.
Embodiment five
With reference to Fig. 5, it illustrates the schematic flow sheet of a kind of input method cursor operating method of the present invention, specifically can comprise:
Step 510, in the conventional text candidate pattern of input method, monitors whether receive slip event; Fruit receives slip event, then enter step 520;
Step 520, judges whether described slip event meets pre-conditioned; If described slip event meets pre-conditioned, then enter step 530;
Step 530, enters candidate item cursor sliding-modes, by current be the first status indicator of conventional text candidate pattern, be revised as the third state mark of candidate item cursor sliding-modes;
In embodiments of the present invention, aforementioned pre-conditioned in order to ensure not make each slip all judge whether it meet, all trigger the operation entering and judge cursor sliding-modes, the present invention maintains the first status indicator of conventional text candidate pattern and the third state mark of candidate item cursor sliding-modes at every turn.Under corresponding modes, then enable corresponding status indicator.Such as the aforementioned input method that is clicks the keystroke sequence obtained for user, carry out the identification of editing string, then upper screen candidate item is obtained based on editor's string from dictionary, conventional text candidate pattern is when the forward upper screen candidate item of sequence is illustrated in candidate bar, now enable the first status indicator, when then entering candidate item cursor sliding-modes, then by current be the first status indicator of conventional text candidate pattern, be revised as the third state mark of editor's optical crosstalk mark sliding-modes.
Step 540, after continuing to receive slip event, judges whether the status indicator of current input method is third state mark; If the status indicator of current input method is third state mark, then enter step 550;
So after continuing to receive slip event, then judge that the status indicator of current input method is any, if be third state mark, then can continue the deterministic process adopting step 510.If be the second status indicator, then step 550 can be entered.
Step 550, moves the position of cursor in candidate item according to described slip event.
Step 560, if the character string again receiving user's input, then exits described editor's optical crosstalk mark sliding-modes.
In embodiments of the present invention, again receive the character string of user's input, then the third state of candidate item cursor sliding-modes is identified, be revised as the first status indicator of conventional text candidate pattern.
Embodiment six
With reference to Fig. 6, it illustrates the schematic flow sheet of a kind of input method cursor operating method of the present invention, specifically can comprise:
Step 610, in the conventional text candidate pattern of input method, monitors whether receive slip event;
In embodiments of the present invention, such as mobile terminal uses the spelling input method of nine key boards, such as nine key boards are as follows: 1 key is corresponding: participle, and 2 keys are corresponding: abc, and 3 keys are corresponding: def, 4 keys are corresponding: ghi, 5 keys are corresponding: jkl, and 6 keys are corresponding: mno, and 7 keys are corresponding: pqrs, 8 keys are corresponding: tuv, and 9 keys are corresponding: wxyz.
User can click the keyboard 516482 of nine keys, so input rule first according to the recognition logic of spelling input method, first key range sequence 516482, obtaining acquiescence pinyin string is " kai ' gua ", by this pinyin string, this kind of state is the normal conventional text candidate pattern of input method.This conventional text candidate pattern is input method and user is clicked to the keystroke sequence obtained, and carries out the identification of editing string, then obtains upper screen candidate item based on editor's string from dictionary, the forward upper screen candidate item of sequence is illustrated in the situation of candidate bar.For nine key input methods, as Figure 1A, it illustrates the conventional text candidate pattern of input method.
Certainly, for the keyboard of other types, the similar above-mentioned example of conventional text candidate pattern of the input method of such as full keyboard and the input method of other types.The conventional text candidate pattern also similar above-mentioned example of other types input method, such as stroke input method, after user's click keys sequence, keystroke sequence is converted to stroke string by input method, upper screen candidate item is obtained from dictionary according to stroke string, the forward upper screen candidate item of sequence is illustrated in candidate bar, and situation is this moment conventional text candidate pattern.
So under conventional text candidate pattern, in the slip event of input keyboard areas accept user on screen of input method.In embodiments of the present invention, input keyboard region can be the region under input method candidate bar.Defeated as in Figure 1A, the region under the word place candidate bar such as such as " to bloom ".Certainly, preferred input keyboard region can be chosen as the inputting interface at 1-9 key place, certainly can also comprise " symbol ", " ' " the button place interface zone such as " space ", " word word ".
So user is when slide is carried out in the input keyboard region of input method, can trigger slip event, and then the embodiment of the present invention is after interface of input method areas accept to slip event, then can judge this slip event.
In certain embodiment of the present invention, can judge to occur slip event by the down event+move event on touch-screen, judge that the operation of user terminates by up event.
Step 620, if receive slip event, then judges the pre-conditioned type that described slip event meets;
In the present invention, the pre-conditioned of two types can be preset, respectively corresponding editor's optical crosstalk mark sliding-modes and candidate item cursor sliding-modes.
Such as arrange that the first kind is pre-conditioned is: with the vertical direction of touch-screen and horizontal direction for reference to (as Figure 1A), (corresponding vertical direction is upper and lower as shown in Figure 1A in the left side of starting point for the terminal of slip event slip, left and right with corresponding horizontal direction), slip origin-to-destination distance in the horizontal direction reaches threshold value, as 3 (left and right directions as Fig. 1), if then slip event meets above-mentioned condition, judge that it meets the first kind pre-conditioned.
Such as arrange that Second Type is pre-conditioned is: with the vertical direction of touch-screen and horizontal direction for reference to (as Figure 1A), the terminal that slip event is slided is on the right side of starting point, slip origin-to-destination distance in the horizontal direction reaches threshold value, as 3, if then slip event meets above-mentioned condition, judge that it meets Second Type pre-conditioned.
Initial focal coordinates after so such as user presses touch-screen are (10,10), after user slides, the coordinate touching focus, along with change, such as slides into (7,5), focal coordinates so after its slip are in the left side of initial focal coordinates, and so slip event is for slide left, and the distance of its horizontal slip is then 3, reach aforesaid threshold value 3, then judge that this slip event meets the first kind pre-conditioned.
Initial focal coordinates after so such as user presses touch-screen are (7,5), after user slides, the coordinate touching focus, along with change, such as slides into (10,10), focal coordinates so after its slip are in the left side of initial focal coordinates, and so slip event is for slide left, and the distance of its horizontal slip is then 3, reach aforesaid threshold value 3, then judge that this slip event meets Second Type pre-conditioned.
In the embodiment of the present invention, as previous example, according to the relative position between coordinate position corresponding to up event, these events of down event+move event and coordinate and distance, can identify that slip event meets the pre-conditioned of any type, still do not meet.
Preferably, judge that the pre-conditioned type that described slip event meets comprises:
Sub-step 621, when judging that described slip event is the slide to editor's string head end direction in entering method keyboard region, then judges that described slip event meets the first kind pre-conditioned;
The embodiment of the present invention judges whether described slip event is to the slide editing string head end direction in entering method keyboard region, with the vertical direction of touch-screen and horizontal direction for reference to (as Figure 1A), the terminal that slip event is slided is in the left side of starting point, namely slide to editor's string head end direction, slip origin-to-destination distance threshold is in the horizontal direction x, judges that described slip event meets the first kind pre-conditioned.
Sub-step 622, when judging that described slip event is the slide to candidate item tail end direction in entering method keyboard region, then judges that described slip event meets Second Type pre-conditioned.
The embodiment of the present invention judges whether described slip event is to the slide editing string head end direction in entering method keyboard region, with the vertical direction of touch-screen and horizontal direction for reference to (as Figure 1A), the terminal that slip event is slided is on the right side of starting point, namely slide to candidate item tail end direction, slip origin-to-destination distance threshold is in the horizontal direction x, judges that described slip event meets the first kind pre-conditioned.
Step 630, if to meet the first kind pre-conditioned for described slip event, then enter editor's optical crosstalk mark sliding-modes, controls cursor move in editor's string according to slip event;
Then, by current conventional text candidate pattern, editor's optical crosstalk mark sliding-modes can be switched to, namely as Figure 1B, then can control cursor according to slip event and move in editor's string.
Certainly, user, can click keys input character after not moving, one or more in such as a-z.
In embodiments of the present invention, when certain slide triggering of user enters editor's optical crosstalk mark sliding-modes, if then the aforementioned slide of user does not terminate, continue to slide, then can move in editor's string according to the direction of continuing to slide and distance controlling cursor.When the above-mentioned slide of user terminates, when again receiving slide, owing to being the slip event received in editor's optical crosstalk mark sliding-modes, then the direct direction according to slip event and the mobile cursor edited in string of distance.
Certainly, user, can click keys input character after not moving, one or more in such as a-z.
Preferably, described movement in editor's string according to slip event control cursor comprises:
Sub-step 631, according to glide direction and displacement, controls the position of described cursor in editor's string in the same way.
State horizontal slip direction in front of the moving direction of cursor in editor's string in the present invention consistent, namely user left slide time, cursor slides left, as Fig. 1 C, is to slide to the right the schematic diagram obtained from Figure 1B.User to the right slide time, cursor slides to the right.Under editing optical crosstalk mark sliding-modes in embodiments of the present invention, left cunning then Left Arrow, but cursor does not then respond left cunning in editor's string leftmost position (i.e. editor's string head end position).Right cunning then cursor moves right, and does not respond right cunning editor's string rightmost (i.e. editor go here and there most end position).
In addition, user can exit editor's optical crosstalk mark sliding-modes, and then then enters the process of step 620 after receiving slip event.
Preferably, after mobile in editor's string according to slip event control cursor, also comprise:
Step S631, when described cursor is when editing string tail end, if again receive the character string of user's input, then exits described editor's optical crosstalk mark sliding-modes.
In embodiments of the present invention, cursor is when editing other positions outside string tail end, illustrate that user may need amendment editor string, or need the operations such as adjustment pinyin string, the character receiving user's input then can insert cursor position, and in such as Fig. 1 C, user continues input character u, after then u being inserted k, obtain editor's string " ku Shu ai ' gua ", cursor, after u, does not exit editor's optical crosstalk mark sliding-modes.If but cursor is when editing string tail end, as the cursor position of Figure 1B, when user inputs and clicks key-press input character, then exiting described editor's optical crosstalk mark sliding-modes, returning to aforesaid conventional text candidate pattern.
Certainly, when described cursor not to be on the permanent staff volume string tail end, can click keys input character, one or more in such as a-z.
After the present invention enters editor's optical crosstalk mark sliding-modes, also can trigger stroke filtering mode, generate stroke inputting interface, to receive the screening strokes sequence of user's input.Such as " anyhow erect ", carry out cutting for " Philosophy folding " to Chinese-character stroke, concrete as " a Shu Pie Dian second ", so user can click these 5 buttons and carries out stroke input.As " a Shu Pie Dian second " interface, place in Figure 1B.
So preferred, after mobile in editor's string according to slip event control cursor, also comprise:
Step S632, determines the button subsequence that described cursor is corresponding;
After the present invention moves the cursor in editor's string, situation after such as mobile is as " kai ' Shu gua ", or " kai Shu ' gua ", or " kai ' gu Shu a ", so then by button subsequence corresponding in the location, position 516482 of described positioning cursor " Shu ", the keystroke sequence of first phonetic substring after such as positioning cursor, for " kai ' Shu gua " or " kai Shu ' gua " its location positioning cursor after first phonetic substring, the button subsequence of its correspondence is 482, for " kai ' gu Shu a ", the phonetic substring at positioning cursor place is gua, so the button subsequence of its correspondence is also 482.
Step S633, receives the screening strokes sequence of user's input;
Such as user's input " a Shu Shu ", so inputs rule and receives screening strokes sequence " a Shu Shu ".
Step S634, by described screening strokes sequence, the first strokes sequence of each initial candidate item corresponding with described button subsequence mates;
In input method, for certain button subsequence, the pinyin string of its correspondence may have various ways, and the word of its correspondence and/or word also have different types.Such as aforementioned 482, the phonetic substring of its correspondence can comprise " gua ", " hua " etc., each phonetic substring corresponding a series of initial candidate item again in dictionary, so aforementioned screening strokes sequence can mate with the first strokes sequence of these initial candidate items by the present invention, enters step 370 for the initial candidate Xiang Ze matched.
Be appreciated that, this step before matching, need by described button subsequence, each phonetic substring that acquisition can be made up of described button subsequence, then from dictionary, extract corresponding initial candidate item by each phonetic substring, then the initial candidate item of each phonetic substring is combined as the initial candidate item of corresponding described button subsequence.
Certainly in embodiments of the present invention, for the selection of initial candidate item, preferentially can mate with the initial candidate item that other pinyin string are combined as word/sentence.Such as aforementioned " kai Shu ' gua ", pinyin string kai does not process it, below 482, " gua ", " hua " of its correspondence, then prioritizing selection " kai ' gua ", word in the word that pinyin string combinations such as " " kai ' hua " is corresponding, such as " opens extension ", " blooming ", " kai " word below in the word such as " becoming civilized ", and other individual characters that can not be combined as word then just can be selected to mate.
So for the screening strokes sequence " a Shu Shu " in previous example, then with each initial candidate item of 482 match " flower ".
Step S635, according to each initial candidate item matched, revises described button subsequence and phonetic substring corresponding to button subsequence afterwards, and revises corresponding upper screen candidate item.
For in previous example, for the pinyin string " kai ' gua " of upper screen, it shields candidate item for " opening extension " etc., so due to abovementioned steps for 482 initial candidate item filter, obtain " flower ", and the pinyin string of flower is " hua ", so the pinyin string of upper screen is modified to " kai ' hua ", " will open extension " etc. upper screen candidate item is cancelled simultaneously, is revised as the upper screen candidate item of " kai ' hua ", namely sequence first is " blooming ", " becoming civilized " etc.
Preferably, in step S632, the described button subsequence determining that described cursor is corresponding comprises:
Sub-step S6321, the primary importance of described cursor in pinyin string, judges described primary importance whether in the phonetic substring meeting Pinyin rule;
Sub-step S6322, if described primary importance is not in the phonetic substring meeting Pinyin rule, then from the phonetic substring that first after described primary importance meets Pinyin rule, select corresponding button subsequence as button subsequence corresponding to described cursor;
Sub-step S6323, if described primary importance is in the phonetic substring meeting Pinyin rule, then from primary importance place meet the phonetic substring of Pinyin rule, select corresponding button subsequence as button subsequence corresponding to described cursor.
Certainly, can specify only to select a keystroke sequence meeting the phonetic substring of Pinyin rule as button subsequence corresponding to described positioning cursor in the embodiment of the present invention, also can be the multiple keystroke sequence meeting the phonetic substring of Pinyin rule of regulation as button subsequence corresponding to described positioning cursor.
For aforementioned nine keyboards, when user have input 9494242426, input method is identified as acquiescence pinyin string " yi ' xian ' tian ", and in acquiescence, screen candidate item comprises in " a line sky " etc.If only the regulation keystroke sequence of selecting one to meet the phonetic substring of Pinyin rule is as button subsequence corresponding to described positioning cursor:
So when user inputs positioning cursor at " y Shu i ' xian ' tian ", so because positioning cursor " Shu " is before first i, according to the Pinyin rule of the Chinese phonetic alphabet, this positioning cursor in phonetic substring yi, so using button subsequence 94 corresponding for yi as button subsequence corresponding to described positioning cursor.
When user inputs positioning cursor at " y i ' Shu xian ' tian ", so because positioning cursor " Shu " is before x, according to the Pinyin rule of the Chinese phonetic alphabet, this positioning cursor is not among certain phonetic substring, its first phonetic substring is below xian, so using keystroke sequence 9426 corresponding for xian as button subsequence corresponding to described positioning cursor.
When user inputs positioning cursor at " y i ' xi Shu an ' tian ", so because positioning cursor " Shu " is before a, according to the Pinyin rule of the Chinese phonetic alphabet, this positioning cursor is in phonetic substring xian,, so using keystroke sequence 9426 corresponding for xian as button subsequence corresponding to described positioning cursor.
When user inputs positioning cursor at " y i ' xian ' Shu t ian ", so due to before positioning cursor " Shu " later an i, do not have among certain phonetic substring according to this positioning cursor of Pinyin rule of the Chinese phonetic alphabet, its first phonetic substring is below t ian, so using keystroke sequence 8426 corresponding for tian as button subsequence corresponding to described positioning cursor.
Certainly, if select multiple phonetic substring as button subsequence corresponding to described positioning cursor, such as aforementioned " y i ' xi Shu an ' tian ", can using " 9426 " and " 8426 " as button subsequence corresponding to described positioning cursor, follow-up stroke screening sequence can screen word corresponding to these two button subsequences and/or word simultaneously.Other situations by that analogy.
Certainly, according to the primary importance of described positioning cursor in pinyin string, the phonetic substring meeting Pinyin rule can also before judging described primary importance, whether be had; If there is the phonetic substring meeting Pinyin rule before described primary importance, then using the button subsequence after the described phonetic substring meeting Pinyin rule as button subsequence corresponding to described positioning cursor; If do not meet the phonetic substring of Pinyin rule before described primary importance, then the button subsequence started by first button is as button subsequence corresponding to described positioning cursor.
Preferably, in step S634, described by described screening strokes sequence, the first strokes sequence of each initial candidate item corresponding with described button subsequence carries out coupling and comprises:
Sub-step S6341, searches the various phonetic substrings corresponding with described button subsequence;
Sub-step S6342, obtains corresponding word and/or word by each pinyin string, obtains each initial candidate item;
Sub-step S6343, by described screening strokes sequence, mates with the strokes sequence of each initial candidate item.
For the keystroke sequence 9426 that aforementioned " y i ' Shu xian ' tian " is corresponding, it may correspond to " xian ", " xiao ", the phonetic substring such as " zhao ", the corresponding a series of word of these phonetic substrings, so using these words as initial candidate item, can screen to screen strokes sequence.
Based on sub-step B661-step B663, be attached to step S635.In order to understand the embodiment of the present invention more easily, the example stated before this is illustrated.Such as user inputs 9494242426, and input method is identified as acquiescence pinyin string " yi ' xian ' tian ", and in acquiescence, screen candidate item comprises in " a line sky " etc.
Situation 1: user inputs positioning cursor and obtains, " y i ' Shu xian ' tian ", so according to abovementioned steps, can determine that the button subsequence that positioning cursor is corresponding is 94.When user inputs screening strokes sequence " a Shu second ", so pass through abovementioned steps, obtain in " west " for screening in each word of 94 correspondences, so the yi in acquiescence " yi ' xian ' tian " can be revised as xi, certain yi phonetic substring below also can corresponding modify, also can not revise, and such as can be " xi ' xian ' tian " for situation about not revising, it shielding candidate item first character is west, can searching from dictionary according to phonetic substring below of other.
Situation 2: user inputs positioning cursor and obtains, " y i ' Shu xian ' tian ", so according to abovementioned steps, can determine that the button subsequence that positioning cursor is corresponding is 9426.When user inputs screening strokes sequence " Shu Pie Dian ", so pass through abovementioned steps, obtain " little " for screening in each word of 9426 correspondences, so the xian in acquiescence " yi ' xian ' tian " can be revised as xiao, certain xian phonetic substring below also can corresponding modify, also can not revise, such as " xi ' xiao ' tian " be can be for situation about not revising, it shielding candidate item first character is be still one, second word is then little, 3rd word can be the word that can be combined as word with second word, such as sky.Other upper screen candidate item can be searched from dictionary according to phonetic substring below.
Situation 3: user inputs positioning cursor and obtains, " y i ' Shu xian ' tian ", so according to abovementioned steps, can determine that the button subsequence that positioning cursor is corresponding is 94242426.
In this kind of situation, owing to may mate the stroke of multiple word, can prespecifiedly be that the first strokes sequence that at least the first stroke of multiple word forms is mated.Mate for the first sum of the carrying out of each word.When user inputs screening strokes sequence " Pie mono-", so by abovementioned steps, obtain in " little sky " for screening in each word of 94242426 correspondences.If the character/word certainly for stroke coupling has multiple, also can select according to frequency of utilization, prioritizing selection frequency of utilization is high.
So xian ' the tian in acquiescence " yi ' xian ' tian " can be revised as xiao ' tian, it shielding candidate item first character is be still one, and second and third word is then little sky.Other upper screen candidate item can be searched from dictionary according to phonetic substring below.
Preferably, in step S634, by described screening strokes sequence, the strokes sequence of each initial candidate item corresponding with described button subsequence mates, and comprising:
Sub-step B6341, by the screening strokes sequence that user inputs, the first strokes sequence formed with at least the first stroke of each word by each initial candidate item mates.
In embodiments of the present invention, the corresponding several pinyin string of button subsequence energy that positioning cursor is corresponding, and the corresponding multiple initial candidate item of each pinyin string, therefore, each button subsequence is by the corresponding more initial candidate item of the pinyin string of its correspondence.In such as step, regulation obtains the current or multiple phonetic substrings meeting Pinyin rule afterwards of primary importance corresponding to positioning cursor, using multiple button subsequences corresponding for the plurality of phonetic substring as button subsequence corresponding to described positioning cursor, so this button word sequence possibility equivalent, 94242426 to may correspond in such as embodiment two " xiao ' tian ", " xian ' tian ", all each corresponding two words of these pinyin string, or can be understood as its corresponding word.So the present invention can mate multiple words of an initial candidate item simultaneously by screening strokes sequence.
Preferably, the described screening strokes sequence that user is inputted, the first strokes sequence formed with at least the first stroke of each word by each initial candidate item carries out mating comprising:
Sub-step B6342, mates the first strokes sequence that described screening strokes sequence and the complete strokes sequence by each word of each initial candidate item form;
The complete stroke of each word of each initial upper screen candidate item can be extracted in embodiments of the present invention, form the first strokes sequence, such as " Asia ", the complete strokes sequence of " Asia " is " a Shu Shu Pie Dian mono-", the complete strokes sequence in " continent " is " Dian Dian mono-Dian Pie Dian Shu Dian Shu ", the first strokes sequence so formed is " a Shu Shu Pie Dian mono-Dian Dian mono-Dian Pie Dian Shu Dian Shu ", and described screening strokes sequence can mate with this first strokes sequence.
And/or sub-step B6343, matches described screening strokes sequence and the first strokes sequence be made up of the first stroke of each word of each initial candidate item.
The complete stroke of each word of each initial upper screen candidate item can be extracted in embodiments of the present invention, form the first strokes sequence, such as aforementioned " Asia ", the first stroke of " Asia " is " one ", the first stroke in " continent " is " Dian ", the first strokes sequence so formed is " Dian ", and described screening strokes sequence can mate with this first strokes sequence.
Preferably, screening strokes sequence user inputted, also comprises before the first strokes sequence formed mates with at least the first stroke of each word by each initial candidate item:
Sub-step B6344, for each initial candidate item, obtains the first strokes sequence of each initial candidate item from dictionary.
In embodiments of the present invention, the stroke of each word can be preserved in advance in dictionary, under this dictionary can be arranged on the specified path of system with client when mounted.
In the embodiment of the present invention, before receiving user and inputting the process of screening strokes sequence, among or afterwards, all can extract each the first strokes sequence initially shielding candidate item from dictionary.Certainly as described in embodiment one, the first strokes sequence that at least the first stroke that can extract each word of each initial upper screen candidate item forms.
Preferably, the described screening strokes sequence that user is inputted, the first strokes sequence formed with at least the first stroke of each word by each initial candidate item carries out mating also comprising:
Sub-step B6327, when the first strokes sequence Incomplete matching of described screening strokes sequence and described initial candidate item, the error correcting model based on stroke is utilized to judge the probability of the first stroke sequences match of the strokes sequence that described user inputs and described initial candidate item;
In actual applications, when user inputs screening strokes sequence, may input error, when such as inputting " soon " word, for five-stroke input method " one, Shu, Pie, Dian, second ", correct stroke order should be " Dian Dian Shu second one Pie Dian ", input for one of the Chinese character components then easily makes mistakes, such as " Shu Dian Dian ", so this kind of mistake input then judges it by the error correcting model based on stroke, judges the strokes sequence that user inputs and the initial upper probability shielding the first stroke sequences match of candidate item.
Sub-step B6346, when the probability of described coupling is greater than threshold value, then judges in the first stroke sequences match of described screening strokes sequence and described initial candidate item.
When by judging that based on the error correcting model of stroke the strokes sequence that described user inputs and described initial upper probability shield the first stroke sequences match of candidate item are greater than certain threshold value, then can think that described screening strokes sequence shields in the first stroke sequences match of candidate item with described initially going up; Otherwise, then think and do not match.
Preferably, also comprise:
Sub-step B6347, utilizes binary or the n-tuple relation of words in phrase and/or sentence, builds the described error correcting model based on stroke;
Binary relation, for representing the probability that two elements occur in succession, i.e. P (B|A), under representing the condition that A occurs, the probability that B occurs.N-tuple relation is derived by binary relation.
In embodiments of the present invention, can according to the stroke adding up phrase and words in advance, according to the probability that phrase or the direct binary of the direct word of sentence or n-tuple relation determination stroke occur.Such as happy strokes sequence is " Dian Dian Shu second one Pie Dian Pie second Shu Pie Dian ", obtaining " Dian Shu Dian second one Pie Dian Pie second Shu Pie Dian " corresponding happy probability by statistics is 90%, " Shu Dian Dian second one Pie Dian Pie second Shu Pie Dian " corresponding happy probability is 79%, by that analogy, thus build based on the error correcting model of stroke.So, for the stroke screening sequence not matching initial upper screen candidate item, stroke screening sequence and each initial upper matching probability shielding candidate item can be judged, if be greater than threshold value according to the above-mentioned error correcting model based on stroke, such as be greater than 34%, then can think that initial upper screen candidate item is matched.
And/or sub-step B6348, utilizes the binary between the stroke forming each word or n-tuple relation, builds the described error correcting model based on stroke.
The stroke " Dian Dian Shu second one Pie Dian " of such as " soon " word is, the probability that statistics can obtain strokes sequence " Dian Shu Dian second one Pie Dian " correspondence " soon " word is for being 90%, the probability of strokes sequence " Shu Dian Dian second one Pie Dian " correspondence " soon " word is 80%, and similar principles can build the error correcting model based on stroke.Also can judge stroke screening sequence and each initial upper matching probability shielding candidate item according to the above-mentioned error correcting model based on stroke, if be greater than threshold value, such as be greater than 34%, then can think that initial upper screen candidate item is matched.
Preferably, the screening strokes sequence of described reception user input, comprising:
Sub-step B6349, judges whether there is separator in described screening strokes sequence; If there is separator, then screening strokes sequence user inputted according to described separator is divided into each screening stroke subsequence.
Further, the described screening strokes sequence that user is inputted, the first strokes sequence formed with at least the first stroke of each word by each initial candidate item carries out mating comprising:
Sub-step B6350, to screen in units of stroke subsequence, mates the target stroke subsequence of described screening stroke subsequence with the word in respective sequence in each initial candidate item according to the order of sequence.
In embodiments of the present invention, can separator recognition rule pre-set, such as arrange ", " or "; " be separator, user can input separator between input screening stroke, screening strokes sequence is divided into screening stroke subsequence, and each screening stroke subsequence can the screening strokes sequence of a correspondence word.
If there is no separator, then can according to the order of sequence screening strokes sequence be mated with the first strokes sequence be made up of each initial upper at least the first stroke shielding each word of candidate item.
Such as user input " Shu " input afterwards separator "; "; so can determine " Shu " screening stroke subsequence for screening initial upper screen candidate item first character; user is after input separator; continue input " Dian Dian "; so can " Dian Dian " as the screening stroke subsequence for the initial upper screen candidate item of screening second word; if separator in addition, the screening stroke subsequence Corresponding matching so between two separators initially above shields the word of candidate item relevant position.Ratio is if any two separators, screening stroke subsequence Corresponding matching before first separator is the upper first character shielding candidate item initially, screening stroke subsequence Corresponding matching between first separator and second separator is upper second word shielding candidate item initially, and the screening stroke subsequence Corresponding matching after second separator is upper the 3rd word shielding candidate item initially.
Sub-step B6349 and sub-step B6350 for using when the first strokes sequence formed at least the first two strokes of each word of initial candidate item mates, can improve the recognition speed to screening strokes sequence, improving matching efficiency.
Step 640, if to meet Second Type pre-conditioned for described slip event, then enters candidate item cursor sliding-modes, controls cursor move in candidate item according to slip event.
Then, by current conventional text candidate pattern, candidate item cursor sliding-modes can be switched to, namely as Fig. 4 A, then can control cursor according to slip event and move in candidate bar, move in candidate item " triumphant China ".Under candidate item cursor sliding-modes, cursor is generally sightless, and it is just presented on mobile item, i.e. a mobile position in candidate bar, and its correspondence moves in next candidate item.
Preferably, comprise according to slip event control cursor is mobile in candidate item:
Sub-step S641, carries out highlighted display by candidate item corresponding for cursor.
Namely which candidate item cursor moves in, then the described candidate item of highlighted display.User is facilitated to determine the position that cursor is concrete.
In embodiments of the present invention, certain slide for user triggers the slip event entering candidate bar, if the direction of this slip event and sliding distance reach predetermined condition, then enters candidate item cursor sliding-modes.If then the aforementioned slide of user does not terminate, continue to slide, then can move in candidate bar, by the candidate item corresponding to mobile cursor according to the direction of continuing to slide and distance controlling cursor.When the above-mentioned slide of user terminates, when again receiving slide, owing to being the slip event received in candidate item cursor sliding-modes, then the direct direction according to slip event and apart from the cursor in mobile candidate bar.
Preferably, described movement in candidate item according to slip event control cursor comprises:
Sub-step S642, according to glide direction and displacement, moves the position of described cursor in candidate bar in the same way.
State horizontal slip direction in the present invention in front of the moving direction of cursor in candidate bar consistent, namely user to the right slide time, cursor slides to the right, as Fig. 4 A, is the schematic diagram after cursor moves right in candidate item.User to the right slide time, cursor slides to the right.In embodiments of the present invention under candidate item cursor sliding-modes, left cunning then Left Arrow, but cursor is in candidate bar leftmost position then attonity, but mobile candidate item.Right cunning then cursor moves right, in candidate bar rightmost attonity.
In addition, user can exit candidate item cursor sliding-modes, and then then enters the process of step 620 after receiving slip event.
Preferably, after mobile in candidate item according to slip event control cursor, also comprise:
Sub-step S643, if the character string again receiving user's input, then exits described candidate item cursor sliding-modes.
In embodiments of the present invention, continue the character receiving user's input, such as in spelling input method, input u at candidate item cursor sliding-modes, then the editor meaned goes here and there change, and so the candidate item of correspondence also changes, then can exit candidate item cursor sliding-modes.
Preferably, comprise according to slip event control cursor is mobile in candidate item:
Sub-step S644, when cursor moves to last candidate item shown in candidate bar, if continue to receive the slip event to candidate item tail end, then judges whether last candidate item shown in described candidate bar is end candidate item;
Sub-step S627, if last candidate item shown in described candidate bar is not end candidate item, then moves each candidate item of showing in candidate bar to head end is suitable;
In embodiments of the present invention, the candidate item that subsequent column is shown simultaneously has restriction, can only show the candidate item of about 4 in such as Fig. 4 A, and in fact editor goes here and there the number of the general candidate item can shown more than candidate bar of candidate item number corresponding to the keystroke sequence of user's input in other words far away.So cursor is when moving to last candidate item of showing in candidate bar, as " triumphant China " in Fig. 4 A, so then can judge " triumphant China " candidate item whether all sequences are last, if " triumphant China " is not a last candidate item, so for slip event to the right, need the candidate item after by corresponding for cursor current candidate, then need all candidate item to move, to ensure that the cursor being in candidate bar tail end can correspond to corresponding candidate item to head end is suitable according to the order of sequence.In embodiments of the present invention, Fig. 4 A " triumphant China " is namely after being moved right by the cursor in Figure 1A, and all candidate item are moved to the left and obtain.If " triumphant China " is a last candidate item, then do not respond right cunning.
Sub-step S646, when cursor moves to first candidate item shown in candidate bar, if continue to receive the slip event to candidate item head end, then judges whether first candidate item shown in described candidate bar is the first candidate item;
Sub-step S647, if show in described candidate bar first candidate item is not the first candidate item, then moves caudad suitable for each candidate item of showing in candidate bar.
As aforementioned logic, if when cursor moves to the position of candidate bar first candidate item, when such as moving on " the opening extension " in Figure 1A, need to judge " opening extension " be whether sort in all candidate item first candidate item, if the candidate item of sequence first in not all candidate item of " opening extension ", so for slip event left, then by all candidate item to the right along moving.If " open extension " and be in all candidate item sort first candidate item, then do not respond left cunning.
Preferably, control also to comprise after cursor moves in candidate item according to slip event:
Sub-step S648, moves candidate item corresponding to rear position according to cursor, revises corresponding editor's string.
In embodiments of the present invention, for candidate item, can according to keystroke sequence, each candidate item of various editor's string correspondences that selection key sequence pair is answered, keystroke sequence " 516482 " in such as previous example, its at least corresponding two pinyin string, such as " kai ' hua ", " kai ' gua ", so can each word of these pinyin string and/or word all alternatively item in candidate item.Be so " kai ' gua " for pinyin string initial in Figure 1A and Fig. 4 A, so after entering candidate item cursor sliding-modes, after Right Arrow to " triumphant China ", adjust pinyin string for " kai ' hua " according to " triumphant China ".
In embodiments of the present invention, first, provide two kinds of cursor sliding-modes, namely optical crosstalk mark sliding-modes and candidate item cursor sliding-modes is edited, the predetermined slip event that user can trigger according to predetermined user, from conventional text candidate pattern, enter certain cursor sliding-modes, facilitate the editor of user to editor's string and the selection of candidate item, and facilitate user when possessing the candidate item visual field, carry out the selection of candidate item easily.
Secondly, in the embodiment of the present invention, particularly under the cursor sliding-modes of editor's string, can directly according to the keystroke sequence of the correspondence of positioning cursor position, the screening strokes sequence again inputted with user, the various word corresponding to the various pinyin string that this keystroke sequence is corresponding and/word (i.e. initial candidate item) screen, and according to the phonetic substring of keystroke sequence corresponding to the selection result correction positioning cursor, upper screen candidate item is determined again after not needing first to determine phonetic, upper screen candidate item can be determined by screening strokes sequence, correct corresponding phonetic substring simultaneously.Solve and determine that the process need phonetic of candidate Chinese character could obtain candidate after determining, operating process is many, and can not filter further, affect the problem of the input efficiency of user, improve the dirigibility that user uses positioning cursor, further upper screen candidate item is screened, to improve the input efficiency of user.Further, in the embodiment of the present invention, can be screened by multiple words of multiple stroke to initial candidate item, be not limited to the filtration of individual character, screening effeciency is high, further increases input efficiency.
Embodiment seven
With reference to Fig. 7, it illustrates the schematic flow sheet of a kind of input method cursor operating method of the present invention, specifically can comprise:
Step 710, in the conventional text candidate pattern of input method, monitors whether receive slip event;
Step 712, if receive slip event, then judges the pre-conditioned type that described slip event meets; If it is pre-conditioned that described slip event meets the first kind, then enter step 714; If it is pre-conditioned that described slip event meets Second Type, then enter step 722;
In embodiments of the present invention, in order to ensure not make each slip all judge, whether it meets the pre-conditioned of certain type aforementioned, all trigger the operation entering and judge cursor sliding-modes, the present invention maintains the first status indicator, the second status indicator of editor's optical crosstalk mark sliding-modes, the third state mark of candidate item cursor sliding-modes of conventional text candidate pattern at every turn.Under corresponding modes, then enable corresponding status indicator.Such as the aforementioned input method that is clicks the keystroke sequence obtained for user, carry out the identification of editing string, then obtain upper screen candidate item based on editor's string from dictionary, be conventional text candidate pattern when the forward upper screen candidate item of sequence is illustrated in candidate bar, now enable the first status indicator.When then entering editor's optical crosstalk mark sliding-modes, then by current be the first status indicator of conventional text candidate pattern, be revised as the second status indicator editing optical crosstalk mark sliding-modes.And when entering candidate item cursor sliding-modes, then by current be the first status indicator of conventional text candidate pattern, be revised as the third state mark of editor's optical crosstalk mark sliding-modes.
Step 714, if to meet the first kind pre-conditioned for described slip event, then enters editor's optical crosstalk mark sliding-modes, by current be the first status indicator of conventional text candidate pattern, be revised as the second status indicator editing optical crosstalk mark sliding-modes; Enter step 716,
Step 716, after continuing to receive slip event, judges whether the status indicator of current input method is the second status indicator; If the status indicator of current input method is the second status indicator, then enter step 718;
Step 718 moves the position of cursor in editor's string according to described slip event;
Step 720, when described cursor is when editing string tail end, if again receive the character string of user's input, then exits described editor's optical crosstalk mark sliding-modes.
In embodiments of the present invention, when described cursor is when editing string tail end, if again receive the character string of user's input, then by the second status indicator of editor's optical crosstalk mark sliding-modes, be revised as the first status indicator of conventional text candidate pattern.
Step 722, if to meet Second Type pre-conditioned for described slip event, then enters candidate item cursor sliding-modes, by current be the first status indicator of conventional text candidate pattern, be revised as the third state mark of candidate item cursor sliding-modes; Enter step 724;
Step 724, after continuing to receive slip event, judges whether the status indicator of current input method is third state mark; If the status indicator of current input method is third state mark, then enter step 726;
Step 726, moves the position of cursor in candidate item according to described slip event.
Step 728, if the character string again receiving user's input, then exits described editor's optical crosstalk mark sliding-modes.
In embodiments of the present invention, in candidate item cursor sliding-modes, again receive the character string of user's input, then the third state of candidate item cursor sliding-modes is identified, be revised as the first status indicator of conventional text candidate pattern.
Embodiment eight
With reference to Fig. 8, it illustrates the structural representation of a kind of input method cursor operations device of the present invention, specifically can comprise:
Slide and monitor module 810, be suitable for the conventional text candidate pattern in input method, monitor whether receive slip event;
Judgement of slide module 820, if be suitable for receiving slip event, then judges whether described slip event meets pre-conditioned;
Cursor mobile module 830, meets pre-conditioned if be suitable for described slip event, then enter editor's optical crosstalk mark sliding-modes, control cursor move in editor's string according to slip event.
Embodiment nine
With reference to Fig. 9, it illustrates the structural representation of a kind of input method cursor operations device of the present invention, specifically can comprise:
Slide and monitor module 910, be suitable for the conventional text candidate pattern in input method, monitor whether receive slip event;
Judgement of slide module 920, if be suitable for receiving slip event, then judges whether described slip event meets pre-conditioned;
Cursor mobile module 930, meets pre-conditioned if be suitable for described slip event, then enter editor's optical crosstalk mark sliding-modes, control cursor and move in editor's string, specifically comprise according to slip event:
First status indicator handover module 931, meets pre-conditioned if be suitable for described slip event, then by current be the first status indicator of conventional text candidate pattern, be revised as the second status indicator of editor's optical crosstalk mark sliding-modes;
First status indicator judge module 932, is suitable for after continuing to receive slip event, judges whether the status indicator of current input method is the second status indicator;
First cursor mobile module 933, if the status indicator being suitable for current input method is the second status indicator, then moves the position of cursor in editor's string according to described slip event.
Described judgement of slide module comprises:
Head end walking direction module, is suitable for judging whether described slip event is to the slide editing string head end direction in entering method keyboard region; If described slip event is the slide to editor's string head end direction in entering method keyboard region, then judge that described slip event meets pre-conditioned.
Preferably, described cursor mobile module comprises:
First mobile module in the same way, is suitable for according to glide direction and displacement, controls the position of described cursor in editor's string in the same way.
Preferably, after described cursor mobile module, also comprise:
Editor's optical crosstalk mark sliding-modes exits module, is suitable for, when described cursor is when editing string tail end, if again receive the character string of user's input, then exiting described editor's optical crosstalk mark sliding-modes.
Embodiment ten
With reference to Figure 10, it illustrates the structural representation of a kind of input method cursor operations device of the present invention, specifically can comprise:
Slide and monitor module 1010, be suitable for the conventional text candidate pattern in input method, monitor whether receive slip event;
Judgement of slide module 1020, if be suitable for receiving slip event, then judges whether described slip event meets pre-conditioned;
Cursor mobile module 1030, meets pre-conditioned if be suitable for described slip event, then enter editor's optical crosstalk mark sliding-modes, control cursor move in editor's string according to slip event.
Cursor determination module 1040, is suitable for the button subsequence determining that described cursor is corresponding
Screening sequential reception module 1050, is suitable for the screening strokes sequence receiving user's input;
Screening matching module 1060, be suitable for described screening strokes sequence, the first strokes sequence of each initial candidate item corresponding with described button subsequence mates;
Adjusting module 1070, is suitable for according to each initial candidate item of matching, revises described button subsequence and phonetic substring corresponding to button subsequence afterwards, and revises corresponding upper screen candidate item.
Preferably, described cursor determination module comprises:
Cursor position judge module, is suitable for according to the primary importance of described cursor in pinyin string, judges described primary importance whether in the phonetic substring meeting Pinyin rule;
First button determination module, if be suitable for described primary importance not in the phonetic substring meeting Pinyin rule, then from the phonetic substring that first after described primary importance meets Pinyin rule, select corresponding button subsequence as button subsequence corresponding to described cursor;
Second button determination module, if be suitable for described primary importance in the phonetic substring meeting Pinyin rule, then from primary importance place meet the phonetic substring of Pinyin rule, select corresponding button subsequence as button subsequence corresponding to described cursor.
Preferably, described screening matching module comprises:
Pinyin string searches module, is suitable for searching the various phonetic substrings corresponding with described button subsequence;
Initial candidate item acquisition module, is suitable for obtaining corresponding word and/or word by each pinyin string, obtains each initial candidate item;
Matching module, is suitable for, by described screening strokes sequence, mating with the strokes sequence of each initial candidate item.
Preferably, described screening matching module comprises:
First screening matching module, be suitable for screening strokes sequence user inputted, the first strokes sequence formed with at least the first stroke of each word by each initial candidate item mates.
Preferably, described first screening matching module comprises:
Complete match module, the first strokes sequence be suitable for described screening strokes sequence and the complete strokes sequence by each word of each initial candidate item form mates;
And/or the first sum of matching module, is suitable for described screening strokes sequence and the first strokes sequence be made up of the first stroke of each word of each initial candidate item to match.
Preferably, also comprised before the first screening matching module:
First stroke retrieval module, is suitable for, for each initial candidate item, obtaining the first strokes sequence of each initial candidate item from dictionary.
Preferably, described first screening matching module also comprises:
Correction module, when being suitable for the first strokes sequence Incomplete matching when described screening strokes sequence and described initial candidate item, the error correcting model based on stroke is utilized to judge the probability of the first stroke sequences match of the strokes sequence that described user inputs and described initial candidate item; When the probability of described coupling is greater than threshold value, then judge in the first stroke sequences match of described screening strokes sequence and described initial candidate item.
Preferably, also comprise:
First error correcting model builds module, is suitable for the binary or the n-tuple relation that utilize words in phrase and/or sentence, builds the described error correcting model based on stroke;
And/or the second error correcting model builds module, be suitable for utilizing the binary between the stroke of each word of composition or n-tuple relation, build the described error correcting model based on stroke.
Preferably, described screening sequential reception module comprises:
Separator receiver module, is suitable for judging whether there is separator in described screening strokes sequence; If there is separator, then screening strokes sequence user inputted according to described separator is divided into each screening stroke subsequence.
Preferably, described first screening matching module comprises:
Separate matching module, be suitable for screening in units of stroke subsequence, according to the order of sequence the target stroke subsequence of described screening stroke subsequence with the word in respective sequence in each initial candidate item mated.
Embodiment 11
With reference to Figure 11, it illustrates the structural representation of a kind of input method cursor operations device of the present invention, specifically can comprise:
Slide and monitor module 1110, be suitable for the conventional text candidate pattern in input method, monitor whether receive slip event;
Judgement of slide module 1120, if be suitable for receiving slip event, then judges whether described slip event meets pre-conditioned;
Cursor mobile module 1130, meets pre-conditioned if be suitable for described slip event, then enter candidate item cursor sliding-modes, controls cursor move in candidate item according to slip event.
Embodiment 12
With reference to Figure 12, it illustrates the structural representation of a kind of input method cursor operations device of the present invention, specifically can comprise:
Slide and monitor module 1210, be suitable for the conventional text candidate pattern in input method, monitor whether receive slip event;
Judgement of slide module 1220, if be suitable for receiving slip event, then judges whether described slip event meets pre-conditioned;
Cursor mobile module 1230, meets pre-conditioned if be suitable for described slip event, then enter candidate item cursor sliding-modes, controls cursor and moves in candidate item, specifically comprise according to slip event:
Second status indicator handover module 1231, meets pre-conditioned if be suitable for described slip event, then by current be the first status indicator of conventional text candidate pattern, be revised as the third state mark of candidate item cursor sliding-modes;
Second status indicator judge module 1232, is suitable for after continuing to receive slip event, judges whether the status indicator of current input method is third state mark;
Second cursor mobile module 1233, if the status indicator being suitable for current input method is third state mark, then moves the position of cursor in candidate item according to described slip event.
Preferably, described judgement of slide module comprises:
Tail end judge module, is suitable for judging that whether described slip event is the slide to candidate item tail end direction in entering method keyboard region; If described slip event is the slide to candidate item tail end direction in entering method keyboard region, then judge that described slip event meets pre-conditioned.
Preferably, described cursor mobile module comprises:
Second synchronizing moving module, is suitable for according to glide direction and displacement, controls the movement of cursor in candidate item in the same way.
Preferably, after described cursor mobile module, also comprise:
Candidate item cursor sliding-modes exits module, if be suitable for the character string again receiving user's input, then exits described candidate item cursor sliding-modes.
Preferably, described cursor mobile module comprises:
First candidate item moves judge module, be suitable for when cursor moves to last candidate item shown in candidate bar, if continue to receive the slip event to candidate item tail end, then judge whether last candidate item shown in described candidate bar is end candidate item; If last candidate item shown in described candidate bar is not end candidate item, then each candidate item of showing in candidate bar is moved to head end is suitable;
Second candidate item moves judge module, when cursor moves to first candidate item shown in candidate bar, if continue to receive the slip event to candidate item head end, then judges whether first candidate item shown in described candidate bar is the first candidate item; If show in described candidate bar first candidate item is not the first candidate item, then move caudad suitable for each candidate item of showing in candidate bar.
Preferably, described cursor mobile module comprises:
Highlighted display module, is suitable for candidate item corresponding for cursor to carry out highlighted display.
Preferably, also comprise after described cursor mobile module:
Editor's string correcting module, is suitable for moving candidate item corresponding to rear position according to cursor, revises corresponding editor's string.
Embodiment 13
With reference to Figure 13, it illustrates the structural representation of a kind of input method cursor operations device of the present invention, specifically can comprise:
Slide and monitor module 1310, be suitable for the conventional text candidate pattern in input method, monitor whether receive slip event;
Type judging module 1320, if be suitable for receiving slip event, then judges the pre-conditioned type that described slip event meets;
Editor's optical crosstalk mark mobile module 1330, if be suitable for described slip event, to meet the first kind pre-conditioned, then enter editor's optical crosstalk mark sliding-modes, control cursor move in editor's string according to slip event;
Candidate's cursor mobile module 1340, if be suitable for described slip event, to meet Second Type pre-conditioned, then enter candidate item cursor sliding-modes, controls cursor move in candidate item according to slip event.
Preferably, described editor's optical crosstalk mark mobile module comprises:
First status indicator handover module, if be suitable for described slip event to meet the first pre-conditioned type, then by current be the first status indicator of conventional text candidate pattern, be revised as the second status indicator editing optical crosstalk mark sliding-modes
First status indicator judge module, is suitable for after continuing to receive slip event, judges whether the status indicator of current input method is the second status indicator;
First cursor mobile module, if the status indicator being suitable for current input method is the second status indicator, then moves the position of cursor in editor's string according to described slip event.
Preferably, described candidate's cursor mobile module comprises:
Second status indicator handover module, meets second pre-conditioned if be suitable for described slip event, then by current be the first status indicator of conventional text candidate pattern, the third state being revised as candidate item cursor sliding-modes identifies;
Second status indicator judge module, is suitable for after continuing to receive slip event, judges whether the status indicator of current input method is third state mark;
Second cursor mobile module, if the status indicator being suitable for current input method is third state mark, then moves the position of cursor in candidate item according to described slip event.
Preferably, described type judging module comprises:
Head end judge module, is suitable for when judging that described slip event is the slide to editor's string head end direction in entering method keyboard region, then judging that described slip event meets the first kind pre-conditioned;
Tail end judge module, is suitable for when judging that described slip event is the slide to candidate item tail end direction in entering method keyboard region, then judging that described slip event meets Second Type pre-conditioned.
Preferably, described editor's optical crosstalk mark mobile module comprises:
First mobile module in the same way, is suitable for according to glide direction and displacement, controls the position of described cursor in editor's string in the same way.
Preferably, after described editor's optical crosstalk mark mobile module, also comprise:
Editor's optical crosstalk mark sliding-modes exits module, is suitable for, when described cursor is when editing string tail end, if again receive the character string of user's input, then exiting described editor's optical crosstalk mark sliding-modes.
Preferably, after described editor's optical crosstalk mark mobile module, also comprise:
Cursor determination module, is suitable for the button subsequence determining that described cursor is corresponding;
Screening sequential reception module, is suitable for the screening strokes sequence receiving user's input;
Screening matching module, be suitable for described screening strokes sequence, the first strokes sequence of each initial candidate item corresponding with described button subsequence mates;
Adjusting module, is suitable for according to each initial candidate item of matching, revises described button subsequence and phonetic substring corresponding to button subsequence afterwards, and revises corresponding upper screen candidate item.
Preferably, described candidate's cursor determination module comprises:
Cursor position judge module, is suitable for according to the primary importance of described cursor in pinyin string, judges described primary importance whether in the phonetic substring meeting Pinyin rule;
First button determination module, if be suitable for described primary importance not in the phonetic substring meeting Pinyin rule, then from the phonetic substring that first after described primary importance meets Pinyin rule, select corresponding button subsequence as button subsequence corresponding to described cursor;
Second button determination module, if be suitable for described primary importance in the phonetic substring meeting Pinyin rule, then from primary importance place meet the phonetic substring of Pinyin rule, select corresponding button subsequence as button subsequence corresponding to described cursor.
Preferably, described screening matching module comprises:
Pinyin string searches module, is suitable for searching the various phonetic substrings corresponding with described button subsequence;
Initial candidate item acquisition module, is suitable for obtaining corresponding word and/or word by each pinyin string, obtains each initial candidate item;
Matching module, is suitable for, by described screening strokes sequence, mating with the strokes sequence of each initial candidate item.
Preferably, described screening matching module comprises:
First screening matching module, be suitable for screening strokes sequence user inputted, the first strokes sequence formed with at least the first stroke of each word by each initial candidate item mates.
Preferably, described first screening matching module comprises:
Complete match module, the first strokes sequence be suitable for described screening strokes sequence and the complete strokes sequence by each word of each initial candidate item form mates;
And/or the first sum of matching module, is suitable for described screening strokes sequence and the first strokes sequence be made up of the first stroke of each word of each initial candidate item to match.
Preferably, also comprised before the first screening matching module:
First stroke retrieval module, is suitable for, for each initial candidate item, obtaining the first strokes sequence of each initial candidate item from dictionary.
Preferably, described first screening matching module also comprises:
Correction module, when being suitable for the first strokes sequence Incomplete matching when described screening strokes sequence and described initial candidate item, the error correcting model based on stroke is utilized to judge the probability of the first stroke sequences match of the strokes sequence that described user inputs and described initial candidate item; When the probability of described coupling is greater than threshold value, then judge in the first stroke sequences match of described screening strokes sequence and described initial candidate item.
Preferably, also comprise:
First error correcting model builds module, is suitable for the binary or the n-tuple relation that utilize words in phrase and/or sentence, builds the described error correcting model based on stroke;
And/or the second error correcting model builds module, be suitable for utilizing the binary between the stroke of each word of composition or n-tuple relation, build the described error correcting model based on stroke.
Preferably, described screening sequential reception module comprises:
Separator receiver module, is suitable for judging whether there is separator in described screening strokes sequence; If there is separator, then screening strokes sequence user inputted according to described separator is divided into each screening stroke subsequence.
Preferably, described first screening matching module comprises:
Separate matching module, be suitable for screening in units of stroke subsequence, according to the order of sequence the target stroke subsequence of described screening stroke subsequence with the word in respective sequence in each initial candidate item mated.
Preferably, described candidate's cursor mobile module comprises:
Second synchronizing moving module, is suitable for according to glide direction and displacement, controls the movement of cursor in candidate item in the same way.
Preferably, after described candidate's cursor mobile module, also comprise:
Candidate item cursor sliding-modes exits module, if be suitable for the character string again receiving user's input, then exits described candidate item cursor sliding-modes.
Preferably, described candidate's cursor mobile module comprises:
First candidate item moves judge module, be suitable for when cursor moves to last candidate item shown in candidate bar, if continue to receive the slip event to candidate item tail end, then judge whether last candidate item shown in described candidate bar is end candidate item; If last candidate item shown in described candidate bar is not end candidate item, then each candidate item of showing in candidate bar is moved to head end is suitable;
Second candidate item moves judge module, when cursor moves to first candidate item shown in candidate bar, if continue to receive the slip event to candidate item head end, then judges whether first candidate item shown in described candidate bar is the first candidate item; If show in described candidate bar first candidate item is not the first candidate item, then move caudad suitable for each candidate item of showing in candidate bar.
Preferably, described candidate's cursor mobile module comprises:
Highlighted display module, is suitable for candidate item corresponding for cursor to carry out highlighted display.
Preferably, also comprise after described cursor mobile module:
Editor's string correcting module, is suitable for moving candidate item corresponding to rear position according to cursor, revises corresponding editor's string.
Embodiment 14
With reference to Figure 14, it illustrates the structural representation of a kind of input method cursor operations device of the present invention, specifically can comprise:
Slide and monitor module 1410, be suitable for the conventional text candidate pattern in input method, monitor whether receive slip event;
Type judging module 1420, if be suitable for receiving slip event, then judges the pre-conditioned type that described slip event meets;
Editor's optical crosstalk mark mobile module 1430, if be suitable for described slip event, to meet the first kind pre-conditioned, then enter editor's optical crosstalk mark sliding-modes, control cursor move in editor's string according to slip event; Specifically comprise:
First status indicator handover module 1431, if be suitable for described slip event to meet the first pre-conditioned type, then by current be the first status indicator of conventional text candidate pattern, be revised as the second status indicator editing optical crosstalk mark sliding-modes
First status indicator judge module 1432, is suitable for after continuing to receive slip event, judges whether the status indicator of current input method is the second status indicator;
First cursor mobile module 1433, if the status indicator being suitable for current input method is the second status indicator, then moves the position of cursor in editor's string according to described slip event;
Candidate's cursor mobile module 1440, if be suitable for described slip event, to meet Second Type pre-conditioned, then enter candidate item cursor sliding-modes, controls cursor and move in candidate item, specifically comprise according to slip event:
Second status indicator handover module 1441, meets second pre-conditioned if be suitable for described slip event, then by current be the first status indicator of conventional text candidate pattern, the third state being revised as candidate item cursor sliding-modes identifies;
Second status indicator judge module 1442, is suitable for after continuing to receive slip event, judges whether the status indicator of current input method is third state mark;
Second cursor mobile module 1443, if the status indicator being suitable for current input method is third state mark, then moves the position of cursor in candidate item according to described slip event.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the some or all parts in the input method cursor operations equipment of the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
The invention discloses A1, a kind of input method cursor operating method, comprising:
In the conventional text candidate pattern of input method, monitor whether receive slip event;
If receive slip event, then judge whether described slip event meets pre-conditioned;
If described slip event meets pre-conditioned, then enter editor's optical crosstalk mark sliding-modes, control cursor according to slip event and move in editor's string.
A2, method as described in A1, if described slip event meets pre-conditioned, then enter editor's optical crosstalk mark sliding-modes, controls that cursor is mobile in editor's string to be comprised according to slip event:
If described slip event meets pre-conditioned, then by current be the first status indicator of conventional text candidate pattern, be revised as the second status indicator of editor's optical crosstalk mark sliding-modes;
After continuing to receive slip event, judge whether the status indicator of current input method is the second status indicator;
If the status indicator of current input method is the second status indicator, then move the position of cursor in editor's string according to described slip event.
A3, method as described in A1, judge whether described slip event meets pre-conditioned comprising:
Judge whether described slip event is to the slide editing string head end direction in entering method keyboard region;
If described slip event is the slide to editor's string head end direction in entering method keyboard region, then judge that described slip event meets pre-conditioned.
A4, method as described in A1, describedly control according to slip event that cursor is mobile in editor's string to be comprised:
According to glide direction and displacement, control the position of described cursor in editor's string in the same way.
A5, method as described in A1, according to slip event control cursor mobile in editor's string after, also comprise:
When described cursor is when editing string tail end, if again receive the character string of user's input, then exit described editor's optical crosstalk mark sliding-modes.
A6, method as described in A1, according to slip event control cursor mobile in editor's string after, also comprise:
Determine the button subsequence that described cursor is corresponding;
Receive the screening strokes sequence of user's input;
By described screening strokes sequence, the first strokes sequence of each initial candidate item corresponding with described button subsequence mates;
According to each initial candidate item matched, revise described button subsequence and phonetic substring corresponding to button subsequence afterwards, and revise corresponding upper screen candidate item.
A7, method as described in A6, by described screening strokes sequence, the strokes sequence of each initial candidate item corresponding with described button subsequence mates, and comprising:
By the screening strokes sequence that user inputs, the first strokes sequence formed with at least the first stroke of each word by each initial candidate item mates.
The invention also discloses B8, a kind of input method cursor operating method, comprising:
In the conventional text candidate pattern of input method, monitor whether receive slip event;
If receive slip event, then judge whether described slip event meets pre-conditioned;
If described slip event meets pre-conditioned, then enter candidate item cursor sliding-modes, control cursor according to slip event and move in candidate item.
B9, method as described in B8, if described slip event meets pre-conditioned, then enter candidate item cursor sliding-modes, controls that cursor is mobile in candidate item to be comprised according to slip event:
If described slip event meets pre-conditioned, then by current be the first status indicator of conventional text candidate pattern, be revised as the third state mark of candidate item cursor sliding-modes;
After continuing to receive slip event, judge whether the status indicator of current input method is third state mark;
If the status indicator of current input method is third state mark, then move the position of cursor in candidate item according to described slip event.
B10, method as described in B8, judge whether described slip event meets pre-conditioned comprising:
Judge that whether described slip event is the slide to candidate item tail end direction in entering method keyboard region;
If described slip event is the slide to candidate item tail end direction in entering method keyboard region, then judge that described slip event meets pre-conditioned.
B11, method as described in B8, describedly control according to slip event that cursor is mobile in candidate item to be comprised:
According to glide direction and displacement, control the movement of cursor in candidate item in the same way.
B12, method as described in B8, according to slip event control cursor mobile in candidate item after, also comprise:
If again receive the character string of user's input, then exit described candidate item cursor sliding-modes.
B13, method as described in B8, control according to slip event that cursor is mobile in candidate item to be comprised:
When cursor moves to last candidate item shown in candidate bar, if continue to receive the slip event to candidate item tail end, then judge whether last candidate item shown in described candidate bar is end candidate item;
If last candidate item shown in described candidate bar is not end candidate item, then each candidate item of showing in candidate bar is moved to head end is suitable;
When cursor moves to first candidate item shown in candidate bar, if continue to receive the slip event to candidate item head end, then judge whether first candidate item shown in described candidate bar is the first candidate item;
If show in described candidate bar first candidate item is not the first candidate item, then move caudad suitable for each candidate item of showing in candidate bar.
B14, method as described in B8, control according to slip event that cursor is mobile in candidate item to be comprised:
Candidate item corresponding for cursor is carried out highlighted display.
B15, method as described in B8, according to slip event control cursor mobile in candidate item after also comprise:
Move candidate item corresponding to rear position according to cursor, revise corresponding editor's string.
The invention also discloses C16, a kind of input method cursor operating method, comprising:
In the conventional text candidate pattern of input method, monitor whether receive slip event;
If receive slip event, then judge the pre-conditioned type that described slip event meets;
If it is pre-conditioned that described slip event meets the first kind, then enter editor's optical crosstalk mark sliding-modes, control cursor according to slip event and move in editor's string;
If it is pre-conditioned that described slip event meets Second Type, then enter candidate item cursor sliding-modes, control cursor according to slip event and move in candidate item.
C17, method as described in C16, if described slip event meets pre-conditioned, then enter editor's optical crosstalk mark sliding-modes, controls that cursor is mobile in editor's string to be comprised according to slip event:
If described slip event meets the first pre-conditioned type, then by current be the first status indicator of conventional text candidate pattern, be revised as the second status indicator of editor's optical crosstalk mark sliding-modes;
After continuing to receive slip event, judge whether the status indicator of current input method is the second status indicator;
If the status indicator of current input method is the second status indicator, then move the position of cursor in editor's string according to described slip event.
C18, method as described in C16, if described slip event meets pre-conditioned, then enter candidate item cursor sliding-modes, controls that cursor is mobile in candidate item to be comprised according to slip event:
If described slip event meets second pre-conditioned, then by current be the first status indicator of conventional text candidate pattern, the third state being revised as candidate item cursor sliding-modes identifies;
After continuing to receive slip event, judge whether the status indicator of current input method is third state mark;
If the status indicator of current input method is third state mark, then move the position of cursor in candidate item according to described slip event.
C19, method as described in C16, judge that the pre-conditioned type that described slip event meets comprises:
When judging that described slip event is the slide to editor's string head end direction in entering method keyboard region, then judge that described slip event meets the first kind pre-conditioned;
When judging that described slip event is the slide to candidate item tail end direction in entering method keyboard region, then judge that described slip event meets Second Type pre-conditioned.
C20, method as described in C16,
Described movement in editor's string according to slip event control cursor comprises: according to glide direction and displacement, control the position of described cursor in editor goes here and there in the same way;
Described movement in candidate item according to slip event control cursor comprises: according to glide direction and displacement, control the movement of cursor in candidate item in the same way.
C21, method as described in C16,
Described according to slip event control cursor mobile in editor's string after, also comprise:
When described cursor is when editing string tail end, if again receive the character string of user's input, then exit described editor's optical crosstalk mark sliding-modes;
Described according to slip event control cursor mobile in candidate item after, also comprise:
If again receive the character string of user's input, then exit described candidate item cursor sliding-modes.
C22, method as described in C16, according to slip event control cursor mobile in editor's string after, also comprise:
Determine the button subsequence that described cursor is corresponding;
Receive the screening strokes sequence of user's input;
By described screening strokes sequence, the first strokes sequence of each initial candidate item corresponding with described button subsequence mates;
According to each initial candidate item matched, revise described button subsequence and phonetic substring corresponding to button subsequence afterwards, and revise corresponding upper screen candidate item.
C23, method as described in D22, by described screening strokes sequence, the strokes sequence of each initial candidate item corresponding with described button subsequence mates, and comprising:
By the screening strokes sequence that user inputs, the first strokes sequence formed with at least the first stroke of each word by each initial candidate item mates.
C24, method as described in C16, control according to slip event that cursor is mobile in candidate item to be comprised:
When cursor moves to last candidate item shown in candidate bar, if continue to receive the slip event to candidate item tail end, then judge whether last candidate item shown in described candidate bar is end candidate item;
If last candidate item shown in described candidate bar is not end candidate item, then each candidate item of showing in candidate bar is moved to head end is suitable;
When cursor moves to first candidate item shown in candidate bar, if continue to receive the slip event to candidate item head end, then judge whether first candidate item shown in described candidate bar is the first candidate item;
If show in described candidate bar first candidate item is not the first candidate item, then move caudad suitable for each candidate item of showing in candidate bar.
C25, method as described in C16, control according to slip event that cursor is mobile in candidate item to be comprised:
Candidate item corresponding for cursor is carried out highlighted display.
C26, method as described in C16, according to slip event control cursor mobile in candidate item after also comprise:
Move candidate item corresponding to rear position according to cursor, revise corresponding editor's string.
The invention also discloses the device of D27, a kind of input method cursor operations, comprising:
Slide and monitor module, be suitable for the conventional text candidate pattern in input method, monitor whether receive slip event;
Judgement of slide module, if be suitable for receiving slip event, then judges whether described slip event meets pre-conditioned;
Cursor mobile module, meets pre-conditioned if be suitable for described slip event, then enter editor's optical crosstalk mark sliding-modes, control cursor move in editor's string according to slip event.
D28, device as described in D27, described cursor mobile module comprises:
First status indicator handover module, meets pre-conditioned if be suitable for described slip event, then by current be the first status indicator of conventional text candidate pattern, be revised as the second status indicator of editor's optical crosstalk mark sliding-modes;
First status indicator judge module, is suitable for after continuing to receive slip event, judges whether the status indicator of current input method is the second status indicator;
First cursor mobile module, if the status indicator being suitable for current input method is the second status indicator, then moves the position of cursor in editor's string according to described slip event.
D29, device as described in D27, described judgement of slide module comprises:
Head end walking direction module, is suitable for judging whether described slip event is to the slide editing string head end direction in entering method keyboard region; If described slip event is the slide to editor's string head end direction in entering method keyboard region, then judge that described slip event meets pre-conditioned.
D30, device as described in D27, described cursor mobile module comprises:
First mobile module in the same way, is suitable for according to glide direction and displacement, controls the position of described cursor in editor's string in the same way.
D31, device as described in D27, after described cursor mobile module, also comprise:
Editor's optical crosstalk mark sliding-modes exits module, is suitable for, when described cursor is when editing string tail end, if again receive the character string of user's input, then exiting described editor's optical crosstalk mark sliding-modes.
D32, device as described in D27, after described cursor mobile module, also comprise:
Cursor determination module, is suitable for the button subsequence determining that described cursor is corresponding
Screening sequential reception module, is suitable for the screening strokes sequence receiving user's input;
Screening matching module, be suitable for described screening strokes sequence, the first strokes sequence of each initial candidate item corresponding with described button subsequence mates;
Adjusting module, is suitable for according to each initial candidate item of matching, revises described button subsequence and phonetic substring corresponding to button subsequence afterwards, and revises corresponding upper screen candidate item.
D33, device as described in D32, described screening matching module comprises:
First screening matching module, be suitable for screening strokes sequence user inputted, the first strokes sequence formed with at least the first stroke of each word by each initial candidate item mates.
The invention also discloses the device of E34, a kind of input method cursor operations, comprising:
Slide and monitor module, be suitable for the conventional text candidate pattern in input method, monitor whether receive slip event;
Judgement of slide module, if be suitable for receiving slip event, then judges whether described slip event meets pre-conditioned;
Cursor mobile module, meets pre-conditioned if be suitable for described slip event, then enter candidate item cursor sliding-modes, controls cursor move in candidate item according to slip event.
E35, device as described in E34, described cursor mobile module comprises:
Second status indicator handover module, meets pre-conditioned if be suitable for described slip event, then by current be the first status indicator of conventional text candidate pattern, be revised as the third state mark of candidate item cursor sliding-modes;
Second status indicator judge module, is suitable for after continuing to receive slip event, judges whether the status indicator of current input method is third state mark;
Second cursor mobile module, if the status indicator being suitable for current input method is third state mark, then moves the position of cursor in candidate item according to described slip event.
E36, device as described in E34, described judgement of slide module comprises:
Tail end judge module, is suitable for judging that whether described slip event is the slide to candidate item tail end direction in entering method keyboard region; If described slip event is the slide to candidate item tail end direction in entering method keyboard region, then judge that described slip event meets pre-conditioned.
E37, device as described in E34, described cursor mobile module comprises:
Second synchronizing moving module, is suitable for according to glide direction and displacement, controls the movement of cursor in candidate item in the same way.
E38, device as described in E34, after described cursor mobile module, also comprise:
Candidate item cursor sliding-modes exits module, if be suitable for the character string again receiving user's input, then exits described candidate item cursor sliding-modes.
E39, method as described in E34, described cursor mobile module comprises:
First candidate item moves judge module, be suitable for when cursor moves to last candidate item shown in candidate bar, if continue to receive the slip event to candidate item tail end, then judge whether last candidate item shown in described candidate bar is end candidate item; If last candidate item shown in described candidate bar is not end candidate item, then each candidate item of showing in candidate bar is moved to head end is suitable;
Second candidate item moves judge module, when cursor moves to first candidate item shown in candidate bar, if continue to receive the slip event to candidate item head end, then judges whether first candidate item shown in described candidate bar is the first candidate item; If show in described candidate bar first candidate item is not the first candidate item, then move caudad suitable for each candidate item of showing in candidate bar.
E40, device as described in E34, described cursor mobile module comprises:
Highlighted display module, is suitable for candidate item corresponding for cursor to carry out highlighted display.
E41, device as described in E34, also comprise after described cursor mobile module:
Editor's string correcting module, is suitable for moving candidate item corresponding to rear position according to cursor, revises corresponding editor's string.
The invention discloses the device of F42, a kind of input method cursor operations, comprising:
Slide and monitor module, be suitable for the conventional text candidate pattern in input method, monitor whether receive slip event;
Type judging module, if be suitable for receiving slip event, then judges the pre-conditioned type that described slip event meets;
Editor's optical crosstalk mark mobile module, if be suitable for described slip event, to meet the first kind pre-conditioned, then enter editor's optical crosstalk mark sliding-modes, control cursor move in editor's string according to slip event;
Candidate's cursor mobile module, if be suitable for described slip event, to meet Second Type pre-conditioned, then enter candidate item cursor sliding-modes, controls cursor move in candidate item according to slip event.
F43, device as described in F42, described editor's optical crosstalk mark mobile module comprises:
First status indicator handover module, if be suitable for described slip event to meet the first pre-conditioned type, then by current be the first status indicator of conventional text candidate pattern, be revised as the second status indicator editing optical crosstalk mark sliding-modes
First status indicator judge module, is suitable for after continuing to receive slip event, judges whether the status indicator of current input method is the second status indicator;
First cursor mobile module, if the status indicator being suitable for current input method is the second status indicator, then moves the position of cursor in editor's string according to described slip event.
F44, device as described in F42, described candidate's cursor mobile module comprises:
Second status indicator handover module, meets second pre-conditioned if be suitable for described slip event, then by current be the first status indicator of conventional text candidate pattern, the third state being revised as candidate item cursor sliding-modes identifies;
Second status indicator judge module, is suitable for after continuing to receive slip event, judges whether the status indicator of current input method is third state mark;
Second cursor mobile module, if the status indicator being suitable for current input method is third state mark, then moves the position of cursor in candidate item according to described slip event.
F45, device as described in F42, described type judging module comprises:
Head end judge module, is suitable for when judging that described slip event is the slide to editor's string head end direction in entering method keyboard region, then judging that described slip event meets the first kind pre-conditioned;
Tail end judge module, is suitable for when judging that described slip event is the slide to candidate item tail end direction in entering method keyboard region, then judging that described slip event meets Second Type pre-conditioned.
F46, device as described in F42, described editor's optical crosstalk mark mobile module comprises:
First mobile module in the same way, is suitable for according to glide direction and displacement, controls the position of described cursor in editor's string in the same way;
Described candidate's cursor mobile module comprises:
Second synchronizing moving module, is suitable for according to glide direction and displacement, controls the movement of cursor in candidate item in the same way.
F47, device as described in F42,
After described editor's optical crosstalk mark mobile module, also comprise:
Editor's optical crosstalk mark sliding-modes exits module, is suitable for, when described cursor is when editing string tail end, if again receive the character string of user's input, then exiting described editor's optical crosstalk mark sliding-modes;
After described candidate's cursor mobile module, also comprise:
Candidate item cursor sliding-modes exits module, if be suitable for the character string again receiving user's input, then exits described candidate item cursor sliding-modes.
F48, device as described in F42, after described editor's optical crosstalk mark mobile module, also comprise:
Cursor determination module, is suitable for the button subsequence determining that described cursor is corresponding;
Screening sequential reception module, is suitable for the screening strokes sequence receiving user's input;
Screening matching module, be suitable for described screening strokes sequence, the first strokes sequence of each initial candidate item corresponding with described button subsequence mates;
Adjusting module, is suitable for according to each initial candidate item of matching, revises described button subsequence and phonetic substring corresponding to button subsequence afterwards, and revises corresponding upper screen candidate item.
F49, device as described in F48, described screening matching module comprises:
First screening matching module, be suitable for screening strokes sequence user inputted, the first strokes sequence formed with at least the first stroke of each word by each initial candidate item mates.
F50, device as described in F42, described candidate's cursor mobile module comprises:
First candidate item moves judge module, be suitable for when cursor moves to last candidate item shown in candidate bar, if continue to receive the slip event to candidate item tail end, then judge whether last candidate item shown in described candidate bar is end candidate item; If last candidate item shown in described candidate bar is not end candidate item, then each candidate item of showing in candidate bar is moved to head end is suitable;
Second candidate item moves judge module, when cursor moves to first candidate item shown in candidate bar, if continue to receive the slip event to candidate item head end, then judges whether first candidate item shown in described candidate bar is the first candidate item; If show in described candidate bar first candidate item is not the first candidate item, then move caudad suitable for each candidate item of showing in candidate bar.
F51, device as described in F42, described candidate's cursor mobile module comprises:
Highlighted display module, is suitable for candidate item corresponding for cursor to carry out highlighted display.
F52, device as described in F42, also comprise after described cursor mobile module:
Editor's string correcting module, is suitable for moving candidate item corresponding to rear position according to cursor, revises corresponding editor's string.

Claims (10)

1. an input method cursor operating method, comprising:
In the conventional text candidate pattern of input method, monitor whether receive slip event;
If receive slip event, then judge whether described slip event meets pre-conditioned;
If described slip event meets pre-conditioned, then enter editor's optical crosstalk mark sliding-modes, control cursor according to slip event and move in editor's string.
2. the method for claim 1, is characterized in that, if described slip event meets pre-conditioned, then enters editor's optical crosstalk mark sliding-modes, controls cursor editing mobile in string comprising according to slip event:
If described slip event meets pre-conditioned, then by current be the first status indicator of conventional text candidate pattern, be revised as the second status indicator of editor's optical crosstalk mark sliding-modes;
After continuing to receive slip event, judge whether the status indicator of current input method is the second status indicator;
If the status indicator of current input method is the second status indicator, then move the position of cursor in editor's string according to described slip event.
3. the method for claim 1, is characterized in that, judges whether described slip event meets pre-conditioned comprising:
Judge whether described slip event is to the slide editing string head end direction in entering method keyboard region;
If described slip event is the slide to editor's string head end direction in entering method keyboard region, then judge that described slip event meets pre-conditioned.
4. the method for claim 1, is characterized in that, described movement in editor's string according to slip event control cursor comprises:
According to glide direction and displacement, control the position of described cursor in editor's string in the same way.
5. the method for claim 1, is characterized in that, after mobile in editor's string according to slip event control cursor, also comprises:
When described cursor is when editing string tail end, if again receive the character string of user's input, then exit described editor's optical crosstalk mark sliding-modes.
6. an input method cursor operating method, comprising:
In the conventional text candidate pattern of input method, monitor whether receive slip event;
If receive slip event, then judge whether described slip event meets pre-conditioned;
If described slip event meets pre-conditioned, then enter candidate item cursor sliding-modes, control cursor according to slip event and move in candidate item.
7. an input method cursor operating method, comprising:
In the conventional text candidate pattern of input method, monitor whether receive slip event;
If receive slip event, then judge the pre-conditioned type that described slip event meets;
If it is pre-conditioned that described slip event meets the first kind, then enter editor's optical crosstalk mark sliding-modes, control cursor according to slip event and move in editor's string;
If it is pre-conditioned that described slip event meets Second Type, then enter candidate item cursor sliding-modes, control cursor according to slip event and move in candidate item.
8. a device for input method cursor operations, comprising:
Slide and monitor module, be suitable for the conventional text candidate pattern in input method, monitor whether receive slip event;
Judgement of slide module, if be suitable for receiving slip event, then judges whether described slip event meets pre-conditioned;
Cursor mobile module, meets pre-conditioned if be suitable for described slip event, then enter editor's optical crosstalk mark sliding-modes, control cursor move in editor's string according to slip event.
9. a device for input method cursor operations, comprising:
Slide and monitor module, be suitable for the conventional text candidate pattern in input method, monitor whether receive slip event;
Judgement of slide module, if be suitable for receiving slip event, then judges whether described slip event meets pre-conditioned;
Cursor mobile module, meets pre-conditioned if be suitable for described slip event, then enter candidate item cursor sliding-modes, controls cursor move in candidate item according to slip event.
10. a device for input method cursor operations, comprising:
Slide and monitor module, be suitable for the conventional text candidate pattern in input method, monitor whether receive slip event;
Type judging module, if be suitable for receiving slip event, then judges the pre-conditioned type that described slip event meets;
Editor's optical crosstalk mark mobile module, if be suitable for described slip event, to meet the first kind pre-conditioned, then enter editor's optical crosstalk mark sliding-modes, control cursor move in editor's string according to slip event;
Candidate's cursor mobile module, if be suitable for described slip event, to meet Second Type pre-conditioned, then enter candidate item cursor sliding-modes, controls cursor move in candidate item according to slip event.
CN201410851035.6A 2014-12-30 2014-12-30 Cursor operation method and device for input method Pending CN104571863A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410851035.6A CN104571863A (en) 2014-12-30 2014-12-30 Cursor operation method and device for input method
PCT/CN2015/094841 WO2016107316A1 (en) 2014-12-30 2015-11-17 Method and device for input method cursor operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410851035.6A CN104571863A (en) 2014-12-30 2014-12-30 Cursor operation method and device for input method

Publications (1)

Publication Number Publication Date
CN104571863A true CN104571863A (en) 2015-04-29

Family

ID=53088070

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410851035.6A Pending CN104571863A (en) 2014-12-30 2014-12-30 Cursor operation method and device for input method

Country Status (2)

Country Link
CN (1) CN104571863A (en)
WO (1) WO2016107316A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016107316A1 (en) * 2014-12-30 2016-07-07 北京奇虎科技有限公司 Method and device for input method cursor operation
CN106502545A (en) * 2016-10-31 2017-03-15 维沃移动通信有限公司 A kind of operational approach of slip control and mobile terminal
CN106648333A (en) * 2016-12-15 2017-05-10 天脉聚源(北京)传媒科技有限公司 Interface treatment method and device
CN107291362A (en) * 2016-03-31 2017-10-24 阿里巴巴集团控股有限公司 A kind of data inputting method, device and intelligent terminal
CN108536312A (en) * 2018-03-14 2018-09-14 珠海市魅族科技有限公司 Candidate characters control method and device, computer installation and readable storage medium storing program for executing

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109814734B (en) * 2019-01-15 2022-04-15 上海趣虫科技有限公司 Method for correcting Chinese pinyin input and processing terminal
CN111949139B (en) * 2019-05-16 2024-03-08 北京搜狗科技发展有限公司 Input method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101593080A (en) * 2008-05-30 2009-12-02 苹果公司 Be used for the identification of the candidate characters of text input
CN101876879A (en) * 2009-04-29 2010-11-03 深圳富泰宏精密工业有限公司 Double-axis sliding interface application system and method thereof
CN102081464A (en) * 2009-11-28 2011-06-01 段起阳 Input method for selecting candidate words by using word choosing mode
CN102541410A (en) * 2010-12-26 2012-07-04 上海量明科技发展有限公司 Method and system for realizing sliding type input operation interface
CN103026318A (en) * 2010-05-21 2013-04-03 谷歌公司 Input method editor
CN103380412A (en) * 2011-01-25 2013-10-30 索尼电脑娱乐公司 Input device, input method, and computer program
CN104020948A (en) * 2013-02-28 2014-09-03 联想(北京)有限公司 Method and device for determining position of cursor on touch screen

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101661331B (en) * 2008-08-28 2012-05-30 北京搜狗科技发展有限公司 Character and phrase input method and input method system
CN103543947B (en) * 2013-10-28 2017-06-20 北京三星通信技术研究有限公司 The method and system of input content are corrected on the electronic equipment with touch-screen
CN103941979B (en) * 2014-04-10 2018-05-04 北京搜狗科技发展有限公司 A kind of method and apparatus for inputting word in a mobile device
CN104199607A (en) * 2014-08-11 2014-12-10 北京搜狗科技发展有限公司 Candidate selection method and device based on input method
CN104571863A (en) * 2014-12-30 2015-04-29 北京奇虎科技有限公司 Cursor operation method and device for input method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101593080A (en) * 2008-05-30 2009-12-02 苹果公司 Be used for the identification of the candidate characters of text input
CN101876879A (en) * 2009-04-29 2010-11-03 深圳富泰宏精密工业有限公司 Double-axis sliding interface application system and method thereof
CN102081464A (en) * 2009-11-28 2011-06-01 段起阳 Input method for selecting candidate words by using word choosing mode
CN103026318A (en) * 2010-05-21 2013-04-03 谷歌公司 Input method editor
CN102541410A (en) * 2010-12-26 2012-07-04 上海量明科技发展有限公司 Method and system for realizing sliding type input operation interface
CN103380412A (en) * 2011-01-25 2013-10-30 索尼电脑娱乐公司 Input device, input method, and computer program
CN104020948A (en) * 2013-02-28 2014-09-03 联想(北京)有限公司 Method and device for determining position of cursor on touch screen

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016107316A1 (en) * 2014-12-30 2016-07-07 北京奇虎科技有限公司 Method and device for input method cursor operation
CN107291362A (en) * 2016-03-31 2017-10-24 阿里巴巴集团控股有限公司 A kind of data inputting method, device and intelligent terminal
CN106502545A (en) * 2016-10-31 2017-03-15 维沃移动通信有限公司 A kind of operational approach of slip control and mobile terminal
CN106502545B (en) * 2016-10-31 2019-07-26 维沃移动通信有限公司 A kind of operating method and mobile terminal for sliding control
CN106648333A (en) * 2016-12-15 2017-05-10 天脉聚源(北京)传媒科技有限公司 Interface treatment method and device
CN106648333B (en) * 2016-12-15 2019-09-24 天脉聚源(北京)传媒科技有限公司 A kind of interface processing method and device
CN108536312A (en) * 2018-03-14 2018-09-14 珠海市魅族科技有限公司 Candidate characters control method and device, computer installation and readable storage medium storing program for executing

Also Published As

Publication number Publication date
WO2016107316A1 (en) 2016-07-07

Similar Documents

Publication Publication Date Title
CN104571863A (en) Cursor operation method and device for input method
CN104571585A (en) Cursor operation method and device for input method
CN101369216B (en) Words input method and system
KR101477530B1 (en) Multimodal text input system, such as for use with touch screens on mobile phones
KR101520455B1 (en) Spell-check for a keyboard system with automatic correction
CN104571587B (en) The method and apparatus screened to the upper screen candidate item of input method
US20130257732A1 (en) Adaptive virtual keyboard
US20160132129A1 (en) Type error revising method
US20150186347A1 (en) Information processing device, information processing method, and computer program product
WO2012158257A2 (en) Typing input systems, methods, and devices
CA2635026C (en) Handheld electronic device and method for disambiguation of compound text input employing different groupings of data sources to disambiguate different parts of input
CN104679278A (en) Character input method and device
CN104199607A (en) Candidate selection method and device based on input method
CN104317780A (en) Quick correction method of Chinese input texts
US8638299B2 (en) Handheld electronic device and associated method enabling the output of non-alphabetic characters in a disambiguation environment
CN109002183A (en) A kind of method and device of information input
CN104571584B (en) Character input method and device
CA2634148C (en) Handheld electronic device and method for disambiguation of compound language solutions
CN105843414A (en) Input correction method for input method and input method device
CA2635009C (en) Handheld electronic device and method for disambiguation of compound text input and that employs n-gram data to limit generation of low-probability compound language solutions
US8004495B2 (en) Handheld electronic device and associated method employing a multiple-axis input device and outputting a currently selected variant at a text input location during text disambiguation
KR100862242B1 (en) Words retrieving method
CN104571586A (en) Character input method and device
KR101405815B1 (en) Digital text editting method and apparatus editting digital text according to the same method
KR101946545B1 (en) Type error correction method

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: 20150429