CN107291369A - Character editing method and device, terminal device and computer-readable recording medium - Google Patents

Character editing method and device, terminal device and computer-readable recording medium Download PDF

Info

Publication number
CN107291369A
CN107291369A CN201710525309.6A CN201710525309A CN107291369A CN 107291369 A CN107291369 A CN 107291369A CN 201710525309 A CN201710525309 A CN 201710525309A CN 107291369 A CN107291369 A CN 107291369A
Authority
CN
China
Prior art keywords
space button
candidate word
character
dummy keyboard
editing
Prior art date
Application number
CN201710525309.6A
Other languages
Chinese (zh)
Inventor
彭小忠
Original Assignee
珠海市魅族科技有限公司
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 珠海市魅族科技有限公司 filed Critical 珠海市魅族科技有限公司
Priority to CN201710525309.6A priority Critical patent/CN107291369A/en
Publication of CN107291369A publication Critical patent/CN107291369A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the screen or tablet into independently controllable areas, e.g. virtual keyboards, menus

Abstract

The present invention provides a kind of character editing method and device, terminal device and computer-readable recording medium, and this method includes:Showing includes space button on dummy keyboard, dummy keyboard;Detect the current state of dummy keyboard;If the current state of dummy keyboard is character input state, inputs characters into the corresponding particular candidate word of state and be mapped to the space button;When detecting the first operation for acting on space button, input characters into the corresponding particular candidate word of state and be input in text editing object.The device includes dummy keyboard display module, condition judgment module, particular candidate word acquisition module, particular candidate word handover module, particular candidate word display module, editor module.The terminal device of the present invention has processor, above-mentioned method can be realized during computing device program, computer-readable recording medium storage has computer program.The abundant advantage for being easy to operation using space button of the present invention, is easy to user's one-handed performance.

Description

Character editing method and device, terminal device and computer-readable recording medium

Technical field

The present invention relates to electronic technology field, in particular it relates to a kind of character editing method and realize this method device, Terminal device and computer-readable recording medium.

Background technology

The mobile terminals such as smart mobile phone, tablet personal computer turn into people's daily life in most frequently with electronic equipment, this Dummy keyboard is typically provided with a little electronic equipments so that user inputs without that can enter row information by physical keyboard.When using When dummy keyboard carries out character input, user typically clicks on position different in text editing object to move cursor by touch screen Position, this mode is poor in practical operation medium sensitivity, and cursor positioning is inaccurate, it is often necessary to which clicking on several times just can be accurate The position of cursor is positioned, user's one-handed performance is not easy to.In addition, when inputting under character mode, user is generally required by point The corresponding switching key in the beating keyboard upper right corner can just enter the page of more candidate's words, and above operation is not easy to use Family one hand is carried out, and not good operating experience is brought to user.

In addition, the space button on mobile terminal of mobile telephone operates easily all in the middle position of dummy keyboard, But, the effect of the space button on existing dummy keyboard is only input space, under input character mode on shield correspondence Candidate's word, or show when space button is clicked on for a long time voice keyboard, the function of space button is still more simple Single, it is easy to the advantage of operation not to be exploited sufficiently.

The content of the invention

The first object of the present invention is to provide a kind of imparting more multi-functional character editing method of space button.

The second object of the present invention is to provide a kind of imparting more multi-functional character editing device of space button.

The third object of the present invention is to provide a kind of terminal device for realizing above-mentioned character editing method.

The fourth object of the present invention is to provide a kind of computer-readable recording medium for realizing above-mentioned character editing method.

In order to realize above-mentioned main purpose, the character editing method that the present invention is provided includes display dummy keyboard, virtually Include space button on keyboard;Detect the current state of dummy keyboard;If the current state of dummy keyboard is character input state, Then input characters into the corresponding particular candidate word of state and be mapped to space button;Detect act on space button first behaviour When making, input characters into the corresponding particular candidate word of state and be input in text editing object.

From above scheme, when judging that dummy keyboard is under character input state, the corresponding spy of state is input characters into Determine candidate word and be mapped to space button, and operated by carrying out first to space button, it is possible to by corresponding particular candidate In word text editing objects, the more functions of space button are assigned, the advantage of space button is made full use of, facilitates user to select, Input speed is improved, is easy to user's one-handed performance.

One preferred scheme is, if the current state of dummy keyboard is input idle condition, according to the effect got The position of cursor is moved in text editing is to text editing object in the glide direction of the slide on space button It is dynamic.

From above scheme, according to the glide direction of the slide acted on space button got in text The position of cursor is moved in edit object, it is to avoid user's touch screen clicks on position different in text editing object to move The position of dynamic cursor, can realize the quick positioning of cursor, and it is more accurate to position, and is easy to user's one-handed performance.

