CN108958503A - input method and device - Google Patents
input method and device Download PDFInfo
- Publication number
- CN108958503A CN108958503A CN201710384374.1A CN201710384374A CN108958503A CN 108958503 A CN108958503 A CN 108958503A CN 201710384374 A CN201710384374 A CN 201710384374A CN 108958503 A CN108958503 A CN 108958503A
- Authority
- CN
- China
- Prior art keywords
- identification information
- user
- candidate item
- input
- client
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 82
- 238000013507 mapping Methods 0.000 claims description 91
- 230000006399 behavior Effects 0.000 claims description 64
- 230000005540 biological transmission Effects 0.000 claims description 15
- 238000012423 maintenance Methods 0.000 abstract description 4
- 238000012937 correction Methods 0.000 description 23
- 238000012545 processing Methods 0.000 description 14
- 238000010586 diagram Methods 0.000 description 11
- 238000004891 communication Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 7
- 230000003993 interaction Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 230000008859 change Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 239000003795 chemical substances by application Substances 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 238000000605 extraction Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000000712 assembly Effects 0.000 description 2
- 238000000429 assembly Methods 0.000 description 2
- 230000037147 athletic performance Effects 0.000 description 2
- 230000003542 behavioural effect Effects 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 241001269238 Data Species 0.000 description 1
- 241000209140 Triticum Species 0.000 description 1
- 235000021307 Triticum Nutrition 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 210000003127 knee Anatomy 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000002156 mixing Methods 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
- G06F3/0233—Character input methods
- G06F3/0236—Character input methods using selection techniques to select from displayed items
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)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the invention provides a kind of input method and device, method therein is specifically included: receiving input string and identification information that client is sent;The identification information is for identifying the corresponding user of the client and/or terminal;According to the corresponding user thesaurus of the identification information and/or user model, the corresponding candidate item of the input string is obtained;The candidate item is sent to the client.The embodiment of the present invention is by server according to the corresponding user thesaurus of identification information and/or user model, the corresponding candidate item of acquisition input string.Since server has more sufficient memory space relative to client, therefore the embodiment of the present invention can allow the dictionary of server side maintenance and/or model not to be limited by memory space, therefore the quantity of candidate item can be improved, so that the candidate item that client provides a user is more nearly the desired candidate item of user, to improve the input efficiency of user, user's viscosity is improved.
Description
Technical field
The present invention relates to input method technique field more particularly to a kind of input method and devices.
Background technique
With the continuous development of input method, input method possesses a large amount of dictionary data, can accurately push use for user
Candidate item corresponding to the input string of family input, therefore be gradually used widely.
In the related technology, the client of input method can be obtained after receiving the input string of user by local dictionary
The corresponding ordinary candidate item of the input string, meanwhile, the input string can be sent to server, so that server by utilizing cloud resource obtains
The corresponding cloud candidate item of the input string is taken, and returns to the cloud candidate item to client;Client can show common wait to user
Option and cloud candidate item are selected for user.
Summary of the invention
In view of the above problems, the embodiment of the present invention proposes one kind and overcomes the above problem or at least be partially solved above-mentioned
The input efficiency of user can be improved in the input method and device of problem, the embodiment of the present invention, and user's viscosity can be improved.
To solve the above-mentioned problems, in a first aspect, the invention discloses a kind of input methods, comprising:
Receive input string and identification information that client is sent;The identification information is corresponding for identifying the client
User and/or terminal;
According to the corresponding user thesaurus of the identification information and/or user model, the corresponding candidate of the input string is obtained
?;Wherein, the corresponding user thesaurus of the identification information and/or user model are defeated according to the corresponding history of the identification information
Enter behavioral data to obtain;
The candidate item is sent to the client.
Second aspect, the invention also discloses a kind of input methods, comprising:
Obtain the input string of identification information and user's input;The identification information is for identifying the corresponding user of client
And/or terminal;
The input string and the identification information are sent to server;
Receive the candidate item that the server is sent, the candidate item is the server according to the input string and described
The corresponding user thesaurus of identification information and/or user model obtain, the corresponding user thesaurus of the identification information and/or user's mould
Type is to obtain according to the corresponding history input behavior data of the identification information.
The third aspect, the invention discloses a kind of input units, comprising:
First receiving module, for receiving the input string and identification information of client transmission;The identification information is for marking
Know the corresponding user of the client and/or terminal;
First obtains module, for according to the corresponding user thesaurus of the identification information and/or user model, described in acquisition
The corresponding candidate item of input string;Wherein, the corresponding user thesaurus of the identification information and/or user model are according to the mark
The corresponding history input behavior data of information obtain;
Sending module, for sending the candidate item to the client.
Optionally, described device can also include:
Probability determination module, described in determining according to the corresponding user thesaurus of the identification information and/or user model
Shield probability in the condition of candidate item;In the condition shield probability for be characterized in the corresponding user thesaurus of the identification information and/
Or shield the probability of the candidate item under conditions of user model, on user;
Sorting module shields probability in the condition according to the candidate item, is ranked up to the candidate item;
The sending module may include:
Sending submodule, for sending the candidate item after sequence to the client.
Optionally, the probability determination module may include:
First determines submodule, for determining institute according to the corresponding user thesaurus of the identification information and/or user model
It states and shields number and total upper screen number in the target of candidate item;Shielding number in the target is the corresponding user thesaurus of identification information
And/or upper screen number recorded in user model, the corresponding single candidate item of input string, total upper screen number is mark letter
Cease upper screen numbers recorded in corresponding user thesaurus and/or user model, the corresponding multiple candidate items of input string and value;
Second determining submodule, for determining the candidate according to number and total upper screen number is shielded in the target
Shield probability in the condition of item.
Optionally, the user model includes key mapping model;
The probability determination module may include:
Third determines submodule, for determining that the key is reflected according to the corresponding key mapping model of the identification information
Penetrate input string pair described in the corresponding target frequency of occurrence for matching sequence of candidate item in model and the key mapping model
The total frequency of occurrence for all matching sequences answered;
4th determines submodule, for determining the candidate according to the target frequency of occurrence and total frequency of occurrence
Shield probability in the condition of item.
Optionally, described device can also include:
Second receiving module is data and the identification information for receiving the current input line that the client is sent,
The current input line is that data are used to indicate operation of the user for the candidate item;
Word library updating module updates the mark for being data and the identification information according to the current input line
The corresponding user thesaurus of information.
Optionally, the history input behavior data include: to shield content and history input string in history;
The user model includes key mapping model, the key mapping model for record the history input string and
The key mapping relations between sequence are matched, the matching sequence is the corresponding matching sequence of the content of screen in history;
Described device can also include:
Second obtains module, for shielding content in history according to described, obtains the matching sequence;
Model building module, for according to the identification information, the history input string and the matching sequence, establish with
The corresponding key mapping model of the identification information.
Optionally, the model building module may include:
Mapping relations setting up submodule, for establishing the history according to the history input string and the matching sequence
Key mapping relations between input string and the matching sequence;
Model foundation submodule, for establishing the key and reflecting according to the identification information and the key mapping relations
Penetrate model.
Optionally, described device can also include:
Third receiving module is data and the identification information for receiving the current input line that the client is sent,
The current input line is that data are used to indicate operation of the user for the candidate item, and the current input line includes for data
The input string;
Model modification module updates the key for being data and the identification information according to the current input line
Mapping model.
Optionally, the identification information includes: user identifier and/or terminal iidentification.
Fourth aspect, the invention also discloses a kind of input units, comprising:
First obtains module, for obtaining the input string of identification information and user's input;The identification information is for identifying
The corresponding user of client and/or terminal;
First sending module, for sending the input string and the identification information to server;
Receiving module, the candidate item sent for receiving the server, the candidate item is the server according to institute
It states input string and the corresponding user thesaurus of the identification information and/or user model obtains, the corresponding user of the identification information
Dictionary and/or user model are to obtain according to the corresponding history input behavior data of the identification information.
Optionally, which can also include:
Second obtains module, and the current input line for obtaining user's triggering is data;The current input line is data
It is used to indicate operation of the user for the candidate item;
Second sending module is used to send the current input line to the server as data and the identification information,
So that the server is data and the identification information according to the current input line, the corresponding use of the identification information is updated
Family dictionary and/or user model.
Optionally, the identification information includes: user identifier and/or terminal iidentification.
5th aspect includes memory and one or more than one the invention discloses a kind of input unit
Program, perhaps more than one program is stored in memory and is configured to by one or more than one processing for one of them
It includes the instruction for performing the following operation that device, which executes the one or more programs:
Receive input string and identification information that client is sent;The identification information is corresponding for identifying the client
User and/or terminal;
According to the corresponding user thesaurus of the identification information and/or user model, the corresponding candidate of the input string is obtained
?;Wherein, the corresponding user thesaurus of the identification information and/or user model are defeated according to the corresponding history of the identification information
Enter behavioral data to obtain;
The candidate item is sent to the client.
6th aspect, the invention also discloses a kind of input unit, include memory and one or more than one
Program, one of them perhaps more than one program be stored in memory and be configured to by one or more than one
Managing device and executing the one or more programs includes the instruction for performing the following operation:
Obtain the input string of identification information and user's input;The identification information is for identifying the corresponding user of client
And/or terminal;
The input string and the identification information are sent to server;
Receive the candidate item that the server is sent, the candidate item is the server according to the input string and described
The corresponding user thesaurus of identification information and/or user model obtain, the corresponding user thesaurus of the identification information and/or user's mould
Type is to obtain according to the corresponding history input behavior data of the identification information.
7th aspect, the invention discloses a kind of machine readable medias, are stored thereon with instruction, when by one or more
When managing device execution, so that device executes the input method as described in one or more in first aspect.
Eighth aspect, the invention discloses a kind of machine readable medias, are stored thereon with instruction, when by one or more
When managing device execution, so that device executes the input method as described in one or more in second aspect.
The embodiment of the present invention includes following advantages:
The embodiment of the present invention can by server according to the corresponding user thesaurus of identification information and/or user model, obtain
The corresponding candidate item of input string is taken, since server has more sufficient memory space and more powerful relative to client
Data-handling capacity, therefore dictionary and/or model that server side can be allowed to safeguard are not limited by memory space, therefore
The quantity of candidate item can be improved.
On this basis, since the corresponding user thesaurus of above-mentioned identification information and/or user model can be for according to described in
The corresponding history input behavior data of identification information obtain, and above-mentioned identification information for identify the corresponding user of client and/
Or terminal, in this way, the personalized input that the corresponding user thesaurus of above-mentioned identification information and/or user model can reflect user is practised
Used, therefore, server can use more powerful data-handling capacity, and the individual character for meeting user is obtained from a large amount of candidate item
Change the candidate item of input habit, so that the candidate item that client provides a user is more nearly the desired candidate item of user, thus
The input efficiency for improving user improves user's viscosity.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention
Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings
Obtain other attached drawings.
Fig. 1 is a kind of exemplary block diagram of input method system of the embodiment of the present invention;
Fig. 2 is a kind of step flow chart of input method embodiment of the invention;
Fig. 3 is the step flow chart of another input method of the invention;
Fig. 4 is the step flow chart of a kind of foundation and update user thesaurus of the invention;
Fig. 5 is the step flow chart of a kind of foundation and update key mapping model of the invention;
Fig. 6 is a kind of step flow chart of input method embodiment of the invention;
Fig. 7 is the step flow chart of another input method embodiment of the invention;
Fig. 8 is a kind of structural block diagram of input unit embodiment of the invention;
Fig. 9 is a kind of structural block diagram of input unit embodiment of the invention;
Figure 10 is a kind of structural block diagram of input unit of the invention;And
Figure 11 is the structural schematic diagram of server in some embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Term "and/or" in the present invention, only a kind of incidence relation for describing affiliated partner, indicates may exist three kinds
Relationship, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.In addition, this
Character "/" in text typicallys represent the relationship that forward-backward correlation object is a kind of "or".
Inventor has found that client in the prior art can pass through local word during implementing the embodiment of the present invention
Library obtains the corresponding ordinary candidate item of input string;However, due to by memory space and data-handling capacity (such as operation energy
Power) limitation, local dictionary is generally merely able to a part of vocabulary that covering people use, causes client to mention to user in this way
For less candidate item, and then influence the input efficiency of user.
The embodiment of the invention provides a kind of input method, the input string of the available user of client and for marking
Know the identification information of the corresponding user of client and/or terminal, and sends the input string and the identification information to server.Accordingly
, server can receive the input string and identification information of client transmission, and according to the corresponding user thesaurus of the identification information
And/or user model, the corresponding candidate item of input string is obtained, and send candidate item to client, so that client is in user
The now candidate item.
The embodiment of the present invention by server according to the corresponding user thesaurus of identification information and/or user model, obtain it is defeated
Enter to go here and there corresponding candidate item, since server has more sufficient memory space and more powerful data relative to client
Processing capacity, therefore dictionary and/or model that server side can be allowed to safeguard are not limited by memory space, therefore can be with
Improve the quantity of candidate item;On this basis, since the corresponding user thesaurus of above-mentioned identification information and/or user model can be
It is obtained according to the corresponding history input behavior data of the identification information, and above-mentioned identification information is corresponding for identifying client
User and/or terminal, in this way, the corresponding user thesaurus of above-mentioned identification information and/or user model can reflect the individual character of user
Change input habit, therefore, server can use more powerful data-handling capacity, obtains from a large amount of candidate item and meets use
The candidate item of the personalized input habit at family,.
In the embodiment of the present invention, the dictionary and/or model of server side maintenance be can specifically include: system dictionary, user
At least one of dictionary, system model and user model, wherein according to the corresponding user thesaurus of identification information and/or user
Model obtains the corresponding candidate item of input string, and candidate item can be made to be more nearly the personalized input that identification information corresponds to user
Habit, can be improved the input efficiency of user in this way, and then can increase user's viscosity.
It should be noted that the input in input method field, for such as Chinese, Japanese, Korean or other Languages
Method program can be converted into the input string that user inputs the candidate item of corresponding language.In the embodiment of the present invention mainly in
It is illustrated for text, other Languages is cross-referenced.It is appreciated that the Chinese character coding input method can include but is not limited to entirely
Spelling, simplicity, stroke, five etc., specific input method procedure corresponding for certain language of the embodiment of the present invention is without restriction.
Referring to Fig.1, a kind of exemplary block diagram of input method system according to an embodiment of the present invention is shown, such as Fig. 1 institute
Show, which may include: at least one client 100 and at least one server 200.As shown in Figure 1, client
100 are located in wired or wireless network with server 200, by the wired or wireless network, client 100 and server 200
Carry out data interaction.
Wherein, client 100 can be the corresponding client of input method procedure.In practical applications, client 100 can be with
Operate on intelligent terminal, above-mentioned intelligent terminal is specifically including but not limited to: smart phone, tablet computer, E-book reader,
Sound pick-up outfit, MP3 (dynamic image expert's compression standard audio level 3, Moving Picture Experts Group Audio
Layer III) player, MP4 (dynamic image expert's compression standard audio level 4, Moving Picture Experts
Group Audio Layer IV) player, pocket computer on knee, vehicle-mounted computer, desktop computer, set-top box, intelligence
Television set, wearable device etc..
Specifically, the input string of the available user of client 100, and obtain for identifying the corresponding user of client
And/or the identification information of terminal, and the input string and the identification information are sent to server.
Server 200 can receive the input string and identification information of the transmission of client 100, corresponding according to the identification information
User thesaurus and/or user model obtain candidate item corresponding with the input string, and send the candidate item to client.Wherein,
The corresponding user thesaurus of the identification information and/or user model are to obtain according to the corresponding history input behavior data of the identification information
It arrives.
Client 100 can also receive the candidate item of the transmission of server 200, so that the candidate item is shown to user, so as to
User selects to shield.
Wherein, the history input behavior data can for user be generated in previous input process with history input behavior
Relevant data, the example of history input behavior may include: upper screen behavior, the error correction behavior of input string, shield content in history
Deleting act etc., the example of history input behavior data may include: to shield content, history input string and user in history to going through
Shield at least one of the delete operation data of content in history, wherein it can be candidate on the screen that this shields content in history
, the input string which inputs when can obtain for user and shield content in history, it will be understood that the embodiment of the present invention
Without limitation to specific history input behavior data.
Moreover, server can also establish user thesaurus corresponding with identification information according to the history input behavior data
With the high level datas such as user model, so that server can obtain candidate item according to high level data in the next steps.Optionally,
User model may include key mapping model, user's error correction key model and the polynary language model of user etc., and user thesaurus is used
In shielding content on log history, the key mapping model is for log history input string and matches the key mapping pass between sequence
System, the matching sequence are to shield the corresponding matching sequence of candidate item on the screen in content in history, and matching sequence can be used as
Inquire the foundation of dictionary.
Referring to table 1, a kind of signal of key mapping model of the embodiment of the present invention is shown, wherein the key maps mould
Type can recorde the mapping relations between input string, matching sequence and frequency of occurrence, which is used to indicate input string
The number of Corresponding matching sequence.For example, may include input string " ql " by taking syllable sequence as an example, in key mapping model, input
" ql " corresponding matching sequence of going here and there may include " [qing] [lv] ", " [qi] [lai] " and " [qun] [li] ", match sequence
" [qing] [lv] " corresponding frequency of occurrence is 5, and the corresponding frequency of occurrence of matching sequence " [qi] [lai] " is 3, matches sequence
" [qi] [lai] " corresponding frequency of occurrence is 2.
It is appreciated that syllable sequence can be used as the example for matching sequence in spelling input method, (such as character-shape input method
Five-stroke input method), corresponding matching sequence can also be grapheme sequence, and the input for numbers and symbols, matching sequence is also
It may include Serial No., symbol sebolic addressing etc., it will be understood that the embodiment of the present invention is to specific matching sequence limit without restriction
It is fixed.
Table 1
Input string | Match sequence | Frequency of occurrence |
ql | [qing][lv] | 5 |
ql | [qi][lai] | 3 |
ql | [qun][li] | 2 |
Referring to table 2, a kind of signal of user thesaurus of the embodiment of the present invention is shown, wherein can be in the user thesaurus
Record has the mapping relations between the upper screen number for shielding content in history and shielding content in history.For example, going through in user thesaurus
Shielding content in history may include " lovers ", " ", " ride and " and " in group ";The corresponding upper screen of screen content " lovers " in history
Number is 5, and shielding content " getting up " corresponding upper screen number in history is 2, shields the corresponding upper screen number of content " ride and " in history and is
1, shielding content " in group " corresponding upper screen number in history is 2.
Table 2
Shield content in history | Upper screen number |
Lovers | 5 |
Get up | 2 |
It rides and | 1 |
In group | 2 |
Referring to table 3, a kind of signal of user's error correction key model of the embodiment of the present invention is shown, wherein the user entangles
It can recorde the mapping relations between input string, error correction string and error correction probability in wrong key model, the error correction probability is for referring to
Show error correction string by the wrong defeated probability for input string.For example, the input string in user's error correction key model may include " niqiu " and
"nihao";Error correction string corresponding with input string " niqiu " may include " nijiu " and " nihui ", right with input string " nihao "
The error correction string answered may include " nihai " and " nihou ";The corresponding error correction probability of error correction string " nijiu " can be 3/5, error correction
" " nihui " " corresponding error correction probability of going here and there can be 2/5, and the corresponding error correction probability of error correction string " nihai " can be 4/5, error correction
" nihou " corresponding error correction probability of going here and there can be 1/5.
Table 3
Input string | Error correction string | Error correction probability |
niqiu | nijiu | 3/5 |
niqiu | nihui | 2/5 |
nihao | nihai | 4/5 |
nihao | nihou | 1/5 |
Referring to table 4, a kind of signal of the polynary language model of user of the embodiment of the present invention is shown, wherein the user is more
It can recorde the mapping relations between multiple phrases and attributive character in gram language model, above-mentioned attributive character specifically can wrap
Include at least one of following information: input number, history input time and history input environment information.For example, user is polynary
Multiple phrases in language model may include 3 yuan of phrases " I | like | you ", 2 yuan of phrases " heart | collapse " and 2 yuan of phrases
" sky | very blue ", wherein " | " can indicate that screen acts on user, the corresponding input number of 3 yuan of phrases " I | like | you " is 5,
The corresponding input number of 2 yuan of phrases " heart | collapse " is that the corresponding input number of 3,2 yuan of phrases " sky | very blue " is 2.
Table 4
Multiple phrases | Input number |
I | like | you | 5 |
Heart | collapse | 3 |
Sky | it is very blue | 2 |
It should be noted that in practical applications, server 200 to the candidate item that client 100 is sent may include to
A few candidate item, the embodiment of the present invention do not limit the particular number for the candidate item that server 200 is sent to client 100
It is fixed.
Referring to Fig. 2, a kind of step flow chart of input method embodiment of the invention is shown, interaction agent is client
And server, it can specifically include:
Step 201, client obtain the input string of identification information and user's input, and the identification information is for identifying the client
Hold corresponding user and/or terminal.
Wherein, which may include: user identifier and/or terminal iidentification, which can exist for user
Client log in account, terminal iidentification can for IMEI (International Mobile Equipment Identity,
International Mobile Equipment Identity code), the embodiment of the present invention to specific user identifier and/or terminal iidentification without limitation.
After intelligent terminal opens client (such as client of input method procedure) depending on the user's operation, client can
With the input behavior of real-time monitoring user, and according to the input behavior of user, input string corresponding with the input behavior is obtained.
For example, when client detects that user is inputted by keyboard, the different key that can be pressed according to user,
Obtain input string corresponding with the button operation of user.It is appreciated that key-press input is intended only as the input of the embodiment of the present invention
The example of mode, the actually input mode of the embodiment of the present invention can also include voice input, handwriting input etc., and the present invention is real
It is without restriction for specific input mode to apply example.
Due to needing to provide candidate item to different user, and the personalized input habit of each user may phase not to the utmost
Together, therefore server can provide corresponding candidate item according to the personalized input habit of user.It is used correspondingly, client obtains
After the input string at family, the corresponding identification information of client can also be obtained, to send in the next steps to server
Input string and identification information allow server to obtain the corresponding candidate item of input string, specifically, clothes according to the identification information
Business device can obtain the corresponding candidate item of the input string according to the corresponding user thesaurus of identification information and/or user model, in turn
The candidate item for meeting its personalized input habit can be provided a user.
Step 202, user end to server send input string and identification information.
Step 203, server receive input string and identification information that client is sent, and corresponding according to the identification information
User thesaurus and/or user model obtain the corresponding candidate item of the input string.
After server receives the input string and identification information that client is sent, first the input string can be parsed, from
And obtain matching sequence corresponding with the input string, while can be obtained according to the identification information corresponding user thesaurus and/or
User model is searched corresponding with the matching sequence in conjunction with obtained matching sequence from user thesaurus and/or user model
Candidate item, finally using candidate item corresponding with the matching sequence as obtain candidate item.
Certainly, server can parse to obtain multiple matching sequences corresponding with the input string, and each matching sequence
Multiple candidate items can also be corresponded to, last available multiple candidate items corresponding with the input string, the embodiment of the present invention is to this
Without limitation.
In a kind of application example of the invention, it is assumed that input string be " ql ", then server can to input string " ql " into
Row parsing, obtains the corresponding matching sequence of input string " ql ", such as " [qing] [lv] ", " [qi] [lai] " and " [qun] [li] "
Deng, user thesaurus shown in such as table 2 may further be inquired further according to matching sequence, obtain corresponding candidate item, such as " feelings
Companion ", " getting up ", " ride come " and " in group " etc..
In another kind application example of the invention, it is assumed that input string is " niqiu ", then server can use such as table
User key-press error correcting model shown in 3 carries out error correction to input string " niqiu " and obtains error correction string " nijiu " and " nihui ", so
It is referred to the acquisition process of the corresponding candidate item of input string afterwards, obtains the corresponding candidate item of error correction string.
It should be noted that other than user thesaurus and/or user model, the dictionary and/or mould of server side maintenance
Type can also include: system dictionary and/or system model etc., for example, system model can be error correcting model and polynary language mould
Type etc., then server can also obtain the corresponding candidate item of input string according to system dictionary and/or system model.
In another of the invention using in example, server can also obtain input string using the polynary language model of user
Corresponding candidate item.For example, can be according to the candidate item obtained according to system dictionary and/or system model or according to basis
The candidate item and the corresponding context of input string that system dictionary and/or system model obtain, it is polynary to inquire user as shown in table 4
Language model can be using candidate item as the candidate item obtained based on the polynary language model of user if query hit.For example, defeated
Entering to go here and there corresponding is above " sky ", and input string is " henlan ", then can pass through the polynary language mould of user as shown in table 4
Type obtains candidate item " very blue ".
Step 204, server send candidate item to client.
Server can send the candidate item to client according to identification information, so as to subsequent after obtaining candidate item
Client can show the candidate item to user in step.
Step 205, client receive the candidate item that server is sent.
Corresponding with step 202 to be, client can wait to be received after sending input string and identification information to server
The candidate item that server is sent.After receiving the candidate item that server is sent, client can show received time to user
Option, the candidate item needed for can be convenient, quickly above shield so as to user.
To sum up, the input method of the embodiment of the present invention, client can send the input string obtained and mark to server
Information, server are finally sent to client according to input string and the corresponding input behavior data acquisition candidate item of identification information
The candidate item of acquisition, client receive the candidate item then to provide a user and to be largely more nearly the desired candidate of user
?.By server according to the corresponding user thesaurus of identification information and/or user model, obtain the corresponding candidate item of input string,
Since server has more sufficient memory space and more powerful data-handling capacity relative to client, therefore can make
The dictionary and/or model for obtaining server side maintenance can not be limited by memory space, therefore the quantity of candidate item can be improved;
On this basis, since the corresponding user thesaurus of above-mentioned identification information and/or user model can be for according to the identification informations
Corresponding history input behavior data obtain, and above-mentioned identification information is used to identify the corresponding user of client and/or terminal, this
Sample, the corresponding user thesaurus of above-mentioned identification information and/or user model can reflect the personalized input habit of user, therefore,
Server can use more powerful data-handling capacity, and the personalized input habit for meeting user is obtained from a large amount of candidate item
Used candidate item, so that the candidate item that client provides a user is more nearly the desired candidate item of user, to improve use
The input efficiency at family improves user's viscosity.
On the basis of embodiment shown in Fig. 2, the process that server obtains candidate item is described in detail in the present embodiment.Reference
Fig. 3, shows a kind of step flow chart of input method according to an embodiment of the invention, and interaction agent is client kimonos
Business device, can specifically include following steps:
Step 301, client obtain the input string of identification information and user's input, and the identification information is for identifying the client
Hold corresponding user and/or terminal.
Step 302, user end to server send input string and identification information.
Step 303, server receive input string and identification information that client is sent, and corresponding according to the identification information
User thesaurus and/or user model obtain the corresponding candidate item of the input string.
It may include: user identifier and/or terminal iidentification in the identification information that client is sent, that is, can in server
To store user identifier and/or the corresponding user thesaurus of terminal iidentification and/or user model.Wherein, the corresponding use of user identifier
Family dictionary and/or user model can reflect the personalized input habit of user, the corresponding user thesaurus of terminal iidentification and/or use
Family model can reflect personalized input habit of the user on different terminals;User identifier and the corresponding user's word of terminal iidentification
Library and/or user model can reflect personalized input habit of the same user on different terminals;Due to can according to
Family mark and the terminal iidentification corresponding candidate item of determining input string jointly, therefore the precision of candidate item can be improved.
For example, the terminal of user A may include: smart phone, home computer and unit computer, then lead in user A
Same user account X is crossed after smart phone, home computer or unit computer log in client, the present invention is implemented
Corresponding user thesaurus and/or user model not only can be established and be safeguarded to example according to each terminal iidentification, can also be according to user
Account X establishes and safeguards corresponding user thesaurus and/or user model, but also can be common according to user account X and terminal
Mark is established and safeguards corresponding user thesaurus and/or user model, it is possible thereby to improve user thesaurus and/or user model
Fineness.
Server can be marked after receiving the input string and identification information that client is sent according to the user in identification information
Know and obtains corresponding multiple user thesaurus and/or user model, and/or, it can be according to the terminal iidentification in identification information, from more
In a corresponding user thesaurus and/or user model, extraction obtains user thesaurus corresponding with terminal iidentification and/or user's mould
Type, so that the user thesaurus and/or user model that obtain according to extraction obtain the corresponding candidate item of input string, so that the time obtained
Option is more nearly to personalized input habit of the user on corresponding intelligent terminal.
Moreover, server after obtaining identification information, can first determine content included by identification information, if client
The identification information of transmission includes user identifier and terminal iidentification, then server can obtain corresponding user's word according to above-mentioned steps
Library and/or user model.
But if server can first obtain corresponding when including user identifier or terminal iidentification in identification information
Multiple user thesaurus and user model, and the highest user thesaurus of frequency of use and user model are therefrom chosen, thus according to this
The highest user thesaurus of frequency and user model obtain candidate item.Alternatively, server can also obtain corresponding multiple users
After dictionary and user model, the user thesaurus and user model obtained using extraction obtains the corresponding candidate item of input string, this hair
Bright embodiment does not limit this.
For example, including user identifier in the identification information that client is sent, then server is available with the user identifier
Corresponding multiple user thesaurus and user model, in the frequency for determining that the corresponding user of the user identifier is inputted using computer
When rate highest, then computer is corresponded into user thesaurus and user model, as the user thesaurus and user model for obtaining candidate item.
Certainly, server can also be selected according to the size of user thesaurus and the occupied memory space of user model
It takes, it is not limited in the embodiment of the present invention.
Step 304, server shield probability according in the condition of candidate item, are ranked up to the candidate item, shield in the condition
Probability is for shielding the candidate item under conditions of being characterized in the corresponding user thesaurus of identification information and/or user model, on user
Probability.
Server obtain candidate item after, can also according to the corresponding user thesaurus of identification information and/or user model,
It determines and shields probability in the condition of candidate item, shield probability according in the condition of the candidate item, the candidate item of acquisition is ranked up, is made
The input intention of user is more in line with to the candidate item that client is sent, so as in the next steps, client can be according to
Different sequences shows candidate item to user, to improve the input efficiency of user.
In a kind of alternative embodiment, server can be according to the corresponding user thesaurus of identification information and/or user model, really
Set the goal upper screen number and total upper screen number, according to number and total upper screen number is shielded in the target, determines the condition of candidate item
Upper screen probability is ranked up finally according to sequence from big to small according to probability is shielded in the condition of candidate item.
Wherein, shield in the target number can for it is being recorded in the corresponding user thesaurus of identification information and/or user model,
The upper screen number of the corresponding single candidate item of input string, total upper screen number can for the corresponding user thesaurus of identification information and/
Or upper screen numbers recorded in user model, the corresponding multiple candidate items of input string and value.
For example, referring to table 2, it is assumed that by the content of screen in history shielded on input string " ql " include: " feelings shown in table 2
Companion ", " getting up ", " ride and " and " in group ", then the corresponding total upper screen number of input string " ql " is 10, the target of candidate item " lovers "
Upper screen number is 5, and the probability that " lovers " are shielded on input string " ql " is that 5/ (5+2+1+2)=5/10 similarly shields on input string " ql "
The probability of " getting up " is 2/10, and the probability of screen " ride and " is 1/10 on input string " ql ", shields the general of " in group " on input string " ql "
Rate is 2/10.Therefore, candidate item " lovers ", " getting up ", " ride come " and " in group " in corresponding condition screen probability be 5/10 respectively,
2/10,1/10 and 2/10.
Further, when user model includes key mapping model, server can be pressed according to identification information is corresponding
Key mapping model determines the target frequency of occurrence and the key of the corresponding matching sequence of candidate item in the key mapping model
Total frequency of occurrence of the corresponding all matching sequences of input string in mapping model, and according to target frequency of occurrence and total occurrence out
Number, determines and shields probability in the condition of candidate item.
Wherein, the target frequency of occurrence is recording in the corresponding key mapping model of identification information, candidate item is corresponding
The frequency of occurrence of sequence is matched, which is record in the corresponding key mapping model of identification information, input string pair
The frequency of occurrence for all matching sequences answered and value.
It is waited it should be noted that server can be determined in conjunction with the corresponding user thesaurus of identification information and key mapping model
Shield probability in the condition of option.Server can determine according to the corresponding user thesaurus of identification information and shield number and total in target
Upper screen number can also determine target frequency of occurrence and total frequency of occurrence, most according to the corresponding key mapping model of identification information
It comprehensively utilizes afterwards and shields number, total upper screen number, target frequency of occurrence and total frequency of occurrence in target, determine in the condition of candidate item
Shield probability.Shield number, total upper screen number, target frequency of occurrence and total frequency of occurrence in comprehensive utilization target, determines candidate item
Condition on shield probability during, can to based on shield number in target, screen is general on the first condition that total upper screen number obtains
Shield probability in rate and the second condition obtained based on target frequency of occurrence and total frequency of occurrence to be merged, for example, above-mentioned fusion
It can be with are as follows: product, weighted average etc..
For example, the candidate item of acquisition is respectively as follows: " lovers ", " ", " rides when the input string of user's input is " ql "
Come " and " in group ".Referring to table 1, the corresponding matching sequence of input string " ql " may include " [qing] in key mapping model
[lv] ", " [qi] [lai] " and " [qun] [li] ", total frequency of occurrence are 10, input string " ql " Corresponding matching sequence " [qing]
The target frequency of occurrence of [lv] " is 5, then the probability of input string " ql " Corresponding matching sequence " [qing] [lv] " is 5/10, similarly,
The probability of input string " ql " Corresponding matching sequence " [qi] [lai] " is 3/10, input string " ql " Corresponding matching sequence " [qun]
The probability of [li] " is 2/10.
For another example, it can be determined in conjunction with user thesaurus and key mapping model and shield probability in the condition of each candidate item, such as
It is referred to shield probability in the condition of table 2 and the determining each candidate item of table 1: shielding probability P (lovers in the condition of candidate item " lovers "
| ql, [qing] [lv]) are as follows: 5/10*5/10=25/100, in the condition of candidate item " getting up " screen probability be P (| ql,
[qi] [lai]): 3/10*2/10=6/100, probability P (ride and | ql, [qi] [lai]) is shielded in the condition of candidate item " ride come " is
3/10*1/10=3/100, it is 2/10*2/10=that probability P (in group | ql, [qun] [li]) is shielded in the condition of candidate item " in group "
4/100, finally to the collating sequence of candidate item are as follows: " lovers ", " getting up ", " in group " and " ride and ".
It should be noted that if the candidate item obtained is not in the corresponding user thesaurus of identification information and/or user model
When middle, then shielding probability in the corresponding condition of the candidate item is 0, and it is not 0 which can be arranged in screen probability in condition
It behind candidate item, and is ranked up according to the word frequency in system dictionary, can also be ranked up certainly according to other modes, this
Inventive embodiments are not specifically limited in this embodiment.
Step 305, server send the candidate item after sequence to client.
After server is ranked up candidate item, the candidate item after sequence can be sent to client, so that client
The candidate item for being more in line with its personalized input habit can be shown to user.
It should be noted that the corresponding candidate item of input string is in addition to including: according to the identification information in the embodiment of the present invention
Except the first candidate item that corresponding user thesaurus and/or user model obtain, can also include: according to system dictionary and/or
The second candidate item that system model obtains can carry out mixing row to the first candidate item and the second candidate item in practical applications
Sequence.Optionally, the sequence index of hybrid-sorting may include: to shield probability, and/or candidate item in the condition of candidate item above-mentioned
Word frequency, and/or the source dictionary of candidate item etc., it will be understood that the embodiment of the present invention refers to the specific sequence of hybrid-sorting
It marks without restriction.
Step 306, client receive the candidate item that server is sent.
Client receives the candidate item after the sequence that server is sent, and shows and waits to user according to the sequence of server arrangements
Option, the candidate item needed for can be convenient, quickly above shield so as to user.
To sum up, the input method of the embodiment of the present invention, client can send the input string obtained and mark to server
Information, server is according to input string and the corresponding input behavior data acquisition candidate item of identification information, and according to the item of candidate item
Shield probability on part, which is ranked up, the candidate item of sequence is finally sent to client, client then receives the sequence
Candidate item be largely more nearly the desired candidate item of user to provide a user.By obtaining candidate item from server,
And candidate item is ranked up, the candidate of different sequences can be sent to user according to the personalized input habit of different user
, so that the input that the preference in candidate item is more in line with user is intended to, to improve the input efficiency of user, improve
User's viscosity.
On the basis of embodiment shown in Fig. 2, the present embodiment is described in detail server and establishes and update user thesaurus
Process.Referring to Fig. 4, the step flow chart of a kind of foundation and update user thesaurus according to an embodiment of the invention is shown,
Interaction agent is client and server, can specifically include following steps:
Step 401, server obtain the upper screen number for shielding content in history and shielding content in history.
The corresponding history input behavior data of identification information are stored in server, and history input behavior data can wrap
It includes: shielding content, history input string and user in history to the delete operation data for shielding content in history, then server is available
In history input behavior data, shield the frequency of occurrence of content in history, and combines user to the delete operation for shielding content in history
Data acquisition shields the upper screen number of content in history.
Wherein, the frequency of occurrence for shielding content in history be shield the number for shielding content in history on user, but due to
User can be also the appearance for shielding content in history to the upper screen number that screen content deletes, therefore shields content in history in history
The difference after number subtracts each other is deleted indicated by number and deletion data.
Step 402, server establish user thesaurus, and the user thesaurus is for shielding content on log history.
It, then can be according to shielding in history after server obtains and shields the upper screen number for shielding content in content and history in history
Content and the in history corresponding upper screen number of screen content, establish user thesaurus as shown in Table 2.Moreover, server can also be built
Corresponding relationship between vertical identification information and user thesaurus, so as in the next steps according to identification information to user thesaurus
It is updated.
The current input line that step 403, client obtain user's triggering is data.
After step 205, it that is to say client after receiving the candidate item that server is sent, client can be shown
The candidate item that server is sent, and the current input line for monitoring user's triggering is that the current input behavior may include: candidate item
Upper screen behavior or gone up screen candidate item deleting act etc..
Specifically, shield the operation of candidate item in user's triggering when client detects, or after upper screen candidate item, triggering
After the operation for deleting candidate item on the screen, screen operation or delete operation are executed on this, and by screen operation or delete operation on this
Being recorded in current input line is in data, which is used to indicate operation of the user for candidate item, the behaviour
Work may include: to the operation of the upper screen of candidate item, and to the delete operation of the candidate item after shielding in candidate item.
Step 404, user end to server send the current input behavior data and identification information.
Due to client obtain current input line be data be in order to update the user thesaurus stored in server, because
This, client can also be the candidate item that the candidate item or deletion shielded on user are recorded in data in current input line, and obtain
Identification information is taken, and sending current input line together to server is data and identification information, allows server subsequent
In step, according to the current input behavior data and the identification information, the corresponding user thesaurus of the identification information is updated.
It is data and identification information that step 405, server, which receive the current input line that client is sent, and current according to this
Input behavior data and the identification information, update the corresponding user thesaurus of the identification information.
It is data and identification information that server, which receives the current input line that client is sent, and is obtained according to the identification information
Corresponding user thesaurus, searched whether in user thesaurus include current input line be data in candidate item, if user's word
In library include the candidate item, then can according to current input line be data, the upper screen number of the candidate item is updated, when with
When not including the candidate item in the dictionary of family, then illustrates that user is to shield the candidate item on first time, which can be added to
In user thesaurus.
For example, server can be according to current input line when in user thesaurus including the candidate item of client transmission
Data, upper screen number corresponding to the candidate item in user thesaurus are updated, if current input line is the candidate in data
Corresponding item is upper screen operation, then adds one to the upper screen number of the candidate item;If current input line is the candidate item in data
Corresponding is delete operation, then subtracts one to the upper screen number of the candidate item, to complete the update of user thesaurus.
To sum up, server shields content in history, shields the upper screen number of content in history and shields content in history by obtaining
Corresponding matching sequence, and user thesaurus is established, when client detects that user triggers input behavior, can be sent out to server
Sending current input line is data and identification information, and server receives the data that client is sent, and sends data according to client
Update user thesaurus.User thesaurus is established and updated by server, allows server in time according to the line of input of user
To learn to the personalized input habit of user, when sending candidate item to user, the candidate item of acquisition is more nearly use
The personalized input habit at family improves the flexibility that user selects candidate item, improves user's viscosity.
On the basis of embodiment shown in Fig. 2, the present embodiment is described in detail server and establishes and update key mapping mould
The process of type.Referring to Fig. 5, the step of showing a kind of foundation according to an embodiment of the invention and update key mapping model
Flow chart, interaction agent are client and server, can specifically include following steps:
Step 501, server obtain the corresponding history input string of screen content and matching sequence in history.
It is stored with the corresponding history input behavior data of identification information in server, and the history input behavior data can be with
Including shielding content, history input string and user in history to the delete operation data for shielding content in history, therefore server can be with
Corresponding matching sequence is obtained according to screen content in history.
Moreover, server can also according to shielding content and user in history to the delete operation data for shielding content in history,
It determines the upper screen number for shielding content in history, also can determine that the frequency of occurrence of history input string Corresponding matching sequence accordingly,
It is the frequency of occurrence of input string Corresponding matching sequence as shown in Table 1.
Step 502, server establish key mapping model, which includes history input string and matching sequence
Between key mapping relations.
Server establishes history input according to the matching sequence of history input string and acquisition in history input behavior data
Key mapping relations between string and matching sequence.Moreover, because the history input behavior data of user are corresponding with identification information,
Then server can establish key mapping mould corresponding with the identification information further according to the identification information and the key mapping relations
Type.That is, server can establish key corresponding with identification information according to identification information, history input string and matching sequence
Mapping model.
In addition, the occurrence out of history input string Corresponding matching sequence can also be added in server in key mapping model
Number, establishes key mapping model as shown in Table 1, shields probability in the condition so as to determine candidate item in step 203.
The current input line that step 503, client obtain user's triggering is data.
After step 205, i.e., after client receives the candidate item that server is sent, client detects that user triggers
Input behavior when, the current input line that can obtain user's triggering is data, and sends the current input behavior to server
Data and identification information, so as to server update key mapping model.Wherein, which is used to indicate user
Operation for candidate item, the current input behavior data may include the input string of user.
This step 503 is similar with step 403, and details are not described herein.
It is data and identification information that step 504, user end to server, which send current input line,.
It is data and identification information that step 505, server, which receive the current input line that client is sent, updates key mapping
Model.
It, can be first according to identification information after server receives the current input line that client is sent as data and identification information
Corresponding key mapping model is obtained, and is the corresponding matching sequence of input string acquisition in data according to current input line, then
The corresponding key mapping relations of matching sequence with acquisition are searched in key mapping model, judge be in key mapping model
No includes the corresponding key mapping relations of the matching sequence, and then updates key mapping model.
In a kind of alternative embodiment, if in key mapping relations including the matching sequence that server is obtained according to input string
Column can be then that data are updated the corresponding frequency of occurrence of matching sequence according to current input line, if key maps
Do not include the matching sequence in relationship, then can be added in key corresponding relationship current input line be data in input string with
Match the corresponding relationship between sequence.
To sum up, complete input string is obtained by server and establishes key mapping model, when client detects that user touches
When sending out input behavior, sending current input line to server is data and identification information, and server receives the letter that client is sent
Breath, and according to the information update key mapping model.By establishing and updating key mapping model, server can be to user's
Personalized input habit is learnt, to obtain with user according to key mapping model when obtaining candidate item
Property the Pinyin Input string that is more nearly of input habit, and then obtain more accurate candidate item, finally improve user's selection
The flexibility of candidate item improves user's viscosity.
Referring to Fig. 6, a kind of step flow chart of input method embodiment of the invention is shown, executing subject is service
Device can specifically include:
Step 601 receives input string and identification information that client is sent;The identification information is for identifying the client pair
The user answered and/or terminal.
Step 602, according to the corresponding user thesaurus of identification information and/or user model, obtain the corresponding candidate of input string
?.
Wherein, the corresponding user thesaurus of the identification information and/or user model are according to the corresponding history of the identification information
Input behavior data obtain.
Step 603 sends candidate item to client.
The process of the embodiment of the present invention is similar with step 203, step 204, and details are not described herein.
The input method of the embodiment of the present invention, the input string and identification information that server is sent by obtaining client, root
According to input string and the corresponding input behavior data acquisition candidate item of identification information, the candidate item obtained is finally sent to client,
The candidate item that client is sent according to server provides a user and is largely more nearly the desired candidate of user
?.By obtaining candidate item from server, candidate item can be obtained to avoid in the local dictionary of client, be no longer influenced by local word
The limitation of library memory space, can be according to the user thesaurus corresponding with identification information and/or user model stored in server
Candidate item is provided for user, so that the candidate item that client provides a user is more nearly the desired candidate item of user, to mention
The high input efficiency of user, improves user's viscosity.
Referring to Fig. 7, a kind of step flow chart of input method embodiment of the invention is shown, executing subject is client
End, can specifically include:
Step 701, the input string for obtaining identification information and user's input;The identification information is corresponding for identifying client
User and/or terminal.
Step 702 sends input string and identification information to server.
Step 703 receives the candidate item that server is sent.
Wherein, which is server according to input string and the corresponding user thesaurus of identification information and/or user model
It obtains, the corresponding user thesaurus of the identification information and/or user model are according to the corresponding history input behavior of the identification information
Data obtain.
The process of the embodiment of the present invention is similar with step 201, step 202 and step 205, and details are not described herein.
The input method of the embodiment of the present invention, client are sent by obtaining input string and identification information, and to server
The input string and identification information wait server according to input string and the corresponding input behavior data acquisition of identification information
Option, and to the client feedback candidate item, client receives the candidate item of server feedback, a large amount of to provide a user
Candidate item.The candidate item of device return is provided services to the user by client, can be obtained to avoid in the local dictionary of client
Candidate item is no longer influenced by the limitation of client local dictionary memory space, can be according to store in server and identification information
Corresponding user thesaurus and/or user model provide candidate item for user, and the candidate item that client provides a user is more nearly
The desired candidate item of user improves user's viscosity to improve the input efficiency of user.
It should be noted that for simple description, therefore, it is stated as a series of movement is dynamic for embodiment of the method
It combines, but those skilled in the art should understand that, the embodiment of the present invention is not by the limit of described athletic performance sequence
System, because according to an embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, art technology
Personnel also should be aware of, and the embodiments described in the specification are all preferred embodiments, and related athletic performance is simultaneously different
It surely is necessary to the embodiment of the present invention.
Referring to Fig. 8, a kind of structural block diagram of input unit embodiment of the invention is shown, can specifically include: first
Receiving module 801 obtains module 802 and sending module 803.
First receiving module 801, for receiving the input string and identification information of client transmission;The identification information is for marking
Know the corresponding user of the client and/or terminal;
First obtains module 802, for according to the corresponding user thesaurus of the identification information and/or user model, obtaining should
The corresponding candidate item of input string;Wherein, the corresponding user thesaurus of the identification information and/or user model are according to the identification information
Corresponding history input behavior data obtain;
Sending module 803, for sending the candidate item to the client.
Optionally, which can also include:
Probability determination module, for determining the candidate according to the corresponding user thesaurus of the identification information and/or user model
Shield probability in the condition of item;Shield probability in the condition for being characterized in the corresponding user thesaurus of the identification information and/or user's mould
Shield the probability of the candidate item under conditions of type, on user;
Sorting module shields probability in the condition according to the candidate item, is ranked up to the candidate item;
The sending module 803 may include:
Sending submodule, for sending the candidate item after sequence to the client.
Optionally, which may include:
First determines submodule, for determining the time according to the corresponding user thesaurus of the identification information and/or user model
Shield number and total upper screen number in the target of option;Shielding number in the target is the corresponding user thesaurus of identification information and/or use
Upper screen number record in the model of family, the corresponding single candidate item of input string, which is that identification information is corresponding
Upper screen numbers recorded in user thesaurus and/or user model, the corresponding multiple candidate items of input string and value;
Second determines submodule, is used to determine the item of the candidate item according to number and total upper screen number is shielded in the target
Shield probability on part.
Optionally, which includes key mapping model;
The probability determination module may include:
Third determines submodule, for determining that the key maps mould according to the corresponding key mapping model of the identification information
The input string is corresponding all in the target frequency of occurrence of the corresponding matching sequence of candidate item and the key mapping model in type
Match total frequency of occurrence of sequence;
4th determines submodule, for determining the item of the candidate item according to the target frequency of occurrence and total frequency of occurrence
Shield probability on part.
Optionally, which can also include:
Second receiving module, the current input line for receiving client transmission is data and the identification information, is deserved
Preceding input behavior data are used to indicate operation of the user for the candidate item;
Word library updating module, for updating the identification information pair according to the current input behavior data and the identification information
The user thesaurus answered.
Optionally, which includes: to shield content and history input string in history;
The user model includes key mapping model, and the key mapping model is for recording the history input string and matching sequence
Key mapping relations between column, the matching sequence are that this shields the corresponding matching sequence of content in history;
The device can also include:
Second acquisition module obtains the matching sequence for shielding content in history according to this;
Model building module, for establishing and the mark according to the identification information, the history input string and the matching sequence
The corresponding key mapping model of information.
Optionally, which may include:
Mapping relations setting up submodule, for establishing the history input string according to the history input string and the matching sequence
Key mapping relations between the matching sequence;
Model foundation submodule, for establishing the key mapping model according to the identification information and the key mapping relations.
Optionally, which can also include:
Third receiving module, the current input line for receiving client transmission is data and the identification information, is deserved
Preceding input behavior data are used to indicate operation of the user for the candidate item, which includes the input string;
Model modification module, for updating key mapping mould according to the current input behavior data and the identification information
Type.
Optionally, which includes: user identifier and/or terminal iidentification.
Referring to Fig. 9, a kind of structural block diagram of input unit embodiment of the invention is shown, can specifically include: first
Obtain module 901, the first sending module 902 and receiving module 903.
First obtains module 901, for obtaining the input string of identification information and user's input;The identification information is for identifying
The corresponding user of client and/or terminal;
First sending module 902, for sending the input string and the identification information to server;
Receiving module 903, for receiving the candidate item of server transmission, which is the server according to the input
String user thesaurus corresponding with the identification information and/or user model obtain, the corresponding user thesaurus of the identification information and/or use
Family model is to obtain according to the corresponding history input behavior data of the identification information.
Optionally, which can also include:
Second obtains module, and the current input line for obtaining user's triggering is data;The current input behavior data are used
In operation of the instruction user for the candidate item;
Second sending module, for sending the current input behavior data and the identification information to the server, so that should
Server updates the corresponding user thesaurus of the identification information and/or use according to the current input behavior data and the identification information
Family model.
Optionally, which includes: user identifier and/or terminal iidentification.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple
Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, no detailed explanation will be given here.
The embodiment of the invention provides a kind of input units, include memory and one or more than one journey
Sequence, perhaps more than one program is stored in memory and is configured to by one or more than one processor for one of them
Executing the one or more programs includes the instruction for performing the following operation: receiving the input string that client is sent
And identification information;The identification information is for identifying the corresponding user of the client and/or terminal;According to the identification information
Corresponding user thesaurus and/or user model obtain the corresponding candidate item of the input string;Wherein, the identification information is corresponding
User thesaurus and/or user model be obtained according to the corresponding history input behavior data of the identification information;To the visitor
Family end sends the candidate item.
Optionally, institute is sent to the client after the corresponding candidate item of the acquisition input string, described
Before stating candidate item, described device be also configured to by one or more than one processor execute it is one or one with
Upper program includes instruction for performing the following operation: according to the corresponding user thesaurus of the identification information and/or user model,
It determines and shields probability in the condition of the candidate item;Shield probability in the condition for being characterized in the corresponding user of the identification information
Shield the probability of the candidate item under conditions of dictionary and/or user model, on user;It is general according to shielding in the condition of the candidate item
Rate is ranked up the candidate item;It is then described to send the candidate item to the client, comprising: to be sent out to the client
Candidate item after sending sequence.
Optionally, shield probability in the condition of the determination candidate item, comprising: according to the corresponding use of the identification information
Family dictionary and/or user model determine and shield number and total upper screen number in the target of the candidate item;Shield number in the target
For upper screen recorded in the corresponding user thesaurus of identification information and/or user model, the corresponding single candidate item of input string
Number, total upper screen number is recording in the corresponding user thesaurus of identification information and/or user model, input string is corresponding more
The upper screen number of a candidate item and value;According to number and total upper screen number is shielded in the target, the candidate item is determined
Condition on shield probability.
Optionally, the user model includes key mapping model;Shield probability in the condition of the determination candidate item,
It include: to determine in the key mapping model candidate item corresponding according to the corresponding key mapping model of the identification information
The corresponding all matching sequences of input string described in target frequency of occurrence and the key mapping model with sequence always go out
Occurrence number;According to the target frequency of occurrence and total frequency of occurrence, determines and shield probability in the condition of the candidate item.
Optionally, after the candidate item to client transmission, described device is also configured to by one
Or it includes the instruction for performing the following operation that more than one processor, which executes the one or more programs: being received
The current input line that the client is sent is data and the identification information, and the current input line is that data are used to indicate use
Operation of the family for the candidate item;It is data and the identification information according to the current input line, updates the mark letter
Cease corresponding user thesaurus.
Optionally, the history input behavior data include: to shield content and history input string in history;The user model
Including key mapping model, the key that the key mapping model is used to record the history input string and match between sequence reflects
Relationship is penetrated, the matching sequence is the corresponding matching sequence of the content of screen in history;Described device is also configured to by one
Or it includes the instruction for performing the following operation that more than one processor, which executes the one or more programs: according to
It is described to shield content in history, obtain the matching sequence;According to the identification information, the history input string and the matching sequence
Column establish key mapping model corresponding with the identification information.
Optionally, described according to the identification information, the history input string and the matching sequence, it establishes and the mark
Know the corresponding key mapping model of information, comprising: according to the history input string and the matching sequence, it is defeated to establish the history
Enter the key mapping relations between string and the matching sequence;According to the identification information and the key mapping relations, establish
The key mapping model.
Optionally, after the candidate item to client transmission, described device is also configured to by one
Or it includes the instruction for performing the following operation that more than one processor, which executes the one or more programs: being received
The current input line that the client is sent is data and the identification information, and the current input line is that data are used to indicate use
Operation of the family for the candidate item, the current input line are that data include the input string;According to the current input line
For data and the identification information, the key mapping model is updated.
Optionally, the identification information includes: user identifier and/or terminal iidentification.
The embodiment of the invention provides a kind of input units, include memory and one or more than one journey
Sequence, perhaps more than one program is stored in memory and is configured to by one or more than one processor for one of them
Executing the one or more programs includes the instruction for performing the following operation: obtaining identification information and user's input
Input string;The identification information is for identifying the corresponding user of client and/or terminal;The input string is sent to server
With the identification information;The candidate item that the server is sent is received, the candidate item is the server according to the input
Go here and there corresponding with identification information user thesaurus and/or user model obtain, the corresponding user thesaurus of the identification information with/
Or user model is to obtain according to the corresponding history input behavior data of the identification information.
Optionally, after the candidate item for receiving the server transmission, described device is also configured to by one
Or it includes the instruction for performing the following operation that more than one processor, which executes the one or more programs: being obtained
The current input line of user's triggering is data;The current input line is that data are used to indicate user for the behaviour of the candidate item
Make;Sending the current input line to the server is data and the identification information, so that the server is according to
Current input line is data and the identification information, updates the corresponding user thesaurus of the identification information and/or user model.
Optionally, the identification information includes: user identifier and/or terminal iidentification.
Figure 10 is a kind of block diagram of input unit 1000 shown according to an exemplary embodiment.For example, device 1000 can
To be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices are good for
Body equipment, personal digital assistant etc..
Referring to Fig.1 0, device 1000 may include following one or more components: processing component 1002, memory 1004,
Power supply module 1006, multimedia component 1008, audio component 1010, the interface 1012 of input/output (I/O), sensor module
1014 and communication component 1016.
The integrated operation of the usual control device 1000 of processing component 1002, such as with display, telephone call, data communication,
Camera operation and record operate associated operation.Processing element 1002 may include one or more processors 1020 to execute
Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1002 may include one or more moulds
Block, convenient for the interaction between processing component 1002 and other assemblies.For example, processing component 1002 may include multi-media module,
To facilitate the interaction between multimedia component 1008 and processing component 1002.
Memory 1004 is configured as storing various types of data to support the operation in equipment 1000.These data
Example includes the instruction of any application or method for operating on device 1000, contact data, telephone book data,
Message, picture, video etc..Memory 1004 can by any kind of volatibility or non-volatile memory device or they
Combination is realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can
Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory
Reservoir, disk or CD.
Power supply module 1006 provides electric power for the various assemblies of device 1000.Power supply module 1006 may include power management
System, one or more power supplys and other with for device 1000 generate, manage, and distribute the associated component of electric power.
Multimedia component 1008 includes the screen of one output interface of offer between described device 1000 and user.?
In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel,
Screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes that one or more touch passes
Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding fortune
The boundary of movement, but also detect duration and pressure associated with the touch or slide operation.In some embodiments
In, multimedia component 1008 includes a front camera and/or rear camera.When equipment 1000 is in operation mode, such as
When screening-mode or video mode, front camera and/or rear camera can receive external multi-medium data.Before each
Setting camera and rear camera can be a fixed optical lens system or has focusing and optical zoom capabilities.
Audio component 1010 is configured as output and/or input audio signal.For example, audio component 1010 includes a wheat
Gram wind (MIC), when device 1000 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone quilt
It is configured to receive external audio signal.The received audio signal can be further stored in memory 1004 or via communication
Component 1016 is sent.In some embodiments, audio component 1010 further includes a loudspeaker, is used for output audio signal.
I/O interface 1012 provides interface, above-mentioned peripheral interface module between processing component 1002 and peripheral interface module
It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and
Locking press button.
Sensor module 1014 includes one or more sensors, and the state for providing various aspects for device 1000 is commented
Estimate.For example, sensor module 1014 can detecte the state that opens/closes of equipment 1000, the relative positioning of component, such as institute
The display and keypad that component is device 1000 are stated, sensor module 1014 can be with detection device 1000 or device 1,000 1
The position change of a component, the existence or non-existence that user contacts with device 1000,1000 orientation of device or acceleration/deceleration and dress
Set 1000 temperature change.Sensor module 1014 may include proximity sensor, be configured in not any physics
It is detected the presence of nearby objects when contact.Sensor module 1014 can also include optical sensor, as CMOS or ccd image are sensed
Device, for being used in imaging applications.In some embodiments, which can also include acceleration sensing
Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1016 is configured to facilitate the communication of wired or wireless way between device 1000 and other equipment.Dress
The wireless network based on communication standard, such as WiFi can be accessed by setting 1000,2G or 3G or their combination.It is exemplary at one
In embodiment, communication component 1016 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel
Information.In one exemplary embodiment, the communication component 1016 further includes near-field communication (NFC) module, to promote short distance
Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module
(UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1000 can be by one or more application specific integrated circuit (ASIC), number
Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
It such as include the memory 1004 of instruction, above-metioned instruction can be executed by the processor 1020 of device 1000 to complete the above method.Example
Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft
Disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is held by the processor of terminal
It when row, enables the server to execute a kind of input method, which comprises obtain the input of identification information and user's input
String;The identification information is for identifying the corresponding user of client and/or terminal;The input string and described is sent to server
Identification information;The candidate item that the server is sent is received, the candidate item is the server according to the input string and institute
It states the corresponding user thesaurus of identification information and/or user model obtains, the corresponding user thesaurus of the identification information and/or user
Model is to obtain according to the corresponding history input behavior data of the identification information.
Figure 11 is the structural schematic diagram of server in some embodiments of the present invention.The server 1100 can be because of configuration or property
Energy is different and generates bigger difference, may include one or more central processing units (central processing
Units, CPU) 1122 (for example, one or more processors) and memory 1132, one or more storage applications
The storage medium 1130 (such as one or more mass memory units) of program 1142 or data 1144.Wherein, memory
1132 and storage medium 1130 can be of short duration storage or persistent storage.The program for being stored in storage medium 1130 may include one
A or more than one module (diagram does not mark), each module may include to the series of instructions operation in server.More into
One step, central processing unit 1122 can be set to communicate with storage medium 1130, execute storage medium on server 1100
Series of instructions operation in 1130.
Server 1100 can also include one or more power supplys 1126, one or more wired or wireless nets
Network interface 1150, one or more input/output interfaces 1158, one or more keyboards 1156, and/or, one or
More than one operating system 1141, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM
Etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processor of server
When execution, so that intelligent terminal is able to carry out a kind of input method, which comprises receive client send input string and
Identification information;The identification information is for identifying the corresponding user of the client and/or terminal;According to the identification information pair
The user thesaurus and/or user model answered obtain the corresponding candidate item of the input string;Wherein, the identification information is corresponding
User thesaurus and/or user model are to obtain according to the corresponding history input behavior data of the identification information;To the client
End sends the candidate item.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its
Its embodiment.The present invention is directed to cover any variations, uses, or adaptations of the invention, these modifications, purposes or
Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
It above to a kind of input method provided by the present invention and device, is described in detail, tool used herein
Principle and implementation of the present invention are described for body example, the above embodiments are only used to help understand this hair
Bright method and its core concept;At the same time, for those skilled in the art, according to the thought of the present invention, specific real
Apply in mode and application range that there will be changes, in conclusion the content of the present specification should not be construed as to limit of the invention
System.
Claims (18)
1. a kind of input method, which is characterized in that the described method includes:
Receive input string and identification information that client is sent;The identification information is for identifying the corresponding user of the client
And/or terminal;
According to the corresponding user thesaurus of the identification information and/or user model, the corresponding candidate item of the input string is obtained;Its
In, the corresponding user thesaurus of the identification information and/or user model are according to the corresponding history line of input of the identification information
It is obtained for data;
The candidate item is sent to the client.
2. the method according to claim 1, wherein it is described obtain the corresponding candidate item of the input string it
Afterwards, before the candidate item to client transmission, the method also includes:
According to the corresponding user thesaurus of the identification information and/or user model, determines and shield probability in the condition of the candidate item;
Shield in the condition probability under conditions of being characterized in the corresponding user thesaurus of the identification information and/or user model, use
Shield the probability of the candidate item on family;
Shield probability according in the condition of the candidate item, the candidate item is ranked up;
It is described to send the candidate item to the client, comprising:
The candidate item after sequence is sent to the client.
3. according to the method described in claim 2, wrapping it is characterized in that, shield probability in the condition of the determination candidate item
It includes:
According to the corresponding user thesaurus of the identification information and/or user model, determines and shield number in the target of the candidate item
With total upper screen number;It is recording in the corresponding user thesaurus of identification information and/or user model, defeated for shielding number in the target
Enter to go here and there the upper screen number of corresponding single candidate item, total upper screen number is the corresponding user thesaurus of identification information and/or use
Upper screen numbers recorded in the model of family, the corresponding multiple candidate items of input string and value;
According to number and total upper screen number is shielded in the target, determines and shield probability in the condition of the candidate item.
4. according to the method described in claim 2, it is characterized in that, the user model includes key mapping model;
Shield probability in the condition of the determination candidate item, comprising:
According to the corresponding key mapping model of the identification information, the corresponding matching of candidate item in the key mapping model is determined
Total appearance of the corresponding all matching sequences of input string described in the target frequency of occurrence of sequence and the key mapping model
Number;
According to the target frequency of occurrence and total frequency of occurrence, determines and shield probability in the condition of the candidate item.
5. the method according to claim 1, wherein it is described to the client send the candidate item it
Afterwards, the method also includes:
Receiving the current input line that the client is sent is data and the identification information, and the current input line is data use
In operation of the instruction user for the candidate item;
It is data and the identification information according to the current input line, updates the corresponding user thesaurus of the identification information.
6. the method according to claim 1, wherein the history input behavior data include: in shielding in history
Hold and history input string;
The user model includes key mapping model, and the key mapping model is for recording the history input string and matching
Key mapping relations between sequence, the matching sequence are the corresponding matching sequence of the content of screen in history;
The method also includes:
Shield content in history according to described, obtains the matching sequence;
According to the identification information, the history input string and the matching sequence, press corresponding with the identification information is established
Key mapping model.
7. according to the method described in claim 6, it is characterized in that, described according to the identification information, the history input string
With the matching sequence, key mapping model corresponding with the identification information is established, comprising:
According to the history input string and the matching sequence, establish between the history input string and the matching sequence by
Key mapping relations;
According to the identification information and the key mapping relations, the key mapping model is established.
8. according to the method described in claim 6, it is characterized in that, it is described to the client send the candidate item it
Afterwards, the method also includes:
Receiving the current input line that the client is sent is data and the identification information, and the current input line is data use
In operation of the instruction user for the candidate item, the current input line is that data include the input string;
It is data and the identification information according to the current input line, updates the key mapping model.
9. according to claim 1 to any method in 8, which is characterized in that the identification information includes: user identifier
And/or terminal iidentification.
10. a kind of input method, which is characterized in that the described method includes:
Obtain the input string of identification information and user's input;The identification information for identify the corresponding user of client and/or
Terminal;
The input string and the identification information are sent to server;
The candidate item that the server is sent is received, the candidate item is the server according to the input string and the mark
The corresponding user thesaurus of information and/or user model obtain, and the corresponding user thesaurus of the identification information and/or user model are
It is obtained according to the corresponding history input behavior data of the identification information.
11. according to the method described in claim 10, it is characterized in that, it is described receive candidate item that the server is sent it
Afterwards, the method also includes:
The current input line for obtaining user's triggering is data;The current input line is that data are used to indicate user for the time
The operation of option;
Sending the current input line to the server is data and the identification information, so that the server is according to
Current input line is data and the identification information, updates the corresponding user thesaurus of the identification information and/or user model.
12. method described in 0 or 11 according to claim 1, which is characterized in that the identification information include: user identifier and/or
Terminal iidentification.
13. a kind of input unit, which is characterized in that described device includes:
First receiving module, for receiving the input string and identification information of client transmission;The identification information is for identifying institute
State the corresponding user of client and/or terminal;
First obtains module, for obtaining the input according to the corresponding user thesaurus of the identification information and/or user model
Go here and there corresponding candidate item;Wherein, the corresponding user thesaurus of the identification information and/or user model are according to the identification information
Corresponding history input behavior data obtain;
Sending module, for sending the candidate item to the client.
14. a kind of input unit, which is characterized in that described device includes:
First obtains module, for obtaining the input string of identification information and user's input;The identification information is for identifying client
Hold corresponding user and/or terminal;
First sending module, for sending the input string and the identification information to server;
Receiving module, the candidate item sent for receiving the server, the candidate item are the server according to described defeated
Enter corresponding with the identification information user thesaurus of string and/or user model obtains, the corresponding user thesaurus of the identification information
And/or user model is to obtain according to the corresponding history input behavior data of the identification information.
15. a kind of input unit, which is characterized in that include memory and one or more than one program, wherein one
A perhaps more than one program is stored in memory and is configured to execute described one by one or more than one processor
A or more than one program includes the instruction for performing the following operation:
Receive input string and identification information that client is sent;The identification information is for identifying the corresponding user of the client
And/or terminal;
According to the corresponding user thesaurus of the identification information and/or user model, the corresponding candidate item of the input string is obtained;Its
In, the corresponding user thesaurus of the identification information and/or user model are according to the corresponding history line of input of the identification information
It is obtained for data;
The candidate item is sent to the client.
16. a kind of input unit, which is characterized in that include memory and one or more than one program, wherein one
A perhaps more than one program is stored in memory and is configured to execute described one by one or more than one processor
A or more than one program includes the instruction for performing the following operation:
Obtain the input string and identification information of user's input;The identification information for identify the corresponding user of client and/or
Terminal;
The input string and the identification information are sent to server;
The candidate item that the server is sent is received, the candidate item is the server according to the input string and the mark
The corresponding user thesaurus of information and/or user model obtain, and the corresponding user thesaurus of the identification information and/or user model are
It is obtained according to the corresponding history input behavior data of the identification information.
17. a kind of machine readable media is stored thereon with instruction, when executed by one or more processors, so that device is held
Input method of the row as described in one or more in claim 1 to 9.
18. a kind of machine readable media is stored thereon with instruction, when executed by one or more processors, so that device is held
Input method of the row as described in one or more in claim 10 to 12.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710384374.1A CN108958503A (en) | 2017-05-26 | 2017-05-26 | input method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710384374.1A CN108958503A (en) | 2017-05-26 | 2017-05-26 | input method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108958503A true CN108958503A (en) | 2018-12-07 |
Family
ID=64494139
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710384374.1A Pending CN108958503A (en) | 2017-05-26 | 2017-05-26 | input method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108958503A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111367424A (en) * | 2020-03-12 | 2020-07-03 | 重庆智慧之源科技有限公司 | Intelligent adjustment method and device for information candidate items and computer readable storage medium |
CN111522448A (en) * | 2019-02-02 | 2020-08-11 | 北京搜狗科技发展有限公司 | Method, device and equipment for providing input candidate items |
CN111708443A (en) * | 2020-06-15 | 2020-09-25 | 北京搜狗科技发展有限公司 | Input method, input device and input device |
CN111722730A (en) * | 2020-06-23 | 2020-09-29 | 平安医疗健康管理股份有限公司 | Character input method, device and equipment based on all-in-one machine and readable storage medium |
CN111796690A (en) * | 2019-03-21 | 2020-10-20 | 北京搜狗科技发展有限公司 | Data processing method and device and electronic equipment |
CN112684911A (en) * | 2020-12-29 | 2021-04-20 | 上海臣星软件技术有限公司 | Information display method, device, equipment and storage medium |
CN113589955A (en) * | 2020-04-30 | 2021-11-02 | 北京搜狗科技发展有限公司 | Data processing method and device and electronic equipment |
CN114266260A (en) * | 2021-12-24 | 2022-04-01 | 金锐软件技术(杭州)有限公司 | Embedded type timely translation system applied to software research and development |
CN115494965A (en) * | 2021-06-18 | 2022-12-20 | 北京搜狗科技发展有限公司 | Request sending method and device and request sending device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101840418A (en) * | 2010-03-31 | 2010-09-22 | 北京搜狗科技发展有限公司 | User word library synchronous update method, update server and input method system |
CN102135814A (en) * | 2011-03-30 | 2011-07-27 | 北京搜狗科技发展有限公司 | Word input method and system |
CN102902362A (en) * | 2011-07-25 | 2013-01-30 | 腾讯科技(深圳)有限公司 | Text input method and system |
CN103108012A (en) * | 2011-11-15 | 2013-05-15 | 腾讯科技(深圳)有限公司 | Synchronized method and synchronized server for user word bank |
CN103886043A (en) * | 2014-03-11 | 2014-06-25 | 北京搜狗科技发展有限公司 | Method and device for showing candidate items |
-
2017
- 2017-05-26 CN CN201710384374.1A patent/CN108958503A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101840418A (en) * | 2010-03-31 | 2010-09-22 | 北京搜狗科技发展有限公司 | User word library synchronous update method, update server and input method system |
CN102135814A (en) * | 2011-03-30 | 2011-07-27 | 北京搜狗科技发展有限公司 | Word input method and system |
CN102902362A (en) * | 2011-07-25 | 2013-01-30 | 腾讯科技(深圳)有限公司 | Text input method and system |
CN103108012A (en) * | 2011-11-15 | 2013-05-15 | 腾讯科技(深圳)有限公司 | Synchronized method and synchronized server for user word bank |
CN103886043A (en) * | 2014-03-11 | 2014-06-25 | 北京搜狗科技发展有限公司 | Method and device for showing candidate items |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111522448A (en) * | 2019-02-02 | 2020-08-11 | 北京搜狗科技发展有限公司 | Method, device and equipment for providing input candidate items |
CN111522448B (en) * | 2019-02-02 | 2024-04-30 | 北京搜狗科技发展有限公司 | Method, device and equipment for providing input candidate items |
CN111796690A (en) * | 2019-03-21 | 2020-10-20 | 北京搜狗科技发展有限公司 | Data processing method and device and electronic equipment |
CN111367424A (en) * | 2020-03-12 | 2020-07-03 | 重庆智慧之源科技有限公司 | Intelligent adjustment method and device for information candidate items and computer readable storage medium |
CN113589955A (en) * | 2020-04-30 | 2021-11-02 | 北京搜狗科技发展有限公司 | Data processing method and device and electronic equipment |
CN111708443A (en) * | 2020-06-15 | 2020-09-25 | 北京搜狗科技发展有限公司 | Input method, input device and input device |
CN111722730A (en) * | 2020-06-23 | 2020-09-29 | 平安医疗健康管理股份有限公司 | Character input method, device and equipment based on all-in-one machine and readable storage medium |
CN112684911A (en) * | 2020-12-29 | 2021-04-20 | 上海臣星软件技术有限公司 | Information display method, device, equipment and storage medium |
CN115494965A (en) * | 2021-06-18 | 2022-12-20 | 北京搜狗科技发展有限公司 | Request sending method and device and request sending device |
CN114266260A (en) * | 2021-12-24 | 2022-04-01 | 金锐软件技术(杭州)有限公司 | Embedded type timely translation system applied to software research and development |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108958503A (en) | input method and device | |
CN109144285B (en) | Input method and device | |
CN109871843A (en) | Character identifying method and device, the device for character recognition | |
CN107918496A (en) | It is a kind of to input error correction method and device, a kind of device for being used to input error correction | |
CN108345667A (en) | A kind of searching method and relevant apparatus | |
CN111491123A (en) | Video background processing method and device and electronic equipment | |
CN106504050A (en) | A kind of information comparison device and method | |
CN108255940A (en) | A kind of cross-language search method and apparatus, a kind of device for cross-language search | |
CN108255939A (en) | A kind of cross-language search method and apparatus, a kind of device for cross-language search | |
CN112464031A (en) | Interaction method, interaction device, electronic equipment and storage medium | |
CN109992124A (en) | Input method, device and machine readable media | |
CN110110207A (en) | A kind of information recommendation method, device and electronic equipment | |
CN108664336A (en) | Recommend method and apparatus, the device for recommendation | |
CN108073291B (en) | Input method and device and input device | |
CN106156299B (en) | The subject content recognition methods of text information and device | |
CN109814730A (en) | Input method and device, the device for input | |
CN109542297A (en) | The method, apparatus and electronic equipment of operation guiding information are provided | |
CN112000766A (en) | Data processing method, device and medium | |
CN108536653A (en) | A kind of input method, device and the device for input | |
CN111611369A (en) | Interactive method based on artificial intelligence and related device | |
CN111708444A (en) | Input method, input device and input device | |
CN110162710A (en) | Information recommendation method and device under input scene | |
CN107784037A (en) | Information processing method and device, the device for information processing | |
CN107436896A (en) | Method, apparatus and electronic equipment are recommended in one kind input | |
CN110968246A (en) | Intelligent Chinese handwriting input recognition method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181207 |