首先分析了LAMOST观测控制系统中命令执行器的作用;然后针对并行命令与串行命令递归组合成的复杂命令流,给出了对命令流中的命令进行调度的方法;最后通过一个实例,详细地描述了命令执行器中命令调度的设计和实现.
The command executor module of LAMOST observatory control system is introduced. In view of the complex command pipeline composed of the serial commands and parallel commands, dispatching of the commands was discussed in detail. The arithmetic of OCS command dispatcher was designed, and an example was given.