Links

Abstract

The invention discloses a query result diversification method and device and relates to information retrieval techniques. A set of related keyword combinations of a set of keywords of a given query is determined by domain ontology, query is conducted by using the related keyword combinations, and unreliable query logs are prevented from being used to determine subquery keywords, thus enabling diversified query results to be more accurate.

Description

Translated from Chinese

一种查询结果多样化方法及装置 One result diversity method and device query

技术领域 FIELD

[0001] 本发明涉及信息检索技术，尤其涉及一种查询结果多样化方法及装置。 [0001] The present invention relates to information retrieval and particularly to a method and apparatus for diversity query results.

背景技术 Background technique

[0002] 传统的信息检索技术主要是通过对文献检索进行后处理或重新排序的步骤实现多样化，如搜索结果的聚类或分类，根据均值-方差分析进行重新排序的结果等。 [0002] The conventional information retrieval technology is to achieve diversity, such as clustering or classification step after the search result by the retrieval of the document processing or reordering, according to the mean - analysis of variance of the results of reordering the like.

[0003] 而随着信息检索技术的发展，用户对信息检索的搜索结果多样化和查询消歧的要求也越来越高。 [0003] With the development of information retrieval technology, users of information retrieval search results and query disambiguation diversification requirements are also getting higher and higher.其中，搜索结果多样化是指:用户输入的查询关键字可能有多个解释，在获得查询结果时，应该产生包括这些不同解释的结果，搜索结果多样化的目的是通过平衡搜索结果的相关性和新颖性，最大限度地减少用户不满的风险。 Wherein the search results diversification means: the query keywords entered by the user may have several explanations in obtaining results, should produce results including these different interpretations of the purpose of the search results is through a Ping Heng diversification of the relevance of search results and novelty, to minimize the risk of the user dissatisfaction.查询消歧是指:根据用户的输入的关键字确定所有可能的查询意图，并通过更准确的方式表示这些意图。 Query disambiguation means: identify all possible query intent based on the keywords input by the user, and said that these intentions through a more accurate way.

[0004] 查询消歧作为一种新的方式支持搜索多样化，有效地节省了计算成本并使结果更容易理解，尤其是当结果规模较大的时候。 [0004] query disambiguation as a new way to support diverse search effectively saves computational costs and results easier to understand, especially when a large scale when the result.现有技术中，主要采用了对查询日志的统计分析(或机器学习等)实现多元化搜索。 The prior art, the main use of statistical analysis of the query logs (or machine learning, etc.) to diversify the search.

[0006] 步骤S101、对于给定的查询Q，根据查询日志的分析大样本生成k个相关查询R(Q)； [0006] In step S101, the query for a given Q, related query generates k R (Q) based on the analysis of large sample query log;

[0007] 步骤S102、通过从每个查询结果集提取n/(k+l)个结果获得初始DOC列表(文档用户的数量可以视为η); [0007] In step S102, by extracting n / (k + l) from each of the query result list results obtained initial DOC (document number of users can be considered as [eta]);

list3)......}，从每个文档列表中选取n/(k+l)个数的文档，形成对于q的新的查询结果 list3) ......}, chosen from the list each document n / (k + l) is the number of documents, for the formation of a new query result q

集合RF (q)，其中，η表示结果规模，为预先设定的值，k表示子查询的数量，根据文档和用户兴趣的匹配程度，对RF(q)中的文档进行排序，获得用户查询的多样化查询结果。 Set RF (q), where, [eta] represents the size of the result, to a predetermined value, k represents the number of sub-queries, according to the degree of matching documents and user interests, of the RF (q) to sort the documents, the user query obtaining diversification of query results.

[0022] 根据上述查询结果多样化的方法可知，现有技术中是基于查询日志来确定子查询集合的，但是，本发明的发明人发现，由于查询日志是基于用户输入查询关键字生成的，而查询关键字并不能准确代表当时用户实际的查询意图，同时，对于企业搜索等某些搜索环境，查询日志不可用或查询日志的规模不足以支持查询消歧，所以，查询日志是不可靠的数据来源，导致查询结果多样化后产生的查询结果并不准确。 [0022] The method of the above-described diversity seen from the results of the query, the prior art is based on the query log to determine a set of sub-queries, however, the present inventors found that, due to the query log is a query based on the user input a keyword generated, the keyword query does not accurately represent the actual user's query intent was, at the same time, for some enterprise search and other search environment, query logs are unavailable or insufficient to support the size of the query log query disambiguation, therefore, the query log is unreliable data sources, resulting in a variety of query result after the query results are not accurate.

发明内容 SUMMARY

[0023] 本发明实施例提供一种查询结果多样化方法及装置，以获得较准确的多样化查询结果。 Embodiment [0023] The present invention provides a method and apparatus for diversity query result to obtain more accurate query result diversified.

[0030] 关键字确定单元，用于根据给定查询的关键字集合，确定该关键字集合在领域本体中的相关关键字组合集； [0030] The keyword determining unit according to a keyword for a given set of queries, determining that the set of keywords in the domain ontology related keywords combined set;

[0031] 查询单元，用于根据所述相关关键字组合集中的各个相关关键字组合进行搜索，获得查询结果集； [0031] The inquiry unit, according to the search for keywords related to the combined set of related keywords various combinations to obtain query results;

[0032] 查询结果获取单元，用于从所述查询结果集中获取相应个数的查询结果； [0032] The query result obtaining unit, configured to obtain a corresponding number of query result set from the query result;

