CN104978047A - Cross-keyboard association method and apparatus - Google Patents

Cross-keyboard association method and apparatus Download PDF

Info

Publication number
CN104978047A
CN104978047A CN201510355586.8A CN201510355586A CN104978047A CN 104978047 A CN104978047 A CN 104978047A CN 201510355586 A CN201510355586 A CN 201510355586A CN 104978047 A CN104978047 A CN 104978047A
Authority
CN
China
Prior art keywords
input
association
keyboard
candidate item
user
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
CN201510355586.8A
Other languages
Chinese (zh)
Other versions
CN104978047B (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 Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development Co Ltd
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 Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201510355586.8A priority Critical patent/CN104978047B/en
Publication of CN104978047A publication Critical patent/CN104978047A/en
Application granted granted Critical
Publication of CN104978047B publication Critical patent/CN104978047B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The invention discloses a cross-keyboard association method and apparatus, and relates to the technical field of input methods. The method comprises the steps of: judging whether an input keyboard is switched; if the input keyboard is switched, according to the input content before switching the input keyboard, obtaining corresponding association candidate items; and showing the association candidate items to a user. In a process that an input method is used by the user, the limitation that the association and the input content have to be on the same input keyboard is broken through, and the user can continue to perform association according to the input content before the input keyboard is switched when the user performs input operation in one input keyboard and then switches the input keyboard to the other input keyboard, so that the input operation of the user is convenient, the input cost of the user is reduced, and the input efficiency is improved.

Description

A kind of across keyboard association method and device
Technical field
The application relates to input method technique field, particularly relates to a kind of across keyboard association method and device.
Background technology
In various computer systems, user all needs to use the information such as input method input characters, picture in a lot of environment.In input method, in the input method of particularly mobile terminal, input for the ease of user, input method comprises very eurypalynous input keyboard, such as Chinese keyboard, QWERTY keyboard, keyboard symbol, expression keyboard etc., user can be switched to its input keyboard needed by corresponding switching push button as required, then inputs.
In traditional input method, user, when using the input of a certain input keyboard, can provide the input content of upper screen and associate candidate item accordingly.Such as, user is in Chinese character coding input method, and have selected candidate item " good ", upper screen has been input to after in edit box, and input method can show the association candidate item relevant to " good " in candidate bar, as the association such as " ", " mystery " candidate item, facilitates user to input.But in traditional input method, in an input keyboard, then must cannot carry out association after switching input keyboard to the association of the input content of user, after user switches input keyboard, its input cost is high, and input operation is convenient not.
Summary of the invention
In view of the above problems, propose the present invention in case provide a kind of overcome the problems referred to above across keyboard association method with accordingly across keyboard association device.
In order to solve the problem, the invention discloses a kind of across keyboard association method, comprising: judge whether input keyboard is switched;
If input keyboard is switched, then the input content before being switched according to input keyboard, obtains and associates candidate item accordingly;
Described association candidate item is showed user.
The invention also discloses, a kind of across keyboard association device, it is characterized in that, comprising:
Switching judging module, for judging whether input keyboard is switched;
Association's acquisition module, if be switched for input keyboard, then the input content before being switched according to input keyboard, obtains and associates candidate item accordingly;
Association's display module, for showing user by described association candidate item.
Hinge structure, the present invention possesses following advantage:
The embodiment of the present invention uses in the process of input method user, after user uses the input keyboard of certain type to input, judge whether user switches the input keyboard of input keyboard to another type of current type, if switch the input keyboard of input keyboard to another type of current type, input content before being then switched according to input keyboard, obtains and associates candidate item accordingly.So, use in the process of input method user, having broken association and input content must boundary on an input keyboard, after user inputs in a kind of input keyboard, when being switched to another kind of input keyboard, the input content before being switched according to input keyboard can being continued and carry out association, facilitate user to input, reduce the input cost of user, improve input efficiency.
Accompanying drawing explanation
Fig. 1 shows the schematic flow sheet across keyboard association method of the embodiment of the present application one;
Fig. 2 shows the schematic flow sheet across keyboard association method of the embodiment of the present application two;
Fig. 3 shows the schematic flow sheet across keyboard association method of the embodiment of the present application three;
Fig. 4 shows the schematic flow sheet across keyboard association method of the embodiment of the present application four;
Fig. 5 shows the structural representation across keyboard association device of the embodiment of the present application five;
Fig. 6 shows the structural representation across keyboard association device of the embodiment of the present application six;
Fig. 7 shows the structural representation across keyboard association device of the embodiment of the present application seven;
Fig. 8 shows the structural representation across keyboard association device of the embodiment of the present application eight.
Embodiment
For enabling above-mentioned purpose, the feature and advantage of the application more become apparent, below in conjunction with the drawings and specific embodiments, the application is described in further detail.
One of core concept of the embodiment of the present invention is, use in the process of input method user, after user uses the input keyboard of certain type to input, judge whether user switches the input keyboard of input keyboard to another type of current type, if switch the input keyboard of input keyboard to another type of current type, input content before being then switched according to input keyboard, obtains and associates candidate item accordingly.So, use in the process of input method user, having broken association and input content must boundary on an input keyboard, after user inputs in a kind of input keyboard, when being switched to another kind of input keyboard, the input content before being switched according to input keyboard can being continued and carry out association, facilitate user to input, reduce the input cost of user, improve input efficiency.
Embodiment one
With reference to Fig. 1, it illustrates the schematic flow sheet across keyboard association method of the present invention, specifically can comprise:
Step 110, judges whether input keyboard is switched; If input keyboard is switched, then enter step 120.
In embodiments of the present invention, described input keyboard can comprise: Chinese keyboard, QWERTY keyboard, expression keyboard, keyboard symbol, numeric keypad, picture keyboard etc.Certainly, be appreciated that the input keyboard that can also comprise other language, such as Korean keyboard, keyboard for Russian language etc.The keyboards such as the keyboard of often kind of language also can comprise the keyboard of different input type, and such as Chinese keyboard can comprise Chinese language phonetic system keyboard, Chinese five keyboards, the pinyin keyboards such as wherein Chinese language phonetic system keyboard comprises: Chinese spelling keyboard, Chinese spelling keyboard.Keyboard of wherein expressing one's feelings is preferably the expression Selection Floater of input method, and keyboard symbol is preferably the symbol Selection Floater of input method, and picture keyboard is preferably the picture Selection Floater of input method.
In embodiments of the present invention, switch to other keyboards arbitrarily from certain input keyboard arbitrarily, all can carry out association.Such as Chinese spelling keyboard shift is to Chinese five keyboards, and Chinese spelling keyboard shift switches to expression keyboard etc. to QWERTY keyboard, QWERTY keyboard.
In embodiments of the present invention, user uses during input method can be needed to adopt certain keyboard to input according to it, such as uses the content m of input keyboard A input, then switches to input keyboard B by input keyboard A.Further, such as first adopt Chinese spelling keyboard to input, such as input " heartily ", then user continues to input the expression relevant to " heartily " possibly, then can be switched to the expression input keyboard of input method, continues input expression.The present invention then can judge whether user switches input keyboard, and as previously mentioned, user first uses Chinese keyboard, input be " heartily ", and it has been switched to expression keyboard.So the present invention is after judging that input keyboard is switched, then enter step 120.
If judge that input keyboard is not switched, then according to the associative process of usual input method, under this input keyboard, association can be carried out to input content; Also can not carry out any association, wait for the follow-up input of user.
Step 120, the input content before being switched according to input keyboard, obtains and associates candidate item accordingly.
In embodiments of the present invention, the input content of the upper screen of repeatedly input before can switching according to input keyboard carries out association.Such as user adopts Chinese spelling keyboard to have input at twice in " river " and " south ", and on so in input frame, the content of screen is " south of the River ", and after so user is switched to QWERTY keyboard, input method can carry out association according to this " south of the River ", association " style ".
In embodiments of the present invention, the input content inputted before input keyboard is switched, is not limited to the input of an input keyboard.Such as, user passes through Chinese full frame input through keyboard " south of the River ", be have input " style " by QWERTY keyboard again, then user has been switched to expression keyboard, the input content inputted before input keyboard so is now switched can be " south of the River style ", then input method carries out association according to " south of the River style ", obtains the expression of waving of riding.
Certainly, the input content in form shielded with other before also can being switched according to input keyboard, after input keyboard switches, carries out association according to this input content.
Preferably, described acquisition is associated candidate item accordingly and is specifically comprised: obtain with switch after each association candidate item of matching of input keyboard.
Be such as m for the input content before switching, so when switching to input keyboard B, then according to the association candidate item n that m association matches with input keyboard B.As previously mentioned, such as user uses input content to be " heartily ", and then user has been switched to expression keyboard, and so the embodiment of the present invention then according to " heartily ", can go the content that association expresses one's feelings in keyboard, such as relevant to " heartily " expression.
Step 130, shows user by described association candidate item.
Such as in aforementioned expression keyboard, each corresponding with aforementioned " heartily " is expressed one's feelings, and it is preferentially illustrated in the position facilitating user to select, selects for user.
Preferably, step 130 comprises:
Sub-step 132, is illustrated in the association show area of input method, selects for user by described association candidate item.
In embodiments of the present invention, for association's candidate item, can in different input keyboard situations, different association show areas is set, such as various character input keyboard, such as various Chinese character input keyboard, English input keyboard, Hangeul input keypad etc., can using its candidate's Show board as association show area.For expression input keyboard, one piece of region can be delimited as association show area on the left of expression input keyboard.
In the embodiment of the present invention, use in the process of input method user, having broken association and input content must boundary on an input keyboard, after user inputs in a kind of input keyboard, when being switched to another kind of input keyboard, the input content before being switched according to input keyboard can being continued and carry out association, facilitate user to input, reduce the input cost of user, improve input efficiency.
Embodiment two
With reference to Fig. 2, it illustrates the schematic flow sheet across keyboard association method of the present invention, specifically can comprise:
Step 210, judges whether input keyboard is switched; If input keyboard is switched, then enter step 220.
Preferably, before step 210, also comprise:
Step 205, be recorded in input keyboard in input method be switched before input content.
Before being appreciated that input keyboard is switched in input method, user may use various input keyboard input content.So in embodiments of the present invention, then this input content can be recorded.
In embodiments of the present invention, described input content, can comprise the content of the disposable upper screen input of user, also the content of upper screen input can be comprised repeatedly, in the embodiment of the present invention, for character input keyboard, with described input content for word or phrase or usual word are for record benchmark.Such as, user is by using Chinese spelling keyboard, and disposable upper screen have input " TV play ", then record " TV play "; When user inputs again, in input frame first on shield and have input " Wu Meiniang ", upper screen have input " legend ", then can record " military fawn ma's legend ".Such as user uses QWERTY keyboard again, disposable upper screen input " school ", and it is recorded as " school ", and if user shields input " good " on N time, then record " good ".
Be appreciated that the present invention is to certain input keyboard, the input content of nearest N the upper screen of record, the difference according to input keyboard can carry out different regulations.Be such as example for Chinese language phonetic system keyboard, user is input editing string " yici " in Chinese language phonetic system keyboard, input method generates candidate item 1 " once ", 2 " successively ", 3 " with these ", 4 " according to this " etc. according to " yici " and shows in candidate bar, user selects 1 " once ", then input method is by upper to " once " screen in input frame, and the input process of above-mentioned " once " is as nearest input process; If the input content that record is the last, then can record " once "; When user inputs " Yoga " again, if the input content that record is the last, can record " Yoga ", if record 2 input contents, then can record " Yoga ".
Again such as QWERTY keyboard, then upper screen word or phrase are recorded as input content.Such as detect that active user clicks space in QWERTY keyboard, then by the front upper screen in the space of current click word and/or phrase be recorded as input content.Or for expression keyboard, expression user selected recently is wherein recorded as input content.Or for keyboard symbol, by a symbol of user's input recently in an input frame or symbol combination, such as ^_^ is that symbol combination is recorded as input content.
Step 220, according to by the input content switching front input keyboard and input, obtain with switch after each association candidate item of matching of input keyboard.
Such as the m that the input keyboard A before switching inputs, so when switching to input keyboard B, then according to the association candidate item n of m association about input keyboard B.As previously mentioned, such as user uses the Chinese spelling input through keyboard before switching " heartily ", and then user has been switched to expression keyboard, and so the embodiment of the present invention then can according to " heartily ", go the content that association expresses one's feelings in keyboard, such as relevant to " heartily " expression.
Preferably, the content that the input keyboard after associating candidate item and switching can input is consistent.Such as Chinese spelling keyboard, the content that this Chinese spelling keyboard can input is except Chinese character, and arrange according to keyboard, it can also input some conventional signs, such as ".! ? ", the symbol that so Chinese character and above-mentioned keyboard provide all belongs to the content that this keyboard can input.
Certainly, in the embodiment of the present invention, association's candidate item is preferably consistent with input keyboard core input content.Be appreciated that the input keyboard after for each switching, association's candidate item that priority match is consistent with the core input content of current input keyboard.Such as various Chinese character input keyboard, association's candidate item is middle word or word preferably; For English input keyboard, association's candidate item preferably english or phrase; For expression input keyboard, association's candidate item is preferably expressed one's feelings.Other situations by that analogy.Specific as follows:
When the input keyboard after described switching is Chinese keyboard, described association candidate item comprises the middle word and/or word that match;
Content before such as aforementioned switching is " iphone ", after being switched to Chinese keyboard, preferentially candidate item being associated in Chinese and shows, as " mobile phone ", " computer ", then shows other types association candidate item.
When the input keyboard after described switching is QWERTY keyboard, described association candidate item comprises the english and/or phrase that match.
Content before such as switching is " south of the River ", is switched to QWERTY keyboard, and priority match " style " is association's candidate item.
When the input keyboard after described switching is for expression keyboard, described association candidate item comprises the expression matched.
Content before such as switching is that " heartily, be switched to expression keyboard, priority match laughs expression for association's candidate item.
When the input keyboard after described switching is keyboard symbol, described association candidate item comprises the symbol matched.
Before such as switching, input content is " volume ", is switched to keyboard symbol, and priority match " ... " is association's candidate item.When the input keyboard after described switching is numeric keypad, described association candidate item comprises the numeral matched.
Before such as switching, input content is " sudden strain of a muscle ", is switched to numeric keypad, and priority match " 333 " is association's candidate item.
Certainly, if judge that input keyboard is not switched, then according to the associative process of usual input method, under current input keyboard, the association of identical content can be carried out to input content; Also can not carry out any association, wait for the follow-up input of user.
Step 230, shows user by described association candidate item.
In embodiments of the present invention, for different input keyboards, according to the characteristic of input keyboard, certain region of the input method under corresponding input keyboard can be set to association show area, to show above-mentioned association candidate item.Such as Chinese keyboard, can directly using candidate bar as association show area, show association candidate item.Such as QWERTY keyboard, a hurdle additionally can be generated as association show area, such as expression keyboard, can using a left side part for expression keyboard as association show area etc.
The embodiment of the present invention uses in the process of input method user, after user uses the input keyboard of certain type once to input, judge whether user switches the input keyboard of input keyboard to another type of current type, if switch the input keyboard of input keyboard to another type of current type, then according to described input content, each association candidate item that acquisition and the input keyboard after switching match.So, use in the process of input method user, having broken association and input content must boundary on an input keyboard, after user inputs in a kind of input keyboard, when being switched to another kind of input keyboard, directly for the content under a kind of input keyboard after the input content association in front a kind of input keyboard, user can be facilitated to input, reduces the input cost of user.
Embodiment three
With reference to Fig. 3, it illustrates a kind of schematic flow sheet across keyboard association method of the present invention, specifically can comprise:
Step 310, judges whether input keyboard is switched; If input keyboard is switched, then enter step 320.
Step 320, according to by the input content switching front input keyboard and input, inquires about each association candidate item of mating with described input content.
Preferably, each association candidate item that described inquiry and described input content match specifically comprises: according to complex relational data, inquires about the association candidate item corresponding with described input content.
Wherein, described complex relational data can build in several ways.Preferably, complex relational data can build as follows:
Step 322, the historical record of comprehensive all user input contents, constructs described complex relational data;
In the process that user uses input method to input, may to carry out shielding operation repeatedly, namely N input has been carried out, dependence before and after then may existing between the content that so this N time inputs, so the present invention then can N time of recording user input content and between dependence, then add up, the binary relation both can obtaining between the contents such as word, word, numeral, phonetic, expression or between many persons or n-tuple relation.Such as user first to use on Chinese full frame keyboard screen input " liking ", and then use screen input rose expression on expression keyboard, through statistics, this kind of input mode is greater than threshold value, can calculate acquisition " like " and rose express one's feelings between binary relation.Such as user first uses screen input " liking " on Chinese full frame keyboard again, then input " you ", then use screen input rose expression on expression keyboard, through statistics, this kind of input mode is greater than threshold value, obtain at last " liking ", " you " and rose express one's feelings between ternary relation.Such as user first uses screen input " liking " on Chinese full frame keyboard again, then screen input " love " on English input keyboard is used, then screen input rose expression on expression keyboard is used, through statistics, this kind of input mode is greater than threshold value, obtain at last " liking ", " love " and rose express one's feelings between ternary relation.By that analogy, the present invention is not limited it other situations.
Certainly, each unit in n-tuple relation can mark with corresponding input keyboard, and such as aforementioned " love " marks by QWERTY keyboard, and rose expression can mark with expression keyboard.
Preferably, according to the structure of the historical record across the input through keyboard content complex relational data of all users, namely can for the incidence relation between the input content of user before keyboard shift and after keyboard shift, structure complex relational data.For binary relation, in embodiments of the present invention, the user of all input methods can be obtained, at use input keyboard A input content m i, after being then switched to input keyboard B, the content n again inputted irecord.So for any one input content m, owing to there is the situation that it is carried out to switching and inputs after handover again of different user, an input content n under its corresponding input keyboard B can be obtained 1or multiple input content n 2-n i, for same input content m iif, a corresponding n isituation, then directly should (m i, n i) binary relation data stored in association's candidate storehouse; For same input content m i, corresponding multiple input content n 1-n isituation, then add up (m i, n 1) to (m i, n i) respective accounting, accounting is greater than two of threshold value and closes relation datas stored in association's candidate storehouse.Wherein, above-mentioned accounting can be used as the weight of corresponding binary relation data.
And/or step 324, according to the historical record of active user's input content, constructs described complex relational data;
Be appreciated that in the embodiment of the present invention and can construct described complex relational data according to the historical record of the input content of user's N continuous of current use input method time upper screen.
For each user, because it has personalized input demand, the input behavior before can adding up the switching keyboard of this user self and after switching keyboard, builds the personalized complex relational data for this user.Such as user 123 is at use input keyboard A input content m i, after being then switched to input keyboard B, the content n again inputted i, so can by (m i, n i) stored in association's candidate storehouse.Again such as, user uses Chinese spelling input through keyboard " south of the River ", uses again QWERTY keyboard to have input " style ", to employ again expression input through keyboard to ride dance expression, so can by (south of the River, style, dance expression of riding) stored in association's candidate storehouse.
Certainly, each unit in n-tuple relation also can mark with corresponding input keyboard.
When using complex relational data in embodiments of the present invention, for each user, the personalized complex relational data of this user has precedence over the complex relational data of the aforementioned input behavior according to all users structure.Such as, first can adopt the input behavior data construct association candidate storehouse of all users, and then improve association's candidate storehouse according to the input behavior data of monomer user.If (the m of the input behavior data construct according to monomer user i, n i) binary relation group do not have in association's candidate storehouse of the input behavior data construct according to all users, then should (m i, n i) add association's candidate storehouse.If (the m of the input behavior data construct according to monomer user i, n i) binary relation group has in association's candidate storehouse of the input behavior data construct according to all users, then increase (m in association's candidate storehouse i, n i) weight, make it forwardly show.
And/or step 326, according to mixed communication system word, constructs described complex relational data;
Certainly, in a lot of input method, for a lot of dictionary, can pre-set various mixed communication system word, this mixed communication system word can be preset by various mode, such as hot word " south of the River style ".So can also directly according to mixed communication system word data construct complex relational data in the embodiment of the present invention.Such as " south of the River style ", the binary relation data of " south of the River " and " style " so can be built.
Certainly, each unit in n-tuple relation can mark with corresponding input keyboard.
And/or step 328, by cutting word process to various language material, constructs described complex relational data.
In embodiments of the present invention, by cutting word process to various expectation, the n-tuple relation between the element such as word, word can be obtained.Such as word is cut to news corpus, obtain the n-tuple relation between word, word.Such as " annual meeting first of the non-government forum of Conference on Interaction and Confidence-Building Measures in Asia (CICA) opened in Beijing May 25 news corpus."; word is cut to it; obtain " Asia ", " mutually cooperation with confidence measures meeting ", " non-government forum ", " first ", " annual meeting ", " May 25 ", " ", " Beijing ", " opening "; " Asia " can build binary relation with " mutually cooperate and confidence measures meeting ", " Asia ", " mutual cooperate and confidence measures meeting ", " non-government forum " build ternary relation.
Certainly, each unit in n-tuple relation can mark with corresponding input keyboard.
In embodiments of the present invention, all n-tuple relations are stored in an association candidate storehouse.
Step 330, for each association candidate item, increase with described switching after the displaying weight of association's candidate item that matches of input keyboard.
As above-mentioned, all association's candidate item can be arranged in association's candidate storehouse by the embodiment of the present invention, so inquired the association's candidate item in association's candidate storehouse by abovementioned steps after, can according to current input keyboard core input content type, such as current input keyboard core input content is Chinese, then increase the displaying weight of association's candidate item of Chinese in association's candidate item, so that when showing above-mentioned association's candidate item in step 340, can show in the position that sequence is forward.
In embodiments of the present invention, after inquiring association's candidate item, the input keyboard mark that this association's candidate item is corresponding can be inquired about, the mark of this mark with the input keyboard after switching is mated, if matched, then increase the weight of the displaying weight of above-mentioned association candidate item.
Step 340, shows user by described association candidate item.
Be appreciated that association's candidate item can be shown by this step according to the order of sequence.
The embodiment of the present invention uses in the process of input method user, after user uses the input keyboard of certain type once to input, judge whether user switches the input keyboard of input keyboard to another type of current type, if switch the input keyboard of input keyboard to another type of current type, then according to described input content, association's candidate item in inquiry association candidate storehouse, then by each association candidate item displaying order of matching with input keyboard in advance, then show according to the order of sequence.So, use in the process of input method user, having broken association and input content must boundary on an input keyboard, after user inputs in a kind of input keyboard, when being switched to another kind of input keyboard, directly for the content under a kind of input keyboard after the input content association in front a kind of input keyboard, user can be facilitated to input, reduces the input cost of user.
Embodiment four
With reference to Fig. 4, it illustrates a kind of schematic flow sheet across keyboard association method of the present invention, specifically can comprise:
Step 410, judges whether input keyboard is switched;
Step 420, according to the input keyboard before switching and the input keyboard after switching, determines association's candidate storehouse;
In embodiments of the present invention, can in advance for input keyboard before switching and input keyboard after switching, build and associate candidate storehouse accordingly, this association's candidate storehouse is as one of the dictionary of corresponding input keyboard.
Be appreciated that in the embodiment of the present invention have multiple associations candidate storehouse, because each input keyboard is to corresponding association's candidate storehouse.Such as (Chinese full frame keyboard-QWERTY keyboard) corresponding association candidate storehouse, (QWERTY keyboard-Chinese full frame keyboard) corresponding association candidate storehouse, (Chinese full frame keyboard-expression keyboard) corresponding association candidate storehouse.
Also be appreciated that each association candidate storehouse for switch before input keyboard and switch after input keyboard, build switch before input keyboard upper screen content and switch after input keyboard candidate item between corresponding relation.Such as numeric keypad before switching, upper screen content before switching is 3: correspond in the Chinese keyboard after switching, its association's candidate item is the word that " individual ", " layer ", " block ", " point ", " only " etc. are relevant to 3, because according to the use habit of numeral with the combination of Chinese, 3 are generally with measure word below, and its combination obtains " 3 ", " 3 layers ", " 3 pieces ", " 3 point ", " 3 " etc.; Correspondence is switched to QWERTY keyboard, then associating candidate item is the word such as " D ", " d ", because 3D is a kind of term, join probability is very large.So, association's candidate storehouse that " switching front input keyboard "+" after switching input keyboard " is corresponding can be built.
Certainly, also association's candidate storehouse can be built according to user's input behavior of user before and after input keyboard.Such as, by the content of N input last in user before the handover input keyboard, and the content of N input before in rear input keyboard can be switched, directly associate, add association's candidate storehouse.Described N be greater than 0 integer.
Be appreciated that in the embodiment of the present invention, association candidate storehouse with switching before input keyboard, switch after input keyboard there is association.And for certain input keyboard, it may exist multiple association's candidate storehouse as its dictionary, so each association's candidate storehouse is marked with the input keyboard mark before switching and the input keyboard after switching.
So, at step 420 which, can, according to the input keyboard mark before switching and the mark of the input keyboard after switching, go to determine which association's candidate storehouse current needs uses carry out association.
Certainly, in the embodiment of the present invention, input keyboard and association's candidate storehouse of input keyboard after switching before switching, put into one with all associations candidate item and associate compared with candidate storehouse, its range of search is little, and retrieval time is short.
Preferably, in embodiments of the present invention, when aforementioned structure association candidate storehouse, also comprise:
The historical record of the comprehensive all user input contents of step 422, constructs described complex relational data;
And/or step 424, according to the historical record of active user's input content, constructs described complex relational data;
And/or step 426, according to mixed communication system word, constructs described complex relational data;
And/or step 428, by cutting word process to various language material, constructs described complex relational data.
Step 422, the specific implementation of 424,426,428 respectively with step 322,324,326,328 is similar, do not repeat them here.Certainly, the association's candidate item herein in each association candidate storehouse can mark with corresponding input keyboard again.
Step 430, according to by the input content switching front input keyboard and input, inquires about each association candidate item of mating with described input content from described association candidate storehouse.
After determining association's candidate storehouse, can go in association's candidate storehouse, to inquire about each association candidate item according to input content.
In embodiments of the present invention, first input content can be mated completely in association's candidate storehouse, inquiry association candidate item, if to unmatch, then carry out semi-match and carry out association's candidate item.In such as user's Chinese keyboard before the handover, input content is " laughing heartily ", and associate in candidate storehouse only have " heartily " correspondence expression candidate item, after being switched to expression keyboard, " laughing heartily " coupling less than expression candidate item, and can match expression candidate item by " heartily ".
Preferably, step 430 comprises:
Sub-step 4301, according to the complex relational data in association's candidate storehouse, inquires about the association candidate item corresponding with described input content.
Determine at step 420 which with switch front input keyboard and switches association's candidate storehouse that afterwards input keyboard mates after, in this association's candidate storehouse, according to complex relational data, the association candidate item corresponding with described input content can be inquired about.
Step 440, shows user by described association candidate item.
The similar step principle of the embodiment of the present invention and embodiment one is similar, is not repeating at this.
In the embodiment of the present invention, the building process of association's candidate storehouse can perform in server and/or input method client.
The input content that embodiment of the present invention recording user is last before finally switching input keyboard, then after switching keyboard, according to this input content, from switching association's candidate storehouse that input keyboard matches afterwards, inquire about association's candidate item and show user to select.So, use in the process of input method for user, having broken association and input content must boundary on an input keyboard, after user inputs in a kind of input keyboard, when being switched to another kind of input keyboard, directly for the content under a kind of input keyboard after the input content association in front a kind of input keyboard, user can be facilitated to input, reduces the input cost of user.
And, the embodiment of the present invention builds association's candidate storehouse with the input keyboard before switching and the input keyboard after switching, thus association's candidate storehouse determined by input keyboard before can switching and the input keyboard after switching, and the range of search of association's candidate item is reduced, improve retrieval rate, reduce retrieval time.
Embodiment five
With reference to Fig. 5, it illustrates a kind of schematic flow sheet across keyboard association device of the present invention, specifically can comprise:
Switching judging module 510, for judging whether input keyboard is switched;
Association's acquisition module 520, if be switched for input keyboard, then the input content before being switched according to input keyboard, obtains and associates candidate item accordingly;
Association's display module 530, for showing user by described association candidate item.
Preferably, described association acquisition module 520 also for obtain with switch after each association candidate item of matching of input keyboard.
Preferably, described association display module 530 comprises:
First display unit, for described association candidate item being illustrated in the association show area of input method, selects for user.
Embodiment six
With reference to Fig. 6, it illustrates a kind of schematic flow sheet across keyboard association device of the present invention, specifically can comprise:
Switching judging module 610, for judging whether input keyboard is switched;
Association's acquisition module 620, specifically comprises:
Keyboard adaptation association unit 6201, if be switched for input keyboard, then according to by the input content switching front input keyboard and input, obtain with switch after each association candidate item of matching of input keyboard.
Association's display module 630, for showing user by described association candidate item.
Embodiment seven
With reference to Fig. 7, it illustrates a kind of schematic flow sheet across keyboard association device of the present invention, specifically can comprise:
Switching judging module 710, for judging whether input keyboard is switched;
Association's acquisition module 720, specifically comprises:
The adaptive query unit 7201 of keyboard, if be switched for input keyboard, according to by the input content switching front input keyboard and input, each association candidate item of inquiry and described content matching;
Weight adjustment unit 7202, for for each association candidate item, increase with described switching after the displaying weight of association's candidate item that matches of input keyboard.
Association's display module 730, for showing user by described association candidate item.
Preferably, each association candidate item that described inquiry and described input content match, specifically comprises:
According to complex relational data, inquire about the association candidate item corresponding with described input content.
Preferably, also comprise:
First relation builds module, for the historical record of comprehensive all user input contents, constructs described complex relational data;
And/or second relation build module, for the historical record according to active user's input content, construct described complex relational data;
And/or the 3rd relation build module, for according to mixed communication system word, construct described complex relational data;
And/or the 4th relation build module, for by cutting word process to various language material, construct described complex relational data.
Embodiment eight
With reference to Fig. 8, it illustrates a kind of schematic flow sheet across keyboard association device of the present invention, specifically can comprise:
Switching judging module 810, for judging whether input keyboard is switched;
Association's acquisition module 820, specifically comprises:
Association's candidate storehouse determining unit 8201, if be switched for input keyboard, then according to the input keyboard before switching and the input keyboard after switching, determines association's candidate storehouse;
Association's candidate item query unit 8202, for according to by the input content switching front input keyboard and input, inquires about each association candidate item of mating with described input content from described association candidate storehouse.
Association's display module 830, for showing user by described association candidate item.
Preferably, each association candidate item that described inquiry and described input content match, specifically comprises:
According to complex relational data, inquire about the association candidate item corresponding with described input content.
Preferably, also comprise:
First relation builds module, for the historical record of comprehensive all user input contents, constructs described complex relational data;
And/or second relation build module, for the historical record according to active user's input content, construct described complex relational data;
And/or the 3rd relation build module, for according to mixed communication system word, construct described complex relational data;
And/or the 4th relation build module, for by cutting word process to various language material, construct described complex relational data.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.The embodiment of the present invention can be applied to be needed to use in the electronic equipment of input method with any one, and described electronic equipment is PC, mobile phone, panel computer etc. such as.
Those skilled in the art should understand, the embodiment of the embodiment of the present invention can be provided as method, device or computer program.Therefore, the embodiment of the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the embodiment of the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The embodiment of the present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, terminal device (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminal equipment to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing terminal equipment produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing terminal equipment, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded on computing machine or other programmable data processing terminal equipment, make to perform sequence of operations step to produce computer implemented process on computing machine or other programmable terminal equipment, thus the instruction performed on computing machine or other programmable terminal equipment is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Although described the preferred embodiment of the embodiment of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of embodiment of the present invention scope.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or terminal device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or terminal device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the terminal device comprising described key element and also there is other identical element.
Above across keyboard, device is associated across keyboard association method and one to one provided by the present invention, be described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (16)

1. across a keyboard association method, it is characterized in that, comprising:
Judge whether input keyboard is switched;
If input keyboard is switched, then the input content before being switched according to input keyboard, obtains and associates candidate item accordingly;
Described association candidate item is showed user.
2. method according to claim 1, is characterized in that, the step of candidate item is associated in described acquisition accordingly, comprising:
Each association candidate item that acquisition and the input keyboard after switching match.
3. method according to claim 1, is characterized in that, described be switched according to input keyboard before input content, obtain the step of corresponding association candidate item, comprising:
According to by the input content switching front input keyboard and input, obtain with switch after each association candidate item of matching of input keyboard.
4. method according to claim 1, is characterized in that, described be switched according to input keyboard before input content, obtain the step of corresponding association candidate item, comprising:
According to by the input content switching front input keyboard and input, inquire about each association candidate item of mating with described input content;
For each association candidate item, increase with described switching after the displaying weight of association's candidate item that matches of input keyboard.
5. method according to claim 1, is characterized in that, described be switched according to input keyboard before input content, obtain the step of corresponding association candidate item, comprising:
According to the input keyboard before switching and the input keyboard after switching, determine association's candidate storehouse;
According to by the input content switching front input keyboard and input, from described association candidate storehouse, inquire about each association candidate item of mating with described input content.
6. the method according to claim 4 or 5, is characterized in that, the step of each association candidate item that described inquiry and described input content match, comprising:
According to complex relational data, inquire about the association candidate item corresponding with described input content.
7. method according to claim 6, is characterized in that, also comprises:
The historical record of comprehensive all user input contents, constructs described complex relational data;
And/or according to the historical record of active user's input content, construct described complex relational data;
And/or according to mixed communication system word, construct described complex relational data;
And/or by cutting word process to various language material, construct described complex relational data.
8. method according to claim 1, is characterized in that, describedly shows the step of user to comprise described each association candidate item:
Described association candidate item is illustrated in the association show area of input method, selects for user.
9., across a keyboard association device, it is characterized in that, comprising:
Switching judging module, for judging whether input keyboard is switched;
Association's acquisition module, if be switched for input keyboard, then the input content before being switched according to input keyboard, obtains and associates candidate item accordingly;
Association's display module, for showing user by described association candidate item.
10. device according to claim 9, is characterized in that, described association acquisition module also for obtain with switch after each association candidate item of matching of input keyboard.
11. devices according to claim 9, is characterized in that, described association acquisition module comprises:
Keyboard adaptation association unit, for according to by the input content switching front input keyboard and input, obtain with switch after each association candidate item of matching of input keyboard.
12. devices according to claim 9, is characterized in that, described association acquisition module comprises:
The adaptive query unit of keyboard, for according to by the input content switching front input keyboard and input, each association candidate item of inquiry and described content matching;
Weight adjustment unit, for for each association candidate item, increase with described switching after the displaying weight of association's candidate item that matches of input keyboard.
13. devices according to claim 9, is characterized in that, described association acquisition module comprises:
Association's candidate storehouse determining unit, for according to the input keyboard before switching and the input keyboard after switching, determines association's candidate storehouse;
Association's candidate item query unit, for according to by the input content switching front input keyboard and input, inquires about each association candidate item of mating with described input content from described association candidate storehouse.
14. devices according to claim 12 or 13, it is characterized in that, each association candidate item that described inquiry and described input content match, specifically comprises:
According to complex relational data, inquire about the association candidate item corresponding with described input content.
15. devices according to claim 14, is characterized in that, also comprise:
First relation builds module, for the historical record of comprehensive all user input contents, constructs described complex relational data;
And/or second relation build module, for the historical record according to active user's input content, construct described complex relational data;
And/or the 3rd relation build module, for according to mixed communication system word, construct described complex relational data;
And/or the 4th relation build module, for by cutting word process to various language material, construct described complex relational data.
16. devices according to claim 9, is characterized in that, described association display module comprises:
First display unit, for described association candidate item being illustrated in the association show area of input method, selects for user.
CN201510355586.8A 2015-06-24 2015-06-24 Across the keyboard association method of one kind and device Active CN104978047B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510355586.8A CN104978047B (en) 2015-06-24 2015-06-24 Across the keyboard association method of one kind and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510355586.8A CN104978047B (en) 2015-06-24 2015-06-24 Across the keyboard association method of one kind and device

Publications (2)

Publication Number Publication Date
CN104978047A true CN104978047A (en) 2015-10-14
CN104978047B CN104978047B (en) 2018-10-12

Family

ID=54274619

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510355586.8A Active CN104978047B (en) 2015-06-24 2015-06-24 Across the keyboard association method of one kind and device

Country Status (1)

Country Link
CN (1) CN104978047B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109388328A (en) * 2017-08-09 2019-02-26 北京搜狗科技发展有限公司 A kind of input method, device and medium
WO2019144724A1 (en) * 2018-01-29 2019-08-01 北京搜狗科技发展有限公司 Expression input method and apparatus
CN110244861A (en) * 2018-03-09 2019-09-17 北京搜狗科技发展有限公司 Data processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08129545A (en) * 1994-11-01 1996-05-21 Toshiba Corp Character string converting method and document preparation device
CN101308515A (en) * 2008-06-26 2008-11-19 无敌科技(西安)有限公司 Input method possessing association function
CN102214010A (en) * 2010-04-08 2011-10-12 乐金电子(中国)研究开发中心有限公司 Input text choice box displaying method and device for mobile terminal
CN102830811A (en) * 2012-08-21 2012-12-19 北京小米科技有限责任公司 Content matching method and device for input method switching of mobile terminal
CN104424180A (en) * 2013-09-09 2015-03-18 佳能株式会社 Text input method and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08129545A (en) * 1994-11-01 1996-05-21 Toshiba Corp Character string converting method and document preparation device
CN101308515A (en) * 2008-06-26 2008-11-19 无敌科技(西安)有限公司 Input method possessing association function
CN102214010A (en) * 2010-04-08 2011-10-12 乐金电子(中国)研究开发中心有限公司 Input text choice box displaying method and device for mobile terminal
CN102830811A (en) * 2012-08-21 2012-12-19 北京小米科技有限责任公司 Content matching method and device for input method switching of mobile terminal
CN104424180A (en) * 2013-09-09 2015-03-18 佳能株式会社 Text input method and equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109388328A (en) * 2017-08-09 2019-02-26 北京搜狗科技发展有限公司 A kind of input method, device and medium
CN109388328B (en) * 2017-08-09 2020-12-11 北京搜狗科技发展有限公司 Input method, device and medium
WO2019144724A1 (en) * 2018-01-29 2019-08-01 北京搜狗科技发展有限公司 Expression input method and apparatus
CN110244861A (en) * 2018-03-09 2019-09-17 北京搜狗科技发展有限公司 Data processing method and device
CN110244861B (en) * 2018-03-09 2024-02-02 北京搜狗科技发展有限公司 Data processing method and device

Also Published As

Publication number Publication date
CN104978047B (en) 2018-10-12

Similar Documents

Publication Publication Date Title
CN102439542B (en) The text input system of electronic equipment and text entry method
CN110168575A (en) Dynamic tensor attention for information retrieval scoring
CN102819567B (en) A kind of associated person information search method of electronic equipment and system
CN102063195B (en) Method and equipment allowing user to implement mixed Chinese and English input
CN103092962B (en) A kind of method and system issuing internet information
CN101404716A (en) Method and apparatus for inputting characters on digital television terminal
CN102662487B (en) It is a kind of to show keyboard, input processing method and device
CN109656384A (en) Character string input method and device
CN106325488A (en) Input method, input device, server and input system
CN106527752A (en) Method and device for providing input candidate items
US11704326B2 (en) Generalization processing method, apparatus, device and computer storage medium
CN109144285A (en) A kind of input method and device
CN104503597A (en) Stroke input method, stroke input device and stroke input system
CN106354276B (en) Hybrid input method and device suitable for multiple input methods and electronic equipment
CN105094603A (en) Method and device for related inputting
CN104978047A (en) Cross-keyboard association method and apparatus
JP2021082306A (en) Method, apparatus, device, and computer-readable storage medium for determining target content
CN108292324A (en) The inline order of content creation
CN102707886B (en) Input character editing method and system
CN104281275A (en) Method and device for inputting English
CN104219586A (en) Input device and input method applied to smart televisions
CN111753147A (en) Similarity processing method, device, server and storage medium
CN104199864A (en) Key tone prompting method and device in input process
CN102866781A (en) Pinyin-to-character conversion method and pinyin-to-character conversion system
CN101882025A (en) Hand input method and system

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