计算机应用

• 典型应用(Typical applications) • 上一篇    下一篇

基于AOP的软件运行轨迹捕获技术研究与实现

张瞩熹 王怀民   

  1. 后勤科学研究所信息系统室;国防科技大学计算机学院 国防科技大学计算机学院
  • 收稿日期:2007-11-26 修回日期:1900-01-01 发布日期:2008-05-01 出版日期:2008-05-01
  • 通讯作者: 张瞩熹

Research and implementation of trace capture technique based on aspect-oriented programming

ZHANG Zhu-Xi WANG Huai-Min   

  • Received:2007-11-26 Revised:1900-01-01 Online:2008-05-01 Published:2008-05-01
  • Contact: ZHANG Zhu-Xi

摘要: 借助面向方面编程(AOP)的关注点分离思想,提出了基于AOP的软件运行轨迹捕获技术,它能在不改变源代码的情况下为系统注入运行轨迹捕获和运行行为监测功能,从而有效提高系统中监控模块的松耦合性。以该技术为基础实现了系统运行轨迹分析工具SRT,该工具能够在改善系统模块性的同时,为软件轨迹监测、系统故障定位提供量化依据与可信性保障。

关键词: 面向方面编程, 路径捕获, 系统监控

Abstract: Because the traditional software development method does not provide the mechanism that separates the trace capture concern and other business concerns, the implementation codes of all the concerns tangle seriously. To solve this problem, we applied Aspect-Oriented Programming (AOP) in the research of software trace capture and studied a technique of trace capture that can wave the monitor requirement into the system without changing the source code. This technique can improve the modularity of software effectively. Base on it, we implemented a monitor tool named Software Runtime Tracer (SRT), which can be used to analyze system manner and find program bugs and enhance the trustworthiness of software as well.

Key words: Aspect-Oriented Programming (AOP), trace capture, system monitor