Summary of the invention
The disclosure provides a kind of mixed input method, device and electronic equipment suitable for input methods, can not cut
Under the premise of changing input method, the Mixed design of input methods is realized.
Other characteristics and advantages of the disclosure will be apparent from by the following detailed description, or partially by the disclosure
Practice and acquistion.
The one side of the disclosure provides a kind of mixed input method suitable for input methods, comprising:
Acquire the character string of interface of input method input;
Transmit the character string to predetermined quantity input method engine;
Obtain the candidate word list that the input method engine of the predetermined quantity returns;
The candidate word list that the input method engine of the predetermined quantity returns is shown simultaneously in the area Xuan Ci of input method.
In a kind of exemplary embodiment of the disclosure, the display input method engine return simultaneously in the area Xuan Ci of input method
Candidate word list includes:
After getting the candidate word list of every kind of input method engine return, the input method for combining the predetermined quantity is drawn
Hold up the candidate word list of return;
Combined candidate word list is shown in the area Xuan Ci of input method.
In a kind of exemplary embodiment of the disclosure, under the candidate word list shown by the area Xuan Ci of input method includes
Draw menu;The mixed input method further include:
Detection user clicks the operation of the drop-down menu;
When detecting that user clicks the drop-down menu, shown in the candidate word list in the interface of input method
Candidate word;
When detecting that user again taps on the drop-down menu, the display of the interface of input method is restored.
In a kind of exemplary embodiment of the disclosure, further includes:
Setting while the value volume and range of product for calling input method engine;
Initialization while the input method engine called;
According to the value volume and range of product for calling input method engine, the Show Styles of the interface of input method is converted;
According to the size for the quantity and the area Xuan Ci for calling input method engine, the candidate word that the area Xuan Ci is shown is adjusted
List quantity.
In the one side of the disclosure, a kind of Mixed design device suitable for input methods is provided, comprising:
Acquisition module, for acquiring the character string of interface of input method input;
Sending module, the input method engine for transmitting the character string to predetermined quantity;
Module is obtained, the candidate word list that the input method engine for obtaining the predetermined quantity returns;
First display module, for showing that the input method engine of the predetermined quantity returns simultaneously in the area Xuan Ci of input method
Candidate word list.
In a kind of exemplary embodiment of the disclosure, first display module includes:
Assembled unit, the candidate word list that the input method engine for combining the predetermined quantity returns;
Display unit, for showing combined candidate word list in the area Xuan Ci of input method.
In a kind of exemplary embodiment of the disclosure, under the candidate word list shown by the area Xuan Ci of input method includes
Draw menu;The Mixed design device further include:
Detection module clicks the operation of the drop-down menu for detecting user;
Second display module, when detect user click the drop-down menu when, shown in the interface of input method described in
All candidate words of candidate word list;
When detecting that user again taps on the drop-down menu, the display of the interface of input method is restored.
In a kind of exemplary embodiment of the disclosure, further includes:
Setting module, for setting while calling the quantity of input method engine;
Initialization module, the input method engine for initializing while calling;
Third display module converts the display of the interface of input method according to the value volume and range of product for calling input method engine
Pattern;
4th display module is adjusted according to the size for the quantity and the area Xuan Ci for calling input method engine in input method
The quantity for the candidate word list that the area Xuan Ci is shown.
In the one side of the disclosure, a kind of mixed input method suitable for input methods is provided, comprising:
Acquire the character string of interface of input method input;
Transmit the character string to predetermined quantity input method engine;
The matched candidate word of character string described in input method engine is inquired, and returns to candidate word list;
Obtain the candidate word list that the input method engine of the predetermined quantity returns;
The candidate word list that the input method engine of the predetermined quantity returns is shown simultaneously in the area Xuan Ci of input method.
In the one side of the disclosure, a kind of electronic equipment is provided, comprising:
Processor;
For storing the memory of input method engine and processor-executable instruction,
Wherein, the processor is configured to:
Acquire the character string of interface of input method input;
Transmit the character string to predetermined quantity and type input method engine;
Obtain the candidate word list that the input method engine of the predetermined quantity returns;
The candidate word list that the input method engine of the predetermined quantity returns is shown simultaneously in the area Xuan Ci of input method.
It can be realized more under the premise of not switching input method according to the mixed input method of the input methods of the disclosure
The Mixed design of kind input method.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited
It is open.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes
Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will more
Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Attached drawing is only the disclosure
Schematic illustrations, be not necessarily drawn to scale.Identical appended drawing reference indicates same or similar part in figure, thus
Repetition thereof will be omitted.
In addition, described feature, structure or characteristic can be incorporated in one or more implementations in any suitable manner
In mode.In the following description, many details are provided to provide and fully understand to embodiment of the present disclosure.So
And it will be appreciated by persons skilled in the art that one in the specific detail can be omitted with technical solution of the disclosure
Or more, or can be using other methods, constituent element, system, step etc..In other cases, it is not shown in detail or describes
Known features, method, system, realization, material or operation are to avoid a presumptuous guest usurps the role of the host and all aspects of this disclosure is made to become mould
Paste.
Some block diagrams shown in the drawings are functional entitys, not necessarily must be with physically or logically independent entity phase
It is corresponding.These functional entitys can be realized using software form, or in one or more hardware modules or integrated circuit in fact
These existing functional entitys, or these functions reality is realized in heterogeneous networks and/or processor system and/or micro controller system
Body.
Embodiment described in following exemplary embodiment does not represent all embodiment party consistented with the present invention
Formula.On the contrary, they are only consistent with some aspects of the invention as detailed in the appended claims system and side
The example of method.
Fig. 1 schematically shows the stream of the mixed input method suitable for input methods according to disclosure example embodiment
Cheng Tu.
As shown in Figure 1, the mixed input method suitable for input methods of the invention includes the following steps:
Step S110: the character string of acquisition interface of input method input.
Described interface of input method can be virtual soft disk, physical keyboard or handwriting pad in the present invention.Below with input
To be illustrated for virtual soft disk, physical keyboard, handwriting pad can also refer to example and carry out corresponding operating at method interface.It is virtual soft
The pattern of keyboard can be nine grids keyboard, qwerty keyboard etc..The correspondence key that user clicks on virtual soft disk can produce
Raw a string of character strings.Character string corresponds to different candidate words in different input method engines.
Step S120: the input method engine of transmission character string to predetermined quantity.
User wishes that the input method engine quantity used simultaneously can be preset.For example, user wants while utilizing spelling
Phonetic input method and stroke input method are inputted.In the step s 120, when using input method, key information can be passed successively user
It send to spelling input method engine and stroke input method engine.The corresponding input method engine for receiving character string is inquired in engine
Matched candidate word, and generate candidate word list.The input method engine quantity used simultaneously in the present embodiment is not limited to two
Kind, can select more kinds of input method engines according to actual needs, such as five-stroke input method engine, English input method engine and
Hand-writing input method engine etc., the present invention is not limited thereto.
Step S130: the candidate word list that the input method engine of predetermined quantity returns is obtained.
Include in the candidate word list that input method engine returns in the present invention and the matched candidate word of character string, the present invention
The candidate word of middle meaning is not limited to phrase, can also include the candidate word for indicating single character.Every kind of called input method
Engine can return to candidate word list corresponding with character string.For example, user wants while utilizing spelling input method and pen
It draws input method to be inputted, spelling input method engine and stroke input method engine can return to correspondingly candidate word list.
Step S140: in the area Xuan Ci of the input method candidate word list that display input method engine returns simultaneously.
The area Xuan Ci of input method can divide multiple regions according to the input method engine quantity of calling.For example, ought adjust simultaneously
When with spelling input method engine and stroke input method engine, the area Xuan Ci of input method can be divided into two regions, to show respectively
Show the candidate word list that spelling input method engine and stroke input method engine return.
The character string that same keyboard inputs is respectively transmitted to multiple input method engines by the present invention, obtains different input methods
The candidate word list that engine returns, realizes the Mixed design of different input methods.When user is inputted using input methods, inputted
Cheng Wuxu switches input method or enters each input method mode by special operation, improves input speed.
In step S140, in the area Xuan Ci of input method, the candidate word list that display input method engine returns simultaneously is specifically wrapped
It includes:
Step 1): after getting the candidate word list of every kind of input method engine return, the predetermined quantity is combined
The candidate word list that input method engine returns;
Step 2): combined candidate word list is shown in the area Xuan Ci of input method.
User can according to actual needs, preset the value volume and range of product of the input method engine of calling.
Input method soft keyboard interface can be changed according to the input method engine value volume and range of product for presetting calling.With touching
It touches for shielding nine grids spelling input method and stroke input method, it is assumed that default input method is nine grids spelling input method, then soft key
Disk interface is as shown in Figure 2.And after selecting while using stroke input method, soft keyboard styles can change as such as Fig. 3
Shown in pattern.The code character of spelling input method and stroke input method is shown on the key of soft keyboard.
Interface of input method is also not limited to keyboard mode, such as can be handwriting pad, and default input method is that Chinese handwritten is defeated
Enter method, then hand-written board interface is as shown in Figure 4.And after selecting while using Korean hand-writing input method, handwriting pad styles
It can change as pattern as shown in Figure 5.Using hand-writing input method, the generation of candidate word list and display mode be can refer to
Step is stated, details are not described herein.
In the exemplary embodiment, by taking the soft keyboard interface of pattern shown in Fig. 3 successively click keys " 32325 " as an example,
Then the area Xuan Ci of the input method above soft keyboard interface shows two column candidate word lists, and left side corresponds to the candidate of spelling input method
List, right side correspond to the candidate list of stroke input method, as shown in Figure 6.In order to not influence viewing area size, input method selects word
Area should not be too large, and the candidate list of spelling input method only shows two common candidate words in the present embodiment, right in candidate list
Other candidate words of above-mentioned coding are answered to be hidden.For example, the candidate list of the spelling input method in left side shows that candidate word is " flourishing
", " dismissing ".The candidate list of the stroke input method on right side shows candidate word " stupid ", " one hundred ", " in order to ".
In the exemplary embodiment, the key of expansion drop-down menu is all had in the candidate word list of Fig. 3.When the user clicks
When the key of the drop-down menu of one candidate word list, in the candidate word that the soft keyboard interface display candidate word list is hidden.Example
Such as, when the candidate word in the candidate list that user will choose spelling input method, and there is no users to want input in the area Xuan Ci
When candidate word, user can click the drop-down menu key of the candidate list of spelling input method, the time for keeping candidate word list hiding
Word is selected to be shown at soft keyboard interface, the candidate list of the spelling input method of expansion is as shown in Figure 7.When user again taps on down
When drawing the key of menu, the key area of interface of input method is restored, the part candidate word in candidate word list is hidden again.When
When user will choose the candidate word in the candidate list of stroke input method, user can also be with the candidate list of click stroke input method
Drop-down menu key, the candidate word for keeping candidate word list hiding shown at soft keyboard interface, the spelling input method of expansion
Candidate list it is as shown in Figure 8.When user again taps on the key of drop-down menu, the key area of interface of input method is restored,
Part candidate word in candidate word list is hidden again.Therefore, the present embodiment shows that more candidate words arrange by software interface
Candidate word in table selects word to operate convenient for user, improves the input efficiency of input method.
In above-described embodiment, Selection and call input method engine only includes spelling input method and stroke input method, is returned
Candidate word list quantity takes up space less, and whole candidate word lists have no effect in candidate word list and wait when the area Xuan Ci is shown
Select the display of word.
In exemplary implementation, the candidate word list quantity that the area Xuan Ci is shown can according to call input method engine number
Amount and the size in the area Xuan Ci dynamic adjust.When call input method engine quantity it is more, candidate word list totality institute duty
Between be much larger than the area Xuan Ci size when, can by the candidate word list for the input method engine that drop-down menu hidden parts are of little use,
To guarantee the display of the area Xuan Ci candidate word list.
Fig. 9 schematically shows the flow chart of the concrete instance of the mixed input method suitable for input methods based on Fig. 1.
As shown in figure 9, mixed input method includes:
1) assume that input method has been arranged also to call N kind input method engine, then need while initializing in initialization
This N kind input method engine.
2) for user when using input method, key information, which can be sequentially transmitted, gives this N kind input method engine.
3) each input method engine can carry out the lookup in engine according to the key information combination that accumulation receives, and will matching
To candidate word be organized into list return.
4) after interface of input method receives the candidate word list that this N kind input method engine returns, group is needed according to interface layout
The display for knitting candidate word list is selected for user.
5) after user selects desired candidate word, it is repeatable 2)~5) the step of continue to input.
6) as without inputting again, then closed input method, terminating this input.
Figure 10 is schematically shown according to the mixed input method suitable for input methods of disclosure example embodiment
Flow chart.
As shown in Figure 10, include: suitable for the mixed input method of input methods
Step S210: the character string of acquisition interface of input method input.
Step S220: transmit the character string to predetermined quantity input method engine.
Step S230: the matched candidate word of character string described in inquiry input method engine, and return to candidate word list.Its
In, the matched candidate word of character string has been preset in input method engine, and it is not necessary to modify input method engines for the present embodiment
The dictionary or coding mode of input method engine in the prior art can be directly used in dictionary or coding mode etc., therefore will not
Increase the realization difficulty of single input method.
Step S240: the candidate word list that the input method engine of the predetermined quantity returns is obtained.
Step S250: in the area Xuan Ci of the input method candidate word list that display input method engine returns simultaneously.
Figure 11 is schematically shown according to the Mixed design device suitable for input methods of disclosure example embodiment
Structure chart.
As shown in figure 11, include: acquisition module 310 suitable for the Mixed design device of input methods, be used to acquire defeated
Enter the character string of method interface input;Sending module 320, the input method for being used to transmit the character string to predetermined quantity are drawn
It holds up;Module 330 is obtained, is used to obtain the candidate word list that the input method engine of the predetermined quantity returns;Display module
340, it is used for the area the Xuan Ci candidate word list that display input method engine returns simultaneously in input method.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, no detailed explanation will be given here.
Figure 12 schematically shows the structure chart of the electronic equipment according to disclosure example embodiment.
Electronic equipment, comprising: processor;For storing input method engine 410 and processor executable program (Mixed design
Device 420) memory.Wherein, Mixed design device 420 includes: acquisition module 4201, is used to acquire interface of input method defeated
The character string entered;Sending module 4202, be used to transmit the character string to predetermined quantity input method engine;Obtain mould
Block 4203 is used to obtain the candidate word list that the input method engine of the predetermined quantity returns;Display module 4204, is used for
In the area Xuan Ci of the input method candidate word list that display input method engine returns simultaneously.Processor is configured as executing executable journey
Sequence.Input method engine 410 is used to inquire the matched candidate word of character string described in input method engine, and returns to candidate word
List.Wherein, the matched candidate word of character string has been enter into method engine and presets in input method engine, and the present embodiment is simultaneously
It does not need to carry out any modification to input method engine.The input method engine quantity of electronic equipment storage is not limited to institute in figure
Show, more different types of input method engines can be stored according to actual needs, the present invention is not limited thereto.
About the system in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, no detailed explanation will be given here.
In the exemplary embodiment, the electronic equipment can be server, desktop computer, tablet computer or other intelligence
Energy type electronic device, including communication device, processor, storage device, display and input unit.Wherein, communication device,
Storage device, display and input unit are connected to processor to receive the control of processor.
Communication device can be near-field communication (NFC) module with short range communication function, radio frequency identification (RFID) mould
The short range communications module chip such as block or bluetooth (Bluetooth) module.Processor can be then the major calculations in user terminal
Core, for example, central processing unit (CPU), embedded controller (EC) or Digital System Processor (DSP), or be designed to
It is exclusively used in the special integrated chip (ASIC) or field programmable gate chip (FPGA) of processing page flow data statistics.
In exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction is additionally provided, such as
Memory including instruction, above-metioned instruction can be executed by the processor of electronic equipment to complete the above method.Non- face for example, described
When property computer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and light data
Store equipment etc..
Other contents are with reference to the content in foregoing invention embodiment in the embodiment of the present invention, and details are not described herein.
Fig. 1 and Figure 10 shows the stream of the mixed input method suitable for input methods according to disclosure example embodiment
Cheng Tu.This method can for example using the input methods as shown in Figure 11, Figure 12 Mixed design device and electronic equipment realize,
But the present disclosure is not limited thereto.It should be noted that Fig. 1 and 10 is only according to included by the method for disclosure example embodiment
Processing schematically illustrates, rather than limits purpose.It can be readily appreciated that processing shown in Fig. 1 and 10 does not indicate or limits these
The time sequencing of processing.In addition, be also easy to understand, these processing can be it is synchronous for example in multiple module/process/threads or
Asynchronous execution.
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented
Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the disclosure
The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one
Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating
Equipment (can be personal computer, server, mobile terminal or network equipment etc.) is executed according to disclosure embodiment
Method.
Technical solution of the present invention has the advantage that relative to existing scheme
1) user can use input methods simultaneously, without switching between each input method or by special behaviour
Make to enter each input method mode.
2) the realization difficulty of single input method is not increased, and it is not necessary to modify dictionary or coding modes etc..
3) the unnecessary input method engine of user installation and dictionary are not strictly required.
4) it can freely configure, infinite expanding, can support any input methods engine simultaneously, preferably two kinds or three kinds,
User can be freely combined.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or
Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following
Claim is pointed out.
It is particularly shown and described the illustrative embodiments of the disclosure above.It should be appreciated that the disclosure is unlimited
In detailed construction described herein, set-up mode or implementation method;On the contrary, disclosure intention covers included in appended claims
Spirit and scope in various modifications and equivalence setting.