The invention relates to a
convolution operation optimization method and
system, a terminal and a storage medium. Comprising the following steps: inputting image data in a
data memory module into a multi-thread data caching module, and recording data characteristics of the image data in each thread; when all the threads are filled with the image data, performing spatial-
temporal similarity analysis on the data features of the at least two adjacent threads, and when the data features of the at least two adjacent threads have spatial-
temporal similarity, filtering out the image data of at least one thread in the at least two adjacent threads, taking the thread after filtering the image data as an idle thread to cache the image
data input by the
data memory module again, and performing space-time
similarity analysis again when all the threads are filled with the image data again; and performing
convolution calculation according to the cached image data, and outputting new image data. According to the method, the actual
convolution operation amount is greatly reduced, the data
reusability is improved, the overall network calculation time is shortened, and the
chip performance is improved.