To find out the hidden valuable information or some association rules of a large amount of information in current library books management system is of great guiding significance for the library management and service. In this paper, the collaborative filtering mining design was conducted for the university library management. Besides, library data mining was completed based on collaborative filtering algorithms, and the book recommendation model was generated. The test results showed that prediction success rate (precision ratio) of books based on collaborative filtering algorithm was much higher than that through the traditional algorithm. Therefore, the algorithm designed in this paper achieves the purpose and can be used for reference in university library management.