The research object of this paper is rumors, mainly focusing on the dissemination characteristics of rumors on Weibo platforms and conducting rumor attribute detection. Aiming at the problems of low accuracy and poor timeliness of current rumor detection methods, a network rumor detection method using attention mechanism and Gated Recurrent Unit (GRU) neural network is proposed. First, pre-processing operations such as data noise cleaning, Chinese word segmentation and stop word removal are performed on the constructed Weibo corpus data, and word vectors are obtained by using the Continuous Bag-of-Words (CBOW) model in the Word2vec neural language model. Then, the Bidirectional GRU neural network (BiGRU) is used to obtain information, combined with the structured attention mechanism to build an GRU rumor detection model. The introduction of attention mechanism makes the network model tend to grasp the text Semantic information. Finally, the Adam algorithm is used to optimize the proposed model, and the loss function of the model is constructed and minimized in combination with the binary cross-entropy loss function. The results show that the detection precision rate, recall rate, F1 value and accuracy rate of the proposed method are the largest, reaching 95.28%, 88.78%, 88.69% and 94.89%, respectively, and the detection performance is better than the other three comparison algorithms.