New approach for distinguishing the similarity of links