期刊文献+

基于ANTLR的AltaRica 3.0模型平展化算法设计与实现 被引量:5

Design and Implementation of Flattening Algorithm for AltaRica 3.0 Model Based on ANTLR
在线阅读 下载PDF
导出
摘要 AltaRica 3.0是一类面向复杂关键系统的安全性建模与分析语言,由于AltaRica 3.0的结构模型S2ML(System Structure Modeling Language)是描述真实系统的层次结构信息,无法进行模型的安全性分析,而AltaRica 3.0的语义模型GTS(Guarded Transition Systems)可以用来进行安全性分析,因此,将AltaRica 3.0的S2ML转换为语义等价GTS语义模型是最新的AltaRica 3.0中的一个关键技术.为此,本文提出了一种基于ANTLR(Another Tool for Language Recognition)的AltaRica 3.0模型平展化算法.首先,根据Block和Class对AltaRica 3.0模型进行分割分别获取对应的AST(Abstract Syntax Tree);然后设计相关的转换算法,在遍历AST时,对结点存储的AltaRica 3.0模型语言信息进行获取和转换,通过不断的递归过程获取到平展化后的文件.实验表明,设计的算法可以很好地完成AltaRica 3.0模型的平展化过程. AltaRica 3.0 is a language for safety modeling and analysis of safety-critical systems. Since the structural model S2ML(System Structure Modeling Language) of AltaRica 3.0 is used to describe the hierarchical information of the real system,the safety of the model cannot be analyzed,and GTS model(Guarded Transition Systems) of AltaRica 3.0 can analyze the safety of the system,converting from AltaRica 3.0 model with hierarchical information to semantically equivalent flattened GTS semantic model is a key technology in the latest AltaRica 3.0. In order to effectively implement the flattening process,an flat algorithm based on ANTLR(Another Tool for Language Recognition) for AltaRica 3.0 model is proposed. Firstly,the AltaRica 3.0 model is segmented according to Block and Class to obtain the corresponding AST(Abstract Syntax Tree);then the related transformation algorithm is designed. When traversing AST,the information of AltaRica 3.0 model language stored in the node is obtained and transformed. The iterative process gets a flattened file. Experiments show that the designed algorithm can complete the flattening process of the AltaRica 3.0 model.
作者 陈朔 胡军 王立松 CHEN Shuo;HU Jun;WANG Li-song(College of Computer Science and Technology,Nanjing University of Aeronautics and Astronautics,Nanjing 211106,China;Collaborative Innovation Center of Novel Software Technology and Industrialization,Nanjing 210007,China)
出处 《小型微型计算机系统》 CSCD 北大核心 2020年第7期1476-1487,共12页 Journal of Chinese Computer Systems
基金 国家“九七三”重点基础研究发展计划项目(2014CB744903)资助 南京航空航天大学研究生创新基地(实验室)开放基金项目(kfjj20181607) 中央高校基本科研业务费专项资金项目资助。
关键词 ANTLR AltaRica 3.0 平展化 AST A2GTS 转换算法 ANTLR AltaRica 3.0 flattening AST A2GTS conversion algorithm
  • 相关文献

参考文献6

二级参考文献36

  • 1王立伟,汪健甄.国外军用飞机平视显示器的发展[J].红外与激光工程,2007,36(z2):578-582. 被引量:22
  • 2李春亮.民航飞机平视显示器[J].电光与控制,1995,2(1):31-41. 被引量:1
  • 3[1]Neumann P G. Illustrative risks to the public in the use of computer systems and related technology[J]. ACM SIGSOFT Software Engineering Notes, 1992, 16(7):24-32.
  • 4[2]Leveson N G. System Safety in Computer-Controlled
  • 5[3] Browen J P, Stavridou V. Formal methods and software
  • 6[4] Brazendale J, Jeffs A R. Out of control:Failures involvin g control systems[J]. High Integrity Systems, 1994, 1(1):67-72.
  • 7[5] Rushby J. Formal Methods and their Role in the
  • 8[6] Dill D L, Rushby J. Acceptance of formal methods:
  • 9APSYS. SIMFIA User manual[R]. APSYS, 2012.
  • 10孙隆和.平视显示器在民用客机上的应用[J].电光与控制,1987,(2):26-28.

共引文献27

同被引文献29

引证文献5

二级引证文献16

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部