Patent ID: 11734276

Abstract:
Embodiments of the present application provide a method and apparatus for updating search cache, which relate to the technical field of multimedia. The method comprises: when hot content is updated, extracting a first search term corresponding to information of the hot content, and updating the first search term to a first database; when a search request is received, querying a pre-established 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 of a first search result; determining whether the cache of the first search result is valid; if yes, taking the information in the cache of the first search result as a first search request result; if no, 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. By applying embodiments of the present application, the update speed of hot content can be improved.