CN105589575A - Input method invoking method and device - Google Patents

Input method invoking method and device Download PDF

Info

Publication number
CN105589575A
CN105589575A CN201511000879.0A CN201511000879A CN105589575A CN 105589575 A CN105589575 A CN 105589575A CN 201511000879 A CN201511000879 A CN 201511000879A CN 105589575 A CN105589575 A CN 105589575A
Authority
CN
China
Prior art keywords
input
input method
identification information
frame
input frame
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.)
Granted
Application number
CN201511000879.0A
Other languages
Chinese (zh)
Other versions
CN105589575B (en
Inventor
闫昊
余明阳
李明浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201511000879.0A priority Critical patent/CN105589575B/en
Publication of CN105589575A publication Critical patent/CN105589575A/en
Application granted granted Critical
Publication of CN105589575B publication Critical patent/CN105589575B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements 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/0233Character input methods
    • G06F3/0237Character input methods using prediction or retrieval techniques

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)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to an input method invoking method and device. The method comprises the following steps: receiving an input operation instruction of a user on a target input box on an operation interface of a target application; responding to the input operation instruction so as to obtain identification information of the target input box; judging whether input method type information related to the identification information of the target input box is recorded in an input method type database or not by inquiring the input method type database; and invoking an input method according with the input method type information when the input method type information related to the identification information of the target input frame is recorded in the input method type database. Therefore, the problem that the user is necessary to manually change the type of the input method at each time due to the fact that a system invokes a default type input method, which does not accord with user requirements, at each time when the user performs input operation in the same input box for many times in the related technology can be solved; user operation is simplified; and the method is user-friendly.

Description

