×

METHOD AND APPARATUS FOR UPDATING SEARCH CACHE

  • US 20190310986A1
  • Filed: 08/25/2017
  • Published: 10/10/2019
  • Est. Priority Date: 12/29/2016
  • Status: Active Grant
First Claim
Patent Images

1. A method for updating search cache, comprising:

  • when hot content is updated, extracting a first search term corresponding to information of the hot content, and updating the first search term into a pre-established first database, wherein, the first database stores a search term of hot content;

    when a search request is received, querying the first database according to a search term in the search request and determining whether a second search term is obtained;

    when the second search term is obtained and determined to be valid, querying a pre-established second database according to the second search term to obtain cache content of a first search result, wherein, the second database stores cache content of a search result; and

    determining whether the cache content of the first search result is valid;

    if the cache content of the first search result is valid, taking information in the cache content of the first search result as a first search request result;

    if the cache content of the first search result is not valid, forwarding the search request to a search engine, obtaining a second search request result and updating the second search request result into the second database.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×