CN105224567A - A kind of searching method of key word and device - Google Patents

A kind of searching method of key word and device Download PDF

Info

Publication number
CN105224567A
CN105224567A CN201410298847.2A CN201410298847A CN105224567A CN 105224567 A CN105224567 A CN 105224567A CN 201410298847 A CN201410298847 A CN 201410298847A CN 105224567 A CN105224567 A CN 105224567A
Authority
CN
China
Prior art keywords
result data
priority
data
user
set categories
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.)
Granted
Application number
CN201410298847.2A
Other languages
Chinese (zh)
Other versions
CN105224567B (en
Inventor
赵田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410298847.2A priority Critical patent/CN105224567B/en
Publication of CN105224567A publication Critical patent/CN105224567A/en
Application granted granted Critical
Publication of CN105224567B publication Critical patent/CN105224567B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the present invention discloses a kind of search and device of key word, and wherein method can comprise: when the key word that user inputs being detected, and obtains the pre-set categories mark that the communications identification of the communications identification of user and user is corresponding; Search the multiple result datas with keyword match, and obtain pre-set categories mark corresponding to each result data; Pre-set categories corresponding for the communications identification of the user mark pre-set categories corresponding with each result data is identified and makes comparisons, determined the priority of each result data by comparative result and each result data; Priority according to result data shows result data.Adopt the embodiment of the present invention, can be identified and result data determination priority by the pre-set categories of several result datas of Keywords matching, and then show by according to the priority of each result data, improve the precision of keyword search, the intelligent of keyword search can be improved.

Description

A kind of searching method of key word and device
Technical field
The present invention relates to computer realm, particularly relate to a kind of searching method and device of key word.
Background technology
Keyword search can be carried out based on phonetic, stroke or phonetically similar word in prior art, such as, " zhangxin " can be inputted in the search box at mailbox, then may return results list: Zhang Xin, Zhang Xin, Zhang Xin, Zhang Xin, Zhang Xin etc., user need find " Zhang Xin " from the results list returned; Name can be inputted by search box in enterprise instant communication application, then can search result relevant to this name in address list, if the employee that same enterprise has multidigit to have the same given name and family name, multiple matching result is comprised in the results list then returned, user carries out searching to determine target search result again, add the time delay of search, reduce the precision of keyword search, reduce the intelligent of keyword search.
Summary of the invention
The embodiment of the present invention provides a kind of searching method and device of key word, can solve in prior art needs user to search further to determine target search result again when keyword search returns multiple matching result, thus the precision of keyword search is low, time the technical matters that extends.
First aspect present invention provides a kind of searching method of key word, can comprise:
When the key word that user inputs being detected, obtain the pre-set categories mark that the communications identification of the communications identification of described user and described user is corresponding;
Search the multiple result datas with described keyword match, and obtain pre-set categories mark corresponding to described each result data;
Pre-set categories corresponding for the communications identification of the described user mark pre-set categories corresponding with each described result data is identified and makes comparisons, determined the priority of each described result data by described comparative result and each described result data;
Priority according to described result data shows described result data.
Second aspect present invention provides a kind of searcher of key word, can comprise:
Identifier acquisition module, for when the key word that user inputs being detected, obtains the pre-set categories mark that the communications identification of the communications identification of described user and described user is corresponding;
Data acquisition module, for searching the multiple result datas with described keyword match, and obtains pre-set categories mark corresponding to described each result data;
Priority Determination module, make comparisons for pre-set categories corresponding for the communications identification of the described user mark pre-set categories corresponding with each described result data is identified, determined the priority of each described result data by described comparative result and each described result data;
Display module, shows described result data for the priority according to described result data.
Implement the embodiment of the present invention, there is following beneficial effect:
When the key word that user inputs being detected, the multiple result datas with keyword match can be searched, and obtain pre-set categories mark corresponding to each result data, the comparative result identified by the pre-set categories mark pre-set categories corresponding with each result data that the communications identification of user is corresponding again and each result data determine the priority of each result data, thus can show result data according to the priority of result data, in the embodiment of the present invention, can in conjunction with identifying with the pre-set categories of multiple result datas of keyword match of finding and each result data to determine priority, and then according to priority, result data is shown, thus can preferentially be shown to the result data mated with user, be convenient to user consult, avoiding when keyword search returns multiple matching result needs user to search further to determine that the precision of target search result so that keyword search is low again, the situation of Shi Yanchang, the embodiment of the present invention can improve the precision of keyword search, the intelligent of keyword search can be improved.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, 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.
Fig. 1 is the schematic flow sheet of a kind of keyword search methodology that the embodiment of the present invention provides;
Fig. 2 is the priority determination schematic flow sheet of the result data that the embodiment of the present invention provides;
Fig. 3 is the schematic diagram of the keyword search that the embodiment of the present invention provides;
Fig. 4 is the structural representation of the searcher of a kind of key word that the embodiment of the present invention provides;
Fig. 5 is the structural representation of the Priority Determination module that the embodiment of the present invention provides;
Fig. 6 is the structural representation of the display module that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, 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.
In embodiments of the present invention, a kind of searcher of key word can be: the terminals such as PC, panel computer, smart mobile phone, also can be realized by the client modules in terminal, such as: Mail Clients, instant communication client etc.
Key word in the embodiment of the present invention can be: the Chinese phonetic alphabet, English alphabet or Chinese character etc. also can be other foreign language words, specifically not by the restriction of the embodiment of the present invention.The search plan of the key word that the embodiment of the present invention provides such as, can be applied to: search for name in the address list search for name in mailbox client, applying in individual instant messaging, search in name etc. application scenarios in enterprise instant communication application, specifically not by the restriction of the embodiment of the present invention.Below in conjunction with accompanying drawing 1 ~ accompanying drawing 6, the search method of the key word that the embodiment of the present invention provides and device are described in detail.
Refer to Fig. 1, for embodiments providing a kind of schematic flow sheet of search method of key word, the method can comprise the following steps: S101 ~ S104.
S101, when the key word that user inputs being detected, obtains the pre-set categories mark that the communications identification of the communications identification of user and user is corresponding.
As the optional embodiment of one, when the key word that user inputs being detected, concrete, the key word of user in the input of search input frame can be detected, obtain the pre-set categories mark that the communications identification of the communications identification of user and user is corresponding, in specific implementation, the communications identification of user such as: instant messaging application account number of the mailbox of user mark, user etc., pre-set categories is designated the mark for sorted users or preset keyword of classifying set up in advance.In the embodiment of the present invention, by the incidence relation between the incidence relation of tables of data in advance between user and user or preset keyword.
As the optional embodiment of one, as shown in Figure 3, for the concrete schematic diagram of the keyword search that the embodiment of the present invention provides, be specifically as follows the chart set up in advance in an enterprise instant communication application, company A comprises 31 ~ 37 totally 7 departments, corresponding at least one the employee of each department, wherein, 301 ~ 312 is the user name of employee, 31 ~ 37 is first order pre-set categories mark, 30 is second level pre-set categories mark, and the first order pre-set categories mark of 301 ~ 304 correspondences is 31, and the first order pre-set categories mark of 306 ~ 308 correspondences is 33.
S102, searches the multiple result datas with keyword match, and obtains pre-set categories mark corresponding to each result data.
As the optional embodiment of one, after finding the multiple result datas with keyword match, obtain the pre-set categories mark that each result data is corresponding.In specific implementation, the tables of data set up in advance can be searched, find the pre-set categories mark that each result data is corresponding, such as, as shown in Figure 3, if the key word that user A1 inputs is A3, then finds the result data mated with key word A3 and have 3, obtain the pre-set categories mark that each result data is corresponding respectively: the pre-set categories of 304 correspondences is designated 31, and the pre-set categories that the pre-set categories of 308 correspondences is designated 33,311 correspondences is designated 36.S103, identifies pre-set categories corresponding for the communications identification of the user mark pre-set categories corresponding with each result data and makes comparisons, determined the priority of each result data by comparative result and each result data.
As the optional embodiment of one, pre-set categories corresponding for the communications identification of the user mark pre-set categories corresponding with each result data is identified and makes comparisons, concrete, can judge the communications identification of user corresponding pre-set categories mark whether the pre-set categories corresponding with each result data identifies consistent, if consistent, then this result data and this user belong to same pre-set categories, if inconsistent, then this result data and this user do not belong to same pre-set categories.As the optional embodiment of one, step S103 specifically can comprise: when the pre-set categories mark pre-set categories corresponding with the communications identification of user that result data is corresponding identifies consistent, the priority of this result data can be defined as the first priority.
Further alternative, the embodiment of the present invention can also comprise step:
Obtain the historical data that each result data is corresponding.
In specific implementation, historical data can comprise: the history communication data of the user that the communications identification of each result data is corresponding and user, further, historical data can also comprise: the historical search data of each result data.In specific implementation, the tables of data set up in advance can be searched, find the pre-set categories mark that each result data is corresponding, such as, as shown in Figure 3, if the key word that user A1 inputs is A3, then find the result data mated with key word A3 and have 3, obtain the pre-set categories mark that each result data is corresponding respectively: the pre-set categories of 304 correspondences is designated 31, the pre-set categories of 308 correspondences is designated 33, the pre-set categories of 311 correspondences is designated 36, wherein, 304 and 301 user A1 are in same department, department 31 business relations at the department 33 and 301 user A1 place at 308 places is close, further, the history communication data of user corresponding to each Search Results and user A1 can be got, concrete, the department 31 business contact mail record at the department 33 and 301 user A1 place at 308 places can be got, further, also can to get in the user of whole company all users to the historical search data of each result data or user A1 to the historical search data of each result data.
As the optional embodiment of one, step S103 specifically can comprise:
Obtain the communications identification of each result data;
The communication frequency of user corresponding to the communications identification of each result data and user is calculated by the historical data that each result data is corresponding;
If the communication frequency calculated is greater than default communication frequency value, the priority of result data is defined as the second priority.
In specific implementation, the communication frequency of the user that the communications identification of result data is corresponding and user can be the communication number of times in the predetermined period time, and such as in 24 hours, the number of times of mail contact is 10 times, and the number of times carrying out instant message in 5 days is for 50 times etc.That presets that communication frequency value may correspond to that different application pre-sets can editing value, such as, can be set to 5 times/day or 15 times/7 days, can be set to 10 times/2 days for enterprise's communication applications for mailbox, 20 times/5 days etc.
As the optional embodiment of one, step S103 specifically can comprise:
By the historical search frequency of historical data determination result data corresponding to each result data; If the historical search frequency of result data is greater than preset search frequency values, the priority of result data is defined as the 3rd priority.
In specific implementation, historical search data can carry out the data that user that the pre-set categories belonging to the data of historical search or user comprises searches for this result data, specifically not by the restriction of the embodiment of the present invention for user to this result data.Historical search frequency can be the searching times in Preset Time, such as, searching times in 12 hours is 20 inferior, what preset search frequency may correspond to that different application pre-sets can editing value, such as, 10 times/day can be set to for some result datas, 25 times/1 day can be set to etc. for enterprise's communication applications.
Further alternative, determination first priority that step S103 comprises, determine the second priority, determine that the step of the 3rd priority can perform simultaneously, also can first perform one of them and perform other again, specifically not by the restriction of the embodiment of the present invention.In specific implementation, the priority of result data can comprise at least one in the first priority, the second priority or the 3rd priority.
As the optional embodiment of one, see Fig. 2, be the priority determination schematic flow sheet of the result data that the embodiment of the present invention provides, as shown in the figure, the priority determination flow process of the result data that the embodiment of the present invention provides can comprise step S201 ~ S209.
S201, judge the communications identification of user corresponding pre-set categories mark whether the pre-set categories corresponding with each result data identifies consistent.When judged result is for being, can step S202 be performed, step S203 or step S207 can be performed when judged result is no.
S202, is defined as the first priority by the priority of this result data.
S203, obtains the communications identification of each result data.
S204, is calculated the communication frequency of user corresponding to the communications identification of each result data and user by the historical data that each result data is corresponding.
S205, judges whether the communication frequency calculated is greater than default communication frequency value.When judged result is for being, performing step S206, when judged result is no, terminating.
S206, is defined as the second priority by the priority of result data.
S207, by the historical search frequency of historical data determination result data corresponding to each result data.
S208, whether the historical search frequency of judged result data is greater than preset search frequency values.When judged result is for being, performing step S209, when judged result is no, terminating.
S209, is defined as the 3rd priority by the priority of result data.
Further alternative step S203 ~ S206, step S207 ~ S209 can perform simultaneously, also can first perform wherein one group perform another group again, specifically not by the restriction of the embodiment of the present invention.
In the priority determination flow process of the result data shown in Fig. 2, can first judge the communications identification of user corresponding pre-set categories mark whether the pre-set categories corresponding with each result data identifies consistent, if consistent, the priority of result data is defined as the first priority, if inconsistent, then determine the second priority or the 3rd priority further.Then first judged result data and user whether can belong to same classification, if do not belong to same classification, then by the priority of the further judged result data of historical data.
S104, the priority according to result data shows result data.
As the optional embodiment of one, the priority according to result data shows result data, specifically can comprise:
Comprise in the priority of arbitrary result data: in the first priority, the second priority or the 3rd priority when at least two, the priority of result data is weighted, by the display order of the weighing computation results value determination result data of each result data, shown by the display order of result data; Or
Comprise in the priority of arbitrary result data: time any one of the first priority, the second priority or the 3rd priority, the display order of the result data that the first priority is corresponding is before the display order of result data corresponding to the second priority, the display order of the result data that the second priority is corresponding, before the display order of result data corresponding to the 3rd priority, is shown by the display order of result data.
In specific implementation, comprise in the priority of arbitrary result data: in the first priority, the second priority or the 3rd priority when at least two, the priority of result data is weighted, such as, the priority of result data Data01 comprises: the first priority, the second priority and the 3rd priority, then can be weighted: the rank (-3) * 15% of rank (-2) * 25%+ the 3rd priority of rank (-1) * 60%+ second priority of the first priority; The priority of Data02 comprises: the second priority and the 3rd priority, then can be weighted: the rank (-3) * 25% of rank (-2) * 50%+ the 3rd priority of the second priority.Again by the display order of the weighing computation results value determination result data of each result data, such as, according to the display order of the numerical values recited determination result data of weighted calculation value, thus can show result data according to the display order of result data.As shown in Figure 3, if the priority of 304 comprises the first priority and the second priority, the priority of 308 comprises the second priority and the 3rd priority, the priority of 311 comprises the 3rd priority, the weighing computation results value then obtaining 304 and 308 by weighted calculation is respectively :-1.5 and-1.75, be worth larger, before display order is got over, then the display order of structured data is: 304-308-311.
In specific implementation, comprise in the priority of arbitrary result data: time any one of the first priority, the second priority or the 3rd priority, the display order of the result data that the first priority is corresponding is before the display order of result data corresponding to the second priority, the display order of the result data that the second priority is corresponding, before the display order of result data corresponding to the 3rd priority, is shown by the display order of result data.As shown in Figure 3, the priority of 304 is the first priority, and the priority of 311 is the second priority, and the priority of 308 is the 3rd priority, then the display order of result data is: 304-311-308.
The embodiment of the present invention provides a kind of search method of key word, the multiple result datas with keyword match can be searched, and obtain the historical data of the correspondence of pre-set categories mark corresponding to each result data and each result data, the comparative result identified by the pre-set categories mark pre-set categories corresponding with each result data that the communications identification of user is corresponding again and each result data determine the priority of each result data, thus can show result data according to the priority of result data, in the embodiment of the present invention, can in conjunction with the historical data of identifying with the pre-set categories of multiple result datas of keyword match of finding and each result data to determine priority, and then according to priority, result data is shown, thus can preferentially be shown to the result data mated with user, be convenient to user consult, avoiding when keyword search returns multiple matching result needs user to search further to determine that the precision of target search result so that keyword search is low again, the situation of Shi Yanchang, the embodiment of the present invention can improve the precision of keyword search, the intelligent of keyword search can be improved.
Below in conjunction with accompanying drawing 4 ~ accompanying drawing 6, the indexing unit of the key word that the embodiment of the present invention provides is described in detail.It should be noted that, device shown in accompanying drawing 4 ~ accompanying drawing 6 is arbitrary, for performing the method for the arbitrary illustrated embodiment in Fig. 1 ~ 2 of the present invention, for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and please refer to the embodiment shown in Fig. 1 ~ Fig. 2 of the present invention.
Refer to Fig. 4, for embodiments providing a kind of structural representation of indexing unit of key word.As shown in Figure 4, the indexing unit of the key word of the embodiment of the present invention can comprise: identifier acquisition module 401, data acquisition module 402, Priority Determination module 403 and display module 404.
Identifier acquisition module 401, for when the key word that user inputs being detected, obtains the pre-set categories mark that the communications identification of the communications identification of user and user is corresponding.
As the optional embodiment of one, identifier acquisition module 401 is when the key word that user inputs being detected, concrete, the key word of user in the input of search input frame can be detected, obtain the pre-set categories mark that the communications identification of the communications identification of user and user is corresponding, in specific implementation, the communications identification of user is such as: the mailbox mark of user, instant messaging application account number of user etc., and pre-set categories is designated the mark for sorted users or preset keyword of classifying set up in advance.In the embodiment of the present invention, by the incidence relation between the incidence relation of tables of data in advance between user and user or preset keyword.
As the optional embodiment of one, as shown in Figure 3, be specifically as follows the chart set up in advance in an enterprise instant communication application, company A comprises 31 ~ 37 totally 7 departments, corresponding at least one the employee of each department, wherein, 301 ~ 312 is the user name of employee, and 31 ~ 37 is first order pre-set categories mark, and 30 identify for second level pre-set categories, the first order pre-set categories mark of 301 ~ 304 correspondences is 31, and the first order pre-set categories mark of 306 ~ 308 correspondences is 33.
Data acquisition module 402, for searching the multiple result datas with keyword match, and obtains pre-set categories mark corresponding to each result data.
As the optional embodiment of one, data acquisition module 40 is after finding the multiple result datas with keyword match, obtain in pre-set categories mark specific implementation corresponding to each result data, the tables of data set up in advance can be searched, find the pre-set categories mark that each result data is corresponding, such as, as shown in Figure 3, if the key word that user A1 inputs is A3, then find the result data mated with key word A3 and have 3, obtain the pre-set categories mark that each result data is corresponding respectively: the pre-set categories of 304 correspondences is designated 31, the pre-set categories of 308 correspondences is designated 33, the pre-set categories of 311 correspondences is designated 36.
Priority Determination module 403, making comparisons for pre-set categories corresponding for the communications identification of the user mark pre-set categories corresponding with each result data being identified, being determined the priority of each result data by comparative result and each result data.
As the optional embodiment of one, pre-set categories corresponding for the communications identification of the user mark pre-set categories corresponding with each result data identifies and makes comparisons by Priority Determination module 403, concrete, can judge the communications identification of user corresponding pre-set categories mark whether the pre-set categories corresponding with each result data identifies consistent, if consistent, then this result data and this user belong to same pre-set categories, if inconsistent, then this result data and this user do not belong to same pre-set categories.
Further alternative, data acquisition module 402 can also be used for obtaining historical data corresponding to each result data.
In specific implementation, historical data can comprise: the history communication data of the user that the communications identification of each result data is corresponding and user, further, historical data can also comprise: the historical search data of each result data.In specific implementation, the tables of data set up in advance can be searched, find the pre-set categories mark that each result data is corresponding, such as, as shown in Figure 3, if the key word that user A1 inputs is A3, then find the result data mated with key word A3 and have 3, obtain the pre-set categories mark that each result data is corresponding respectively: the pre-set categories of 304 correspondences is designated 31, the pre-set categories of 308 correspondences is designated 33, the pre-set categories of 311 correspondences is designated 36, wherein, 304 and 301 user A1 are in same department, department 31 business relations at the department 33 and 301 user A1 place at 308 places is close, further, the history communication data of user corresponding to each Search Results and user A1 can be got, concrete, the department 31 business contact mail record at the department 33 and 301 user A1 place at 308 places can be got, further, also can to get in the user of whole company all users to the historical search data of each result data or user A1 to the historical search data of each result data.
As the optional embodiment of one, as shown in Figure 5, be the structural representation of the Priority Determination module that the embodiment of the present invention provides, as shown in the figure, Priority Determination module 403 can comprise: the first determining unit 501.
First determining unit 501, when identifying consistent for the pre-set categories mark pre-set categories corresponding with the communications identification of user corresponding at result data, is defined as the first priority by the priority of this result data.
Further alternative, Priority Determination module 403 can also comprise: mark acquiring unit 502, computing unit 503 and the second determining unit 504.
Mark acquiring unit 502, for obtaining the communications identification of each result data;
Computing unit 503, calculates the communication frequency of user corresponding to the communications identification of each result data and user for the historical data corresponding by each result data;
Second determining unit 504, during for being greater than default communication frequency value at the communication frequency calculated, is defined as the second priority by the priority of result data.
In specific implementation, the communication frequency of the user that the communications identification of result data is corresponding and user can be the communication number of times in the predetermined period time, and such as in 24 hours, the number of times of mail contact is 10 times, and the number of times carrying out instant message in 5 days is for 50 times etc.That presets that communication frequency value may correspond to that different application pre-sets can editing value, such as, can be set to 5 times/day or 15 times/7 days, can be set to 10 times/2 days for enterprise's communication applications for mailbox, 20 times/5 days etc.
Further alternative, Priority Determination module 403 can also comprise: frequency determinative elements 505 and the 3rd determining unit 506.
Frequency determinative elements 505, for the historical search frequency by historical data determination result data corresponding to each result data;
3rd determining unit 506, for when the historical search frequency of result data is greater than preset search frequency values, is defined as the 3rd priority by the priority of result data.
In specific implementation, historical search data can carry out the data that user that the pre-set categories belonging to the data of historical search or user comprises searches for this result data, specifically not by the restriction of the embodiment of the present invention for user to this result data.Historical search frequency spectrum can be the searching times in Preset Time, such as, searching times in 12 hours is 20 inferior, what preset search frequency values may correspond to that different application pre-sets can editing value, such as, 10 times/day can be set to for some result datas, 25 times/1 day can be set to etc. for enterprise's communication applications.
Further alternative, the priority of result data can comprise at least one in the first priority, the second priority or the 3rd priority.
Display module 404, shows result data for the priority according to result data.
As the optional embodiment of one, as shown in Figure 6, be the structural representation of the display module that the embodiment of the present invention provides, as shown in the figure, the display module 404 that the embodiment of the present invention provides can also comprise: the first display unit 601 or the second display unit 602.
First display unit 601, for comprising in the priority of arbitrary result data: in the first priority, the second priority or the 3rd priority when at least two, the priority of result data is weighted, by the display order of the weighing computation results value determination result data of each result data, shown by the display order of result data;
Second display unit 602, for comprising in the priority of arbitrary result data: time any one of the first priority, the second priority or the 3rd priority, the display order of the result data that the first priority is corresponding is before the display order of result data corresponding to the second priority, the display order of the result data that the second priority is corresponding, before the display order of result data corresponding to the 3rd priority, is shown by the display order of result data.
In specific implementation, comprise in the priority of arbitrary result data: in the first priority, the second priority or the 3rd priority when at least two, the priority of result data is weighted, such as, the priority of result data Data01 comprises: the first priority, the second priority and the 3rd priority, then can be weighted: the rank (-3) * 15% of rank (-2) * 25%+ the 3rd priority of rank (-1) * 60%+ second priority of the first priority; The priority of Data02 comprises: the second priority and the 3rd priority, then can be weighted: the rank (-3) * 25% of rank (-2) * 50%+ the 3rd priority of the second priority.Again by the display order of the weighing computation results value determination result data of each result data, such as, according to the display order of the numerical values recited determination result data of weighted calculation value, thus can show result data according to the display order of result data.As shown in Figure 3, if the priority of 304 comprises the first priority and the second priority, the priority of 308 comprises the second priority and the 3rd priority, the priority of 311 comprises the 3rd priority, the weighing computation results value then obtaining 304 and 308 by weighted calculation is respectively :-1.5 and-1.75, be worth larger, before display order is got over, then the display order of result data is: 304-308-311.
In specific implementation, comprise in the priority of arbitrary result data: time any one of the first priority, the second priority or the 3rd priority, the display order of the result data that the first priority is corresponding is before the display order of result data corresponding to the second priority, the display order of the result data that the second priority is corresponding, before the display order of result data corresponding to the 3rd priority, is shown by the display order of result data.As shown in Figure 3, the priority of 304 is the first priority, and the priority of 311 is the second priority, and the priority of 308 is the 3rd priority, then the display order of result data is: 304-311-308.
The embodiment of the present invention provides a kind of indexing unit of key word, data acquisition module can search the multiple result datas with keyword match, and obtain pre-set categories mark corresponding to each result data, the comparative result that Priority Determination module can be identified by the pre-set categories mark pre-set categories corresponding with each result data that the communications identification of user is corresponding and each result data determine the priority of each result data, thus display module can show result data according to the priority of result data, in the embodiment of the present invention, can in conjunction with identifying with the pre-set categories of multiple result datas of keyword match of finding and each result data to determine priority, and then according to priority, result data is shown, thus can preferentially be shown to the result data mated with user, be convenient to user consult, avoiding when keyword search returns multiple matching result needs user to search further to determine that the precision of target search result so that keyword search is low again, the situation of Shi Yanchang, the embodiment of the present invention can improve the precision of keyword search, the intelligent of keyword search can be improved.
The embodiment of the invention also discloses a kind of terminal, comprise the arbitrary shown device of Fig. 4 ~ Fig. 6. the terminal that the embodiment of the present invention provides can be the terminal devices such as PC, notebook, smart mobile phone.The 26S Proteasome Structure and Function of this device see the associated description of the arbitrary illustrated embodiment of Fig. 4 ~ Fig. 6, can be not repeated herein.It should be noted that, the terminal of the present embodiment can be applicable in said method.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (10)

1. a searching method for key word, is characterized in that, described method comprises:
When the key word that user inputs being detected, obtain the pre-set categories mark that the communications identification of the communications identification of described user and described user is corresponding;
Search the multiple result datas with described keyword match, and obtain pre-set categories mark corresponding to described each result data;
Pre-set categories corresponding for the communications identification of the described user mark pre-set categories corresponding with each described result data is identified and makes comparisons, determined the priority of each described result data by described comparative result and each described result data;
Priority according to described result data shows described result data.
2. the method for claim 1, it is characterized in that, described pre-set categories corresponding for the communications identification of the described user mark pre-set categories corresponding with each described result data mark is made comparisons, determined the priority of each described result data by described comparative result and each described result data, comprising:
If the pre-set categories mark pre-set categories corresponding with the communications identification of described user that described result data is corresponding identifies consistent, the priority of this result data is defined as the first priority.
3. the method for claim 1, is characterized in that, described in search the multiple result datas with described keyword match, and obtain described each result data corresponding pre-set categories mark after, comprising:
Obtain the historical data that each described result data is corresponding, described historical data comprises: the history communication data of the user that the communications identification of each described result data is corresponding and described user;
Described pre-set categories corresponding for the communications identification of the described user mark pre-set categories corresponding with each described result data mark is made comparisons, and is determined the priority of each described result data, comprising by described comparative result and each described result data:
Obtain the communications identification of each described result data;
The communication frequency of user corresponding to the communications identification of each described result data and described user is calculated by historical data corresponding to each described result data;
If described in the communication frequency that calculates be greater than default communication frequency value, the priority of described result data is defined as the second priority.
4. the method for claim 1, is characterized in that, described in search the multiple result datas with described keyword match, and obtain described each result data corresponding pre-set categories mark after, comprising:
Obtain the historical data that each described result data is corresponding, described historical data comprises: historical search data;
Described pre-set categories corresponding for the communications identification of the described user mark pre-set categories corresponding with each described result data mark is made comparisons, and is determined the priority of each described result data, comprising by described comparative result and each described result data:
The historical search frequency of described result data is determined by the historical data that described each result data is corresponding; If the historical search frequency of described result data is greater than preset search frequency values, the priority of described result data is defined as the 3rd priority.
5. the method as described in as arbitrary in Claims 1 to 4, it is characterized in that, the described priority according to described result data is carried out display to described result data and is comprised:
Comprise in the priority of arbitrary described result data: in described first priority, described second priority or described 3rd priority when at least two, the priority of described result data is weighted, determined the display order of described result data by the weighing computation results value of described each result data, shown by the display order of described result data; Or
Comprise in the priority of arbitrary described result data: time any one of described first priority, described second priority or described 3rd priority, the display order of the result data that described first priority is corresponding is before the display order of result data corresponding to described second priority, the display order of the result data that described second priority is corresponding, before the display order of result data corresponding to described 3rd priority, is shown by the display order of described result data.
6. a searcher for key word, is characterized in that, described device comprises:
Identifier acquisition module, for when the key word that user inputs being detected, obtains the pre-set categories mark that the communications identification of the communications identification of described user and described user is corresponding;
Data acquisition module, for searching the multiple result datas with described keyword match, and obtains pre-set categories mark corresponding to described each result data;
Priority Determination module, make comparisons for pre-set categories corresponding for the communications identification of the described user mark pre-set categories corresponding with each described result data is identified, determined the priority of each described result data by described comparative result and each described result data;
Display module, shows described result data for the priority according to described result data.
7. device as claimed in claim 6, it is characterized in that, described Priority Determination module comprises:
First determining unit, when identifying consistent for the pre-set categories mark pre-set categories corresponding with the communications identification of described user corresponding at described result data, is defined as the first priority by the priority of this result data.
8. device as claimed in claim 6, it is characterized in that, described data acquisition module, also for obtaining historical data corresponding to each described result data, described historical data comprises: the history communication data of the user that the communications identification of each described result data is corresponding and described user;
Described Priority Determination module comprises:
Mark acquiring unit, for obtaining the communications identification of each described result data;
Computing unit, the communication frequency of the user that the communications identification for being calculated each described result data by historical data corresponding to each described result data is corresponding and described user; Second determining unit, for when the described communication frequency calculated is greater than default communication frequency value, is defined as the second priority by the priority of described result data.
9. device as claimed in claim 6, it is characterized in that, described data acquisition module, also for obtaining historical data corresponding to each described result data, described historical data comprises: historical search data;
Described Priority Determination module comprises:
Frequency determinative elements, determines the historical search frequency of described result data for the historical data corresponding by described each result data;
3rd determining unit, for when the historical search frequency of described result data is greater than preset search frequency values, is defined as the 3rd priority by the priority of described result data.
10. the device as described in as arbitrary in claim 6 ~ 9, it is characterized in that, described display module comprises: the first display unit or the second display unit;
First display unit, for comprising in the priority of arbitrary described result data: in described first priority, described second priority or described 3rd priority when at least two, the priority of described result data is weighted, determined the display order of described result data by the weighing computation results value of described each result data, shown by the display order of described result data;
Second display unit, for comprising in the priority of arbitrary described result data: time any one of described first priority, described second priority or described 3rd priority, the display order of the result data that described first priority is corresponding is before the display order of result data corresponding to described second priority, the display order of the result data that described second priority is corresponding, before the display order of result data corresponding to described 3rd priority, is shown by the display order of described result data.
CN201410298847.2A 2014-06-26 2014-06-26 Keyword searching method and device Active CN105224567B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410298847.2A CN105224567B (en) 2014-06-26 2014-06-26 Keyword searching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410298847.2A CN105224567B (en) 2014-06-26 2014-06-26 Keyword searching method and device

Publications (2)

Publication Number Publication Date
CN105224567A true CN105224567A (en) 2016-01-06
CN105224567B CN105224567B (en) 2020-08-14

Family

ID=54993536

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410298847.2A Active CN105224567B (en) 2014-06-26 2014-06-26 Keyword searching method and device

Country Status (1)

Country Link
CN (1) CN105224567B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111259129A (en) * 2020-01-19 2020-06-09 中国平安人寿保险股份有限公司 Data report searching method and device, electronic equipment and storage medium
CN111259129B (en) * 2020-01-19 2024-04-30 中国平安人寿保险股份有限公司 Data report searching method and device, electronic equipment and storage medium

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070050335A1 (en) * 2005-08-26 2007-03-01 Fujitsu Limited Information searching apparatus and method with mechanism of refining search results
CN1945566A (en) * 2005-10-08 2007-04-11 张逶 Internet searching engine
CN101123517A (en) * 2007-07-23 2008-02-13 中国联合通信有限公司 A method for instant message to display directory list
CN101887437A (en) * 2009-05-12 2010-11-17 阿里巴巴集团控股有限公司 Search result generating method and information search system
CN101931707A (en) * 2010-09-27 2010-12-29 北京开心人信息技术有限公司 Method and device for searching for contact persons in real-time interaction of mobile communication equipment
CN102055851A (en) * 2010-12-31 2011-05-11 惠州Tcl移动通信有限公司 Sequencing method for communication list, communication list and communication terminal
CN102075631A (en) * 2011-01-24 2011-05-25 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and contact display method for the same
CN102110153A (en) * 2011-02-18 2011-06-29 深圳创维-Rgb电子有限公司 Method and device for optimizing search
CN102799587A (en) * 2011-05-25 2012-11-28 腾讯科技(深圳)有限公司 Forum searching method and device
CN102957777A (en) * 2011-08-16 2013-03-06 飞图科技(北京)有限公司 Method for sequencing linkmen in phonebook according to contact frequency
CN103024189A (en) * 2012-12-21 2013-04-03 广东欧珀移动通信有限公司 System and method for generating frequent contact list of mobile terminal
CN103037091A (en) * 2012-12-14 2013-04-10 北京小米科技有限责任公司 Short message handling method and device and terminal equipment
CN103164542A (en) * 2013-04-15 2013-06-19 北京奇虎科技有限公司 Method of data searching and client-side
CN103235796A (en) * 2013-04-07 2013-08-07 北京百度网讯科技有限公司 Searching method and system based on clicking behavior of user
CN103365913A (en) * 2012-04-09 2013-10-23 腾讯科技(深圳)有限公司 Search result ordering method and device
CN103501374A (en) * 2013-09-27 2014-01-08 中国联合网络通信集团有限公司 Telephone book sequencing method and device as well as terminal
CN103678350A (en) * 2012-09-10 2014-03-26 腾讯科技(深圳)有限公司 Social network searching result showing method and device
CN104182488A (en) * 2014-08-08 2014-12-03 腾讯科技(深圳)有限公司 Search method, server and client

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070050335A1 (en) * 2005-08-26 2007-03-01 Fujitsu Limited Information searching apparatus and method with mechanism of refining search results
CN1945566A (en) * 2005-10-08 2007-04-11 张逶 Internet searching engine
CN101123517A (en) * 2007-07-23 2008-02-13 中国联合通信有限公司 A method for instant message to display directory list
CN101887437A (en) * 2009-05-12 2010-11-17 阿里巴巴集团控股有限公司 Search result generating method and information search system
CN101931707A (en) * 2010-09-27 2010-12-29 北京开心人信息技术有限公司 Method and device for searching for contact persons in real-time interaction of mobile communication equipment
CN102055851A (en) * 2010-12-31 2011-05-11 惠州Tcl移动通信有限公司 Sequencing method for communication list, communication list and communication terminal
CN102075631A (en) * 2011-01-24 2011-05-25 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and contact display method for the same
CN102110153A (en) * 2011-02-18 2011-06-29 深圳创维-Rgb电子有限公司 Method and device for optimizing search
CN102799587A (en) * 2011-05-25 2012-11-28 腾讯科技(深圳)有限公司 Forum searching method and device
CN102957777A (en) * 2011-08-16 2013-03-06 飞图科技(北京)有限公司 Method for sequencing linkmen in phonebook according to contact frequency
CN103365913A (en) * 2012-04-09 2013-10-23 腾讯科技(深圳)有限公司 Search result ordering method and device
CN103678350A (en) * 2012-09-10 2014-03-26 腾讯科技(深圳)有限公司 Social network searching result showing method and device
CN103037091A (en) * 2012-12-14 2013-04-10 北京小米科技有限责任公司 Short message handling method and device and terminal equipment
CN103024189A (en) * 2012-12-21 2013-04-03 广东欧珀移动通信有限公司 System and method for generating frequent contact list of mobile terminal
CN103235796A (en) * 2013-04-07 2013-08-07 北京百度网讯科技有限公司 Searching method and system based on clicking behavior of user
CN103164542A (en) * 2013-04-15 2013-06-19 北京奇虎科技有限公司 Method of data searching and client-side
CN103501374A (en) * 2013-09-27 2014-01-08 中国联合网络通信集团有限公司 Telephone book sequencing method and device as well as terminal
CN104182488A (en) * 2014-08-08 2014-12-03 腾讯科技(深圳)有限公司 Search method, server and client

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
AO-JAN SU ET AL.: ""How to Improve Your Google Ranking: Myths and Reality"", 《2010 IEEE/WIC/ACM INTERNATIONAL CONFERENCE ON WEB INTELLIGENCE AND INTELLIGENT AGENT TECHNOLOGY》 *
陈莉: ""基于领域本体的智能搜索系统的研究和应用"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111259129A (en) * 2020-01-19 2020-06-09 中国平安人寿保险股份有限公司 Data report searching method and device, electronic equipment and storage medium
CN111259129B (en) * 2020-01-19 2024-04-30 中国平安人寿保险股份有限公司 Data report searching method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN105224567B (en) 2020-08-14

Similar Documents

Publication Publication Date Title
CN107204184B (en) Audio recognition method and system
CN106033416B (en) Character string processing method and device
CN110020422A (en) The determination method, apparatus and server of Feature Words
CN111797210A (en) Information recommendation method, device and equipment based on user portrait and storage medium
CN104750705A (en) Information returning method and device
CN105404625A (en) Application program searching method and system
CN109299235B (en) Knowledge base searching method, device and computer readable storage medium
CN104462307A (en) Searching method and device for object in terminal
CN104750791A (en) Image retrieval method and device
CN114722137A (en) Security policy configuration method and device based on sensitive data identification and electronic equipment
CN105354318A (en) File searching method and device
CN115145924A (en) Data processing method, device, equipment and storage medium
CN104915458A (en) Automatic association method and system during application search by user, and mobile terminal
CN111160029A (en) Information processing method and device, electronic equipment and computer readable storage medium
CN102855554A (en) Classifying method and device for e-mail
CN105354342A (en) Retrieval method and mobile terminal
CN113326363A (en) Searching method and device, prediction model training method and device, and electronic device
CN108108379B (en) Keyword word expansion method and device
CN106844406B (en) Search method and search device
CN112148841A (en) Object classification and classification model construction method and device
CN109697234B (en) Multi-attribute information query method, device, server and medium for entity
CN112527819A (en) Address book information retrieval method and device, electronic equipment and storage medium
CN117171296A (en) Information acquisition method and device and electronic equipment
CN109101630B (en) Method, device and equipment for generating search result of application program
CN105744041A (en) Retrieval method and device for looking up contacts in address book in multiple conditions

Legal Events

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