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

Web page proxy system and communication method thereof

A communication method and web technology, applied in transmission systems, electrical components, etc., can solve problems such as inconvenience and the inability of web proxy to correctly handle user network requests.

Inactive Publication Date: 2014-01-15
SHANGHAI UTT NETWORK INFORMATION
View PDF7 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the present invention is to overcome the defect that the webpage agent in the prior art cannot correctly process the network request sent by the user, which brings a lot of inconvenience to the user, and to provide a more stable and reliable method for processing the network request sent by the user terminal. Error-prone web proxy system and its communication method

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
  • Web page proxy system and communication method thereof
  • Web page proxy system and communication method thereof
  • Web page proxy system and communication method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0063] see figure 1 , in this embodiment, a communication method of a web page proxy system, the web page proxy system includes a proxy server, the proxy server and the user terminal are connected to the network, and the communication method includes:

[0064] Step 100. The proxy server receives a network request sent by a user terminal, and the network request is used to request target content from a target server in the network.

[0065] Step 101, the proxy server obtains the address of the target server through the getsockname() function provided by LINUX and judges whether the network request is an HTTP request through the expression of the network request, if so, execute step 102, otherwise execute step 104.

[0066] Obtain the address of the target server included in the network request through the LINUX method, and the address will not be changed due to the cache processing of the network request, so as to ensure that the proxy server processes the network request accor...

Embodiment 2

[0082] see image 3 , a communication method of a web page proxy system, the communication method of this embodiment is basically the same as the communication method of Embodiment 1, the only difference is that step 103 is:

[0083] Step 1031 , judging whether the cache of the proxy server includes the target content, if yes, execute step 1032 , otherwise, execute step 1033 .

[0084] Step 1032: Determine whether the time difference between the writing time of the target content in the cache of the proxy server and the current time is less than a preset duration, and if so, the proxy server sends the target content in the cache to the user terminal End the process, otherwise execute step 1033.

[0085] Step 1033, the proxy server forwards the network request to the target server according to the address, and then receives the target content sent by the target server.

[0086] Step 1034, the proxy server writes the target content into the cache and sends the target content 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 web page agent system and a communication method of the web page agent system. The web page agent system comprises a proxy server, and the proxy server and a user terminal are connected to a network. The communication method includes the steps that S1, the proxy server receives a network request sent by the user terminal; S2, the proxy server obtains an address of a target server from the network request and judges whether the network request is an HTTP request or not, if yes, the step S3 is performed, and if not, the step S4 is performed; S3, the proxy server processes the HTTP request through a standard buffering method, and then the processes are ended; S4, the proxy server forwards the network request to a target server according to the address, and then a target content sent by the target server is received; S5, the proxy server sends the target content to the user terminal. The web page proxy system and the communication method of the web page proxy system can enable the proxy server to process the network request more accurately, and enable the user terminal to obtain a more reliable and stable server.

Description

technical field [0001] The invention relates to a webpage proxy system and a communication method thereof. Background technique [0002] Network has become an indispensable part of people's life and work. Thousands of netizens share the same video, news and other network information through the Internet every day. However, the existing network speed and the growth rate of the network speed have become more and more difficult to meet people's demand for the network. [0003] Some cache technologies such as web page proxy and WEB (network) cache have become the main measures to quickly optimize the network environment. Caching technology can reduce the transmission of redundant data in the network, reduce network costs, speed up the loading speed of web pages, and enhance user experience. From being mainly used in ISPs (Internet Service Providers) at the earliest to the current applications in enterprises and communities, caching technology has been greatly developed and ha...

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
IPC IPC(8): H04L29/08
Inventor 陈彬
Owner SHANGHAI UTT NETWORK INFORMATION
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