【24h】

Complete Code Generation from UML State Machine

机译:UML状态机的完整代码生成

获取原文

摘要

An event-driven architecture is a useful way to design and implement complex systems. The UML State Machine and its visualizations are a powerful means to the modeling of the logical behavior of such an architecture. In Model Driven Engineering, executable code can be automatically generated from state machines. However, existing generation approaches and tools from UML State Machines are still limited to simple cases, especially when considering concurrency and pseudo states such as history, junction, and event types. This paper provides a pattern and tool for complete and efficient code generation approach from UML State Machine. It extends IF-ELSE-SWITCH constructions of programming languages with concurrency support. The code generated with our approach has been executed with a set of state-machine examples that are part of a test-suite described in the recent OMG standard Precise Semantics Of State Machine. The traced execution results comply with the standard and are a good hint that the execution is semantically correct. The generated code is also efficient: it supports multi-thread-based concurrency, and the (static and dynamic) efficiency of generated code is improved compared to considered approaches.
机译:事件驱动的架构是设计和实现复杂系统的有用方法。 UML状态机及其可视化是一种强大的手段,用于建模这种架构的逻辑行为。在模型驱动的工程中,可以从状态机自动生成可执行代码。然而,来自UML状态机的现有的生成方法和工具仍然仅限于简单的情况,特别是在考虑诸如历史,结和事件类型的同意和伪状态时。本文提供了来自UML状态机的完整和有效的代码生成方法的模式和工具。它扩展了与并发支持的编程语言的其他交换机结构。使用我们的方法生成的代码已经使用一组状态机示例执行,该示例是状态机最近的OMG标准精密语义中描述的测试套件的一部分。追踪的执行结果符合标准,并且执行在语义上是一个很好的暗示。生成的代码也有效:它支持基于多线程的并发性,并且与所考虑的方法相比,生成代码的(静态和动态)效率得到改善。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号