One preferred scheme is, according to the glide direction of the slide acted on space button got in text The position of cursor is moved in edit object, including obtains the slide acted on space button;Grasped according to sliding The position of the glide direction of work mobile cursor in text editing object;Or the sliding distance of slide is obtained, according to cunning The glide direction of dynamic operation determines the moving direction of cursor, and determines according to sliding distance the displacement of cursor, Yi Jigen According to moving direction and displacement movement cursor.

From above scheme, determined to move the side of cursor according to the glide direction of slip signals and the distance of slip To and distance, user can oneself mobile parameter of setting, position more accurate, meet the individual demand of user.

One preferred scheme is that particular candidate word includes the candidate word obtained from network-side or the connection obtained from address list It is people's name.

From above scheme, the selection of candidate word combines the data for being locally stored and being stored with network high in the clouds, Ke Yigeng The vocabulary of abundant candidate word.Particular candidate word only under character input state matches with the contact name in address list When, the content for the address list being locally stored is called, the name of corresponding contact person is included on space button, vocabulary is rich Richness, wide coverage is alternative abundant in content, is easy to user to select.

One preferred scheme is, if the current state of dummy keyboard is character input state, to input characters into state pair The multiple particular candidate words answered are mapped to space button;When detecting the slide for acting on space button, according to slip Operation is switched between multiple particular candidate words.

It from above scheme, can be switched over, operated between multiple particular candidate words by sliding space button Simplicity, it is convenient and swift, make full use of space button area big, be easy to the advantage of one-handed performance.

One preferred scheme is, will be from including character input shape when detecting the second operation for acting on space button The current candidate word page layout switch of the corresponding multiple particular candidate words of state is to including the corresponding multiple candidate words of character input state Next candidate word page.

From above scheme, mobile terminal detect act on that space button has the second operation on dummy keyboard when, Next candidate word page interface can be shown.When searching the candidate word needed, without clicking on dummy keyboard upper right side again More word buttons, streamline operation is easy to operation, can quickly enter next candidate word page interface.

Above-mentioned another in order to realize, the character editing device that the present invention is provided includes dummy keyboard display module, uses Include space button on dummy keyboard, dummy keyboard in showing;Condition judgment module, the current shape for detecting dummy keyboard State;Particular candidate word acquisition module, for obtaining corresponding particular candidate word under character input state;Particular candidate word is shown Module, space button is mapped to for inputting characters into the corresponding particular candidate word of state;Editor module, for detecting work For space button first operation when, input characters into the corresponding particular candidate word of state and be input in text editing object.

From such scheme, when character editing device judges that dummy keyboard is under character input state, input characters into The corresponding particular candidate word of state is mapped to space button, and is operated by carrying out first to space button, it is possible to will be right In the particular candidate text including words and phrases edit objects answered, the more functions of space button are assigned, the advantage of space button is made full use of, Facilitate user to select, improve input speed, be easy to user's one-handed performance.

To realize the 3rd above-mentioned purpose, the terminal device that the present invention is provided includes processor, and processor is deposited for execution Each step of above-mentioned character editing method is realized during the computer program stored in reservoir.

To realize the 4th above-mentioned purpose, the computer-readable recording medium that the present invention is provided is stored thereon with computer Program, and computer program realizes each step of above-mentioned character editing method when being executed by processor.

Brief description of the drawings

Fig. 1 is the flow chart of character editing embodiment of the method for the present invention.

Fig. 2 is the schematic diagram of character input state interface in character editing embodiment of the method for the present invention.

Fig. 3 is that space button shows the particular candidate word obtained from network-side in character editing embodiment of the method for the present invention The schematic diagram at interface.

Fig. 4 is the schematic diagram for applying input idle condition interface in character editing embodiment of the method for the present invention.

Fig. 5 is that space button is shown from contact person in address list name interface in character editing embodiment of the method for the present invention Schematic diagram.

Fig. 6 is the signal that space button shows multiple particular candidate word interfaces in character editing embodiment of the method for the present invention Figure.

Fig. 7 is that the space button that horizontally slipped under character input state in character editing embodiment of the method for the present invention is cut with left and right Change the schematic diagram at particular candidate word interface.

Fig. 8 is the space button movement cursor that horizontally slipped under input idle condition in character editing embodiment of the method for the present invention The schematic diagram of position.

Fig. 9 is the schematic diagram that next candidate word page is switched in character editing embodiment of the method for the present invention.

Figure 10 is the structured flowchart of character editing device embodiment of the present invention.

Below in conjunction with drawings and Examples, the invention will be further described.

Embodiment

