With the rapid development of Internet technology, more and more people begin to pay attention to and study the information mining and data analysis in social networks, and the maximization of influence widely used in marketing have gradually become the focus of people's research. Nowadays, most of the researches on the maximization of influence under topic preference in social network information dissemination only tend to judge the influence of nodes on a certain information from the interaction of nodes to the topic content of information. The combination of the topology of social networks and the topic content of information dissemination is not considered. In view of this situation, an influence maximization algorithm under topic preference(IMATP algorithm) is proposed, which evaluates the comprehensive influence of nodes by combining node centrality and theme influence. Experimental results on data sets of different sizes from Twitter show that the algorithm proposed in this paper is closer to the actual propagation situation. And compared with the classical algorithm, this algorithm not only improves the scope of influence, but also improves the running efficiency.