作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2019, Vol. 45 ›› Issue (5): 298-307,314. doi: 10.19678/j.issn.1000-3428.0050731

• 开发研究与工程应用 • 上一篇    下一篇

基于Event-B的自动化模块组合方法研究

陈金鑫,苏雯   

  1. 上海大学 计算机工程与科学学院,上海 200444
  • 收稿日期:2018-03-12 出版日期:2019-05-15 发布日期:2019-05-15
  • 作者简介:陈金鑫(1994—),女,硕士研究生,主研方向为形式化方法、可信计算;苏雯,讲师、博士。
  • 基金资助:

    国家自然科学基金(61602293)。

Research on automated module composition method based on Event-B

CHEN Jinxin,SU Wen   

  1. School of Computer Engineering and Science,Shanghai University,Shanghai 200444,China
  • Received:2018-03-12 Online:2019-05-15 Published:2019-05-15

摘要:

Event-B共享变量和共享事件方法可将大型系统分解成多个子系统,并独立建模开发,但其需要手工干预以实现模型间事件的组合。为提高组合效率,提出一种针对模型的自动化组合理论,并开发自动化组合工具原型。为在精化模型中逐步引入模块调用,改进PROG方法,开发自动精化工具原型。通过2个应用案例,验证了自动化组合工具能自动组合事件,自动精化工具能减少调用变量的数量,从而增强系统模型的可读性和可维护性。

关键词: 形式化方法, Event-B方法, 模块化建模, 自动化模块组合方法, 模块调用, 精化

Abstract:

Event-B shared-variable and shared-event methods can decompose a large scale system into multiple subsystems and model them independently.Nevertheless,the existing Event-B method requires manual intervention to perform event composition among models.Therefore,this paper proposes a theory for the automated composition of models and develops an automated tool to improve the efficiency of model composition.With regard to the step-by-step introduction of module calls in the refinement model,this paper improves the PROG method and develops an automated refinement tool prototype.Through the two application case,the automated composition tool can compose events automately,the refinement tool reduces the call variables,which enhances the readability and maintainability of the system model.

Key words: formal method, Event-B method, modular modeling, automated module composition method, module calls, refinement

中图分类号: