CN105117030A - Recommendation method and terminal for associative vocabularies in input method - Google Patents

Recommendation method and terminal for associative vocabularies in input method Download PDF

Info

Publication number
CN105117030A
CN105117030A CN201510468516.3A CN201510468516A CN105117030A CN 105117030 A CN105117030 A CN 105117030A CN 201510468516 A CN201510468516 A CN 201510468516A CN 105117030 A CN105117030 A CN 105117030A
Authority
CN
China
Prior art keywords
input method
application program
search
search key
current application
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
CN201510468516.3A
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.)
TCL Overseas Electronics Huizhou Ltd
Original Assignee
TCL Overseas Electronics Huizhou 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 TCL Overseas Electronics Huizhou Ltd filed Critical TCL Overseas Electronics Huizhou Ltd
Priority to CN201510468516.3A priority Critical patent/CN105117030A/en
Publication of CN105117030A publication Critical patent/CN105117030A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a recommendation method for associative vocabularies in an input method. The method comprises: when the input method is called in a current application program, calling the input method to obtain identifier information of the current application program; according to the identifier information, looking for search information corresponding to the identifier information in a preset position of an operating system of a terminal; and if the search information corresponding to the identifier information is found in the preset position of the operating system of the terminal, when input is performed with the input method in the current application program, raising the recommendation priority of search information related vocabularies in the associative vocabularies provided for a user by the input method. The invention furthermore discloses a recommendation terminal for the associative vocabularies in the input method. According to the recommendation method and apparatus, the recommendation accuracy of the associative vocabularies in the input method is effectively improved and the input efficiency of the user by utilizing the recommended associative vocabularies in the input method is improved.

Description

