CN104808808A - Information processing method and electronic device - Google Patents

Information processing method and electronic device Download PDF

Info

Publication number
CN104808808A
CN104808808A CN201510127510.XA CN201510127510A CN104808808A CN 104808808 A CN104808808 A CN 104808808A CN 201510127510 A CN201510127510 A CN 201510127510A CN 104808808 A CN104808808 A CN 104808808A
Authority
CN
China
Prior art keywords
application
input
dictionary
word
candidate word
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
Application number
CN201510127510.XA
Other languages
Chinese (zh)
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510127510.XA priority Critical patent/CN104808808A/en
Publication of CN104808808A publication Critical patent/CN104808808A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides an information processing method and an electronic device. The method comprises the steps of reading input properties of first application after determining the first application so as to determine a first word bank corresponding to the input property of the first application; preferably selecting at least one matched candidate word corresponding to at least one character from the determined first word bank on the basis of the obtained at least one character inputted into the input application; if at least one matched candidate word is selected, preferably displaying the at least one candidate word, wherein the candidate word is obtained by matching from the first word bank corresponding to the input property of the first application, and the candidate word in the first word bank can be the word which is commonly used by the corresponding first application, so that the possibility that the candidate word preferably matched and displayed from the first word bank is the word expected by a user to input in the first application is large, and therefore, the user does not need to repeatedly operate a selection control on an input device of the electronic device to search the candidate word, and as a result, the input efficiency can be increased.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to technical field of information processing, more specifically, particularly a kind of information processing method and electronic equipment.
Background technology
Along with the development of electronic equipment, increasing application developers is that electronic equipment have developed various input method.The input method that current electronic equipment is installed generates coupling string according to the character of user's input usually, then from dictionary, matches candidate word to be supplied to user according to coupling string.
Such as the character of user's input is " LX ", then the coupling string of its correspondence at least comprises: LiXiao, LXi, LXia, LiX, LiXi, LiXia and LXiao, then selects from dictionary and goes here and there corresponding candidate word and be supplied to user with mating.
But above-mentioned this mode can match multiple candidate word, user needs from multiple candidate word, to select word required for it by the input method on operating electronic equipment, thus reduces input efficiency.
Summary of the invention
In view of this, the invention provides a kind of information processing method and electronic equipment, for improving input efficiency.Technical scheme is as follows:
The invention provides a kind of information processing method, described method comprises:
After calling input application, determine to call the first application of described input application, wherein, described first is applied as and apply different from described input, and can receive and describedly inputs the application of applying character and inputting;
Read the input attributes of described first application, determine first dictionary corresponding with the input attributes that described first applies;
Obtain at least one character of input in described input application;
Based at least one character described in input, at least one candidate word that preferentially coupling is corresponding with at least one character described from described first dictionary determined;
If there is at least one candidate word of coupling in described first dictionary, preferential display at least one candidate word described.
Preferably, reading the input attributes of described first application, before determining the first dictionary corresponding with the input attributes that described first applies, described method also comprises: determining first application of calling described input application, and after obtaining the first character of input in described input application, the described input attributes of described first application is set.
Preferably, described method also comprises: the apply property parameter obtaining described first application, when installing described first application based on the application type indicated by described apply property parameter, arranges the input attributes of described first application;
Or
Described method also comprises: for described first application arranges described input attributes in described input application.
Preferably, described method also comprises: the apply property parameter reading described first application, and described apply property parameter is used to indicate the application type of described first application;
Based on described apply property parameter, be the first dictionary described in described first association in described input application.
Preferably, described method also comprises: according to the first selection operation of operating body in input application, determine described first application of described first dictionary to be associated;
The basic word in described input application is shown in viewing area;
According to described operating body second selects operation, obtains the described second operating position selecting to operate in described viewing area;
Based on described operating position, determine the described basic word that described operating body is chosen when execution second selection operation;
The described basic word determined is added in a dictionary, to obtain described first dictionary of described first association.
The present invention also provides a kind of electronic equipment, and described electronic equipment comprises:
First determining unit, for after calling input application, determines to call the first application of described input application, and wherein, described first is applied as and apply different from described input, and can receive and describedly inputs the application of applying character and inputting;
Second determining unit, for reading the input attributes of described first application, determines first dictionary corresponding with the input attributes that described first applies;
First acquiring unit, for obtaining at least one character of input in described input application;
Matching unit, for based at least one character described in input, preferentially mates at least one candidate word corresponding with at least one character described from described first dictionary determined;
Display unit, if at least one candidate word for there is coupling in described first dictionary, preferential display at least one candidate word described.
Preferably, described electronic equipment also comprises: the first setting unit, for determining first application of calling described input application, and after obtaining the first character of input in described input application, arranges the described input attributes of described first application.
Preferably, described electronic equipment also comprises: second acquisition unit, for obtaining the apply property parameter of described first application;
Second setting unit, for install described first application time based on the application type indicated by described apply property parameter, arrange described first application input attributes;
Or
Described electronic equipment also comprises: the 3rd setting unit, is that described first application arranges described input attributes in applying in described input.
Preferably, described electronic equipment also comprises: reading unit, and for reading the apply property parameter of described first application, described apply property parameter is used to indicate the application type of described first application;
Associative cell, for based on described apply property parameter, is the first dictionary described in described first association in described input application.
Preferably, described electronic equipment also comprises: the 3rd determining unit, for inputting the in application first selection operation according to operating body, determining described first application of described first dictionary to be associated, in viewing area, showing the described basic word inputted in application to trigger described display unit;
3rd acquiring unit, for selecting operation according to second of described operating body, obtains the described second operating position selecting to operate in described viewing area;
4th determining unit, for based on described operating position, determines the described basic word that described operating body is chosen when execution second selection operation;
Adding device, for being added in a dictionary by the described basic word determined, to obtain described first dictionary of described first association.
Compared with prior art, technique scheme tool provided by the invention has the following advantages:
Technique scheme provided by the invention, after determining that calling first of input application applies, reads the input attributes of the first application, with the first dictionary that the input attributes determined with first applies is corresponding.After at least one character obtaining input in input application, based at least one character of input, at least one candidate word that preferentially coupling is corresponding with at least one character from the first dictionary determined.If there is at least one candidate word of coupling in the first dictionary, preferential at least one candidate word of display.
Because candidate word mates in the first dictionary corresponding with the input attributes that first applies to obtain, and when for first association the first dictionary, candidate word in first dictionary can be the word that first application corresponding with it is commonly used, so preferentially to match from the first dictionary and candidate word show is current time user wishes that the possibility of the word inputted in the first application is larger, such user does not then need selection control on the input media of repeatable operation electronic equipment to search candidate word, thus improves input efficiency.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The first process flow diagram of the information processing method that Fig. 1 provides for the embodiment of the present invention;
The second process flow diagram of the information processing method that Fig. 2 provides for the embodiment of the present invention;
The third process flow diagram of the information processing method that Fig. 3 provides for the embodiment of the present invention;
4th kind of process flow diagram of the information processing method that Fig. 4 provides for the embodiment of the present invention;
A kind of schematic diagram of the electronic equipment that Fig. 5 provides for the embodiment of the present invention;
The first structural representation of the electronic equipment that Fig. 6 provides for the embodiment of the present invention;
The second structural representation of the electronic equipment that Fig. 7 provides for the embodiment of the present invention;
The third structural representation of the electronic equipment that Fig. 8 provides for the embodiment of the present invention;
4th kind of structural representation of the electronic equipment that Fig. 9 provides for the embodiment of the present invention;
5th kind of structural representation of the electronic equipment that Figure 10 provides for the embodiment of the present invention.
Embodiment
The embodiment of the present invention is understood better in order to make those skilled in the art, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Refer to Fig. 1, it illustrates the first process flow diagram of the information processing method that the embodiment of the present invention provides, can comprise the following steps:
101: after calling input application, determine to call the first application of input application, wherein, first is applied as and apply different from inputting, and can receive the application inputting and apply character and input.Such as the first application can be chat application, when certain chatting object that operating body is chosen in chat application being detected, represent that chat application starts to call input application, now determine first application of calling input application further, by input application and the first association.
102: the input attributes reading the first application, determine first dictionary corresponding with the input attributes that first applies.Wherein input attributes can as the discriminative attributes of different first application, with based on input attributes for each self-corresponding first dictionary is determined in the different first application.Such as chat application and game application these two first application, the word used is applied in chat application and game can exist difference, first different input attributes is set for these two first application based on this point, the input attributes of such as chat application is A, the input attributes of game application is B, then determines each self-corresponding first dictionary based on the respective input attributes of each first application.
In embodiments of the present invention, for being that each self-corresponding first dictionary is determined in the first different application based on input attributes, information processing method provided by the invention also comprises for each first applies the step pre-setting respective input attributes.
A kind of feasible pattern that wherein input attributes is arranged is: the apply property parameter obtaining the first application, when installation first is applied based on the application type indicated by apply property parameter, arranges the input attributes of the first application.Described apply property parameter is used to indicate the application type of the first application, and it can by when the installation kit of download first application, and the type corresponding by list of application residing for described installation kit determines apply property parameter.
Such as current electronic equipment is all provided with application this application of shop, this application shop comprises the installation kit of each the first application, and be divided in the list of application under corresponding classification according to the application type difference of each first application, each like this list of application then can be corresponding dissimilar, type of play as corresponding in list of application of playing, the corresponding chat tool type of chat list, then can be determined that by this mode classification the apply property parameter of the first application of type of play can be game attributes parameter, the apply property parameter of the first application of corresponding chat tool type can be chat property parameters.
After the type corresponding by list of application residing for installation kit determines that apply property parameter is with the application type indicating the first application, can be that different first application arranges input attributes based on the application type indicated by different apply property parameters when installation first is applied, as aforementioned for game attributes parameter corresponding first application arrange input attributes be A, for chat property parameters corresponding first application arrange input attributes be B.
Certainly different identification can also be adopted in embodiments of the present invention to accord with the apply property parameter representing the first application, the corresponding a kind of application type of each identifier, thus determined the application type indicated by apply property parameter of the first application by the corresponding relation of identifier and application type, to arrange the input attributes of the first application.
The another kind of feasible pattern that input attributes is arranged in embodiments of the present invention is: be that the first application arranges input attributes in input application.This mode can be user is artificially that the first application arranges input attributes in input application, and is the first association first dictionary based on input attributes.Certainly the apply property parameter also can applied based on first in input application determines the application type belonging to each first application, is being then that the first application arranges input attributes based on application type.
103: at least one character obtaining input in input application.
104: based at least one character of input, at least one candidate word that preferentially coupling is corresponding with at least one character from the first dictionary determined.
Wherein so-calledly preferential from the first dictionary determined, mate at least one candidate word corresponding with at least one character refer to and first from the first dictionary determined, mate at least one candidate word corresponding with at least one character, and then at least one candidate word that coupling is corresponding with at least one character from other dictionaries, as from general dictionary, this general dictionary be input application based on basic dictionary, each first be applied in association first dictionary while can also associate this general dictionary.
In embodiments of the present invention, the first dictionary that the input attributes of each first application is corresponding can be obtain after being added up by the word conventional to the first application, therefore the preferential candidate word matched from the first dictionary is that current time user wishes that the possibility of the word of input in the first application is larger, follow-uply can preferentially show the candidate word matched in viewing area, such user does not then need the selection control on the input media of repeatable operation electronic equipment to search to obtain the word that current time user wishes input in the first application to the candidate word in viewing area, thus raising input efficiency.
105: if there is at least one candidate word of coupling in the first dictionary, preferential at least one candidate word of display.Wherein so-called preferential at least one candidate word of display refers to and first show at least one candidate word in viewing area, can be specifically first, second candidate word being presented at successively viewing area ... to n-th, n is total number of candidate word.Then showing the word matched from other dictionaries, as the word matched from above-mentioned general dictionary.
Certainly, when preferential at least one candidate word of display, can also come preferentially to show based on the frequency of utilization of candidate word, be presented at first, second of viewing area according to the height of frequency of utilization successively ... to n-th.Such as candidate word comprises candidate word 1 and candidate word 2, and wherein the frequency of utilization of candidate word 1 is 90%, and the frequency of utilization of candidate word 2 is 80%, then preferential first of candidate word 1 being presented at viewing area, and candidate word 2 is presented at the second of viewing area.
Here it should be noted is that, if when there is not the candidate word of coupling in the first dictionary, then at least one character based on input directly mates in general dictionary.If when the candidate word quantity of the first dictionary coupling is less than candidate word display number, continues after having mated in the first dictionary to mate from general dictionary, show the candidate word of the coupling in two storehouses simultaneously.
As can be seen from said process, the information processing method that the embodiment of the present invention provides, after determining that calling first of input application applies, reads the input attributes of the first application, with the first dictionary that the input attributes determined with first applies is corresponding.After at least one character obtaining input in input application, based at least one character of input, at least one candidate word that preferentially coupling is corresponding with at least one character from the first dictionary determined.If there is at least one candidate word of coupling in the first dictionary, preferential at least one candidate word of display.
Because candidate word mates in the first dictionary corresponding with the input attributes that first applies to obtain, and when for first association the first dictionary, candidate word in first dictionary can be the word that first application corresponding with it is commonly used, so preferentially to match from the first dictionary and candidate word show is current time user wishes that the possibility of the word inputted in the first application is larger, such user does not then need selection control on the input media of repeatable operation electronic equipment to search candidate word, thus improves input efficiency.
Refer to Fig. 2, it illustrates the second process flow diagram of the information processing method that the embodiment of the present invention provides, the basis of process flow diagram shown in Fig. 1 has been set forth a kind of feasible pattern of the input attributes arranging the first application, can comprise the following steps:
101: after calling input application, determine to call the first application of input application, wherein, first is applied as and apply different from inputting, and can receive the application inputting and apply character and input.
106: determining first application of calling input application, and after obtaining the first character of input in input application, the input attributes of the first application is set.Apply from the installation that above-mentioned Fig. 1 sets forth first and input apply in arrange the mode of input attributes different, embodiment illustrated in fig. 2 is when the first application runs and starts there is input in input application, is that the first application arranges input attributes.
Wherein whether run can whether by judging first if being that stack top should be used for determining in the first application if applying, and when first is applied as stack top application, judges that the first application runs; When the first application is not stack top application, judge the first application off-duty.Stack top application is then the first application being positioned at stack top.And in input application, start have input by whether first character can be obtained judge from input application, when obtaining the first character of input from input application, to judge to start there is input in input application; When not obtaining the first character of input from input application, judge not input in input application.
When the first application runs and starts there is input in input application, can be that the first application arranges input attributes based on the application type of the first application.Wherein the application type of the first application is used to indicate the first application and belongs to which kind of application, as game application or chat application etc.The application type of the first application can be determined by list of application residing for the installation kit of the first application.
Such as current electronic equipment is all provided with application this application of shop, this application shop comprises the installation kit of each the first application, and be divided in the list of application under corresponding classification according to the application type difference of each first application, each like this list of application then can corresponding different application type, application type as corresponding in list of application of playing is type of play, application type corresponding to chat list is chat tool type, then can be determined that by this mode classification the application type of the first application be under game list of application can be type of play, the application type of the first application under corresponding chat tool list of application can be chat-type, therefore the application type of the first application then can be determined by list of application residing for installation kit, and then based on first application application type be that the first application arranges input attributes, the input attributes arranged as aforementioned first application corresponding for game attributes parameter is A, the input attributes arranged for the first application that chat property parameters is corresponding is B.
During the installation kit certainly can also applied in installation first in embodiments of the present invention, different identification symbol is adopted to represent the application type of the first application, the corresponding a kind of application type of each identifier, arranges the input attributes of the first application with the application type corresponding based on identifier.
102: the input attributes reading the first application, determine first dictionary corresponding with the input attributes that first applies.
103: at least one character obtaining input in input application.
104: based at least one character of input, at least one candidate word that preferentially coupling is corresponding with at least one character from the first dictionary determined.
105: if there is at least one candidate word of coupling in the first dictionary, preferential at least one candidate word of display.
In addition it is the step of the first association first dictionary that the information processing method that the embodiment of the present invention provides can also comprise, and refer to Fig. 3 and Fig. 4, it is illustrated as the feasible pattern of the first association first dictionary respectively on Fig. 1 basis.Detailed process is as follows:
Refer to Fig. 3, it illustrates the third process flow diagram of the information processing method that the embodiment of the present invention provides, Fig. 1 basis is depicted as the feasible pattern of the first application auto-associating first dictionary, can comprises the following steps:
107: the apply property parameter reading the first application, wherein apply property parameter is used to indicate the application type of the first application.Namely apply property parameter may be used for instruction first application and belongs to which kind of application, and as game application or chat application etc., it can determine apply property parameter by the type that list of application residing for the installation kit of the first application is corresponding.
List of application correspondence of such as playing type of play, the corresponding chat tool type of chat list, by then determining that to this mode classification of list of application the apply property parameter of the first application of type of play can be game attributes parameter, the apply property parameter of the first application of corresponding chat tool type can be chat property parameters, therefore can be determined the apply property parameter of the first application by the type that list of application residing for installation kit is corresponding.
108: based on apply property parameter, be the first association first dictionary in input application.In embodiments of the present invention, can determine the application type of the first application based on apply property parameter, can be difference first association first dictionary of same application type like this in input application.
For can be apply after the word used is added up first to obtain during first association the first dictionary in the past, can be such as apply the word in the past used all to add to first in a dictionary as the first dictionary associated by the first application.Or to apply whole words of in the past using in acquisition first while, also need the frequency of utilization obtaining each word, the word of frequency of utilization within the scope of predeterminated frequency is added in a dictionary as the first dictionary associated by the first application.
Wherein predeterminated frequency is for representing the probability that some words all can be used in multiple first application of same application type by most users, its span can be [100%, 50%], certain predeterminated frequency can also adopt other spans, this embodiment of the present invention is not limited to the span of predeterminated frequency.
101: after calling input application, determine to call the first application of input application, wherein, first is applied as and apply different from inputting, and can receive the application inputting and apply character and input.
102: the input attributes reading the first application, determine first dictionary corresponding with the input attributes that first applies.
103: at least one character obtaining input in input application.
104: based at least one character of input, at least one candidate word that preferentially coupling is corresponding with at least one character from the first dictionary determined.
105: if there is at least one candidate word of coupling in the first dictionary, preferential at least one candidate word of display.
Refer to Fig. 4, it illustrates the third process flow diagram of the information processing method that the embodiment of the present invention provides, Fig. 1 basis is depicted as other feasible patterns of the first application auto-associating first dictionary, can comprises the following steps:
109: according to the first selection operation of operating body in input application, determine the first application of the first dictionary to be associated.In embodiments of the present invention, be the first dictionary that manual association first in input application is applied, the first application that can first in input application, correlation electron equipment be installed.Namely electronic equipment is often installed one first application, then in the first association to input being applied, as shown in Figure 5, in input application, add an application choice option, this application choice option shows all first application that electronic equipment is installed.Perform first in all first application that operating body can be shown at it and select operation, then can be determined the first application of the first dictionary to be associated by the operating position obtaining the first selection operation.
110: in viewing area, show the basic word in input application.Wherein basic word is that input is applied as all first and applies the word provided, being added in a dictionary for can be chosen basic word during first association the first dictionary by operating body to obtain the first dictionary associated by the first application.
Select operation at 111: according to operating body second, obtains the second operating position selecting to operate in viewing area.
112: based on operating position, the basic word that determination operation body is chosen when execution second selection operation.
In embodiments of the present invention, the second operating position selecting to operate in viewing area can be obtained by the induction installation of electronic equipment, and each basic word takies the diverse location of viewing area, therefore can determine itself and which basic word location overlap on the display region based on operating position, then using basic word corresponding for lap position place as operating body basic word of choosing when execution second is selected to operate.
113: the basic word determined is added in a dictionary, to obtain the first dictionary of the first association.
101: after calling input application, determine to call the first application of input application, wherein, first is applied as and apply different from inputting, and can receive the application inputting and apply character and input.
102: the input attributes reading the first application, determine first dictionary corresponding with the input attributes that first applies.
103: at least one character obtaining input in input application.
104: based at least one character of input, at least one candidate word that preferentially coupling is corresponding with at least one character from the first dictionary determined.
105: if there is at least one candidate word of coupling in the first dictionary, preferential at least one candidate word of display.
In this external above-mentioned all mode embodiment, after preferential at least one candidate word of display, the information processing method that the embodiment of the present invention provides can also adjust the first dictionary by detecting user to the operation of candidate word.The information processing method that the such as embodiment of the present invention provides, after preferential at least one candidate word of display, can also comprise following process:
First the candidate word that user chooses from least one candidate word is determined; Secondly upgrade the frequency of utilization of the candidate word chosen, wherein frequency of utilization is used to indicate the access times of selected candidate word; Then based on the frequency of utilization of selected candidate word, the sequence of all words in the first dictionary that the candidate word selected by adjustment is corresponding.
In embodiments of the present invention, when for first association the first dictionary, the frequency of utilization of words all in the first dictionary can be set to original frequency, as 0%.When each word alternatively word and after being chosen by user, the frequency of utilization of selected candidate word is updated to 0.1%, then being adjusted to frequency of utilization is before the word of 0%.
In certain first dictionary, the frequency of utilization of all words also can be determined according to each word access times in the past, when for first association the first dictionary, in the first dictionary, namely the sequence of all words sorts according to the determined frequency of utilization of access times in the past.When each word alternatively word and after being chosen by user, the frequency of utilization of selected candidate word increases by 0.1%, then adjusted to be less than its frequency of utilization other words before.
Further, if when determining that the user-selected word got does not belong to the first dictionary, then selected word is added in the first dictionary, to upgrade the word quantity in the first dictionary.While adding selected word to first dictionary, frequency can also be set using for selected word.
Corresponding with said method embodiment, the embodiment of the present invention also provides a kind of electronic equipment, and its structural representation as shown in Figure 6, can comprise: the first determining unit 11, second determining unit 12, first acquiring unit 13, matching unit 14 and display unit 15.
First determining unit 11, for after calling input application, determines to call the first application of input application, and wherein, first is applied as and apply different from inputting, and can receive the application inputting and apply character and input.Such as the first application can be chat application, when certain chatting object that operating body is chosen in chat application being detected, represent that chat application starts to call input application, now determine first application of calling input application further, by input application and the first association.
Second determining unit 12, for reading the input attributes of the first application, determines first dictionary corresponding with the input attributes that first applies.Wherein input attributes can as the discriminative attributes of different first application, with based on input attributes for each self-corresponding first dictionary is determined in the different first application.Such as chat application and game application these two first application, the word used is applied in chat application and game can exist difference, first different input attributes is set for these two first application based on this point, the input attributes of such as chat application is A, the input attributes of game application is B, then determines each self-corresponding first dictionary based on the respective input attributes of each first application.
First acquiring unit 13, for obtaining at least one character of input in input application.
Matching unit 14, at least one character based on input, at least one candidate word that preferentially coupling is corresponding with at least one character from the first dictionary determined.Wherein so-calledly preferential from the first dictionary determined, mate at least one candidate word corresponding with at least one character refer to and first from the first dictionary determined, mate at least one candidate word corresponding with at least one character, and then at least one candidate word that coupling is corresponding with at least one character from other dictionaries, as from general dictionary, this general dictionary be input application based on basic dictionary, each first be applied in association first dictionary while can also associate this general dictionary.
In embodiments of the present invention, the first dictionary that the input attributes of each first application is corresponding can be obtain after being added up by the word conventional to the first application, therefore the preferential candidate word matched from the first dictionary is that current time user wishes that the possibility of the word of input in the first application is larger, follow-uply can preferentially show the candidate word matched in viewing area, such user does not then need the selection control on the input media of repeatable operation electronic equipment to search to obtain the word that current time user wishes input in the first application to the candidate word in viewing area, thus raising input efficiency.
Display unit 15, if at least one candidate word for there is coupling in the first dictionary, preferential at least one candidate word of display.Wherein so-called preferential at least one candidate word of display refers to and first show at least one candidate word in viewing area, can be specifically first, second candidate word being presented at successively viewing area ... to n-th, n is total number of candidate word.Then showing the word matched from other dictionaries, as the word matched from above-mentioned general dictionary.
Certainly, when preferential at least one candidate word of display, can also come preferentially to show based on the frequency of utilization of candidate word, be presented at first, second of viewing area according to the height of frequency of utilization successively ... to n-th.Such as candidate word comprises candidate word 1 and candidate word 2, and wherein the frequency of utilization of candidate word 1 is 90%, and the frequency of utilization of candidate word 2 is 80%, then preferential first of candidate word 1 being presented at viewing area, and candidate word 2 is presented at the second of viewing area.
Here it should be noted is that, if when there is not the candidate word of coupling in the first dictionary, then at least one character based on input directly mates in general dictionary.If when the candidate word quantity of the first dictionary coupling is less than candidate word display number, continues after having mated in the first dictionary to mate from general dictionary, show the candidate word of the coupling in two storehouses simultaneously.
As can be seen from said process, electronic equipment, after determining that calling first of input application applies, reads the input attributes of the first application, with the first dictionary that the input attributes determined with first applies is corresponding.After at least one character obtaining input in input application, based at least one character of input, at least one candidate word that preferentially coupling is corresponding with at least one character from the first dictionary determined.If there is at least one candidate word of coupling in the first dictionary, preferential at least one candidate word of display.
Because candidate word mates in the first dictionary corresponding with the input attributes that first applies to obtain, and when for first association the first dictionary, candidate word in first dictionary can be the word that first application corresponding with it is commonly used, so preferentially to match from the first dictionary and candidate word show is current time user wishes that the possibility of the word inputted in the first application is larger, such user does not then need selection control on the input media of repeatable operation electronic equipment to search candidate word, thus improves input efficiency.
Refer to Fig. 7, it illustrates the second structural representation of the electronic equipment that the embodiment of the present invention provides, on Fig. 6 basis, can also comprise: the first setting unit 16, for determining first application of calling input application, and after obtaining the first character of input in input application, the input attributes of the first application is set.That is the first setting unit 16 is when determining that the first application runs and starts there is input in input application, is that the first application arranges input attributes.
Wherein whether run can whether by judging first if being that stack top should be used for determining in the first application if applying, and when first is applied as stack top application, judges that the first application runs; When the first application is not stack top application, judge the first application off-duty.Stack top application is then the first application being positioned at stack top.And in input application, start have input by whether first character can be obtained judge from input application, when obtaining the first character of input from input application, to judge to start there is input in input application; When not obtaining the first character of input from input application, judge not input in input application.
When the first application runs and starts there is input in input application, can be that the first application arranges input attributes based on the application type of the first application.Wherein the application type of the first application is used to indicate the first application and belongs to which kind of application, as game application or chat application etc.The application type of the first application can be determined by list of application residing for the installation kit of the first application.
Such as current electronic equipment is all provided with application this application of shop, this application shop comprises the installation kit of each the first application, and be divided in the list of application under corresponding classification according to the application type difference of each first application, each like this list of application then can corresponding different application type, application type as corresponding in list of application of playing is type of play, application type corresponding to chat list is chat tool type, then can be determined that by this mode classification the application type of the first application be under game list of application can be type of play, the application type of the first application under corresponding chat tool list of application can be chat-type, therefore the application type of the first application then can be determined by list of application residing for installation kit, and then based on first application application type be that the first application arranges input attributes, the input attributes arranged as aforementioned first application corresponding for game attributes parameter is A, the input attributes arranged for the first application that chat property parameters is corresponding is B.
During the installation kit certainly can also applied in installation first in embodiments of the present invention, different identification symbol is adopted to represent the application type of the first application, the corresponding a kind of application type of each identifier, arranges the input attributes of the first application with the application type corresponding based on identifier.
Determine first application of calling input application except above-mentioned, and be that the first application arranges outside input attributes after obtaining the first character of input in input application, electronic equipment can also be that the first application arranges input attributes in other cases.Be such as that the first application arranges input attributes when installation first is applied, specifically can be completed by the second acquisition unit 17 in electronic equipment and the second setting unit 18, as shown in Figure 8, wherein second acquisition unit 17, for obtaining the apply property parameter of the first application.Apply property parameter is used to indicate the application type of the first application, and it can by when the installation kit of download first application, and the type corresponding by list of application residing for described installation kit determines apply property parameter.
Such as current electronic equipment is all provided with application this application of shop, this application shop comprises the installation kit of each the first application, and be divided in the list of application under corresponding classification according to the application type difference of each first application, each like this list of application then can be corresponding dissimilar, type of play as corresponding in list of application of playing, the corresponding chat tool type of chat list, then can be determined that by this mode classification the apply property parameter of the first application of type of play can be game attributes parameter, the apply property parameter of the first application of corresponding chat tool type can be chat property parameters.
After the type corresponding by list of application residing for installation kit determines that apply property parameter is with the application type indicating the first application, can be that different first application arranges input attributes based on the application type indicated by different apply property parameters when installation first is applied, as aforementioned for game attributes parameter corresponding first application arrange input attributes be A, for chat property parameters corresponding first application arrange input attributes be B.
Second setting unit 18, for when installation first is applied based on the application type indicated by apply property parameter, the input attributes of the first application is set.
Or by the 3rd setting unit in electronic equipment input application in be that the first application arranges input attributes.This mode can be user is artificially that the first application arranges input attributes in input application, and is the first association first dictionary based on input attributes.Certainly the apply property parameter also can applied based on first in input application determines the application type belonging to each first application, is being then that the first application arranges input attributes based on application type.
Refer to Fig. 9, it illustrates the 4th kind of structural representation of the electronic equipment that the embodiment of the present invention provides, on Fig. 6 basis, can also comprise: reading unit 19 and associative cell 20.
Reading unit 19, for reading the apply property parameter of the first application, apply property parameter is used to indicate the application type of the first application.Namely apply property parameter may be used for instruction first application and belongs to which kind of application, and as game application or chat application etc., it can determine apply property parameter by the type that list of application residing for the installation kit of the first application is corresponding.
List of application correspondence of such as playing type of play, the corresponding chat tool type of chat list, by then determining that to this mode classification of list of application the apply property parameter of the first application of type of play can be game attributes parameter, the apply property parameter of the first application of corresponding chat tool type can be chat property parameters, therefore can be determined the apply property parameter of the first application by the type that list of application residing for installation kit is corresponding.
Associative cell 20, for based on apply property parameter, is the first association first dictionary in input application.In embodiments of the present invention, can determine the application type of the first application based on apply property parameter, can be difference first association first dictionary of same application type like this in input application.
For can be apply after the word used is added up first to obtain during first association the first dictionary in the past, can be such as apply the word in the past used all to add to first in a dictionary as the first dictionary associated by the first application.Or to apply whole words of in the past using in acquisition first while, also need the frequency of utilization obtaining each word, the word of frequency of utilization within the scope of predeterminated frequency is added in a dictionary as the first dictionary associated by the first application.
Wherein predeterminated frequency is for representing the probability that some words all can be used in multiple first application of same application type by most users, its span can be [100%, 50%], certain predeterminated frequency can also adopt other spans, this embodiment of the present invention is not limited to the span of predeterminated frequency.
Refer to Figure 10, it illustrates the 5th kind of structural representation of the electronic equipment that the embodiment of the present invention provides, on Fig. 6 basis, can also comprise: the 3rd determining unit 21, the 3rd acquiring unit 22, the 4th determining unit 23 and adding device 24.
3rd determining unit 21, for inputting the in application first selection operation according to operating body, determining the first application of the first dictionary to be associated, showing to trigger display unit 15 the basic word inputted in application in viewing area.Wherein determine that the first application of the first dictionary to be associated can be by determining the operating position of the first selection operation of operating body in input application as shown in Figure 5.
Above-mentioned basic word is that input is applied as all first and applies the word provided, being added in a dictionary for can be chosen basic word during first association the first dictionary by operating body to obtain the first dictionary associated by the first application.
3rd acquiring unit 22, for selecting operation according to second of operating body, obtains the second operating position selecting to operate in viewing area.
4th determining unit 23, for based on operating position, determination operation body selects in execution second the basic word chosen during operation.
In embodiments of the present invention, the second operating position selecting to operate in viewing area can be obtained by the induction installation of electronic equipment, 3rd acquiring unit 22 and each basic word take the diverse location of viewing area, therefore can determine itself and which basic word location overlap on the display region based on operating position the 4th determining unit 23, then using basic word corresponding for lap position place as operating body basic word of choosing when execution second is selected to operate.
Adding device 24, for being added in a dictionary by the basic word determined, to obtain the first dictionary of the first association.
It should be noted that, each embodiment of this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.For equipment class embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
Above a kind of information processing method provided by the present invention and electronic equipment are described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. an information processing method, is characterized in that, described method comprises:
After calling input application, determine to call the first application of described input application, wherein, described first is applied as and apply different from described input, and can receive and describedly inputs the application of applying character and inputting;
Read the input attributes of described first application, determine first dictionary corresponding with the input attributes that described first applies;
Obtain at least one character of input in described input application;
Based at least one character described in input, at least one candidate word that preferentially coupling is corresponding with at least one character described from described first dictionary determined;
If there is at least one candidate word of coupling in described first dictionary, preferential display at least one candidate word described.
2. method according to claim 1, it is characterized in that, reading the input attributes of described first application, before determining the first dictionary corresponding with the input attributes that described first applies, described method also comprises: determining first application of calling described input application, and after obtaining the first character of input in described input application, the described input attributes of described first application is set.
3. method according to claim 1, it is characterized in that, described method also comprises: the apply property parameter obtaining described first application, when installing described first application based on the application type indicated by described apply property parameter, arranges the input attributes of described first application;
Or
Described method also comprises: for described first application arranges described input attributes in described input application.
4. method according to claim 1, is characterized in that, described method also comprises: the apply property parameter reading described first application, and described apply property parameter is used to indicate the application type of described first application;
Based on described apply property parameter, be the first dictionary described in described first association in described input application.
5. method according to claim 1, is characterized in that, described method also comprises: according to the first selection operation of operating body in input application, determine described first application of described first dictionary to be associated;
The basic word in described input application is shown in viewing area;
According to described operating body second selects operation, obtains the described second operating position selecting to operate in described viewing area;
Based on described operating position, determine the described basic word that described operating body is chosen when execution second selection operation;
The described basic word determined is added in a dictionary, to obtain described first dictionary of described first association.
6. an electronic equipment, is characterized in that, described electronic equipment comprises:
First determining unit, for after calling input application, determines to call the first application of described input application, and wherein, described first is applied as and apply different from described input, and can receive and describedly inputs the application of applying character and inputting;
Second determining unit, for reading the input attributes of described first application, determines first dictionary corresponding with the input attributes that described first applies;
First acquiring unit, for obtaining at least one character of input in described input application;
Matching unit, for based at least one character described in input, preferentially mates at least one candidate word corresponding with at least one character described from described first dictionary determined;
Display unit, if at least one candidate word for there is coupling in described first dictionary, preferential display at least one candidate word described.
7. electronic equipment according to claim 6, it is characterized in that, described electronic equipment also comprises: the first setting unit, for determining first application of calling described input application, and after obtaining the first character of input in described input application, the described input attributes of described first application is set.
8. electronic equipment according to claim 6, is characterized in that, described electronic equipment also comprises: second acquisition unit, for obtaining the apply property parameter of described first application;
Second setting unit, for install described first application time based on the application type indicated by described apply property parameter, arrange described first application input attributes;
Or
Described electronic equipment also comprises: the 3rd setting unit, is that described first application arranges described input attributes in applying in described input.
9. electronic equipment according to claim 6, is characterized in that, described electronic equipment also comprises: reading unit, and for reading the apply property parameter of described first application, described apply property parameter is used to indicate the application type of described first application;
Associative cell, for based on described apply property parameter, is the first dictionary described in described first association in described input application.
10. electronic equipment according to claim 6, it is characterized in that, described electronic equipment also comprises: the 3rd determining unit, for operating according to first selection of operating body in input application, determine described first application of described first dictionary to be associated, in viewing area, show the described basic word inputted in application to trigger described display unit;
3rd acquiring unit, for selecting operation according to second of described operating body, obtains the described second operating position selecting to operate in described viewing area;
4th determining unit, for based on described operating position, determines the described basic word that described operating body is chosen when execution second selection operation;
Adding device, for being added in a dictionary by the described basic word determined, to obtain described first dictionary of described first association.
CN201510127510.XA 2015-03-23 2015-03-23 Information processing method and electronic device Pending CN104808808A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510127510.XA CN104808808A (en) 2015-03-23 2015-03-23 Information processing method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510127510.XA CN104808808A (en) 2015-03-23 2015-03-23 Information processing method and electronic device

