The invention discloses a target sentiment analysis method and system based on an attention gated convolutional network, and the method comprises the steps: step 1, inputting a given context word vector and a corresponding target word vector, and enabling the given context word vector and the corresponding target word vector to serve as inputs for training; step 2, performing multi-head attentionmechanism interaction by utilizing the context words and the context sensing target words; step 3, enabling the sentiment feature vectors cintra and tinter generated by two channels to respectively pass through a gating convolution mechanism to generate a context word representation ai and a context word representation ui with context perception target word representations; step 4, pooling the emotion feature oi, and selecting the most representative feature; step 5, performing full connection on the pooled feature word vectors, and then performing classification through a Softmax classifier;and step 6, training and updating the attention gated convolutional network model by minimizing the cross entropy loss function. The accuracy can be effectively improved, the convergence time can be shortened, and the practicability is higher.