CN105528430A - Method and device for determining weights of search terms - Google Patents
Method and device for determining weights of search terms Download PDFInfo
- Publication number
- CN105528430A CN105528430A CN201510917486.XA CN201510917486A CN105528430A CN 105528430 A CN105528430 A CN 105528430A CN 201510917486 A CN201510917486 A CN 201510917486A CN 105528430 A CN105528430 A CN 105528430A
- Authority
- CN
- China
- Prior art keywords
- search
- value
- key
- item
- probability
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/951—Indexing; Web crawling techniques
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明公开了一种确定搜索项的权重的方法和装置。该方法包括:获取搜索数据对的集合;其中所述搜索数据对包括:搜索词和对应的搜索结果内容;根据搜索数据对的集合,确定各搜索词中包含的各搜索项在搜索结果内容中出现的概率;根据各搜索项在搜索结果内容中出现的概率,确定各搜索项的权重。通过本发明的技术方案,可以充分考虑出现在搜索结果中的各搜索项内容的重要性,大规模地挖掘搜索数据对中片段及片段包含的各搜索项在搜索结果中出现的概率,并根据挖掘出的概率,确定各搜索项的权重。
The invention discloses a method and a device for determining the weight of a search item. The method includes: obtaining a collection of search data pairs; wherein the search data pairs include: search words and corresponding search result content; according to the search data pair collection, it is determined that each search item included in each search term is included in the search result content Probability of occurrence: Determine the weight of each search item according to the probability of each search item appearing in the search result content. Through the technical solution of the present invention, the importance of the content of each search item appearing in the search results can be fully considered, and the search data pair fragments and the probability of each search item included in the fragments appearing in the search results can be excavated on a large scale, and according to The mined probability determines the weight of each search term.
Description
技术领域technical field
本发明涉及数据处理技术领域,具体涉及一种确定搜索项的权重的方法和装置。The present invention relates to the technical field of data processing, in particular to a method and device for determining the weight of a search item.
背景技术Background technique
随着计算机网络技术的发展,通过网络搜索数据越来越普遍,而随着网络信息量越来越庞大,用户可以搜索到的数据也越来越多,如何根据用户的需求,在海量的数据中为用户提供最精准的信息,提高搜索效率,成为各大搜索引擎要解决的问题。With the development of computer network technology, it is more and more common to search for data through the Internet, and as the amount of network information becomes larger and larger, users can search for more and more data. To provide users with the most accurate information and improve search efficiency has become a problem to be solved by major search engines.
在现有技术中,根据搜索词中各搜索项(term)的权重来给出搜索结果,以在海量的数据中为用户提供最精准的搜索结果信息。但是搜索词中的各搜索项的权重如何计算才能给出准确的搜索结果却是亟需解决的问题In the prior art, search results are given according to the weight of each search term (term) in the search word, so as to provide users with the most accurate search result information among massive data. However, how to calculate the weight of each search item in the search term to give accurate search results is an urgent problem to be solved.
发明内容Contents of the invention
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的确定搜索项的权重的方法和装置。In view of the above problems, the present invention is proposed to provide a method and device for determining weights of search terms that overcome the above problems or at least partly solve the above problems.
依据本发明的一个方面,提供了一种确定搜索项的权重的方法,该方法包括:According to one aspect of the present invention, a method for determining the weight of a search term is provided, the method comprising:
获取搜索数据对的集合;其中所述搜索数据对包括:搜索词和对应的搜索结果内容;Obtain a collection of search data pairs; wherein the search data pairs include: search terms and corresponding search result content;
根据搜索数据对的集合,确定各搜索词中包含的各搜索项在搜索结果内容中出现的概率;According to the collection of search data pairs, determine the probability that each search item contained in each search term appears in the content of the search result;
根据各搜索项在搜索结果内容中出现的概率,确定各搜索项的权重。The weight of each search item is determined according to the probability of each search item appearing in the search result content.
可选地,所述根据搜索数据对的集合,确定各搜索词中包含的各搜索项在搜索结果内容中出现的概率包括:Optionally, according to the set of search data pairs, determining the probability that each search item contained in each search word appears in the search result content includes:
对于搜索数据对集合中的各搜索数据对,确定从各搜索数据对的搜索词能够得到的各连续的片段;For each search data pair in the search data pair set, determine each continuous segment that can be obtained from the search term of each search data pair;
以片段为键,并以该片段包含的各搜索项在该片段所在的搜索词对应的搜索结果内容中是否出现的情况为值,输出键值对;Use the fragment as the key, and use whether each search item contained in the fragment appears in the search result content corresponding to the search word where the fragment is located as the value, and output the key-value pair;
在输出的键值对集合中,通过统计键相同的各键值对中的值,得到该键中的各搜索项在搜索结果内容中出现的概率。In the output key-value pair set, the probability of each search item in the key appearing in the search result content is obtained by counting the values in each key-value pair with the same key.
可选地,所述获取搜索数据对的集合包括:Optionally, said obtaining a collection of search data pairs includes:
从搜索引擎点击日志中获取搜索数据对组成集合。Get search data pairs from search engine click logs to form a collection.
可选地,所述以该片段包含的各搜索项在该片段所在的搜索词对应的搜索结果内容中是否出现的情况为值包括:Optionally, taking as a value whether each search item included in the segment appears in the search result content corresponding to the search term where the segment is located includes:
确定该片段中包含的搜索项数N,N为自然数;Determine the number N of search items contained in the fragment, where N is a natural number;
以N位的二进制数作为所述的值,且用每位二进制数的两种可能取值表示对应的搜索项在对应的搜索结果内容中是否出现。An N-bit binary number is used as the value, and two possible values of each binary number indicate whether the corresponding search item appears in the corresponding search result content.
可选地,所述通过统计键相同的各键值对中的值,得到该键中的各搜索项在搜索结果内容中出现的概率包括:Optionally, obtaining the probability that each search item in the key appears in the search result content by counting the values in each key-value pair with the same key includes:
对于该相同的键中的每个搜索项,统计该搜索项在所述键相同的各键值对的值中表现为在搜索结果内容中出现的次数,记为第一数值;For each search item in the same key, count the number of times the search item appears in the search result content in the value of each key-value pair with the same key, and record it as the first value;
统计所述键相同的各键值对的个数,记为第二数值;Counting the number of key-value pairs with the same key as the second value;
根据所述第一数值和第二数值的比值,确定该搜索项在搜索结果内容中出现的概率。According to the ratio of the first numerical value to the second numerical value, the probability of the search item appearing in the search result content is determined.
可选地,所述以该片段包含的各搜索项在该片段所在的搜索词对应的搜索结果内容中是否出现的情况为值包括:确定该片段中包含的搜索项数N,N为自然数;以N位的二进制数作为所述的值,且用每位二进制数取值1时表示对应的搜索项在对应的搜索结果内容出现,取值0时表示未出现;Optionally, taking whether each search item included in the segment appears in the search result content corresponding to the search term where the segment is located as a value includes: determining the number N of search items contained in the segment, where N is a natural number; Use an N-bit binary number as the value, and when each binary number takes a value of 1, it means that the corresponding search item appears in the corresponding search result content, and when it takes a value of 0, it means that it does not appear;
所述通过统计键相同的各键值对中的值,得到该键中的各搜索项在搜索结果内容中出现的概率包括:对于该相同的键中的每个搜索项,统计该搜索项在所述键相同的各键值对的值中取值为1次数,记为第一数值;Obtaining the probability of each search item in the key appearing in the search result content by counting the values in each key-value pair with the same key includes: for each search item in the same key, counting the search item in the search result The value of each key-value pair with the same key is 1 times, which is recorded as the first value;
统计所述键相同的各键值对的个数,记为第二数值;Counting the number of key-value pairs with the same key as the second value;
根据所述第一数值和第二数值的比值,确定该搜索项在搜索结果内容中出现的概率。According to the ratio of the first numerical value to the second numerical value, the probability of the search item appearing in the search result content is determined.
可选地,所述搜索结果内容为如下中任意一种;Optionally, the search result content is any of the following;
搜索结果页的标题;the title of the search results page;
搜索结果页的摘要;A summary of the search results page;
搜索结果页的全部内容。The entire content of the search results page.
可选地,该方法进一步包括:Optionally, the method further includes:
将各搜索项和对应的权重保存到权重数据库中;Save each search term and the corresponding weight in the weight database;
在接收到搜索词时,将该搜索词切分为多个搜索项;When a search term is received, the search term is divided into multiple search terms;
从所述权重数据库中获取该多个搜索项分别对应的权重;Acquiring the respective weights corresponding to the plurality of search items from the weight database;
根据该多个搜索项分别对应的权重进行搜索处理。The search process is performed according to the respective weights corresponding to the multiple search items.
依据本发明的另一个方面,提供了一种确定搜索项的权重的装置,其中,该装置包括:According to another aspect of the present invention, a device for determining the weight of a search term is provided, wherein the device includes:
数据获取单元,适于获取搜索数据对的集合;其中该搜索数据对包括:搜索词和对应的搜索结果内容;The data acquisition unit is adapted to acquire a set of search data pairs; wherein the search data pairs include: search terms and corresponding search result content;
概率确定单元,适于根据搜索数据对的集合,确定各搜索词中包含的各搜索项在搜索结果内容中出现的概率;The probability determination unit is adapted to determine the probability that each search item included in each search term appears in the search result content according to the set of search data pairs;
权重确定单元,适于根据各搜索项在搜索结果内容中出现的概率,确定各搜索项的权重。The weight determination unit is adapted to determine the weight of each search item according to the probability of each search item appearing in the search result content.
可选地,所述概率确定单元,进一步包括:Optionally, the probability determination unit further includes:
键值对输出单元,适于对于搜索数据对集合中的各搜索数据对,确定从各搜索数据对的搜索词能够得到的各连续的片段;以片段为键,并以该片段包含的各搜索项在该片段所在的搜索词对应的搜索结果内容中是否出现的情况为值,输出键值对;The key-value pair output unit is adapted to, for each search data pair in the search data pair set, determine each continuous segment that can be obtained from the search term of each search data pair; use the segment as a key, and use each search segment contained in the segment Whether the item appears in the search result content corresponding to the search word where the fragment is located is the value, and the key-value pair is output;
统计单元,适于在输出的键值对集合中,通过统计键相同的各键值对中的值,得到该键中的各搜索项在搜索结果内容中出现的概率。The statistical unit is adapted to obtain the probability of each search item in the key appearing in the search result content by counting the values in each key-value pair with the same key in the output key-value pair set.
可选地,所述数据获取单元,适于从搜索引擎点击日志中获取搜索数据对组成集合。Optionally, the data obtaining unit is adapted to obtain search data pairs from search engine click logs to form a set.
可选地,所述键值对输出单元,适于确定该片段中包含的搜索项数N,N为自然数;以N位的二进制数作为所述的值,且用每位二进制数的两种可能取值表示对应的搜索项在对应的搜索结果内容中是否出现。Optionally, the key-value pair output unit is adapted to determine the number N of search items contained in the segment, where N is a natural number; an N-bit binary number is used as the value, and two types of each binary number are used Possible values indicate whether the corresponding search item appears in the corresponding search result content.
可选地,所述统计单元,适于对于该相同的键中的每个搜索项,统计该搜索项在所述键相同的各键值对的值中表现为在搜索结果内容中出现的次数,记为第一数值;Optionally, the statistical unit is adapted to, for each search item in the same key, count the number of times the search item appears in the search result content in the value of each key-value pair with the same key , recorded as the first value;
统计所述键相同的各键值对的个数,记为第二数值;根据所述第一数值和第二数值的比值,确定该搜索项在搜索结果内容中出现的概率。Counting the number of key-value pairs with the same key as the second value; determining the probability of the search item appearing in the search result content according to the ratio of the first value to the second value.
可选地,所述键值对输出单元,适于确定该片段中包含的搜索项数N,N为自然数;以N位的二进制数作为所述的值,且用每位二进制数取值1时表示对应的搜索项在对应的搜索结果内容出现,取值0时表示未出现;Optionally, the key-value pair output unit is adapted to determine the number N of search items contained in the segment, where N is a natural number; an N-bit binary number is used as the value, and each binary number takes a value of 1 When means that the corresponding search item appears in the corresponding search result content, when the value is 0, it means that it does not appear;
所述统计单元,适于对于该相同的键中的每个搜索项,统计该搜索项在所述键相同的各键值对的值中取值为1次数,记为第一数值;统计所述键相同的各键值对的个数,记为第二数值;根据所述第一数值和第二数值的比值,确定该搜索项在搜索结果内容中出现的概率。The statistical unit is adapted to, for each search item in the same key, count the number of times that the search item takes a value of 1 among the values of each key-value pair with the same key, and record it as the first value; The number of key-value pairs with the same key as the above is recorded as the second value; according to the ratio between the first value and the second value, the probability of the search item appearing in the search result content is determined.
可选地,所述搜索结果内容为如下中任意一种;Optionally, the search result content is any of the following;
搜索结果页的标题;the title of the search results page;
搜索结果页的摘要;A summary of the search results page;
搜索结果页的全部内容。The entire content of the search results page.
可选地,Optionally,
所述权重确定单元,进一步适于将各搜索项和对应的权重保存到权重数据库中;The weight determination unit is further adapted to save each search item and the corresponding weight in a weight database;
该装置进一步包括:The device further includes:
存储单元,适于存储所述权重数据库;a storage unit adapted to store the weight database;
搜索处理单元,适于在接收到搜索词时,将该搜索词切分为多个搜索项;从所述权重数据库中获取该多个搜索项分别对应的权重;根据该多个搜索项分别对应的权重进行搜索处理。The search processing unit is adapted to divide the search term into multiple search items when receiving the search term; obtain the respective weights corresponding to the multiple search items from the weight database; weights for search processing.
根据本发明的技术方案获取搜索数据对的集合,根据搜索数据对的集合,确定各搜索词中包含的各搜索项在搜索结果内容中出现的概率,根据各搜索项在搜索结果内容中出现的概率,确定各搜索项的权重。通过本发明的技术方案,可以充分考虑出现在搜索结果中的各搜索项内容的重要性,大规模地挖掘搜索数据中片段及片段包含的各搜索项在搜索结果中出现的概率,并根据挖掘出的概率,确定各搜索项的权重。According to the technical scheme of the present invention, a set of search data pairs is obtained, and according to the set of search data pairs, the probability of each search item contained in each search word appearing in the search result content is determined, and according to the probability of each search item appearing in the search result content Probability, which determines the weight of each search term. Through the technical solution of the present invention, the importance of the content of each search item appearing in the search results can be fully considered, and the fragments in the search data and the probability of each search item contained in the fragments appearing in the search results can be mined on a large scale, and according to the mining to determine the weight of each search term.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.
附图说明Description of drawings
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same components. In the attached picture:
图1示出了根据本发明一个实施例的一种确定搜索项的权重的方法的流程图;FIG. 1 shows a flowchart of a method for determining the weight of a search item according to an embodiment of the present invention;
图2示出了根据本发明一个实施例的一种确定搜索项的权重的装置的示意图;Fig. 2 shows a schematic diagram of a device for determining the weight of a search item according to an embodiment of the present invention;
图3示出了根据本发明另一个实施例的一种确定搜索项的权重的装置的概率确定单元示意图;Fig. 3 shows a schematic diagram of a probability determining unit of a device for determining the weight of a search item according to another embodiment of the present invention;
图4示出了根据本发明另一个实施例的一种确定搜索项的权重的装置的示意图。Fig. 4 shows a schematic diagram of an apparatus for determining the weight of a search item according to another embodiment of the present invention.
具体实施方式detailed description
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
图1示出了根据本发明一个实施例的一种确定搜索项的权重的方法流程图。如图1所示,该方法包括:Fig. 1 shows a flow chart of a method for determining the weight of a search item according to an embodiment of the present invention. As shown in Figure 1, the method includes:
步骤S110,获取搜索数据对的集合;其中搜索数据对包括:搜索词和对应的搜索结果内容。Step S110, obtaining a set of search data pairs; where the search data pairs include: search terms and corresponding search result content.
获取到的搜索数据对的集合中包括一个或多个搜索数据对。The obtained set of search data pairs includes one or more search data pairs.
步骤S120,根据搜索数据对的集合,确定各搜索词中包含的各搜索项在搜索结果内容中出现的概率。Step S120, according to the set of search data pairs, determine the probability that each search term included in each search term appears in the content of the search result.
步骤S130,根据各搜索项在搜索结果内容中出现的概率,确定各搜索项的权重。Step S130, determining the weight of each search item according to the probability of each search item appearing in the search result content.
图1所示的方法中给出了一种搜索词中的各搜索项在在搜索结果中的出现概率的精确计算方法,根据该方法所得到的概率可以进一步确定各搜索项的权重,从而根据各搜索项的权重给出搜索结果,大大提高了搜索引擎的准确性。The method shown in Figure 1 provides an accurate calculation method for the occurrence probability of each search item in the search word in the search result, and the weight of each search item can be further determined according to the probability obtained by this method, so that according to The weight of each search item gives the search results, which greatly improves the accuracy of the search engine.
在本发明的一个实施例中,图1所示方法中的步骤S120根据搜索数据对的集合,确定各搜索词中包含的各搜索项在搜索结果内容中出现的概率包括:In one embodiment of the present invention, the step S120 in the method shown in FIG. 1 determines the probability that each search term contained in each search word appears in the search result content according to the set of search data pairs, including:
步骤S121,对于搜索数据对集合中的各搜索数据对,确定从各搜索数据对的搜索词能够得到的各连续的片段。Step S121, for each search data pair in the search data pair set, determine each continuous segment that can be obtained from the search word of each search data pair.
步骤S122,以片段为键,并以该片段包含的各搜索项在该片段所在的搜索词对应的搜索结果内容中是否出现的情况为值,输出键值对。In step S122, a key-value pair is output using a segment as a key and whether each search term included in the segment appears in the search result corresponding to the search term where the segment is located as a value.
步骤S123,在输出的键值对集合中,通过统计键相同的各键值对中的值,得到该键中的各搜索项在搜索结果内容中出现的概率。Step S123, in the output key-value pair set, by counting the values in each key-value pair with the same key, the probability of each search item in the key appearing in the search result content is obtained.
在本发明的一个实施例中,图1所示方法中的步骤S110获取搜索数据对的集合包括:从搜索引擎点击日志中获取搜索数据对组成集合。In one embodiment of the present invention, obtaining a set of search data pairs in step S110 of the method shown in FIG. 1 includes: obtaining a set of search data pairs from search engine click logs.
从搜索引擎点击日志中获取搜索数据对组成集合,能够利用的数据量大,数据获取容易,并且由于其考虑到了用户请求和点击结果的相关性,更符合用户需求,相关度高。Obtaining search data pairs from search engine click logs to form a set can use a large amount of data, and data acquisition is easy, and because it takes into account the correlation between user requests and click results, it is more in line with user needs and has a high degree of relevance.
这里,从搜索引擎点击日志中获取的每对搜索数据对中,搜索词即为用户输入的搜索查询词,搜索结果内容是用户最终点击的一条搜索结果。可见,从搜索引擎点击日志中获取搜索数据对组成集合符合用户对搜索结果的期望。Here, in each pair of search data obtained from the search engine click log, the search word is the search query word entered by the user, and the content of the search result is a search result finally clicked by the user. It can be seen that the collection of search data pairs obtained from search engine click logs meets the user's expectations for search results.
在本发明的一个实施例中,步骤S122中所述以该片段包含的各搜索项在该片段所在的搜索词对应的搜索结果内容中是否出现的情况为值包括:In one embodiment of the present invention, in step S122, taking whether each search item included in the segment appears in the search result content corresponding to the search term where the segment is located as a value includes:
步骤S1221,确定该片段中包含的搜索项数N,N为自然数。Step S1221, determine the number N of search items contained in the segment, where N is a natural number.
步骤S1222,以N位的二进制数作为所述的值,且用每位二进制数的两种可能取值表示对应的搜索项在对应的搜索结果内容中是否出现。In step S1222, an N-bit binary number is used as the value, and two possible values of each binary number are used to indicate whether the corresponding search item appears in the corresponding search result content.
例如,一个片段包含三个搜索项,则用三位的二进制数作为值,且1表示对应的搜索项在该搜索数据对的搜索结果中出现,0表示未出现。则取值110表示该片段中的第一搜索项和第二搜索项在该搜索数据对的搜索结果中出现,第三搜索项在该搜索数据对的搜索结果中未出现。For example, if a segment contains three search items, a three-bit binary number is used as a value, and 1 indicates that the corresponding search item appears in the search result of the search data pair, and 0 indicates that it does not appear. A value of 110 indicates that the first search item and the second search item in the segment appear in the search results of the search data pair, and the third search item does not appear in the search results of the search data pair.
在本发明的一个实施例中,步骤S123中所述通过统计键相同的各键值对中的值,得到该键中的各搜索项在搜索结果内容中出现的概率包括:In one embodiment of the present invention, the probability of each search item in the key appearing in the search result content obtained by counting the values in each key-value pair with the same key as described in step S123 includes:
步骤S1231,对于该相同的键中的每个搜索项,统计该搜索项在键相同的各键值对的值中表现为在搜索结果内容中出现的次数,记为第一数值。Step S1231, for each search item in the same key, count the number of times the search item appears in the search result content in the values of the key-value pairs with the same key, and record it as the first value.
步骤S1232,统计键相同的各键值对的个数,记为第二数值。Step S1232, count the number of key-value pairs with the same key, and record it as the second value.
步骤S1233,根据第一数值和第二数值的比值,确定该搜索项在搜索结果内容中出现的概率。Step S1233, according to the ratio of the first value to the second value, determine the probability of the search item appearing in the search result content.
以片段“ABC”为例,有如下的键值对:【ABC,111】【ABC,100】【ABC,011】【ABC,101】【ABC,110】。Taking the segment "ABC" as an example, there are the following key-value pairs: [ABC, 111] [ABC, 100] [ABC, 011] [ABC, 101] [ABC, 110].
A搜索项在搜索结果中出现的概率=4/5=0.8;The probability that A search item appears in the search result = 4/5 = 0.8;
B搜索项在搜索结果中出现的概率=3/5=0.6;Probability of B search item appearing in the search result=3/5=0.6;
C搜索项在搜索结果中出现的概率=3/5=0.6。Probability of C search term appearing in the search result = 3/5 = 0.6.
在本发明的一个实施例中,步骤S122中所述以该片段包含的各搜索项在该片段所在的搜索词对应的搜索结果内容中是否出现的情况为值包括:In one embodiment of the present invention, in step S122, taking whether each search item included in the segment appears in the search result content corresponding to the search term where the segment is located as a value includes:
步骤S1221’,确定该片段中包含的搜索项数N,N为自然数。Step S1221', determine the number N of search items contained in the segment, where N is a natural number.
步骤S1222’,以N位的二进制数作为所述的值,且用每位二进制数取值1时表示对应的搜索项在对应的搜索结果内容出现,取值0时表示未出现。In step S1222', an N-bit binary number is used as the value, and when each binary number takes a value of 1, it indicates that the corresponding search item appears in the corresponding search result content, and when it takes a value of 0, it indicates that it does not appear.
则步骤S123中所述通过统计键相同的各键值对中的值,得到该键中的各搜索项在搜索结果内容中出现的概率包括:Then described in step S123, obtain the probability that each search item in the key appears in the search result content by counting the values in each key-value pair with the same key as follows:
步骤S1231’,对于该相同的键中的每个搜索项,统计该搜索项在键相同的各键值对的值中取值为1的次数,记为第一数值。Step S1231', for each search item in the same key, count the number of times the search item takes a value of 1 in the values of each key-value pair with the same key, and record it as the first numerical value.
步骤S1232’,统计键相同的各键值对的个数,记为第二数值。Step S1232', count the number of key-value pairs with the same key, and record it as the second value.
步骤S1233’,根据第一数值和第二数值的比值,确定该搜索项在搜索结果内容中出现的概率。Step S1233', according to the ratio of the first value to the second value, determine the probability of the search item appearing in the search result content.
在本发明的一个实施例中,图1所示方法中搜索结果内容为如下中任意一种;用户点击的搜索结果页的标题;用户点击的搜索结果页的摘要;用户点击的搜索结果页的全部内容。In one embodiment of the present invention, the search result content in the method shown in Figure 1 is any of the following: the title of the search result page clicked by the user; the summary of the search result page clicked by the user; the search result page clicked by the user all content.
例如,从搜索引擎点击日志中获取搜索数据对的集合,以搜索词为“ABCDE”、搜索结果页的标题内容为“FGACDHJ”的一对搜索数据对为例。从搜索词“ABCDE”能获得的连续的片段包括:For example, a collection of search data pairs is obtained from search engine click logs, taking a pair of search data pairs whose search word is "ABCDE" and title content of the search result page is "FGACDHJ" as an example. Consecutive segments obtained from the search term "ABCDE" include:
1.包含1个搜索项的片段:A,B,C,D,E。1. Fragment containing 1 search term: A, B, C, D, E.
2.包含2个搜索项的片段:AB,BC,CD,DE。2. Fragment containing 2 search terms: AB, BC, CD, DE.
3.包含3个搜索项的片段:ABC,BCD,CDE。3. A fragment containing 3 search terms: ABC, BCD, CDE.
4.包含4个搜索项的片段:ABCD,BCDE。4. A fragment containing 4 search terms: ABCD, BCDE.
5.包含5个搜索项的片段:ABCDE。5. Fragment containing 5 search terms: ABCDE.
以每个片段为键,并以该片段包含的各搜索项在该搜索数据对的搜索结果内容中是否出现的情况为值,输出关于该搜索数据对的键值对。本例中,在搜索结果中出现的搜索项为A、C和D,则确定A、C和D对应的值为1,其余未出现的各搜索项内容对应的值为0。对这个搜索词和对应的搜索结果内容进行处理,可以输出如下键值对:Using each segment as a key, and using whether each search item included in the segment appears in the search result content of the search data pair as a value, output a key-value pair about the search data pair. In this example, if the search items that appear in the search results are A, C, and D, it is determined that the values corresponding to A, C, and D are 1, and the values corresponding to the contents of other search items that do not appear are 0. To process the search term and the corresponding search result content, the following key-value pairs can be output:
1.包含1个搜索项的片段:A:1,B:0,C:1,D:1,E:0。1. Fragment containing 1 search term: A:1,B:0,C:1,D:1,E:0.
2.包含2个搜索项的片段:AB:10,BC:01,CD:11,DE:10。2. Fragment containing 2 search terms: AB:10, BC:01, CD:11, DE:10.
3.包含3个搜索项的片段:ABC:101,BCD:011,CDE:110。3. A fragment containing 3 search terms: ABC:101, BCD:011, CDE:110.
4.包含4个搜索项的片段:ABCD:1011,BCDE:0110。4. A fragment containing 4 search terms: ABCD:1011, BCDE:0110.
5.包含5个搜索项的片段:ABCDE:10110。5. Fragment containing 5 search terms: ABCDE:10110.
对每一对搜索数据对都进行如上处理过程,处理完搜索数据对的集合的所有搜索词和对应的搜索结果内容后,获得键值对集合。在键值对集合中对键相同的各键值对中的值进行统计,对于该相同的键中的每个搜索项,统计该搜索项在键相同的各键值对的值中取值为1的次数,记为第一数值;统计键相同的各键值对的个数,记为第二数值;根据第一数值和第二数值的比值,确定该搜索项在搜索结果内容中出现的概率。以A、B和C为例,假设在相同键“ABC”的各键值对中,统计各搜索项在搜索结果内容中出现的概率,可以得到类似如下数据:The above processing is performed on each pair of search data pairs, and after processing all search words and corresponding search result contents in the search data pair set, a key-value pair set is obtained. In the key-value pair set, count the values in each key-value pair with the same key, and for each search item in the same key, count the value of the search item in the values of each key-value pair with the same key The number of times of 1 is recorded as the first value; the number of key-value pairs with the same key is counted as the second value; according to the ratio of the first value to the second value, determine the occurrence of the search item in the search result content probability. Taking A, B, and C as examples, assuming that in each key-value pair with the same key "ABC", the probability of each search item appearing in the search result content is counted, and data similar to the following can be obtained:
ABC:0.7,0.3,0.9。ABC: 0.7, 0.3, 0.9.
该数据表示如下含义:所有包含片段“ABC”的搜索数据对中,点击的搜索结果里包含A的概率是0.7,包含B的概率是0.3,包含C的概率是0.9。因此可以认为A和C的重要性比较高,而B的重要性比较低。The data indicates the following meaning: among all the search data pairs containing the segment "ABC", the probability of including A in the clicked search result is 0.7, the probability of containing B is 0.3, and the probability of containing C is 0.9. Therefore, it can be considered that the importance of A and C is relatively high, while the importance of B is relatively low.
在本发明的一个实施例中,将各搜索项和对应的权重保存到权重数据库中,则在上述基础上,该方法进一步包括:In one embodiment of the present invention, each search item and the corresponding weight are stored in the weight database, then on the basis of the above, the method further includes:
步骤S140,在接收到搜索词时,将该搜索词切分为多个搜索项。Step S140, when a search term is received, the search term is divided into multiple search items.
步骤S150,从权重数据库中获取该多个搜索项分别对应的权重。Step S150, acquiring the respective weights corresponding to the multiple search items from the weight database.
步骤S160,根据该多个搜索项分别对应的权重进行搜索处理。In step S160, search processing is performed according to the weights corresponding to the plurality of search items.
利用得到的概率计算片段中各搜索项的权重,因为概率计算过程考虑了搜索结果中的各搜索项内容的重要性,所以该权重更符合用户需求,准确度高,将所得权重保存到权重数据库中,在在线搜索过程中,利用该权重进行搜索处理,能有效提高搜索引擎的搜索质量。Use the obtained probability to calculate the weight of each search item in the segment. Because the probability calculation process takes into account the importance of each search item in the search result, the weight is more in line with user needs and has high accuracy. Save the obtained weight to the weight database In the online search process, using this weight for search processing can effectively improve the search quality of the search engine.
图2示出了根据本发明一个实施例的一种确定搜索项的权重的装置示意图,如图2所示,该确定搜索项的权重的装置200包括:FIG. 2 shows a schematic diagram of an apparatus for determining the weight of a search item according to an embodiment of the present invention. As shown in FIG. 2 , the apparatus 200 for determining the weight of a search item includes:
数据获取单元210,适于获取搜索数据对的集合;其中该搜索数据对包括:搜索词和对应的搜索结果内容。The data acquiring unit 210 is adapted to acquire a set of search data pairs; wherein the search data pairs include: search terms and corresponding search result content.
概率确定单元220,适于根据搜索数据对的集合,确定各搜索词中包含的各搜索项在搜索结果内容中出现的概率。The probability determination unit 220 is adapted to determine the probability that each search item included in each search term appears in the content of the search result according to the set of search data pairs.
权重确定单元230,适于根据各搜索项在搜索结果内容中出现的概率,确定各搜索项的权重。The weight determining unit 230 is adapted to determine the weight of each search item according to the probability of each search item appearing in the search result content.
图3示出了根据本发明另一个实施例的一种确定搜索项的权重的装置的概率确定单元示意图,如图3所示,概率确定单元220进一步包括:Fig. 3 shows a schematic diagram of a probability determination unit of an apparatus for determining the weight of a search item according to another embodiment of the present invention. As shown in Fig. 3, the probability determination unit 220 further includes:
键值对输出单元221和统计单元222。A key-value pair output unit 221 and a statistics unit 222 .
键值对输出单元221,适于对于搜索数据对集合中的各搜索数据对,确定从各搜索数据对的搜索词能够得到的各连续的片段;以片段为键,并以该片段包含的各搜索项在该片段所在的搜索词对应的搜索结果内容中是否出现的情况为值,输出键值对。The key-value pair output unit 221 is adapted to, for each search data pair in the search data pair set, determine each continuous segment that can be obtained from the search words of each search data pair; use the segment as a key, and use each segment contained in the segment Whether the search item appears in the search result content corresponding to the search word where the fragment is located is the value, and the key-value pair is output.
统计单元222,适于在输出的键值对集合中,通过统计键相同的各键值对中的值,得到该键中的各搜索项在搜索结果内容中出现的概率。The statistical unit 222 is adapted to obtain the probability that each search item in the key appears in the search result content by counting the values in each key-value pair with the same key in the output key-value pair set.
在本发明的一个实施例中,数据获取单元210,适于从搜索引擎点击日志中获取搜索数据集。In one embodiment of the present invention, the data acquisition unit 210 is adapted to acquire the search data set from the click log of the search engine.
在本发明的一个实施例中,键值对输出单元221,适于确定该片段中包含的搜索项数N,N为自然数;以N位的二进制数作为所述的值,且用每位二进制数的两种可能取值表示对应的搜索项在对应的搜索结果内容中是否出现。In one embodiment of the present invention, the key-value pair output unit 221 is adapted to determine the number N of search items contained in the segment, where N is a natural number; an N-bit binary number is used as the value, and each bit of binary The two possible values of the number indicate whether the corresponding search item appears in the corresponding search result content.
在本发明的一个实施例中,统计单元222,适于对于该相同的键中的每个搜索项,统计该搜索项在键相同的各键值对的值中表现为在搜索结果内容中出现的次数,记为第一数值;统计键相同的各键值对的个数,记为第二数值;根据所述第一数值和第二数值的比值,确定该搜索项在搜索结果内容中出现的概率。In one embodiment of the present invention, the statistical unit 222 is adapted to, for each search item in the same key, count the search item in the value of each key-value pair with the same key as appearing in the content of the search result The number of times, recorded as the first value; counting the number of key-value pairs with the same key, recorded as the second value; according to the ratio of the first value and the second value, determine that the search item appears in the search result content The probability.
例如,键值对输出单元221,适于确定该片段中包含的搜索项数N,N为自然数;以N位的二进制数作为所述的值,且用每位二进制数取值1时表示对应的搜索项在对应的搜索结果内容出现,取值0时表示未出现。For example, the key-value pair output unit 221 is adapted to determine the number N of search items contained in the segment, and N is a natural number; the binary number of N bits is used as the value, and when each bit of the binary number takes a value of 1, it represents the corresponding The search item of appears in the corresponding search result content, and a value of 0 indicates that it does not appear.
相应地,统计单元222,适于对于该相同的键中的每个搜索项,统计该搜索项在键相同的各键值对的值中取值为1的次数,记为第一数值;统计键相同的各键值对的个数,记为第二数值;根据第一数值和第二数值的比值,确定该搜索项在搜索结果内容中出现的概率。Correspondingly, the statistical unit 222 is suitable for each search item in the same key, and counts the number of times the search item takes a value of 1 in the values of each key-value pair with the same key, and records it as the first numerical value; The number of key-value pairs with the same key is recorded as the second value; according to the ratio of the first value to the second value, the probability of the search item appearing in the search result content is determined.
在本发明的一个实施例中,搜索结果内容为如下中任意一种;In an embodiment of the present invention, the content of the search result is any of the following;
搜索结果页的标题;the title of the search results page;
搜索结果页的摘要;A summary of the search results page;
搜索结果页的全部内容。The entire content of the search results page.
图4示出了根据本发明另一个实施例的一种确定搜索项的权重的装置示意图,如图4所示,该确定搜索项的权重的装置300包括:数据获取单元310、概率确定单元320、权重确定单元330、存储单元340和搜索处理单元350。FIG. 4 shows a schematic diagram of an apparatus for determining the weight of a search item according to another embodiment of the present invention. As shown in FIG. 4 , the apparatus 300 for determining the weight of a search item includes: a data acquisition unit 310, a probability determination unit 320 , a weight determination unit 330 , a storage unit 340 and a search processing unit 350 .
其中,数据获取单元310、概率确定单元320和权重确定单元330与上文所述的数据获取单元210、概率确定单元220和权重确定单元230对应相同,在此不再赘述。Wherein, the data acquisition unit 310, the probability determination unit 320, and the weight determination unit 330 are correspondingly the same as the data acquisition unit 210, the probability determination unit 220, and the weight determination unit 230 described above, and will not be repeated here.
在本实施例中,所述权重确定单元330,进一步适于将各搜索项和对应的权重保存到权重数据库中;In this embodiment, the weight determining unit 330 is further adapted to save each search item and the corresponding weight in the weight database;
存储单元340,适于存储所述权重数据库;a storage unit 340, adapted to store the weight database;
搜索处理单元350,适于在接收到搜索词时,将该搜索词切分为多个搜索项;从所述权重数据库中获取该多个搜索项分别对应的权重;根据该多个搜索项分别对应的权重进行搜索处理。The search processing unit 350 is adapted to divide the search term into multiple search terms when receiving the search term; obtain weights corresponding to the multiple search terms from the weight database; The corresponding weights are searched for.
需要说明的是,图2到图4所示装置的各实施例与上文图1所示方法的各实施例对应相同,上文已详细说明,在此不再赘述。It should be noted that the embodiments of the apparatus shown in FIG. 2 to FIG. 4 are correspondingly the same as the embodiments of the method shown in FIG. 1 above, which have been described in detail above and will not be repeated here.
综上所述,根据本发明的技术方案获取搜索数据对的集合,根据搜索数据对的集合,确定各搜索词中包含的各搜索项在搜索结果内容中出现的概率,根据各搜索项在搜索结果内容中出现的概率,确定各搜索项的权重,并保存到权重数据库中。本发明从搜索引擎点击日志中获取搜索数据对集合,能够利用的数据量大,数据获取容易,并且由于其考虑到了用户请求和点击结果的相关性,更符合用户需求,相关度高。通过本发明的技术方案,可以充分考虑出现在搜索结果中的各搜索项内容的重要性,大规模地挖掘搜索数据对中片段及片段包含的各搜索项在搜索结果中出现的概率,同时,利用得到的概率计算片段中各搜索项的权重,所得的权重更符合用户需求,准确度高,将所得权重保存到权重数据库中,在在线搜索过程中,利用该权重进行搜索处理,能有效提高搜索引擎的搜索质量。To sum up, according to the technical solution of the present invention, a set of search data pairs is obtained, and according to the set of search data pairs, the probability of each search item included in each search term appearing in the search result content is determined, and according to the search term of each search item The probability of occurrence in the result content determines the weight of each search item and saves it in the weight database. The present invention obtains the set of search data pairs from the search engine click log, which can use a large amount of data and is easy to obtain data, and because it takes into account the correlation between user requests and click results, it is more in line with user needs and has a high degree of correlation. Through the technical solution of the present invention, the importance of the content of each search item appearing in the search results can be fully considered, and the search data pair fragments and the probability of each search item included in the fragments appearing in the search results can be excavated on a large scale. At the same time, Use the obtained probability to calculate the weight of each search item in the segment. The obtained weight is more in line with user needs and has high accuracy. The obtained weight is saved in the weight database. During the online search process, using this weight for search processing can effectively improve Search engine search quality.
需要说明的是:It should be noted:
在此提供的算法和显示不与任何特定计算机、虚拟装置或者其它设备固有相关。各种通用装置也可以与基于在此的示教一起使用。根据上面的描述,构造这类装置所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays presented herein are not inherently related to any particular computer, virtual appliance, or other device. Various general purpose devices can also be used with the teachings based on this. The structure required to construct such an apparatus will be apparent from the foregoing description. Furthermore, the present invention is not specific to any particular programming language. It should be understood that various programming languages can be used to implement the contents of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method or method so disclosed may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments described herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的确定搜索项的权重的装置中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all functions of some or all of the components in the device for determining the weight of a search item according to an embodiment of the present invention . The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510917486.XA CN105528430B (en) | 2015-12-10 | 2015-12-10 | A kind of method and apparatus of the weight of determining search terms |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510917486.XA CN105528430B (en) | 2015-12-10 | 2015-12-10 | A kind of method and apparatus of the weight of determining search terms |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105528430A true CN105528430A (en) | 2016-04-27 |
CN105528430B CN105528430B (en) | 2019-05-31 |
Family
ID=55770653
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510917486.XA Active CN105528430B (en) | 2015-12-10 | 2015-12-10 | A kind of method and apparatus of the weight of determining search terms |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105528430B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109933714A (en) * | 2019-03-18 | 2019-06-25 | 北京搜狗科技发展有限公司 | A kind of calculation method, searching method and the relevant apparatus of entry weight |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5278980A (en) * | 1991-08-16 | 1994-01-11 | Xerox Corporation | Iterative technique for phrase query formation and an information retrieval system employing same |
CN102193932A (en) * | 2010-03-09 | 2011-09-21 | 北京金山软件有限公司 | Method and system for determining search term |
CN102289436A (en) * | 2010-06-18 | 2011-12-21 | 阿里巴巴集团控股有限公司 | Method and device for determining weighted value of search term and method and device for generating search results |
CN103150362A (en) * | 2013-02-28 | 2013-06-12 | 北京奇虎科技有限公司 | Video search method and system |
CN104361115A (en) * | 2014-12-01 | 2015-02-18 | 北京奇虎科技有限公司 | A method and device for determining entry weight based on common clicks |
CN104376115A (en) * | 2014-12-01 | 2015-02-25 | 北京奇虎科技有限公司 | Fuzzy word determining method and device based on global search |
CN104615723A (en) * | 2015-02-06 | 2015-05-13 | 百度在线网络技术(北京)有限公司 | Determining method and device of search term weight value |
CN104636403A (en) * | 2013-11-15 | 2015-05-20 | 腾讯科技(深圳)有限公司 | Query request processing method and device |
CN105095381A (en) * | 2015-06-30 | 2015-11-25 | 北京奇虎科技有限公司 | Method and device for new word identification |
-
2015
- 2015-12-10 CN CN201510917486.XA patent/CN105528430B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5278980A (en) * | 1991-08-16 | 1994-01-11 | Xerox Corporation | Iterative technique for phrase query formation and an information retrieval system employing same |
CN102193932A (en) * | 2010-03-09 | 2011-09-21 | 北京金山软件有限公司 | Method and system for determining search term |
CN102289436A (en) * | 2010-06-18 | 2011-12-21 | 阿里巴巴集团控股有限公司 | Method and device for determining weighted value of search term and method and device for generating search results |
CN103150362A (en) * | 2013-02-28 | 2013-06-12 | 北京奇虎科技有限公司 | Video search method and system |
CN104636403A (en) * | 2013-11-15 | 2015-05-20 | 腾讯科技(深圳)有限公司 | Query request processing method and device |
CN104361115A (en) * | 2014-12-01 | 2015-02-18 | 北京奇虎科技有限公司 | A method and device for determining entry weight based on common clicks |
CN104376115A (en) * | 2014-12-01 | 2015-02-25 | 北京奇虎科技有限公司 | Fuzzy word determining method and device based on global search |
CN104615723A (en) * | 2015-02-06 | 2015-05-13 | 百度在线网络技术(北京)有限公司 | Determining method and device of search term weight value |
CN105095381A (en) * | 2015-06-30 | 2015-11-25 | 北京奇虎科技有限公司 | Method and device for new word identification |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109933714A (en) * | 2019-03-18 | 2019-06-25 | 北京搜狗科技发展有限公司 | A kind of calculation method, searching method and the relevant apparatus of entry weight |
CN109933714B (en) * | 2019-03-18 | 2021-04-20 | 北京搜狗科技发展有限公司 | Entry weight calculation method, entry weight search method and related device |
Also Published As
Publication number | Publication date |
---|---|
CN105528430B (en) | 2019-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6403787B2 (en) | Method, apparatus and system for determining a location corresponding to an IP address | |
US8255414B2 (en) | Search assist powered by session analysis | |
CN105608113B (en) | Judge the method and device of POI data in text | |
CN103580939B (en) | A kind of unexpected message detection method and equipment based on account attribute | |
TWI615723B (en) | Network search method and device | |
US20140365452A1 (en) | Discovering Trending Content of a Domain | |
US20160357857A1 (en) | Apparatus, system and method for string disambiguation and entity ranking | |
CN104376115B (en) | A kind of fuzzy word based on global search determines method and device | |
CN105095381B (en) | New word identification method and device | |
WO2015154679A1 (en) | Method and device for ranking search results of multiple search engines | |
CN107291939A (en) | The clustering match method and system of hotel information | |
CN105653546B (en) | Method and system for retrieving a target subject | |
WO2014075572A1 (en) | Method and apparatus for selecting a keyword | |
CN103744970B (en) | A kind of method and device of the descriptor determining picture | |
JP5367632B2 (en) | Knowledge amount estimation apparatus and program | |
CN109241360B (en) | Matching method and device of combined character strings and electronic equipment | |
WO2018205391A1 (en) | Method, system and apparatus for evaluating accuracy of information retrieval, and computer-readable storage medium | |
CN106649750B (en) | Searching method and device for multi-meaning term entry | |
CN105608123A (en) | Method and apparatus for determining weights of search words | |
CN105488209A (en) | Method and device for analyzing word weight | |
CN106919603B (en) | Method and device for calculating word segmentation weight in query word pattern | |
CN104462556A (en) | Method and device for recommending question and answer page related questions | |
CN105528430A (en) | Method and device for determining weights of search terms | |
CN109597873B (en) | Corpus data processing method and device, computer readable medium and electronic equipment | |
CN103902687B (en) | The generation method and device of a kind of Search Results |
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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220726 Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |