摘要
脚本生成系统是仿真开发工具的重要组成部分,它的主要功能是生成能够直接驱动仿真系统的脚本,并且支持对各种脚本的管理和维护。该文着重论述了建立脚本生成系统所需要的关键技术和系统的实现方法。系统引入了XML模式技术以实现其主要功能,包括想定和脚本的验证、将XML格式的想定转换为XML格式的脚本以及生成新的脚本实体。实践表明,该系统能够快速地生成脚本并对脚本进行有效地管理。
The Script Generate System is an important part of the simulation - developing tools. The main function of it is to generate the script which can drive the simulation system, and to support the management of various scripts. This paper emphasizes on the key technologies for creating the Script Generate System, and the method of realizing the system. The system utilizes XML Schema to realize its main functions, including the validation of scenarios and scripts, the transferring from the XML - formatted scenario to the XML - formatted script and the creation of a new Script Element, The fact has proved that the system can generate the script quickly and manage scripts efficiently.
出处
《计算机仿真》
CSCD
2006年第8期248-251,共4页
Computer Simulation
关键词
想定
脚本
模式
可扩展的标记语言
脚本生成系统
Scenario
Script
Schema
Extensible markup language(XML)
Script generate system(SGS)