[0034] 本发明实施例提供一种查询结果多样化方法及装置，通过领域本体确定给定查询的关键字集合的相关关键字组合集，并使用这些相关关键字组合进行查询，避免使用不可靠的查询日志确定子查询关键字，从而使得多样化查询结果更加准确。 [0034] The embodiments of the present invention provides a method and apparatus for diversity query results to determine a combined set of keywords relevant to a given query keyword set by the domain ontology and compositions using these related keywords query, to avoid the use of unreliable query logs to determine the sub-query keywords to diversify the query results more accurate.

[0039] 图5为本发明实施例提供的查询结果集确定方法流程图；[0040] 图6为本发明实施例提供的查询结果获取方法流程图； [0039] FIG. 5 flowchart of a method to determine the query result set according to an embodiment of the present invention; [0040] FIG 6 Results flowchart of a method provided by embodiments of the present invention acquired;

[0041] 图7为本发明实施例提供的排序方法流程图； [0041] FIG. 7 is a flowchart of embodiment sorted embodiment of the present invention;

[0042] 图8为本发明实施例提供的根据相似程度进行排序的方法流程图； [0042] FIG. 8 A method for sorting according to the degree of similarity provided by the flowchart of embodiment of the invention;

[0043] 图9为本发明实施例提供的查询结果多样化装置结构示意图。 [0043] Figure 9 a schematic view of the device structure diversification query result according to an embodiment of the present invention.

具体实施方式 detailed description

[0044] 本发明实施例提供一种查询结果多样化方法及装置，通过领域本体确定给定查询的关键字集合的相关关键字组合集，并使用这些相关关键字组合进行查询，避免使用不可靠的查询日志确定子查询关键字，从而使得多样化查询结果更加准确。 [0044] The present invention provides a method and apparatus for diversity query results to determine a combined set of keywords relevant to a given query keyword set by the domain ontology and compositions using these related keywords query, to avoid the use of unreliable query logs to determine the sub-query keywords to diversify the query results more accurate.

[0046] 步骤S301、根据给定查询的关键字集合，确定该关键字集合在领域本体中的相关关键字组合集； [0046] step S301, the keyword according to a given set of queries, determining that the set of keywords in the domain ontology related keywords combined set;

[0047] 步骤S302、根据相关关键字组合集中的各个相关关键字组合进行搜索，获得查询结果集; [0047] Step S302, the search keyword combinations according to the relevant combinations of the individual clusters of related keywords to obtain query results;

[0048] 步骤S303、从查询结果集中获取相应个数的查询结果； [0048] Step S303, the focus obtain a corresponding number of query results from the query result;

[0050] 由于通过领域本体来进行各个相关关键字的确定，所以使得相关关键字的选取更加准确，更接近用户的意图，进而使得多样化查询结果更加准确，其中，领域本体为专业性的本体，描述的是特定领域中的概念和概念之间的关系，提供了某个专业学科领域中概念的词表以及概念间的关系，或在该领域里占主导地位的理论。 [0050] Since the determination of each keyword related art by the body, so that more accurate associated keywords selected, closer to the user's intention, thereby making diverse query results more accurate, wherein, for the professional domain ontology body , describes the relationship between specific areas of the concepts and provides the relationship between vocabulary and the concept of the concept of a specialized subject areas, or the dominant theory in the field.

[0052] 在确定关键字在领域本体中的相关关键字时，可以确定领域本体中包括该关键字的概念为相关关键字，也可以确定领域本体中与该关键字相关的相关节点作为相关关键字，当然，本领域技术人员也可以根据其它方式从领域本体中确定相关关键字。 [0052] In determining keywords related keywords in the domain ontology, the domain ontology may include the concept of determining the keyword is relevant keywords relevant key may be determined in the domain ontology associated with the keyword as the related node word, of course, those skilled in the art can also determine keywords from the related art body according to other embodiment.

[0053] 为了能够使得查询结果更加准确，可以进一步对相关关键字以及给定查询中的关键字的组合进行筛选，从而获得更加符合用户意图的关键字组合。 [0053] In order to be able to make more accurate results can be further combined for a given query related keywords and keywords are screened to obtain a combination of keywords more in line with the user's intent.

[0054] 具体的，在步骤S301根据给定查询的关键字集合，确定该关键字集合在领域本体中的相关关键字组合集后，还包括: After [0054] Specifically, in step S301 according to a given query keyword set, determining that the set of keywords in the domain ontology combined set of related keywords, further comprising:

[0055] 对于相关关键字组合集中的每个相关关键字组合，从领域本体中抽取连接各个关键字的最小子图，其中，最小子图为实现连接各关键字的领域本体子图中，边数最少的子图。 [0055] For each combination of Related keywords related keywords combined set of connections from the domain ontology extracting a minimal FIG each keyword, wherein the sub-body to achieve a minimal graph of FIG connecting each keyword in the art, while the minimum number of sub FIG.

[0056] 如图4所示，假设相关关键字组合中包括5个关键字，所抽取的子图中，连接了全部5个关键字，且边数最少。 [0056] As shown in FIG 4, it is assumed Related keywords comprise combinations five keywords, the extracted sub-picture, the connection of all five keywords, and the minimum number of edges.

[0057] 此时，如图5所示，在步骤S302中，根据相关关键字组合集中的各个相关关键字组合进行搜索，获得查询结果集，具体包括: As shown in [0057] At this time, as shown in FIG. 5, in step S302, according to the relevant search keywords combined set of related keywords various combinations, to obtain the query result set, comprises:

[0058] 步骤S501、对于每个最小子图，确定由该最小子图中包括的关键字及其它节点构成子查询； [0058] step S501, the most for each guy FIG determined by the drawing comprises a minimal keywords and other nodes constituting subqueries;

