[embodiment]
As shown in Figure 1, in one embodiment, a kind of input method based on touch-screen, comprises the following steps:
Step S101, shows virtual input panel, and this virtual input panel comprises common expressions function key.
Common expressions function key is a virtual key, for triggering the instruction of input common expressions.When user touches common expressions function key correspondence position on touch-screen, can trigger the instruction of input common expressions.
Step S102, receives the instruction of the input common expressions triggering by common expressions function key.
Step S103, shows common expressions window, in this common expressions window, comprises common expressions.
Common expressions is the sentence that comprises a plurality of words setting in advance.The common expressions setting in advance is arranged demonstration in common expressions window.
Step S104, obtains the common expressions that the operation of common expressions window is chosen.
User can touch position corresponding to common expressions needing on touch-screen, to choose the common expressions showing on this position.
Step S105, is shown to the common expressions of obtaining in the text editing region comprising in virtual input panel.
Text editing region is for showing from the region of the words of virtual input panel input in input process.
The above-mentioned input method based on touch-screen, common expressions function key is set in virtual input panel, as long as this common expressions function key of operation can show common expressions window, and can select common expressions in common expressions window, the common expressions of selection is shown to text editing region.Said method can input by shirtsleeve operation a complete common expressions that comprises a plurality of words, and not need to by stroke or by the input words of phonetic to form statement, thereby improved input speed.
In one embodiment, common expressions window comprises editting function key, for triggering the instruction of editor's common expressions.Editting function key is a virtual key.When user touches editting function key correspondence position on touch-screen, can trigger the instruction of editor's common expressions.
As shown in Figure 2, the above-mentioned input method based on touch-screen also comprises the step of upgrading common expressions, and this step comprises the following steps:
Step S201, receives the instruction of the editor's common expressions triggering by editting function key.
Step S202, shows common expressions editor.
In common expressions editor, comprise newly-increased button, delete button and revise button.
Step S203, obtains the corresponding edit instruction of the operation of common expressions editor.
Edit instruction comprises newly-increased common expressions instruction, deletes common expressions instruction and revises common expressions instruction.When user touches newly-increased button, deletion button and revises button correspondence position on touch-screen, can trigger respectively newly-increased common expressions instruction, delete common expressions instruction and revise common expressions instruction.
Step S204, upgrades common expressions according to edit instruction.
Can add new common expressions according to newly-increased common expressions instruction, according to deleting common expressions instruction, delete the common expressions in selected state, according to revising the common expressions of common expressions modifying of order in selected state.
In the present embodiment, can increase as required easily, delete or revise common expressions newly, during for follow-up input common expressions, select, improve input speed.
In one embodiment, common expressions window comprises synchronizing function key, for triggering the instruction of synchronizeing with the common expressions in high in the clouds local.Synchronizing function key is a virtual key, when user touches synchronizing function key correspondence position on touch-screen, can trigger the instruction of synchronizeing with the common expressions in high in the clouds local.
High in the clouds is server or the server cluster of storage and maintenance common expressions.
As shown in Figure 3, the above-mentioned input method based on touch-screen also comprises the step of synchronizeing with the common expressions in high in the clouds local, and this step comprises the following steps:
Step S301, receives the instruction of being synchronizeed with the common expressions in high in the clouds in this locality triggering by synchronizing function key.
Step S302, shows login authentication window.
In login authentication window, comprise user account information input frame, for example user name input frame and Password Input frame.
Step S303, receives from the user account information of login authentication window input.
User account information comprises the information such as username and password.
Step S304, sends to high in the clouds by the more new record of the renewal correspondence of user account information and local common expressions.
This locality can send to high in the clouds by user account information.This user account information can be verified in high in the clouds, after being verified, to this locality, sending and is verified instruction.What local reception sent to high in the clouds is verified after instruction, the more new record of the renewal correspondence of local common expressions can be sent to high in the clouds, or by user account information and this corresponding high in the clouds that sends to of new record more.
More new record comprises newly-increased operation note, deletion action record and retouching operation record.Newly-increased operation note comprises newly-increased common expressions, and deletion action record comprises the common expressions of deletion, retouching operation record comprise common expressions before modification and with amended common expressions.
Step S305, pulls the common expressions after synchronous that high in the clouds sends, and the common expressions after this is synchronous be common expressions corresponding to above-mentioned user account information after according to above-mentioned more new record renewal by high in the clouds.
High in the clouds can be added the newly-increased common expressions and the amended common expressions that in new record more, comprise in common expressions corresponding to user account information to, and the common expressions by the common expressions of the deletion comprising in new record more and before revising is deleted from common expressions corresponding to user account information.When high in the clouds finds that after search the common expressions that need to delete has not existed beyond the clouds, the common expressions that high in the clouds no longer need to be deleted for this is carried out any operation.
Step S306, replaces with above-mentioned common expressions after synchronous by local common expressions.
For example, in high in the clouds and terminal 1, common expressions corresponding to a certain user account information of initial storage is all A, B and C.Terminal 1 increases common expressions D newly, deletes common expressions B, common expressions C is revised as to C ' in this locality.High in the clouds is upgraded after common expressions according to the more new record of terminal 1, and the common expressions of high in the clouds storage becomes A, C ', D.
The common expressions corresponding to above-mentioned user account information of terminal 2 initial storage is also A, B and C.Terminal 2 increases common expressions E newly, deletes common expressions C, common expressions A is revised as to A ' in this locality.After above-mentioned renewal, the common expressions of terminal 2 storages becomes A ', B, E.Common expressions corresponding to above-mentioned user account information upgraded according to the more new record of terminal 2 in high in the clouds, add common expressions E, delete common expressions C, delete common expressions A, add common expressions A ', the common expressions of high in the clouds storage becomes A ', C ', D and E from A, C ' and D.
Finally, terminal 2 replaces with common expressions A ', C ', D and the E of high in the clouds after synchronous by local common expressions.
In the present embodiment, can by terminal, in this locality, the update content to common expressions be synchronized to high in the clouds, even while changing another terminal in lost terminal, also can give rapidly up-to-date editor's common expressions for change.And a certain terminal can get the update content of other terminal, need in different terminals, not repeat to edit common expressions, thereby can improve common expressions editing speed, and improve operation ease.
In one embodiment, common expressions window comprises at least one tab, the common expressions of the different corresponding different classification of tab.Can a plurality of tab be set in common expressions window, common expressions is classified, in a tab, show the common expressions of a classification.In the present embodiment, adopt different tab to show categorizedly common expressions, can conveniently choose common expressions, thereby improve the input speed of common expressions.
In one embodiment, common expressions window also comprises tab editting function key, for triggering the instruction of editing options card.The above-mentioned step that also comprises editing options card based on touch-screen method, this step comprises the following steps: receive the instruction of the editing options card triggering by tab editting function key; Show Tabs editor; Obtain the corresponding edit instruction of the operation of tab editor; According to edit instruction, add, delete or modification tab.
Revise tab and comprise the title etc. of revising tab.
In the present embodiment, can editing options card, thus facilitate user as required common expressions to be classified, improve choosing and input speed of common expressions.
Get after the instruction of deleting tab, not only delete the tab of choosing, also delete all common expressions that belong to the corresponding classification of tab, can delete rapidly many common expressions, improve common expressions editing speed, thereby improve operation ease.
It is below an application scenarios of the above-mentioned input method based on touch-screen.Fig. 4 (a)~4 (h) is the application scenarios figure of the input method based on touch-screen in an embodiment.
As shown in Fig. 4 (a), can show virtual input panel 401, virtual input panel 401 comprises common expressions function key 402.Receive after the instruction of the input common expressions triggering by common expressions function key 402, as shown in Fig. 4 (b), show common expressions window 403.In common expressions window 403, itemize shows common expressions.When user touches a certain common expressions, as shown in Fig. 4 (c), this common expressions can be shown as selected state.Obtain the common expressions of choosing, the common expressions of choosing is shown to the text editing region 404 comprising in virtual input panel 401 as shown in Fig. 4 (d).
As shown in Fig. 4 (e), in common expressions window 403, comprise editting function key 405.Receive after the instruction of the editor's common expressions triggering by editting function key 405, as shown in Fig. 4 (f), show common expressions editor 406.Can obtain the corresponding edit instruction of the operation of common expressions editor 406, according to edit instruction, upgrade common expressions.
As shown in Fig. 4 (g), common expressions window 403 also comprises synchronizing function key 407.Receive after the instruction of being synchronizeed with the common expressions in high in the clouds in this locality triggering by synchronizing function key 407, as shown in Fig. 4 (h), show login authentication window 408.The user account information that reception is inputted from login authentication window 408, and the local common expressions corresponding with the user account information in high in the clouds carried out synchronously.
As shown in Figure 5, in one embodiment, a kind of input media that comprises touch-screen, comprises display module 10, instruction acquisition module 20 and statement acquisition module 30 to be entered, wherein:
Display module 10 is for showing virtual input panel, and this virtual input panel comprises common expressions function key.
Common expressions function key is a virtual key, for triggering the instruction of input common expressions.When user touches common expressions function key correspondence position on touch-screen, can trigger the instruction of input common expressions.
Instruction acquisition module 20 is for receiving the instruction of the input common expressions triggering by common expressions function key.
Display module 10 also, for showing common expressions window, comprises common expressions in this common expressions window.
Common expressions is the sentence that comprises a plurality of words setting in advance.The common expressions setting in advance is arranged demonstration in common expressions window.
Statement acquisition module 30 to be entered is for obtaining the common expressions that the operation of common expressions window is chosen.
User can touch position corresponding to common expressions needing on touch-screen, to choose the common expressions showing on this position.
Display module 10 is also for being shown to the common expressions of obtaining in the text editing region that virtual input panel comprises.
Text editing region is for showing from the region of the words of virtual input panel input in input process.
The above-mentioned input media that comprises touch-screen, common expressions function key is set in virtual input panel, as long as this common expressions function key of operation can show common expressions window, and can select common expressions in common expressions window, the common expressions of selection is shown to text editing region.Said method can input by shirtsleeve operation a complete common expressions that comprises a plurality of words, and not need to by stroke or by the input words of phonetic to form statement, thereby improved input speed.
In one embodiment, common expressions window comprises editting function key, for triggering the instruction of editor's common expressions.Editting function key is a virtual key.When user touches editting function key correspondence position on touch-screen, can trigger the instruction of editor's common expressions.
As shown in Figure 6, the above-mentioned input media that comprises touch-screen also comprises statement update module 40.
In the present embodiment, instruction acquisition module 20 is also for receiving the instruction of the editor's common expressions triggering by editting function key.
Display module 10 is also for showing common expressions editor.In common expressions editor, comprise newly-increased button, delete button and revise button.
Instruction acquisition module 20 is also for obtaining the corresponding edit instruction of the operation of common expressions editor.Edit instruction comprises newly-increased common expressions instruction, deletes common expressions instruction and revises common expressions instruction.When user touches newly-increased button, deletion button and revises button correspondence position on touch-screen, can trigger respectively newly-increased common expressions instruction, delete common expressions instruction and revise common expressions instruction.
Statement update module 40 is for upgrading common expressions according to edit instruction.Statement update module 40 can be added new common expressions according to newly-increased common expressions instruction, according to deleting common expressions instruction, deletes the common expressions in selected state, according to revising the common expressions of common expressions modifying of order in selected state.
In the present embodiment, can increase as required easily, delete or revise common expressions newly, during for follow-up input common expressions, select, improve input speed.
In one embodiment, common expressions window comprises synchronizing function key, for triggering the instruction of synchronizeing with the common expressions in high in the clouds local.Synchronizing function key is a virtual key, when user touches synchronizing function key correspondence position on touch-screen, can trigger the instruction of synchronizeing with the common expressions in high in the clouds local.
High in the clouds is server or the server cluster of storage and maintenance common expressions.
As shown in Figure 7, the above-mentioned input media that comprises touch-screen also comprises statement synchronization module 50, and statement synchronization module 50 comprises account information acquisition module, sending module, receiver module and replacement module (not shown).
In the present embodiment, instruction acquisition module 20 is also for receiving the instruction of being synchronizeed with the common expressions in high in the clouds in this locality triggering by synchronizing function key.
Display module 10 is also for showing login authentication window.In login authentication window, comprise user account information input frame, for example user name input frame and Password Input frame.
Account information acquisition module is for receiving from the user account information of login authentication window input.User account information comprises the information such as username and password.
Sending module is for sending to high in the clouds by the more new record of the renewal correspondence of user account information and local common expressions.Concrete, sending module can send to high in the clouds by user account information.This user account information can be verified in high in the clouds, after being verified, to this locality, sending and is verified instruction.What local reception sent to high in the clouds is verified after instruction, and sending module can send to high in the clouds by the more new record of the renewal correspondence of local common expressions, or by user account information and this corresponding high in the clouds that sends to of new record more.
Wherein, more new record comprises newly-increased operation note, deletion action record and retouching operation record.Newly-increased operation note comprises newly-increased common expressions, and deletion action record comprises the common expressions of deletion, retouching operation record comprise common expressions before modification and with amended common expressions.
Receiver module is for pulling the common expressions after synchronous that high in the clouds sends, and the common expressions after this is synchronous be common expressions corresponding to above-mentioned user account information after according to above-mentioned more new record renewal by high in the clouds.
High in the clouds can be added the newly-increased common expressions and the amended common expressions that in new record more, comprise in common expressions corresponding to user account information to, and the common expressions by the common expressions of the deletion comprising in new record more and before revising is deleted from common expressions corresponding to user account information.When high in the clouds finds that after search the common expressions that need to delete has not existed beyond the clouds, the common expressions that high in the clouds no longer need to be deleted for this is carried out any operation.
Replacement module is for replacing with local common expressions above-mentioned common expressions after synchronous.
In the present embodiment, can by terminal, in this locality, the update content to common expressions be synchronized to high in the clouds, even while changing another terminal in lost terminal, also can give rapidly up-to-date editor's common expressions for change.And a certain terminal can get the update content of other terminal, need in different terminals, not repeat to edit common expressions, thereby can improve common expressions editing speed, and improve operation ease.
In one embodiment, common expressions window comprises at least one tab, the common expressions of the different corresponding different classification of tab.Can a plurality of tab be set in common expressions window, common expressions is classified, in a tab, show the common expressions of a classification.In the present embodiment, adopt different tab to show categorizedly common expressions, can conveniently choose common expressions, thereby improve the input speed of common expressions.
In one embodiment, common expressions window also comprises tab editting function key, for triggering the instruction of editing options card.
In this enforcement, instruction acquisition module 20 is also for receiving the instruction of the editing options card triggering by tab editting function key; Display module 10 is also for Show Tabs editor; Instruction acquisition module 20 is also for obtaining the corresponding edit instruction of the operation of tab editor; The above-mentioned input media that comprises touch-screen also comprises tab editor module (not shown), for adding, delete according to edit instruction or modification tab.
Revise tab and comprise the title etc. of revising tab.
In the present embodiment, can editing options card, thus facilitate user as required common expressions to be classified, improve choosing and input speed of common expressions.
Get after the instruction of deleting tab, tab editor module is not only deleted the tab of choosing, and also deletes all common expressions that belong to the corresponding classification of tab, can delete rapidly many common expressions, improve common expressions editing speed, thereby improve operation ease.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, can control relevant hardware by computer program to complete, described program can be stored in a computer read/write memory medium, this program, when carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
The above embodiment has only expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.