NAT(Network Address Translation)技术有效地缓解了IPv4地址匮乏的压力,并具有保护网络安全的重要作用.P2P(Peer to Peer)技术的发展改变了传统的C/S架构,使得通信双方更加直接、便捷地交互信息和资源.然而NAT的存在对P2P的应用具有一...NAT(Network Address Translation)技术有效地缓解了IPv4地址匮乏的压力,并具有保护网络安全的重要作用.P2P(Peer to Peer)技术的发展改变了传统的C/S架构,使得通信双方更加直接、便捷地交互信息和资源.然而NAT的存在对P2P的应用具有一定的影响.针对这种情况,提出了一种穿透NAT的P2P解决方案.方案由P2PServer和P2PClient端组成,服务端运行在一个拥有公网IP的计算机上,客户端运行在两个不同的NAT后,通过Socket编程来模拟穿透NAT,从而实现P2P通信.实验结果表明,交互的数据不经过中心服务器也可实现两台位于NAT后的主机完成P2P通信.展开更多
Combining the characteristics of peer-to-peer (P2P) and grid, a super-peer selection algorithm--SSABC is presented in the distributed network merging P2P and grid. The algorithm computes nodes capacities using their...Combining the characteristics of peer-to-peer (P2P) and grid, a super-peer selection algorithm--SSABC is presented in the distributed network merging P2P and grid. The algorithm computes nodes capacities using their resource properties provided by a grid monitoring and discovery system, such as available bandwidth, free CPU and idle memory, as well as the number of current connections and online time. when a new node joins the network and the super-peers are all saturated, it should select a new super-peer from the new node or joined nodes with the highest capacity. By theoretical analyses and simulation experiments, it is shown that super-peers selected by capacity can achieve higher query success rates and shorten the average hop count when compared with super-peers selected randomly, and they can also balance the network load when all super-peers are saturated. When the number of total nodes changes, the conclusion is still valid, which explains that the algorithm SSABC is feasible and stable.展开更多
文摘NAT(Network Address Translation)技术有效地缓解了IPv4地址匮乏的压力,并具有保护网络安全的重要作用.P2P(Peer to Peer)技术的发展改变了传统的C/S架构,使得通信双方更加直接、便捷地交互信息和资源.然而NAT的存在对P2P的应用具有一定的影响.针对这种情况,提出了一种穿透NAT的P2P解决方案.方案由P2PServer和P2PClient端组成,服务端运行在一个拥有公网IP的计算机上,客户端运行在两个不同的NAT后,通过Socket编程来模拟穿透NAT,从而实现P2P通信.实验结果表明,交互的数据不经过中心服务器也可实现两台位于NAT后的主机完成P2P通信.
基金The National High Technology Research and Development Program of China (863 Program) (No.2007AA01Z422)the NaturalFoundation of Anhui Provincial Education Department (No.2006KJ041B,KJ2007B073)
文摘Combining the characteristics of peer-to-peer (P2P) and grid, a super-peer selection algorithm--SSABC is presented in the distributed network merging P2P and grid. The algorithm computes nodes capacities using their resource properties provided by a grid monitoring and discovery system, such as available bandwidth, free CPU and idle memory, as well as the number of current connections and online time. when a new node joins the network and the super-peers are all saturated, it should select a new super-peer from the new node or joined nodes with the highest capacity. By theoretical analyses and simulation experiments, it is shown that super-peers selected by capacity can achieve higher query success rates and shorten the average hop count when compared with super-peers selected randomly, and they can also balance the network load when all super-peers are saturated. When the number of total nodes changes, the conclusion is still valid, which explains that the algorithm SSABC is feasible and stable.