The recommend method of association glossary and terminal in input method
Technical field
The present invention relates to input method technique field, particularly relate to recommend method and the terminal of association glossary in a kind of input method.
Background technology
Terminal operating system adopts usually various input method carry out assisted user input, utilize input method to depend on the intelligent association function of input method to a great extent to the efficiency improving user's input at present.Existing input method rests on expansion association storeroom, by the vocabulary in expansion association storeroom for user provides more intelligent association vocabulary for the improvement of intelligent association function substantially.
But, expanding association storeroom blindly only can make the selection of user in intelligent association vocabulary more difficult, because although the alternative association glossary that user can select gets more and more, but for user recommends the application program of the priority of alternative association glossary and the current use of user also without any relation in association storeroom, namely in association storeroom for user recommends the priority of alternative association glossary and the current operation of user and demand to there is no direct relation, and in numerous alternative association glossary, finally only have an input word being user and needing to choose, select in the alternative association glossary causing user can only recommend in numerous blindness, therefore, existing input method cannot recommend association glossary accurately for user, cannot improve user utilizes the association glossary in input method to carry out the efficiency inputted.
Summary of the invention
Fundamental purpose of the present invention is the recommend method and the terminal that provide association glossary in a kind of input method, is intended to improve the accuracy rate of recommending association glossary in input method.
For achieving the above object, the recommend method of association glossary in a kind of input method provided by the invention, said method comprising the steps of:
When calling input method in current application program, call the identification information that described input method obtains current application program;
In the predeterminated position of terminal operating system, search the search information corresponding with described identification information according to described identification information, in the predeterminated position of described terminal operating system, be previously stored with the identification information of default application program and corresponding search information;
If find the search information corresponding with described identification information in the predeterminated position of described terminal operating system, when then being inputted by described input method in current application program, described input method is supplied in the association glossary of user and improves with the recommended priority of described search information relative words.
Preferably, described terminal operating system is Android system, described when calling input method in current application program, calls before described input method obtains the step of the identification information of current application program and also comprises:
The the first search key corresponding stored preset by the Bao Mingyu of default application program is in the metadata of Android system; And/or by the inputting interface class name of default application program with preset the second search key corresponding stored in the metadata of Android system.
Preferably, in the predeterminated position of described terminal operating system, the search information corresponding with described identification information is found if described, when then being inputted by described input method in current application program, the step that the recommended priority described input method being supplied to vocabulary relevant to described search information in the association glossary of user improves comprises:
If find first search key corresponding with the bag name of current application program in the metadata of Android system, when then being inputted by described input method in current application program, described input method is supplied in the association glossary of user and improves with the Sort Priority of described first search key relative words;
If find second search key corresponding with the inputting interface class name of current application program in the metadata of Android system, when then being inputted by described input method in the inputting interface of current application program, described input method is supplied in the association glossary of user and improves with the Sort Priority of described second search key relative words.
Preferably, in the predeterminated position of described terminal operating system, the search information corresponding with described identification information is found if described, when then being inputted by described input method in current application program, also comprise after described input method being supplied to the step improved with the recommended priority of described search information relative words in the association glossary of user:
When being inputted by described input method in current application program, the vocabulary relevant to described first search key is presented at the predeterminable area of the display interface of described input method; Or when being inputted by described input method in the inputting interface of current application program, the vocabulary relevant to described second search key is presented at the predeterminable area of the display interface of described input method.
Preferably, in the predeterminated position of described terminal operating system, the search information corresponding with described identification information is found if described, when then being inputted by described input method in current application program, also comprise after described input method being supplied to the step improved with the recommended priority of described search information relative words in the association glossary of user:
If the search word inputted by described input method in current application program is more than the degree of incidence of described search word and described first search key with the degree of incidence of the 3rd search key, or the search word inputted by described input method in the inputting interface of current application program is more than the degree of incidence of described search word and described second search key with the degree of incidence of the 3rd search key, then described first search key or the second search key are replaced with described 3rd search key.
In addition, for achieving the above object, the present invention also provides the terminal of recommending association glossary in a kind of input method, recommends the terminal of association glossary to comprise in described input method:
Acquisition module, during for calling input method in current application program, calls the identification information that described input method obtains current application program;
Search module, for searching the search information corresponding with described identification information according to described identification information in the predeterminated position of terminal operating system, in the predeterminated position of described terminal operating system, be previously stored with the identification information of default application program and corresponding search information;
Recommending module, if for finding the search information corresponding with described identification information in the predeterminated position of described terminal operating system, when then being inputted by described input method in current application program, described input method is supplied in the association glossary of user and improves with the recommended priority of described search information relative words.
Preferably, described terminal operating system is Android system, recommends the terminal of association glossary also to comprise in described input method:
Memory module, for the first search key corresponding stored of being preset by the Bao Mingyu of default application program in the metadata of Android system; And/or by the inputting interface class name of default application program with preset the second search key corresponding stored in the metadata of Android system.
Preferably, described recommending module also for:
If find first search key corresponding with the bag name of current application program in the metadata of Android system, when then being inputted by described input method in current application program, described input method is supplied in the association glossary of user and improves with the Sort Priority of described first search key relative words;
If find second search key corresponding with the inputting interface class name of current application program in the metadata of Android system, when then being inputted by described input method in the inputting interface of current application program, described input method is supplied in the association glossary of user and improves with the Sort Priority of described second search key relative words.
Preferably, the terminal of association glossary is recommended also to comprise in described input method:
Display module, during for being inputted by described input method in current application program, is presented at the predeterminable area of the display interface of described input method by the vocabulary relevant to described first search key; Or when being inputted by described input method in the inputting interface of current application program, the vocabulary relevant to described second search key is presented at the predeterminable area of the display interface of described input method.
Preferably, the terminal of association glossary is recommended also to comprise in described input method:
Replacement module, if more than the degree of incidence of described search word and described first search key with the degree of incidence of the 3rd search key for the search word inputted by described input method in current application program, or the search word inputted by described input method in the inputting interface of current application program is more than the degree of incidence of described search word and described second search key with the degree of incidence of the 3rd search key, then described first search key or the second search key are replaced with described 3rd search key.
The recommend method of association glossary and terminal in a kind of input method that the present invention proposes, utilize described input method to obtain the identification information of current application program, if find in the predeterminated position of described terminal operating system in advance with the search information of described identification information corresponding stored, when then being inputted by described input method in current application program, described input method is supplied in the association glossary of user and improves with the recommended priority of described search information relative words.During owing to calling input method in different application programs, the search information corresponding with it can be obtained according to different application programs, and according to the search information of different application described input method is supplied in the association glossary of user and improves with the recommended priority of described search information relative words, the recommended priority of association glossary in input method is produced with application program associate, can according to the recommended priority of association glossary in the search information characteristics adjustment input method of different application, effectively improve in input method the accuracy rate of recommending association glossary, improve user utilizes the association glossary recommended in input method to carry out the efficiency inputted.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of recommend method first embodiment of association glossary in input method of the present invention;
Fig. 2 is the schematic flow sheet of recommend method second embodiment of association glossary in input method of the present invention;
Fig. 3 is the schematic flow sheet of recommend method the 3rd embodiment of association glossary in input method of the present invention;
Fig. 4 is the schematic flow sheet of recommend method the 4th embodiment of association glossary in input method of the present invention;
Fig. 5 is the high-level schematic functional block diagram of terminal first embodiment of recommending association glossary in input method of the present invention;
Fig. 6 is the high-level schematic functional block diagram of terminal second embodiment of recommending association glossary in input method of the present invention;
Fig. 7 is the high-level schematic functional block diagram of terminal the 3rd embodiment of recommending association glossary in input method of the present invention;
Fig. 8 is the high-level schematic functional block diagram of terminal the 4th embodiment of recommending association glossary in input method of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The invention provides the recommend method of association glossary in a kind of input method.
With reference to the schematic flow sheet that Fig. 1, Fig. 1 are recommend method first embodiment of association glossary in input method of the present invention.
In a first embodiment, in this input method, the recommend method of association glossary comprises:
Step S10, when calling input method in current application program, calls the identification information that described input method obtains current application program;
In the present embodiment, in application program is run, often need to call input method in the application according to the input instruction of user and carry out assisted user input, now, can by the described input method called to obtain the identification information of current application program, wherein, this identification information can be the characteristic information distinguishing different application, as the attribute information such as application name, type.
Step S20, in the predeterminated position of terminal operating system, search the search information corresponding with described identification information according to described identification information, in the predeterminated position of described terminal operating system, be previously stored with the identification information of default application program and corresponding search information;
The search information corresponding with described identification information can be searched according to the identification information of the current application program obtained in the predeterminated position of terminal operating system by the described input method called, the identification information of default application program and corresponding search information is previously stored with in the predeterminated position of described terminal operating system, namely the identification information of different application and the search information of correspondence thereof is previously stored with in the predeterminated position that described terminal operating system can read in input method, wherein, this search information can be the search key preset according to the purposes of different application.User inputs in different application, during search, often relevant to the purposes of different application, as user search in music class application program time, search key often with singer, title of the song is correlated with, and user when searching in news category application program, search key is often relevant to current events, therefore, in the present embodiment, corresponding search key can be preset in advance according to features such as the purposes of different application, and in the predeterminated position of terminal operating system, search the search information corresponding with described identification information by input method according to the identification information of different application, search key corresponding to different application can be obtained by input method.
It should be noted that, in the present embodiment, the identification information of application program can be the characteristic information distinguishing each application program, as the application name of each application program, like this, each application program corresponding is all previously stored with corresponding search information and search key, this identification information also can be the characteristic information that multiple application program with features such as same use has, as multiple music class application program may correspond to identical identification information, like this, multiple application programs that correspondence has features such as same use can be previously stored with corresponding search information and search key, this identification information can also be the characteristic information distinguishing different inputting interface in same application, the feature such as purposes as different inputting interface in same music class application program may be different, singer's search interface can be comprised, song search interface etc., the feature such as different purposes for inputting interface different in same application can prestore corresponding search information and search key, like this, the search information obtained in the predeterminated position of terminal operating system according to described identification information can comprise the search key of different inputting interface in same application, more accurate.
In the present embodiment, terminal operating system can be the operating system that Android, ios etc. can run input method, in this no limit.
Step S30, if find the search information corresponding with described identification information in the predeterminated position of described terminal operating system, when then being inputted by described input method in current application program, described input method is supplied in the association glossary of user and improves with the recommended priority of described search information relative words.
If find the search information corresponding with described identification information by the described input method called in the predeterminated position of described terminal operating system, then illustrate that current application program has preset the search key corresponding with it, when being inputted by described input method in current application program, described input method can be input as according to user the association glossary that user provides a large amount of, after described input method finds search key corresponding to current application program, described input method can be supplied in the association glossary of user and improve with the recommended priority of described search information relative words, as can by as described in input method be supplied in the association glossary of user to as described in the relevant vocabulary of search information be divided into preferential recommendation group or by with as described in the search information vocabulary of being correlated with as described in the input method recommendation be supplied in the association glossary of user sort in advance, at this, in the association glossary being supplied to user, the mode of association glossary is recommended to be not construed as limiting to different input method, in the present embodiment, improve with the recommended priority of described search information relative words by the association glossary that described input method is supplied to user, the association glossary making described input method recommend user is the relevant vocabulary of the search key corresponding to current application program, the association glossary making described input method recommend user meets the current search need of user more, improve user from the association glossary that described input method is recommended, get the probability self needing to input vocabulary, improve in input method the accuracy rate of recommending association glossary.
The present embodiment utilizes described input method to obtain the identification information of current application program, if find in the predeterminated position of described terminal operating system in advance with the search information of described identification information corresponding stored, when then being inputted by described input method in current application program, described input method is supplied in the association glossary of user and improves with the recommended priority of described search information relative words.During owing to calling input method in different application programs, the search information corresponding with it can be obtained according to different application programs, and according to the search information of different application described input method is supplied in the association glossary of user and improves with the recommended priority of described search information relative words, the recommended priority of association glossary in input method is produced with application program associate, can according to the recommended priority of association glossary in the search information characteristics adjustment input method of different application, effectively improve in input method the accuracy rate of recommending association glossary, improve user utilizes the association glossary recommended in input method to carry out the efficiency inputted.
As shown in Figure 2, second embodiment of the invention proposes the recommend method of association glossary in a kind of input method, on the basis of above-mentioned first embodiment, also comprises before above-mentioned steps S10:
Step S40, the first search key corresponding stored preset by the Bao Mingyu of default application program is in the metadata of Android system; And/or by the inputting interface class name of default application program with preset the second search key corresponding stored in the metadata of Android system.
In the present embodiment, described terminal operating system is Android system, and in Android system, each application program has respective bag name, and this bag name comprises the title of development organizations and the title of application usually, identifies different application programs by bag name.The first corresponding search key can be preset according to features such as the purposes of this default application program to needing the default application program of carrying out input method optimization, and the first search key corresponding stored preset by the Bao Mingyu of default application program is in the metadata of Android system, like this, the first search key corresponding to different application can be obtained for input method.
Further, the application program of each tape input frame is all minimum in more than one inputting interface, each inputting interface in same application has the class name of its correspondence, and often have some differences due to the feature such as purposes of inputting interface different in same application, therefore, each inputting interface correspondence can be characterized as according to the purposes etc. of each inputting interface and preset the second search key, and by the inputting interface class name of default application program with the second search key corresponding stored preset in the metadata of Android system.
Wherein, the metadata metadata of Android system carries out storing with the form of key-value pair, comprise key (name) and value (value) two, as the bag of application program being called key, the first search key features such as the purposes according to this application program preset is for value is as a key-value pair preservation.Same, also the inputting interface class of application program can be called key, the second search key preset according to features such as the purposes of each inputting interface is preserved as a key-value pair for value.Like this, the first search key that the Bao Mingyu correspondence that can store default application program in the metadata of Android system is preset, and/or the inputting interface class name of default application program and corresponding the second default search key.
In the present embodiment, above-mentioned steps S30 can also comprise:
If find first search key corresponding with the bag name of current application program in the metadata of Android system, when then being inputted by described input method in current application program, described input method is supplied in the association glossary of user and improves with the Sort Priority of described first search key relative words;
If find second search key corresponding with the inputting interface class name of current application program in the metadata of Android system, when then being inputted by described input method in the inputting interface of current application program, described input method is supplied in the association glossary of user and improves with the Sort Priority of described second search key relative words.
In the present embodiment, when calling input method in current application program, call the identification information that described input method obtains current application program, this identification information both can comprise the bag name of current application program, also can comprise the inputting interface class name of current application program.If find first search key corresponding with the bag name of current application program by the described input method called in the metadata of Android system, then illustrate that current application program has preset the search key corresponding with it, when then being inputted by described input method in current application program, described input method is supplied in the association glossary of user and improves with the Sort Priority of described first search key relative words, being supplied to vocabulary relevant to described first search key in the association glossary of user sorts in advance by described input method in the recommendation that described input method is supplied in the association glossary of user, the association glossary making described input method recommend user is the relevant vocabulary of first search key corresponding to current application program, the association glossary making described input method recommend user meets the search need of user when using current application program more, improve in input method the accuracy rate of recommending association glossary.
Further, if find second search key corresponding with the inputting interface class name of current application program by the described input method called in the metadata of Android system, then illustrate that the inputting interface of current application program has preset the search key corresponding with it, when then being inputted by described input method in the inputting interface of current application program, described input method is supplied in the association glossary of user and improves with the Sort Priority of described second search key relative words, being supplied to vocabulary relevant to described second search key in the association glossary of user sorts in advance by described input method in the recommendation that described input method is supplied in the association glossary of user, the association glossary making described input method recommend user is the relevant vocabulary of second search key corresponding to the inputting interface of current application program, owing to can carry out the sort recommendations of association glossary according to the second search key by the requirements set of different inputting interface in application program, more accurately can carry out the sort recommendations of association glossary at the search need of different inputting interface according to user, further improve in input method the accuracy rate of recommending association glossary.
As shown in Figure 3, third embodiment of the invention proposes the recommend method of association glossary in a kind of input method, on the basis of above-mentioned second embodiment, also comprises after above-mentioned steps S30:
Step S50, when being inputted by described input method in current application program, is presented at the predeterminable area of the display interface of described input method by the vocabulary relevant to described first search key; Or when being inputted by described input method in the inputting interface of current application program, the vocabulary relevant to described second search key is presented at the predeterminable area of the display interface of described input method.
When being inputted by described input method in current application program in the present embodiment, the predeterminable area that also directly the vocabulary relevant to described first search key can be presented at the display interface of described input method as described in the top of input method, when calling described input method in current application program, user directly can select the search word that need input from the vocabulary relevant to described first search key of described input method top display without the need to input, convenient.Same, if set the second search key according to the inputting interface class name correspondence of application program in advance, the predeterminable area that then directly the vocabulary relevant to described second search key can be presented at the display interface of described input method as described in the top of input method, when calling described input method in the inputting interface of current application program, user directly can select the search word that need input from the vocabulary relevant to described second search key of described input method top display without the need to input, convenient.
As shown in Figure 4, fourth embodiment of the invention proposes the recommend method of association glossary in a kind of input method, on the basis of above-mentioned second embodiment, also comprises after above-mentioned steps S30:
Step S60, if the search word inputted by described input method in current application program is more than the degree of incidence of described search word and described first search key with the degree of incidence of the 3rd search key, or the search word inputted by described input method in the inputting interface of current application program is more than the degree of incidence of described search word and described second search key with the degree of incidence of the 3rd search key, then described first search key or the second search key are replaced with described 3rd search key.
In the present embodiment, if in user's input behavior of reality, the search word inputted by described input method in current application program is more than the degree of incidence of described search word and described first search key with the degree of incidence of the 3rd search key, or the search word inputted by described input method in the inputting interface of current application program is more than the degree of incidence of described search word and described second search key with the degree of incidence of the 3rd search key, then illustrate in advance for described first search key of application setting and described second search key that sets for the inputting interface of application program in advance all can not embody the search characteristics of user in the different inputting interfaces of application program or application program accurately, then can carry out accurate coupling learning to described first search key and described second search key, as can by as described in the first search key or the second search key replace with as described in the 3rd search key, to rise to the correlation degree between the association glossary needed for described first search key of application setting and described second search key set for the inputting interface of application program and user, with improve according to described first search key or described second search key in input method for user recommends the accuracy rate of association glossary.
Further, in other embodiments, if do not find first search key corresponding with the bag name of current application program or second search key corresponding with the inputting interface class name of current application program by the described input method called in the metadata of Android system, then illustrate that current application program does not preset the search key corresponding with it, then described input method can obtain the search key of current application program according to the input behavior of user in current application program custom, and the storage mode pressing key-value pair in the metadata of Android system by the identification information of current application program and search key corresponding stored in the database of described input method.Like this, next time this application call described in input method time, if still do not find first search key corresponding with the bag name of current application program or second search key corresponding with the inputting interface class name of current application program in the metadata of Android system, then directly utilize the identification information of the application program of corresponding stored in the database of described input method and search key described input method to be supplied in the association glossary of user to improve with the recommended priority of described search key relative words, thus in raising input method, recommend the accuracy rate of association glossary.
The present invention further provides the terminal of recommending association glossary in a kind of input method.
With reference to the high-level schematic functional block diagram that Fig. 5, Fig. 5 are terminal first embodiment of recommending association glossary in input method of the present invention.
In a first embodiment, the terminal of association glossary is recommended to comprise in this input method:
Acquisition module 01, during for calling input method in current application program, calls the identification information that described input method obtains current application program;
In the present embodiment, in application program is run, often need to call input method in the application according to the input instruction of user and carry out assisted user input, now, can by the described input method called to obtain the identification information of current application program, wherein, this identification information can be the characteristic information distinguishing different application, as the attribute information such as application name, type.
Search module 02, for searching the search information corresponding with described identification information according to described identification information in the predeterminated position of terminal operating system, in the predeterminated position of described terminal operating system, be previously stored with the identification information of default application program and corresponding search information;
The search information corresponding with described identification information can be searched according to the identification information of the current application program obtained in the predeterminated position of terminal operating system by the described input method called, the identification information of default application program and corresponding search information is previously stored with in the predeterminated position of described terminal operating system, namely the identification information of different application and the search information of correspondence thereof is previously stored with in the predeterminated position that described terminal operating system can read in input method, wherein, this search information can be the search key preset according to the purposes of different application.User inputs in different application, during search, often relevant to the purposes of different application, as user search in music class application program time, search key often with singer, title of the song is correlated with, and user when searching in news category application program, search key is often relevant to current events, therefore, in the present embodiment, corresponding search key can be preset in advance according to features such as the purposes of different application, and in the predeterminated position of terminal operating system, search the search information corresponding with described identification information by input method according to the identification information of different application, search key corresponding to different application can be obtained by input method.
It should be noted that, in the present embodiment, the identification information of application program can be the characteristic information distinguishing each application program, as the application name of each application program, like this, each application program corresponding is all previously stored with corresponding search information and search key, this identification information also can be the characteristic information that multiple application program with features such as same use has, as multiple music class application program may correspond to identical identification information, like this, multiple application programs that correspondence has features such as same use can be previously stored with corresponding search information and search key, this identification information can also be the characteristic information distinguishing different inputting interface in same application, the feature such as purposes as different inputting interface in same music class application program may be different, singer's search interface can be comprised, song search interface etc., the feature such as different purposes for inputting interface different in same application can prestore corresponding search information and search key, like this, the search information obtained in the predeterminated position of terminal operating system according to described identification information can comprise the search key of different inputting interface in same application, more accurate.
In the present embodiment, terminal operating system can be the operating system that Android, ios etc. can run input method, in this no limit.
Recommending module 03, if for finding the search information corresponding with described identification information in the predeterminated position of described terminal operating system, when then being inputted by described input method in current application program, described input method is supplied in the association glossary of user and improves with the recommended priority of described search information relative words.
If find the search information corresponding with described identification information by the described input method called in the predeterminated position of described terminal operating system, then illustrate that current application program has preset the search key corresponding with it, when being inputted by described input method in current application program, described input method can be input as according to user the association glossary that user provides a large amount of, after described input method finds search key corresponding to current application program, described input method can be supplied in the association glossary of user and improve with the recommended priority of described search information relative words, as can by as described in input method be supplied in the association glossary of user to as described in the relevant vocabulary of search information be divided into preferential recommendation group or by with as described in the search information vocabulary of being correlated with as described in the input method recommendation be supplied in the association glossary of user sort in advance, at this, in the association glossary being supplied to user, the mode of association glossary is recommended to be not construed as limiting to different input method, in the present embodiment, improve with the recommended priority of described search information relative words by the association glossary that described input method is supplied to user, the association glossary making described input method recommend user is the relevant vocabulary of the search key corresponding to current application program, the association glossary making described input method recommend user meets the current search need of user more, improve user from the association glossary that described input method is recommended, get the probability self needing to input vocabulary, improve in input method the accuracy rate of recommending association glossary.
The present embodiment utilizes described input method to obtain the identification information of current application program, if find in the predeterminated position of described terminal operating system in advance with the search information of described identification information corresponding stored, when then being inputted by described input method in current application program, described input method is supplied in the association glossary of user and improves with the recommended priority of described search information relative words.During owing to calling input method in different application programs, the search information corresponding with it can be obtained according to different application programs, and according to the search information of different application described input method is supplied in the association glossary of user and improves with the recommended priority of described search information relative words, the recommended priority of association glossary in input method is produced with application program associate, can according to the recommended priority of association glossary in the search information characteristics adjustment input method of different application, effectively improve in input method the accuracy rate of recommending association glossary, improve user utilizes the association glossary recommended in input method to carry out the efficiency inputted.
As shown in Figure 6, second embodiment of the invention proposes the terminal of recommending association glossary in a kind of input method, on the basis of above-mentioned first embodiment, also comprises:
Memory module 04, for the first search key corresponding stored of being preset by the Bao Mingyu of default application program in the metadata of Android system; And/or by the inputting interface class name of default application program with preset the second search key corresponding stored in the metadata of Android system.
In the present embodiment, described terminal operating system is Android system, and in Android system, each application program has respective bag name, and this bag name comprises the title of development organizations and the title of application usually, identifies different application programs by bag name.The first corresponding search key can be preset according to features such as the purposes of this default application program to needing the default application program of carrying out input method optimization, and the first search key corresponding stored preset by the Bao Mingyu of default application program is in the metadata of Android system, like this, the first search key corresponding to different application can be obtained for input method.
Further, the application program of each tape input frame is all minimum in more than one inputting interface, each inputting interface in same application has the class name of its correspondence, and often have some differences due to the feature such as purposes of inputting interface different in same application, therefore, each inputting interface correspondence can be characterized as according to the purposes etc. of each inputting interface and preset the second search key, and by the inputting interface class name of default application program with the second search key corresponding stored preset in the metadata of Android system.
Wherein, the metadata metadata of Android system carries out storing with the form of key-value pair, comprise key (name) and value (value) two, as the bag of application program being called key, the first search key features such as the purposes according to this application program preset is for value is as a key-value pair preservation.Same, also the inputting interface class of application program can be called key, the second search key preset according to features such as the purposes of each inputting interface is preserved as a key-value pair for value.Like this, the first search key that the Bao Mingyu correspondence that can store default application program in the metadata of Android system is preset, and/or the inputting interface class name of default application program and corresponding the second default search key.
In the present embodiment, above-mentioned recommending module 03 can also be used for:
If find first search key corresponding with the bag name of current application program in the metadata of Android system, when then being inputted by described input method in current application program, described input method is supplied in the association glossary of user and improves with the Sort Priority of described first search key relative words;
If find second search key corresponding with the inputting interface class name of current application program in the metadata of Android system, when then being inputted by described input method in the inputting interface of current application program, described input method is supplied in the association glossary of user and improves with the Sort Priority of described second search key relative words.
In the present embodiment, when calling input method in current application program, call the identification information that described input method obtains current application program, this identification information both can comprise the bag name of current application program, also can comprise the inputting interface class name of current application program.If find first search key corresponding with the bag name of current application program by the described input method called in the metadata of Android system, then illustrate that current application program has preset the search key corresponding with it, when then being inputted by described input method in current application program, described input method is supplied in the association glossary of user and improves with the Sort Priority of described first search key relative words, being supplied to vocabulary relevant to described first search key in the association glossary of user sorts in advance by described input method in the recommendation that described input method is supplied in the association glossary of user, the association glossary making described input method recommend user is the relevant vocabulary of first search key corresponding to current application program, the association glossary making described input method recommend user meets the search need of user when using current application program more, improve in input method the accuracy rate of recommending association glossary.
Further, if find second search key corresponding with the inputting interface class name of current application program by the described input method called in the metadata of Android system, then illustrate that the inputting interface of current application program has preset the search key corresponding with it, when then being inputted by described input method in the inputting interface of current application program, described input method is supplied in the association glossary of user and improves with the Sort Priority of described second search key relative words, being supplied to vocabulary relevant to described second search key in the association glossary of user sorts in advance by described input method in the recommendation that described input method is supplied in the association glossary of user, the association glossary making described input method recommend user is the relevant vocabulary of second search key corresponding to the inputting interface of current application program, owing to can carry out the sort recommendations of association glossary according to the second search key by the requirements set of different inputting interface in application program, more accurately can carry out the sort recommendations of association glossary at the search need of different inputting interface according to user, further improve in input method the accuracy rate of recommending association glossary.
As shown in Figure 7, third embodiment of the invention proposes the terminal of recommending association glossary in a kind of input method, on the basis of above-mentioned second embodiment, also comprises:
Display module 05, during for being inputted by described input method in current application program, is presented at the predeterminable area of the display interface of described input method by the vocabulary relevant to described first search key; Or when being inputted by described input method in the inputting interface of current application program, the vocabulary relevant to described second search key is presented at the predeterminable area of the display interface of described input method.
When being inputted by described input method in current application program in the present embodiment, the predeterminable area that also directly the vocabulary relevant to described first search key can be presented at the display interface of described input method as described in the top of input method, when calling described input method in current application program, user directly can select the search word that need input from the vocabulary relevant to described first search key of described input method top display without the need to input, convenient.Same, if set the second search key according to the inputting interface class name correspondence of application program in advance, the predeterminable area that then directly the vocabulary relevant to described second search key can be presented at the display interface of described input method as described in the top of input method, when calling described input method in the inputting interface of current application program, user directly can select the search word that need input from the vocabulary relevant to described second search key of described input method top display without the need to input, convenient.
As shown in Figure 8, fourth embodiment of the invention proposes the terminal of recommending association glossary in a kind of input method, on the basis of above-mentioned second embodiment, also comprises:
Replacement module 06, if more than the degree of incidence of described search word and described first search key with the degree of incidence of the 3rd search key for the search word inputted by described input method in current application program, or the search word inputted by described input method in the inputting interface of current application program is more than the degree of incidence of described search word and described second search key with the degree of incidence of the 3rd search key, then described first search key or the second search key are replaced with described 3rd search key.
In the present embodiment, if in user's input behavior of reality, the search word inputted by described input method in current application program is more than the degree of incidence of described search word and described first search key with the degree of incidence of the 3rd search key, or the search word inputted by described input method in the inputting interface of current application program is more than the degree of incidence of described search word and described second search key with the degree of incidence of the 3rd search key, then illustrate in advance for described first search key of application setting and described second search key that sets for the inputting interface of application program in advance all can not embody the search characteristics of user in the different inputting interfaces of application program or application program accurately, then can carry out accurate coupling learning to described first search key and described second search key, as can by as described in the first search key or the second search key replace with as described in the 3rd search key, to rise to the correlation degree between the association glossary needed for described first search key of application setting and described second search key set for the inputting interface of application program and user, with improve according to described first search key or described second search key in input method for user recommends the accuracy rate of association glossary.
Further, in other embodiments, if do not find first search key corresponding with the bag name of current application program or second search key corresponding with the inputting interface class name of current application program by the described input method called in the metadata of Android system, then illustrate that current application program does not preset the search key corresponding with it, then described input method can obtain the search key of current application program according to the input behavior of user in current application program custom, and the storage mode pressing key-value pair in the metadata of Android system by the identification information of current application program and search key corresponding stored in the database of described input method.Like this, next time this application call described in input method time, if still do not find first search key corresponding with the bag name of current application program or second search key corresponding with the inputting interface class name of current application program in the metadata of Android system, then directly utilize the identification information of the application program of corresponding stored in the database of described input method and search key described input method to be supplied in the association glossary of user to improve with the recommended priority of described search key relative words, thus in raising input method, recommend the accuracy rate of association glossary.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better embodiment.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computing machine, server, or the network equipment etc.) perform method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. the recommend method of association glossary in input method, is characterized in that, said method comprising the steps of:
When calling input method in current application program, call the identification information that described input method obtains current application program;
In the predeterminated position of terminal operating system, search the search information corresponding with described identification information according to described identification information, in the predeterminated position of described terminal operating system, be previously stored with the identification information of default application program and corresponding search information;
If find the search information corresponding with described identification information in the predeterminated position of described terminal operating system, when then being inputted by described input method in current application program, described input method is supplied in the association glossary of user and improves with the recommended priority of described search information relative words.
2. the recommend method of association glossary in input method as claimed in claim 1, it is characterized in that, described terminal operating system is Android system, described when calling input method in current application program, calls before described input method obtains the step of the identification information of current application program and also comprises:
The the first search key corresponding stored preset by the Bao Mingyu of default application program is in the metadata of Android system; And/or by the inputting interface class name of default application program with preset the second search key corresponding stored in the metadata of Android system.
3. the recommend method of association glossary in input method as claimed in claim 2, it is characterized in that, in the predeterminated position of described terminal operating system, the search information corresponding with described identification information is found if described, when then being inputted by described input method in current application program, the step that the recommended priority described input method being supplied to vocabulary relevant to described search information in the association glossary of user improves comprises:
If find first search key corresponding with the bag name of current application program in the metadata of Android system, when then being inputted by described input method in current application program, described input method is supplied in the association glossary of user and improves with the Sort Priority of described first search key relative words;
If find second search key corresponding with the inputting interface class name of current application program in the metadata of Android system, when then being inputted by described input method in the inputting interface of current application program, described input method is supplied in the association glossary of user and improves with the Sort Priority of described second search key relative words.
4. the recommend method of association glossary in input method as claimed in claim 3, it is characterized in that, in the predeterminated position of described terminal operating system, the search information corresponding with described identification information is found if described, when then being inputted by described input method in current application program, also comprise after described input method being supplied to the step improved with the recommended priority of described search information relative words in the association glossary of user:
When being inputted by described input method in current application program, the vocabulary relevant to described first search key is presented at the predeterminable area of the display interface of described input method; Or when being inputted by described input method in the inputting interface of current application program, the vocabulary relevant to described second search key is presented at the predeterminable area of the display interface of described input method.
5. the recommend method of association glossary in input method as claimed in claim 3, it is characterized in that, in the predeterminated position of described terminal operating system, the search information corresponding with described identification information is found if described, when then being inputted by described input method in current application program, also comprise after described input method being supplied to the step improved with the recommended priority of described search information relative words in the association glossary of user:
If the search word inputted by described input method in current application program is more than the degree of incidence of described search word and described first search key with the degree of incidence of the 3rd search key, or the search word inputted by described input method in the inputting interface of current application program is more than the degree of incidence of described search word and described second search key with the degree of incidence of the 3rd search key, then described first search key or the second search key are replaced with described 3rd search key.
6. recommend a terminal for association glossary in input method, it is characterized in that, in described input method, recommend the terminal of association glossary to comprise:
Acquisition module, during for calling input method in current application program, calls the identification information that described input method obtains current application program;
Search module, for searching the search information corresponding with described identification information according to described identification information in the predeterminated position of terminal operating system, in the predeterminated position of described terminal operating system, be previously stored with the identification information of default application program and corresponding search information;
Recommending module, if for finding the search information corresponding with described identification information in the predeterminated position of described terminal operating system, when then being inputted by described input method in current application program, described input method is supplied in the association glossary of user and improves with the recommended priority of described search information relative words.
7. recommend the terminal of association glossary in input method as claimed in claim 6, it is characterized in that, described terminal operating system is Android system, also comprises:
Memory module, for the first search key corresponding stored of being preset by the Bao Mingyu of default application program in the metadata of Android system; And/or by the inputting interface class name of default application program with preset the second search key corresponding stored in the metadata of Android system.
8. recommend the terminal of association glossary in input method as claimed in claim 7, it is characterized in that, described recommending module also for:
If find first search key corresponding with the bag name of current application program in the metadata of Android system, when then being inputted by described input method in current application program, described input method is supplied in the association glossary of user and improves with the Sort Priority of described first search key relative words;
If find second search key corresponding with the inputting interface class name of current application program in the metadata of Android system, when then being inputted by described input method in the inputting interface of current application program, described input method is supplied in the association glossary of user and improves with the Sort Priority of described second search key relative words.
9. recommend the terminal of association glossary in input method as claimed in claim 8, it is characterized in that, also comprise:
Display module, during for being inputted by described input method in current application program, is presented at the predeterminable area of the display interface of described input method by the vocabulary relevant to described first search key; Or when being inputted by described input method in the inputting interface of current application program, the vocabulary relevant to described second search key is presented at the predeterminable area of the display interface of described input method.
10. recommend the terminal of association glossary in input method as claimed in claim 8, it is characterized in that, also comprise:
Replacement module, if more than the degree of incidence of described search word and described first search key with the degree of incidence of the 3rd search key for the search word inputted by described input method in current application program, or the search word inputted by described input method in the inputting interface of current application program is more than the degree of incidence of described search word and described second search key with the degree of incidence of the 3rd search key, then described first search key or the second search key are replaced with described 3rd search key.
CN201510468516.3A 2015-07-31 2015-07-31 Recommendation method and terminal for associative vocabularies in input method Pending CN105117030A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510468516.3A CN105117030A (en) 2015-07-31 2015-07-31 Recommendation method and terminal for associative vocabularies in input method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510468516.3A CN105117030A (en) 2015-07-31 2015-07-31 Recommendation method and terminal for associative vocabularies in input method

