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

Method for implementing HTTP (hyper text transport protocol) message caching mechanism based on keywords

A technology of message caching and implementation method, which is applied in electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of large HTTP proxy traffic, the inability to cache the same URL, and the inability to cache pages, so as to reduce data traffic. , shorten the waiting time, optimize the effect of the cache

Active Publication Date: 2013-01-30
南京中新赛克科技有限责任公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] HTTP proxy without caching mechanism: The proxy server does not detect the content requested by the user, but requests relevant content from the server and returns it to the user; it has the following problems: the HTTP proxy without caching mechanism has large traffic and large network delay; all data needs to be Transmission from the client, proxy server, and WEB server, the network traffic is not reduced, and each step of network transmission has a network delay, which includes:
[0011] 2. Cannot cache pages with the same URL but related to user status
[0012] For example: after a WEB page requires a user to log in, the user name displayed at a fixed position on the page is different, and this kind of page cannot be cached
[0013] 3. The same URL cannot be cached, pages related to browser types

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The present invention will be further described below in conjunction with embodiment.

[0032] A method for implementing a keyword-based HTTP message caching mechanism, comprising the following steps:

[0033] (a) The user creates a configuration file, which includes multiple configuration items; each configuration item includes the domain name, page, cookie, and user browser type that need to be processed, and there are corresponding processing methods corresponding to each configuration item; The domain name, page, cookie and user browser type in the configuration items all have multiple keywords;

[0034] (b) Establish the buffer memory required for message processing, start the processing thread, and bind the message processing port;

[0035] (c), read the configuration file, and string each configuration item in the configuration file into a configuration linked list in memory;

[0036] (d) When the client accesses the proxy server, the proxy se...

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 method for implementing an HTTP message caching mechanism based on keywords. The method comprises the following steps: matching an HTTP request message of a client with a corresponding configuration item; and searching the request message of the client according to the keywords in the configuration item, and determining whether to give an HTTP response to the user from a cache or to acquire a complete HTTP response from a server or to acquire a partial HTTP response from the server and modify the cached message according to the configuration so as to compose a complete HTTP response. By using the method provided by the invention, data traffic between a proxy server and a WEB server is effectively reduced; latency for the client to access a WEB page is effectively shortened; the WEB page requested by the client each time can be ensured to be the updated page; the effects of reducing the data traffic and shortening the latency of the WEB page related to the user status and browser type at the client can also be achieved; and the cache of the WEB page can be optimized according to configuration files.

Description

technical field [0001] The invention belongs to an HTTP network proxy caching method, in particular to a method for scenarios such as reverse proxy, WEB server multi-network acceleration, and more specifically, a method for realizing a keyword-based HTTP message caching mechanism. Background technique [0002] The proxy server is a server between the browser and the Web server. With it, the browser does not directly go to the Web server to retrieve the webpage but sends a request to the proxy server. The Request signal will be sent to the proxy server first. The proxy server retrieves the information required by the browser and sends it to your browser. [0003] HTTP proxy, its function is to proxy network users to obtain network information; now it is also used for WEB website acceleration. Common HTTP proxies are divided into those with no cache mechanism and those with cache mechanism. [0004] HTTP proxy without caching mechanism: The proxy server does not detect the c...

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 Patents(China)
IPC IPC(8): H04L29/08G06F17/30
Inventor 张炎朱鹏飞
Owner 南京中新赛克科技有限责任公司
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