• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2012, Vol. 34 ›› Issue (5): 153-156.

• 论文 • 上一篇    下一篇

基于有限状态机的可校核仿真模型研究

皮学贤1,2,荆 涛1,柳 林1,钟玮珺 1   

  1. (1.海军装备研究院,北京 100161;2.海军装备研究院博士后科研工作站,北京 100161)
  • 收稿日期:2011-11-18 修回日期:2012-02-17 出版日期:2012-05-25 发布日期:2012-05-25

Research on a Verification Simulation Model Based on Finite State Machine

PI Xuexian1,2,JING Tao1,LIU Lin1,ZHONG Weijun1   

  1. (1.Navy Armament Academy,Beijing 100161;2.Navy Armament Academy Postdoctoral Workstation,Beijing 100161,China)
  • Received:2011-11-18 Revised:2012-02-17 Online:2012-05-25 Published:2012-05-25

摘要:

基于有限状态机仿真模型因其外部环境的复杂交互关系,而难以完整复现其状态变迁过程,更难对模型进行校核与检验;而模型校核对于确保仿真的可信度十分重要。本文从分析基于有限状态机的仿真对象模型状态变迁及公共调用接口出发,将有限状态机模型的公共接口区分为参数注入方法集、参数提取方法集和无参数方法集。并在此基础上,提出并实现了对有限状态机模型接口输入集进行窥视和顶替的校核策略。实验表明,在满足若干禁入规则的条件下,该方法能够完整复现有限状态机模型的状态变迁过程,从而可为实现可校核与可检验有限状态机模型提供建模框架。

关键词: 有限状态机, 模型范式, 软件工程

Abstract:

The simulation model based on FSM( Finite State Machine ) is difficult for an recurrence of its transition due to the complicated external environment, so the verification and validation of the FSM model are almost impossible though they are very important to modeling and simulation in any application. According to the migration of state and public methods, this paper brings out a principle to classify the public interface functions, and propose verification tactics to monitor the set of input/output interfaces. The test demonstrates that this method is effective and feasible.

Key words: finite state machine;paradigm of model;software engineering