Publications (1)

Publication Number Publication Date
CN104808808A true CN104808808A (en) 2015-07-29

Family

ID=53693710

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510127510.XA Pending CN104808808A (en) 2015-03-23 2015-03-23 Information processing method and electronic device

Country Status (1)

Country Link
CN (1) CN104808808A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105487871A (en) * 2015-12-01 2016-04-13 海信集团有限公司 Method and device for running application programs on intelligent terminal
CN106484249A (en) * 2016-10-31 2017-03-08 维沃移动通信有限公司 A kind of input method and mobile terminal
CN106933381A (en) * 2017-03-16 2017-07-07 联想(北京)有限公司 A kind of information processing method and device
WO2020181505A1 (en) * 2019-03-12 2020-09-17 华为技术有限公司 Input method candidate content recommendation method and electronic device
CN112631437A (en) * 2020-12-25 2021-04-09 维沃移动通信有限公司 Information recommendation method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101373468A (en) * 2007-08-20 2009-02-25 北京搜狗科技发展有限公司 Method for loading word stock, method for inputting character and input method system
CN101645093A (en) * 2009-09-02 2010-02-10 腾讯科技(深圳)有限公司 Method of realizing classified lexicon and input method client end
CN102346743A (en) * 2010-08-02 2012-02-08 腾讯科技(深圳)有限公司 Method and device for generating candidate words
CN102375746A (en) * 2010-08-11 2012-03-14 腾讯科技(深圳)有限公司 Method and device for enabling input method to self-adapt to application program
CN102968987A (en) * 2012-11-19 2013-03-13 百度在线网络技术(北京)有限公司 Speech recognition method and system
WO2014101577A1 (en) * 2012-12-31 2014-07-03 百度在线网络技术(北京)有限公司 Method and device used for providing input candidate item corresponding to input character string

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101373468A (en) * 2007-08-20 2009-02-25 北京搜狗科技发展有限公司 Method for loading word stock, method for inputting character and input method system
CN101645093A (en) * 2009-09-02 2010-02-10 腾讯科技(深圳)有限公司 Method of realizing classified lexicon and input method client end
CN102346743A (en) * 2010-08-02 2012-02-08 腾讯科技(深圳)有限公司 Method and device for generating candidate words
CN102375746A (en) * 2010-08-11 2012-03-14 腾讯科技(深圳)有限公司 Method and device for enabling input method to self-adapt to application program
CN102968987A (en) * 2012-11-19 2013-03-13 百度在线网络技术(北京)有限公司 Speech recognition method and system
WO2014101577A1 (en) * 2012-12-31 2014-07-03 百度在线网络技术(北京)有限公司 Method and device used for providing input candidate item corresponding to input character string

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105487871A (en) * 2015-12-01 2016-04-13 海信集团有限公司 Method and device for running application programs on intelligent terminal
CN106484249A (en) * 2016-10-31 2017-03-08 维沃移动通信有限公司 A kind of input method and mobile terminal
CN106933381A (en) * 2017-03-16 2017-07-07 联想(北京)有限公司 A kind of information processing method and device
WO2020181505A1 (en) * 2019-03-12 2020-09-17 华为技术有限公司 Input method candidate content recommendation method and electronic device
CN112631437A (en) * 2020-12-25 2021-04-09 维沃移动通信有限公司 Information recommendation method and device and electronic equipment
WO2022135474A1 (en) * 2020-12-25 2022-06-30 维沃移动通信有限公司 Information recommendation method and apparatus, and electronic device

