Proxy Server Load Reduction via IP Library Segmentation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for accessing overseas websites through proxy servers face issues such as high traffic consumption, instability, and performance degradation due to excessive load on proxy servers, as well as limitations in handling advanced websites and advertisements.
Innovation Solution
A method and system that construct a domain name query request and send it to a domain name server to determine if the target IP address belongs to a predetermined IP address library, allowing direct access when possible and using a proxy server only when necessary, thereby reducing proxy server load and improving performance.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If all HTTP access requests are forwarded to the proxy server, then clients with restricted IP addresses can access overseas websites, but the proxy server experiences excessive load and performance degradation
Solution Approach 1:
The patent segments HTTP requests into two categories: domestic requests (handled directly by clients) and overseas requests (handled by proxy server). This is achieved by checking whether the target IP address belongs to the client's own IP address library, thereby reducing unnecessary proxy server load while maintaining access capability for overseas websites
Solution Approach 2:
The patent performs preliminary judgment about whether a request needs proxy forwarding by checking the target IP against the client's IP library before the request reaches the proxy server. This preliminary filtering action prevents domestic requests from consuming proxy server resources
2Reliability
If a web proxy server is used to access remote websites, then browsing speed and security are improved, but traffic consumption increases and the server may become unstable
Solution Approach 1:
The patent extracts and removes domestic website access traffic from the web proxy server system by implementing local judgment and direct access capability. Only overseas website access traffic remains to be handled by the proxy server, thereby reducing traffic consumption and eliminating unnecessary energy loss
3Adaptability or versatility
If a transparent proxy server is used, then all HTTP requests can be forwarded to access target websites, but the proxy server construction becomes complex and load increases
Solution Approach 1:
The patent segments the proxy server system into a judgment module (that checks IP addresses) and a forwarding module (that handles actual requests). This segmentation allows the system to maintain simplicity while achieving selective forwarding, reducing overall system complexity
Data Source
AI summary
The present invention relates to the technical field of network and discloses a method and a device for accessing a website. The method comprises: constructing a first domain name query request according to a domain name in a webpage request of a client, and sending the request to a first domain name server; obtaining an identification IP address returned by the first domain name server, wherein the identification IP address is used to identify whether an target IP address corresponding to the domain name in the webpage request belongs to a predetermined IP address library or not; according to the identification IP address, judging to replace the target IP address corresponding to the domain name in the webpage request with an IP address of a proxy server, and according to the IP address corresponding to the proxy server, sending the webpage access request to the proxy server. For a webpage request that a client can directly access the webpage by itself, there is no need to access the webpage via the proxy server, and the proxy server is used only when the client needs to access the webpage via the proxy server, thus reducing the load of the proxy server, and improving the performance of the proxy server.