[0059] 步骤S502、根据每个子查询中包括的关键字及其它节点进行搜索，获得与最小子图数量相同的子查询结果集； [0059] step S502, the search keywords, and other nodes included in each sub-query, to obtain the same amount of a minimal set of FIG sub-query result;

[0060] 步骤S503、确定查询结果集为各个子查询结果集构成的集合。 [0060] step S503, the determination result of the query result set from the query set for each sub-set configuration.

任一个关键字h都能在领域本体中确定一组相关的关键字Ci = {cn, ci2,......，cini}，该 H can be any of a keyword in the domain ontology to determine a set of related keywords Ci = {cn, ci2, ......, cini}, the

组关键字包括ni个关键字，根据领域本体还可以得到每个相关关键字与h的相关程度值 Ni keyword group including a keyword, domain ontology may also be obtained in accordance with the degree of correlation values ​​each associated with a keyword h.

[0062] 对于每个子查询，可以根据领域本体确定查询语义图，该查询语义图中包括该子查询中的各个关键字，每个关键字都作为查询语义图的节点，为使得各关键字能够连接起来，该查询语义图中也包括其它节点。 [0062] For each sub-query, the query may be determined according to the semantic graph ontology, the query semantic graph for each keyword included in the sub-queries, each keyword as a query semantic graph node, so that each keyword can be connected, the query semantics are also other nodes in FIG.对于每个查询语义图，获取连接各个关键字的最小子图，其中，最小子图为实现连接各关键字的子图中，边的条数最少的子图。 For each query semantic graph, obtaining a minimal showing the connection of each keyword, wherein, to achieve a minimal linker graph of FIG each keyword, the minimum number of edges subgraph.

[0063] 在获取最小子图时，可以在查询语义图中随机选取一个关键字，遍历该关键字连接其它节点的每条路径，选择与目标节点之间最短的路径作为最小子图中的路径，直至确定出连接各个关键字的最小子图，若两个节点之间具有两条边数相同的路径，则可以随机选择一条。 [0063] When acquiring the smallest sub-view may randomly select a keyword query semantic graph, the path through each of the other nodes connected to the keyword, as the shortest path route between a minimal FIG selected and the destination node until it is determined that a minimal showing a connection of each keyword, if the two sides have the same number of paths between two nodes, one may be randomly selected.

[0064] 在步骤S303中，从查询结果集中获取相应个数的查询结果，可以从每个子查询的子查询结果集中获取设定个数的查询结果，也可以进一步根据子查询关键字与查询关键字的相关程度，从查询结果集中获取相应个数的查询结果，从而使得相关程度高的查询结果数量较多，更容易与用户的查询意图匹配。 [0064] In step S303, focused on obtaining a corresponding number of query results from the query result, the sub-query results from the query can obtain the query result of each subset number setting, keyword query may further query the key according to the sub word relevance, centrally in the query result of the query results corresponding number, so that a high degree of correlation larger number of search results, and more likely to match the user's query intent.

[0065] 具体的，如图6所示，根据每个子查询与给定查询的相关程度，从每个子查询结果集中获取相应个数的查询结果，具体包括: [0065] Specifically, as shown in FIG. 6, according to each of the sub-query and relevance given query, the query result set corresponding to the number of query result acquired from each of the sub, comprises:

[0066] 步骤S601、确定每个最小子图的子图权重，该子图权重为 [0066] step S601, the determined weights for each sub-picture of a minimal FIG weight, a weight of the sub FIG.

其中m为 Wherein m is

查询关键字的数量，ri为根据领域本体确定的相关关键字与相应的关键字的匹配值，E为该子图包括的边的数量； The number of query keywords, ri is the matching key value associated with domain ontology corresponding to the determined keywords, E the number of edges that sub FIG included;

[0067] 步骤S602、根据每个最小子图的子图权重，从该最小子图对应的子查询结果集中获取相应个数的查询结果。 [0067] step S602, the weight of each sub-picture in accordance with a minimal FIG weight, corresponding to FIG from the smallest sub-sub-query result set a corresponding number obtaining query results.

[0068] 在步骤S602中，根据每个最小子图的子图权重，从该最小子图对应的子查询结果集中获取相应个数的查询结果，可以具体为: [0068] In step S602, the weight of each sub-picture in accordance with a minimal FIG weight, corresponding to FIG from the smallest sub-sub-query result set to obtain query results corresponding number may specifically be:

[0069] 从该最小子图对应的子查询结果集中获取的查询结果为与该最小子图关联程度最大的前a个查询结果，a为当前最小子图的子图权重与所有最小子图的子图权重和的比值。 [0069] The query result of the query from the smallest sub-view corresponding sub-result set acquired maximum query result before the a-th degree associated with the smallest sub FIG, a is the current sub FIG right most kid FIG weight of all the smallest sub-graph and sub-picture weight ratio.

[0070] 进一步，为使得用户能够更方便的看到较符合查询意图的查询结果，本发明实施例提供相应的对查询结果排序的方法，此时，如图7所示，步骤S304对获取的查询结果进行排序，获得多样化查询结果，具体包括: [0070] Further, to enable a user to more easily see the search results more in line with the intended query, embodiments provide corresponding query results sorting method of the present invention, this time, as shown in FIG. 7, step S304 of the acquired sorting query results obtained diverse results, including:

[0071] 步骤S701、对于每个查询结果，确定该查询结果与对应的最小子图的关联程度值； [0071] step S701, the query result for each of the determined value of the degree of association with the query results corresponding to the smallest sub-graph;

