Caching method and caching equipment
A cache and device technology, applied in the field of Internet communication, which can solve the problems of consuming time and resources
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] Such as figure 1 As shown, the embodiment of the present invention provides a cache method, including:
[0033] Step 101: Receive a search request, which carries a search string;
[0034] Step 102: Search the search result page stored in the file system according to the search string, if the corresponding search result page is found, execute step 103, if not, execute step 104;
[0035] Step 103: increasing the visit frequency of the search result page;
[0036] Step 104: Search the search results corresponding to the search string through the search engine, assemble the search results into a search result page and store it in the file system.
[0037] In the embodiment of the present invention, after receiving the retrieval request, directly search whether there is a search result page corresponding to the retrieval string carried in the retrieval request in the file system, if yes, increase the access frequency of the search result page, if not, Search for the searc...
Embodiment 2
[0039] Such as figure 2 As shown, the embodiment of the present invention provides a cache method, including:
[0040] Step 201: Receive a retrieval request sent by the client, the retrieval request carries a retrieval string;
[0041] Wherein, after the user submits the retrieval string to the client, the client receives the submitted retrieval string, and then sends a retrieval request carrying the retrieval string. Wherein, the client may be a browser.
[0042] For example, the user opens the homepage of the search engine in a browser, and inputs the search string to be searched as "Keyword" in the browser, and then submits the search string to the browser, and the browser receives the submitted search string "Keyword", Then send a search request carrying the search string "Keyword".
[0043] Step 202: Search the file system according to the search string carried in the search request, if the corresponding search result page is found, perform step 203, and if no corresp...
Embodiment 3
[0102] Such as image 3 As shown, the embodiment of the present invention provides a cache device, including:
[0103] The search module 301 is configured to receive a search request carrying a search string, and search a search result page stored in the file system according to the search string;
[0104] Incrementing module 302, used for increasing the visit frequency of the search result page if the corresponding search result page is searched out;
[0105] The storage module 303 is configured to search for a search result corresponding to the search string through a search engine if no corresponding search result page is found, assemble the search results into a search result page and store it in the file system.
[0106] Wherein, in the first implementation manner in this embodiment, the storage module 303 specifically includes:
[0107] The first search unit is used to search the search results corresponding to the search string through the search engine, and assemble ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com