Character editing method of the present invention is to apply the virtual key in the mobile terminal such as smart mobile phone or tablet personal computer On disk, especially, dummy keyboard is provided with space button.The character editing device of the present invention is to run on mobile terminals, and And for realizing the character editing method of above-mentioned mobile terminal.Also, the present invention also provides a kind of terminal device, and the terminal is set Standby to include processor, processor can perform the instruction of application program, so as to realize each step of above-mentioned character editing method Suddenly.Be stored with computer program on the computer-readable recording medium of the offer of the present invention, and computer program is held by processor Each step of above-mentioned character editing method is realized during row.

Character editing embodiment of the method:

The character editing control method of the present embodiment is applied on the intelligent mobile terminals such as smart mobile phone, tablet personal computer, is moved Dynamic terminal has dummy keyboard, and dummy keyboard is provided with space button, and user can be sent by carrying out operation to space button Instruction.

The workflow of the character editing method of the present embodiment is introduced with reference to Fig. 1.

First, step S1 is performed, showing includes space button 11 and character keys 12 on dummy keyboard, dummy keyboard.

As shown in Figure 4, in the display screen display text editing object 15 of mobile terminal, compiled when user clicks on word When collecting, a dummy keyboard can be shown on a display screen, it is preferred that dummy keyboard is shown in the lower section of text editing object 15 Or top.Generally, space button 11 is included on dummy keyboard, also includes multiple character keys 12, as shown in Figure 4, Dummy keyboard is the dummy keyboard of a nine grids, that is, includes 0 to 9 digital keys, and user can be pressed by clicking on numeral Key input numeral.Under Chinese character input state, user can select Pinyin Input or stroke to input, if defeated using phonetic Enter, then the multiple phonetic alphabet of each digital keys correspondence, when user clicks on a certain digital keys, the numeral can be inputted and pressed The corresponding letter of key.If selecting stroke input, wherein five digital keys correspond to this stroke of Philosophy, user respectively When clicking on a certain button, corresponding stroke can be inputted.

Certainly, dummy keyboard can also be full keyboard, i.e. QWERT keyboards, that is, 26 alphabetical dummy keyboards of display, User clicks on some alphabetical corresponding button and inputs corresponding character.Therefore, in the present embodiment, character keys 12 can be with It is the digital keys in numeric keypad or the alphabet key in QWERT keyboards, it is only necessary to which clicking on can produce after the button The button of raw candidate characters, is character keys 12.

As shown in Figure 4, space button 11 is located at the lower section of character keys 12, and the length of space button 11 is longer, Therefore the viewing area of space button 11 is larger, and convenient use person clicks on space button 11.Of course, it is possible to according to actual needs will Space button 11 is shown in the optional position of dummy keyboard.

When performing step S2, the current state of dummy keyboard is detected, if the current state of dummy keyboard is character input shape State, then be transferred to step S3;If it is not, then performing step S6.

In the present embodiment, character input state is currently to have the character keys 12 being clicked, and produce particular candidate word State, character input state with input idle condition be relative two states.Input idle condition can be that display is virtual After keyboard, user does not carry out the state of the operation of any click character keys 12, and or to click digital keys, phonetic defeated Enter or stroke input, obtain particular candidate word, and particular candidate word has been input to the state after text editing object 15. For example, being exactly character input state when character keys 12 are clicked and produce particular candidate word, as shown in Fig. 2 in Chinese character Under input state, user can select Pinyin Input state, mobile whole when user clicks on " women " on character keys 12 End will judge that current virtual keyboard is in character input state.In another example, as described in Figure 3, after display dummy keyboard, Yong Hudian Pinyin Input is hit, state when clicking on " womendetiaozhan " corresponding character keys 12 successively is character input state. Then, if user clicks on corresponding particular candidate word " our challenge ", " our challenge " is input to text editing pair As the state after 15, state now is input idle condition.In another example, as shown in figure 4, after display dummy keyboard, Yong Huwei The state of the operation of any click character keys 12 is carried out, is also input idle condition.

Then, step S3 is performed, the corresponding particular candidate word of state is input characters into and is mapped to space button 11.

In the present embodiment, particular candidate word includes the candidate word obtained from network-side or the contact person obtained from address list Name.

For example, as shown in figure 3, user clicks on " women " in figure keyboard 12, mobile terminal will be obtained " women " Operation signal, obtains in network-side and generates particular candidate word " our challenge ", particular candidate word " our challenge " is reflected Penetrate on space button 11.

In another example, as shown in figure 5, user clicks on " lili " corresponding phonetic button on character keys 12, mobile terminal " lili " click signal will be obtained, is such as matched with contact person in address list " Li Li ", then generates particular candidate word " Li Li ", And particular candidate word " Li Li " is mapped on space button 11.

