CN108920074A - Text input method and device and electronic equipment - Google Patents
Text input method and device and electronic equipment Download PDFInfo
- Publication number
- CN108920074A CN108920074A CN201810661872.0A CN201810661872A CN108920074A CN 108920074 A CN108920074 A CN 108920074A CN 201810661872 A CN201810661872 A CN 201810661872A CN 108920074 A CN108920074 A CN 108920074A
- Authority
- CN
- China
- Prior art keywords
- character string
- application program
- virtual key
- common
- soft keyboard
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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/04886—Interaction 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 display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
- G06F3/0233—Character input methods
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Input From Keyboards Or The Like (AREA)
Abstract
The embodiment of the invention provides a text input method, a text input device and electronic equipment. The method comprises the following steps: after an input method calling instruction is received, displaying a commonly used term soft keyboard on a current use interface, wherein the commonly used term soft keyboard comprises virtual keys, and the virtual keys in the commonly used term soft keyboard are bound with character strings in advance; when the input operation aiming at the virtual key in the commonly used phrase software disk is monitored, the character string bound with the selected virtual key is determined to be used as the character string input by the input operation. The virtual keys and the character strings are bound, so that a user can select one character string at a time without selecting characters one by one, the selection times required by the user for inputting the character strings are reduced, and the input efficiency is improved.
Description
Technical field
The present invention relates to smart machine application and game technical fields, more particularly to a kind of text entry method, device
And electronic equipment.
Background technique
User when being chatted by electronic equipment, can be used be external in the electronic equipment keyboard carry out text it is defeated
Enter, also can use the soft keyboard that software is simulated in electronic equipment and carry out text input.It include that at least one is virtual in soft keyboard
Key, each virtual key correspond to a character, and user can be by clicking the virtual key in software disk, to select the void
Character corresponding to quasi- key.
But when it includes the character string of multiple characters composition that user, which thinks input one, need to be chosen over multiple characters,
The operation of the process is relatively complicated, may spend more time, when user is being busy with other things, as user is utilizing hand
When machine plays game, spends more time to carry out text input, user's game experiencing may be influenced.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of text entry method, device and electronic equipment, to realize character
The convenient input of string.Specific technical solution is as follows:
In the embodiment of the present invention in a first aspect, provide a kind of text entry method, the method includes:
After receiving input method call instruction, in currently used showing interface common-use words soft keyboard, the common-use words are soft
Keyboard includes virtual key, and the virtual key in the common-use words soft keyboard is bound in advance character string;
When monitoring for the input operation of virtual key in the common-use words software disk, determine with selected it is virtual
The character string that key is mutually bound operates inputted character string as this input.
With reference to first aspect, in the first possible implementation, described in currently used showing interface common-use words
Before soft keyboard, the method also includes:
Determine whether the application program that foreground is run is default application program, if the application program that foreground is run is
The default application program executes described the currently used showing interface common-use words soft keyboard the step of.
The possible implementation of with reference to first aspect the first, in the second possible implementation, described true
Determine after whether application program that foreground is run be default application program, the method also includes:
If the application program that foreground is run is not the default application program, it is determined whether need to be run on foreground
Application program be set as the default application program, if it is determined that need the application program for being run foreground to be set as described
Default application program shows that guidance interface, the guidance interface are answered for guiding user to be configured with run foreground
The default application program is set as with program.
The possible implementation of with reference to first aspect the first, in the third possible implementation, described true
The fixed character string mutually bound with the virtual key selected, after operating inputted character string as this input, the side
Method further includes:
The character string is sent by the application program that foreground is run.
With reference to first aspect, in the fourth possible implementation, described in currently used showing interface common-use words
Before soft keyboard, the method also includes:
From the binding relationship read in configuration file between virtual key and character string;
The binding relationship between virtual key and character string in the common-use words soft keyboard, and from the configuration file
The binding relationship read is consistent.
The 4th kind of possible implementation with reference to first aspect, it is in a fifth possible implementation, described from matching
The binding relationship read between virtual key and character string in file is set, including:
From tying up between reading virtual key and character string in the corresponding configuration file of application program that foreground is run
Determine relationship.
The 4th kind of possible implementation with reference to first aspect, in a sixth possible implementation, it is described
After currently used showing interface common-use words soft keyboard, the method also includes:
After receiving character string adjustment instruction, after the character string adjustment instruction includes virtual key to be adjusted and adjusts
Character string bound in the virtual key to be adjusted is revised as character after the adjustment in the configuration file by character string
String.
In the second aspect of the embodiment of the present invention, a kind of text input device is provided, described device includes:
Display module, for after receiving input method call instruction, in currently used showing interface common-use words soft keyboard,
The common-use words soft keyboard includes virtual key, and the virtual key in the common-use words soft keyboard is bound in advance character string;
Text selecting module, for when monitoring for the input operation of virtual key in the common-use words software disk,
It determines the character string mutually bound with the virtual key selected, operates inputted character string as this input.
In conjunction with second aspect, in the first possible implementation, the display module is also used to described current
Before showing interface common-use words soft keyboard, determine whether the application program that foreground is run is default application program, if
The application program that foreground is run is the default application program, is executed described in currently used showing interface common-use words soft keyboard
The step of.
In conjunction with the first possible implementation of second aspect, in the second possible implementation, the displaying
Module is also used to after whether the application program that the determining foreground is run is to preset application program, if foreground is run
Application program be not the default application program, it is determined whether need the application program for being run foreground to be set as described pre-
If application program, if it is determined that need the application program for being run foreground to be set as the default application program, show guidance
Interface, the guidance interface default are answered for guiding user to be configured to be set as described with the application program for being run foreground
Use program.
In conjunction with the first possible implementation of second aspect, in the third possible implementation, the text
Selecting module is also used to the character string mutually bound in the determination with the virtual key selected, and it is defeated to input operation institute as this
After the character string entered, the character string is sent by the application program that foreground is run.
In conjunction with second aspect, in the fourth possible implementation, the display module is also used to described current
Before showing interface common-use words soft keyboard, from the binding relationship read in configuration file between virtual key and character string;
The binding relationship between virtual key and character string in the common-use words soft keyboard, and from the configuration file
The binding relationship read is consistent.
In conjunction with the 4th kind of possible implementation of second aspect, in a fifth possible implementation, the displaying
Module is specifically used for reading between virtual key and character string from the corresponding configuration file of application program that foreground is run
Binding relationship.
In conjunction with the 5th kind of possible implementation of second aspect, in a sixth possible implementation, described device
It further include key adjustment module, for after currently used showing interface common-use words soft keyboard, receiving character described
It goes here and there after adjustment instruction, the character string adjustment instruction includes character string after virtual key to be adjusted and adjustment, in the configuration text
Character string bound in the virtual key to be adjusted is revised as character string after the adjustment in part.
In the third aspect of the embodiment of the present invention, a kind of electronic equipment is provided, the electronic equipment includes processor, leads to
Believe interface, memory and communication bus, wherein processor, communication interface, memory complete mutual lead to by communication bus
Letter;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any of the above-described text entry method.
In the fourth aspect of the embodiment of the present invention, a kind of computer readable storage medium is provided, it is described computer-readable
It is stored with computer program in storage medium, preceding claim any institute is realized when the computer program is executed by processor
The text entry method stated.
Text entry method, device and electronic equipment provided in an embodiment of the present invention, can be by by virtual key and word
Symbol string is mutually bound, and realizes that user can once select a character string, without the selection of character one by one, reduces user's input
Number is selected required for character string, improves input efficiency.Certainly, it implements any of the products of the present invention or method might not
It needs to reach all the above advantage simultaneously.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 show a kind of flow diagram of text entry method provided in an embodiment of the present invention;
Fig. 2 show a kind of schematic layout pattern of common-use words soft keyboard provided in an embodiment of the present invention;
Fig. 3 show another flow diagram of text entry method provided in an embodiment of the present invention;
Fig. 4 show another flow diagram of text entry method provided in an embodiment of the present invention
Fig. 5 show a kind of schematic layout pattern at guidance interface provided in an embodiment of the present invention;
Fig. 6 show another flow diagram of text entry method provided in an embodiment of the present invention;
Fig. 7 show another flow diagram of text entry method provided in an embodiment of the present invention;
Fig. 8 a show a kind of structural schematic diagram of text input device provided in an embodiment of the present invention;
Fig. 8 b show another structural schematic diagram of text input device provided in an embodiment of the present invention;
Fig. 9 show a kind of structural schematic diagram of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
A kind of flow diagram of text entry method provided in an embodiment of the present invention is shown referring to Fig. 1, Fig. 1, it can be with
Including:
S101, after receiving input method call instruction, in currently used showing interface common-use words soft keyboard, common-use words are soft
Keyboard includes virtual key, and the virtual key in common-use words soft keyboard is bound in advance character string.
Input method call instruction, which can be, clicks the corresponding operational order of Text Entry, is also possible to click currently used
The corresponding operational order of designated button in specified region or the currently used interface of click in interface.At currently used interface
Show common-use words soft keyboard, the predeterminated position that can be in currently used interface shows common-use words soft keyboard, the predeterminated position
It can be adjusted according to the demand of user, such as the Text Entry adjacent domain that can be at currently used interface is shown often
Term soft keyboard.This method can be applied to display equipment or can be with the intelligent electronic device of external connection display equipment, example
Such as mobile terminal, computer.For convenience of discussion, below by using be applied to Android system mobile terminal as usage scenario, into
Row explanation.
Common-use words soft keyboard can be with as shown in Fig. 2, including virtual key, these virtual keys are bound in advance character
String, different virtual keys mutually binds from different character strings, the quantity of virtual key and in currently used interface shared by
Size can be configured according to user's actual need.Common-use words soft keyboard can show included all virtual simultaneously
Key shows included all virtual keys when can also be different, such as common-use words soft keyboard includes multiple pages, Yong Huke
It include that one or more is virtually pressed to pass through the page of slip gesture cut-flower common-use words soft keyboard current presentation, in each page
Key.
S102, when monitoring for the input operation of virtual key in common-use words soft keyboard, determination and the void selected
The character string that quasi- key is mutually bound operates inputted character string as this input.
Input operation for a virtual key can be the clicking operation for the virtual key, be also possible to basis
Other input operations that user's use habit voluntarily configures, such as the long press operation of the virtual key, or by virtually pressing
Slide of the key to Text Entry.Illustratively, it is assumed that the character string that a virtual key is mutually bound is " set ", is being supervised
When measuring user and clicking the virtual key, " set " is operated into inputted character string as this input.The monitoring can be
It is realized by passing through the preset interface for monitoring soft keyboard in system in system, such as can be and pass through in Android system
What OnKeyboardAct-ionListener interface was realized.
Further, inputting what operation was inputted for the character string mutually bound with the virtual key selected as this
After character string, the application program that can be run by foreground sends the character string, and the object of transmission depends on foreground and transported
Capable application program and usage scenario, illustratively, it is assumed that the application program that foreground is run is the journey with chat feature
Sequence, user is passing through the application program and other users are chatted, then the sending object of character string can be the other users institute
The electronic equipment used.It is also possible to show the character string in the text input window for the application program that foreground is run,
User sends the word by the application program that foreground is run again after clicking the ACK button in the application program that foreground is run
Symbol string.User's input efficiency can be improved it can be understood that directly transmitting, and retransmiting after user clicks ACK button can
To improve the accuracy rate of user's input.
By taking common spelling input method as an example, the process of input character string " set " may need to input the Chinese phonetic alphabet
" jihe ", input method show that pronunciation is multiple alternative words of " jihe ", and user picks out " set " from these alternative words
As the character string that this is inputted, which may need user to click five times.And the embodiment of the present invention is selected, Yong Huke
With only pass through one click operate using by " set " as the character string inputted, it is more convenient.In some usage scenarios
In, the text that user wants input is often fixed several character strings, such as when user carries out in game with other players
When exchange, it may be desirable to which the text of input is the instruction such as " set " " withdrawing " " propulsion " commanders, in another example user is in record Chinese medicine
When formula, it may be desirable to the text of input is Chinese medicinal materials titles such as " Radix Angelicae Sinensis " " Radix Codonopsis " " tendril-leaved fritillary bulb ", in these usage scenarios,
Select the embodiment of the present invention that quickly and easily text input may be implemented.
Another flow diagram of text entry method provided in an embodiment of the present invention is shown referring to Fig. 3, Fig. 3, it can
To include:
S301 determines whether the application program that foreground is run is default application after receiving input method call instruction
Program.
It can be by transferring task manager, to determine whether the application program that foreground is run is default using journey
Sequence, default application program can be one or more pre-set application program, illustratively, can be what user specified
Multiple application programs, further, user can be by the way that application program to be added in default Application Column, are somebody's turn to do with specified
Application program is as default application program.For example, user application program A, application program B, application program C are added in advance it is pre-
If in the application list, mobile terminal calls internal task manager after receiving input method call instruction, before determining
Whether the application program that platform is run is the program preset in the application list.
S302, if the application program that foreground is run is default application program, in currently used showing interface common-use words
Soft keyboard, common-use words soft keyboard include virtual key, and the virtual key in common-use words soft keyboard is bound in advance character string.
The step is identical as S101, may refer to the description previously with regard to S101, details are not described herein.
S303, when monitoring for the input operation of virtual key in common-use words soft keyboard, determination and the void selected
The character string that quasi- key is mutually bound operates inputted character string as this input.
The step is identical as S102, may refer to the description previously with regard to S102, details are not described herein.Field is used some
Jing Zhong, the text that user wants input may and be not fixed, such as when user writes log, due to the warp of different people different time
Difference is gone through, therefore the text that user wants to input may and be not fixed, and may be not suitable in this case using common-use words soft key
Disk is inputted, and the embodiment is selected, and can provide selection for user, needs to carry out text by common-use words soft keyboard with selection
The application program of input can just show common-use words soft keyboard, make in user only in the case where user uses these application programs
In the case where with other applications, common-use words soft keyboard is not shown.So that text input method is more personalized.
Referring to fig. 4, Fig. 4 show text entry method provided in an embodiment of the present invention, may include:
S401 determines whether the application program that foreground is run is default application after receiving input method call instruction
Program executes S404, if the application program that foreground is run if the application program that foreground is run is default application program
It is not default application program, executes S402,
S402, it is determined whether the application program for being run foreground is needed to be set as default application program.
It can be and pop up acknowledgement window at currently used interface, acknowledgement window includes ACK button and cancel button, when
When user clicks ACK button, determines and the application program for being run foreground is needed to be set as default application program, when user's point
When hitting cancel button, determine that the application program for not needing to be run on foreground is set as default application program.
S403, if it is determined that need the application program for being run foreground to be set as default application program, show guidance circle
Face.
Wherein, guidance interface is used to that user to be guided to be configured to be set as presetting with the application program for being run foreground and answer
Use program.It can be and show guidance interface in a manner of window pop-up at currently used interface, be also possible to currently used boundary
Face switches to guidance interface.It may include text and/or picture in guidance interface, these texts and/picture are for prompting user
How to be configured, the application program that foreground is run is set as default application program.Illustratively, guidance interface can be with
As shown in Figure 5.
S404, in currently used showing interface common-use words soft keyboard, common-use words soft keyboard includes virtual key, and common-use words are soft
Virtual key in keyboard is bound in advance character string.
The step is identical as S101, may refer to the description previously with regard to S101, details are not described herein.
S405, when monitoring for the input operation of virtual key in common-use words soft keyboard, determination and the void selected
The character string that quasi- key is mutually bound operates inputted character string as this input.
The step is identical as S102, may refer to the description previously with regard to S102, details are not described herein.
Whether user may be it is not apparent how be configured, alternatively, forgetting by foreground for default application program
The application program run is set as default application program, selects the embodiment that can play the role of guide and prompt, so that
User can carry out text input better by common-use words soft keyboard.
Another flow diagram of text entry method provided in an embodiment of the present invention is shown referring to Fig. 6, Fig. 6, it can
To include:
S601 is read between virtual key and character string after receiving input method call instruction from configuration file
Binding relationship.
The configuration file can be one or more xml (Extensible Markup Language, extensible markup
Language) description file, xml describes file for common-use words soft keyboard to be described, in Android system xml file is described can be with
It is Keyboard class.
Further, can be from the corresponding configuration file of application program that foreground is run read virtual key with
Binding relationship between character string, illustratively, configuration file, can be according to targeted application programs not when being stored
Together, it is stored under different directories, such as the root of configuration file is res file, the corresponding configuration file of application program A
The storage path of A.xml is res A, and the storage path of the corresponding configuration file B.xml of application program B is res B, when foreground institute
When the application program of operation is application program B, read res B.xml in B, to obtain tying up between virtual key and character string
Determine relationship.A.xml and B.xml can be different to the description of common-use words soft keyboard, can also be identical.The embodiment is selected, it can be with
For the different common-use words soft keyboard of different application rollouts, user is when using different application programs, it is desirable to input
Text may be different, such as application program A is the video software with barrage function, and what user thought input may be some common
Barrage, such as " 666 " " front high energy ", and application program B is shopping class software, then what user wanted input may be " packet postal "
" favorable comment " etc. is usually used in the word of shopping, if common-use words soft keyboard include simultaneously with the binding of common barrage it is virtual by
Key, and be usually used in shopping word binding virtual key, when user use video application A when, those be usually used in
The virtual key of the word binding of shopping is really extra, and may cause that virtual key is excessive, and user is difficult to quickly look for
The virtual key needed to oneself, and the embodiment is selected to can solve this technical problem.
S602 shows common-use words soft keyboard, and the binding between virtual key and character string in the common-use words soft keyboard is closed
System, it is consistent with the binding relationship read from configuration file.
Wherein, the virtual key in common-use words soft keyboard and the binding between character string are crucial, read with from configuration file
The binding relationship got is consistent, refers to include all virtual keys described in configuration file in common-use words soft keyboard, and
And character string bound in these virtual keys, it is consistent with character string bound in these virtual keys in configuration file.
Illustratively, it is assumed that description has virtual key A, and virtual key A and character string " set " phase in configuration file
Mutually binding then includes virtual key A in the common-use words soft keyboard, and virtual key A and character string " set " are mutually bound.
S603, when monitoring for the input operation of virtual key in common-use words soft keyboard, determination and the void selected
The character string that quasi- key is mutually bound operates inputted character string as this input.
The step is identical as S102, may refer to the description previously with regard to S102, details are not described herein.
Another flow diagram of text entry method provided in an embodiment of the present invention is shown referring to Fig. 7, Fig. 7, it can
To include:
S701 is read between virtual key and character string after receiving input method call instruction from configuration file
Binding relationship.
The step is identical as S601, may refer to the description previously with regard to S601, details are not described herein.
S702 shows common-use words soft keyboard, and the binding between virtual key and character string in the common-use words soft keyboard is closed
System, it is consistent with the binding relationship read from configuration file.
The step is identical as S602, may refer to the description previously with regard to S602, details are not described herein.
S703, when monitoring for the input operation of virtual key in common-use words soft keyboard, determination and the void selected
The character string that quasi- key is mutually bound operates inputted character string as this input.
The step is identical as S102, may refer to the description previously with regard to S102, details are not described herein.
S704, after receiving character string adjustment instruction, by word bound in virtual key to be adjusted in configuration file
Symbol string is revised as character string after adjustment, and character string adjustment instruction includes character string after virtual key to be adjusted and adjustment.
Illustratively, user can be the setting button clicked in common-use words soft keyboard, and one is selected in set interface
Virtual key inputs character string after adjustment as virtual key to be adjusted, to generate character string adjustment instruction.It is understood that
It is that Fig. 7 is only a kind of flow diagram of text entry method provided in an embodiment of the present invention, in other embodiments, S704
It is also possible to carry out before S701, S702 or S703.
It is understood that even if different users may wish to input different texts under identical usage scenario,
Such as in gaming commander teammate gather when, some users may get used to " set ", and some users may get used to
" concentration " selects the embodiment, can permit the personal settings that user carries out depth to common-use words soft keyboard, so that common
Language soft keyboard is more in line with user and actually uses habit.
Referring to Fig. 8 a, Fig. 8 a show a kind of structural schematic diagram of text input device provided in an embodiment of the present invention, can
To include:
Display module 801, for after receiving input method call instruction, in currently used showing interface common-use words soft key
Disk, common-use words soft keyboard include virtual key, and the virtual key in common-use words soft keyboard is bound in advance character string;
Text selecting module 802, for when monitoring for the input operation of virtual key in common-use words software disk, really
The fixed character string mutually bound with the virtual key selected operates inputted character string as this input.
Further, display module 801 is also used to before currently used showing interface common-use words soft keyboard, before determining
Whether the application program that platform is run is default application program, if the application program that foreground is run is default application program,
It executes the currently used showing interface common-use words soft keyboard the step of.
Further, display module 801 is also used to determining whether the application program that foreground is run is default using journey
After sequence, if the application program that foreground is run is not default application program, it is determined whether need run foreground to answer
Default application program is set as with program, if it is determined that the application program for being run foreground is needed to be set as default using journey
Sequence shows that guidance interface, guidance interface are set as pre- for guiding user to be configured with the application program for being run foreground
If application program.
Further, text selecting module 802 is also used to determining the character string mutually bound with the virtual key selected,
After operating inputted character string as this input, the text that character string is sent to the application program that foreground is run is defeated
Enter window.
Further, display module 801 is also used to before currently used showing interface common-use words soft keyboard, from configuration
The binding relationship between virtual key and character string is read in file;
And the binding relationship between the virtual key and character string in the common-use words soft keyboard that display module 801 is shown
It is consistent with the binding relationship read from configuration file.
Further, display module 801 is specifically used for from the corresponding configuration file of application program that foreground is run
Read the binding relationship between virtual key and character string.
It further, as shown in Figure 8 b, can also include that key adjusts module 803, in currently used interface exhibition
After showing common-use words soft keyboard, after receiving character string adjustment instruction, character string adjustment instruction includes virtual key to be adjusted
With character string after adjustment, character string bound in virtual key to be adjusted is revised as character string after adjusting in configuration file.
The embodiment of the invention also provides a kind of electronic equipment, as shown in figure 9, include processor 901, communication interface 902,
Memory 903 and communication bus 904, wherein processor 901, communication interface 902, memory 903 are complete by communication bus 904
At mutual communication.
Memory 903, for storing computer program;
Processor 901 when for executing the program stored on memory 903, realizes following steps:
After receiving input method call instruction, in currently used showing interface common-use words soft keyboard, common-use words soft keyboard
Including virtual key, the virtual key in common-use words soft keyboard is bound in advance character string;
When monitoring for the input operation of virtual key in common-use words software disk, determination and the virtual key selected
The mutually character string of binding operates inputted character string as this input.
Further, before currently used showing interface common-use words soft keyboard, method further includes:
Determine whether the application program that foreground is run is default application program, if the application program that foreground is run is
Default application program is executed the currently used showing interface common-use words soft keyboard the step of.
Further, after determining whether application program that foreground is run is default application program, method further includes:
If the application program that foreground is run is not default application program, it is determined whether need run foreground to answer
Default application program is set as with program, if it is determined that the application program for being run foreground is needed to be set as default using journey
Sequence shows that guidance interface, guidance interface are set as pre- for guiding user to be configured with the application program for being run foreground
If application program.
Further, the character string mutually bound with the virtual key selected is being determined, it is defeated to input operation institute as this
After the character string entered, method further includes:
The character string is sent by the application program that foreground is run.
Further, before currently used showing interface common-use words soft keyboard, further include:
From the binding relationship read in configuration file between virtual key and character string;
The binding relationship between virtual key and character string in common-use words soft keyboard, and reads from configuration file
Binding relationship is consistent.
Further, from the binding relationship read in configuration file between virtual key and character string, including:
From tying up between reading virtual key and character string in the corresponding configuration file of application program that foreground is run
Determine relationship.
Further, after currently used showing interface common-use words soft keyboard, method further includes:
After receiving character string adjustment instruction, character string adjustment instruction includes character after virtual key to be adjusted and adjustment
Character string bound in virtual key to be adjusted is revised as character string after adjusting in configuration file by string.
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component
Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard
Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..For just
It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (Random Access Memory, RAM), also may include non-easy
The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also
To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit,
CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal
Processing, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing
It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete
Door or transistor logic, discrete hardware components.
In another embodiment provided by the invention, a kind of computer readable storage medium is additionally provided, which can
Read storage medium in be stored with instruction, when run on a computer so that computer execute it is any in above-described embodiment
Text entry method.
In another embodiment provided by the invention, a kind of computer program product comprising instruction is additionally provided, when it
When running on computers, so that computer executes text entry method any in above-described embodiment.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real
It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program
Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or
It partly generates according to process or function described in the embodiment of the present invention.The computer can be general purpose computer, dedicated meter
Calculation machine, computer network or other programmable devices.The computer instruction can store in computer readable storage medium
In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer
Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center
User's line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or
Data center is transmitted.The computer readable storage medium can be any usable medium that computer can access or
It is comprising data storage devices such as one or more usable mediums integrated server, data centers.The usable medium can be with
It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk
Solid State Disk (SSD)) etc..
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (10)
1. a kind of text entry method, which is characterized in that the method includes:
After receiving input method call instruction, in currently used showing interface common-use words soft keyboard, the common-use words soft keyboard
Including virtual key, the virtual key in the common-use words soft keyboard is bound in advance character string;
When monitoring for the input operation of virtual key in the common-use words software disk, determination and the virtual key selected
The mutually character string of binding operates inputted character string as this input.
2. the method according to claim 1, wherein described in currently used showing interface common-use words soft keyboard
Before, the method also includes:
Determine whether the application program that foreground is run is default application program, if the application program that foreground is run is described
Default application program executes described the currently used showing interface common-use words soft keyboard the step of.
3. according to the method described in claim 2, it is characterized in that, the application program run on the determining foreground whether be
After default application program, the method also includes:
If the application program that foreground is run is not the default application program, it is determined whether need run foreground to answer
The default application program is set as with program, if it is determined that the application program for being run foreground is needed to be set as described default
Application program shows guidance interface, the application journey that the guidance interface is used to guide user to be configured to be run foreground
Sequence is set as the default application program.
4. the method according to claim 1, wherein mutually being bound with the virtual key selected in the determination
Character string, after operating inputted character string as this input, the method also includes:
The character string is sent by the application program that foreground is run.
5. the method according to claim 1, wherein described in currently used showing interface common-use words soft keyboard
Before, the method also includes:
From the binding relationship read in configuration file between virtual key and character string;
The binding relationship between virtual key and character string in the common-use words soft keyboard, reads with from the configuration file
The binding relationship arrived is consistent.
6. according to the method described in claim 5, it is characterized in that, described read virtual key and character string from configuration file
Between binding relationship, including:
It is closed from the binding read in the corresponding configuration file of application program that foreground is run between virtual key and character string
System.
7. according to the method described in claim 5, it is characterized in that, described in currently used showing interface common-use words soft keyboard
Later, the method also includes:
After receiving character string adjustment instruction, the character string adjustment instruction includes character after virtual key to be adjusted and adjustment
Character string bound in the virtual key to be adjusted is revised as character string after the adjustment in the configuration file by string.
8. a kind of text input device, which is characterized in that described device includes:
Display module, it is described in currently used showing interface common-use words soft keyboard for after receiving input method call instruction
Common-use words soft keyboard includes virtual key, and the virtual key in the common-use words soft keyboard is bound in advance character string;
Text selecting module, for determining when monitoring for the input operation of virtual key in the common-use words software disk
The character string mutually bound with the virtual key selected operates inputted character string as this input.
9. a kind of electronic equipment, which is characterized in that including processor, communication interface, memory and communication bus, wherein processing
Device, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes method and step as claimed in claim 1 to 7.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium
Program, the computer program realize method and step as claimed in claim 1 to 7 when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810661872.0A CN108920074A (en) | 2018-06-25 | 2018-06-25 | Text input method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810661872.0A CN108920074A (en) | 2018-06-25 | 2018-06-25 | Text input method and device and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108920074A true CN108920074A (en) | 2018-11-30 |
Family
ID=64420768
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810661872.0A Pending CN108920074A (en) | 2018-06-25 | 2018-06-25 | Text input method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108920074A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111538418A (en) * | 2020-04-30 | 2020-08-14 | 中国银行股份有限公司 | Information input method and device |
CN112596619A (en) * | 2020-12-30 | 2021-04-02 | 珠海迈科智能科技股份有限公司 | Method and system for inputting custom character string through remote controller key |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004003786A1 (en) * | 2002-06-27 | 2004-01-08 | Hiroshi Ishikura | Sentence input system |
CN103529951A (en) * | 2012-07-05 | 2014-01-22 | 腾讯科技(深圳)有限公司 | Character input method and system |
CN107741820A (en) * | 2017-09-12 | 2018-02-27 | 维沃移动通信有限公司 | A kind of entering method keyboard display methods and mobile terminal |
-
2018
- 2018-06-25 CN CN201810661872.0A patent/CN108920074A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004003786A1 (en) * | 2002-06-27 | 2004-01-08 | Hiroshi Ishikura | Sentence input system |
CN103529951A (en) * | 2012-07-05 | 2014-01-22 | 腾讯科技(深圳)有限公司 | Character input method and system |
CN107741820A (en) * | 2017-09-12 | 2018-02-27 | 维沃移动通信有限公司 | A kind of entering method keyboard display methods and mobile terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111538418A (en) * | 2020-04-30 | 2020-08-14 | 中国银行股份有限公司 | Information input method and device |
CN112596619A (en) * | 2020-12-30 | 2021-04-02 | 珠海迈科智能科技股份有限公司 | Method and system for inputting custom character string through remote controller key |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2632144C1 (en) | Computer method for creating content recommendation interface | |
CN106612372B (en) | Message providing method and device and display control method and device | |
US9104439B2 (en) | Providing context-aware input data | |
CN103049169B (en) | The method and system realized by one or more hardware processors | |
EP2843529A1 (en) | Method for providing information based on contents and electronic device thereof | |
JP2017534115A (en) | Sweep and group tabs | |
EP2579152A1 (en) | Method and system to provide a user interface with respect to a plurality of applications | |
US20100306694A1 (en) | Inline variable range and target selector slider control | |
CN103597433A (en) | Techniques for zooming in and out with dynamic content | |
US9760278B2 (en) | Finger expressions for touch screens | |
MX2014003535A (en) | User interface for editing a value in place. | |
US8816966B2 (en) | Touchscreen japanese character selection through sliding input | |
CN107580013A (en) | The method and device of cross-domain request data | |
US20100235750A1 (en) | System, method and program product for a graphical interface | |
CN104462030B (en) | Character conversion equipment, character conversion method | |
JP2019021316A (en) | Method and system for processing highlighted comment in content | |
CN110390069A (en) | The method, apparatus of data check calculates equipment and medium | |
CN109634579A (en) | Code generating method, device, computer installation and storage medium | |
CN108920074A (en) | Text input method and device and electronic equipment | |
CN111026322A (en) | Keyboard layout method and device, electronic equipment and storage medium | |
JP7142961B2 (en) | multilingual keyboard system | |
CN109213551A (en) | A kind of user interface process method and device | |
CN107016013A (en) | information sharing method, device and system | |
CN107548494A (en) | context-sensitive phrase identification | |
WO2016086736A1 (en) | Input method based website information providing method and device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181130 |
|
RJ01 | Rejection of invention patent application after publication |