针对主动队列管理(AQM)研究中缺乏系统的理论分析的问题,引入最优控制理论进行分析,得到了主动队列管理的数学模型,该模型包括两个差分方程,分别描述队列长度和平均队列长度的变化;给定目标函数,以分组丢弃概率为控制变量,将主动队列管理的优化问题转化为动态规划问题,给出优化策略。According to the problems that currently many Active Queue Management schemes are heuristic algorithms and lack of systemic and theoretic analysis. In this paper, the optimal control theory is introduced to optimize the Active Queue Management schemes. A mathematical model on the Active Queue Management is given. This model includes two difference equations, which denote the evolvement of queue length and average queue length respectively. Under certain target function, using the drop probability to be the control variable, the problem of optimizing the Active Queue Management can be convert into a dynamic programming problem. Finally, the optimal approach are proposed.