The reliability of search results is an important index affecting the majority of Internet users use search engines. TS algorithm is proposed based on the open source OPIC algorithm. The algorithm is based on improved indexing attribute and to create two properties includes Webpage creation time and Webpage depth added to TS algorithm to realize the diversification Webpage score. This can improve the disadvantages of the OPIC algorithm emphasis on the history of the page, to make the search results more reasonable. Finally, it is proved by experiments that the result of TS algorithm is more reliable.