Modeling of UDP Hole Punching in P2P Network Using Petri Net
Rui Chen, Xiaojing Meng · 2012
NAT(Network Address Translation) effectively eases the problem of IP address exhaustion, but it also brings some difficulties to Peer-to-Peer communication,so NAT traversal has become a problem to be solved by P2P application.Petri net is widely used in the simulation and analysis of discrete event system because of the features such as simplicity,direct viewing and strong potential sumulation capability. Firstly,this paper simply analyzed the necessity of UDP hole punching technique in P2P network and the advantages of Petri net modeling,then the UDP hole punching process was detailedly described and the Petri net related definitions were given, finally,the UDP hole punching was modeled using Petri net and this paper further maked the reachability analysis.In this way,this paper showed the UDP hole punching process in a more intuitive way.