Input method call method and device
Technical field
The disclosure relates to intelligent terminal field, relates in particular to a kind of input method call method and device.
Background technology
A few days ago, the use of intelligent terminal is more and more general. When user carries out on intelligent terminalWhen input operation, often run into the situation that repeats to call input method input at same input frame. In intelligenceIn the operating system of terminal device, can provide an API (ApplicationProgrammingInterface, application programming interface) interface, by this api interface, can select the defeated of ejectionEntering the input type of method, for example, is English input method, Chinese character coding input method or digital inputting method. But,Some APP (application, application program) that install on intelligent terminal may be not initiativelySuitable input type is set, and this just causes in the time inputting in the input frame of user at this APP,System is directly called the input method of default type, for example, and Chinese character coding input method. And if this input frame connectsWhen the type of the input content being subject to is not mated with the input type of this input method, for example, input frame is only acceptedNumeral input, but system gives tacit consent to and called Pinyin Input, needs user manually to adjust and change inputThe input type of method. And, if when user again carries out input operation in same input frame in the future,System is still called the input method of default type, causes user's needs again manually to change the input class of input methodType, it is very loaded down with trivial details that this operates user, for user makes troubles.
Summary of the invention
For overcoming the problem existing in correlation technique, the disclosure provides a kind of input method call method and dressPut.
According to the first aspect of disclosure embodiment, provide a kind of input method call method, described method bagDraw together: receive user's entering the operating instructions the target input frame on the operation interface of intended application; ResponseEnter the operating instructions in described, obtain the identification information of described target input frame; By inquiry input method classType database, judges the mark whether having recorded in described input method types of database with described target input frameThe input method type information that knowledge information is associated; When having recorded in input method types of database and described targetWhen input method type information that the identification information of input frame is associated, call and meet described input method type letterThe input method of breath.
Alternatively, described in obtain the identification information of described target input frame, comprising: obtain by described targetThe arborescence that whole view control of application form, wherein, each described view control and described arborescenceIn node corresponding one by one; Position according to the corresponding node of described target input frame in described arborescencePut, for described target input frame is encoded; Obtain the coding of described target input frame as described targetThe identification information of input frame.
Alternatively, described in obtain the identification information of described target input frame, also comprise: judge described targetWhether input frame has predefined mark; And described in obtain the whole view controls by described intended applicationThe step of the arborescence that part forms is: in the time that described target input frame does not have predefined mark, obtainThe arborescence being formed by whole view control of described intended application.
Alternatively, described in obtain the identification information of described target input frame, also comprise: when described target defeatedWhen entering frame and thering is predefined mark, obtain the mark of described predefined mark as described target input frameKnowledge information.
Alternatively, described method also comprises: when in input method types of database, record is not defeated with described targetWhile entering the input method type information that the identification information of frame is associated, call the input method of preset kind.
Alternatively, described method also comprises: calling after the input method of preset kind, receiving user to instituteState the feedback information of the input method of preset kind; When representing user, described feedback information changes described presettingWhen the input method of type, obtain the type information of the input method after replacing; By the mark of described target input frameThe type information of the input method after knowledge information and described replacing is associated, and utilizes the described target after associationThe type information of the input method after the identification information of input frame and described replacing upgrades described input method typeDatabase.
Alternatively, in described input method types of database, store at least one record, every record comprisesThe identification information of input frame, be used to indicate information that whether described identification information is predefined mark andThe input method type information that described identification information is associated; And described method also comprises: in described targetAfter application is updated, remove in described input method types of database, meet the identification information of described input frameNot for predefining the record of the condition identifying.
According to the second aspect of disclosure embodiment, provide a kind of input method calling device, described device bagDraw together: command reception module, is configured to receive user to the target input on the operation interface of intended applicationEntering the operating instructions of frame; Identification information acquisition module, is configured to enter the operating instructions in response to described,Obtain the identification information of described target input frame; Judge module, is configured to by inquiry input method typeDatabase, judges the mark whether having recorded in described input method types of database with described target input frameThe input method type information that information is associated; The first calling module, is configured to when input method categorical dataWhile having recorded the input method type information being associated with the identification information of described target input frame in storehouse, callMeet the input method of described input method type information.
Alternatively, described identification information acquisition module comprises: arborescence obtains submodule, is configured to obtainGet the arborescence being formed by whole view control of described intended application, wherein, each described view controlCorresponding one by one with the node in described arborescence; Coding submodule, is configured to according to described target inputThe position of the corresponding node of frame in described arborescence, for described target input frame is encoded; FirstIdentification information obtains submodule, and the coding that is configured to obtain described target input frame is defeated as described targetEnter the identification information of frame.
Alternatively, described identification information acquisition module also comprises: judge submodule, be configured to judge instituteState target input frame and whether there is predefined mark; And described arborescence obtains submodule, be configuredFor in the time that described target input frame does not have predefined mark, obtain by the whole of described intended application and lookThe arborescence that figure control forms.
Alternatively, described identification information acquisition module also comprises: the second identification information obtains submodule, quiltBe configured in the time that described target input frame has predefined mark, obtain described predefined mark conductThe identification information of described target input frame.
Alternatively, described device also comprises: the second calling module, is configured to when input method categorical dataWhile not recording the input method type information not being associated with the identification information of described target input frame in storehouse, callThe input method of preset kind.
Alternatively, described device also comprises: feedback information receiver module, is configured to calling default classAfter the input method of type, receive the feedback information of the input method of user to described preset kind; Type information obtainsDelivery piece, is configured to represent that when described feedback information user has changed the input method of described preset kindTime, obtain the type information of the input method after replacing; More new module, is configured to described target inputThe type information of the input method after the identification information of frame and described replacing is associated, and utilizes the institute after associationThe type information of stating the input method after identification information and the described replacing of target input frame upgrades described inputMethod types of database.
Alternatively, in described input method types of database, store at least one record, every record comprisesThe identification information of input frame, be used to indicate information that whether described identification information is predefined mark andThe input method type information that described identification information is associated; And described device also comprises: remove module,Be configured to after described intended application is updated, remove in described input method types of database, meet instituteState the identification information of input frame not for predefining the record of the condition identifying.
According to the third aspect of disclosure embodiment, provide a kind of input method calling device, described device bagDraw together: processor; For the memory of storage of processor executable instruction; Wherein, described processor is joinedBe set to: receive user's entering the operating instructions the target input frame on the operation interface of intended application; RingDescribed in Ying Yu, enter the operating instructions, obtain the identification information of described target input frame; By inquiry input methodTypes of database, judges in described input method types of database, whether to have recorded with described target input frameThe input method type information that identification information is associated; When having recorded in input method types of database and described orderMark input frame identification information be associated input method type information time, call and meet described input method typeThe input method of information.
According to the fourth aspect of disclosure embodiment, provide a kind of non-provisional computer-readable storage mediumMatter, in the time that the instruction in described storage medium is carried out by the processor of terminal device, makes terminal device energyEnough carry out a kind of input method call method, described method comprises: receive operation circle of user to intended applicationEntering the operating instructions of target input frame on face; Enter the operating instructions in response to described, obtain described orderThe identification information of mark input frame; By inquiry input method types of database, judge described input method number of typesAccording to whether having recorded the input method type information being associated with the identification information of described target input frame in storehouse;When having recorded the input being associated with the identification information of described target input frame in input method types of databaseWhen method type information, call the input method that meets described input method type information.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: carry by the disclosureInput method call method and the device of confession, can solve in correlation technique when user is repeatedly at same input frameWhile carrying out input operation, the input of at every turn all calling the default type that does not meet user's request due to systemMethod, and make user all need the problem of the type of manually changing this input method at every turn. If user once existedThis input frame carried out input operation, so, and just can recording user pair in input method types of databaseThe input method type that this input frame uses. Like this, when user carries out input operation at this input frame againTime, system can meet the input method of the input method type of record before by Automatically invoked, and manual without userAdjust, in meeting consumers' demand, simplify user's operation, be user-friendly to.
Should be understood that, it is only exemplary and explanatory that above general description and details are hereinafter described, can not limit the disclosure.
Brief description of the drawings
Accompanying drawing is herein merged in description and forms the part of this description, shows and meets these public affairsThe embodiment opening, and be used from and explain principle of the present disclosure with description one.
Fig. 1 is according to the flow chart of a kind of input method call method shown in an exemplary embodiment.
Fig. 2 A is the application scenarios signal in the time that the input method call method providing in correlation technique is providedFigure.
Application scenarios schematic diagram when Fig. 2 B is the input method call method providing at enforcement Fig. 1 embodiment.
Fig. 3 is according to the flow chart of a kind of input method call method shown in another exemplary embodiment.
Fig. 4 shows the schematic diagram of the arborescence being made up of View control.
Fig. 5 shows the arborescence after node is encoded.
Fig. 6 is according to the flow chart of a kind of input method call method shown in another exemplary embodiment.
Fig. 7 is according to the flow chart of a kind of input method call method shown in another exemplary embodiment.
Fig. 8 A to Fig. 8 C is according to the frame of a kind of input method calling device shown in an exemplary embodimentFigure.
Fig. 9 is according to the block diagram of a kind of input method calling device shown in an exemplary embodiment.
Detailed description of the invention
Here will at length describe exemplary embodiment, its sample table shows in the accompanying drawings. BelowWhen description relates to accompanying drawing, unless separately there is expression, the same numbers in different accompanying drawings represents same or analogousKey element. Embodiment described in following exemplary embodiment does not represent the institute consistent with the disclosureThere is embodiment. On the contrary, they be only with as that described in detail in appended claims, of the present disclosure oneThe example of the consistent apparatus and method in a little aspects.
Fig. 1 is according to the flow chart of a kind of input method call method shown in an exemplary embodiment. Wherein,The method can be applied to terminal device, described terminal device can be for example smart mobile phone, panel computer,Personal digital assistant (PDA), PC, notebook computer etc. As shown in Figure 1, the method canComprise the following steps.
In step S101, reception user is defeated to the target input frame on the operation interface of intended applicationEnter operational order.
On terminal device, multiple application can be installed, for example, the application of shopping class, the application of music class,Video class application etc. Intended application is an application in described multiple application. At an embodimentIn, the application that user can be worked as to front opening operation is as intended application. In operation circle of intended applicationOn face, can present at least one input frame. User can be in input frame input content. Target inputFrame can be one of them at least one input frame presenting on operation interface. At an embodimentIn, the input frame that user is desirably in to input content is wherein as target input frame. When user clicks this orderWhen mark input frame, terminal device can receive due to entering the operating instructions that this clicking operation generates.
In step S102, in response to entering the operating instructions, obtain the identification information of target input frame.
In an application program, generally include multiple views (View) control, input frame is these ViewWherein one in control. In one embodiment, each View control can have predefinedMark, and the predefined mark of each View control is unique. Predefining of View controlMark can be used as a property element and be included in the property set of this View control, in this property setCan also comprise other property elements, for example, control type, size etc. Terminal device canGet the predefined mark of this target input frame by detecting the property set of target input frame. ThisSample, after receiving and entering the operating instructions, terminal device can obtain this target input in the manner described aboveThe predefined mark of frame, and identification information using this predefined mark as target input frame.
By for the pre-defined mark of View control, can make the identification information of View control to protectHold and immobilize, even intended application is updated or upgrades in the future, original View in intended applicationThe identification information of control also can remain unchanged.
In step S103, by inquiry input method types of database, judge this input method categorical dataIn storehouse, whether record the input method type information being associated with the identification information of target input frame.
In the time that user carries out input operation on the input frame in intended application first, terminal device can be recordedThe type of the input method that user uses in the time of input, like this, terminal device can be by the class of this input methodType is associated with the identification information of this input frame, and in input method types of database, adds a record,The input method type information that this record has comprised the identification information of this input frame and has been associated. Pass throughThis mode can be stored the mark about multiple input frames of intended application in input method types of databaseThe record of knowledge information and the input method type information that is associated.
Like this, when getting after the identification information of target input frame, first terminal device can utilize this orderThe identification information inquiry input method types of database of mark input frame, to judge in this input method types of databaseWhether record the input method type information being associated with the identification information of target input frame. For example, terminalFirst equipment can travel through the identification information of each input frame of storing in input method types of database, to sentenceThe disconnected identification information matching with the identification information of target input frame that whether exists, if exist, can be trueIn fixed this input method types of database, record the input method being associated with the identification information of target input frameType information, otherwise, if do not exist, can determine in this input method types of database and not record and orderThe input method type information that the identification information of mark input frame is associated.
In step S104, when the mark having recorded in input method types of database with target input frame is believedWhen the input method type information of manner of breathing association, call the input method that meets this input method type information.
When having recorded the input being associated with the identification information of target input frame in input method types of databaseWhen method type information, represent that user once carried out input operation in same input frame, and terminalEquipment can get the input method type information that user uses at that time. Owing to being same input frame, because ofThis, have the identical requirement to input method type. Now, terminal device can meet this by Automatically invokedThe input method of input method type information, is used for user. Like this, manually adjust input method without userType, the input method that user recalls by terminal device can directly be inputted in target input frameOperation, so, not only meets the requirement of target input frame to input method type, can also simplify userOperation, is user-friendly to.
In sum, by above-mentioned input method call method, can solve in correlation technique and work as user repeatedlyIn the time that same input frame carries out input operation, because system is all called the acquiescence that does not meet user's request at every turnThe input method of type, and make user all need the problem of the type of manually changing this input method at every turn. IfUser once carried out input operation at this input frame, so, in input method types of database, just couldThe input method type that recording user uses this input frame. Like this, when user enters at this input frame againWhen row input operation, system can meet the input method of the input method type of record before by Automatically invoked, and nothingNeed user manually to adjust, in meeting consumers' demand, simplify user's operation, be user-friendly to.
Fig. 2 A is the application scenarios signal in the time that the input method call method providing in correlation technique is providedFigure, and Fig. 2 B is that application scenarios in the time implementing the input method call method that Fig. 1 embodiment provides showsIntention. First, suppose that user once carried out input operation in the input frame 101 of intended application. That, as shown in Figure 2 A, in correlation technique, when user wants the input frame 101 in intended application againWhen middle input content, it clicks input frame 101, and terminal device 100 can call the spelling input method of acquiescence,But this input frame 101 is only accepted numeral input, therefore, just needs user manually to adjust input method classType, to meet the input requirements of input frame 101. What provide in the application disclosure as shown in Figure 2 B, is defeatedWhile entering method call method, in the time that user wants again in input frame 101 input content, it clicks inputFrame 101, terminal device 100 meeting Automatically invoked digital inputting methods, user can be directly defeated by this numeralEnter method and in input frame 101, carry out input operation.
Fig. 3 is according to the flow chart of a kind of input method call method shown in another exemplary embodiment. ItsIn, the method can be applied to terminal device, and described terminal device can be for example smart mobile phone, flat boardComputer, personal digital assistant (PDA), PC, notebook computer etc. As shown in Figure 3, the partyMethod can comprise the following steps.
In step S301, reception user is defeated to the target input frame on the operation interface of intended applicationEnter operational order.
In step S302, enter the operating instructions in response to this, obtain the whole views by intended applicationThe arborescence that control forms, wherein, each view control is corresponding one by one with each node in arborescence.
As mentioned above, an application program can comprise multiple View controls. Can be according to these ViewThe hierarchic sequence of control, constructs tree structure figure. Fig. 4 shows the tree being made up of View controlThe schematic diagram of shape figure. In this arborescence, can comprise multiple nodes, wherein, each node and eachView control is corresponding one by one, that is, each node represents a View control.
In step S303, the position according to the corresponding node of target input frame in arborescence, forThis target input frame is encoded.
Under normal circumstances, the relative position of View control in View arborescence fixed, therefore,Can be according to the corresponding node of certain View control the position in arborescence, obtain this View controlThe identification information of part. In an example embodiment, can be with coming for tree by tree degree of depth ergodic algorithmNode in shape figure carries out unique coding.
Fig. 5 shows the arborescence after node is encoded. As shown in Figure 5, in this arborescence,Node can be divided into N (N >=1) level node. The node 501 that is positioned at the first order can be called root node,The node being connected with root node can be two-level node, for example, and node 502,503 and 504, more down,The node being connected with each two-level node can be three grades of nodes, for example, and node 505-node 509, etc.Deng. Can encode for each node according to the position relationship of node. For example, as shown in Figure 5,Being encoded to of node 501 correspondences " 0 ", node 502 correspondences be encoded to " 0-1 ", node 503 correspondencesBe encoded to " 0-2 ", being encoded to of node 504 correspondences " 0-3 ", being encoded to of node 505 correspondences" 0-1-1 ", being encoded to of node 506 correspondences " 0-1-2 ", being encoded to of node 507 correspondences " 0-2-1 ",Being encoded to of node 508 correspondences " 0-2-2 ", being encoded to of node 509 correspondences " 0-3-1 ".
Hypothetical target input frame is corresponding node 507 in arborescence, being encoded to of this target input frame“0-2-1”。
In step S304, obtain the coding of this target input frame as the mark letter of this target input frameBreath.
In step S305, by inquiry input method types of database, judge this input method categorical dataIn storehouse, whether record the input method type information being associated with the identification information of target input frame.
In step S306, when the mark having recorded in input method types of database with target input frame is believedWhen the input method type information of manner of breathing association, call the input method that meets this input method type information.
Input method call method shown in Fig. 3 provides the another kind of identification information that obtains target input frameMode. Sometimes, may there are some View control in intended application or whole View controlsIn property set, do not comprise predefined this property element of mark, that is to say, these View controls are initialTime do not there is unique predefined identification information. By the method shown in Fig. 3, utilize single View controlPart is the relatively-stationary principle in position in the whole View control arborescence of intended application, according to node positionPut each node in arborescence is encoded, thereby can obtain the unique of each View controlCoding. Like this, can guarantee in the situation that target input frame self does not have predefined identification information,Still can get exactly the identification information of target input frame, thereby guarantee the input method that the disclosure providesCall method still can useful effect in this target input frame.
Fig. 6 is according to the flow chart of a kind of input method call method shown in another exemplary embodiment. ItsIn, the method can be applied to terminal device, and described terminal device can be for example smart mobile phone, flat boardComputer, personal digital assistant (PDA), PC, notebook computer etc. As shown in Figure 6, the partyMethod can comprise the following steps.
In step S601, reception user is defeated to the target input frame on the operation interface of intended applicationEnter operational order.
In step S602, in response to entering the operating instructions, judge whether this target input frame has in advanceThe mark of definition.
For example, can whether comprise and predefine mark by detecting in the property set that this target input frame is correspondingThis property element, judges whether this target input frame has predefined mark. Wherein, work as detectionWhile comprising predefined this property element of mark to property set corresponding to target input frame, determine this targetInput frame has predefined mark, otherwise, do not wrap when detecting in the property set that target input frame is correspondingWhile drawing together predefined this property element of mark, determine that this target input frame does not have predefined mark.
In step S603, in the time that target input frame does not have predefined mark, obtaining should by targetWith the arborescence that forms of whole view control, wherein, each joint in each view control and arborescencePoint is corresponding one by one.
In step S604, the position according to the corresponding node of target input frame in arborescence, forTarget input frame is encoded.
In step S605, obtain the coding of target input frame as the identification information of this target input frame.
In step S606, in the time that target input frame has predefined mark, obtain that this is predefinedMark is as the identification information of this target input frame.
In step S607, by inquiry input method types of database, judge this input method categorical dataIn storehouse, whether record the input method type information being associated with the identification information of target input frame.
In step S608, when having recorded in input method types of database and the mark of this target input frameWhen input method type information that information is associated, call the input method that meets this input method type information.
In the embodiment shown in Fig. 6, only have in the time that target input frame does not have predefined mark,Just obtain the identification information of target input frame by building the mode of arborescence. And if this target inputFrame self has predefined mark, still selects to adopt this predefined mark as target input frameIdentification information, thus can guarantee that the identification information of this target input frame remains unchanged, even if in targetAfter application is updated.
Fig. 7 is according to the flow chart of a kind of input method call method shown in another exemplary embodiment. ItsIn, the method can be applied to terminal device, and described terminal device can be for example smart mobile phone, flat boardComputer, personal digital assistant (PDA), PC, notebook computer etc. As shown in Figure 7, the partyMethod can comprise the following steps.
In step S701, reception user is defeated to the target input frame on the operation interface of intended applicationEnter operational order.
In step S702, in response to entering the operating instructions, obtain the identification information of target input frame.
In step S703, by inquiry input method types of database, judge this input method categorical dataIn storehouse, whether record the input method type information being associated with the identification information of target input frame.
In step S704, when the mark having recorded in input method types of database with target input frame is believedWhen the input method type information of manner of breathing association, call the input method that meets this input method type information.
In step S705, believe when not recording in input method types of database with the mark of target input frameWhen the input method type information of manner of breathing association, call the input method of preset kind. Wherein, preset kindInput method also can be called the input method of default type. , when in input method types of database record withWhen input method type information that the identification information of target input frame is associated, show that now user may be firstInferiorly in this target input frame, carry out input operation. For reference owing to not having historical use to record, therefore,Terminal device can call the input method of acquiescence, for example, and spelling input method.
In addition, the method can also comprise:
In step S706, calling after the input method of preset kind, receive user to this preset kindThe feedback information of input method. Under normal circumstances, user is its acquiescence recalling getting terminal deviceInput method after, or use the input method of this acquiescence to carry out input operation, or first manually change that this is defeatedEnter the type of method, then utilize the input method after changing to carry out input operation. Feedback information can be used in reference toThe behavior of showing user is to belong to above-mentioned any.
In step S707, in the time that feedback information represents that user has changed the input method of preset kind, obtainGet the type information of the input method after replacing. That is to say, in the time that user's behavior belongs to above-mentioned the second,Represent the discontented foot-eye input frame of input method of default type or user's input requirements, therefore, userCarry out the operation of changing. Now, can record the type information of the input method after replacing, that is, forThis target input frame, the type information of the input method of the actual use of user.
In step S708, the type letter of the input method by the identification information of target input frame and after changingManner of breathing association, and utilize the identification information of the target input frame after association and change after the type of input methodInformation updating input method types of database. For example, set it as a new record and add input method class toIn type database. Like this, when user next time is again in the target input frame in intended application when input content,Terminal device can be automatically for user call in input method types of database, record with this target input frameThe input method being associated, is used fast thereby be convenient to user, and saves manually operated process.
In input method types of database, can store at least one record, wherein, every record can wrapDraw together the identification information of input frame and the input method type information that this identification information is associated. In the disclosureAn optional embodiment in, in every record, can also comprise the mark letter that is used to indicate input frameWhether breath is the information of predefined mark. For example,, when obtaining the mark letter of predefined mark as input frameWhen breath, can, in adding the identification information of this input frame to input method types of database, will useBe the information (for example, numerical value " 1 " represents) of predefined mark in the identification information of this input frame of instructionAdd in the lump; And when the coding that obtains input frame is during as the identification information of this input frame, can be shouldWhen the identification information of input frame adds input method types of database to, this input frame will be used to indicateIdentification information is not for example, for the information (, numerical value " 0 " represents) of predefined mark is added in the lump. Like this,In every record of input method types of database, can also embody the mark letter of the input frame in this recordWhether the type of breath is predefined mark.
Like this, the method can also comprise: after intended application is updated, remove input method categorical dataIn storehouse, meet the identification information of input frame not for predefining the record of the condition identifying. This is because moreAfter fresh target application, the tree structure figure of the View control of intended application may change, and leadsThe coding that causes View control also can change. For example, target input frame being encoded to originally " 0-2-1 ",And be encoded to " 0-2-2 " after changing, if not corresponding renewal input method types of database, could be by defeatedEnter in method types of database, with the corresponding input method type information of " 0-2-2 " this identification information misidentificationFor being the input method type that target input frame is associated, thereby the input method that may lead to errors is called behaviourDo. Therefore, in order to prevent that this situation from occurring, once intended application is updated, disposes input methodIn types of database, meet the identification information of input frame not for predefining the record of the condition identifying, alsoBe to say, by these temporary mark erasings of information, the method then providing by the disclosure, obtains order againThe identification information of mark input frame, and be the associated corresponding input method of this target input frame again.
Fig. 8 A to Fig. 8 C is according to a kind of input method calling device 800 shown in an exemplary embodimentBlock diagram. Wherein, this device 800 can be disposed at terminal device, and described terminal device can be for exampleSmart mobile phone, panel computer, personal digital assistant (PDA), PC, notebook computer etc. GinsengAccording to Fig. 8 A, described device 800 can comprise: command reception module 801, is configured to receive user coupleEntering the operating instructions of target input frame on the operation interface of intended application; Identification information acquisition module802, be configured to enter the operating instructions in response to described, obtain the identification information of described target input frame;Judge module 803, is configured to, by inquiry input method types of database, judge described input method typeIn database, whether record the input method type letter being associated with the identification information of described target input frameBreath; The first calling module 804, is configured to when having recorded in input method types of database and described targetWhen input method type information that the identification information of input frame is associated, call and meet described input method type letterThe input method of breath.
Illustratively, described identification information acquisition module 802 can comprise: arborescence obtains submodule, quiltBe configured to obtain the arborescence being formed by whole view control of described intended application, wherein, each described inView control is corresponding one by one with the node in described arborescence; Coding submodule, is configured to described in basisThe position of the corresponding node of target input frame in described arborescence, for described target input frame is compiledCode; The first identification information obtains submodule, and the coding that is configured to obtain described target input frame is as instituteState the identification information of target input frame.
Illustratively, described identification information acquisition module 802 can also comprise: judge submodule, be configuredFor judging whether described target input frame has predefined mark; And described arborescence obtains submodulePiece, is configured in the time that described target input frame does not have predefined mark, and obtaining should by described targetWith the arborescence that forms of whole view control.
Illustratively, described identification information acquisition module 802 can also comprise: the second identification information obtains sonModule, is configured to, in the time that described target input frame has predefined mark, obtain described predefinedMark is as the identification information of described target input frame.
Illustratively, as shown in Figure 8 B, described device 800 can also comprise: the second calling module 805,Be configured to when in input method types of database, record is not relevant to the identification information of described target input frameWhen the input method type information of connection, call the input method of preset kind.
In addition, as shown in Figure 8 C, described device 800 can also comprise: feedback information receiver module 806,Be configured to calling after the input method of preset kind, the input method of reception user to described preset kindFeedback information; Type information acquisition module 807, is configured to represent that when described feedback information user changesWhen the input method of described preset kind, obtain the type information of the input method after replacing; More new module808, be configured to the type of the input method after the identification information of described target input frame and described replacingInformation is associated, and utilizes defeated after the identification information of the described target input frame after association and described replacingThe type information that enters method upgrades described input method types of database.
Illustratively, in described input method types of database, store at least one record, every record comprisesThe identification information of input frame, be used to indicate information that whether described identification information is predefined mark andThe input method type information that described identification information is associated. In this case, described device 800 also canTo comprise: remove module, be configured to after described intended application is updated, remove described input method classIn type database, meet the identification information of described input frame not for predefining the record of the condition identifying.
The input method calling device providing by the disclosure, can solve in correlation technique when user repeatedly existsWhen same input frame carries out input operation, because system is all called the acquiescence class that does not meet user's request at every turnThe input method of type, and make user all need the problem of the type of manually changing this input method at every turn. If usedInput operation was once carried out at this input frame in family, so, in input method types of database, just can rememberEmploy the input method type that family is used this input frame. Like this, when user carries out at this input frame againWhen input operation, system can meet the input method of the input method type of record before by Automatically invoked, and withoutUser manually adjusts, and in meeting consumers' demand, simplifies user's operation, is user-friendly to.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations is havingIn the embodiment of pass the method, have been described in detail, will not elaborate explanation herein.
Fig. 9 is according to the block diagram of a kind of input method calling device 900 shown in an exemplary embodiment. ExampleAs, device 900 can be mobile phone, computer, digital broadcast terminal, information receiving and transmitting equipment, tripPlay console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 9, device 900 can comprise following one or more assembly: processing components 902, depositReservoir 904, electric power assembly 906, multimedia groupware 908, audio-frequency assembly 910, I/O (I/O)Interface 912, sensor cluster 914, and communications component 916.
The integrated operation of processing components 902 common control device 900, such as with demonstration, call,Data communication, the operation that camera operation and record operation are associated. Processing components 902 can comprise oneOr multiple processors 920 carry out instruction, to complete all or part of step of above-mentioned input method call methodSuddenly. In addition, processing components 902 can comprise one or more modules, is convenient to processing components 902 and itsMutual between his assembly. For example, processing components 902 can comprise multi-media module, to facilitate many matchmakersMutual between body assembly 908 and processing components 902.
Memory 904 is configured to store various types of data to be supported in the operation of device 900. ThisThe example of a little data comprises for any application program of operation on device 900 or the instruction of method, connectionBe personal data, telephone book data, message, picture, video etc. Memory 904 can be by any typeVolatibility or non-volatile memory device or their combination realize, as static RAM(SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable programmable is read-only to be depositedReservoir (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic is depositedReservoir, flash memory, disk or CD.
Electric power assembly 906 provides electric power for installing 900 various assemblies. Electric power assembly 906 can comprisePower-supply management system, one or more power supplys, and other and generate, manage and divide distribution for device 900The assembly that power is associated.
The output interface that provides between described device 900 and user is provided multimedia groupware 908Screen. In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input from userSignal. Touch panel comprises that one or more touch sensors are with on sensing touch, slip and touch panelGesture. Described touch sensor is the border of sensing touch or sliding action not only, but also detectsDuration and the pressure relevant to described touch or slide. In certain embodiments, multimedia groupPart 908 comprises a front-facing camera and/or post-positioned pick-up head. When device 900 is in operator scheme, asWhen screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multimediaData. Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or haveFocal length and optical zoom ability.
Audio-frequency assembly 910 is configured to output and/or input audio signal. For example, audio-frequency assembly 910Comprise a microphone (MIC), when device is 900 in operator scheme, as call model, record mouldWhen formula and speech recognition mode, microphone is configured to receive external audio signal. The audio frequency letter receivingNumber can be further stored in memory 904 or be sent via communications component 916. At some embodimentIn, audio-frequency assembly 910 also comprises a loudspeaker, for output audio signal.
I/O interface 912 is for providing interface between processing components 902 and peripheral interface module, above-mentioned peripheryInterface module can be keyboard, some striking wheel, button etc. These buttons can include but not limited to: homepage is pressedButton, volume button, start button and locking press button.
Sensor cluster 914 comprises one or more sensors, is used to device 900 that various aspects are providedState estimation. For example, sensor cluster 914 can detect the opening/closing state of device 900,The relative positioning of assembly, for example described assembly is display and the keypad of device 900, sensor clusterThe position of 914 all right checkout gears 900 or 900 1 assemblies of device changes, user and device 900The existence of contact or do not have the variations in temperature of device 900 orientation or acceleration/deceleration and device 900. PassSensor assembly 914 can comprise proximity transducer, be configured to without any physical contact time examineNear the existence of object surveying. Sensor cluster 914 can also comprise optical sensor, as CMOS or CCDImageing sensor, for using in imaging applications. In certain embodiments, this sensor cluster 914Can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature passSensor.
Communications component 916 is configured to be convenient to wired or wireless mode between device 900 and other equipmentCommunication. Device 900 wireless networks that can access based on communication standard, as WiFi, 2G or 3G, orTheir combination. In one exemplary embodiment, communications component 916 via broadcast channel receive fromThe broadcast singal of external broadcasting management system or broadcast related information. In one exemplary embodiment, instituteState communications component 916 and also comprise near-field communication (NFC) module, to promote junction service. For example, existNFC module can be based on RF identification (RFID) technology, and Infrared Data Association (IrDA) technology is superBroadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 900 can be by one or more application specific integrated circuits(ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), able to programme patrollingCollect device (PLD), field programmable gate array (FPGA), controller, microcontroller, micro-processingDevice or other electronic components are realized, for carrying out above-mentioned input method call method.
In the exemplary embodiment, also provide a kind of non-provisional computer-readable storage that comprises instructionMedium, for example, comprise the memory 904 of instruction, and above-mentioned instruction can be held by the processor 920 of device 900Row is to complete above-mentioned input method call method. For example, described non-provisional computer-readable recording medium canBeing that ROM, random access memory (RAM), CD-ROM, tape, floppy disk and light data are depositedStorage equipment etc.
Those skilled in the art are considering description and putting into practice after the disclosure, will easily expect of the present disclosure itsIts embodiment. The application is intended to contain any modification of the present disclosure, purposes or adaptations, thisA little modification, purposes or adaptations are followed general principle of the present disclosure and comprise that the disclosure is unexposedCommon practise in the art or conventional techniques means. Description and embodiment are only regarded as exampleProperty, true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to described above and illustrated in the accompanying drawings accurateStructure, and can carry out various amendments and change not departing from its scope. The scope of the present disclosure is only by instituteAttached claim limits.

Claims (15)

1. an input method call method, is characterized in that, described method comprises:
Receive user's entering the operating instructions the target input frame on the operation interface of intended application;
Enter the operating instructions in response to described, obtain the identification information of described target input frame;
By inquiry input method types of database, judge in described input method types of database and whether recordedThe input method type information being associated with the identification information of described target input frame;
Be associated with the identification information of described target input frame when having recorded in input method types of databaseWhen input method type information, call the input method that meets described input method type information.
2. method according to claim 1, is characterized in that, described in obtain described target input frameIdentification information, comprising:
Obtain the arborescence being formed by whole view control of described intended application, wherein, look described in eachFigure control is corresponding one by one with the node in described arborescence;
Position according to the corresponding node of described target input frame in described arborescence is described targetInput frame is encoded;
Obtain the coding of described target input frame as the identification information of described target input frame.
3. method according to claim 2, is characterized in that, described in obtain described target input frameIdentification information, also comprise:
Judge whether described target input frame has predefined mark; And
The described step of obtaining the arborescence being made up of whole view control of described intended application is:
In the time that described target input frame does not have predefined mark, obtain whole by described intended applicationThe arborescence that view control forms.
4. method according to claim 3, is characterized in that, described in obtain described target input frameIdentification information, also comprise:
In the time that described target input frame has predefined mark, obtain described predefined mark as instituteState the identification information of target input frame.
5. according to the method described in any one in claim 1-4, it is characterized in that, described method is also wrappedDraw together:
When in input method types of database record be associated with the identification information of described target input frameWhen input method type information, call the input method of preset kind.
6. method according to claim 5, is characterized in that, described method also comprises:
Calling after the input method of preset kind, receiving the feedback of the input method of user to described preset kindInformation;
In the time that described feedback information represents that user has changed the input method of described preset kind, obtain after replacingThe type information of input method;
The identification information of described target input frame is relevant with the type information of the input method after described replacingConnection, and utilize the class of the input method after identification information and the described replacing of the described target input frame after associationInput method types of database described in type information updating.
7. according to the method described in any one in claim 1-4, it is characterized in that described input method classIn type database, store at least one record, every record comprise input frame identification information, be used in reference toShow whether described identification information is the information of predefined mark and the input that described identification information is associatedMethod type information; And
Described method also comprises:
After described intended application is updated, remove in described input method types of database, meet described defeatedEnter the identification information of frame not for predefining the record of the condition identifying.
8. an input method calling device, is characterized in that, described device comprises:
Command reception module, is configured to receive user to the target input on the operation interface of intended applicationEntering the operating instructions of frame;
Identification information acquisition module, is configured to enter the operating instructions in response to described, obtains described targetThe identification information of input frame;
Judge module, is configured to, by inquiry input method types of database, judge described input method typeIn database, whether record the input method type letter being associated with the identification information of described target input frameBreath;
The first calling module, is configured to when having recorded in input method types of database and described target inputWhen input method type information that the identification information of frame is associated, call and meet described input method type informationInput method.
9. device according to claim 8, is characterized in that, described identification information acquisition module bagDraw together:
Arborescence obtains submodule, and the whole view control that are configured to obtain by described intended application formArborescence, wherein, each described view control is corresponding one by one with the node in described arborescence;
Coding submodule, is configured to according to the corresponding node of described target input frame at described arborescenceIn position, for described target input frame is encoded;
The first identification information obtains submodule, and the coding that is configured to obtain described target input frame is as instituteState the identification information of target input frame.
10. device according to claim 9, is characterized in that, described identification information acquisition moduleAlso comprise:
Judge submodule, be configured to judge whether described target input frame has predefined mark; WithAnd
Described arborescence obtains submodule, is configured to not have predefined mark when described target input frameWhen knowledge, obtain the arborescence being formed by whole view control of described intended application.
11. devices according to claim 10, is characterized in that, described identification information acquisition moduleAlso comprise:
The second identification information obtains submodule, is configured to have predefined mark when described target input frameWhen knowledge, obtain the identification information of described predefined mark as described target input frame.
Device in 12. according to Claim 8-11 described in any one, is characterized in that, described device alsoComprise:
The second calling module, is configured to when not record and the input of described target in input method types of databaseWhen input method type information that the identification information of frame is associated, call the input method of preset kind.
13. devices according to claim 12, is characterized in that, described device also comprises:
Feedback information receiver module, is configured to calling after the input method of preset kind, receives user coupleThe feedback information of the input method of described preset kind;
Type information acquisition module, is configured to change described presetting when described feedback information represents userWhen the input method of type, obtain the type information of the input method after replacing;
More new module, is configured to the input after the identification information of described target input frame and described replacingThe type information of method is associated, and utilizes the identification information of the described target input frame after association and more describedThe type information of the input method after changing upgrades described input method types of database.
Device in 14. according to Claim 8-11 described in any one, is characterized in that, described input methodIn types of database, store at least one record, every record comprise the identification information of input frame, forIndicate described identification information be whether the information of predefined mark and described identification information be associated defeatedEnter method type information; And
Described device also comprises:
Remove module, be configured to after described intended application is updated, remove described input method number of typesIn storehouse, meet the identification information of described input frame not for predefining the record of the condition identifying.
15. 1 kinds of input method calling devices, is characterized in that, described device comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Receive user's entering the operating instructions the target input frame on the operation interface of intended application;
Enter the operating instructions in response to described, obtain the identification information of described target input frame;
By inquiry input method types of database, judge in described input method types of database and whether recordedThe input method type information being associated with the identification information of described target input frame;
When having recorded be associated with the identification information of described target input frame defeated in input method types of databaseWhile entering method type information, call the input method that meets described input method type information.
CN201511000879.0A 2015-12-28 2015-12-28 Input method call method and device Active CN105589575B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511000879.0A CN105589575B (en) 2015-12-28 2015-12-28 Input method call method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511000879.0A CN105589575B (en) 2015-12-28 2015-12-28 Input method call method and device

Publications (2)

Publication Number Publication Date
CN105589575A true CN105589575A (en) 2016-05-18
CN105589575B CN105589575B (en) 2019-06-21

Family

ID=55929214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511000879.0A Active CN105589575B (en) 2015-12-28 2015-12-28 Input method call method and device

Country Status (1)

Country Link
CN (1) CN105589575B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107748737A (en) * 2017-11-17 2018-03-02 深圳市泉眼网络科技有限公司 A kind of word editing method and device
CN108182002A (en) * 2018-01-30 2018-06-19 北京小米移动软件有限公司 Layout method, device, equipment and the storage medium of enter key
CN109542644A (en) * 2018-11-19 2019-03-29 北京小米移动软件有限公司 Application programming interface call method and device
CN112764552A (en) * 2021-01-26 2021-05-07 北京小米移动软件有限公司 Input method switching method and device, intelligent equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101398834A (en) * 2007-09-29 2009-04-01 北京搜狗科技发展有限公司 Processing method and device for input information and input method system
CN101706690A (en) * 2009-12-07 2010-05-12 北京搜狗科技发展有限公司 Adaptive input method and adaptive input system
CN102436454A (en) * 2010-09-29 2012-05-02 腾讯科技(深圳)有限公司 Input method switching method and system for browser
CN105138142A (en) * 2015-08-26 2015-12-09 成都秋雷科技有限责任公司 Method for automatically identifying input characters
CN105159472A (en) * 2015-06-30 2015-12-16 小米科技有限责任公司 Input method switching method and device
CN105183180A (en) * 2015-07-17 2015-12-23 百度在线网络技术(北京)有限公司 Method and device for assisting user to use input method application
CN105183344A (en) * 2015-08-26 2015-12-23 成都秋雷科技有限责任公司 Method for self-adaptive switching input method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101398834A (en) * 2007-09-29 2009-04-01 北京搜狗科技发展有限公司 Processing method and device for input information and input method system
CN101706690A (en) * 2009-12-07 2010-05-12 北京搜狗科技发展有限公司 Adaptive input method and adaptive input system
CN102436454A (en) * 2010-09-29 2012-05-02 腾讯科技(深圳)有限公司 Input method switching method and system for browser
CN105159472A (en) * 2015-06-30 2015-12-16 小米科技有限责任公司 Input method switching method and device
CN105183180A (en) * 2015-07-17 2015-12-23 百度在线网络技术(北京)有限公司 Method and device for assisting user to use input method application
CN105138142A (en) * 2015-08-26 2015-12-09 成都秋雷科技有限责任公司 Method for automatically identifying input characters
CN105183344A (en) * 2015-08-26 2015-12-23 成都秋雷科技有限责任公司 Method for self-adaptive switching input method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107748737A (en) * 2017-11-17 2018-03-02 深圳市泉眼网络科技有限公司 A kind of word editing method and device
CN108182002A (en) * 2018-01-30 2018-06-19 北京小米移动软件有限公司 Layout method, device, equipment and the storage medium of enter key
CN109542644A (en) * 2018-11-19 2019-03-29 北京小米移动软件有限公司 Application programming interface call method and device
CN109542644B (en) * 2018-11-19 2022-12-09 北京小米移动软件有限公司 Application programming interface calling method and device
CN112764552A (en) * 2021-01-26 2021-05-07 北京小米移动软件有限公司 Input method switching method and device, intelligent equipment and storage medium

Also Published As

Publication number Publication date
CN105589575B (en) 2019-06-21

Similar Documents

Publication Publication Date Title
CN103916468B (en) Method for upgrading system, terminal, server and upgrade-system
CN105573744A (en) Application list ordering method, application list ordering device and terminal equipment
CN104077208A (en) Application program icon display method and apparatus
CN104219388A (en) Voice control method and device
CN107659717B (en) State detection method, device and storage medium
CN106990989B (en) Method and device for controlling application program installation
CN105376412A (en) Information processing method and device
CN104020924A (en) Label establishing method and device and terminal
CN105654533A (en) Picture editing method and picture editing device
CN104536935A (en) Calculation displaying method, calculation editing method and device
CN105589575A (en) Input method invoking method and device
CN105094904A (en) Application program installation method and device
CN111461304A (en) Training method for classifying neural network, text classification method, text classification device and equipment
CN104636164A (en) Generating method and device for starting page
CN107463372B (en) Data-driven page updating method and device
CN106021072A (en) Information display method and device
CN104063424B (en) Web page picture shows method and demonstration device
CN105208209A (en) Alarm clock setting method and device and terminal equipment
CN104038922A (en) File synchronization method and related device
CN107247735A (en) Document transmission method and device
CN107632835A (en) Using installation method and device
CN107729439A (en) Obtain the methods, devices and systems of multi-medium data
CN104090915A (en) Method and device for updating user data
CN104038255A (en) Device connecting method and device
CN106162612A (en) Control the method and device of Root authority

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant