The invention discloses a convolutional neural network method based on a parallel multi-scale time convolution kernel, and mainly solves the problems of low detection accuracy and difficulty in effectively detecting imaginary movement of a user in the prior art. According to the implementation scheme, the method comprises the following steps: collecting imaginary motion electroencephalogram data,preprocessing the imaginary motion electroencephalogram data, and making a data set by using the preprocessed electroencephalogram data; constructing a convolutional neural network, training the convolutional neural network by using the training set and the verification set, testing the convolutional neural network by using the test set, and performing fine tuning on the tested convolutional neural network by using the electroencephalogram data of the testee to obtain a final convolutional neural network suitable for the testee to perform an online experiment; and obtaining an online imagination motion electroencephalogram signal of the testee in real time, and sending the online imagination motion electroencephalogram signal to the final convolutional neural network to obtain a real-timeclassification result. The method can effectively detect the imaginary movement of the user, improves the classification accuracy of the imaginary movement electroencephalogram signals, can be used for medical service, and serves as an auxiliary tool to participate in rehabilitation treatment of stroke patients.