CN105867649B - A kind of input method and mobile terminal based on facility information - Google Patents

A kind of input method and mobile terminal based on facility information Download PDF

Info

Publication number
CN105867649B
CN105867649B CN201610190529.3A CN201610190529A CN105867649B CN 105867649 B CN105867649 B CN 105867649B CN 201610190529 A CN201610190529 A CN 201610190529A CN 105867649 B CN105867649 B CN 105867649B
Authority
CN
China
Prior art keywords
information
input
user
candidate word
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.)
Active
Application number
CN201610190529.3A
Other languages
Chinese (zh)
Other versions
CN105867649A (en
Inventor
蔡云涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610190529.3A priority Critical patent/CN105867649B/en
Publication of CN105867649A publication Critical patent/CN105867649A/en
Application granted granted Critical
Publication of CN105867649B publication Critical patent/CN105867649B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0237Character input methods using prediction or retrieval techniques

Abstract

The present invention provides a kind of input methods based on facility information, belong to input technology field, comprising: by the keyword match in the character string and preset first dictionary of user's input;Pass through acquisition of information interface corresponding with the keyword of successful match in first dictionary;The first input candidate word is generated according to the information of acquisition, selection input is carried out convenient for user, compared with prior art, solves that input content is single, be unable to satisfy user and input the needs of problems of diversified contents, while improving input efficiency.

Description

A kind of input method and mobile terminal based on facility information
Technical field
The present invention relates to technical field of information input, more particularly to a kind of input method and movement based on facility information Terminal.
Background technique
With the development of computer technology, the use of electronic equipment deeply incorporates in daily life, people The interaction of various information is realized using electronic equipments such as computer, mobile terminals.And " input method " is then mounted on electronic equipment The important information input tool of one kind.By input method software, may be implemented single character, phrase, phrase, sentence it is defeated Enter, or even can also realize that the symbol of similar picture inputs.Therefore, carrying out the efficiency of information input using input method is always people The problem of paying close attention to.
In the prior art, in order to improve the efficiency of information input, input method software according to input language word frequency or it is upper It is hereafter associated with, can carry out " verbal association ", to fast implement information input.For example, user inputs after " hand " word, input method It according to the word library pre-established, using " hand " word as keyword, is matched in the dictionary pre-established, exports " hand The candidates word such as machine ", " gesture ", " craft " selects to input with standby user;After user inputs " mobile phone ", input method is further Which using " mobile phone " as keyword, matched in the dictionary pre-established, the candidates such as output " being broken ", " losing ", " at " Word selects to input with standby user.
However, input method in the prior art at least has the following deficiencies: according to the dictionary output candidate word pre-established, And dictionary is according to word frequency or the pervasive context creation of input language and solidifies, and input content is single, and it is defeated to be unable to satisfy user Enter the demand of diversified contents.
Summary of the invention
The present invention provides a kind of data inputting method and mobile terminal, and it is pre- due to being only capable of to solve input method in the prior art The dictionary output candidate word first established, and the dictionary according to word frequency or the pervasive context creation of input language and solidifies, Input content is single, is unable to satisfy the needs of problems that user inputs diversified contents.
In a first aspect, to solve the above-mentioned problems, the embodiment of the invention provides a kind of input sides based on facility information Method is applied to mobile terminal, comprising: by the keyword match in the character string and preset first dictionary of user's input;Pass through Acquisition of information interface corresponding with the keyword of successful match in first dictionary obtains the information in mobile terminal;According to The information of acquisition generates the first input candidate word.
Second aspect, to solve the above-mentioned problems, the embodiment of the invention also provides a kind of mobile terminals, comprising:
First matching module, for user to be inputted character string user input character string and preset first dictionary in Keyword match;
Data obtaining module, for being connect by acquisition of information corresponding with the keyword of successful match in first dictionary Mouthful, obtain the information in mobile terminal;
First candidate generation module, it is candidate that the information for being obtained according to the data obtaining module generates the first input Word.
The embodiment of the present invention, the character string inputted by the character string user for inputting user and preset first dictionary In keyword match;By acquisition of information interface corresponding with the keyword of successful match in first dictionary, obtains and move Information in dynamic terminal;The first input candidate word, which is generated, according to the information of acquisition solves input content compared with prior art It is single, it is unable to satisfy user and inputs the needs of problems of diversified contents, while improving input efficiency.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be in embodiment or description of the prior art Required attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some realities of the invention Example is applied, it for those of ordinary skill in the art, without any creative labor, can also be attached according to these Figure obtains other attached drawings.
Fig. 1 is the flow chart of one data inputting method of the embodiment of the present invention;
Fig. 2 is the flow chart of two data inputting method of the embodiment of the present invention;
Fig. 3 is the flow chart of three data inputting method of the embodiment of the present invention;
Fig. 4 is the flow chart of four data inputting method of the embodiment of the present invention;
Fig. 5 is the structure chart of the mobile terminal of the embodiment of the present invention five;
Fig. 6 is the structure chart of the mobile terminal of the embodiment of the present invention six;
Fig. 7 is the structure chart of the mobile terminal of the embodiment of the present invention seven;
Fig. 8 is the structure chart of the mobile terminal of the embodiment of the present invention eight;
Fig. 9 is the structure chart of the mobile terminal of the embodiment of the present invention nine;
Figure 10 is the structure chart of the mobile terminal of the embodiment of the present invention ten.
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.
Embodiment one:
A kind of data inputting method is present embodiments provided as shown in Figure 1, this method comprises: step 130 is to step 150.
Step 130, by the keyword match in the character string and preset first dictionary of user's input.
Below for using spelling input method to carry out input in Chinese, the specific implementation process that the present invention will be described in detail.
When user is by spelling input method input Pinyin, and after having selected the corresponding candidate word of input Pinyin, sheet is executed The step 130 of embodiment.By taking user's input Pinyin is " dianliang " as an example, Pinyin Input engine can export corresponding candidate Word, such as: electricity is lighted, is weighed in the hand, and after user selects one of candidate word, association of the triggering based on facility information is defeated Enter.
Then, in step 130, by the keyword match in the character string and preset first dictionary of user's input.Its In, it may include a character in the character string of user's input, also may include multiple characters.Preset first dictionary is extremely It less include: the keyword of identification device information, acquisition of information interface corresponding with the keyword.In preset first dictionary In, the keyword of identification device information and acquisition of information interface corresponding with the keyword are carried out pair in the form of key-value pair It answers, i.e. " keyword-acquisition of information interface ", each keyword at least corresponds to an acquisition of information interface, and multiple keywords can be with A corresponding acquisition of information interface.In order to improve the efficiency of input, keyword is usually set and acquisition of information interface corresponds.
When specific matching, the keyword match in the character string and preset first dictionary of user's input can use The mode of exact matching or fuzzy matching, needs to be arranged, which is not limited by the present invention according to input.
Step 140, it by acquisition of information interface corresponding with the keyword of successful match in first dictionary, obtains and moves Information in dynamic terminal.
If it was found that the keyword of successful match obtains movement according to the keyword in first dictionary of successful match Information in terminal, comprising: determine acquisition of information interface corresponding with the keyword;The acquisition of information interface is called to obtain Information in mobile terminal.Firstly, according to the corresponding relationship of " keyword-acquisition of information interface " in preset first dictionary, Determine the corresponding acquisition of information interface of the keyword of successful match in preset first dictionary;Then, determining information is called to obtain Interface is taken, facility information is read.By taking the keyword of successful match is " electricity " as an example, the present invention will be described in detail reads facility information Process.If the corresponding acquisition of information interface of keyword " electricity " is in the first dictionary " reading battery dump energy ", call " reading battery dump energy " function, obtains the remaining capacity data of mobile terminal.
Step 150, the first input candidate word is generated according to the information of acquisition.
The data that acquisition of information interface is read can such as call " reading battery dump energy " to connect directly as candidate word Return to " 46% " when mouth, then it can be by " 46% " directly as candidate word.
In another case, the information in mobile terminal that acquisition of information interface is read is in the form of class, data packet etc. It when return, needs to extract the useful data in data packet or class, and generates the first input candidate word.Alternatively, acquisition of information interface The data format of return is complicated, when being not easy to user's browsing, it is preferable that described to generate the first input candidate according to the information of acquisition Word, comprising: parse the information of acquisition and post-processed, generate the first input candidate word.
Firstly, the data that parsing acquisition of information interface is read, the data read are further segmented, cut etc. Reason;Then, the data of concern are selected, and the data format of the concern is turned into the first input candidate word.With user's input Character string generates the process of the first input candidate word to illustrate the information for parsing and formatting acquisition for " resolution ratio ". First using " resolution ratio " as keyword to be matched, " resolution ratio " is had been set up in preset first dictionary and " is obtained The corresponding relationship of mobile terminal resolution ratio " function therefore, will in step 130 after user selects " resolution ratio " to complete input " resolution ratio " is matched one by one with all keywords in the first dictionary, and with " resolution ratio " word successful match;Then root According to the corresponding relationship of " keyword-acquisition of information interface " in preset first dictionary, i.e., corresponding relationship " moved by resolution ratio- Dynamic terminal resolution ratio " determines that acquisition of information interface is " obtaining mobile terminal resolution ratio " function;Later, " mobile terminal point is obtained Resolution " function reads mobile terminal resolution ratio, and returns to the resolution information of mobile terminal.In general, the resolution ratio of mobile terminal Information returns in the form of classes, and such as CGRect size, i.e., the information of mobile terminal that acquisition of information interface returns is not character string shape Formula then needs the information in the mobile terminal to return to parse, and the data obtained to parsing post-process.It is specific real Shi Shi, carrying out post-processing to the data that parsing obtains includes: extraction critical data, composition the first input candidate word;It will parse To be converted into specific format etc..With size.width=480, for size.height=640, the mobile terminal is parsed Interior information is simultaneously formatted as the first input candidate word " 640 × 480 ".It is solved by the data returned to acquisition of information interface Analysis, post-processing, can further improve user experience.If matching is unsuccessful, no longer recalls information obtains interface.
After generating the first input candidate word, the first input candidate word is exported.It is described first input candidate word be with Word in the associated mobile terminal of word of user's input, carries out selection input convenient for user.
When it is implemented, generating the first input candidate word can be one, it is also possible to multiple, the present invention does not limit this It is fixed.If generation the first input candidate word is multiple, the Sequential output that can be read according to acquisition of information interface can also basis Pre-set Sequential output, which is not limited by the present invention.
The embodiment of the present invention passes through, by the keyword match in the character string and preset first dictionary of user's input; By acquisition of information interface corresponding with the keyword of successful match in first dictionary, the information in mobile terminal is obtained; The first input candidate word is generated according to the information of acquisition, selection input is carried out convenient for user, compared with prior art, solves defeated Enter that content is single, is unable to satisfy user and inputs the needs of problems of diversified contents, while improving input efficiency.
Embodiment two:
Based on embodiment one, in another preferred embodiment of the invention, as shown in Figure 2, which comprises step 100 To step 150.
Step 100, the first dictionary is created, includes: keyword in first dictionary, information corresponding with the keyword Obtain interface.
Install or be arranged first dictionary in advance in mobile terminal.Preset first dictionary includes at least: mark Know the keyword of facility information, acquisition of information interface corresponding with the keyword.The keyword of the identification device information can To include: the keyword for identifying device hardware information, identify one of keyword of equipment storing data or a variety of.In order to mention High input efficiency, pre-select input frequency it is higher or to the biggish facility information of user's meaning as association input object, And the keyword for identifying the facility information is extracted, and such as: resolution ratio, screen size, brand, a little cores, electricity.
Acquisition of information interface corresponding with the keyword can be with are as follows: the included facility information of mobile terminal read interface, The facility information function reading write in advance, the facility information write in advance read any in library, third-party application interface etc. It is one or more.The included facility information of mobile terminal reads interface, such as: battery capacity reads interface, operating system version is read Interface etc. is taken, is also possible to the included facility information of non-OS and reads interface.By taking the equipment of IOS operating system as an example, IOS UIDevice in system provides the details of current ios device, such as name (title), systemVersion (system version This number), Model (device model), batteryLevel (battery capacity) etc. are read by the facility information that these systems carry Interface can obtain relevant facility information.For some data, such as address list, notepad, operating system is not provided certainly The facility information of band reads interface, when establishing preset first dictionary, needs preparatory programming apparatus information to read code, and pre- It sets into the first dictionary, code is read by the facility information when being convenient for association's input and is called.For example, when default The first dictionary in when including keyword " birthday ", it be the connection stored in reading address list that corresponding facility information, which reads code, The birthday data of people, the interface for the reading contact person in address list birthday data that operating system does not carry, then need to compile in advance Program writing code realizes the birthday data read in address list, and will write program code in advance and be solidificated in preset first word In library.
Step 110, the information of detection user input.
Step 120, judge whether the information meets preset condition, it, will be described if the information meets preset condition The character string that information is inputted as user;If the information does not meet preset condition, after being identified to the information The character string that the recognition result arrived is inputted as user.
The preset condition are as follows: input information is candidate word or candidate word.
The character recognition engine in mobile terminal can be called when identifying to the information of user's input, including but unlimited In: one of Pinyin Input engine, stroke input engine, handwriting input engine, radical input engine.
Still by taking Pinyin Input as an example, the information of user's input is detected first.After user inputs " dianliang ", meeting Character string " dianliang " is got, by the input process for judging to be presently in, can determine whether the information of input meets Preset condition.By taking Pinyin Input as an example, if the corresponding candidate word of selection phonetic or candidate word not yet after user's input Pinyin, The information then inputted is phonetic, does not meet preset condition.If user has selected for candidate word or candidate word, it is determined that input Information meets preset condition.It can also determine whether the information meets preset condition according to the coding of the information of input.For example, In spelling input method, if character code is less than 0xFF in the information of input, it is determined that the information of input does not meet preset condition.
If the information does not meet preset condition, call in mobile terminal preset character recognition engine to the information into Row identification, the character string that obtained recognition result is inputted as user.Such as: call Pinyin Input engine pair " dianliang " is identified, the candidate word of phonetic is obtained, such as: electricity is lighted, is weighed in the hand, the candidate word point of all phonetics Character string not as user's input.
If the character meets preset condition, the character string that the character is inputted as user.
Step 130, by the keyword match in the character string and preset first dictionary of user's input.
By the specific embodiment of the keyword match in the character string and preset first dictionary of user's input referring to reality The step 130 in example one is applied, details are not described herein again.
Step 140, it by acquisition of information interface corresponding with the keyword of successful match in first dictionary, obtains and moves Information in dynamic terminal.
The specific embodiment of this step is referring to the step 140 in embodiment one, and details are not described herein again.
Step 150, the first input candidate word is generated according to the information of acquisition.
The specific embodiment of this step is referring to the step 150 in embodiment one, and details are not described herein again.
It in present specification, is limited by length, only to the character of detection input by taking Pinyin Input as an example, and by the word of input The process that symbol is converted into the character string of user's input is described in detail.When it is implemented, the present invention can be applied in pen Draw input, radical input, handwriting input, even voice input etc. in input methods engine.
It is defeated to carry out facility information by combining with input method engine before no selection candidate word for the present embodiment Enter, reduce input step, further improves input efficiency.
Embodiment three:
Based on embodiment one and two, in another preferred embodiment of the invention, as shown in figure 3, the method includes the steps 100 to step 160.
Step 100, the first dictionary is created, includes: keyword in first dictionary, information corresponding with the keyword Obtain interface.
The specific embodiment of the first dictionary is created referring to the step 100 in embodiment two, details are not described herein again.
Step 110, the information of detection user input.
Step 120, judge whether the information meets preset condition, it, will be described if the information meets preset condition The character string that information is inputted as user;If the information does not meet preset condition, after being identified to the information The character string that the recognition result arrived is inputted as user.
The specific embodiment of step 110 and step 120 is referring to the corresponding steps in embodiment two, and details are not described herein again.
Step 130, by the keyword match in the character string and preset first dictionary of user's input.
By the specific embodiment of the keyword match in the character string and preset first dictionary of user's input referring to reality The step 130 in example one is applied, details are not described herein again.
Step 140, it by acquisition of information interface corresponding with the keyword of successful match in first dictionary, obtains and moves Information in dynamic terminal.
The specific embodiment of this step is referring to the step 140 in embodiment one, and details are not described herein again.
Step 150, the first input candidate word is generated according to the information of acquisition.
The specific embodiment of this step is referring to the step 150 in embodiment one, and details are not described herein again.
Step 160, by the first input candidate word of generation and the word inputted according to preset second dictionary to user The second input candidate word that symbol string carries out matching acquisition is arranged and is exported according to preset rules.
Above-mentioned default second dictionary is the word library established according to the word frequency or context relation of input language.It is logical It often, include: the mapping table of keyword and candidate word in the word library.When being matched, with the user detected The character string of input is matched with each keyword in default second dictionary respectively as keyword, if successful match, root The corresponding candidate word of keyword that successful match is searched according to mapping table, the second input as the keyword association are candidate Word.The concrete mode of keyword match can be exact matching or part matching or fuzzy matching etc., need to be arranged according to input, Which is not limited by the present invention.
After the character string for obtaining user's input, it can using the word of input as keyword, respectively with preset the Each keyword in two dictionaries is matched, to search candidate word corresponding with the keyword.Then, it will find and institute The the first input candidate word for stating dynamic generation in the corresponding candidate word of keyword and step 150 is mixed according to default rule Sequence, then exports, carries out selection input convenient for user.
For example, user inputs after " electricity ", the second input candidate word found from preset second dictionary are as follows: no Foot, display, instruction, assistant etc.;According to the matching of preset first dictionary and the first input candidate word of dynamic generation are as follows: 46%, Then two groups of candidate words are mixed and arranges and exports.If default queueing discipline are as follows: the first input candidate word ranks the first, then the row of mixing Candidate word after column are as follows: 46%, deficiency, display, instruction, assistant etc.;If default queueing discipline are as follows: the first input candidate word comes Centre, the then candidate word after mixing arrangement are as follows: insufficient, display, 46%, instruction, assistant etc..The present invention does not limit queueing discipline Fixed, disclosed default queueing discipline, those skilled in the art are not thinking by creative work according to embodiments of the present invention To other queueing disciplines all should belong to the scope protected of the present invention.
The present embodiment, which passes through, combines fixed default second dictionary and preset first dictionary relevant to facility information, will The candidate word and the candidate of matching and dynamic generation in preset first dictionary that matched and searched obtains in default second dictionary Word mixing output, had not only met the demand that user is rapidly input according to pervasive context or word frequency, but also meet user The demand of rapid input device information increases the washability of candidate word, further improves input efficiency, while improving use Family experience.
Example IV:
Based on embodiment two, in another preferred embodiment of the invention, if the information that user inputs in step 120 is not met Preset condition, then after the step of generating the first input candidate word according to the information of acquisition, the method also includes: step 170 and step 180.
As shown in Figure 4, which comprises step 100 to step 180.
Step 100, the first dictionary is created, includes: keyword in first dictionary, information corresponding with the keyword Obtain interface.
The specific embodiment of the first dictionary is created referring to the step 100 in embodiment two, details are not described herein again.
Step 110, the information of detection user input.
Step 120, judge whether the information meets preset condition, it, will be described if the information meets preset condition The character string that information is inputted as user;If the information does not meet preset condition, after being identified to the information The character string that the recognition result arrived is inputted as user.
The preset condition are as follows: input information is candidate word or candidate word.By taking Pinyin Input as an example, if user's input Pinyin It is later phonetic there are no the corresponding candidate word of selection phonetic or candidate word, the then information inputted, does not meet preset condition.
If the information does not meet preset condition, call in mobile terminal preset character recognition engine to the information into Row identification, the character string that obtained recognition result is inputted as user.Such as: call Pinyin Input engine pair " dianliang " is identified, the candidate word of phonetic is obtained, such as: electricity is lighted, is weighed in the hand, the candidate word point of all phonetics Character string not as user's input.
The specific embodiment of step 110 and step 120 is referring to the corresponding steps in embodiment two, and details are not described herein again.
Step 130, by the keyword match in the character string and preset first dictionary of user's input.
By the specific embodiment of the keyword match in the character string and preset first dictionary of user's input referring to reality The step 130 in example one is applied, details are not described herein again.
Step 140, it by acquisition of information interface corresponding with the keyword of successful match in first dictionary, obtains and moves Information in dynamic terminal.
The specific embodiment of this step is referring to the step 140 in embodiment one, and details are not described herein again.
Step 150, the first input candidate word is generated according to the information of acquisition.
The specific embodiment of this step is referring to the step 150 in embodiment one, and details are not described herein again.
Step 160, by the first input candidate word of generation and the word inputted according to preset second dictionary to user The second input candidate word that symbol string carries out matching acquisition is arranged and is exported according to preset rules.
The specific embodiment of this step is referring to the step 160 in embodiment three, and details are not described herein again.
Step 170, it is candidate that the character string and the first input candidate word for combining user's input generate third input Word.
If judging in step 120, the information of user's input does not meet preset condition, identifies to the information, will be right The character string that the recognition result that the information obtains after being identified is inputted as user.
Then, by the keyword match in the character string (such as: electricity) and preset first dictionary of user's input;Pass through institute Acquisition of information interface corresponding with the keyword of successful match in the first dictionary is stated, the information in mobile terminal is obtained;According to obtaining The information taken generates the first input candidate word (such as: 46%).
In the present embodiment, the character string that further inputs the user and the first input is generated according to the information of acquisition waits It selects word to be combined, generates third input candidate word (such as: electricity 46%).The third input candidate word includes described first defeated Enter candidate word.The character string that user inputs in the present embodiment is the identification knot obtained after being identified according to the information of user's input Fruit.It is obtained in view of the first input candidate word according to the character that user inputs, it is preferable that it is that the user is defeated that third, which inputs candidate word, The character entered is in preceding, candidate word of the first input candidate word in rear composition.
Step 180, it is obtained after the first input candidate word, third being inputted candidate word, identified to the information Recognition result arrange and export according to preset rules.
Finally, the knowledge that the first input candidate word, third input candidate word and obtain after identifying to the information Other result is arranged and is exported according to preset rules.In step 120, by calling character recognition engine pair preset in mobile terminal Detected in step 110 user input information identify, the recognition result of the available information.
Still by taking Pinyin Input as an example, in user's input Pinyin, the information of user's input is detected first.It is inputted in user It after " dianliang ", can get character string " dianliang ", judge that the information of input does not meet default item in step 120 Part then calls preset character recognition engine in mobile terminal to identify the information, using obtained recognition result as The character string of user's input.Such as: it calls Pinyin Input engine to identify " dianliang ", obtains the candidate word of phonetic, Such as: electricity is lighted, is weighed in the hand, the character string that the candidate word of all phonetics is inputted respectively as user.The word inputted with user For symbol is " electricity ", after step 130 to step 150 processing, it can obtain if " 46% " is as the first input candidate word. In this step by user input character " electricity " and according to the user input character obtain the first candidate word " 46% " into Row combination, obtains third input candidate word " electricity 46% ".Finally, according to preset rules output " 46% ", " electricity 46% ", The candidate words such as " electricity ", " lighting " select convenient for user.
The embodiment of the present invention is identified by the information for calling input method engine to input user, it is defeated to obtain user The character entered, then by the keyword match in the character string and preset first dictionary of user's input;Pass through first word Acquisition of information interface corresponding with the keyword of successful match in library obtains the information in mobile terminal;According to the information of acquisition The first input candidate word is generated, and the character for user's input that identification obtains and the first input candidate word are further combined into the Three input candidate words, carry out selection input convenient for user, and compared with prior art, it is single to solve input content, are unable to satisfy User inputs the needs of problems of diversified contents, while improving input efficiency.
Embodiment five:
Correspondingly, the invention also discloses a kind of mobile terminals, as shown in Figure 5, comprising:
First matching module 530, the keyword match in character string and preset first dictionary for inputting user;
Data obtaining module 540, for being obtained by information corresponding with the keyword of successful match in first dictionary Interface is taken, the information in mobile terminal is obtained;
First candidate generation module 550, the information for being obtained according to the data obtaining module 540 generate the first input Candidate word.
When it is implemented, before the keyword match in the character string and preset first dictionary for inputting user, institute It states mobile terminal and needs to be provided with the first dictionary.It include: keyword in first dictionary, information corresponding with the keyword Obtain interface.
When it is implemented, the data obtaining module 540, further comprises:
Submodule is determined, for determining acquisition of information interface corresponding with the keyword;
Reading submodule, the acquisition of information interface for calling the determining submodule to determine obtain the letter in mobile terminal Breath.
The data that acquisition of information interface is read can such as call " reading battery dump energy " to connect directly as candidate word Return to " 46% " when mouth, then it can be by " 46% " directly as candidate word.
In another case, the information in mobile terminal that acquisition of information interface is read is in the form of class, data packet etc. It when return, needs to extract the useful data in data packet or class, and generates the first input candidate word.Alternatively, acquisition of information interface The data format of return is complicated, when being not easy to user's browsing, it is preferable that the described first candidate generation module 550 is further used for It parses the information obtained and is post-processed, generate the first input candidate word.Pass through the number returned to acquisition of information interface According to being parsed, being post-processed, it can further improve user experience.
The embodiment of the present invention passes through, by the keyword match in the character string and preset first dictionary of user's input; By acquisition of information interface corresponding with the keyword of successful match in first dictionary, the information in mobile terminal is obtained; The first input candidate word is generated according to the information of acquisition, selection input is carried out convenient for user, compared with prior art, solves defeated Enter that content is single, is unable to satisfy user and inputs the needs of problems of diversified contents, while improving input efficiency.
Embodiment six:
Based on embodiment five, in another embodiment of the present invention, as shown in fig. 6, the mobile terminal comprises the following modules.
First dictionary establishes module 500, includes: keyword in first dictionary for creating the first dictionary, and described The corresponding acquisition of information interface of keyword.
The keyword of the identification device information may include: identify device hardware information keyword, mark equipment deposit Store up one of keyword of data or a variety of.In order to improve input efficiency, it is higher or anticipate to user to pre-select input frequency Object of the biggish facility information of justice as association's input, and the keyword for identifying the facility information is extracted, such as: resolution ratio, screen Curtain size, brand, a little cores, electricity etc..Acquisition of information interface corresponding with the keyword can be with are as follows: mobile terminal is included to be set Standby information reading interface, the facility information function reading write in advance, the facility information write in advance read library, third-party application Any one or more in interface etc..
Detection module 510, for detecting the information of user's input;
Conversion module 520, whether the information for judging that the detection module obtains meets preset condition, if the detection The information that module 510 obtains meets preset condition, then the character string inputted the information as user;If the detection module 510 information obtained do not meet preset condition, then the recognition result obtained after identifying to the information is defeated as user The character string entered.
The preset condition are as follows: input information is candidate word or candidate word.
The character recognition engine in mobile terminal can be called when identifying to information, including but not limited to: phonetic is defeated Enter one of engine, stroke input engine, handwriting input engine, radical input engine.
If the information does not meet preset condition, call in mobile terminal preset character recognition engine to the information into Row identification, obtains the character string of user's input.Still by taking Pinyin Input as an example, if input information is " dianliang ", phonetic is called Input engine identifies " dianliang ", obtains the candidate word of phonetic, such as: electricity is lighted, is weighed in the hand, all candidates The character string that word is inputted respectively as user.
If the information meets preset condition, the character string that the information is inputted as user.
First matching module 530, the keyword match in character string and preset first dictionary for inputting user.
The specific implementation of first matching module 530 is referring to embodiment five, and details are not described herein again.
Data obtaining module 540, for being obtained by information corresponding with the keyword of successful match in first dictionary Interface is taken, the information in mobile terminal is obtained.
The specific implementation of data obtaining module 540 is referring to embodiment five, and details are not described herein again.
First candidate generation module 550, the information for being obtained according to the data obtaining module 540 generate the first input Candidate word.
The specific implementation of first candidate generation module 550 is referring to embodiment five, and details are not described herein again.
When it is implemented, to can be applied in stroke input, radical input, handwriting input, even voice defeated by the present invention Enter etc. in input methods engine.
It is defeated to carry out facility information by combining with input method engine before no selection candidate word for the present embodiment Enter, reduce input step, further improves input efficiency.
Embodiment seven:
Based on previous embodiment, in another embodiment of the present invention, as shown in fig. 7, the mobile terminal includes with lower die Block.
First dictionary establishes module 500, includes: keyword in first dictionary for creating the first dictionary, and described The corresponding acquisition of information interface of keyword.
The specific implementation of the first dictionary is created referring to embodiment of the method and embodiment six, details are not described herein again.
Detection module 510, for detecting the information of user's input;
Conversion module 520, whether the information for judging that the detection module obtains meets preset condition, if the detection module 510 information obtained meet preset condition, then the character string inputted the information as user;If the detection module 510 The information of acquisition does not meet preset condition, then what the recognition result obtained after identifying to the information was inputted as user Character string.
The specific implementation of detection module 510 and conversion module 520 is referring to the corresponding module in embodiment six, herein not It repeats again.
First matching module 530, the keyword match in character string and preset first dictionary for inputting user.
The specific implementation of first matching module 530 is referring to embodiment five, and details are not described herein again.
Data obtaining module 540, for being obtained by information corresponding with the keyword of successful match in first dictionary Interface is taken, the information in mobile terminal is obtained.
The specific implementation of data obtaining module 540 is referring to embodiment five, and details are not described herein again.
First candidate generation module 550, the information for being obtained according to the data obtaining module 540 generate the first input Candidate word.
The specific implementation of first candidate generation module 550 is referring to embodiment five, and details are not described herein again.
First mixing output module 560, first input for generating the described first candidate generation module 550 are waited It selects word and arranges and export according to preset rules according to the second input candidate word that the matching of preset second dictionary obtains.
Above-mentioned default second dictionary is the word library established according to the word frequency or context relation of input language.It is logical It often, include: the mapping table of keyword and candidate word in the word library.When being matched, with the user detected The character string of input is matched with each keyword in default second dictionary respectively as keyword, if successful match, root The corresponding candidate word of keyword that successful match is searched according to mapping table, the second input as the keyword association are candidate Word.The concrete mode of keyword match can be exact matching or part matching or fuzzy matching etc., need to be arranged according to input, Which is not limited by the present invention.
Obtain user input character string after, it can using user input character string as keyword, respectively with Each keyword in default second dictionary is matched, to search candidate word corresponding with the keyword.Then, it will find Candidate word corresponding with the keyword and the first input candidate word with the first candidate 550 dynamic generation of generation module It according to default rule hybrid-sorting, then exports, carries out selection input convenient for user.
The present embodiment, which passes through, combines fixed default second dictionary and preset first dictionary relevant to facility information, will The candidate word and the candidate of matching and dynamic generation in preset first dictionary that matched and searched obtains in default second dictionary Word mixing output, had not only met the demand that user is rapidly input according to pervasive context or word frequency, but also meet user The demand of rapid input device information increases the washability of candidate word, further improves input efficiency, while improving use Family experience.
Embodiment eight:
Based on previous embodiment, in another embodiment of the present invention, if the information that user inputs in conversion module 520 is not inconsistent Close preset condition, the mobile terminal further include: composite module 570 and the second mixing output module 580.
As shown in figure 8, the mobile terminal comprises the following modules.
First dictionary establishes module 500, includes: keyword in first dictionary for creating the first dictionary, and described The corresponding acquisition of information interface of keyword.
The specific implementation of the first dictionary is created referring to embodiment of the method and embodiment six, details are not described herein again.
Detection module 510, for detecting the information of user's input;
Conversion module 520, whether the information for judging that the detection module obtains meets preset condition, if the detection module 510 information obtained meet preset condition, then the character string inputted the information as user;If the detection module 510 The information of acquisition does not meet preset condition, then what the recognition result obtained after identifying to the information was inputted as user Character string.
The specific implementation of detection module 510 and conversion module 520 is referring to the corresponding module in embodiment six, herein not It repeats again.
First matching module 530, the keyword match in character string and preset first dictionary for inputting user.
The specific implementation of first matching module 530 is referring to embodiment five, and details are not described herein again.
Data obtaining module 540, for being obtained by information corresponding with the keyword of successful match in first dictionary Interface is taken, the information in mobile terminal is obtained.
The specific implementation of data obtaining module 540 is referring to embodiment five, and details are not described herein again.
First candidate generation module 550, the information for being obtained according to the data obtaining module 540 generate the first input Candidate word.
The specific implementation of first candidate generation module 550 is referring to embodiment five, and details are not described herein again.
Composite module 570, character string and the first input candidate word for combining user's input generate third Input candidate word.
In the present embodiment, the character string that further inputs the user and the first input is generated according to the information of acquisition waits It selects word to be combined, generates third and input candidate word.The third input candidate word includes the first input candidate word.This reality Applying the character string that user inputs in example is the recognition result obtained after being identified according to the information of user's input.It is defeated in view of first Entering the character that candidate word is inputted according to user to obtain, it is preferable that third inputs character that candidate word is user input preceding, Candidate word of the first input candidate word in rear composition.
Second mixing output module 580, for by the first input candidate word, third input candidate word and to the letter The recognition result that breath obtains after being identified is arranged and is exported according to preset rules.By calling character preset in mobile terminal Identify that engine identifies the information for user's input that detection module 510 detects, the identification knot of the available information Fruit.
The embodiment of the present invention is identified by the information for calling input method engine to input user, it is defeated to obtain user The character entered, then by the keyword match in the character string and preset first dictionary of user's input;Pass through first word Acquisition of information interface corresponding with the keyword of successful match in library obtains the information in mobile terminal;According to the information of acquisition The first input candidate word is generated, and the character for user's input that identification obtains and the first input candidate word are further combined into the Three input candidate words, carry out selection input convenient for user, and compared with prior art, it is single to solve input content, are unable to satisfy User inputs the needs of problems of diversified contents, while improving input efficiency.
Embodiment nine:
Fig. 9 is the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal 900 shown in Fig. 7 includes: at least One processor 901, memory 902, at least one network interface 904 and user interface 903, bus system 905.Mobile terminal Various components in 900 are coupled by bus system 905.It is understood that bus system 905 for realizing these components it Between connection communication.Bus system 905 further includes power bus, control bus and status signal in addition to including data/address bus Bus.But for the sake of clear explanation, various buses are all designated as bus system 905 in Fig. 9.
Wherein, user interface 903 may include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate, touch screen or Trackpad etc..
It is appreciated that the memory 902 in the embodiment of the present invention can be volatile memory or nonvolatile memory, It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read- OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM (ErasablePROM, EPROM), electrically erasable programmable read-only memory (ElectricallyEPROM, EEPROM) dodge It deposits.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is slow to be used as external high speed It deposits.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory (StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory (SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory (DirectRambusRAM, DRRAM).The memory 902 of system and method described herein be intended to include but be not limited to these and The memory of any other suitable type.
In some embodiments, memory 902 stores following element, executable modules or data structures, or Their subset of person or their superset: operating system 9021 and application program 9022.In the present embodiment, memory 902 It is also used to store preset first dictionary and default second dictionary.
Wherein, operating system 9021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and the hardware based task of processing.Application program 9022 includes various application programs, such as media Player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize embodiment of the present invention side The program of method may be embodied in application program 9022.
In embodiments of the present invention, by the program or instruction of calling memory 902 to store, specifically, can be application The program or instruction stored in program 9022.The behaviour that user uses application program is detected by the touch screen in user interface 903 Make, such as detection user selects the operation of the first candidate word to be entered.Processor 901 be used for character string that user input and Keyword match in preset first dictionary;It is obtained by information corresponding with the keyword of successful match in first dictionary Interface is taken, the information in mobile terminal is obtained;The first input candidate word is generated according to the information of acquisition.
The method part that the embodiments of the present invention disclose can be applied in processor 901, or real by processor 901 It is existing.Processor 901 may be a kind of IC chip, the processing capacity with signal.During realization, the above method Each step can be completed by the integrated logic circuit of the hardware in processor 901 or the instruction of software form.Above-mentioned place Reason device 901 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), dedicated integrated electricity Road (ApplicationSpecific IntegratedCircuit, ASIC), ready-made programmable gate array (FieldProgrammableGateArray, FPGA) either other programmable logic device, discrete gate or transistor logic Device, discrete hardware components.It may be implemented or execute disclosed each method, step and the logical box in the embodiment of the present invention Figure.General processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with the present invention The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and execute completion, or use decoding processor In hardware and software module combination execute completion.Software module can be located at random access memory, and flash memory, read-only memory can In the storage medium of this fields such as program read-only memory or electrically erasable programmable memory, register maturation.The storage Medium is located at memory 902, and processor 901 reads the user in memory 902 to the access times of application program, firmly in conjunction with it Part completes the step of above method.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application SpecificIntegratedCircuits, ASIC), digital signal processor (DigitalSignalProcessing, DSP), Digital signal processing appts (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD), Field programmable gate array (Field-ProgrammableGateArray, FPGA), general processor, controller, microcontroller In device, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, it can be realized herein by executing the module (such as process, function etc.) of function described herein The technology.Software code is storable in memory and is executed by processor.Memory can in the processor or It is realized outside processor.
In one particular embodiment of the present invention, processor 901 is also used to: the first dictionary of creation, first dictionary In include: keyword, acquisition of information interface corresponding with the keyword.
Optionally, when the first input candidate word according to the generation of the information of acquisition, the processor 901 is specifically used for: It parses the information obtained and is post-processed, generate the first input candidate word.
Optionally, the processor 901 is also used to: the information of detection user's input;It is pre- to judge whether the information meets If condition, if the information meets preset condition, the character string that the information is inputted as user;If the information is not inconsistent Close preset condition, the then character string that the recognition result obtained after identifying to the information is inputted as user.
Optionally, the processor 901 is also used to: by the first input candidate word of generation and according to preset second The second input candidate word that dictionary carries out matching acquisition to the character string that user inputs is arranged and is exported according to preset rules.
Keyword in preset first dictionary include: identify device hardware information keyword, mark equipment deposit Store up one of keyword of data or a variety of.
Optionally, the character string and described first that the processor 901 is also used to combine user's input inputs candidate Word generates third and inputs candidate word;By the first input candidate word, third input candidate word and the information is identified The recognition result obtained afterwards is arranged and is exported according to preset rules.
Mobile terminal 900 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here It repeats no more.Through this embodiment, it solves in the prior art that input content is single, is unable to satisfy user and inputs diversified contents Needs of problems, while improving input efficiency.
Embodiment ten:
Figure 10 is the structural schematic diagram of the mobile terminal of another embodiment of the present invention.Specifically, the mobile end in Figure 10 End can be mobile phone, tablet computer, personal digital assistant (PersonalDigital Assistant, PDA) or vehicle-mounted computer Deng.
Mobile terminal in Figure 10 includes radio frequency (RadioFrequency, RF) circuit 1010, memory 1020, input list First 1030, display unit 1040, processor 1060, voicefrequency circuit 1070,1080 He of WiFi (WirelessFidelity) module Power supply 1090.
Wherein, input unit 1030 can be used for receiving the number or character information of user's input, and generate with movement eventually The related signal input of the user setting and function control at end.Specifically, in the embodiment of the present invention, which can To include touch panel 1031.Touch panel 1031, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses the operations of any suitable object or attachment on touch panel 1031 such as finger, stylus), and according to pre- The formula first set drives corresponding attachment device.Optionally, touch panel 1031 may include touch detecting apparatus and touch control Two parts of device processed.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, it will Signal sends touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact Coordinate, then give the processor 1060, and order that processor 1060 is sent can be received and executed.Furthermore, it is possible to using The multiple types such as resistance-type, condenser type, infrared ray and surface acoustic wave realize touch panel 1031.In addition to touch panel 1031, Input unit 1030 can also include other input equipments 1032, other input equipments 1032 can include but is not limited to secondary or physical bond One of disk, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Wherein, display unit 1040 can be used for showing information input by user or be supplied to the information and movement of user The various menu interfaces of terminal 1000.Display unit 1040 may include display panel 1041, optionally, using LCD or can have The forms such as machine light emitting diode (OrganicLight-EmittingDiode, OLED) configure display panel 1041.
It should be noted that touch panel 1031 can cover display panel 1041, touch display screen is formed, when the touch display screen After detecting touch operation on it or nearby, processor 1060 is sent to determine the type of touch event, is followed by subsequent processing Device 1060 provides corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example, Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 1060 is the control centre of mobile terminal 1000, utilizes various interfaces and connection whole mobile phone Various pieces, by running or execute the software program and/or module that are stored in first memory 1021, and call and deposit The data in second memory 1022 are stored up, the various functions and processing data of mobile terminal 1000 are executed, thus eventually to movement End 1000 carries out integral monitoring.Optionally, processor 1060 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 1021 in software program and/or module and/ Or the data in the second memory 1022, processor 1060 be used for character string that user input in preset first dictionary Keyword match;By acquisition of information interface corresponding with the keyword of successful match in first dictionary, movement is obtained Information in terminal;The first input candidate word is generated according to the information of acquisition.
In one particular embodiment of the present invention, processor 1060 is also used to: the first dictionary of creation, first dictionary In include: keyword, acquisition of information interface corresponding with the keyword.
Optionally, when the first input candidate word according to the generation of the information of acquisition, the processor 1060 is specifically used for: It parses the information obtained and is post-processed, generate the first input candidate word.
Optionally, the processor 1060 is also used to: the information of detection user's input;It is pre- to judge whether the information meets If condition, if the information meets preset condition, the character string that the information is inputted as user;If the information is not inconsistent Close preset condition, the then character string that the recognition result obtained after identifying to the information is inputted as user.
Optionally, the processor 1060 is also used to: by the first input candidate word of generation and according to preset the The second input candidate word that two dictionaries carry out matching acquisition to the character string that user inputs is arranged and is exported according to preset rules.
Optionally, the processor 1060 is also used to: the character string and first input for combining user's input are waited Word is selected to generate third input candidate word;By the first input candidate word, third input candidate word and the information is known The recognition result not obtained afterwards is arranged and is exported according to preset rules.
Keyword in preset first dictionary include: identify device hardware information keyword, mark equipment deposit Store up one of keyword of data or a variety of.
As it can be seen that through this embodiment, solve in the prior art that input content is single, is unable to satisfy user and inputs diversification The needs of problems of content, while improving input efficiency.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the movement of foregoing description The specific work process of terminal, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
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.For mobile terminal reality For applying example, since it is basically similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method Part explanation.

Claims (8)

1. a kind of input method based on facility information is applied to mobile terminal characterized by comprising
By the keyword match in the character string and preset first dictionary of user's input;
By acquisition of information interface corresponding with the keyword of successful match in first dictionary, the letter in mobile terminal is obtained Breath;
The first input candidate word is generated according to the information of acquisition;
It is matched by the first input candidate word of generation and according to the character string that preset second dictionary inputs user The the second input candidate word obtained is arranged and is exported according to preset rules;
Wherein, described by acquisition of information interface corresponding with the keyword of successful match in first dictionary, obtain movement Information in terminal, comprising:
According to the corresponding relationship of " keyword-acquisition of information interface " in preset first dictionary, preset first dictionary is determined The corresponding acquisition of information interface of the keyword of middle successful match;
Determining acquisition of information interface is called, facility information is read.
2. the method as described in claim 1, which is characterized in that it is described that first input candidate word is generated according to the information of acquisition, Include:
It parses the information obtained and is post-processed, generate the first input candidate word.
3. the method as described in claim 1, which is characterized in that described by the character string of user's input and preset first word Before the step of keyword match in library, the method also includes:
Detect the information of user's input;
Judge whether the information meets preset condition, if the information meets preset condition, using the information as user The character string of input;If the information does not meet preset condition, the recognition result that is obtained after being identified to the information Character string as user's input.
4. method as claimed in claim 3, which is characterized in that described according to acquisition if the information does not meet preset condition Information generate first input candidate word the step of after, further includes:
The character string and the first input candidate word for combining user's input generate third input candidate word;
By the first input candidate word, third input candidate word and the recognition result that obtains after being identified to the information by It arranges and exports according to preset rules.
5. a kind of mobile terminal characterized by comprising
First matching module, the keyword match in character string and preset first dictionary for inputting user;
Data obtaining module, for by acquisition of information interface corresponding with the keyword of successful match in first dictionary, Obtain the information in mobile terminal;
First candidate generation module, the information for being obtained according to the data obtaining module generate the first input candidate word;
First mixing output module, the first input candidate word for generating the described first candidate generation module and according to The second input candidate word that preset second dictionary carries out matching acquisition to the character string that user inputs is arranged according to preset rules And it exports;
Wherein, described by acquisition of information interface corresponding with the keyword of successful match in first dictionary, obtain movement Information in terminal, comprising:
According to the corresponding relationship of " keyword-acquisition of information interface " in preset first dictionary, preset first dictionary is determined The corresponding acquisition of information interface of the keyword of middle successful match;
Determining acquisition of information interface is called, facility information is read.
6. mobile terminal as claimed in claim 5, which is characterized in that the described first candidate generation module is further used for solving It analyses the information obtained and is post-processed, generate the first input candidate word.
7. mobile terminal as claimed in claim 5, which is characterized in that further include:
Detection module, for detecting the information of user's input;
Conversion module, whether the information for judging that the detection module obtains meets preset condition, if the detection module obtains The information obtained meets preset condition, then the character string inputted the information as user;If the letter that the detection module obtains Breath does not meet preset condition, then the character string that the recognition result obtained after identifying to the information is inputted as user.
8. mobile terminal as claimed in claim 7, which is characterized in that if the detection module obtain information do not meet it is default Condition, further includes:
Composite module, it is candidate that character string and the first input candidate word for combining user's input generate third input Word;
Second mixing output module, for carrying out the first input candidate word, third input candidate word and to the information The recognition result obtained after identification is arranged and is exported according to preset rules.
CN201610190529.3A 2016-03-29 2016-03-29 A kind of input method and mobile terminal based on facility information Active CN105867649B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610190529.3A CN105867649B (en) 2016-03-29 2016-03-29 A kind of input method and mobile terminal based on facility information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610190529.3A CN105867649B (en) 2016-03-29 2016-03-29 A kind of input method and mobile terminal based on facility information

Publications (2)

Publication Number Publication Date
CN105867649A CN105867649A (en) 2016-08-17
CN105867649B true CN105867649B (en) 2019-03-05

Family

ID=56627621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610190529.3A Active CN105867649B (en) 2016-03-29 2016-03-29 A kind of input method and mobile terminal based on facility information

Country Status (1)

Country Link
CN (1) CN105867649B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110286775A (en) * 2018-03-19 2019-09-27 北京搜狗科技发展有限公司 A kind of dictionary management method and device
CN108984701A (en) * 2018-07-06 2018-12-11 郑州云海信息技术有限公司 Data managing method and device in cloud data system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101697098A (en) * 2009-09-29 2010-04-21 深圳华为通信技术有限公司 Method and terminal for inputting character
CN101847159A (en) * 2010-05-11 2010-09-29 中兴通讯股份有限公司 Terminal equipment and method for updating word stock thereof
CN102508903A (en) * 2011-11-09 2012-06-20 中兴通讯股份有限公司 Updating method for word bank of input method, character input method and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107104881B (en) * 2015-05-29 2021-09-14 北京搜狗科技发展有限公司 Information processing method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101697098A (en) * 2009-09-29 2010-04-21 深圳华为通信技术有限公司 Method and terminal for inputting character
CN101847159A (en) * 2010-05-11 2010-09-29 中兴通讯股份有限公司 Terminal equipment and method for updating word stock thereof
CN102508903A (en) * 2011-11-09 2012-06-20 中兴通讯股份有限公司 Updating method for word bank of input method, character input method and terminal

Also Published As

Publication number Publication date
CN105867649A (en) 2016-08-17

Similar Documents

Publication Publication Date Title
US7886233B2 (en) Electronic text input involving word completion functionality for predicting word candidates for partial word inputs
CN106201177B (en) A kind of operation execution method and mobile terminal
US6864809B2 (en) Korean language predictive mechanism for text entry by a user
US9026428B2 (en) Text/character input system, such as for use with touch screens on mobile phones
CN103294363B (en) A kind of searching method and terminal
CN101576783B (en) User interface, equipment and method for hand input
KR101586890B1 (en) Input processing method and apparatus
EP3065083A1 (en) Method and apparatus for on-top writing
WO2014114133A1 (en) Input method and apparatus of circular touch keyboard
CN101876878A (en) Word prediction input system and method
NZ566172A (en) Improved process and apparatus for selecting an item from a database
CN101281449B (en) Hand-written character recognizing method and system
CN103235697A (en) Handwriting inputting method and device
CN104133815A (en) Input and search method and system
CN107329687B (en) A kind of display methods and mobile terminal of virtual input keyboard
CN105867649B (en) A kind of input method and mobile terminal based on facility information
CN106921562B (en) A kind of annotation method, server and the mobile terminal of the communication information
CN102937858B (en) The method of text event detection and electronic equipment
CN106970899B (en) Text processing method and device
CN106095128A (en) The character input method of a kind of mobile terminal and mobile terminal
CN106168880B (en) A kind of method and terminal of input control
CN105872267A (en) Short message management method and mobile terminal
CN107515681B (en) A kind of character input method, mobile terminal and computer readable storage medium
CN106570061A (en) Webpage tag management method and mobile terminal
US20110093497A1 (en) Method and System for Data Input

Legal Events

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