The paper creates a Heston stochastic volatility model for the defined pension fund management with the logarithm utility function,and transfers the primal problem to the dual problem by applying optimal control theory and the Legendre transform. It provides an analytic solution to the primal optimal problem by studying the dual problem. At last,an optimal asset allocation strategy( between a risky asset and a riskless asse...