Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Caching method and caching equipment

A cache and device technology, applied in the field of Internet communication, can solve the problems of time and resource consumption

Active Publication Date: 2011-10-12
SHENZHEN SHI JI GUANG SU INFORMATION TECH
View PDF2 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Each retrieval request will trigger the Web server to create a CGI process, and then the CGI process forwards the retrieval request to the search engine. Requests consume time and resources

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Caching method and caching equipment
  • Caching method and caching equipment
  • Caching method and caching equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0021] Such as figure 1 As shown, the embodiment of the present invention provides a cache method, including:

[0022] Step 101: Receive a search request, which carries a search string;

[0023] 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;

[0024] Step 103: increasing the visit frequency of the search result page;

[0025] 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.

[0026] 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

[0028] Such as figure 2 As shown, the embodiment of the present invention provides a cache method, including:

[0029] Step 201: Receive a retrieval request sent by the client, the retrieval request carries a retrieval string;

[0030] 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.

[0031] 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".

[0032] 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

[0091] Such as image 3 As shown, the embodiment of the present invention provides a cache device, including:

[0092] 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;

[0093] Incrementing module 302, used for increasing the visit frequency of the search result page if the corresponding search result page is searched out;

[0094] 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.

[0095] Wherein, in the first implementation manner in this embodiment, the storage module 303 specifically includes:

[0096]The first search unit is used to search the search results corresponding to the search string through the search engine, and assemble t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a caching method and caching equipment and belongs to the field of Internet communication. The method comprises the following steps of: receiving a retrieval request which carries retrieval strings, and searching a search result page which is stored in a file system according to the retrieval strings; if the corresponding search result page is found, increasing an access frequency of the search result page; and if the corresponding search result page is not found, searching search results which correspond to the retrieval strings by a search engine, assembling the search results into the search result page, and storing in the file system. The equipment comprises a searching module, a gradual-increase module and a storage module. By the invention, the consumption oftime and resources can be reduced.

Description

technical field [0001] The invention relates to the field of Internet communication, in particular to a cache method and equipment. Background technique [0002] With the rapid development of Internet technology, search engines are widely used, and users pay great attention to the search efficiency of search engines when using search engines. Current search engines widely use Cache (high-speed cache) technology to improve search efficiency. [0003] The current Cache technology is specifically: storing popular retrieval strings and their corresponding search results in the Cache system; when the Web server receives a retrieval request from the client, it creates a CGI (Common Gateway Interface, Common Gateway Interface) process, and the CGI process The retrieval request is forwarded to a search engine, wherein the retrieval request carries a retrieval string; the search engine searches the Cache system according to the retrieval string carried in the retrieval request, and ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
Inventor 禹荣凌
Owner SHENZHEN SHI JI GUANG SU INFORMATION TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products