The invention relates to the technical field of electrocardiosignal processing, in particular to an electrocardiosignal classification method based on a convolutional neural network. The method comprises the steps: S1, collecting electrocardiosignal training data, and attaching labels to the electrocardiosignal training data for data preprocessing; s2, performing data enhancement on the preprocessed training data; s3, constructing a convolutional neural network model, and training the convolutional neural network model by using the enhanced training data to obtain a training model; s4, acquiring a target electrocardiosignal, inputting the target electrocardiosignal into the training model for calculation, and outputting a probability value; and S5, performing positive and negative examplejudgment according to the output probability value to obtain a classification judgment result. According to the method, the electrocardiogram diagnosis efficiency and accuracy can be effectively improved, the provided training model can cover various complex electrocardiogram characteristics, and transfer learning of data is facilitated.