The invention discloses an optimization method and device for reading performance of a
flash memory in a controller and a storage medium, and belongs to the technical field of flash memories.The method comprises the steps that a preset characteristic quantity, the number of erasing and writing reading times and
data retention time are input into a current prediction model to obtain a reading
voltage offset interval; the method for predicting the
threshold voltage distribution of the
flash memory according to the use condition of the
flash memory is more real-time; on the basis of reading the
voltage offset interval, performing read retry operation; during read retry operation, only one offset value of read
voltage is adjusted to change in each page, and other voltage offset values in the same page change along with the change of the offset value of the read voltage; through the correlation of different read voltage deviation values of the same page, the number of times of re-reading is greatly reduced, the re-reading time is shortened, the reading performance is improved, the current prediction model is further updated and stored by utilizing
threshold voltage distribution data determined by the read re-try operation, and the updated prediction model is used for the next read operation, so that the prediction accuracy is improved.