For another example as shown in fig. 6, user clicks on " lili " corresponding phonetic button on character keys 12, mobile terminal " lili " click signal will be obtained, because address list includes the phase therewith such as " Li Li ", " Li Li ", " Li Li " and " Li Li " With candidate word, then multiple particular candidate words " Li Li ", " Li Li " and " Li Li " etc. are generated, and multiple specific candidate words are mapped On space button 11.

Then, step S4 is performed, detects whether to act on the first operation on space button, if being acted on detecting During the first operation of space button, then step S5 is performed;If do not detect the first operation for acting on space button, hold Row step S7.

In the present embodiment, one in the operational motion such as first operation can be set to click on, press or slide up and down Kind.

Then, step S5 is performed, the corresponding particular candidate word of state is input characters into and is input in text editing object.

For example, as shown in figure 3, user, which clicks on space button 11, to be input to text editing object by " our challenge " In 15, or as shown in figure 5, " Li Li " can be input in text editing object 15 by user's click space button 11.

In another example, as shown in figure 3, user slides up on space button 11 to be input to text by " our challenge " In edit object 15.Or as shown in figure 5, user slides up on space button 11, you can " Li Li " is input to text editing In object 15.

For another example when the corresponding multiple particular candidate words of the state that inputs characters into, user is as needed, in the spy of selection Determining the operation of progress first in candidate word can be input to the specific of selection in text editing object.As shown in fig. 6, space button Upper to include " Li Li " and " Li Li ", user wants to select " Li Li ", then " Li Li " is clicked on or upper sliding operation can be by " Lee Jasmine " is input in text editing object 15.

Certainly, user can also use space button 11 to realize more functions, and the current of dummy keyboard is determined for example, working as State is character input state, inputs characters into the corresponding multiple particular candidate words of state and is mapped to after space button 11, in inspection When measuring the slide for acting on space button 11, switched over according to slide between multiple particular candidate words, institute It can be the one kind for the mode of operation such as horizontally slipping or sliding up and down to state slide, in general, and the slide should be with First operating and setting is different slide mode.Specifically, as shown in Fig. 2 user is clicked in figure keyboard 12 " women ", mobile terminal will obtain the click signal of " women ", obtain the specific time such as " we ", " I am tender " and " I am vexed " Word is selected, the particular candidate word being mapped on space button now given tacit consent to is " we ", now carries out first to space button 11 " we " are then directly input in text editing object 15 by operation.

If as shown in figure 8, user slides to the right space button 11 once, being mapped in the particular candidate word on space button It is changed into " I am vexed ", the first operation is now carried out to space button 11 is then directly input to " I am vexed " in text editing object 15. If sliding space button 11 once to the right again, the particular candidate word being mapped on space button 11 is changed into " I am tender ".Accordingly, If user slides space button 11 once to the left, the particular candidate word being mapped on space button 11 is changed into " I am vexed ", if with Space button 11 is slided once in family to the left, then the particular candidate word being mapped on space button 11 is changed into " we ".

When performing step S2, the current state of dummy keyboard is detected, if the current state of dummy keyboard is the idle shape of input State, then be transferred to step S6.

Input idle condition can be shown after dummy keyboard, and user does not carry out the operation of any click character keys 12 State, and or click digital keys, Pinyin Input or stroke input, obtain particular candidate word, and will be specific Candidate word is input to the state after text editing object 15.

Then, perform step S6, it is determined that the current state of dummy keyboard for input idle condition after, then according to getting The glide direction for acting on the slide on space button the position of cursor is moved in text editing object.

In the present embodiment, the scheme of mobile cursor 16 has two kinds, a kind of situation be get act on space button 11 On slide glide direction, according to the position of the glide direction of slide mobile cursor 16 in text editing object 15 Put.

Specifically, user pins space button 11 and slided to the right once, and the position of cursor 16 moves right a word The position of symbol, user pins space button 11 and slided to the left once, and the position of cursor 16 is moved to the left the position of a character.Example Such as, as shown in figure 3, the position of current cursor 16 is in the rightmost side of " our challenge ", such as user click on space button 11 and to It is left slip once, then cursor 16 be moved to the left a character, i.e. cursor 16 positioned at " ours chooses " between " war ".If point again Hit space button 11 and slide to the left once, then a character, i.e. cursor 16 are continued to be moved to the left positioned at " I in the position of cursor 16 " between " challenge ".Now, space button 11 and slided to the right once as clicked on, then cursor 16 moves right a word Symbol, i.e. cursor 16 are located at " ours chooses " between " war ".So, no matter the sliding distance on space button 11 is how many, As often slided 1 centimetre or 2 centimetres, cursor 16 moves a character.Certainly, the moving direction of cursor 16 and user are in space Glide direction is not necessarily identical on button 11, for example, being slided to the left on space button 11, cursor 16 moves right, and this also may be used To realize the purpose of the present invention.

