CN101699793A - Method for implementing automatic backup and load balance of proxy servers - Google Patents
Method for implementing automatic backup and load balance of proxy servers Download PDFInfo
- Publication number
- CN101699793A CN101699793A CN200810104701A CN200810104701A CN101699793A CN 101699793 A CN101699793 A CN 101699793A CN 200810104701 A CN200810104701 A CN 200810104701A CN 200810104701 A CN200810104701 A CN 200810104701A CN 101699793 A CN101699793 A CN 101699793A
- Authority
- CN
- China
- Prior art keywords
- acting server
- network
- proxy servers
- server
- equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
The invention discloses a method for balancing loads of proxy servers, which comprises the following steps: adding a network device between a terminal user and the proxy servers (group); detecting whether the proxy servers work normally or not, and marking the proxy servers with faults; sending a request of establishing the connection from the terminal user of an inner network to Internet; leading the network device to analyze the request sent from the terminal user of the inner network; detecting whether to use the proxy servers to accelerate or not, if the detection result is no, directly sending to the Internet, and then finishing; if the detection result is yes, enumerating the list of the current servers which work normally, selecting one proxy server with the smallest load according to the load algorithm, sending an access request to the proxy server and then finishing. The method can equally distribute the network access request to various proxy servers, effectively utilize the proxy servers and improve the overall performance and the overall stability of the proxy servers.
Description
Technical field
The present invention relates to the telecommunication technology field, be specifically related to a kind of by managing many acting servers at the network equipment, the method for realization acting server automated back-up and load balancing.
Background technology
Along with the development and the application of the Internet and information technology, though the network bandwidth constantly promotes, but still can't satisfy the demand of people to bandwidth, in order to address this problem, the user can adopt acting server to realize that online quickens usually.
Traditional acting server dispositions method, many acting servers are acted on behalf of a plurality of internal network visit Intemet exactly, and are unrelated between each acting server.Done a lot of limitation like this: if acting server fault of one side, the internal network that it is acted on behalf of just can't be visited Internet, can not be with the network requests automated back-up to an other acting server.On the other hand, the internal network difference that each acting server is responsible for, can cause the excessive and situation of some acting server free time of part acting server network traffics, can not effectively utilize acting server with the network traffics mean allocation to each acting server.
Summary of the invention
The objective of the invention is to overcome above-mentioned weak point of the prior art, provide a kind of, make the method for many acting server automated back-ups and load balancing at many acting servers of network device management.
Do not reach the foregoing invention purpose, the technical solution used in the present invention is: a kind of method of balancing loads of proxy servers is characterized in that: it comprises the steps:
A, between terminal use and acting server (group), add a network equipment, and this network equipment is carried out network configuration (step S001);
B, detect whether operate as normal of acting server, the acting server that mark breaks down (step S002) at set intervals;
Intranet terminal use sends the request (step S003) that connects to Internet;
(step S004) analyzed in the request that C, the internal network termination user of the network equipment send;
Whether D, detection need to use acting server to quicken (step S005);
E, if the testing result of step S005 for not, then directly sends to and changes step S008 over to behind the Intemet and finish;
If the testing result of step S005 for being, is then enumerated the normal server list of work at present,, and access request sent to this acting server (step S006) according to the acting server of a load minimum of load algorithm selection;
Changing step S008 after the acting server of step S006 is finished the work over to finishes.
Method according to a kind of balancing loads of proxy servers provided by the present invention is characterized in that: the network equipment among the described step S001 is gateway or bridge equipment.
Method according to a kind of balancing loads of proxy servers provided by the present invention is characterized in that: the network equipment among the described step S001 directly inserts between Intranet terminal use and acting server (group), Intemet and other network.
Method according to a kind of balancing loads of proxy servers provided by the present invention, it is characterized in that: the network equipment among the described step S001 is as bypass equipment, router is arranged between object for appreciation temet and other network and the Intranet terminal use, bypass equipment is arranged between acting server (group) and the router, and on the router needs agency's data is being routed on the bypass equipment.
Method according to a kind of balancing loads of proxy servers provided by the present invention is characterized in that: the network configuration of the network equipment comprises among the described step S001:
(1) configuration is when Intranet end-user access public network, and which procotol, port need quicken through acting server;
(2) the lP address list of Configuration Agent server can be selected for use so that determine which acting server.
Method according to a kind of balancing loads of proxy servers provided by the present invention is characterized in that: the detection method of described step S002 comprises:
(1) connects the acting server proxy port, detect whether successful connection;
(2) the simulation Internet data sends to acting server, and whether detect has response data;
(3) whether give acting server with Intranet end-user access public network data forwarding, detecting has response data.
Method according to a kind of balancing loads of proxy servers provided by the present invention is characterized in that: the load algorithm of described step S006 comprises:
(1) preferentially selects the server of front, when the acting server fault of front, select the acting server of back;
(2) the preferential processing Intranet user network of selecting connects minimum acting server;
(3) preferentially select the acting server of network traffics minimum;
(4) the source IP mean allocation according to the online request arrives each acting server;
(5) the purpose IP mean allocation according to the online request arrives each acting server;
(6) the targeted website mean allocation according to the online request arrives each acting server.
Advantage of the present invention and beneficial effect are, can effectively utilize acting server with the network access request mean allocation to each acting server, improve the overall performance of acting server; Improve the resistance to overturning of acting server, can can't not surf the Net because of the user that an acting server fault causes it to act on behalf of.
Description of drawings
Fig. 1 is the flow chart that the network equipment of the present invention is realized many acting server automated back-ups and load balancing.
Embodiment
The present invention is described further below in conjunction with accompanying drawing and embodiment.
The method of a kind of balancing loads of proxy servers of the present invention comprises the steps: to add a network equipment between terminal use and acting server (group), and this network equipment is carried out network configuration (step S001);
Detect whether operate as normal of acting server at set intervals, the acting server that mark breaks down (step S002);
Intranet terminal use sends the request (step S003) that connects to Internet;
(step S004) analyzed in the request that the internal network termination user of the network equipment sends;
Whether detect needs to use acting server to quicken (step S005);
If the testing result of step S005 for not, then directly sends to and changes step S008 over to behind the Internet and finish; If the testing result of step S005 for being, is then enumerated the normal server list of work at present,, and access request sent to this acting server (step S006) according to the acting server of a load minimum of load algorithm selection;
Changing step S008 after the acting server of step S006 is finished the work over to finishes.
The network equipment among the described step S001 is gateway or bridge equipment.
The network equipment among the described step S001 directly inserts between Intranet terminal use and acting server (group), Intemet and other network.
The network equipment among the described step S001 is as bypass equipment, router is arranged between Internet and other network and the Intranet terminal use, bypass equipment is arranged between acting server (group) and the router, and on the router needs agency's data is being routed on the bypass equipment.
The network configuration of the network equipment comprises among the described step S001:
(1) configuration is when Intranet end-user access public network, and which procotol, port need quicken through acting server;
(2) IP address list of Configuration Agent server can be selected for use so that determine which acting server.
Detection method among the described step S002 includes but not limited to following method:
(1) connects the acting server proxy port, detect whether successful connection;
(2) the simulation Internet data sends to acting server, and whether detect has response data;
(3) whether give acting server with Intranet end-user access public network data forwarding, detecting has response data.
Load algorithm among the described step S006 includes but not limited to following method:
(1) preferentially selects the server of front, when the acting server fault of front, select the acting server of back;
(2) the preferential processing Intranet user network of selecting connects minimum acting server;
(3) preferentially select the acting server of network traffics minimum;
(4) the source IP mean allocation according to the online request arrives each acting server;
(5) the purpose IP mean allocation according to the online request arrives each acting server;
(6) the targeted website mean allocation according to the online request arrives each acting server.
The network service that needs among the described step S006 to quicken is through the acting server transfer, after detecting the acting server fault according to fault detection method, automatically new network is connected and be transmitted to acting server working properly, the automated back-up of many acting servers of realization; According to the load algorithm new network is connected the acting server of distributing to the load minimum, realize the load balancing of many acting servers.
The user is by using the network equipment visit Internet resource of this technology, this network equipment is according to foregoing invention, make the network service that does not need to quicken be directly connected to Internet, the network service that needs to quicken is through the acting server transfer, and many acting servers can automated back-up and load balancing.
The above only is a preferred implementation of the present invention, is appreciated that those skilled in the art under the prerequisite that does not break away from spirit of the present invention and design, can make other improvement and variation.
Claims (7)
1. the method for a balancing loads of proxy servers, it is characterized in that: it comprises the steps:
A, between terminal use and acting server (group), add a network equipment, and this network equipment is carried out network configuration (step S001);
B, detect whether operate as normal of acting server, the acting server that mark breaks down (step S002) at set intervals;
Intranet terminal use sends the request (step S003) that connects to Internet;
(step S004) analyzed in the request that C, the internal network termination user of the network equipment send;
Whether D, detection need to use acting server to quicken (step S005);
E, if the testing result of step S005 for not, then directly sends to and changes step S008 over to behind the Intemet and finish;
If the testing result of step S005 for being, is then enumerated the normal server list of work at present,, and access request sent to this acting server (step S006) according to the acting server of a load minimum of load algorithm selection;
Changing step S008 after the acting server of step S006 is finished the work over to finishes.
2. the method for a kind of balancing loads of proxy servers according to claim 1, it is characterized in that: the network equipment among the described step S001 is gateway or bridge equipment.
3. the method for a kind of balancing loads of proxy servers according to claim 1 and 2, it is characterized in that: the network equipment among the described step S001 directly inserts between Intranet terminal use and acting server (group), Intemet and other network.
4. the method for a kind of balancing loads of proxy servers according to claim 1 and 2, it is characterized in that: the network equipment among the described step S001 is as bypass equipment, router is arranged between object for appreciation temet and other network and the Intranet terminal use, bypass equipment is arranged between acting server (group) and the router, and on the router needs agency's data is being routed on the bypass equipment.
5. the method for a kind of balancing loads of proxy servers according to claim 1, it is characterized in that: the network configuration of the network equipment comprises among the described step S001:
(1) configuration is when Intranet end-user access public network, and which procotol, port need quicken through acting server;
(2) the lP address list of Configuration Agent server can be selected for use so that determine which acting server.
6. the method for a kind of balancing loads of proxy servers according to claim 1, it is characterized in that: the detection method of described step S002 comprises:
(1) connects the acting server proxy port, detect whether successful connection;
(2) the simulation Internet data sends to acting server, and whether detect has response data;
(3) whether give acting server with Intranet end-user access public network data forwarding, detecting has response data.
7. the method for a kind of balancing loads of proxy servers according to claim 1, it is characterized in that: the load algorithm of described step S006 comprises:
(1) preferentially selects the server of front, when the acting server fault of front, select the acting server of back;
(2) the preferential processing Intranet user network of selecting connects minimum acting server;
(3) preferentially select the acting server of network traffics minimum;
(4) the source IP mean allocation according to the online request arrives each acting server;
(5) the purpose IP mean allocation according to the online request arrives each acting server;
(6) the targeted website mean allocation according to the online request arrives each acting server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810104701A CN101699793A (en) | 2008-04-23 | 2008-04-23 | Method for implementing automatic backup and load balance of proxy servers |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810104701A CN101699793A (en) | 2008-04-23 | 2008-04-23 | Method for implementing automatic backup and load balance of proxy servers |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101699793A true CN101699793A (en) | 2010-04-28 |
Family
ID=42148238
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810104701A Pending CN101699793A (en) | 2008-04-23 | 2008-04-23 | Method for implementing automatic backup and load balance of proxy servers |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101699793A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102752217A (en) * | 2012-07-16 | 2012-10-24 | 北京国创富盛通信股份有限公司 | Network acceleration system and network acceleration method |
CN102904905A (en) * | 2012-11-13 | 2013-01-30 | 无锡江南计算技术研究所 | Application security proxy method and application security proxy system |
CN103366134A (en) * | 2013-07-12 | 2013-10-23 | 浙江吉利汽车研究院有限公司杭州分公司 | Network connection management system and method |
CN103686198A (en) * | 2013-12-30 | 2014-03-26 | 优视科技有限公司 | Video data processing method, device and system |
CN103944940A (en) * | 2013-01-21 | 2014-07-23 | 华耀(中国)科技有限公司 | Equipment and method for dynamically configuring proxy server |
CN104994131A (en) * | 2015-05-19 | 2015-10-21 | 中国互联网络信息中心 | Adaptive uploading acceleration method based on distributed agent servers |
CN106612296A (en) * | 2015-10-21 | 2017-05-03 | 阿里巴巴集团控股有限公司 | A method and apparatus for assigning user equipment connection requests |
CN107018159A (en) * | 2016-01-27 | 2017-08-04 | 五八同城信息技术有限公司 | Service request processing method and device and service request method and device |
CN108055342A (en) * | 2017-12-26 | 2018-05-18 | 北京奇艺世纪科技有限公司 | A kind of data monitoring method and device |
CN111193767A (en) * | 2019-11-20 | 2020-05-22 | 视联动力信息技术股份有限公司 | Request data sending method and device and clustered server system |
-
2008
- 2008-04-23 CN CN200810104701A patent/CN101699793A/en active Pending
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102752217B (en) * | 2012-07-16 | 2016-02-03 | 北京国创富盛通信股份有限公司 | Network acceleration system and network accelerating method |
CN102752217A (en) * | 2012-07-16 | 2012-10-24 | 北京国创富盛通信股份有限公司 | Network acceleration system and network acceleration method |
CN102904905A (en) * | 2012-11-13 | 2013-01-30 | 无锡江南计算技术研究所 | Application security proxy method and application security proxy system |
CN102904905B (en) * | 2012-11-13 | 2015-10-07 | 无锡江南计算技术研究所 | Application safety Proxy Method and application safety agency plant |
CN103944940A (en) * | 2013-01-21 | 2014-07-23 | 华耀(中国)科技有限公司 | Equipment and method for dynamically configuring proxy server |
CN103366134A (en) * | 2013-07-12 | 2013-10-23 | 浙江吉利汽车研究院有限公司杭州分公司 | Network connection management system and method |
CN103686198A (en) * | 2013-12-30 | 2014-03-26 | 优视科技有限公司 | Video data processing method, device and system |
CN104994131A (en) * | 2015-05-19 | 2015-10-21 | 中国互联网络信息中心 | Adaptive uploading acceleration method based on distributed agent servers |
CN104994131B (en) * | 2015-05-19 | 2018-07-06 | 中国互联网络信息中心 | A kind of adaptive upload accelerated method based on distributed proxy server |
CN106612296A (en) * | 2015-10-21 | 2017-05-03 | 阿里巴巴集团控股有限公司 | A method and apparatus for assigning user equipment connection requests |
CN107018159A (en) * | 2016-01-27 | 2017-08-04 | 五八同城信息技术有限公司 | Service request processing method and device and service request method and device |
CN107018159B (en) * | 2016-01-27 | 2020-09-11 | 五八同城信息技术有限公司 | Service request processing method and device, and service request method and device |
CN108055342A (en) * | 2017-12-26 | 2018-05-18 | 北京奇艺世纪科技有限公司 | A kind of data monitoring method and device |
CN111193767A (en) * | 2019-11-20 | 2020-05-22 | 视联动力信息技术股份有限公司 | Request data sending method and device and clustered server system |
CN111193767B (en) * | 2019-11-20 | 2022-07-12 | 视联动力信息技术股份有限公司 | Request data sending method and device and clustered server system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101699793A (en) | Method for implementing automatic backup and load balance of proxy servers | |
CN101127701A (en) | Method for realizing proxy server load balance via network device | |
US10771377B2 (en) | System and method for real-time load balancing of network packets | |
CN101340327B (en) | Method and system for implementing load balance of network server | |
CN105765921B (en) | For carrying out method, system and the equipment of DIAMETER routing using software defined network function | |
US9444718B2 (en) | Distributed platform test network | |
TWI426752B (en) | Routing selection method and system of multi-wan interfaces and network device employing the same | |
US9178919B2 (en) | Disaster recovery with a central conferencing routing server | |
KR100900491B1 (en) | Method and apparatus for blocking distributed denial of service | |
CN106130913B (en) | The route selecting method of the more WAN mouthfuls of routers based on strategy in the case of a kind of access of multi-operator | |
CN103986741B (en) | Cloud data system, cloud data center and its method for managing resource | |
CN103945411B (en) | A kind of method and device for choosing Network Access Point | |
JP2009237935A (en) | Load balancer, load balancing method and program | |
CN106027326B (en) | Link healthprobe method and device | |
CN104270291A (en) | Content delivery network (CDN) quality monitoring method | |
CN105357076B (en) | Network connectivty detection method and device between a kind of node | |
CN102195882B (en) | According to method and the device of the routing of data flow application type | |
CN101026589A (en) | Route selecting method and router | |
CN105991347A (en) | Redirection method of DNS request message and device | |
US11888745B2 (en) | Load balancer metadata forwarding on secure connections | |
US10320680B1 (en) | Load balancer that avoids short circuits | |
US20080165683A1 (en) | Method, system, and program product for enhancing network communications between endpoints | |
CN109151009A (en) | A kind of CDN node distribution method and system based on MEC | |
JP2006262193A (en) | Controller, packet transferring method, and packet processor | |
CN112261133A (en) | CDN node control method, device, server and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20100428 |