Randomness and intermittency affect the coordinative operation level between renewable energy and power grid. The combination of large capacity energy storage and intermittent power supply is conducive to effectively reduce the impact of intermittent power. Take wind-energy storage system as an example, power output plan of energy storage relies on the prediction of wind power. Therefore, the accuracy of wind power prediction has a great impact on the control strategy of energy storage. In combination with ultra-short term wind power prediction, an optimization method with variable duration is proposed in this paper. At the same time, within the reasonable scope of prediction accuracy, the energy storage control strategy is modified from the perspective of global optimization to achieve the optimal overall effect.