Another situation is to obtain the sliding distance of slide, cursor 16 is determined according to the glide direction of slide Moving direction, and determine according to sliding distance the displacement of cursor 16, light moved according to moving direction and displacement Mark 16.For example, when user pin space button 11 slide to the right two characters apart from when, the position of corresponding cursor 16 is corresponding Two characters that move right position, when user pin space button 11 slide to the left two characters apart from when, accordingly The position of cursor 16 is moved to the left the position of two characters accordingly.

In another example, the threshold value of a slip is pre-set, such as sliding distance on space button 11 often slides 1 centimetre, Then cursor 16 moves the distance of a character, so, if the sliding distance on space button 11 often slides 2 centimetres, accordingly , cursor 16 moves the distance of two characters, and so on.Certainly, the moving direction of cursor 16 and user are in space button 11 Upper glide direction is not necessarily identical, for example, being slided to the left on space button 11, cursor 16 is moved right, and this can also be realized The purpose of the present invention.

In step S7, detect whether to act on space button 11 second operation, detect act on space by During the second operation of key 11, by from including the current candidate word page layout switch of the corresponding multiple particular candidate words of character input state Extremely include next candidate word page of the corresponding multiple candidate words of character input state.

In the present embodiment, the second operation can be long-press, slide up and down or horizontally slip etc. in a kind of operate.When So, the action of the first operation and the second operation should be set as different operational motions.

For example, the time of user's long-press space button 11, which more than 3 seconds, then is considered as having detected, acts on space button 11 On second operation.Certainly, user can with the sets itself default time, such as user pin space button 11 more than 2 seconds or 1.5 seconds, that is, it is considered as detecting the second operation acted on space button 11.Or, system default setting one is default Time, this has no effect on the implementation of the present invention.

As shown in figure 9, user is inputting character " we ", then mobile terminal judges the current state of dummy keyboard for word Input state is accorded with, " we " are mapped on space button 11, now, long-press space button then showed next time more than 3 seconds The word page is selected, so, user is switched to including the next of multiple candidate words without more word buttons 14 on the right side of clicking on The candidate word page, it is easy to operate.

Mobile terminal control device embodiment:

Character editing device embodiment is introduced with reference to Figure 10.In the present embodiment, character control device is aobvious including dummy keyboard Show module 31, condition judgment module 32, particular candidate word acquisition module 33, particular candidate word display module 34, specific time Select word handover module 35, editor module 36, cursor mobile module 37, next candidate word page display module 38.

Dummy keyboard display module 31, which is used to show, includes space button 11 on dummy keyboard, dummy keyboard.For example, as schemed Shown in 3, in the display screen display text editing object 15 of mobile terminal, when user clicks on text editing object 15, A dummy keyboard can be shown on a display screen, it is preferred that dummy keyboard be shown in text editing object 15 lower section or Top.Generally, space button 11 is included on dummy keyboard, also includes multiple character keys 12, wherein, character keys 12 can To be the digital keys in numeric keypad or the alphabet key in QWERT keyboards, i.e. only need to click on after the button The button of candidate characters can be produced, is character keys 12.

As shown in Figure 3, space button 11 is located at the lower section of character keys 12, and the length of space button 11 is longer, Therefore the viewing area of space button 11 is larger, and convenient use person clicks on space button 11.Of course, it is possible to according to actual needs will Space button 11 is shown in the optional position of dummy keyboard.

Condition judgment module 32 is used for the current state for detecting dummy keyboard.In the present embodiment, character input state is to work as Before be clicked character keys 12, and produce the state of particular candidate word, character input state is phase with input idle condition To two states.Input idle condition can be shown after dummy keyboard, and user does not carry out any click character keys 12 Operation state, and or click digital keys, Pinyin Input or stroke input, obtain particular candidate word, and Particular candidate word is input to the state after text editing object 15.

Particular candidate word acquisition module 33 is used to obtain corresponding particular candidate word under character input state.Wherein, it is special Determining candidate word includes the candidate word obtained from network-side or the contact name obtained from address list.

Particular candidate word display module 34 be used for input characters into the corresponding particular candidate word of state be mapped to space by Key 11.

Particular candidate word handover module 35 is used to be mapped in the corresponding multiple particular candidate words of the state that inputs characters into After space button, when detecting the slide for acting on space button 11, according to slide in multiple particular candidate words Between switch over.

