The invention relates to the technical field of computer networks, and discloses a link prediction method based on a network structure and text information, and the method comprises the steps: S1, obtaining a structure embedding vector of a node based on a random walk node in the network structure; s2, constructing a convolutional neural network to process the text information of the nodes to obtain text information embedding vectors of the nodes; s3, performing joint embedding on the structure embedding vector and the text information embedding vector of the node; s4, generating a training set and a test set; s5, constructing a neural network for binary classification learning; s6, training a neural network; and S7, result prediction: the link prediction method based on the network structure and the text information is simple in calculation process, small in error and high in prediction accuracy.