WO2015176624A1 - 突发时效性查询词识别方法和系统 - Google Patents
突发时效性查询词识别方法和系统 Download PDFInfo
- Publication number
- WO2015176624A1 WO2015176624A1 PCT/CN2015/079044 CN2015079044W WO2015176624A1 WO 2015176624 A1 WO2015176624 A1 WO 2015176624A1 CN 2015079044 W CN2015079044 W CN 2015079044W WO 2015176624 A1 WO2015176624 A1 WO 2015176624A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- query
- time
- word
- news information
- query word
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
Definitions
- the present invention relates to the field of computer technology, and in particular, to a method and system for identifying a time-sensitive query word, and a method and system for inserting a news information item on a search result page.
- the burst-time query word is a query word whose user's query quantity is significantly larger than before in a short period of time, so the sudden time-sensitive query word often reflects the outbreak of a new event, causing the user to pay attention to the event. It has a strong timeliness. Therefore, timely identifying the time-sensitive query words and adjusting the ranking of the news in the search engine according to the time-sensitive query words can effectively improve the user's search experience for the news and improve the quality of the search engine.
- the existing method for identifying the time-sensitive query term is to compare the query quantity of the query word in the current time period with the query quantity of the previous time period. The larger the difference, the more the query word may be the current time period burst. Timeliness query terms.
- the disadvantage of the above technical solution is that if the query quantity of the query word is maintained in a small order for two periods, the query quantity of the query word may suddenly increase but the difference is small, and the difference is too small. This makes it impossible to identify the time-sensitive query term, for example:
- the time period of the statistical query quantity is set relatively small (such as set by the hour). Since the query quantity of the query word is greatly affected by the time, the overall query amount in the early morning time is small, and the query quantity is obtained in the early morning. The difference is also small, so it is difficult to identify the bursting time-sensitive query words; if the time period is set to be large (for example, set by day) to overcome the problem, the time interval for comparing the query quantities of different time periods is For a long time, the sudden time-sensitive query words will be updated more slowly.
- the existing way of sorting search result items is generally to place search result items corresponding to older web pages (for example, web pages with more clicks) in a higher position.
- the drawback of this sorting method is that for news information webpages, since the webpages are generally newer, the corresponding news information items cannot be displayed in the previous position on the search result page; and the purpose of the user inputting the query words is often
- the existing scheme for sorting the search result entries may result in the user not being able to find the news webpage of the sudden or hot event related to the query word in time.
- the existing method for sorting the search result items cannot identify the webpage corresponding to the sudden or hot event, so it is difficult to properly set the entry of the news information webpage corresponding to the sudden or hot event on the search result page.
- the location makes it impossible to push the webpage corresponding to the sudden or hot event to the user in time.
- the technical problem to be solved by the present invention is to provide a new technical solution for identifying burst time-sensitive query words, which can effectively ensure that even when the query quantity of the query words is always maintained at a small magnitude. Identify sudden timeliness query terms. And further how to adjust the ranking of the news pages in the search engine according to the bursting time-sensitive query words, so as to push the webpage corresponding to the sudden or hot event to the user in time.
- the present invention has been made in order to provide a burst-time query word recognition method and system that overcomes the above problems or at least partially solves the above problems, and a method and system for inserting news information items on a search result page.
- a method for identifying a time-sensitive query word includes: calculating a trend of a query quantity change of a query word in a first period of time and a second period of time, respectively, the second stage The time is a part of the first period of time; comparing a difference between the query quantity change trend of the query term in the first period of time and the second period of time, and determining the location according to the size of the gap Whether the query word is a burst-time query word.
- a burst aging query word recognition system comprising: a change trend calculation module, configured to respectively calculate a query amount of a query word in a first period of time and a second period of time a change trend, the second period of time is a part of the first period of time; the identification module is configured to compare a trend of the query quantity of the query term in the first period of time and the second period of time The gap between the two, and according to the size of the gap, whether the query word is a burst-time query word.
- the bursting time-sensitive query word identifying method and system of the present invention have at least the following advantages: since the second period of time is a part of the first period of time, the technical solution of the present invention compares the query words in a section. The long-term trend and the short-term trend of the query volume in the time period. If the query volume change trend shows a slow increase in the first period of time, the query volume change trend in the second period shows a rapid increase. Then the gap of the change trend indicates that a large number of users pay attention to the relevant news of the query word suddenly, and the query is performed in the search engine, the query word must be a burst-time query word; the query volume change trend of the query word is The query volume has nothing to do.
- a method for inserting a news information item on a search result page includes: receiving a query word of a user, and acquiring a related entity word according to the query word; acquiring the entity word a first event attribute feature; acquiring a news information item corresponding to the query word; calculating a second event attribute feature of the news information item; comparing the first event attribute feature with the second event attribute feature, Calculating an event aging value of the query word according to the comparison result; determining, according to the size of the event aging value of the query word, the ranking position of the news information item inserted on the search result page corresponding to the query word.
- a system for inserting a news information item on a search result page includes: an entity word acquisition module, configured to receive a query word of a user, and obtain related information according to the query word.
- a first event attribute feature acquisition module configured to acquire a first event attribute feature of the entity word
- a news information item acquisition module configured to acquire a news information item corresponding to the query word
- a module configured to calculate a second event attribute feature of the news information item
- an event aging value calculation module configured to compare the first event attribute feature with the second event attribute feature, and calculate the The event aging value of the query word
- the ranking position determining module is configured to determine, according to the size of the event aging value of the query word, the ranking position of the news information item inserted on the search result page corresponding to the query word.
- a computer program comprising computer readable code, when said computer readable code is run on a computing device, causing said computing device to perform a burst according to said A time-sensitive query word recognition method and/or a method of inserting a news information item on a search result page.
- a computer readable medium storing the above computer program is provided.
- FIG. 1 shows a flow chart of a burst aging query word recognition method in accordance with one embodiment of the present invention
- FIG. 2 is a flow chart showing a burst aging query word identifying method according to another embodiment of the present invention.
- FIG. 3 is a flow chart showing a burst aging query word identifying method according to still another embodiment of the present invention.
- FIG. 4 shows a block diagram of a burst aging query word recognition system in accordance with one embodiment of the present invention
- FIG. 5 is a block diagram showing a burst aging query word recognition system according to another embodiment of the present invention.
- FIG. 6 is a block diagram showing a burst aging query word recognition method according to still another embodiment of the present invention.
- FIG. 8 shows a block diagram of a system for inserting news information items on a search results page, in accordance with one embodiment of the present invention
- FIG. 9 is a block diagram schematically showing a computing device for performing a burst-time query word recognition method according to the present invention and/or a method of inserting a news information item on a search result page;
- Fig. 10 schematically shows a storage unit for holding or carrying program code implementing a burst-time query word recognition method according to the present invention and/or a method of inserting a news information item on a search result page.
- an embodiment of the present invention provides a method for identifying a time-sensitive query word, which includes:
- Step 110 Calculate the trend of the query quantity of the query word in the first period of time and the second period of time respectively, and the second period of time is part of the first period of time.
- the representation form of the query quantity change trend is not limited. For example, multiple time points may be taken, and the total query quantity up to each time point is recorded, and the total time corresponding to the multiple time points is The query volume can be used to extract the trend of the query volume.
- Step 120 Compare the gap between the query trends of the query words in the first period and the second period, and determine whether the query words are burst-time query words according to the size of the gap.
- the comparison form of the difference size of the query quantity change trend is not limited.
- the change amount of the query quantity of the query word in the unit time period in the first time period may be separately calculated, and the second The amount of change in the query amount of the query word in the unit time is compared and compared.
- the technical solution of the present invention compares the long-term change trend and the short-term change trend of the query quantity of the query word in a period of time, if In the first period of time, the query volume change trend of the query words shows a slow increase, while in the second period, the query volume change trend shows a rapid increase, then the change trend gap indicates that a large number of user concerns suddenly appear.
- the relevant news of the query word, and query in the search engine, the query word must be a burst of time-sensitive query words.
- the query volume change trend of the query word has nothing to do with the query amount.
- Time-sensitive query words are not interfered by query words with large query volume, and are not affected by the time period when the overall query volume is small.
- the specific size of n and m is not limited.
- the second period is short-term, and the value of m may be much larger than n. For example, if the time period is 1 hour, then m may Take 48, n can take 5, that is, the first period of time is 48 hours, and the second period of time is 5 hours.
- Step 130 Acquire a plurality of search result items corresponding to the query word, where the plurality of search result items include a news information item.
- Step 140 Set weights for each of the plurality of search result entries.
- the change trend calculation module 410 is configured to respectively calculate a trend of the query quantity change of the query word in the first period of time and the second period of time, and the second period of time is a part of the first period of time.
- the representation form of the query quantity change trend is not limited. For example, multiple time points may be taken, and the total query quantity up to each time point is recorded, and the total time corresponding to the multiple time points is The query volume can be used to extract the trend of the query volume.
- the identification module 420 is configured to compare the difference between the query quantity change trend of the query word in the first period of time and the second period of time, and determine whether the query word is a burst time-sensitive query word according to the size of the gap.
- the comparison form of the difference size of the query quantity change trend is not limited.
- the amount of change of the query quantity of the query word in the first time period in the unit time may be separately calculated, and the second The amount of query of the query word within the period of time is changed within the unit time and compared.
- Time-sensitive query words are not interfered by query words with large query volume, and are not affected by the time period when the overall query volume is small.
- another embodiment of the present invention further provides a burst aging query word recognition system.
- the burst aging query word recognition system of the embodiment further includes :
- the query quantity statistics module 430 is configured to count the query quantity of the query words multiple times in a time period of a preset length.
- the size of the time period is not limited. In order to identify the burst time-sensitive query words in time, the time period may be set to be small, such as by hour.
- the change trend calculation module 410 takes the most recent consecutive m time segments as the first time period, and determines the query volume change trend of the query words in the first time period according to the query quantity of the query words in the m time periods, where m is Integer.
- the change trend calculation module 410 takes the last consecutive n time segments as the second time period, and determines the query volume change trend of the query words in the second time period according to the query quantity of the query words in the n time periods, n is An integer less than m.
- the specific size of n and m is not limited.
- the second period is short-term, and the value of m may be much larger than n. For example, if the time period is 1 hour, then m may Take 48, n can take 5, that is, the first period of time is 48 hours, and the second period of time is 5 hours.
- Another embodiment of the present invention further provides a burst aging query word recognition system.
- the recognition module 420 takes the reflected query word at a first trajectory of the trend of the query quantity change in the first period of time, and a second trajectory line reflecting the trend of the query quantity of the query word in the second period of time, and the clip of the first trajectory line and the second trajectory line
- the angle is the gap.
- the type of the trajectory is not limited.
- the horizontal coordinate is the time segment and the ordinate is the query amount, and the query amount of the multiple time segments is reflected as multiple points, for example, the trajectory may be connected multiple times.
- the polyline of the query amount in time may also be a smooth curve fitted by the least squares method.
- the trajectory line can intuitively and accurately reflect the change trend of the query quantity, and the trajectory angle can directly and accurately reflect the gap of the query quantity change trend, and the query quantity change trend of the technical solution in this embodiment
- the gap is quantified, and the quantified result is useful for accurately identifying whether the query word is a burst-time query term.
- the search result item obtaining module 440 is configured to obtain a plurality of search result items corresponding to the query words, and the plurality of search result items include the news information items.
- the weight setting module 450 is configured to separately set weights for the plurality of search result entries.
- the ranking position determining module 470 is configured to determine a ranking position of the plurality of search result items on the search result page corresponding to the query word according to the weight value of the plurality of search result items. Generally, the search result entry with a larger weight value has a higher ranking position.
- the ranking position of the related news item is improved, which is beneficial for the user to timely discover the sudden event of interest and improve the user experience.
- an embodiment of the present invention provides a method for inserting a news information item on a search result page, including:
- Step 710 Receive a query word of the user, and obtain a related entity word according to the query word.
- An entity word is a noun or verb that can be used to represent the overall or partial characteristics of an event by pre-analysing the title/topic of a news-type message (page or real-time message) reflecting the event.
- the query word does not include an entity word or an extended entity word, it may be determined that the user inputs the query word not to query an event, and may not perform subsequent operations.
- Step 720 Acquire a first event attribute feature of the entity word. Since the event is published by a news message, and the entity word reflects the feature of the event, the first event attribute feature of the entity word can be obtained according to the collected news message containing the entity word, and the first event attribute feature includes but not Limited to: the number/frequency of occurrences of entity words in news messages, the date of publication of news information with entity words, the frequency of news messages about entity words in a period of time, or the news messages related to an entity word for a period of time. Number of reprints, etc.
- Step 730 Acquire a news information item corresponding to the query word.
- the source of the news information item is not limited, for example, it may be an item corresponding to the latest news message pushed by the news site, or may be the latest captured news message type webpage, or a news message on a social networking website, etc. .
- Step 740 Calculate a second event attribute feature of the news information item. Similar to the first event attribute feature, the second event attribute feature includes, but is not limited to, the number/frequency of occurrence of the entity word in the news message corresponding to the news information item, the release date of the news message corresponding to the news information item, and the news information. The frequency of occurrence of the news-type message corresponding to the entry, or the number of times the news-type message corresponds to the reprint of the news information entry.
- Step 750 Compare the first event attribute feature with the second event attribute feature, and calculate an event aging value of the query word according to the comparison result.
- the relevance of the news popularity also reflects the difference, similarity or other time-dependent relationship between the news information corresponding to the news information item and the collected news information. These relationships can reflect: relative News information that has been collected while offline, the query is closed The more sudden or popular the event in the news information corresponding to the news information item, the more popular the subsequent search results of the inserted news items should be ranked higher.
- Step 760 Determine, according to the size of the event aging value of the query word, the position of the news information item inserted into the search result page corresponding to the query word.
- the ranking or the popularity of the news information item in the search result page is adjusted according to the burst or popularity level of the event in the news information item.
- the high ranking is high, which is conducive to timely sending relevant news messages of sudden or hot events to users.
- the search engine provides a ranking value for each search result item.
- the news information item may be set according to the event aging value or the item may be grouped into a search result item and given a ranking value for searching. The ranking on the results page.
- step 710 includes: The entity word is extracted from the query word.
- the manner of extracting the entity words is not limited.
- the word segmentation technology of the existing search engine may be directly used for extraction.
- Another embodiment of the present invention provides a method for inserting a news information item on a search result page.
- the method for inserting a news information item on the search result page of the present embodiment, before step 720, also includes:
- the news information page is captured, and the first event attribute feature is calculated according to the news information page containing the entity word.
- the news information page is pre-fetched for analyzing the first event attribute feature.
- only the news information page including the entity word in the title may be selected for calculation.
- the first event attribute feature and the entity word may be indexed according to the corresponding relationship, so as to query the corresponding first event attribute feature by the entity word.
- Another embodiment of the present invention provides a method for inserting a news information item on a search result page.
- the method for inserting a news information item on the search result page of the present embodiment includes:
- the second event attribute feature is calculated according to the page corresponding to the news information item.
- the content of the news information entry corresponding to the page that is, the event specific content of the corresponding news type message, can be used to calculate the second event attribute feature.
- Another embodiment of the present invention provides a method for inserting a news information item on a search result page.
- the method for inserting a news information item on the search result page of the present embodiment includes:
- Another embodiment of the present invention provides a method for inserting a news information item on a search result page.
- the method for inserting a news information item on the search result page of the present embodiment includes:
- the search engine searches for a plurality of search result items corresponding to the query words, and extracts the news information items from the plurality of search result items.
- the news information item corresponds to a sudden event or a high degree of popularity in the news type message
- the higher ranked position may be mentioned for display, so that the latest news information of the sudden or hot event is timely. Push to the user.
- the news information item obtaining module 830 is configured to obtain a news information item corresponding to the query word.
- the source of the news information item is not limited, for example, it may be an item corresponding to the latest news message pushed by the news site, or may be the latest captured news message type webpage, or a news message on a social networking website, etc. .
- the second event attribute feature calculation module 840 is configured to calculate a second event attribute feature of the news information item. Similar to the first event attribute feature, the second event attribute feature includes, but is not limited to, the number/frequency of occurrence of the entity word in the news message corresponding to the news information item, the release date of the news message corresponding to the news information item, and the news information. The frequency of occurrence of the news-type message corresponding to the entry, or the number of times the news-type message corresponds to the reprint of the news information entry.
- the event aging value calculation module 850 is configured to compare the first event attribute feature with the second event attribute feature, and calculate an event aging value of the query word according to the comparison result.
- the relevance of the news popularity also reflects the difference, similarity or other time-dependent relationship between the news information corresponding to the news information item and the collected news information. These relationships can reflect: relative The news category information that has been collected when offline, the burst or popularity of events in the news information corresponding to the news information items associated with the query word, the more popular, the higher the ranking of the search results of the inserted news items .
- the ranking position determining module 860 is configured to determine, according to the size of the event aging value of the query word, the ranking position of the news information item inserted on the search result page corresponding to the query word.
- the ranking of the news information item is placed in the search result page, and the ranking is high or high, and the ranking is high, which is beneficial to the ranking.
- News-related messages of unexpected or high-profile events are promptly pushed to users.
- the search engine provides a ranking value for each search result item.
- the news information item may be set according to the event aging value or the item may be grouped into a search result item and given a ranking value for searching. The ranking on the results page.
- Another embodiment of the present invention provides a system for inserting a news information item on a search result page.
- the entity word obtaining module 810 Extract entity words from query words.
- the manner of extracting the entity words is not limited.
- the word segmentation technology of the existing search engine may be directly used for extraction.
- Another embodiment of the present invention provides a system for inserting a news information item on a search result page.
- the system for inserting a news information item on the search result page of the present embodiment the second event attribute feature
- the calculation module 840 calculates a second event attribute feature according to the page corresponding to the news information item.
- the content of the news information entry corresponding to the page that is, the event specific content of the corresponding news type message, can be used to calculate the second event attribute feature.
- Another embodiment of the present invention provides a system for inserting a news information item on a search result page.
- the news information item obtaining module 830 searches for a plurality of search result items corresponding to the query word by the search engine, and extracts the news information item from the plurality of search result items.
- the news information item corresponds to an event burst or a high degree of popularity in the news type message, the higher ranked position may be mentioned for display. The latest news news of sudden or hot events is promptly pushed to the user.
- modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment.
- the modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components.
- any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined.
- Each feature disclosed in this specification (including the accompanying claims, the abstract and the drawings) may be replaced by alternative features that provide the same, equivalent or similar purpose.
- Such computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
- Such a computer program product is typically a portable or fixed storage unit as described with reference to FIG.
- the storage unit may have storage segments, storage spaces, and the like that are similarly arranged to memory 920 in the computing device of FIG.
- the program code can be compressed, for example, in an appropriate form.
- the storage unit includes computer readable code 931', ie, code that can be read by a processor, such as 910, that when executed by a computing device causes the computing device to perform each of the methods described above step.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
一种突发时效性查询词识别方法和系统,以及一种在搜索结果页上插入新闻信息条目的方法和系统。其中,突发时效性查询词识别方法包括:分别计算查询词在第一段时间内和第二段时间内的查询量变化趋势,第二段时间为第一段时间的一部分(110);比较查询词在第一段时间和第二段时间内的查询量变化趋势之间的差距,并根据差距的大小判断查询词是否为突发时效性查询词(120)。其比较的是查询词在一段时间内查询量的长期变化趋势与短期变化趋势,即使查询词的查询量维持在较小的数量级,查询量的突增情况也可以明显地体现在查询量变化趋势的差距中,有利于识别出突发时效性查询词。
Description
本发明涉及计算机技术领域,特别是一种突发时效性查询词识别方法和系统,以及一种在搜索结果页上插入新闻信息条目的方法和系统。
突发时效性查询词是短时间内用户对其的查询量较之前明显变大的查询词,所以突发时效性查询词往往反映的是一个新的事件的爆发,引发用户对事件的关注,其具有很强的时效性。因此,及时识别出突发时效性查询词,并根据突发时效性查询词来调整搜索引擎中新闻的排名,可以有效提升用户对新闻的搜索体验,改善搜索引擎的质量。
现有的识别突发时效性查询词的方法,是根据查询词在当前时间段的查询量和在前一段时间的查询量比较,差值越大越说明该查询词可能是当前时间段的突发时效性查询词。
上述技术方案的缺点在于,如两段时间内查询词的查询量维持较小的量级,则可能造成查询词的查询量出现了突增但差值却较小的情况,而差值过小则造成无法识别出该突发时效性查询词,例如:
1、一些查询量大的查询词的查询量改变会掩盖突发时效性查询词,比如,查询词A的查询量由10000变为11000,那么差值就为1000,而突发时效性查询词的查询量由100变为200,查询量虽然翻倍但差值仅为100,与查询词A差值相比较小,无法体现出查询量的突增变化,造成难以识别出该突发时效性查询词。
2、一般地,统计查询量的时间段设置的比较小(如按小时设置),由于查询词的查询量受时间影响较大,在凌晨时段的整体查询量较小,在凌晨比较查询量得到的差值也较小,所以难以识别出突发时效性查询词;如为了克服该问题,将时间段设置的比较大(如按天设置),进行不同时间段的查询量比较的时间间隔就比较久,那么突发时效性查询词会更新比较慢。
另外,搜索引擎在接收到用户输入的查询词之后,会返回给用户与查询词相关的多个搜索结果条目,该多个搜索结果条目会按顺序显示在搜索结果页上。
现有的对于搜索结果条目排序的方式,普遍是将较旧网页(例如被点击次数较多的网页)对应的搜索结果条目放在较靠前的位置。这种排序方式的缺陷在于:对于新闻信息网页来说,由于普遍为较新的网页,所以其对应的新闻信息条目无法展现在搜索结果页上较前的位置;而用户输入查询词的目的经常是为了搜索查询词相关的突发或热门事件,则现有的对搜索结果条目进行排序的方案会导致用户无法及时发现记录有查询词相关的突发或热门事件的新闻网页。
由此可见,现有的对搜索结果条目排序的方式由于不能识别出突发或热门事件对应的网页,所以难以恰当地设置突发或热门事件对应的新闻信息网页的条目在搜索结果页上的位置,导致无法将突发或热门事件对应的网页及时推送给用户。
所以,本发明需要解决的技术问题在于,提供一种新的识别突发时效性查询词的技术方案,保证即使在查询词的查询量始终维持在较小量级的情况下,也能有效地识别出突发时效性查询词。以及,进一步如何根据突发时效性查询词来调整搜索引擎中新闻网页的排名,从而将突发或热门事件对应的网页及时推送给用户。
发明内容
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的突发时效性查询词识别方法和系统,以及在搜索结果页上插入新闻信息条目的方法和系统。
根据本发明的一方面,提供了一种突发时效性查询词识别方法,其包括:分别计算查询词在第一段时间内和第二段时间内的查询量变化趋势,所述第二段时间为所述第一段时间的一部分;比较所述查询词在所述第一段时间和所述第二段时间内的查询量变化趋势之间的差距,并根据所述差距的大小判断所述查询词是否为突发时效性查询词。
根据本发明的另一方面,提供了一种突发时效性查询词识别系统,其包括:变化趋势计算模块,用于分别计算查询词在第一段时间内和第二段时间内的查询量变化趋势,所述第二段时间为所述第一段时间的一部分;识别模块,用于比较所述查询词在所述第一段时间和所述第二段时间内的查询量变化趋势之间的差距,并根据所述差距的大小判断所述查询词是否为突发时效性查询词。
根据以上技术方案,本发明的突发时效性查询词识别方法和系统至少有以下优点:由于第二段时间为第一段时间的一部分,所以本发明的技术方案中比较的是查询词在一段时间内查询量的长期变化趋势与短期变化趋势,如果第一段时间内查询词的查询量变化趋势表现为缓慢增加,而在第二段时间内查询词的查询量变化趋势表现为急速增加,则变化趋势的差距就说明突发地出现大量用户关注该查询词的相关新闻,并在搜索引擎中进行查询,则该查询词必然是突发时效性查询词;查询词的查询量变化趋势与其查询量无关,即使查询词的查询量维持在较小的数量级,查询量的突增情况也可以明显地体现在查询量变化趋势的差距中,有利于识别出突发时效性查询词,而不受到较大查询量的查询词干扰,不受到整体查询量较小的时间段影响。
根据本发明的又一方面,提供了一种在搜索结果页上插入新闻信息条目的方法,其包括:接收用户的查询词,并根据所述查询词获取相关的实体词;获取所述实体词的第一事件属性特征;获取所述查询词对应的新闻信息条目;计算所述新闻信息条目的第二事件属性特征;将所述第一事件属性特征与所述第二事件属性特征进行比较,根据比较结果计算所述查询词的事件时效值;根据所述查询词的事件时效值的大小,确定所述新闻信息条目插入到所述查询词对应的搜索结果页上的排名位置。
根据本发明的又一方面,提供了一种在搜索结果页上插入新闻信息条目的系统,其包括:实体词获取模块,用于接收用户的查询词,并根据所述查询词获取相关的
实体词;第一事件属性特征获取模块,用于获取所述实体词的第一事件属性特征;新闻信息条目获取模块,用于获取所述查询词对应的新闻信息条目;第二事件属性特征计算模块,用于计算所述新闻信息条目的第二事件属性特征;事件时效值计算模块,用于将所述第一事件属性特征与所述第二事件属性特征进行比较,根据比较结果计算所述查询词的事件时效值;排名位置确定模块,用于根据所述查询词的事件时效值的大小,确定所述新闻信息条目插入到所述查询词对应的搜索结果页上的排名位置。
根据以上技术方案,本发明的在搜索结果页上插入新闻信息条目的方法和系统至少具有以下优点:第一事件属性特征是与查询词中实体词相关的已收集新闻类消息中事件的特征,第二事件属性特征是与查询词相关的特定新闻类消息中事件的特征,所以将第一事件属性特征与第二事件属性特征进行比较得到的时效值,反映了特定新闻类消息相对于已收集新闻类消息的时效特点,即突发或热门程度,根据事件时效值高低来控制新闻信息条目排名的话,可以保证突发或热门事件对应的新闻类消息可以及时被用户发现,从而提高用户的使用体验。
根据本发明的又一方面,提供了一种计算机程序,其包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行根据上文所述的突发时效性查询词识别方法和/或在搜索结果页上插入新闻信息条目的方法。
根据本发明的再一方面,提供了一种计算机可读介质,其中存储了上述的计算机程序。
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:
图1示出了根据本发明的一个实施例的突发时效性查询词识别方法的流程图;
图2示出了根据本发明的另一个实施例的突发时效性查询词识别方法的流程图;
图3示出了根据本发明的又一个实施例的突发时效性查询词识别方法的流程图;
图4示出了根据本发明的一个实施例的突发时效性查询词识别系统的框图;
图5示出了根据本发明的另一个实施例的突发时效性查询词识别系统的框图;
图6示出了根据本发明的又一个实施例的突发时效性查询词识别方法的框图;
图7示出了根据本发明的一个实施例的在搜索结果页上插入新闻信息条目的方法的流程图;
图8示出了根据本发明的一个实施例的在搜索结果页上插入新闻信息条目的系统的框图;
图9示意性地示出了用于执行根据本发明的突发时效性查询词识别方法和/或在搜索结果页上插入新闻信息条目的方法的计算设备的框图;以及
图10示意性地示出了用于保持或者携带实现根据本发明的突发时效性查询词识别方法和/或在搜索结果页上插入新闻信息条目的方法的程序代码的存储单元。
下面结合附图和具体的实施方式对本发明作进一步的描述。
如图1所示,本发明的一个实施例中提供了一种突发时效性查询词识别方法,其包括:
步骤110,分别计算查询词在第一段时间内和第二段时间内的查询量变化趋势,第二段时间为第一段时间的一部分。在本实施例的技术方案中,对查询量变化趋势的表现形式不做限制,例如,可以取多个时间点,记录截止到每个时间点的总查询量,则多个时间点对应的总查询量可提现查询量变化趋势。
步骤120,比较查询词在第一段时间和第二段时间内的查询量变化趋势之间的差距,并根据差距的大小判断查询词是否为突发时效性查询词。在本实施例的技术方案中,对查询量变化趋势的差距大小的比较形式不做限制,例如,可以分别计算第一段时间内查询词的查询量在单位时间内的变化量,以及第二段时间内查询词的查询量在单位时间内的变化量,并进行比较。
在本实施例的技术方案中,由于第二段时间为第一段时间的一部分,所以本发明的技术方案中比较的是查询词在一段时间内查询量的长期变化趋势与短期变化趋势,如果第一段时间内查询词的查询量变化趋势表现为缓慢增加,而在第二段时间内查询词的查询量变化趋势表现为急速增加,则变化趋势的差距就说明突发地出现大量用户关注该查询词的相关新闻,并在搜索引擎中进行查询,则该查询词必然是突发时效性查询词。查询词的查询量变化趋势与其查询量无关,即使查询词的查询量维持在较小的数量级,查询量的突增情况也可以明显地体现在查询量变化趋势的差距中,有利于识别出突发时效性查询词,而不受到较大查询量的查询词干扰,不受到整体查询量较小的时间段影响。
如图2所示,本发明的另一实施例中还提供了一种突发时效性查询词识别方法,相比于上述实施例,本实施例的突发时效性查询词识别方法,步骤110包括:
步骤111,按预设长度的时间段,连续多次统计查询词的查询量。本实施例中对时间段的大小不做限制,为了及时识别出突发时效性查询词,可以将时间段设置的较小,如按小时。
步骤112,取最近的连续m个时间段为第一段时间,并根据查询词在m个时间段内的查询量,确定查询词在第一段时间内的查询量变化趋势,m为整数。
步骤113,取最近的连续n个时间段为第二段时间,并根据查询词在n个时间段内的查询量,确定查询词在第二段时间内的查询量变化趋势,n为小于m的整数。
本实施例中对n和m的具体大小不做限制,为了突出第一段时间为长期,第二段时间为短期,m的值可以远大于n,例如时间段为1小时的话,则m可以取48,n可以取5,即第一段时间为48小时,第二段时间为5小时。
在本实施例的技术方案中,不需针对两段时间内分别统计查询量再计算查询量变化趋势,而只需按时间段连续地统计一次查询量即可,只要分别对应两端时间的多个时间段分别计算查询量变化趋势即可。
本发明的另一实施例中还提供了一种突发时效性查询词识别方法,相比于上述实施例,本实施例的突发时效性查询词识别方法,步骤120包括:
取反映查询词在第一段时间内的查询量变化趋势的第一轨迹线,以及反映查询词在第二段时间内的查询量变化趋势的第二轨迹线,并将第一轨迹线以及第二轨迹线的夹角作为差距。在本实施例中,对于轨迹线的类型不做限制,以横坐标为时间段、纵坐标为查询量,多个时间段的查询量反映为多个点,则例如轨迹线可以是连接多个时间上的查询量的折线,也可以是通过最小二乘法拟合的平滑曲线。
在本实施例的技术方案中,轨迹线可以直观准确地体现查询量变化趋势,而轨迹线夹角大小可以直观准确地体现查询量变化趋势的差距,则本实施例的技术方案查询量变化趋势的差距进行量化,量化的结果有利于准确识别查询词是否为突发时效性查询词。
如图3所示,本发明的又一实施例中还提供了一种突发时效性查询词识别方法,相比于上述实施例,本实施例的突发时效性查询词识别方法,还包括:
步骤130,获取查询词对应的多个搜索结果条目,多个搜索结果条目中包含新闻信息条目。
步骤140,为多个搜索结果条目分别设置权值。
步骤150,在查询词为突发时效性查询词时,增大新闻信息条目的权值。
步骤160,根据多个搜索结果条目的权值大小,在查询词对应的搜索结果页上,确定多个搜索结果条目的排名位置。一般地,权值越大的搜索结果条目,排名位置越高。
在本实施例的技术方案中,对于突发时效性查询词来说,提高了其相关新闻条目的排名位置,有利于用户及时发现其关注的突发性事件,提升了用户体验。
如图4所示,本发明的一个实施例提供了一种突发时效性查询词识别系统,其包括:
变化趋势计算模块410,用于分别计算查询词在第一段时间内和第二段时间内的查询量变化趋势,第二段时间为第一段时间的一部分。在本实施例的技术方案中,对查询量变化趋势的表现形式不做限制,例如,可以取多个时间点,记录截止到每个时间点的总查询量,则多个时间点对应的总查询量可提现查询量变化趋势。
识别模块420,用于比较查询词在第一段时间和第二段时间内的查询量变化趋势之间的差距,并根据差距的大小判断查询词是否为突发时效性查询词。在本实施例的技术方案中,对查询量变化趋势的差距大小的比较形式不做限制,例如,可以分别计算第一段时间内查询词的查询量在单位时间的内变化量,以及第二段时间内查询词的查询量在单位时间的内变化量,并进行比较。
在本实施例的技术方案中,由于第二段时间为第一段时间的一部分,所以本发明的技术方案中比较的是查询词在一段时间内查询量的长期变化趋势与短期变化趋势,如果第一段时间内查询词的查询量变化趋势表现为缓慢增加,而在第二段时间内查询词的查询量变化趋势表现为急速增加,则变化趋势的差距就说明突发地出现大量用户关注该查询词的相关新闻,并在搜索引擎中进行查询,则该查询词必然是突发时效性查询词。查询词的查询量变化趋势与其查询量无关,即使查询词的查询量维持在较小的数量级,查询量的突增情况也可以明显地体现在查询量变化趋势的差距中,有利于识别出突发时效性查询词,而不受到较大查询量的查询词干扰,不受到整体查询量较小的时间段影响。
如图5所示,本发明的另一实施例中还提供了一种突发时效性查询词识别系统,相比于上述实施例,本实施例的突发时效性查询词识别系统,还包括:
查询量统计模块430,用于按预设长度的时间段,连续多次统计查询词的查询量。本实施例中对时间段的大小不做限制,为了及时识别出突发时效性查询词,可以将时间段设置的较小,如按小时。
变化趋势计算模块410取最近的连续m个时间段为第一段时间,并根据查询词在m个时间段内的查询量,确定查询词在第一段时间内的查询量变化趋势,m为整数。
变化趋势计算模块410取最近的连续n个时间段为第二段时间,并根据查询词在n个时间段内的查询量,确定查询词在第二段时间内的查询量变化趋势,n为小于m的整数。
本实施例中对n和m的具体大小不做限制,为了突出第一段时间为长期,第二段时间为短期,m的值可以远大于n,例如时间段为1小时的话,则m可以取48,n可以取5,即第一段时间为48小时,第二段时间为5小时。
在本实施例的技术方案中,不需针对两段时间内分别统计查询量再计算查询量变化趋势,而只需按时间段连续地统计一次查询量即可,只要分别对应两端时间的多个时间段分别计算查询量变化趋势即可。
本发明的另一实施例中还提供了一种突发时效性查询词识别系统,相比于上述实施例,本实施例的突发时效性查询词识别系统,识别模块420取反映查询词在第一段时间内的查询量变化趋势的第一轨迹线,以及反映查询词在第二段时间内的查询量变化趋势的第二轨迹线,并将第一轨迹线以及第二轨迹线的夹角作为差距。在本实施例中,对于轨迹线的类型不做限制,以横坐标为时间段、纵坐标为查询量,多个时间段的查询量反映为多个点,则例如轨迹线可以是连接多个时间上的查询量的折线,也可以是通过最小二乘法拟合的平滑曲线。
在本实施例的技术方案中,轨迹线可以直观准确地体现查询量变化趋势,而轨迹线夹角大小可以直观准确地体现查询量变化趋势的差距,则本实施例的技术方案查询量变化趋势的差距进行量化,量化的结果有利于准确识别查询词是否为突发时效性查询词。
如图6所示,本发明的又一实施例中还提供了一种突发时效性查询词识别系统,相比于上述实施例,本实施例的突发时效性查询词识别系统,还包括:
搜索结果条目获取模块440,用于获取查询词对应的多个搜索结果条目,多个搜索结果条目中包含新闻信息条目。
权值设置模块450,用于为多个搜索结果条目分别设置权值。
权值调整模块460,用于在查询词为突发时效性查询词时,增大新闻信息条目的权值。
排名位置确定模块470,用于根据多个搜索结果条目的权值大小,在查询词对应的搜索结果页上,确定多个搜索结果条目的排名位置。一般地,权值越大的搜索结果条目,排名位置越高。
在本实施例的技术方案中,对于突发时效性查询词来说,提高了其相关新闻条目的排名位置,有利于用户及时发现其关注的突发性事件,提升了用户体验。
根据本发明实施例提供,本发明实施例还提供一种在搜索结果页上插入新闻信息条目的方法和系统。
如图7所示,本发明的一个实施例提供了一种在搜索结果页上插入新闻信息条目的方法,其包括:
步骤710,接收用户的查询词,并根据查询词获取相关的实体词。实体词是通过预先分析反映事件的新闻类消息(页面或实时性消息)的标题/主题,进行分词技术后提取出的能代表事件的整体或部分特征的名词或动词。可选地,在判断查询词中不包含有实体词或扩展不到实体词时,则可以确定用户输入查询词并非是为了查询某事件,可以不执行后续的操作。
步骤720,获取实体词的第一事件属性特征。由于事件由新闻类消息发布,而实体词反映了事件的特征,所以实体词的第一事件属性特征可以根据已收集的含有该实体词的新闻类消息得到,则第一事件属性特征包括但不限于:新闻类消息中实体词出现的次数/频率、具有实体词的新闻类信息的发布日期、一段时间内有关实体词的新闻类消息的频率,或一段时间该实体词相关的新闻类消息的转载次数等。
步骤730,获取查询词对应的新闻信息条目。本实施例中对新闻信息条目的来源不做限定,例如可以是新闻站点推送的最新新闻消息对应的条目,也可以是最新抓取到的新闻消息类网页,或者社交网站上的新闻消息等等。
步骤740,计算新闻信息条目的第二事件属性特征。与第一事件属性特征相似地,第二事件属性特征包括但不限于:新闻信息条目对应的新闻类消息中实体词出现的次数/频率、新闻信息条目对应的新闻类消息的发布日期、新闻信息条目对应的新闻类消息的出现频率,或一段时间该则新闻信息条目对应的新闻类消息的转载次数等。
步骤750,将第一事件属性特征与第二事件属性特征进行比较,根据比较结果计算查询词的事件时效值。通过采用不同方式进行第一事件属性特征和第二事件属性特征之间的比较所得到的事件时效值,体现了与查询词相关的实体词的新闻热度,与查询词本身相关到的新闻类消息的新闻热度之间的关联性,也体现新闻信息条目所对应的新闻类信息与已收集的新闻类信息之间的差异、相似度或其他能体现时效性的关系,这些关系能够反映出:相对于离线时已收集的新闻类信息,查询词所关
联的新闻信息条目所对应的新闻类信息中事件的突发或热门程度,越热门则后续给予插入的新闻条目的搜索结果排名应该越靠前。
步骤760,根据查询词的事件时效值的大小,确定新闻信息条目插入到查询词对应的搜索结果页上的排名位置。则根据本实施例的技术方案,实际上是根据新闻信息条目对应新闻类消息中的事件的突发或热门程度高低,调整新闻信息条目置于搜索结果页中的排名高低,突发或热门程度高则排名靠前,有利于将突发或热门程度高的事件的相关新闻类消息及时推送给用户。一般地,搜索引擎会为每个搜索结果条目提供一个排名值,则本实施例中可以根据事件时效值大小为新闻信息条目或将条目集合成一条搜索结果条目并赋予排名值,以进行在搜索结果页上的排名。
本发明的另一实施例提出一种在搜索结果页上插入新闻信息条目的方法,与上述实施例相比,本实施例的在搜索结果页上插入新闻信息条目的方法,步骤710包括:从查询词中提取实体词。本实施例中对于提取实体词的方式不做限定,例如,可以直接使用现有搜索引擎的分词技术进行提取。
本发明的另一实施例提出一种在搜索结果页上插入新闻信息条目的方法,与上述实施例相比,本实施例的在搜索结果页上插入新闻信息条目的方法,步骤710包括:根据查询词进行扩展得到相关的实体词。本实施例中对于扩展实体词的方式不做限定,例如,可以选择与查询词同步率(用户同时输入进行搜索的频率)较高的词语对查询词进行扩展,例如,近期内与查询词“水灾”同步率较高的词为“A市”,则将查询词“水灾”扩展为“水灾A市”。
本发明的另一实施例提出一种在搜索结果页上插入新闻信息条目的方法,与上述实施例相比,本实施例的在搜索结果页上插入新闻信息条目的方法,在步骤720之前,还包括:
抓取新闻信息页面,并根据包含实体词的新闻信息页面计算第一事件属性特征。本实施例的技术方案,预先抓取新闻信息页面以用于分析第一事件属性特征。可选地,为了降低第一事件属性特征的计算量,可以仅选择标题中包含实体词的新闻信息页面进行计算。且第一事件属性特征、实体词之间可按照对应关系建立索引,以便于按实体词查询对应的第一事件属性特征。
本发明的另一实施例提出一种在搜索结果页上插入新闻信息条目的方法,与上述实施例相比,本实施例的在搜索结果页上插入新闻信息条目的方法,步骤740包括:
根据新闻信息条目对应的页面,计算第二事件属性特征。新闻信息条目对应页面中的内容,即为相应的新闻类消息的事件具体内容,可以用于计算第二事件属性特征。
本发明的另一实施例提出一种在搜索结果页上插入新闻信息条目的方法,与上述实施例相比,本实施例的在搜索结果页上插入新闻信息条目的方法,步骤730包括:
从已抓取的新闻信息页面中查询出查询词对应的新闻信息页面,并根据查询词对应的新闻信息页面设置新闻信息条目。最新抓取的新闻信息页面往往未经搜索引擎进行整理,则用户通过搜索引擎往往搜索不到该页面对应的条目,所以通过本实
施例的技术方案,利于将突发或热门事件的最新页面及时推送给用户。
本发明的另一实施例提出一种在搜索结果页上插入新闻信息条目的方法,与上述实施例相比,本实施例的在搜索结果页上插入新闻信息条目的方法,步骤730包括:
通过搜索引擎搜索查询词对应的多个搜索结果条目,并从多个搜索结果条目中提取出新闻信息条目。根据本实施例的技术方案,如果新闻信息条目对应新闻类消息中的事件突发或热门程度高,则可以提到较高排名位置进行显示,利于将突发或热门事件的最新新闻类消息及时推送给用户。
如图8所示,本发明的另一实施例提供了一种在搜索结果页上插入新闻信息条目的系统,其包括:
实体词获取模块810,用于接收用户的查询词,并根据查询词获取相关的实体词。实体词是通过预先分析反映事件的新闻类消息(页面或实时性消息)的标题/主题,进行分词技术后提取出的能代表事件的整体或部分特征的名词或动词。可选地,在判断查询词中不包含有实体词或扩展不到实体词时,则可以确定用户输入查询词并非是为了查询某事件,可以不执行后续的操作。
第一事件属性特征获取模块820,用于获取实体词的第一事件属性特征。由于事件由新闻类消息发布,而实体词反映了事件的特征,所以实体词的第一事件属性特征可以根据已收集的含有该实体词的新闻类消息得到,则第一事件属性特征包括但不限于:新闻类消息中实体词出现的次数/频率、具有实体词的新闻类信息的发布日期、一段时间内有关实体词的新闻类消息的频率,或一段时间该实体词相关的新闻类消息的转载次数等。
新闻信息条目获取模块830,用于获取查询词对应的新闻信息条目。本实施例中对新闻信息条目的来源不做限定,例如可以是新闻站点推送的最新新闻消息对应的条目,也可以是最新抓取到的新闻消息类网页,或者社交网站上的新闻消息等等。
第二事件属性特征计算模块840,用于计算新闻信息条目的第二事件属性特征。与第一事件属性特征相似地,第二事件属性特征包括但不限于:新闻信息条目对应的新闻类消息中实体词出现的次数/频率、新闻信息条目对应的新闻类消息的发布日期、新闻信息条目对应的新闻类消息的出现频率,或一段时间该则新闻信息条目对应的新闻类消息的转载次数等。
事件时效值计算模块850,用于将第一事件属性特征与第二事件属性特征进行比较,根据比较结果计算查询词的事件时效值。通过采用不同方式进行第一事件属性特征和第二事件属性特征之间的比较所得到的事件时效值,体现了与查询词相关的实体词的新闻热度,与查询词本身相关到的新闻类消息的新闻热度之间的关联性,也体现新闻信息条目所对应的新闻类信息与已收集的新闻类信息之间的差异、相似度或其他能体现时效性的关系,这些关系能够反映出:相对于离线时已收集的新闻类信息,查询词所关联的新闻信息条目所对应的新闻类信息中事件的突发或热门程度,越热门则后续给予插入的新闻条目的搜索结果排名应该越靠前。
排名位置确定模块860,用于根据查询词的事件时效值的大小,确定新闻信息条目插入到查询词对应的搜索结果页上的排名位置。则根据本实施例的技术方案,
实际上是根据新闻信息条目对应新闻类消息中的事件的突发或热门程度高低,调整新闻信息条目置于搜索结果页中的排名高低,突发或热门程度高则排名靠前,有利于将突发或热门程度高的事件的相关新闻类消息及时推送给用户。一般地,搜索引擎会为每个搜索结果条目提供一个排名值,则本实施例中可以根据事件时效值大小为新闻信息条目或将条目集合成一条搜索结果条目并赋予排名值,以进行在搜索结果页上的排名。
本发明的另一实施例提出一种在搜索结果页上插入新闻信息条目的系统,与上述实施例相比,本实施例的在搜索结果页上插入新闻信息条目的系统,实体词获取模块810从查询词中提取实体词。本实施例中对于提取实体词的方式不做限定,例如,可以直接使用现有搜索引擎的分词技术进行提取。
本发明的另一实施例提出一种在搜索结果页上插入新闻信息条目的系统,与上述实施例相比,本实施例的在搜索结果页上插入新闻信息条目的系统,实体词获取模块810根据查询词进行扩展得到相关的实体词。本实施例中对于扩展实体词的方式不做限定,例如,可以选择与查询词同步率(用户同时输入进行搜索的频率)较高的词语对查询词进行扩展,例如,近期内与查询词“水灾”同步率较高的词为“A市”,则将查询词“水灾”扩展为“水灾A市”。
本发明的另一实施例提出一种在搜索结果页上插入新闻信息条目的系统,与上述实施例相比,本实施例的在搜索结果页上插入新闻信息条目的系统,第一事件属性获取模块820抓取新闻信息页面,并根据包含实体词的新闻信息页面,计算第一事件属性特征。本实施例的技术方案,预先抓取新闻信息页面以用于分析第一事件属性特征。可选地,为了降低第一事件属性特征的计算量,可以仅选择标题中包含实体词的新闻信息页面进行计算。且第一事件属性特征、实体词之间可按照对应关系建立索引,以便于按实体词查询对应的第一事件属性特征。
本发明的另一实施例提出一种在搜索结果页上插入新闻信息条目的系统,与上述实施例相比,本实施例的在搜索结果页上插入新闻信息条目的系统,第二事件属性特征计算模块840根据新闻信息条目对应的页面,计算第二事件属性特征。新闻信息条目对应页面中的内容,即为相应的新闻类消息的事件具体内容,可以用于计算第二事件属性特征。
本发明的另一实施例提出一种在搜索结果页上插入新闻信息条目的系统,与上述实施例相比,本实施例的在搜索结果页上插入新闻信息条目的系统,新闻信息条目获取模块830从已抓取的新闻信息页面中查询出查询词对应的新闻信息页面,并根据查询词对应的新闻信息页面设置新闻信息条目。最新抓取的新闻信息页面往往未经搜索引擎进行整理,则用户通过搜索引擎往往搜索不到该页面对应的条目,所以通过本实施例的技术方案,利于将突发或热门事件的最新页面及时推送给用户。
本发明的另一实施例提出一种在搜索结果页上插入新闻信息条目的系统,与上述实施例相比,本实施例的在搜索结果页上插入新闻信息条目的系统,新闻信息条目获取模块830通过搜索引擎搜索查询词对应的多个搜索结果条目,并从多个搜索结果条目中提取出新闻信息条目。根据本实施例的技术方案,如果新闻信息条目对应新闻类消息中的事件突发或热门程度高,则可以提到较高排名位置进行显示,利
于将突发或热门事件的最新新闻类消息及时推送给用户。
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的突发时效性查询词识别系统,以及在搜索结果页上插入新闻信息条目的系统中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。
例如,图9示出了可以实现在智能终端之间传输数据的方法的计算设备。该计算设备传统上包括处理器910和以存储器920形式的计算机程序产品或者计算机可读介质。存储器920可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器920具有用于执行上述方法中的任何方法步骤的程序代码931的存储空间930。例如,用于程序代码的存储空间930可以包括分别用于实现上面的方法中的各种步骤的各个程序代码931。这些程序
代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图10所述的便携式或者固定存储单元。该存储单元可以具有与图9的计算设备中的存储器920类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括计算机可读代码931’,即可以由例如诸如910之类的处理器读取的代码,这些代码当由计算设备运行时,导致该计算设备执行上面所描述的方法中的各个步骤。
本文中所称的“一个实施例”、“实施例”或者“一个或者多个实施例”意味着,结合实施例描述的特定特征、结构或者特性包括在本发明的至少一个实施例中。此外,请注意,这里“在一个实施例中”的词语例子不一定全指同一个实施例。
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。
此外,还应当注意,本说明书中使用的语言主要是为了可读性和教导的目的而选择的,而不是为了解释或者限定本发明的主题而选择的。因此,在不偏离所附权利要求书的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。对于本发明的范围,对本发明所做的公开是说明性的,而非限制性的,本发明的范围由所附权利要求书限定。
Claims (24)
- 一种突发时效性查询词识别方法,其包括:分别计算查询词在第一段时间内和第二段时间内的查询量变化趋势,所述第二段时间为所述第一段时间的一部分;比较所述查询词在所述第一段时间和所述第二段时间内的查询量变化趋势之间的差距,并根据所述差距的大小判断所述查询词是否为突发时效性查询词。
- 根据权利要求1所述的突发时效性查询词识别方法,其中,所述分别计算查询词在第一段时间内和第二段时间内的查询量变化趋势的步骤包括:按预设长度的时间段,连续多次统计所述查询词的查询量;取最近的连续m个时间段为所述第一段时间,并根据所述查询词在所述m个时间段内的查询量,确定所述查询词在所述第一段时间内的查询量变化趋势,m为整数;取最近的连续n个时间段为所述第二段时间,并根据所述查询词在所述n个时间段内的查询量,确定所述查询词在所述第二段时间内的查询量变化趋势,n为小于m的整数。
- 根据权利要求1所述的突发时效性查询词识别方法,其中,所述比较所述查询词在所述第一段时间和所述第二段时间内的查询量变化趋势之间的差距的步骤包括:取反映所述查询词在所述第一段时间内的查询量变化趋势的第一轨迹线,以及反映所述查询词在所述第二段时间内的查询量变化趋势的第二轨迹线,并将所述第一轨迹线以及所述第二轨迹线的夹角作为所述差距。
- 根据权利要求1至3中任一项所述的突发时效性查询词识别方法,其中,还包括:获取所述查询词对应的多个搜索结果条目,所述多个搜索结果条目中包含新闻信息条目;为所述多个搜索结果条目分别设置权值;在所述查询词为突发时效性查询词时,增大所述新闻信息条目的权值;根据所述多个搜索结果条目的权值大小,在所述查询词对应的搜索结果页上,确定所述多个搜索结果条目的排名位置。
- 一种在搜索结果页上插入新闻信息条目的方法,其包括:接收用户的查询词,并根据所述查询词获取相关的实体词;获取所述实体词的第一事件属性特征;获取所述查询词对应的新闻信息条目;计算所述新闻信息条目的第二事件属性特征;将所述第一事件属性特征与所述第二事件属性特征进行比较,根据比较结果计算所述查询词的事件时效值;根据所述查询词的事件时效值的大小,确定所述新闻信息条目插入到所述查询 词对应的搜索结果页上的排名位置。
- 根据权利要求5所述的方法,其中,所述根据所述查询词获取相关的实体词的步骤包括:从所述查询词中提取所述实体词。
- 根据权利要求5至6中任一项所述的方法,其中,所述根据所述查询词获取相关的实体词的步骤包括:根据所述查询词进行扩展得到相关的实体词。
- 根据权利要求5至7中任一项所述的方法,其中,在所述获取所述实体词的第一事件属性特征之前,还包括:抓取新闻信息页面,并根据包含所述实体词的新闻信息页面计算所述第一事件属性特征。
- 根据权利要求5至8中任一项所述的方法,其中,所述计算所述新闻信息条目的第二事件属性特征的步骤包括:根据所述新闻信息条目对应的页面,计算所述第二事件属性特征。
- 根据权利要求5至9中任一项所述的方法,其中,所述获取所述查询词对应的新闻信息条目的步骤包括:从已抓取的新闻信息页面中查询出所述查询词对应的新闻信息页面,并根据所述查询词对应的新闻信息页面设置所述新闻信息条目。
- 根据权利要求5至10中任一项所述的方法,其中,所述获取所述查询词对应的新闻信息条目的步骤包括:通过搜索引擎搜索所述查询词对应的多个搜索结果条目,并从所述多个搜索结果条目中提取出所述新闻信息条目。
- 一种突发时效性查询词识别系统,其包括:变化趋势计算模块,用于分别计算查询词在第一段时间内和第二段时间内的查询量变化趋势,所述第二段时间为所述第一段时间的一部分;识别模块,用于比较所述查询词在所述第一段时间和所述第二段时间内的查询量变化趋势之间的差距,并根据所述差距的大小判断所述查询词是否为突发时效性查询词。
- 根据权利要求12所述的突发时效性查询词识别系统,其中,还包括:查询量统计模块,用于按预设长度的时间段,连续多次统计所述查询词的查询量;所述变化趋势计算模块取最近的连续m个时间段为所述第一段时间,并根据所述查询词在所述m个时间段内的查询量,确定所述查询词在所述第一段时间内的查询量变化趋势,m为整数;所述变化趋势计算模块取最近的连续n个时间段为所述第二段时间,并根据所述查询词在所述n个时间段内的查询量,确定所述查询词在所述第二段时间内的查询量变化趋势,n为小于m的整数。
- 根据权利要求12所述的突发时效性查询词识别系统,其中,所述识别模块取反映所述查询词在所述第一段时间内的查询量变化趋势的第一轨迹线,以及反映 所述查询词在所述第二段时间内的查询量变化趋势的第二轨迹线,并将所述第一轨迹线以及所述第二轨迹线的夹角作为所述差距。
- 根据权利要求12至14中任一项所述的突发时效性查询词识别系统,其中,还包括:搜索结果条目获取模块,用于获取所述查询词对应的多个搜索结果条目,所述多个搜索结果条目中包含新闻信息条目;权值设置模块,用于为所述多个搜索结果条目分别设置权值;权值调整模块,用于在所述查询词为突发时效性查询词时,增大所述新闻信息条目的权值;排名位置确定模块,用于根据所述多个搜索结果条目的权值大小,在所述查询词对应的搜索结果页上,确定所述多个搜索结果条目的排名位置。
- 一种在搜索结果页上插入新闻信息条目的系统,其包括:实体词获取模块,用于接收用户的查询词,并根据所述查询词获取相关的实体词;第一事件属性特征获取模块,用于获取所述实体词的第一事件属性特征;新闻信息条目获取模块,用于获取所述查询词对应的新闻信息条目;第二事件属性特征计算模块,用于计算所述新闻信息条目的第二事件属性特征;事件时效值计算模块,用于将所述第一事件属性特征与所述第二事件属性特征进行比较,根据比较结果计算所述查询词的事件时效值;排名位置确定模块,用于根据所述查询词的事件时效值的大小,确定所述新闻信息条目插入到所述查询词对应的搜索结果页上的排名位置。
- 根据权利要求16所述的系统,其中,所述实体词获取模块从所述查询词中提取所述实体词。
- 根据权利要求16至17中任一项所述的系统,其中,所述实体词获取模块根据所述查询词进行扩展得到相关的实体词。
- 根据权利要求16至18中任一项所述的系统,其中,所述第一事件属性获取模块抓取新闻信息页面,并根据包含所述实体词的新闻信息页面,计算所述第一事件属性特征。
- 根据权利要求16至19中任一项所述的系统,其中,所述第二事件属性特征计算模块根据所述新闻信息条目对应的页面,计算所述第二事件属性特征。
- 根据权利要求16至20中任一项所述的系统,其中,所述新闻信息条目获取模块从已抓取的新闻信息页面中查询出所述查询词对应的新闻信息页面,并根据所述查询词对应的新闻信息页面设置所述新闻信息条目。
- 根据权利要求16至21中任一项所述的系统,其中,所述新闻信息条目获取模块通过搜索引擎搜索所述查询词对应的多个搜索结果条目,并从所述多个搜索结果条目中提取出所述新闻信息条目。
- 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行根据权利要求1至11中任一项所述的方法。
- 一种计算机可读介质,其中存储了如权利要求23所述的计算机程序。
Applications Claiming Priority (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410211458.1A CN103995865A (zh) | 2014-05-19 | 2014-05-19 | 突发时效性查询词识别方法和系统 |
| CN201410211458.1 | 2014-05-19 | ||
| CN201410234627.3 | 2014-05-29 | ||
| CN201410234627.3A CN103984757B (zh) | 2014-05-29 | 2014-05-29 | 在搜索结果页上插入新闻信息条目的方法和系统 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2015176624A1 true WO2015176624A1 (zh) | 2015-11-26 |
Family
ID=54553411
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2015/079044 Ceased WO2015176624A1 (zh) | 2014-05-19 | 2015-05-15 | 突发时效性查询词识别方法和系统 |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2015176624A1 (zh) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110457580A (zh) * | 2019-07-31 | 2019-11-15 | 百度时代网络技术(北京)有限公司 | 基于搜索的热点推荐方法及装置 |
| CN111309999A (zh) * | 2018-12-11 | 2020-06-19 | 阿里巴巴集团控股有限公司 | 一种互动场景内容的生成方法及装置 |
| CN113535990A (zh) * | 2020-11-10 | 2021-10-22 | 腾讯科技(深圳)有限公司 | 确定多媒体内容的方法、装置、存储介质和电子设备 |
| US11397779B2 (en) | 2016-06-23 | 2022-07-26 | Beijing Sankuai Online Technology Co., Ltd. | Method and device for pushing information based on search content |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102004792A (zh) * | 2010-12-07 | 2011-04-06 | 百度在线网络技术(北京)有限公司 | 一种热搜词生成方法及系统 |
| CN102955829A (zh) * | 2011-08-30 | 2013-03-06 | 北京百度网讯科技有限公司 | 用于对资源项进行排序的方法、装置和设备 |
| CN103226550A (zh) * | 2012-01-31 | 2013-07-31 | 腾讯科技(深圳)有限公司 | 一种基于查询输入的热点事件确定方法和系统 |
| US8577866B1 (en) * | 2006-12-07 | 2013-11-05 | Googe Inc. | Classifying content |
| CN103984757A (zh) * | 2014-05-29 | 2014-08-13 | 北京奇虎科技有限公司 | 在搜索结果页上插入新闻信息条目的方法和系统 |
| CN103995865A (zh) * | 2014-05-19 | 2014-08-20 | 北京奇虎科技有限公司 | 突发时效性查询词识别方法和系统 |
-
2015
- 2015-05-15 WO PCT/CN2015/079044 patent/WO2015176624A1/zh not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8577866B1 (en) * | 2006-12-07 | 2013-11-05 | Googe Inc. | Classifying content |
| CN102004792A (zh) * | 2010-12-07 | 2011-04-06 | 百度在线网络技术(北京)有限公司 | 一种热搜词生成方法及系统 |
| CN102955829A (zh) * | 2011-08-30 | 2013-03-06 | 北京百度网讯科技有限公司 | 用于对资源项进行排序的方法、装置和设备 |
| CN103226550A (zh) * | 2012-01-31 | 2013-07-31 | 腾讯科技(深圳)有限公司 | 一种基于查询输入的热点事件确定方法和系统 |
| CN103995865A (zh) * | 2014-05-19 | 2014-08-20 | 北京奇虎科技有限公司 | 突发时效性查询词识别方法和系统 |
| CN103984757A (zh) * | 2014-05-29 | 2014-08-13 | 北京奇虎科技有限公司 | 在搜索结果页上插入新闻信息条目的方法和系统 |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11397779B2 (en) | 2016-06-23 | 2022-07-26 | Beijing Sankuai Online Technology Co., Ltd. | Method and device for pushing information based on search content |
| CN111309999A (zh) * | 2018-12-11 | 2020-06-19 | 阿里巴巴集团控股有限公司 | 一种互动场景内容的生成方法及装置 |
| CN111309999B (zh) * | 2018-12-11 | 2023-05-16 | 阿里巴巴集团控股有限公司 | 一种互动场景内容的生成方法及装置 |
| CN110457580A (zh) * | 2019-07-31 | 2019-11-15 | 百度时代网络技术(北京)有限公司 | 基于搜索的热点推荐方法及装置 |
| CN110457580B (zh) * | 2019-07-31 | 2022-05-10 | 百度时代网络技术(北京)有限公司 | 基于搜索的热点推荐方法及装置 |
| CN113535990A (zh) * | 2020-11-10 | 2021-10-22 | 腾讯科技(深圳)有限公司 | 确定多媒体内容的方法、装置、存储介质和电子设备 |
| CN113535990B (zh) * | 2020-11-10 | 2023-12-15 | 腾讯科技(深圳)有限公司 | 确定多媒体内容的方法、装置、存储介质和电子设备 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6741110B2 (ja) | イベント発見方法、装置、機器及びプログラム | |
| JP6423845B2 (ja) | 検索クエリに応答してコンテンツとマッチングしようとする画像を動的にランキングする方法及びシステム | |
| CN103984757B (zh) | 在搜索结果页上插入新闻信息条目的方法和系统 | |
| CN104199833B (zh) | 一种网络搜索词的聚类方法和聚类装置 | |
| CN104537341B (zh) | 人脸图片信息获取方法和装置 | |
| WO2016000555A1 (zh) | 基于社交网络的内容、新闻推荐方法和系统 | |
| WO2017020451A1 (zh) | 信息推送方法和装置 | |
| CN103093761A (zh) | 音频指纹检索方法及装置 | |
| CN103617213B (zh) | 识别新闻网页属性特征的方法和系统 | |
| CN105095211A (zh) | 多媒体数据的获取方法和装置 | |
| US10546012B2 (en) | Synonym expansion | |
| WO2016101766A1 (zh) | 相似人脸图片获取和人脸图片信息获取方法和装置 | |
| CN103617192B (zh) | 一种数据对象的聚类方法和装置 | |
| WO2015188719A1 (zh) | 结构化数据与图片的关联方法与关联装置 | |
| WO2016015621A1 (zh) | 人脸图片人名识别方法和系统 | |
| US11423057B2 (en) | Impression tagging system for locations | |
| WO2015196964A1 (zh) | 搜索匹配图片的方法、图片搜索方法及装置 | |
| WO2022267325A1 (zh) | 新闻热度计算方法、设备及存储介质 | |
| Zaharieva et al. | Automated social event detection in large photo collections | |
| CN105653546B (zh) | 一种目标主题的检索方法和系统 | |
| CN107688563B (zh) | 一种同义词的识别方法及识别装置 | |
| WO2017000613A1 (zh) | 在搜索结果页中生成提示信息的方法及装置 | |
| WO2017107679A1 (zh) | 一种历史信息展示方法及装置 | |
| WO2017107696A1 (zh) | 带权重的文章标识方法和装置 | |
| CN114595372A (zh) | 场景推荐方法、装置、计算机设备和存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15796745 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 15796745 Country of ref document: EP Kind code of ref document: A1 |