Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Embodiment 1
The embodiment of the invention provides a kind of backing method of literal input, and is as shown in Figure 1, comprising:
101, receive the rollback triggering command.
Wherein, The approach that receives said rollback triggering command can have multiple; For example; Can detect at the rollback surveyed area through touch-screen, camera or infrared induction etc. and wipe gesture as the rollback triggering command, also can be through sensor users' such as gravity sensor, attitude sensor the posture of cancelling, the triggering that can also utilize the original delete key of input keyboard is as the rollback triggering command.
102, after receiving the rollback triggering command, cancel this input operation, and return back to the interface to be selected before this input operation of execution.Wherein, the said rollback triggering command that receives is specially: detect at the rollback surveyed area and wipe gesture, or through sensor to cancelling posture, or receive the triggering of delete key.
Wherein, In a kind of application scenarios of the embodiment of the invention; Saidly cancel this input operation; And return back to the interface to be selected before this input operation of execution, be specially: delete the literal (can be one or more literal) that this input operation is imported, and return back to the interface to be selected before this input operation of execution.In the another kind of application scenarios of the embodiment of the invention; Saidly cancel this input operation; And return back to the interface to be selected before this input operation of execution, be specially: recover the literal that this input operation is deleted, and return back to the interface to be selected before this input operation of execution.
In addition, if receive repeatedly rollback triggering command, also can carry out and repeatedly cancel and rollback operation.Different; If adopt the foundation of delete key as the rollback triggering command; Because the content that this input operation is imported possibly comprise a plurality of literal; In order to combine the original delete function of delete key, can word for word delete the literal of viewing area, and show the speech to be selected before this input operation of execution simultaneously.
Need to prove that for the situation of rollback repeatedly, " this input operation " refered in particular to and carried out rollback operation (or receiving rollback triggering command for the first time) input operation before for the first time.And this input operation is meant recent input operation, rather than recent rollback operation.Said input operation can be from speech to be selected, select literal select the speech operation, or the deletion of the literal that will import delete word operation.With Fig. 5 is example, recent input operation, i.e. and this input operation is: input " being "; In a3, receive rollback triggering command for the first time, carry out rollback operation.Then recent rollback operation is: deletion " being ", and to return back to input " be " interface to be selected before.Again for example,, be input operation last time then with reversed input operation if in a4, receive the rollback triggering command again one time: input " ", rather than recent rollback operation: deletion " being ".That is, when receive once more should delete when backspace key triggers imported " " word, rather than recover deleted " being " word.
The backing method of the literal input that the embodiment of the invention provides through receiving the rollback triggering command of particular form, triggers and cancels and fallback mechanism; Compare with the method for monitoring the rollback button in the prior art; The keyboard (dummy keyboard of physical keyboard or screen display) that can not be used in the terminal is gone up increase rollback button, avoids crowded complicated keyboard Designing, reaches and reduces overdue purpose of hitting probability; Thereby user-friendly, promote user experience.
Embodiment 2
The embodiment of the invention provides a kind of backing method of literal input, and as shown in Figure 2, this method can comprise:
201, the word information to be selected before this input operation of buffer memory.This step can not carried out yet, and is optional step.
Wherein, this input operation is recent input operation, and said this input operation can comprise: a selecteed literal or literal combination in the speech to be selected is shown to the viewing area, has perhaps deleted a literal or a plurality of literal.Entry terminal can carry out buffer memory with carrying out this input operation word information to be selected before.The speech relevant to be selected that for example after the user keys in phonetic or stroke combination, appears, or the speech to be selected that association obtains according to the current literal of cursor after the user keys in literal etc.
Need to prove that the position of buffer memory can be internal memory, hard disk or other storage spaces, the embodiment of the invention is not done qualification to this.Word information to be selected comprises the word that supplies the user to select, phrase, word, symbol etc.
202, receive the rollback triggering command.
203, after receiving the rollback triggering command, cancel this input operation, and return back to the interface to be selected before this input operation of execution.Show on the said interface to be selected and carry out this input operation word information to be selected before.When step 201 was not carried out, the word information to be selected before this input operation of said execution can be after cancelling this input operation, carried out the word information to be selected that obtains after the association again according to place, cursor place literal.
Further; Allow the number of times of rollback to preestablish according to concrete application scenarios; Accordingly can buffer memory the word information to be selected of input operation repeatedly, when receiving repeatedly the rollback triggering command, just can return back to the interface to be selected before the corresponding input operation.Concrete, as shown in Figure 3, this method can also comprise:
204, the word information to be selected before N the input operation of buffer memory.This step can not carried out yet, and is optional step.
Wherein, what above-mentioned steps 201-203 described is that M and N are equal to 1 literal rollback scene, has further described N among the step 204-206 more than or equal to 2 scene.Concrete; The number of times of the input operation of buffer memory can be set according to the size or the actual needs of memory headroom; Word information to be selected before N the input operation of buffer memory; Comprise the word information to be selected before the input operation each time in nearest N the input operation, and the word information to be selected before buffer memory input operation is each time respectively carried out before in each input operation.For example, N=2 be can preestablish, buffer memory " this input operation " word information to be selected before and " last input operation " word information to be selected before then represented.When receiving the rollback triggering command, can return back to twice input operation interface to be selected before at most.After this input operation, receive the rollback triggering command one time, then return back to this input operation interface to be selected before; Receive rollback triggering command for the second time continuously, then return back to last input operation interface to be selected before; Receive rollback triggering command for the third time continuously, then can no longer carry out and cancel with rollback operation.It is understandable that; Here said " continuously " receives rollback triggering command for the second time; Do not carry out under the situation of input operation after can finger receiving a rollback triggering command and carry out rollback operation; Receive rollback triggering command for the second time once more, also can refer to twice rollback triggering command tight situation about linking to each other on the triggered time.By that analogy, the implication that " continuously " receives M rollback triggering command is similar, repeats no more.Said input operation can be to select the speech operation or delete the speech operation.
205, receive the rollback triggering command M time.Wherein, M is less than or equal to N, and M is the integer more than or equal to 2.
206, cancel executed M input operation, and return back to the interface to be selected before M the input operation of execution.Show on the said interface to be selected and carry out this input operation word information to be selected before.When step 204 was not carried out, the word information to be selected before M the input operation of said execution can be after cancelling M input operation, carried out the word information to be selected that obtains after the association again according to place, cursor place literal.
It is understandable that, after the speech to be selected that mainly obtains with the association according to the current literal of cursor in the embodiment of the invention is falsely dropped, the operation of rollback.After key assignments such as input Pinyin, letter, stroke, word and key assignment combination, the rollback operation after from the speech to be selected relevant, falsely dropping with key assignment combination, the embodiment of the invention also can be suitable for.For example; After the input Pinyin combination " yi "; Appear the to be selected speech relevant with " yi " ", with, one, move ", " one " in the speech to be selected be input to the viewing area after, if detect the rollback triggering command; Then can delete the Chinese character of having imported " ", and return back to appear speech to be selected ", with, one, move " interface to be selected.Certainly, the embodiment of the invention is not done qualification to the language of input characters yet, can be Chinese character, English, Japanese, French or the like.
Need to prove, cancel with the rollback function and both comprised the literal that deletion has been imported, also can comprise and recover deleted literal.For example, this input operation is a Chinese character of deletion viewing area, then receive the rollback triggering command after, also can recover the viewing area in this input operation by the Chinese character deleted, and present the speech to be selected before this Chinese character of deletion.
The backing method of the literal input that the embodiment of the invention provides through receiving the rollback triggering command of particular form, triggers and cancels and fallback mechanism; Compare with the method for monitoring the rollback button in the prior art; The keyboard (dummy keyboard of physical keyboard or screen display) that can not be used in the terminal is gone up increase rollback button, avoids crowded complicated keyboard Designing, reaches and reduces overdue purpose of hitting probability; Thereby user-friendly, promote user experience.
And; Can set the number of times that allows rollback according to actual needs, thereby can cancel repeatedly input operation, and return back to the interface to be selected of carrying out before the repeatedly input operation according to the rollback triggering times; Reach and further facilitate user's operation, the purpose of lifting user experience.
Embodiment 3
The embodiment of the invention provides the backing method of a kind of literal input, with the user wipe gesture as the rollback triggering command, as shown in Figure 4, this method can comprise:
301, the self-defining gesture of wiping of recording user.This step can not carried out yet, and is optional step.
Wherein, wiping gesture can be the single-point Continuous Sliding, also can be the Continuous Sliding of 2 or multiple spot, can also be the user-defined gesture of wiping.For example, user-definedly wipe the form that gesture can be " X ",, be judged to be and wipe gesture, and be regarded as the rollback triggering command with the user's setting record and when in character input process, detecting " X " gesture.What be worth explanation is that step 301 is optional step in practical application.Wipe gesture and also can in the terminal configuration process, preestablish, that adopts acquiescence wipes gesture as the rollback triggering command, therefore can be without execution in step 301 in the practical implementation process.
Need to prove that entry terminal can detect user's the gesture of wiping through approach such as touch-screen, electric field, camera, infrared inductions, specifically detects the approach embodiment of the invention and does not do qualification.
302, buffer memory is carried out this input operation word information to be selected before.This step can not carried out yet, and is optional step.
303, wipe gesture in the detection of rollback surveyed area.
Wherein, the rollback surveyed area can be the literal viewing area at interface to be selected, also can be the input field, and perhaps full screen perhaps also can define according to user's custom in advance.For example, in Fig. 5, shown in the step a1 to a4, detect in the literal viewing area and to wipe gesture, trigger and cancel and the rollback function as the rollback triggering command.Wherein, also can replace with b3 or c3 according to user's custom or concrete applying step a3.The rollback surveyed area is a key entry area among the step b3, and the rollback surveyed area is the handwriting input district among the step c3.
Concrete, the detected gesture of wiping can be single-point or multiple spot Continuous Sliding in the viewing area.Detect when wiping gesture in the input field, if employing is the keyboard input, wiping gesture also can be single-point or multiple spot Continuous Sliding.Special, detect when wiping gesture in the input field, if employing is handwriting input, then in order to prevent that wiping handwriting input contents such as gesture and stroke obscures, and wipes gesture and only supports the multiple spot slide.The Continuous Sliding operation that multiple spot slides and is meant at 2.
304, wipe gesture when detecting, then cancel this input operation, and return back to the interface to be selected before this input operation of execution at the rollback surveyed area.That is, cancel this input operation, and be written into this input operation of said execution word information to be selected before of buffer memory.Show on the said interface to be selected and carry out this input operation word information to be selected before.When step 302 was not carried out, the word information to be selected before this input operation of said execution can be after cancelling this input operation, carried out the word information to be selected that obtains after the association again according to place, cursor place literal.
With Fig. 5 is example, and step a1 has the speech to be selected that association obtains according to the current literal of cursor for carrying out the interface to be selected before this input operation, comprise " people, be, words, thing,, money " etc.Step a2 shows in the viewing area " good is " that for after this input operation of execution it " is " speech to be selected that association obtains that speech to be selected becomes according to the current literal of cursor.Step a3 wipes gesture for detecting at the rollback surveyed area.Step a4 is " being " that this input operation of deletion is imported, and presents the interface to be selected of carrying out before this input operation, promptly appear the speech to be selected carried out before this input operation " people, be, words, thing,, money " etc., accomplish and cancel and the rollback function.
The backing method of the literal input that the embodiment of the invention provides is wiped gesture as the rollback triggering command through reception, triggers and cancels and fallback mechanism; Compare with the method for monitoring the rollback button in the prior art; Can not be used in increases the rollback button on the keyboard at terminal, avoid crowded complicated keyboard Designing, reaches and reduces overdue purpose of hitting probability; Thereby user-friendly, promote user experience.
Embodiment 4
The embodiment of the invention provides the backing method of a kind of literal input, with sensor to cancel posture as the rollback triggering command, as shown in Figure 6, this method comprises:
401, buffer memory is carried out this input operation word information to be selected before.This step can not carried out yet, and is optional step.
402, cancel posture through sensor.
Wherein, said sensor can comprise gravity sensor, horizon sensor, acceleration transducer, attitude sensor or the like, and the present invention does not limit this.Cancel posture and can be rock entry terminal, the terminal becomes vertical placement or the like by horizontal positioned, certainly, cancelling posture also can be by User Defined, the present invention does not limit this.
403, when through sensor to cancelling posture, then cancel this input operation, and return back to the interface to be selected of carrying out before this input operation.Show on the said interface to be selected and carry out this input operation word information to be selected before.When step 401 was not carried out, the word information to be selected before this input operation of said execution can be after cancelling this input operation, carried out the word information to be selected that obtains after the association again according to place, cursor place literal.
For example, as shown in Figure 7, the gravity sensor by the terminal in character input process detects the posture of cancelling of rocking, and " is " deletion with the Chinese character of importing in this input operation then, and presents the speech to be selected before this input operation of execution.
It is understandable that the embodiment of the invention can preestablish the number of times of the word information to be selected of buffer memory input operation,, can return back to the input operation interface to be selected before of corresponding number of times through repeatedly cancelling posture.The specific explanations of part steps can be with reference to the corresponding content among the embodiment 1-3 of instructions of the present invention in the embodiment of the invention, and the embodiment of the invention will be given unnecessary details here no longer one by one.
The backing method of the literal input that the embodiment of the invention provides; Cancel posture as the rollback triggering command through detection; Triggering is cancelled and fallback mechanism, compares with the method for monitoring the rollback button in the prior art, and can not be used on the keyboard at terminal increases the rollback button; Avoid crowded complicated keyboard Designing, reduce overdue purpose of hitting probability thereby reach.
Embodiment 5
The embodiment of the invention provides the backing method of a kind of literal input, and as the rollback triggering command, as shown in Figure 8, this method comprises with the triggering of delete key:
501, buffer memory is carried out this input operation word information to be selected before.This step can not carried out yet, and is optional step.
502, receive the triggering of delete key.
In the present embodiment, through with the triggering of delete key as the rollback triggering command, after the triggering that receives delete key, can cancel this input operation, and return back to the interface to be selected of carrying out before this input operation.
Further, in order to adapt to user's input habit and to keep the original function of hiding speech to be selected of delete key, the method for the embodiment of the invention can also may further comprise the steps:
503,, then judge the current speech demonstration to be selected that whether has when the triggering that receives delete key; If current have speech to be selected to show that then execution in step 504; If current do not have speech to be selected to show that then execution in step 405.This step can not carried out yet, and is optional step.If step 503 is not carried out, then when the triggering that receives delete key, directly execution in step 505 promptly " is deleted the current literal of cursor, and is presented the speech to be selected before this input operation of execution ".
504, if current have speech to be selected to show, then hide speech to be selected.
Wherein, after hiding speech to be selected, can receive the triggering of delete key once more, and when not having speech to be selected to show, carry out and cancel or deletion action.
505, if current do not have speech to be selected to show, then delete the current literal of cursor, and present the speech to be selected before this input operation of execution.When step 501 was not carried out, the word information to be selected before this input operation of said execution can be after cancelling this input operation, carried out the word information to be selected that obtains after the association again according to place, cursor place literal.
In one embodiment of the invention, said method can also comprise step:
506,, delete the current literal of cursor one by one, and still present the interface to be selected before this input operation of said execution according to the triggering times of delete key.
Wherein, if the word content that this input operation of user is imported is the phrase that a plurality of Chinese characters are formed, in the process of word for word deletion, also can still appears and carry out this input operation speech to be selected before so.For example, after input Pinyin combination " srk ", present the to be selected speech relevant with this pinyin combinations and be " input frame, birthday card, happy birthday " etc., the user falsely drops " birthday card " when needs selections " input frame ", begins to get into the rollback flow process.Entry terminal is hidden the speech to be selected that this input operation association afterwards appears after the triggering that receives a delete key; After receiving the triggering of delete key for the second time continuously, deletion Chinese character " card " appears and carries out before speech to be selected of this input operation " input frame, birthday card, happy birthday " etc.; In like manner, after three Chinese characters " birthday card " that this input operation is imported are all by deletion, still present the speech to be selected carried out before this input operation " input frame, birthday card, happy birthday " etc.; So that the user selects required speech to be selected " input frame ".
Certainly, the to be selected word information of the embodiment of the invention before also can N input operation of buffer memory after the triggering that receives repeatedly delete key, can be realized the rollback of multistep, return back to the interface to be selected before the repeatedly input operation when promptly realizing the literal deletion.Can repeat no more at this with reference to the associated description in embodiment 1 and 2.
Need to prove that the specific descriptions of part steps can be with reference to the corresponding content of other embodiment in the instructions in the embodiment of the invention, the embodiment of the invention will be given unnecessary details here no longer one by one.
The backing method of literal that the embodiment of the invention provides input, the triggering through receiving delete key be as the rollback triggering command, return back to the interface to be selected before this input operation when realizing the literal deletion; Compare with the method for monitoring the rollback button in the prior art; Can not be used in increases the rollback button on the keyboard at terminal, avoid crowded complicated keyboard Designing, reaches and reduces overdue purpose of hitting probability; Thereby user-friendly, promote user experience.
Embodiment 6
The embodiment of the invention provides a kind of rollback terminal of literal input, and is as shown in Figure 9, comprising: trigger element 61, performance element 62.
Trigger element 61 is used to receive the rollback triggering command.
Performance element 62 is used for after trigger element 61 receives the rollback triggering command, cancelling this input operation, and return back to the interface to be selected before this input operation of execution.The wherein said rollback triggering command that receives is specially: detect at the rollback surveyed area and wipe gesture, or through sensor to cancelling posture, or receive the triggering of delete key.
In a kind of application scenarios of the embodiment of the invention, said trigger element 61 can specifically be used for: detect at the rollback surveyed area and wipe gesture.
Wherein, said rollback surveyed area comprises following at least a: viewing area, input field, self-defined rollback detection zone.The said gesture of wiping comprises following at least a: the single-point Continuous Sliding; 2 Continuous Sliding.Further, the said gesture of wiping can be by the user-defined gesture of wiping.
In the another kind of application scenarios of the embodiment of the invention, said trigger element 61 can specifically be used for: through sensor to cancelling posture.
In the another kind of application scenarios of the embodiment of the invention, said trigger element 61 can specifically be used for: the triggering that receives delete key.
Further, when having speech to be selected to show, the triggering of the delete key that receives is regarded as hides speech instruction to be selected.When not having speech to be selected to show, the triggering of the delete key that receives is regarded as the rollback triggering command.
Further, said performance element 62 also is used for after said trigger element 61 receives the triggering of delete key, the current literal of deletion cursor, and present the interface to be selected before this input operation of said execution.
Further, said performance element 62 also is used for when said trigger element receives the triggering of delete key for more than 61 time, word for word deletes the literal of having imported, and still presents the interface to be selected before this input operation of said execution.
Further, in a kind of enforcement scene, said performance element 62 specifically is used for: after trigger element 61 receives the rollback triggering command, delete the literal that this input operation is imported, and return back to the interface to be selected before this input operation of execution.Perhaps implement in the scene at another kind, said performance element 62 specifically is used for: after trigger element 61 receives the rollback triggering command, recover the literal that this input operation is deleted, and return back to the interface to be selected before this input operation of execution.
Further optional, shown in figure 10, the rollback terminal of this literal input can also comprise:
Buffer unit 63 was used for before said trigger element 61 receives the rollback triggering command, and buffer memory is carried out the word information to be selected before this input operation.
Corresponding, said performance element 62 specifically is used for: after trigger element 61 receives the rollback triggering command, cancel this input operation, and be written into this input operation of said execution word information to be selected before of buffer memory.
Further, said buffer unit 63 also was used for before said trigger element 61 receives the rollback triggering command word information to be selected before N the input operation of buffer memory.
Corresponding, said performance element 62 also is used for: when trigger element 61 receives M rollback triggering command, cancel executed M input operation, and return back to the interface to be selected before said M the input operation of execution.Wherein, M and N are the integer more than or equal to 2, and N is more than or equal to M.
Further, said performance element 62 specifically is used for: when said trigger element 61 receives a rollback triggering command, cancel this input operation, and be written into this input operation of execution word information to be selected before of buffer memory.
Said performance element 62 specifically also is used for: when said trigger element 61 receives M rollback triggering command, cancel executed M input operation, and be written into M the input operation word information to be selected before of buffer memory.
Need to prove that the specific descriptions of part functional module can be with reference to the corresponding content of other embodiment in this instructions in the rollback terminal of the literal input that the embodiment of the invention provides, the embodiment of the invention will be given unnecessary details here no longer one by one.
The rollback terminal of the literal input that the embodiment of the invention provides; Through receiving the rollback triggering command of particular form; Triggering is cancelled and fallback mechanism, compares with the terminal of monitoring the rollback button in the prior art, and can not be used on the keyboard at terminal increases the rollback button; Avoid crowded complicated keyboard Designing, reduce overdue purpose of hitting probability thereby reach.
Through the description of above embodiment, the those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential common hardware, can certainly pass through hardware, but the former is better embodiment under a lot of situation.Based on such understanding; The part that technical scheme of the present invention contributes to prior art in essence in other words can be come out with the embodied of software product, and this computer software product is stored in the storage medium that can read, like the floppy disk of computing machine; Hard disk or CD etc.; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above; Be merely embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technician who is familiar with the present technique field is in the technical scope that the present invention discloses; Can expect easily changing or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of said claim.