Editor module 36 is used to, when detecting the first operation for acting on space button 11, input characters into state correspondence Particular candidate word be input in text editing object 15.

For example, as shown in figure 3, user clicks on " women " in the alphabet key of figure keyboard 12, mobile terminal will be obtained " women " operation signal, network-side obtain generation particular candidate word " our challenge ", and by particular candidate word " we Challenge " is mapped on space button 11, and user carries out first to space button 11 and operated, you can be input to " our challenge " In text editing object 15.

In another example, if as shown in figure 8, user slides to the right space button 11 once, being mapped on space button 11 Particular candidate word is changed into " I am vexed ", and the first operation is now carried out to space button 11 is then input to text editing object by " I am vexed " In 15.

If it is input idle condition that cursor mobile module 37, which is used for the current state of dummy keyboard, according to the work got The glide direction of slide on space button 11 is moved in text editing object to the position of cursor 16.

In the present embodiment, the scheme of mobile cursor 16 has two kinds, a kind of situation be get act on space button 11 On slide glide direction, according to the position of the glide direction of slide mobile cursor 16 in text editing object 15 Put.

Another situation is to obtain the sliding distance of slide, cursor 16 is determined according to the glide direction of slide Moving direction, and determine according to sliding distance the displacement of cursor 16, light moved according to moving direction and displacement Mark 16.

Next candidate word page display module 38 is used for when detecting the second operation for acting on space button 11, will be from Current candidate word page layout switch including the corresponding multiple particular candidate words of character input state is to including character input state pair The next candidate word page for the multiple candidate words answered.

As shown in figure 8, user is inputting character " we ", then mobile terminal judges the current state of dummy keyboard for word Input state is accorded with, " we " are mapped on space button 11, now, long-press space button 11 was more than 3 seconds, then display includes many Next candidate word page of individual candidate word, so, user are the changeable page without more word buttons 14 on the right side of clicking on, just It is easy to operate in quickly searching page turning.

Terminal device embodiment:

The terminal device of the present invention can include but is not limited to processor, memory and be stored in the memory and can be in institute State computer program for being run on processor etc., for example, terminal device can be desktop PC, notebook or Palm PC, cloud server, and or the computing device such as single-chip microcomputer comprising central processing unit.Also, the terminal device Processor can perform the computer program stored in memory, when computing device computer program, it is possible to achieve above-mentioned Each step of character editing method, including the step of the step of display dummy keyboard, current state of detection dummy keyboard, general The step of corresponding particular candidate word of character input state is mapped to space button, detect whether to act on the of space button The step of one operation and input characters into step that the corresponding particular candidate word of state is input in text editing object etc..

Computer program can be divided into one or more module/units, and one or more of module/units are deposited Storage is in the memory, and by the computing device, one or more of module/units can complete spy Determine the series of computation machine programmed instruction section of function, the instruction segment is used to describe execution of the computer program in terminal device Process.For example, the computer program can be divided into including dummy keyboard display module, condition judgment module, specific time Select word acquisition module, particular candidate word display module, editor module and cursor mobile module.Wherein, dummy keyboard shows mould Block, which is used to show, includes space button on dummy keyboard, dummy keyboard;Condition judgment module is used to detect the current of dummy keyboard State;Particular candidate word acquisition module is used to obtain corresponding particular candidate word under character input state;Particular candidate word shows Show that module is mapped to space button for inputting characters into the corresponding particular candidate word of state;Editor module is used to detect work For space button first operation when, input characters into the corresponding particular candidate word of state and be input in text editing object; If cursor mobile module be used for dummy keyboard current state for input idle condition, according to get act on space by The glide direction of slide on key is moved in text editing object to the position of cursor.

The processor can be CPU, can be other general processors, digital signal processor, special Integrated circuit, ready-made programmable gate array etc., can also be other PLDs, discrete gate, and or transistor patrol Collect device, discrete hardware components etc..Wherein, the general processor can be microprocessor or any conventional processor, place Reason device is the control centre of terminal device, utilizes the various pieces of each interface and the whole terminal device of connection.

The memory is to can be used for storage computer journey or module, and processor is stored in memory by operation or execution Interior computer program or module, and the data being stored in memory are called, realize the various functions of the terminal device. The memory can mainly include program area and storage data field, wherein, storing program area can storage program area or at least one Application program needed for individual function etc., the application program such as sound broadcasting, image player function.Storage data field can be stored Created data etc. are used according to terminal device, the data such as voice data, telephonic communication record.In addition, memory can So that including high-speed random access memory, nonvolatile memory, such as hard disk, internal memory, plug-in type hard disk, intelligence can be included Storage card, safe digital card, flash card, flush memory device and at least one disk flush memory device etc., can also include other volatile Property solid-state memory.

