计算机应用 ›› 2005, Vol. 25 ›› Issue (08): 1874-1877.DOI: 10.3724/SP.J.1087.2005.01874

• 软件开发与方法 • 上一篇    下一篇

基于UML的面向方面的实时系统建模方法

刘瑞成,张立臣   

  1. 广东工业大学计算机学院
  • 发布日期:2011-04-07 出版日期:2005-08-01

Aspect-oriented real-time system modeling method based on UML

LIU Rui-cheng,ZHANG Li-chen   

  1. Faculty of Computer Science, Guangdong University of Technology,Guangzhou Guangdong 510090, China
  • Online:2011-04-07 Published:2005-08-01

摘要: 利用基于UML的面向方面编程(AOP)技术来建模实时系统,把实时关注从系统中分离出来,形成一个独立于系统的时间方面,实现时间方面的并发设计和系统时间特性的统一管理。AOP技术允许把设计好的时间方面根据需要重新织入系统,组合为实时系统。模型从系统的静态结构模型、动态行为模型和时间方面的织入等几部分来建模实时系统,并扩展了UML来表达AOP技术和时间概念,提高软件的重用性。一个电梯控制系统例子用来说明了这种建模方法。

关键词: 统一建模语言, 面向方面, 关注分离, 实时系统

Abstract: Real-time systems could be modeled by using aspect-oriented programming (AOP) technology based on UML. Timing requirements could be separated from the systems and expressed as a time-aspect independence of the systems. So the time-aspect can be designed concurrently, and the time feature of the systems can be managed by the unified model. The time-aspect could be woven into systems to compose real-time systems based on the AOP technology only when needed for a particular application. Real-time systems could be modeled from the static structure, dynamic behaviors and weaving of the time-aspect. The model extends UML to meet the need of AOP technology and the time model, and improves the usability of the software. Finally an elevator case was given as an example.

Key words: UML, aspect-orientation, separation of concerns, real-time systems

中图分类号: