Starting from semantization of Internet documents, aiming the issue of Internet address' ergod whose objective is converting HTML documents of the original version into transitional XHTML documents and into RDF documents of direction to xml, authors have done the mathematical description and verification to cluster of IP address and computer directory / file tree based on fractal theory. With the formation's method of self-similar system, deduced a ergodic way of Internet address, designed basic iteration piece and a network address ergodic algorithm which begin with integrating of iterative algorithm and recursive algorithm. At the same time, completed demonstration of the algorithm, and analyzed the entire course of the study, have given some parameter adjustment ways to meet different requirements.