Publications (1)

Publication Number Publication Date
CN105117030A true CN105117030A (en) 2015-12-02

Family

ID=54665045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510468516.3A Pending CN105117030A (en) 2015-07-31 2015-07-31 Recommendation method and terminal for associative vocabularies in input method

Country Status (1)

Country Link
CN (1) CN105117030A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107894852A (en) * 2017-11-13 2018-04-10 珠海市魅族科技有限公司 A kind of keyboard shift method and electronic equipment
CN109164923A (en) * 2018-08-21 2019-01-08 平安科技(深圳)有限公司 Method, apparatus, computer equipment and the storage medium of input method recommended candidate word
CN109271579A (en) * 2018-11-16 2019-01-25 珠海市魅族科技有限公司 A kind of application recommended method, electronic equipment and storage medium based on input information
WO2019041285A1 (en) * 2017-08-31 2019-03-07 深圳市云中飞网络科技有限公司 Associative word recommendation method, mobile terminal, and computer readable storage medium
WO2019056324A1 (en) * 2017-09-22 2019-03-28 深圳市云中飞网络科技有限公司 Method for suggesting related term, mobile terminal, and computer readable storage medium
US11010551B2 (en) 2016-06-22 2021-05-18 Huawei Technologies Co., Ltd. Method and apparatus for displaying candidate word, and graphical user interface
CN113190741A (en) * 2021-05-08 2021-07-30 维沃移动通信(杭州)有限公司 Searching method, searching device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101706690A (en) * 2009-12-07 2010-05-12 北京搜狗科技发展有限公司 Adaptive input method and adaptive input system
US20110238693A1 (en) * 2010-03-23 2011-09-29 Samsung Electronics Co., Ltd. Apparatus and method for searching in mobile terminal by using ontology database
CN102722483A (en) * 2011-03-29 2012-10-10 百度在线网络技术(北京)有限公司 Method, apparatus and equipment for determining candidate-item sequence of input method
CN102959547A (en) * 2012-05-03 2013-03-06 华为技术有限公司 Word bank adjusting method and equipment
CN103646089A (en) * 2013-12-13 2014-03-19 百度在线网络技术(北京)有限公司 Automatic searching method and device
CN104133855A (en) * 2014-07-11 2014-11-05 中安消技术有限公司 Smart association method and device for input method
CN104375663A (en) * 2014-11-11 2015-02-25 广东欧珀移动通信有限公司 Associating input method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101706690A (en) * 2009-12-07 2010-05-12 北京搜狗科技发展有限公司 Adaptive input method and adaptive input system
US20110238693A1 (en) * 2010-03-23 2011-09-29 Samsung Electronics Co., Ltd. Apparatus and method for searching in mobile terminal by using ontology database
CN102722483A (en) * 2011-03-29 2012-10-10 百度在线网络技术(北京)有限公司 Method, apparatus and equipment for determining candidate-item sequence of input method
CN102959547A (en) * 2012-05-03 2013-03-06 华为技术有限公司 Word bank adjusting method and equipment
CN103646089A (en) * 2013-12-13 2014-03-19 百度在线网络技术(北京)有限公司 Automatic searching method and device
CN104133855A (en) * 2014-07-11 2014-11-05 中安消技术有限公司 Smart association method and device for input method
CN104375663A (en) * 2014-11-11 2015-02-25 广东欧珀移动通信有限公司 Associating input method and device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11010551B2 (en) 2016-06-22 2021-05-18 Huawei Technologies Co., Ltd. Method and apparatus for displaying candidate word, and graphical user interface
US11755835B2 (en) 2016-06-22 2023-09-12 Honor Device Co., Ltd. Method and apparatus for displaying candidate word, and graphical user interface
WO2019041285A1 (en) * 2017-08-31 2019-03-07 深圳市云中飞网络科技有限公司 Associative word recommendation method, mobile terminal, and computer readable storage medium
CN110770716A (en) * 2017-08-31 2020-02-07 深圳市欢太科技有限公司 Association word recommendation method, mobile terminal and computer-readable storage medium
WO2019056324A1 (en) * 2017-09-22 2019-03-28 深圳市云中飞网络科技有限公司 Method for suggesting related term, mobile terminal, and computer readable storage medium
CN110799963A (en) * 2017-09-22 2020-02-14 深圳市欢太科技有限公司 Method for recommending associative words, mobile terminal and computer-readable storage medium
CN107894852A (en) * 2017-11-13 2018-04-10 珠海市魅族科技有限公司 A kind of keyboard shift method and electronic equipment
CN109164923A (en) * 2018-08-21 2019-01-08 平安科技(深圳)有限公司 Method, apparatus, computer equipment and the storage medium of input method recommended candidate word
CN109164923B (en) * 2018-08-21 2022-06-17 平安科技(深圳)有限公司 Method and device for recommending candidate words by input method, computer equipment and storage medium
CN109271579A (en) * 2018-11-16 2019-01-25 珠海市魅族科技有限公司 A kind of application recommended method, electronic equipment and storage medium based on input information
CN113190741A (en) * 2021-05-08 2021-07-30 维沃移动通信(杭州)有限公司 Searching method, searching device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105117030A (en) Recommendation method and terminal for associative vocabularies in input method
CN103077050B (en) A kind of show the method for application information, device and equipment
CN102999586B (en) A kind of method and apparatus of recommendation of websites
CN104317839B (en) The method and apparatus for generating report form template
CN104636349B (en) A kind of index data compression and the method and apparatus of index data search
CN110162516B (en) Data management method and system based on mass data processing
CN103942712A (en) Product similarity based e-commerce recommendation system and method thereof
JP2013531289A (en) Use of model information group in search
CN105224554A (en) Search word is recommended to carry out method, system, server and the intelligent terminal searched for
CN103873318A (en) Website automated testing method and automated testing system
CN111126019B (en) Report generation method and device based on mode customization and electronic equipment
CN108519998B (en) Problem guiding method and device based on knowledge graph
CN107291745B (en) Data index management method and device
CN106021504A (en) Character string fuzzy matching method and apparatus
CN104462429A (en) Method and device for generating database query sentences
CN106126544A (en) The put-on method of a kind of internet content and device
CN104408118A (en) Database establishing method and device
CN107145538B (en) Table data query method, device and system
CN110413645A (en) Data search method, device, terminal and computer readable storage medium
CN102521229A (en) Method and equipment for acquiring application program
CN104915435A (en) Data query method and device
CN103377246A (en) Bookmark processing method and terminal browser
CN109697234B (en) Multi-attribute information query method, device, server and medium for entity
CN104572904A (en) Method and device for determining relevance level between tags
CN110287218A (en) A kind of matched method of tax revenue sorting code number, system and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151202

RJ01 Rejection of invention patent application after publication