A new iteration learning control algorithm with parameter identification based on recursive least squares algorithm with a forgetting factor is proposed for model parameters changing in batch process. Parameters of the learning gain are updated as model parameters change. The forgetting factor greatly decreases the impact of wrong data, so the algorithm is more adaptive. Rice wine fermentation is optimized with the new algorithm. The simulation result indicates that the algorithm is much effective and can approach anticipant contrail with less iterative when the parameters update.