Let M t , v r ( n m ) 2 ? < be the collection of self-affine carpets with expanding matrix diag which are totally disconnected, possessing vacant rows and uniform horizontal fibers. In this paper, we introduce a notion structure tree metric space, thanks to new notion, completely characterize when two in Lipschitz equivalent.