This paper analyzes the operational characteristics of the library. Based on this, the author improve the traditional PageRank algorithm to rank for similar books. This innovation is that according to the characteristics of the PageRank algorithm, reduced times, books, readers, book by three to a unified relationship plane up, through the matrix solution to the PageRank relations in the initial value problems return, and achieve the algorithm.