Computer-readable recording medium embodiment:

The computer-readable recording medium of the present invention can any type of be deposited by what the processor of computer installation was read Storage media, including but not limited to nonvolatile memory, volatile memory, ferroelectric memory etc., computer-readable storage medium Be stored with computer program in matter, when the processor of computer installation reads and performed the computer program stored in storage When, it is possible to achieve each step in above-mentioned character editing method, including the step of display dummy keyboard, detection dummy keyboard The step of current state, input characters into the step of corresponding particular candidate word of state is mapped to space button, detected whether The step of acting on the first operation of space button and input characters into the corresponding particular candidate word of state and be input to text editing Step in object etc..

The computer program includes computer program code, wherein, computer program code can be source code, object Code form, executable file or some intermediate forms etc..The computer-readable recording medium can include that meter can be carried Any type of entity or device of calculation machine program code, recording medium, USB flash disk, mobile hard disk, magnetic disc, CD, computer storage Device, read-only storage, random access memory, electric carrier signal, telecommunication signal and software distribution medium etc..

It should be strongly noted that the content that the computer-readable recording medium is included can be vertical according to jurisdiction The requirement of method and patent practice carries out appropriate increase and decrease, for example, in some judicial limits areas, according to legislation and patent reality Trample, computer-readable recording medium does not include electric carrier signal and telecommunication signal.

It can be seen that, it can assign space button more functions using the solution of the present invention, take full advantage of it and be easy to operation Advantage, be easy to user's one-handed performance.For example, under input idle condition, particular candidate word can be achieved in the space that horizontally slips Switching.

Certainly, above-mentioned scheme is can also have more changes in the preferred embodiment of the invention, practical application, Every insubstantial modifications made using the present invention, should be included in protection scope of the present invention.

Claims (10)

1. a kind of character editing method, applied to terminal, it is characterised in that the character editing method includes:
Showing includes space button on dummy keyboard, the dummy keyboard;
Detect the current state of the dummy keyboard;
If the current state of the dummy keyboard is character input state, by the corresponding particular candidate of the character input state Word is mapped to the space button;
When detecting the first operation for acting on the space button, by the corresponding specific time of the character input state Word is selected to be input in text editing object.
2. character editing method according to claim 1, it is characterised in that the character editing method also includes:
If the current state of the dummy keyboard is input idle condition, acted on according to what is got on the space button The glide direction of slide the position of cursor is moved in the text editing object.
3. character editing method according to claim 2, it is characterised in that what the basis was got acts on the sky The glide direction of slide on lattice button is moved in text editing object to the position of cursor, including:
Obtain the slide acted on the space button;
According to the position of the glide direction of the slide mobile cursor in the text editing object;Or
The sliding distance of the slide is obtained, the mobile side of the cursor is determined according to the glide direction of the slide To, and the displacement of the cursor is determined according to the sliding distance, and according to the moving direction and the movement The mobile cursor of distance.
4. character editing method according to claim 1, it is characterised in that methods described also includes:
The particular candidate word includes the candidate word obtained from network-side or the contact name obtained from address list.
5. character editing method according to claim 1, it is characterised in that methods described also includes:
If the current state of the dummy keyboard is the character input state, and the character input state is corresponding multiple The particular candidate word is mapped to the space button;
When detecting the slide for acting on the space button, according to the slide in multiple particular candidates Switched between word.
6. the character editing method according to any one of claim 1 to 5, it is characterised in that methods described also includes:
, will be from corresponding multiple including the character input state when detecting the second operation for acting on the space button The current candidate word page layout switch of the particular candidate word is to including the corresponding multiple specific times of the character input state Select next candidate word page of word.
7. a kind of character editing device, applied to terminal, it is characterised in that the character editing device includes:
Dummy keyboard display module, includes space button for showing on dummy keyboard, the dummy keyboard;
Condition judgment module, the current state for detecting the dummy keyboard;
Particular candidate word acquisition module, for obtaining corresponding particular candidate word under character input state;
Particular candidate word display module, for the corresponding particular candidate word of the character input state to be mapped into the sky Lattice button;
Editor module, for when detecting the first operation for acting on the space button, by the character input state pair The particular candidate word answered is input in text editing object.
8. character editing device according to claim 7, it is characterised in that described device also includes:
Cursor mobile module, if the current state for the dummy keyboard is input idle condition, according to the work got The glide direction of slide on the space button is moved in the text editing object to the position of cursor It is dynamic.
9. a kind of terminal device, it is characterised in that the terminal device includes processor, the processor is used to perform memory Realized during the computer program of middle storage as described in any one in claim 1 to 6 the step of character editing method.
10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that:The computer program Realized when being executed by processor as described in any one in claim 1 to 6 the step of character editing method.
CN201710525309.6A 2017-06-30 2017-06-30 Character editing method and device, terminal device and computer-readable recording medium CN107291369A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710525309.6A CN107291369A (en) 2017-06-30 2017-06-30 Character editing method and device, terminal device and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710525309.6A CN107291369A (en) 2017-06-30 2017-06-30 Character editing method and device, terminal device and computer-readable recording medium

