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

Caching method and device and proxy server

A caching and throughput technology, applied in the fields of caching methods, devices and proxy servers, can solve the problems of inaccurate judgment, adverse effects on user experience, and high delay in static configuration

Active Publication Date: 2014-10-22
BEIJING XINWANG RUIJIE NETWORK TECH CO LTD
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, because the administrator cannot accurately judge the current network status and system load status, and the static configuration delay is high, the cache function will still affect the users in the LAN when the cache misses, the network status is poor, and the system itself has a high load. Bad experience

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 device and proxy server
  • Caching method and device and proxy server
  • Caching method and device and proxy server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0100] Embodiment 1 of the present invention provides a caching method, such as figure 1 As shown, the method may include:

[0101] S101. Receive an access request sent by the cache client;

[0102] preferred, see figure 2 , the receiving the access request sent by the cache client may include:

[0103] 101a. Receive an access request sent by the client;

[0104] Wherein, the access request may include an identification of the access information requested by the client;

[0105] It should be noted that the access information requested by the client may be the page requested by the client or the file requested by the client, but it is not limited thereto. The present invention does not limit the specific content of the access information requested by the client. Determine according to actual needs.

[0106] The identifier of the access information requested by the client is a unique identifier of the access information requested by the client, and the access information r...

Embodiment 2

[0269] Embodiment 2 of the present invention provides another caching method, taking the caching method in the HTTP access process of client A as an example, for figure 1 The caching methods shown are described in detail. see image 3 , the method may include:

[0270] S301. Receive the access request sent by the cache client A;

[0271] Wherein, receiving the access request sent by the cache client A refers to continuously receiving multiple access requests sent by the access request sent by the cache client A. For each access request, the processing process is the same as steps 101a-101h, and will not be repeated here. repeat.

[0272] S302. Statistical acquisition of V in the process of receiving 5000 access requests sent by the cache client. W , V H ;

[0273] For example, starting from receiving the access request sent by the cache client A for the first time in S301, the V W , V H ;Statistics get to V W 2M / s, V H It is 2.5M / s.

[0274] S303, judging V W , V ...

Embodiment 3

[0284] Embodiment 3 of the present invention provides a caching device 40, and the caching device 40 may be part or all of a proxy server; see Figure 4 , the caching device 40 may include:

[0285] a receiving processing unit 401, configured to receive the access request sent by the cache client;

[0286] The statistical acquisition unit 402 is configured to obtain statistical throughput parameters during the receiving and processing unit 401N times of receiving access requests sent by the cache client; wherein, N is greater than or equal to 2;

[0287] The receiving processing unit 401 is further configured to continue to receive the access request sent by the cache client according to the throughput parameter obtained statistically by the statistics acquisition unit 402, and to obtain statistically the throughput parameter during N times of receiving the access request sent by the cache client; or , stop caching and only accept access requests sent by forwarding clients. ...

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 provides a caching method and device and a proxy server, relates to the technical field of communication and aims to reduce poor influence of caching work on user experience in a local area network when cache miss, poor network conditions and high system self loads exist. The scheme includes that access requests which are sent by a cache client are received; throughput rate parameters in the process of N times receiving of the access requests which are sent by the cache client are obtained by statistic calculation; according to the throughput rate parameters, receiving of the access requests which are sent by the cache client are continued, and the throughput rate parameters in the process of N times receiving of the access requests which are sent by the cache client are obtained by statistic calculation, or caching is stopped and receiving and forwarding of the access requests which are sent by the client are merely performed. The caching method and device and the proxy server are used for caching.

Description

technical field [0001] The present invention relates to the technical field of communication, in particular to a caching method, device and proxy server. Background technique [0002] The hypertext transfer protocol (HTTP) access process of the Internet is a typical interaction process between the client and the server; in the process of interaction between the client and the server, an HTTP proxy is generally set between the client and the server Server, HTTP proxy server is used to act as a proxy for users in the LAN to obtain network information. The basic functions of the HTTP proxy server include: receiving and interpreting the client's request; creating a new connection between the client and the server according to the above request; receiving the response from the server; issuing and interpreting the server's response and sending the response back to the client machine. [0003] In order to shorten the page access time during the HTTP access process and improve the...

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): H04L29/08
Inventor 陈晨星
Owner BEIJING XINWANG RUIJIE NETWORK TECH CO LTD
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