[0072] 步骤S702、对于每个查询结果，根据该查询结果与对应的最小子图的关联程度值以及该最小子图的子图权重，确定该查询结果的权重； [0072] step S702, for each query result, according to the degree of association weights subgraph query result value corresponding to the smallest sub-graph and a minimal FIG weight of query results to determine the weight of the weight;

[0073] 步骤S703、根据查询结果的权重，对获取的查询结果进行排序，获得多样化查询结果O [0073] step S703, the query result according to the weight of the weight, the obtained query results are sorted query result obtaining diversification O

[0074] 其中，步骤S702中，根据该查询结果与对应的最小子图的关联程度值以及该最小子图的子图权重，确定该查询结果的权重，具体包括: [0074] wherein, in step S702, according to the degree of association weights subgraph query result value corresponding to the smallest sub-graph and a minimal FIG weight of query results to determine the weight, comprises:

[0075] 确定该查询结果的权重为该查询结果与对应的最小子图的关联程度值与该最小子图的子图权重的乘积。 [0075] The determination result of the query results for the query with the weight corresponding to a minimal value of the degree of association FIG subgraph a minimal weight of the weight of the product of FIG.

[0076] 进一步，在步骤S703中，根据查询结果的权重，对获取的查询结果进行排序，可以直接按照查询结果的权重大小，对获取的查询结果进行排序；也可以进一步考虑查询结果之间的相似性，使得用户能够较方便的获取多样化的查询结果，此时，如图8所示，步骤S703具体包括: [0076] Further, in step S703, according to the weights query results to weights of the query result acquired sort can be directly follow the right query results significant small, the query result obtaining sort; may further be considered between the query results similarity, enabling the user to more easily access a variety of search results, at this time, as shown in step S703 8 comprises:

[0077] 步骤S801、确定权重最大的查询结果为排在第一位的查询结果，并确定每两个查询结果之间的相似程度值； [0077] step S801, the highest weight is determined for the query results in the first row of the query result, and determines the degree of similarity values ​​between each two results of the query;

[0078] 步骤S802、对于其它查询结果，确定每个查询结果的相似权重为: Similarityid,d'))唭中，g为查询结果的权重，d为当前查询结果，D为已排序的查询结 [0078] step S802, for the other query results to determine each query result of similar weight is: Similarityid, d ')) Qi, g is for the right query results weights, d to the current query result, D is a sorted query result

d'eD d'eD