Publications (1)

Publication Number Publication Date
CN107291369A true CN107291369A (en) 2017-10-24

Family

ID=60098660

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710525309.6A CN107291369A (en) 2017-06-30 2017-06-30 Character editing method and device, terminal device and computer-readable recording medium

Country Status (1)

Country Link
CN (1) CN107291369A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060265668A1 (en) * 2005-05-23 2006-11-23 Roope Rainisto Electronic text input involving a virtual keyboard and word completion functionality on a touch-sensitive display screen
US20060265648A1 (en) * 2005-05-23 2006-11-23 Roope Rainisto Electronic text input involving word completion functionality for predicting word candidates for partial word inputs
CN101593080A (en) * 2008-05-30 2009-12-02 苹果公司 Be used for the identification of the candidate characters of text input
CN102033704A (en) * 2009-09-30 2011-04-27 Lg电子株式会社 Mobile terminal and method for controlling the same
CN103455165A (en) * 2012-05-31 2013-12-18 捷讯研究有限公司 Touchscreen keyboard with corrective word prediction
CN103543947A (en) * 2013-10-28 2014-01-29 北京三星通信技术研究有限公司 Method and system for amending input contents on electronic device with touch screen
US20150169081A1 (en) * 2011-08-29 2015-06-18 Apple Inc. Text correction processing

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060265668A1 (en) * 2005-05-23 2006-11-23 Roope Rainisto Electronic text input involving a virtual keyboard and word completion functionality on a touch-sensitive display screen
US20060265648A1 (en) * 2005-05-23 2006-11-23 Roope Rainisto Electronic text input involving word completion functionality for predicting word candidates for partial word inputs
CN101593080A (en) * 2008-05-30 2009-12-02 苹果公司 Be used for the identification of the candidate characters of text input
CN102033704A (en) * 2009-09-30 2011-04-27 Lg电子株式会社 Mobile terminal and method for controlling the same
US20150169081A1 (en) * 2011-08-29 2015-06-18 Apple Inc. Text correction processing
CN103455165A (en) * 2012-05-31 2013-12-18 捷讯研究有限公司 Touchscreen keyboard with corrective word prediction
CN103543947A (en) * 2013-10-28 2014-01-29 北京三星通信技术研究有限公司 Method and system for amending input contents on electronic device with touch screen

Similar Documents

Publication Publication Date Title
US10592261B1 (en) Automating user input from onscreen content
US20160196027A1 (en) Column Organization of Content
JP6431119B2 (en) System and method for input assist control by sliding operation in portable terminal equipment
US20150026157A1 (en) Contextual search by a mobile communications device
EP2618248B1 (en) Virtual keyboard providing an indication of received input
US20150100537A1 (en) Emoji for Text Predictions
DE112013004619T5 (en) Text entry with partial gesture
CN104657035B (en) Application program operates guidance method and hand-hold electronic device
US9213467B2 (en) Interaction method and interaction device
CN101910988B (en) Insertion marker placement on touch sensitive display
US9417711B2 (en) System and method for implementing sliding input of text based upon on-screen soft keyboard on electronic equipment
JP5486089B2 (en) Pressure sensitive user interface for mobile devices
CA2786502C (en) Next letter prediction for virtual keyboard
US8743058B2 (en) Multi-contact character input method and system
US9104306B2 (en) Translation of directional input to gesture
CN105247540B (en) Manage real-time handwriting recognition
US9280278B2 (en) Electronic apparatus and method to organize and manipulate information on a graphical user interface via multi-touch gestures
CN104598134B (en) The fingerprint operating method and system of a kind of mobile terminal
US20120299853A1 (en) Haptic interface
US7202853B2 (en) Reduced keyboard system that emulates QWERTY-type mapping and typing
CN108139862A (en) Multiwindow keyboard
TWI420344B (en) Method for switching touch keyboard and handheld electronic device and storage medium using the same
US8605039B2 (en) Text input
CN102360249B (en) Discrete keyboard layout system and method to set up, corresponding mancarried electronic aid and control method
CN105511784B (en) A kind of data inputting method based on pressure detecting, device and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination