The invention discloses a proxy cluster service system and method based on ADSL, the system includes state management cluster, the count of IP server, ADSL server cluster and client management; cluster state is responsible for the control of the ADSL server in ADSL server cluster and redial state collection; the count of IP server is responsible for effective time of T in public IP and counting provide a count query function, more than T, the IP count is cleared; each server in ADSL server cluster is responsible for the implementation of ADSL to redial, state management report IP cluster and the state, and provide agency services; the client is responsible for the communication with the state management of cluster, query the current available agent, through the proxy to access the external network. The invention uses proxy cluster can effectively improve the data throughput, the number of using dynamic IP to effectively reduce the target site to prohibit access, by setting the redial waiting time, which can effectively deal with the received request in the redial wait time, not because of too much lead to super redial request.
【技术实现步骤摘要】
一种基于ADSL的代理集群服务系统及方法
本专利技术涉及一种基于ADSL的代理集群服务系统及方法。
技术介绍
目前代理服务器如squid(一种代理服务器)等,通常运行在单一服务器节点上,每次仅使用单一ip(网络之间互联的协议),在需要获取大量目标网站数据时,因单一ip请求次数太多,而被目标网站禁止访问,导致数据获取无法进行。而现有的多ip代理方法无法处理ip重复获取问题,且在切换ip时,对当前代理请求不做任何处理,导致代理请求超时过多。且客户端在使用时,无法统计当前已使用ip数量,而统计这些运行状态对数据采集的策略调整较为重要。
技术实现思路
本专利技术的目的在于针对现有代理技术的不足,提供一种基于ADSL(异步传输模式)的代理集群服务系统及方法。本专利技术的目的是通过以下技术方案来实现的:一种基于ADSL的代理集群服务系统,包括状态管理集群、ip计数服务器、ADSL服务器集群和客户端;所述状态管理集群负责控制ADSL服务器集群中ADSL服务器的重拨和状态收集;所述ip计数服务器负责对有效时间T内的公网ip计数并提供计数查询功能,超过T后,该ip计数清零;所述ADSL服务器集群中的每台服务器负责执行ADSL重拨、向状态管理集群汇报ip和状态,并提供代理服务;所述客户端负责与状态管理集群进行通讯,查询当前可用代理,并通过该代理访问外部网络。一种基于ADSL的代理集群服务方法,该方法包括如下步骤:(1)在状态管理集群中保存所有ADSL服务器的配置,包括最小可用代理数Pmin,同ip可重复次数Lmax,最小重拨时间间隔Tmin,代理请求超时时间Tout。(2)ADS ...
【技术保护点】
一种基于ADSL的代理集群服务系统,其特征在于,包括状态管理集群、ip计数服务器、ADSL服务器集群和客户端;所述状态管理集群负责控制ADSL服务器集群中ADSL服务器的重拨和状态收集;所述ip计数服务器负责对有效时间T内的公网ip计数并提供计数查询功能,超过T后,该ip计数清零;所述ADSL服务器集群中的每台服务器负责执行ADSL重拨、向状态管理集群汇报ip和状态,并提供代理服务;所述客户端负责与状态管理集群进行通讯,查询当前可用代理,并通过该代理访问外部网络。
【技术特征摘要】
1.一种基于ADSL的代理集群服务系统,其特征在于,包括状态管理集群、ip计数服务器、ADSL服务器集群和客户端;所述状态管理集群负责控制ADSL服务器集群中ADSL服务器的重拨和状态收集;所述ip计数服务器负责对有效时间T内的公网ip计数并提供计数查询功能,超过T后,该ip计数清零;所述ADSL服务器集群中的每台服务器负责执行ADSL重拨、向状态管理集群汇报ip和状态,并提供代理服务;所述客户端负责与状态管理集群进行通讯,查询当前可用代理,并通过该代理访问外部网络。2.一种基于ADSL的代理集群服务方法,其特征在于,该方法包括如下步骤:(1)在状态管理集群中保存所有ADSL服务器的配置,包括最小可用代理数Pmin,同ip可重复次数Lmax,最小重拨时间间隔Tmin,代理请求超时时间Tout。(2)ADSL服务器启动服务后,重拨获取公网ip,查询ip计数服务器中该ip的当前计数,若大于Lmax,则继续重拨直到获取的公网ip计数小于Lmax。然后将ip计数服务器中该ip的计数加1,向状态管理集群汇报可用状态,状态管理集群为其分配一个递增...
【专利技术属性】
技术研发人员:黄琦,王伟琼,姬成龙,
申请(专利权)人:杭州淘淘搜科技有限公司,
类型:发明
国别省市:浙江,33
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。