SPEM(soft ware process engineering metamodel)是国际标准化组织制定的标准元模型,正日益成为软件过程建模领域的行业标准,但在过程执行方面,SPEM还存在不足.将软件过程看作是一种特殊的工作流,提出了一种应用X-作流运行机制支持软件过程执行的方法.通过将SPEM模型转换为XPDL(XMLprocessdefinitionlanguage)模型,利用XPDL引擎支持SPEM模型的执行.制定了SPEM和XPDL之间的映射规则,设计了转换算法并开发了转换引擎.该方法被应用在SoftPM项目中,成功地基于XPDL引擎Shark实现了对软件过程模型的执行支持.
SPEM (software process engineering metamodel) is the standard metamodel put forward by OMG (object management group) and widely accepted in industry. However, its model enactment is still at the early stage. In this paper, software process is viewed as a specialization of the more general kind of process known as workflow. SPEM2XPDL is presented as a software process enactment approach based on the model transformation. The well-defined mapping rules from SPEM to XPDL (XML process definition language) metamodels are provided and the corresponding transformation algorithm and engine are developed. This approach is implemented in the SoftPM project. After transformed to XPDL format, the SPEM models are successfully enacted by Shark, a famous XPDL engine.