Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Filter cache method and device, and cache system

A filtering and caching technology, applied in special data processing applications, instruments, electrical and digital data processing, etc., can solve the problems of poor scalability and low cache data hit rate, so as to reduce operating costs, improve cache hit rate, and improve scalability. sexual effect

Inactive Publication Date: 2011-04-13
BEIJING RUIXIN ONLINE SYST TECH
View PDF3 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention aim to provide a filtering caching method and device to solve the problems of low hit rate and poor scalability of cached data in the prior art

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
  • Filter cache method and device, and cache system
  • Filter cache method and device, and cache system
  • Filter cache method and device, and cache system

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment

[0044] refer to Figure 4 , a specific embodiment of the filtering caching method of the present invention is as follows:

[0045] 1. WEB Server receives user (access query) request;

[0046]2. The filter of the WEB Server intercepts the request, takes out the URL of the request, uses the URL as the key as a hash code, and modulo the number of cache servers to obtain the remainder, which is the index of the selected cache server;

[0047] 3. The filter uses the URL as the key to query from the selected cache server, and if found, returns it to the user directly;

[0048] 4. If not found in step 3, the business logic will be executed, the business logic will query the database, and use the URL as the key, output the page content as the value, write it to the selected cache server, and output it to the user.

[0049] In the caching technology of the present invention, by using the key as a hashcode, and then modulo-dividing the number of servers, the remainder obtained is the ...

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 filter cache method and a filter cache device, and a cache system. The filter cache method comprises the following steps of: 1, acquiring a key in a user request according to the user request; 2, selecting a cache server corresponding to the user request according to the key; and 3, querying data requested by a user from the selected cache server, and directly returning the searched data to the user. The filter cache method can improve the cache data hit rate and the cache expansibility.

Description

technical field [0001] The invention relates to the field of Internet data cache, in particular to a filtering cache method, device and cache system. Background technique [0002] In the field of Internet applications, data caching technology is very important, especially page data caching technology, not only to ensure the simplicity of caching, but also to ensure the performance and scalability of caching. Internet caching technology is generally implemented through reverse proxy. Such as figure 1 , in the reverse proxy mode, the proxy server accepts the connection request on the Internet, then forwards the request to the WEB server, and returns the result obtained from the WEB server to the client requesting the connection on the Internet. Provide services to the Internet and shield the WEB server. If the reverse proxy server finds that there is locally cached data content and it has not expired, it will no longer request the WEB server of the internal network, and ret...

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 BEIJING RUIXIN ONLINE SYST TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products