基于AOP技术的通用线程监控平台的研究与实现  被引量:3

Research and Implementation of a Thread Monitor Platform Based on Aspect-Oriented Programming

在线阅读下载全文

作  者:张瞩熹[1] 郭长国[1] 苑洪亮[2] 王怀民[2] 

机构地区:[1]中国电子设备系统工程公司研究所,北京100039 [2]国防科技大学计算机学院,湖南长沙410073

出  处:《计算机工程与科学》2007年第5期120-122,151,共4页Computer Engineering & Science

基  金:国家973计划资助项目(2005CB321804)

摘  要:在传统的OOP编程中,由于需求空间是N维而实现空间是一维的,导致了软件开发中横切关注点的代码纠缠问题,严重影响了软件的质量。作为OOP的补充,AOP很好地解决了横切关注点带来的问题,提供了核心关注点和横切关注点互相分离的解决方案。本文从具体工程中开发线程监控这一需求所暴露的问题出发,提出了为什么需要AOP编程;然后着重讨论如何通过AOP技术解决这一问题,提出并实现了基于AOP技术的通用线程监控平台。该平台可以在不手工改变系统源代码的情况下通过工具植入系统内部,实现对运行线程信息的监视、对指定线程运行速度的变换和对整个系统运行行为的控制。In traditional OOP programming, as the requirement space is N- dimensional while the implementation space is one-dimensional, this terrible mapping leads to the crosscutting concern code's tangling problem in program development, which seriously affects the quality of software. As the supplement of OOP, AOP successfully solves the problem brought by crosscutting concern. In this paper, from the view of the multithreaded monitor requirements in applications, we implement an AOP-based general thread monitor platform, which can be embedded into applications, but does not need to change the source code. So it can monitor the thread status, and control the run-time behaviors of the whole system.

关 键 词:AOP 面向方面编程 线程监控 AspectC++ 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象