Similar Documents

Publication Publication Date Title
CN104808808A (en) Information processing method and electronic device
CN103841239A (en) Method and device for verifying authenticity of terminal
CN105975823A (en) Verification method and apparatus used for distinguishing man and machine
CN105101180B (en) Terminal authenticity verification method and device
WO2008019832A1 (en) Improved monte carlo simulation and display of results thereof
CN104657081A (en) Mobile terminal and picture processing method thereof
CN101237662B (en) Method and device for generating automatic test cases of mobile phone
CN105142148A (en) Terminal authenticity verification method and device
CN106326125A (en) Test case generating method
CN105786976A (en) Mobile terminal and application search method thereof
CN105183291A (en) Method and system for extracting information in display interface
CN104572999A (en) Heterogeneous data based detecting method and device for fault data
CN106934679A (en) information matching method and device
CN106096957A (en) The update method of service attribute value and system
CN105893613A (en) Method and device for searching image identification information
US5828829A (en) System test support system and system test support method
CN109214167B (en) Intelligent key safety equipment and key recovery method and storage medium thereof
CN106095820A (en) A kind of method and system of automatic acquisition address
CN112966964A (en) Product matching method, device, equipment and storage medium based on design requirements
CN107077617B (en) Fingerprint extraction method and device
CN110110149A (en) A kind of analysis method and device of SCPI order
CN112433935A (en) Test method, test device, electronic equipment and storage medium
US8245181B2 (en) Printed circuit board layout system and method thereof
US20040093921A1 (en) Metal sheet part bending order and bending die proposing device and proposing method
CN106599637A (en) Method and device for inputting verification code into verification interface

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150729

RJ01 Rejection of invention patent application after publication