CN106896937A - Method and apparatus for being input into information - Google Patents
Method and apparatus for being input into information Download PDFInfo
- Publication number
- CN106896937A CN106896937A CN201710114679.0A CN201710114679A CN106896937A CN 106896937 A CN106896937 A CN 106896937A CN 201710114679 A CN201710114679 A CN 201710114679A CN 106896937 A CN106896937 A CN 106896937A
- Authority
- CN
- China
- Prior art keywords
- input
- word
- candidate
- type
- dictionary
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/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/0237—Character input methods using prediction or retrieval techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/335—Filtering based on additional data, e.g. user or group profiles
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
This application discloses the method and apparatus for being input into information.One specific embodiment of the method includes:Receive the character that user is input into the input area of application or webpage;Determine candidate's input word type dictionary corresponding with the type of the application or the webpage of the character, the weight of word and word in the type dictionary is chosen the number of times of the word by server and determined in the application of the type or webpage based on user;If candidate's input word is in the type dictionary, according to the weight of candidate's input word in the type dictionary, the position of appearing of candidate's input word is determined;Candidate's input word is presented in the position of appearing determined, so that the user carries out selection operation and input information.This embodiment improves the efficiency of information input.
Description
Technical field
The application is related to field of computer technology, and in particular to input method technique field, is more particularly, to input into information
Method and apparatus.
Background technology
User can realize information input using input method.User inputs character, input method can determine one or more
With candidate's input word of the character match of user input, and to the user show candidate's input word.
However, existing information input mode is typically to determine the Presence Bit of candidate word using the system dictionary of input method
Put, in this manner, the candidate's input word presented in forward position is most likely not the desired result of user, so that,
There is a problem that information input efficiency is low.
The content of the invention
The purpose of the application is to propose a kind of improved to solve background above for being input into the method and apparatus of information
The technical problem that technology segment is mentioned.
In a first aspect, the embodiment of the present application provides a kind of method for being input into information, the method includes:Receive user
In the character that the input area of application or webpage is input into;Determine candidate's input word of the character and the type of the application or the webpage
Corresponding type dictionary, the weight of word and word in the type dictionary user is based in the application of the type by server or
The number of times of the word is chosen in webpage and is determined;If candidate's input word is in the type dictionary, according to candidate's input word
Weight in the type dictionary, determines the position of appearing of candidate's input word;The candidate is presented in the position of appearing determined
Input word, so that the user carries out selection operation and input information.
In certain embodiments, the method also includes:If candidate's input word is not in the type dictionary, according to the time
Weight of the input word in default dictionary is selected, the position of appearing of candidate's input word is determined.
In certain embodiments, the default dictionary include it is following at least one:System dictionary, the user thesaurus of the user,
Wherein, the system dictionary for input method pre-set including character, candidate's input word of character, the weight of candidate's input word
Dictionary, the user thesaurus record the word that the user input crosses and the weight determined according to the number of times of the user input word.
In certain embodiments, if being somebody's turn to do candidate's input word in the type dictionary, according to candidate's input word at this
Weight in type dictionary, determines the position of appearing of candidate's input word, including:If candidate's input word is in the type dictionary
In, then according to the weight of candidate's input word in the type dictionary and the weight in the user thesaurus of the user, it is determined that should
The position of appearing of candidate's input word.
In certain embodiments, in the type dictionary word and the weight of word is based on user in the type by server
Application or webpage in choose the word number of times and select the word different users number and determine.
In certain embodiments, the method also includes:In response to receiving the character that the user is input into the input area,
Being sent to the server includes the input method initiation message of the type identification of the type, wherein, the server is in response to receiving
The input method initiation message returns to the type dictionary;The type dictionary that the reception server is returned.
Second aspect, the embodiment of the present application provides a kind of device for being input into information, and the device includes:First receives
Unit, for receiving the character that user is input into the input area of application or webpage;First determining unit, for determining the character
Candidate's input word type dictionary corresponding with the type of the application or the webpage, the power of word and word in the type dictionary
Weight is chosen the number of times of the word by server and is determined in the application of the type or webpage based on user;Second determining unit,
If for candidate's input word in the type dictionary, according to the weight of candidate's input word in the type dictionary, it is determined that
The position of appearing of candidate's input word;Display unit, for candidate's input word to be presented in the position of appearing determined, for this
User carries out selection operation and input information.
In certain embodiments, the device also includes:3rd determining unit, if for candidate's input word not in the type
In dictionary, then the weight according to candidate's input word in default dictionary, determines the position of appearing of candidate's input word.
In certain embodiments, second determining unit, is additionally operable to:If candidate's input word is in the type dictionary,
According to the weight of candidate's input word in the type dictionary and the weight in the user thesaurus of the user, determine that the candidate is defeated
Enter the position of appearing of word.
The third aspect, the embodiment of the present application provides a kind of equipment, and the said equipment includes:One or more processors;Deposit
Storage device, for storing one or more programs, when said one or multiple programs are by said one or multiple computing devices
When so that said one or multiple processors realize such as the above-mentioned method of first aspect.
Fourth aspect, the embodiment of the present application provides a kind of computer-readable recording medium, is stored thereon with computer journey
Sequence, it is characterised in that the program is when executed by realizing as above-mentioned method such as first aspect.
The method and apparatus for being input into information that embodiments herein is provided, by receiving user in application or webpage
Input area input character, determine candidate's input word type word corresponding with the type of the application or the webpage of the character
Storehouse, if candidate's input word is in the type dictionary, according to the weight of candidate's input word in the type dictionary, it is determined that should
The position of appearing of candidate's input word;Candidate's input word is presented in the position of appearing determined, so that the user carries out selection behaviour
Make and be input into information, so as to improve the efficiency of information input.
Brief description of the drawings
By the detailed description made to non-limiting example made with reference to the following drawings of reading, the application other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is that the application can apply to exemplary system architecture figure therein;
Fig. 2 is the flow chart of one embodiment of the method for being input into information according to the application;
Fig. 3 is a schematic diagram for application scenarios of the method for being input into information according to the application;
Fig. 4 is the flow chart of another embodiment of the method for being input into information according to the application;
Fig. 5 is the structural representation of one embodiment of the device for being input into information according to the application;
Fig. 6 is adapted for the structural representation of the computer system of the terminal device for realizing the embodiment of the present application.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that, in order to
Be easy to description, be illustrate only in accompanying drawing to about the related part of invention.
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase
Mutually combination.Describe the application in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 shows can apply the method for being input into information of the application or the implementation for being input into the device of information
The exemplary system architecture 100 of example.
As shown in figure 1, system architecture 100 can include terminal device 101,102,103, network 104 and server 105.
Network 104 is used to be provided between terminal device 101,102,103 and server 105 medium of communication link.Network 104 can be with
Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be interacted by network 104 with using terminal equipment 101,102,103 with server 105, to receive or send out
Send message etc..Various telecommunication customer end applications, such as input method application, net can be installed on terminal device 101,102,103
The application of page browsing device, instant messaging class application etc..
Terminal device 101,102,103 can be with display screen and support the various electronic equipments of information input, bag
Include but be not limited to smart mobile phone, panel computer, E-book reader, MP3 player (Moving Picture Experts
Group Audio Layer III, dynamic image expert's compression standard audio aspect 3), MP4 (Moving Picture
Experts Group Audio Layer IV, dynamic image expert's compression standard audio aspect 4) it is player, on knee portable
Computer and desktop computer etc..
Server 105 can be to provide the server of various services, such as to the transmission types of terminal device 101,102,103
The background server of dictionary.Background server such as can be analyzed at the treatment to data such as the input method initiation messages that receives,
And result (such as type dictionary) is fed back into terminal device.
It should be noted that the method for being input into information that is provided of the embodiment of the present application it is general by terminal device 101,
102nd, 103 perform, correspondingly, be generally positioned in terminal device 101,102,103 for being input into the device of information.Set in terminal
In the case of for the type dictionary needed for being above previously stored with, server can also be removed from the system framework.
It should be understood that the number of the terminal device, network and server in Fig. 1 is only schematical.According to realizing need
Will, can have any number of terminal device, network and server.
With continued reference to Fig. 2, it illustrates the flow of one embodiment of the method for being input into information according to the application
200.The above-mentioned method for being input into information, comprises the following steps:
Step 201, receives the character that user is input into the input area of application or webpage.
In the present embodiment, electronic equipment (such as terminal shown in Fig. 1 thereon is run for being input into the method for information
Equipment) character that user is input into the input area of application or webpage can be received.
As an example, the character of user input can be " geli ".Using or webpage input area can be apply or
The input frame of the input method that webpage is called;Or the region in application or webpage is embedded in, the region can show that user is led to
Cross the character of input equipment input.
Step 202, determines the corresponding type dictionary of the type of candidate's input word and application or webpage of character.
In the present embodiment, electronic equipment (such as terminal shown in Fig. 1 thereon is run for being input into the method for information
Equipment) the corresponding type dictionary of the type of candidate's input word and application or webpage of character can be determined.
In some optional implementations of the present embodiment, it is possible to use the default system dictionary of input method determine with
Candidate's input word of character.As an example, candidate's input word of character " geli " can be " Gree ", " isolation ", " clam ".
In the present embodiment, various application types can be preset, it is possible to the class of application is determined using various ways
Type.As an example, setting up the mapping table of common application and the type of application.Or, can be using one kind application as one kind
Type.
In the present embodiment, various type of webpage can be preset, it is possible to the class of webpage is determined using various ways
Type.
In some optional implementations of the present embodiment, the type of webpage affiliated web site can be obtained, by website class
For example, the website belonging to webpage is shopping class website, be then defined as the corresponding type of webpage by type as the corresponding type of webpage
Shopping type.
In some optional implementations of the present embodiment, it is also possible to according to website itself to the classification of webpage as net
The corresponding type of page, for example, website itself is categorized as health care info class to webpage, then can be by the corresponding class of webpage
Type is defined as health care class.
In some optional implementations of the present embodiment, the corresponding class of webpage can be determined with analyzing web page content
Type, for example, can be with the content of analyzing web page, the theme for determining web page contents is sport category theme, health care class theme or purchase
Species theme, the corresponding type of webpage is defined as by the theme of identified web page contents.
In the present embodiment, can be in advance using or the type of webpage be previously provided with type dictionary, it is herein, above-mentioned
The weight of word and word in type dictionary chooses the word based on user by server in the application of the above-mentioned type or webpage
The number of times of language and determine.
As an example, for instant messaging class application, server can be counted in preset time period, the use of " geli " is input into
The selected upper screen word in family, and determine the maximum word of the corresponding weight of the default system dictionary " geli " of input method.For example,
Selection number of times it is most be " Gree ".But, the maximum word of " geli " corresponding weight in the default system dictionary of input method
It is " isolation ".When the most word of user's selection number of times is not the word of weight maximum in the default system dictionary of input method, will
User selects the most word of number of times as the word in the type dictionary of the instant messaging class, and according to the number of times of the selection word
With the weight that the number of the different user for selecting the word determines the word.
Step 203, if candidate's input word is in type dictionary, according to weight of candidate's input word in type dictionary,
Determine the position of appearing of candidate's input word.
In the present embodiment, electronic equipment (such as terminal shown in Fig. 1 thereon is run for being input into the method for information
Equipment) whether above-mentioned candidate's input word can be first determined whether in the above-mentioned type dictionary, if above-mentioned candidate's input word is in above-mentioned class
In type dictionary, then the weight according to candidate's input word in type dictionary, determines the position of appearing of candidate's input word.
As an example, user is input into character " geli ", candidate's input word of character " geli " in instant communication class application
Can be " Gree ", " isolation ", " clam ", and " Gree " is in the corresponding type dictionary of instant communication class application, " isolation ",
" clam ", then according to for " Gree " this candidate's input word, utilizes not in the corresponding type dictionary of instant communication class application
The weight of " Gree " in the corresponding type dictionary of instant communication class application, it is determined that the position of appearing of " Gree ", this area skill
Art personnel are appreciated that the position of appearing of " Gree " can indicate to be in which position (for example, first, second or the 3rd)
Existing " Gree " this candidate's input word.
Step 204, candidate's input word is presented in the position of appearing determined.
In the present embodiment, electronic equipment (such as terminal shown in Fig. 1 thereon is run for being input into the method for information
Equipment) above-mentioned candidate's input word can be presented in the position of appearing determined, it is input into so that above-mentioned user carries out selection operation
Information.
As an example, candidate's input word " Gree " of character " geli ", " isolation ", the position of appearing of " clam " are respectively
One, the 3rd, second, then be presented these three candidate's input words, for entering with the order of " Gree ", " clam ", " isolation "
Row selection operation and be input into the corresponding information of character " geli ", for example, user have selected " Gree ", then " Gree " is used as character
The upper screen word of " geli ".
With continued reference to Fig. 3, Fig. 3 is a signal of the application scenarios of the method for being input into information according to the present embodiment
Figure.In the application scenarios of Fig. 3, user is input into character in the input area of application first, for example, input " geli ";Afterwards, eventually
End can determine the corresponding type dictionary of the type of candidate's input word and application of character, for example, candidate's input word is " Gree "
" isolation " " clam ", application type is instant messaging class application;Then, if above-mentioned candidate's input word is in instant communication class application pair
In the type dictionary answered, for example " Gree " in type dictionary, terminal according to the weight of above-mentioned candidate's input word in type dictionary,
Determine the position of appearing of above-mentioned candidate's input word, such as " Gree " ranks the first;Finally, as shown in figure 3, terminal can it is determined that
Position of appearing is presented above-mentioned candidate's input word.
The method that above-described embodiment of the application is provided, by receiving what user was input into the input area of application or webpage
Character, determines candidate's input word type dictionary corresponding with the type of the application or the webpage of the character, if the candidate is input into
In the type dictionary, then according to the weight of candidate's input word in the type dictionary, determine candidate's input word is in word
Existing position;Candidate's input word is presented in the position of appearing determined, so that the user carries out selection operation and input information, from
And improve the efficiency of information input.
With further reference to Fig. 4, it illustrates the flow 400 of another embodiment of the method for being input into information.The use
In the flow 400 of the method for input information, comprise the following steps:
Step 401, receives the character that user is input into the input area of application or webpage.
In the present embodiment, electronic equipment (such as terminal shown in Fig. 1 thereon is run for being input into the method for information
Equipment) character that user is input into the input area of application or webpage can be received.
In some optional implementations of the present embodiment, above-mentioned electronic equipment may also respond to receive above-mentioned use
The character that family is input into above-mentioned input area, being sent to above-mentioned server includes that the input method of the type identification of the above-mentioned type starts
Message, wherein, above-mentioned server returns to the above-mentioned type dictionary in response to receiving above-mentioned input method initiation message;The reception server
The above-mentioned type dictionary of return.Herein, type dictionary can be stored in server, terminal device whenever necessary, server
The type dictionary of terminal device needs is issued to terminal device, the storage pressure of terminal device is reduced.
In some optional implementations of the present embodiment, correspondingly, server receiving terminal send including above-mentioned
The input method initiation message of the type identification of target type, wherein, above-mentioned input method initiation message is above-mentioned terminal response in connecing
User is received to be sent in the character of the input area input of the application or webpage of the indicated type of the above-mentioned type mark;Clothes
Business device returns to the corresponding type dictionary of above-mentioned target type in response to receiving above-mentioned input method initiation message to above-mentioned terminal.
In some optional implementations of the present embodiment, type dictionary can be set up by following steps:Obtain pre-
At least one history input information of the user in the application of target type or webpage in section of fixing time, wherein, history input letter
Breath includes the candidate result of the above-mentioned target character that target character and user choose;For each at least one candidate result
Candidate result, according to the number of times that the candidate result occurs in acquired history input information, determines the power of the candidate result
Weight;Determine whether weight highest candidate result is the corresponding weight highest word of above-mentioned target character in default dictionary;If
It is that weight highest candidate result and weight are then defined as the word and the word in the corresponding type dictionary of above-mentioned target type
The weight of language.
In some optional implementations of the present embodiment, history input information includes ID, wherein, above-mentioned use
Family identifies the user for indicating the candidate result for choosing above-mentioned target character;And it is above-mentioned according to the candidate result acquired
History input information in occur number of times, determine the weight of the candidate result, including:Letter is input into according in acquired history
In breath, number of times and the number of the different user for selecting the candidate result of candidate result appearance determine the candidate result
Weight.
Step 402, determines the corresponding type dictionary of the type of candidate's input word and application or webpage of character.
In the present embodiment, electronic equipment (such as terminal shown in Fig. 1 thereon is run for being input into the method for information
Equipment) the corresponding type dictionary of the type of candidate's input word and application or webpage of character can be determined.
In the present embodiment, in the above-mentioned type dictionary word and the weight of word can be based on user upper by server
State type application or webpage in choose the word number of times and select the word different users number and determine.
As an example, for instant messaging class application, server can be counted in preset time period, the use of " geli " is input into
The selected upper screen word in family and the user of the above-mentioned word is selected, and determine input method default system dictionary " geli " correspondence
The maximum word of weight.For example, selection number of times it is most be " Gree ", and select " Gree " user more to disperse, it is more
User have selected " Gree ".But, in the default system dictionary of input method the maximum word of " geli " corresponding weight for " every
From ".Most users selection and user's selection most word of number of times is not that weight is most in the default system dictionary of input method
During big word, using the most word of user's selection number of times as the word word in the type dictionary of the instant messaging class, and root
The weight of the word is determined according to the number of the number of times for choosing the word and the different user for selecting the word.
Whether step 403, determine candidate word in type dictionary.
In the present embodiment, electronic equipment (such as terminal shown in Fig. 1 thereon is run for being input into the method for information
Equipment) can determine candidate word whether in type dictionary.
If so, then performing step 404;If it is not, then performing step 404 '.
Step 404, if candidate's input word is in type dictionary, according to weight of candidate's input word in type dictionary,
Determine the position of appearing of candidate's input word.
In the present embodiment, electronic equipment (such as terminal shown in Fig. 1 thereon is run for being input into the method for information
Equipment) if can with candidate's input word in type dictionary, according to weight of candidate's input word in the above-mentioned type dictionary, it is determined that
The position of appearing of candidate's input word.
Step 404 ', if candidate's input word is not in type dictionary, according to power of candidate's input word in default dictionary
Weight, determines the position of appearing of candidate's input word.
In the present embodiment, electronic equipment (such as terminal shown in Fig. 1 thereon is run for being input into the method for information
Equipment) can be with candidate's input word whether in the above-mentioned type dictionary, if candidate's input word is not in the above-mentioned type dictionary, basis
Weight of candidate's input word in default dictionary, determines the position of appearing of candidate's input word.
Herein, above-mentioned default dictionary include it is following at least one:System dictionary, the user thesaurus of above-mentioned user.System
Dictionary can be input method pre-set including character, candidate's input word of character, the weight of candidate's input word dictionary.With
Family dictionary can record the word that the user input crosses and the weight determined according to the number of times of the user input word.
In some optional implementations of the present embodiment, according to weight of candidate's input word in the above-mentioned type dictionary
With the weight in the user thesaurus of user, before determining the position of appearing of candidate's input word, it can be determined that above-mentioned candidate input
Whether word is in the user thesaurus of above-mentioned user, if above-mentioned candidate's input word is in the user thesaurus of above-mentioned user, according to time
Weight of the input word in the above-mentioned type dictionary and the weight in the user thesaurus of user are selected, the presentation of candidate's input word is determined
Position.
Step 405, candidate's input word is presented in the position of appearing determined.
In the present embodiment, electronic equipment (such as terminal shown in Fig. 1 thereon is run for being input into the method for information
Equipment) candidate's input word can be presented in the position of appearing determined.
Figure 4, it is seen that compared with the corresponding embodiments of Fig. 2, the method for being input into information in the present embodiment
Flow 400 highlight the step of determining the position of appearing of candidate's input word using various dictionaries.Thus, the present embodiment is described
The desired word of user can be presented on forward position of appearing by scheme, so as to realize more effective information input.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides a kind of information input dress
The one embodiment put, the device embodiment is corresponding with the embodiment of the method shown in Fig. 2, and the device specifically can apply to respectively
In kind electronic equipment.
As shown in figure 5, the message input device 500 of the present embodiment includes:First receiving unit 501, the first determining unit
502nd, the second determining unit 503 and display unit 504.Wherein, the first receiving unit 501, for receiving user in application or net
The character of the input area input of page;First determining unit 502, for the candidate's input word for determining above-mentioned character and above-mentioned application
Or the corresponding type dictionary of type of above-mentioned webpage, the weight of word and word in the above-mentioned type dictionary is based on using by server
The number of times of the word is chosen in the application of the above-mentioned type or webpage and is determined in family;Second determining unit 503, if for above-mentioned time
Input word is selected in the above-mentioned type dictionary, then the weight according to above-mentioned candidate's input word in the above-mentioned type dictionary, determines above-mentioned
The position of appearing of candidate's input word;Display unit 504, for above-mentioned candidate's input word to be presented in the position of appearing determined, with
Selection operation is carried out for above-mentioned user and input information.
In the present embodiment, the first receiving unit 501 of message input device 500, the first determining unit 502, second are true
Order unit 503 may be referred to step 201, step 202, step in the corresponding embodiments of Fig. 2 with the specific treatment of display unit 504
203 and step 204, will not be repeated here.
In some optional implementations of the present embodiment, said apparatus can also include:3rd determining unit (is not shown
Go out), if for above-mentioned candidate's input word not in the above-mentioned type dictionary, according to above-mentioned candidate's input word in default dictionary
Weight, determines the position of appearing of above-mentioned candidate's input word.
In some optional implementations of the present embodiment, above-mentioned default dictionary can include it is following at least one:System
Dictionary, the user thesaurus of above-mentioned user.
In some optional implementations of the present embodiment, above-mentioned second determining unit can be also used for:If above-mentioned candidate
Input word in the above-mentioned type dictionary, then weight according to above-mentioned candidate's input word in the above-mentioned type dictionary and in above-mentioned user
User thesaurus in weight, determine the position of appearing of above-mentioned candidate's input word.
In some optional implementations of the present embodiment, the weight of word and word in the above-mentioned type dictionary can be by
Server is based on user and the number of times of the word is chosen in the application of the above-mentioned type or webpage and the different use of the word is selected
The number at family and determine.
In some optional implementations of the present embodiment, said apparatus can also include:Transmitting element (not shown), uses
In in response to receiving the character that above-mentioned user is input into above-mentioned input area, being sent to above-mentioned server includes the above-mentioned type
The input method initiation message of type identification, wherein, above-mentioned server is returned in response to receiving above-mentioned input method initiation message
State type dictionary;Second receiving unit (not shown), for the above-mentioned type dictionary that the reception server is returned.
Realize details and the technique effect of the unit of the device for being input into information that the present embodiment is provided can be with
With reference to the explanation in the application other embodiments, will not be repeated here.
Below with reference to Fig. 6, it illustrates the computer system 600 for being suitable to the terminal device for realizing the embodiment of the present application
Structural representation.Terminal device shown in Fig. 6 is only an example, to the function of the embodiment of the present application and should not use model
Shroud carrys out any limitation.
As shown in fig. 6, computer system 600 includes CPU (CPU) 601, it can be according to storage read-only
Program in memory (ROM) 602 or be loaded into program in random access storage device (RAM) 603 from storage part 608 and
Perform various appropriate actions and treatment.In RAM 603, the system that is also stored with 600 operates required various programs and data.
CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to always
Line 604.
I/O interfaces 605 are connected to lower component:Including the importation 606 of keyboard, mouse etc.;Penetrated including such as negative electrode
The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage part 608 including hard disk etc.;
And the communications portion 609 of the NIC including LAN card, modem etc..Communications portion 609 via such as because
The network of spy's net performs communication process.Driver 610 is also according to needing to be connected to I/O interfaces 605.Detachable media 611, such as
Disk, CD, magneto-optic disk, semiconductor memory etc., as needed on driver 610, in order to read from it
Computer program be mounted into as needed storage part 608.
Especially, in accordance with an embodiment of the present disclosure, the process above with reference to flow chart description may be implemented as computer
Software program.For example, embodiment of the disclosure includes a kind of computer program product, it includes being carried on computer-readable medium
On computer program, the computer program includes the program code for the method shown in execution flow chart.In such reality
Apply in example, the computer program can be downloaded and installed by communications portion 609 from network, and/or from detachable media
611 are mounted.When the computer program is performed by CPU (CPU) 601, limited in execution the present processes
Above-mentioned functions.It should be noted that the above-mentioned computer-readable medium of the application can be computer-readable signal media or
Computer-readable recording medium or the two are combined.Computer-readable recording medium for example can be --- but
Be not limited to --- the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or device, or it is any more than combination.
The more specifically example of computer-readable recording medium can be included but is not limited to:Electrical connection with one or more wires,
Portable computer diskette, hard disk, random access storage device (RAM), read-only storage (ROM), erasable type may be programmed read-only depositing
Reservoir (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD-ROM), light storage device, magnetic memory
Part or above-mentioned any appropriate combination.In this application, computer-readable recording medium can be it is any comprising or storage
The tangible medium of program, the program can be commanded execution system, device or device and use or in connection.And
In the application, computer-readable signal media can include believing in a base band or as the data that a carrier wave part is propagated
Number, wherein carrying computer-readable program code.The data-signal of this propagation can take various forms, including but not
It is limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer
Any computer-readable medium beyond readable storage medium storing program for executing, the computer-readable medium can send, propagate or transmit use
In by the use of instruction execution system, device or device or program in connection.Included on computer-readable medium
Program code any appropriate medium can be used to transmit, including but not limited to:Wirelessly, electric wire, optical cable, RF etc., Huo Zheshang
Any appropriate combination stated.
Flow chart and block diagram in accompanying drawing, it is illustrated that according to the system of the various embodiments of the application, method and computer journey
The architectural framework in the cards of sequence product, function and operation.At this point, each square frame in flow chart or block diagram can generation
One part for module, program segment or code of table a, part for the module, program segment or code is used comprising one or more
In the executable instruction of the logic function for realizing regulation.It should also be noted that in some are as the realization replaced, being marked in square frame
The function of note can also occur with different from the order marked in accompanying drawing.For example, two square frames for succeedingly representing are actually
Can perform substantially in parallel, they can also be performed in the opposite order sometimes, this is depending on involved function.Also to note
Meaning, the combination of the square frame in each square frame and block diagram and/or flow chart in block diagram and/or flow chart can be with holding
The fixed function of professional etiquette or the special hardware based system of operation are realized, or can use specialized hardware and computer instruction
Combination realize.
Being described in involved unit in the embodiment of the present application can be realized by way of software, it is also possible to by hard
The mode of part is realized.Described unit can also be set within a processor, for example, can be described as:A kind of processor bag
Include the first receiving unit, the first determining unit, the second determining unit and display unit.Wherein, the title of these units is at certain
In the case of do not constitute restriction to the unit in itself, for example, the first receiving unit is also described as " receiving user should
With or webpage input area be input into character unit ".
Used as on the other hand, present invention also provides a kind of computer-readable medium, the computer-readable medium can be
Included in device described in above-described embodiment;Can also be individualism, and without in allocating the device into.Above-mentioned calculating
Machine computer-readable recording medium carries one or more program, when said one or multiple programs are performed by the device so that should
Device:Receive the character that user is input into the input area of application or webpage;Determine candidate's input word of above-mentioned character and above-mentioned
Using or above-mentioned webpage the corresponding type dictionary of type, the weight of word and word in the above-mentioned type dictionary is by server base
The number of times of the word is chosen in the application of the above-mentioned type or webpage in user and is determined;If above-mentioned candidate's input word is in above-mentioned class
In type dictionary, then the weight according to above-mentioned candidate's input word in the above-mentioned type dictionary, determines the presentation of above-mentioned candidate's input word
Position;Above-mentioned candidate's input word is presented in the position of appearing determined, the input information so that above-mentioned user carries out selection operation.
Above description is only the preferred embodiment and the explanation to institute's application technology principle of the application.People in the art
Member is it should be appreciated that involved invention scope in the application, however it is not limited to the technology of the particular combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where foregoing invention design is not departed from, is carried out by above-mentioned technical characteristic or its equivalent feature
Other technical schemes for being combined and being formed.Such as features described above has similar work(with (but not limited to) disclosed herein
The technical scheme that the technical characteristic of energy is replaced mutually and formed.
Claims (11)
1. a kind of method for being input into information, it is characterised in that methods described includes:
Receive the character that user is input into the input area of application or webpage;
Determine the corresponding type dictionary of the type of candidate's input word and the application or the webpage of the character, the type
The weight of word and word in dictionary chooses the word based on user by server in the application of the type or webpage
Number of times and determine;
If candidate's input word is in the type dictionary, according to power of the candidate's input word in the type dictionary
Weight, determines the position of appearing of candidate's input word;
Candidate's input word is presented in the position of appearing determined, the input information so that the user carries out selection operation.
2. method according to claim 1, it is characterised in that methods described also includes:
If candidate's input word is not in the type dictionary, according to power of the candidate's input word in default dictionary
Weight, determines the position of appearing of candidate's input word.
3. method according to claim 2, it is characterised in that the default dictionary include it is following at least one:System word
Storehouse, the user thesaurus of the user, wherein, the candidate including character, character that the system dictionary pre-sets for input method
The dictionary of input word, the weight of candidate's input word, the user thesaurus record the word that the user input crosses and according to described
The weight that the number of times of the user input word determines.
4. method according to claim 3, it is characterised in that if candidate's input word is in the type dictionary
In, then the weight according to candidate's input word in the type dictionary, determines the position of appearing of candidate's input word, bag
Include:
If candidate's input word is in the type dictionary, according to power of the candidate's input word in the type dictionary
Weight and the weight in the user thesaurus of the user, determine the position of appearing of candidate's input word.
5. the method according to any one of claim 1-4, it is characterised in that word and word in the type dictionary
Weight user is based on by server chooses in the application of the type or webpage the number of times of the word and select the word
The number of different users and determine.
6. method according to claim 5, it is characterised in that methods described also includes:
In response to receiving the character that the user is input into the input area, being sent to the server includes the type
Type identification input method initiation message, wherein, the server is returned in response to receiving the input method initiation message
The type dictionary;
The type dictionary that the reception server is returned.
7. a kind of device for being input into information, it is characterised in that described device includes:
First receiving unit, for receiving the character that user is input into the input area of application or webpage;
First determining unit, for determine the character candidate's input word and the application or the webpage type it is corresponding
Type dictionary, the weight of word and word in the type dictionary is based on application or net of the user in the type by server
Choose the number of times of the word and determine in page;
Second determining unit, if for candidate's input word in the type dictionary, being existed according to candidate's input word
Weight in the type dictionary, determines the position of appearing of candidate's input word;
Display unit, for candidate's input word to be presented in the position of appearing determined, so that the user carries out selection behaviour
Make and be input into information.
8. device according to claim 7, it is characterised in that described device also includes:
3rd determining unit, if for candidate's input word not in the type dictionary, according to candidate's input word
Weight in default dictionary, determines the position of appearing of candidate's input word.
9. the device according to claim 7 or 8, it is characterised in that second determining unit, is additionally operable to:
If candidate's input word is in the type dictionary, according to power of the candidate's input word in the type dictionary
Weight and the weight in the user thesaurus of the user, determine the position of appearing of candidate's input word.
10. a kind of equipment, it is characterised in that the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are by one or more of computing devices so that one or more of processors
Realize the method as described in any in claim 1-6.
A kind of 11. computer-readable recording mediums, are stored thereon with computer program, it is characterised in that the program is by processor
The method as described in any in claim 1-6 is realized during execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710114679.0A CN106896937A (en) | 2017-02-28 | 2017-02-28 | Method and apparatus for being input into information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710114679.0A CN106896937A (en) | 2017-02-28 | 2017-02-28 | Method and apparatus for being input into information |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106896937A true CN106896937A (en) | 2017-06-27 |
Family
ID=59184424
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710114679.0A Pending CN106896937A (en) | 2017-02-28 | 2017-02-28 | Method and apparatus for being input into information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106896937A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108874175A (en) * | 2018-06-20 | 2018-11-23 | 北京百度网讯科技有限公司 | A kind of data processing method, device, equipment and medium |
CN109426357A (en) * | 2017-09-01 | 2019-03-05 | 百度在线网络技术(北京)有限公司 | Data inputting method and device |
CN109597498A (en) * | 2018-11-29 | 2019-04-09 | 北京蓦然认知科技有限公司 | A kind of input method based on scene, device, equipment |
CN111782060A (en) * | 2020-06-18 | 2020-10-16 | 维沃移动通信有限公司 | Object display method and device and electronic equipment |
CN112416142A (en) * | 2020-11-20 | 2021-02-26 | 维沃移动通信有限公司 | Method and device for inputting characters and electronic equipment |
CN112631437A (en) * | 2020-12-25 | 2021-04-09 | 维沃移动通信有限公司 | Information recommendation method and device and electronic equipment |
CN114527927A (en) * | 2020-11-20 | 2022-05-24 | 阿波罗智联(北京)科技有限公司 | Method and device for inputting information, electronic equipment and storage medium |
CN114791769A (en) * | 2022-06-24 | 2022-07-26 | 湖北云享客数字智能科技有限公司 | Big database establishment method for user behavior prediction result |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101051323A (en) * | 2007-05-22 | 2007-10-10 | 北京搜狗科技发展有限公司 | Character input method, input method system and method for updating word stock |
CN101334774A (en) * | 2007-06-29 | 2008-12-31 | 北京搜狗科技发展有限公司 | Character input method and input method system |
CN102959547A (en) * | 2012-05-03 | 2013-03-06 | 华为技术有限公司 | Word bank adjusting method and equipment |
CN104375663A (en) * | 2014-11-11 | 2015-02-25 | 广东欧珀移动通信有限公司 | Associating input method and device |
CN105824436A (en) * | 2015-01-06 | 2016-08-03 | 阿里巴巴集团控股有限公司 | Character input method and input method system |
-
2017
- 2017-02-28 CN CN201710114679.0A patent/CN106896937A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101051323A (en) * | 2007-05-22 | 2007-10-10 | 北京搜狗科技发展有限公司 | Character input method, input method system and method for updating word stock |
CN101334774A (en) * | 2007-06-29 | 2008-12-31 | 北京搜狗科技发展有限公司 | Character input method and input method system |
CN102959547A (en) * | 2012-05-03 | 2013-03-06 | 华为技术有限公司 | Word bank adjusting method and equipment |
CN104375663A (en) * | 2014-11-11 | 2015-02-25 | 广东欧珀移动通信有限公司 | Associating input method and device |
CN105824436A (en) * | 2015-01-06 | 2016-08-03 | 阿里巴巴集团控股有限公司 | Character input method and input method system |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109426357A (en) * | 2017-09-01 | 2019-03-05 | 百度在线网络技术(北京)有限公司 | Data inputting method and device |
CN109426357B (en) * | 2017-09-01 | 2023-05-12 | 百度在线网络技术(北京)有限公司 | Information input method and device |
CN108874175A (en) * | 2018-06-20 | 2018-11-23 | 北京百度网讯科技有限公司 | A kind of data processing method, device, equipment and medium |
CN109597498A (en) * | 2018-11-29 | 2019-04-09 | 北京蓦然认知科技有限公司 | A kind of input method based on scene, device, equipment |
CN111782060A (en) * | 2020-06-18 | 2020-10-16 | 维沃移动通信有限公司 | Object display method and device and electronic equipment |
CN112416142A (en) * | 2020-11-20 | 2021-02-26 | 维沃移动通信有限公司 | Method and device for inputting characters and electronic equipment |
CN114527927A (en) * | 2020-11-20 | 2022-05-24 | 阿波罗智联(北京)科技有限公司 | Method and device for inputting information, electronic equipment and storage medium |
CN112631437A (en) * | 2020-12-25 | 2021-04-09 | 维沃移动通信有限公司 | Information recommendation method and device and electronic equipment |
CN114791769A (en) * | 2022-06-24 | 2022-07-26 | 湖北云享客数字智能科技有限公司 | Big database establishment method for user behavior prediction result |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106896937A (en) | Method and apparatus for being input into information | |
CN109460513A (en) | Method and apparatus for generating clicking rate prediction model | |
CN107863108A (en) | Information output method and device | |
CN107295095A (en) | The method and apparatus for pushing and showing advertisement | |
CN108595628A (en) | Method and apparatus for pushed information | |
CN108805594A (en) | Information-pushing method and device | |
CN107731229A (en) | Method and apparatus for identifying voice | |
CN108280200B (en) | Method and device for pushing information | |
CN107844371A (en) | Task processing method, system and electronic equipment | |
CN107426328A (en) | Information-pushing method and device | |
CN106919711A (en) | The method and apparatus of the markup information based on artificial intelligence | |
CN110020329A (en) | For generating the methods, devices and systems of webpage | |
CN106897905A (en) | Method, device and electronic equipment for pushed information | |
CN107656768A (en) | Control the method and its system of page jump | |
CN107291759A (en) | The treating method and apparatus of browser page resource | |
CN107911449A (en) | Method and apparatus for pushed information | |
CN107770380A (en) | Information processing method and device | |
CN109101309B (en) | Method and apparatus for updating user interface | |
CN110084658A (en) | The matched method and apparatus of article | |
CN107451869A (en) | Method and apparatus for pushed information | |
CN107329585A (en) | Method and apparatus for inputting word | |
CN109389365A (en) | Processing method, device and the electronic equipment of multiple person cooperational formula document | |
CN107783962A (en) | Method and device for query statement | |
CN107330091A (en) | Information processing method and device | |
CN108595448A (en) | Information-pushing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170627 |
|
RJ01 | Rejection of invention patent application after publication |