果构成的集合，similarity (d, d')为d和d'的相似程度值； Fruit set configuration, similarity (d, d ') is d and d' the value of the degree of similarity;

`[0079] 步骤S803、按照相似权重的大小，对除排在第一位的查询结果外的查询结果进行递归排序。 `[0079] step S803, the weights according to the weight of a similar size, except the query results in the query result being the first row of a recursive sort.

[0080] 下面通过一个具体实例对本发明实施例提供的查询结果多样化方法进行说明: [0080] Next, a specific example of a query result by diversity method according to an embodiment of the present invention will be described:

对于查询结果集中的每个文档，wg表示其对应的最小子图的子图权重，wr表示该文档与该最小子图的关联程度值，每个子查询结果集中的文档按wr排序。 For each document in the result set of query, WG subgraph represents a minimal weight which corresponds to FIG weight, WR represents the document associated with the value of a minimal degree of drawing, each sub-query result set of documents are sorted by wr.

[0084] 从该最小子图对应的子查询结果集中获取的查询结果为与该最小子图关联程度最大的前a个查询结果，例如，从result (gl)中选择排名为前[α6% 65 + α5 + αΐ35+」的文档 Before [α6% 65 [0084] from the query result that a minimal view corresponding sub-query result set acquired maximum query result before the a-th degree associated with the smallest sub FIG, e.g., selected from the result (gl) ranked as + α5 + αΐ35 + "document

[0089] 关键字确定单元901，用于根据给定查询的关键字集合，确定该关键字集合在领域本体中的相关关键字组合集； [0089] The determination unit 901 is a keyword, the keyword for a given set of queries according to the determined set of keywords in the domain ontology related keywords combined set;

[0090] 查询单元902，用于根据相关关键字组合集中的各个相关关键字组合进行搜索，获得查询结果集； [0090] The inquiry unit 902, a search based on the combined set of related keywords related keywords various combinations to obtain query results;

[0091] 查询结果获取单元903，用于从查询结果集中获取相应个数的查询结果； [0091] The query result obtaining unit 903, configured to obtain a corresponding number of query results from the query result set;

[0099] 在根据给定查询中的每个关键字，确定该关键字在领域本体中的相关关键字后: [0099] After the given query each keyword, the keyword determining Related keywords in the domain ontology:

[0100] 在根据给定查询的关键字集合，确定该关键字集合在领域本体中的相关关键字组合集后: [0100] After the keyword according to a given set of queries, determining that the set of keywords in the domain ontology related keywords combined set:

[0101] 对于相关关键字组合集中的每个相关关键字组合，从领域本体抽取连接各个关键字的最小子图，其中，最小子图为实现连接各关键字的领域本体子图中，边数最少的子图； [0101] For each combination of Related keywords related keywords combined set from the smallest sub-field of FIG ontology extraction connection for each keyword, wherein the connecting body to achieve a minimal graph subgraphs each keyword in the art, the number of edges minimal subgraph;

[0102] 查询单元902具体用于: [0102] querying unit 902 is configured to:

[0103] 对于每个最小子图，确定由该最小子图中包括的关键字及其它节点构成子查询； [0103] For each of the smallest sub-view is determined by the drawing comprises a minimal keywords and other nodes constituting subqueries;

[0104] 根据每个子查询中包括的关键字及其它节点进行搜索，获得与最小子图数量相同的子查询结果集； [0104] The search keywords, and other nodes included in each sub-query, to obtain the same amount of a minimal set of FIG sub-query result;

[0105] 确定查询结果集为各个子查询结果集构成的集合。 [0105] determining a query result set of the query result set for each sub-set configuration.

[0110] 确定每个最小子图的子图权重为其中m为查询关键字的数量，ri [0110] determining a minimal weight of each sub-picture of FIG weight where m is the number of query keywords, ri

Αχ I , Αχ I,

为根据领域本体确定的相关关键字与相应的关键字的匹配值，E为该子图包括的边的数量; Related keywords matching value according to the domain ontology corresponding to the determined keywords, E the number of edges included in that submap;

[0111] 根据每个最小子图的子图权重，从该最小子图对应的子查询结果集中获取相应个数的查询结果； [0111] The weight of each sub-picture of a minimal FIG weight, corresponding to FIG from the smallest sub-sub-query result set corresponding number obtaining query results;

[0112] 合并从各个子查询结果集中获取的查询结果。 [0112] Combining query result set from each sub-query results obtained.

[0113] 具体的，查询结果获取单元903根据每个最小子图的子图权重，从该最小子图对应的子查询结果集中获取相应个数的查询结果，具体包括: [0113] Specifically, the query result acquisition unit 903 weight the weight of each sub-picture in accordance with a minimal diagram, corresponding to FIG from the smallest sub-sub-query result set obtaining query results corresponding number comprises:

[0114] 从该最小子图对应的子查询结果集中获取的查询结果为与该最小子图关联程度最大的前a个查询结果，a为不大于当前最小子图的子图权重与所有最小子图的子图权重和的比值的最大整数。 [0114] from the query result that a minimal view corresponding sub-query result set acquired maximum query result before the a-th degree associated with the smallest sub FIG, a is not greater than the current minimum sub FIG sub FIG weight of all of the most kid FIG largest integer subgraph weight and the weight ratio.

[0116] 对于每个查询结果，确定该查询结果与对应的最小子图的关联程度值； [0116] For each query result, the degree of association determined with the query result value corresponding to the smallest sub-graph;

[0117] 对于每个查询结果，根据该查询结果与对应的最小子图的关联程度值以及该最小子图的子图权重，确定该查询结果的权重； [0117] For each query result, according to the degree of association weights subgraph query result value corresponding to the smallest sub-graph and a minimal FIG weight of query results to determine the weight of the weight;

[0119] 具体的，排序单元904根据该查询结果与对应的最小子图的关联程度值以及该最小子图的子图权重，确定该查询结果的权重，具体包括: [0119] Specifically, the sorting unit 904 according to the degree of association weights subgraph query result value corresponding to the smallest sub-graph and a minimal FIG weight of query results to determine the weight, comprises:

[0120] 确定该查询结果的权重为该查询结果与对应的最小子图的关联程度值与该最小子图的子图权重的乘积。 [0120] determination result of the query results for the query with the weight corresponding to a minimal value of the degree of association FIG subgraph a minimal weight of the weight of the product of FIG.

[0121] 排序单元904根据查询结果的权重，对获取的查询结果进行排序，具体包括: [0121] The sorting unit 904 weights the weight of the query result of the query result acquired sort, comprises:

[0122] 直接按照查询结果的权重大小，对获取的查询结果进行排序；或者 [0122] According to the direct results of a small right major, query results get sorted; or

[0123] 确定权重最大的查询结果为排在第一位的查询结果，并确定每两个查询结果之间的相似程度值；对于其它查询结果，确定每个查询结果的相似权重为: [0123] determining the maximum weight for the query results in the query results of a row and determines the degree of similarity values ​​between each two results of the query; query results for other, similar determination results of each query is a weight:

Similarityid,d')) '其中，g为查询结果的权重，d为当前查询结果，D为已排序的查询结 Similarityid, d '))' wherein, g is the weight of the query result, d is the current query result, D is a sorted query result

d'eD d'eD

果构成的集合，similarity (d, d')为d和d'的相似程度值；按照相似权重的大小，对除排在第一位的查询结果外的查询结果进行递归排序。 Fruit set configuration, Similarity (d, d ') value for the degree of similarity d and d'; the weights according to the weight of a similar size, except the query results in the query result being the first row of a recursive sort.

[0124] 本发明实施例提供一种查询结果多样化方法及装置，通过领域本体确定给定查询的关键字集合的相关关键字组合集，并使用这些相关关键字组合进行查询，避免使用不可靠的查询日志确定子查询关键字，从而使得多样化查询结果更加准确。 [0124] The present invention provides a method and apparatus for diversity query results to determine a combined set of keywords relevant to a given query keyword set by the domain ontology and compositions using these related keywords query, to avoid the use of unreliable query logs to determine the sub-query keywords to diversify the query results more accurate.

[0125] 本领域内的技术人员应明白，本发明的实施例可提供为方法、系统、或计算机程序产品。 [0125] skilled in the art should understand that the embodiments of the present invention may provide a method, system, or computer program product.因此，本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。 Thus, embodiments of the present invention may be employed entirely hardware embodiment, an entirely software embodiment, or an embodiment in conjunction with the form of software and hardware aspects.而且，本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。 Further, the present invention may take the form of a computer program product embodied in one or more of which comprises a computer usable storage medium having computer-usable program code (including but not limited to, disk storage, CD-ROM, optical memory, etc.).

[0126] 本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。 [0126] The present invention has been described in accordance with the method of Example of the present invention, apparatus (systems) and computer program products flowchart and / or block diagrams described.应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。 It should be understood and implemented by computer program instructions and block, and the flowchart / or block diagrams each process and / or flowchart illustrations and / or block diagrams of processes and / or blocks.可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器，使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。 These computer program instructions may be provided to a processor a general purpose computer, special purpose computer, embedded processor or other programmable data processing apparatus to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing apparatus generating in a device for implementing the flow chart or more flows and / or block diagram block or blocks in a specified functions.

[0127] 这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中，使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品，该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。 [0127] These computer program instructions may also be stored in a computer can direct a computer or other programmable data processing apparatus to function in a particular manner readable memory produce an article of manufacture such that the storage instruction means comprises a memory in the computer-readable instructions the instruction means implemented in a flowchart or more flows and / or block diagram block or blocks in a specified function.

[0128] 这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上，使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理，从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。 [0128] These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps on the computer or other programmable apparatus to produce a computer implemented so that the computer or other programmable apparatus execute instructions to provide processes for implementing a process or flows and / or block diagram block or blocks a function specified step.

[0129] 尽管已描述了本发明的优选实施例，但本领域内的技术人员一旦得知了基本创造性概念，则可对这些实施例作出另外的变更和修改。 [0129] While the present invention has been described with preferred embodiments, but those skilled in the art from the underlying inventive concept can make other modifications and variations to these embodiments.所以，所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。 Therefore, the appended claims are intended to explain embodiments including the preferred embodiment as fall within the scope of the invention and all changes and modifications.

[0130] 显然，本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。 [0130] Obviously, those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention.这样，倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内，则本发明也意图包含这些改动和变型在内。 Thus, if these modifications and variations of the present invention fall within the claims of the invention and the scope of equivalents thereof, the present invention intends to include these modifications and variations.

Claims (20)

Translated from Chinese

1.一种查询结果多样化方法，其特征在于，包括: 根据给定查询的关键字集合，确定该关键字集合在领域本体中的相关关键字组合集； 根据所述相关关键字组合集中的各个相关关键字组合进行搜索，获得查询结果集； 从所述查询结果集中获取相应个数的查询结果； 对获取的查询结果进行排序，获得多样化查询结果。 A query result diversity method comprising: according to the keyword given set of queries, determining that the set of keywords in the domain ontology combined set of related keywords; concentrate according to the combination of keywords relevant all the relevant search keyword combinations, to obtain query results; obtaining a corresponding number of query results from the query result set; query results obtained are sorted query result obtaining diversification.

2.如权利要求1所述的方法，其特征在于，所述根据给定查询的关键字集合，确定该关键字集合在领域本体中的相关关键字组合集，具体包括: 根据给定查询每个关键字，确定该关键字在所述领域本体中的相关关键字； 根据各个相关关键字，确定相关关键字组合集。 2. The method according to claim 1, wherein said set of keywords according to a given query, it is determined that the set of keywords in the domain ontology combined set of related keywords comprises: each of the given query keywords, the keywords related keywords to determine the domain ontology; according to various relevant keywords, identify relevant keywords combination set.

4.如权利要求1所述的方法，其特征在于，在所述根据给定查询的关键字集合，确定该关键字集合在领域本体中的相关关键字组合集后，还包括: 对于相关关键字组合集中的每个相关关键字组合，从领域本体中抽取连接各个关键字的最小子图，所述最小子图为实现连接各关键字的领域本体子图中，边数最少的子图；所述根据相关关键字组合集中的各个相关关键字组合进行搜索，获得查询结果集，具体包括: 对于每个最小子图，确定由该最小子图中包括的关键字及其它节点构成的子查询；根据每个子查询中包括的关键字及其它节点进行搜索，获得与最小子图数量相同的子查询结果集； 确定查询结果集为各个子查询结果集构成的集合。 4. The method according to claim 1, wherein, in said given keyword according to a given set of queries, determining that the set of keywords in the domain ontology combined set of related keywords, further comprising: a key for the relevant Related keywords set for each combination of word combinations, extracted from the domain ontology FIG minimum sub connector each keyword, the body sub achieve a minimal graph of FIG connecting each keyword in the art, while the minimum number of sub-picture; the search keyword combinations according to the relevant combinations of the individual clusters of related keywords to obtain a query result set, comprises: for each of a minimal FIG determine a minimal sub-query represented by the figure key and other nodes included in the configuration ; and the other nodes according to a keyword included in each sub-query search to get a minimal amount of the same sub-query result set of FIG; determining a query result set from the query result set for each sub-set configuration.

5.如权利要求4所述的方法，其特征在于，所述从所述查询结果集中获取相应个数的查询结果，具体包括: 根据每个子查询与给定查询的相关程度，从每个子查询结果集中获取相应个数的查询结果; 合并从各个子查询结果集中获取的查询结果。 5. The method according to claim 4, wherein said obtaining a corresponding number of query results from the query result set comprises: relevance to a query and a given sub-query based on each from each subquery acquiring a query result set corresponding to the result number; merge query results from each of the acquired sub-query result set.

6.如权利要求5所述的方法，其特征在于，所述根据每个子查询与给定查询的相关程度，从每个子查询结果集中获取相应个数的查询结果，具体包括: 确定每个最小子图的子图权重为 6. The method according to claim 5, characterized in that the extent relevant to a given query based on each sub-query results corresponding to the number of focus acquire from each sub-query result comprises: determining each of the most subgraph right guy chart weight

其中m为查询关键字的数量，ri为根据所述领域本体确定的相关关键字与相应的关键字的匹配值，E为该子图包括的边的数量; 根据每个最小子图的子图权重，从该最小子图对应的子查询结果集中获取相应个数的查询结果。 Wherein m is the number of query keywords, ri matching value according to related art of the body of the key corresponding to the determined keywords, the number of edges E that includes a subgraph; subgraph according to each of the smallest sub FIG. weight, corresponding to FIG from the smallest sub-sub-query result set a corresponding number obtaining query results.

7.如权利要求6所述的方法，其特征在于，所述根据每个最小子图的子图权重，从该最小子图对应的子查询结果集中获取相应个数的查询结果，具体包括:从该最小子图对应的子查询结果集中获取的查询结果为与该最小子图关联程度最大的前a个查询结果，a为不大于当前最小子图的子图权重与所有最小子图的子图权重和的比值的最大整数。 7. The method according to claim 6, characterized in that, according to the heavy weight of each sub-picture a minimal diagram, corresponding to FIG from the smallest sub-sub-query result set obtaining query results corresponding number comprises: promoter from the query result that a minimal view corresponding sub-query result set acquired maximum query result before the a-th degree associated with the smallest sub FIG, a is not greater than the current minimum sub FIG sub FIG weight of all the smallest sub-graph FIG largest integer and the ratio of the weight.

8.如权利要求4所述的方法，其特征在于，所述对获取的查询结果进行排序，获得多样化查询结果，具体包括: 对于每个查询结果，确定该查询结果与对应的最小子图的关联程度值； 对于每个查询结果，根据该查询结果与对应的最小子图的关联程度值以及该最小子图的子图权重，确定该查询结果的权重； 根据所述查询结果的权重，对获取的查询结果进行排序，获得多样化查询结果。 8. The method according to claim 4, wherein said acquisition order query results obtained diversification query result comprises: for each query result, it is determined that the query results corresponding to the smallest sub FIG. the degree of association values; for each query result, according to the subgraph weights the degree of association values ​​of the query results corresponding to the smallest sub-graph and a minimal FIG weight, determining the weight of the query result of the weight; according to the query result weights, query results obtained are sorted obtain diverse results.

9.如权利要求8所述的方法，其特征在于，所述根据该查询结果与对应的最小子图的关联程度值以及该最小子图的子图权重，确定该查询结果的权重，具体包括: 确定该查询结果的权重为该查询结果与对应的最小子图的关联程度值与该最小子图的子图权重的乘积。 9. The method according to claim 8, wherein the sub-picture in accordance with the degree of association weights of the query result value corresponding to the smallest sub-diagram and a minimal FIG weight of query results to determine the weight of the weight, comprises : determination of the weight of the query results for the query associated with a minimal value level of the corresponding results of FIG weight subgraph a minimal weight of the product of FIG.

10.如权利要求8所述的方法，其特征在于，所述根据所述查询结果的权重，对获取的查询结果进行排序，具体包括: 直接按照所述查询结果的权重大小，对获取的查询结果进行排序；或者确定权重最大的查询结果为排在第一位的查询结果，并确定每两个查询结果之间的相似程度值；对于其它查询结果，确定每个查询结果的相似权重为， d'eD其中，s为查询结果的权重，d为当前查询结果，D为已排序的查询结果构成的集合，similarity (d, d')为d和d'的相似程度值；按照所述相似权重的大小，对除排在第一位的查询结果外的查询结果进行递归排序。 Queries to obtain the right to directly query result according to the major small: 10. The method according to claim 8, wherein said query result according to the weight of the weight of the obtained query results to sort, comprises sort results; or determining the maximum weight for the query results in the first row of the query result, and determines the degree of similarity values ​​between each two results of the query; query results for other, similar determination results of each query is a weight, d'eD wherein s is the right weight query result, d is the current query results, set d is configured sorted query result, similarity (d, d ') is d and d' the value of the degree of similarity; according to the similarity the weight size, except for the query results query results came in the first place outside of recursive sort.

11.一种查询结果多样化装置，其特征在于，包括: 关键字确定单元，用于根据给定查询的关键字集合，确定该关键字集合在领域本体中的相关关键字组合集； 查询单元，用于根据所述相关关键字组合集中的各个相关关键字组合进行搜索，获得查询结果集； 查询结果获取单元，用于从所述查询结果集中获取相应个数的查询结果； 排序单元，用于对获取的查询结果进行排序，获得多样化查询结果。 A query result diversity apparatus comprising: a keyword determination unit, based on the keyword set for a given query, it is determined that the set of keywords in the domain ontology combined set of related keywords; query unit , according to the search for keywords related to the combined set of related keywords various combinations to obtain query results; query result obtaining unit, configured to obtain a corresponding number of query result set from the query results; sorting unit, with to get query results are sorted, obtaining diverse results.

12.如权利要求11所述的装置，其特征在于，所述关键字确定单元具体用于: 根据给定查询每个关键字，确定该关键字在所述领域本体中的相关关键字； 根据各个相关关键字，确定相关关键字组合集。 12. The apparatus of claim 11, wherein the keyword determination unit is configured to: according to a given query each keyword, the keyword determining Related keywords in the domain ontology; according all relevant keywords, identify relevant keyword combinations set.

14.如权利要求11所述的装置，其特征在于，所述关键字确定单元还用于: 在所述根据给定查询的关键字集合，确定该关键字集合在领域本体中的相关关键字组合集后: 对于相关关键字组合集中的每个相关关键字组合，从领域本体抽取连接各个关键字的最小子图，所述最小子图为实现连接各关键字的领域本体子图中，边数最少的子图； 所述查询单元具体用于: 对于每个最小子图，确定由该最小子图中包括的关键字及其它节点构成子查询； 根据每个子查询中包括的关键字及其它节点进行搜索，获得与最小子图数量相同的子查询结果集； 确定查询结果集为各个子查询结果集构成的集合。 14. The apparatus of claim 11, wherein the keyword determination unit is further configured to: a keyword in the given set of queries according to the determined set of keywords in the domain ontology relevant keywords after the combined set: for each related keyword group related keywords combined set of extracted keyword a minimal showing the connection from the respective domain ontology, the ontology achieve a minimal graph connected subgraphs each keyword in the art, while minimum number of sub-picture; the inquiry unit is configured to: for each of a minimal FIG determined keywords, and other sub-query represented by the nodes constituting a minimal FIG included; according to each sub-query comprises keywords and other search node, obtain a minimal number of sub-view of the same query result set; determining a query result set from the query result set for each sub-set configuration.

15.如权利要求14所述的装置，其特征在于，所述查询结果获取单元具体用于: 根据每个子查询给定查询的相关程度，从每个子查询结果集中获取相应个数的查询结果； 合并从各个子查询结果集中获取的查询结果。 15. The apparatus according to claim 14, wherein said query result obtaining unit is specifically configured to: query relevance to a given query according to each sub-query results corresponding to the number of focus acquire from each sub-query results; Combining query result set from each sub-query results obtained.

16.如权利要求15所述的装置，其特征在于，所述查询结果获取单元具体用于: 确定每个最小子图的子图权重为 16. The apparatus according to claim 15, wherein said query result obtaining unit is specifically configured to: determine the weight of each sub-picture of a minimal weight of FIG.

其中m为查询关键字的数量，ri为根据所述领域本体确定的相关关键字与相应的关键字的匹配值，E为该子图包括的边的数量; 根据每个最小子图的子图权重，从该最小子图对应的子查询结果集中获取相应个数的查询结果； 合并从各个子查询结果集中获取的查询结果。 Wherein m is the number of query keywords, ri matching value according to related art of the body of the key corresponding to the determined keywords, the number of edges E that includes a subgraph; subgraph according to each of the smallest sub FIG. weight, corresponding to FIG from the smallest sub-sub-query result set a corresponding number obtaining query results; merge query results from each of the acquired sub-query result set.

17.如权利要求16所述的装置，其特征在于，所述查询结果获取单元根据每个最小子图的子图权重，从该最小子图对应的子查询结果集中获取相应个数的查询结果，具体包括: 从该最小子图对应的子查询结果集中获取的查询结果为与该最小子图关联程度最大的前a个查询结果，a为不大于当前最小子图的子图权重与所有最小子图的子图权重和的比值的最大整数。 17. The apparatus according to claim 16, wherein said query result obtaining unit weight of the weight of each sub-picture in accordance with a minimal FIG acquires a query result from a corresponding number of sub-query results corresponding to a minimal concentration of FIG. comprises: query results corresponding to the the smallest sub FIG sub-query result set acquired maximum query result before the a-th degree associated with the smallest sub FIG, a is not greater than the current minimum sub FIG sub FIG weight of all of the most subgraph maximum integer weights of heavy and FIG kid ratio.

18.如权利要求14所述的装置，其特征在于，所述排序单元具体用于: 对于每个查询结果，确定该查询结果与对应的最小子图的关联程度值； 对于每个查询结果，根据该查询结果与对应的最小子图的关联程度值以及该最小子图的子图权重，确定该查询结果的权重； 根据所述查询结果的权重，对获取的查询结果进行排序，获得多样化查询结果。 18. The apparatus according to claim 14, wherein said ranking unit is configured to: for each query result, determining a minimal value of the degree of association of the FIG corresponding to the query result; for each query result, the subgraph weights the degree of association values ​​of the query results corresponding to the smallest sub-graph and a minimal FIG weight, determined that the query results weights; according to the query result of the weight of the query result acquired sort obtain diversification search result.

19.如权利要求18所述的装置，其特征在于，所述排序单元根据该查询结果与对应的最小子图的关联程度值以及该最小子图的子图权重，确定该查询结果的权重，具体包括: 确定该查询结果的权重为该查询结果与对应的最小子图的关联程度值与该最小子图的子图权重的乘积。 19. The apparatus according to claim 18, wherein said sorting unit according to the degree of association weights subgraph query result value corresponding to the smallest sub-graph and a minimal FIG weight of query results to determine the weight of the weight, comprises: determining the weight of the query result for the query result value corresponding to the degree of association of a minimal FIG subgraph heavy weight of the product of a minimal FIG.

20.如权利要求18所述的装置，其特征在于，所述排序单元根据所述查询结果的权重，对获取的查询结果进行排序，具体包括: 直接按照所述查询结果的权重大小，对获取的查询结果进行排序；或者确定权重最大的查询结果为排在第一位的查询结果，并确定每两个查询结果之间的相似程度值；对于其它查询结果，确定每个查询结果的相似权重为， 20. The apparatus according to claim 18, wherein said sorting unit according to the weight of the weight of the query result of the query result acquired sort, comprises: a direct result of the query according to the weight of the major small, to obtain query results will be sorted; or determining the maximum weight for the query results in the first row of the query result, and determines the degree of similarity values ​​between each two results of the query; query results for other, similar determination results of each query weight for,

其中，S为查询结果的权重，d为当前查询结果，D为已排序的查询结果构成的集合，similarity (d, d')为d和d'的相似程度值；按照所述相似权重的大小，对除排在第一位的查询结果外的查询结果进行递归排序。 Wherein, S is the query result of the weight, d query result is the current, set D consisting of the query results sorted, Similarity (d, d ') is d and d' degree of similarity values; weight according to a similar weight size , except for the query results query results came in the first place outside of recursive sort.