摘要
为消除或降低容错软件开发人员对非业务逻辑的关注度要求,提升系统的可维护性,提出了一种支持容错逻辑动态织入的非侵入式容错软件模型。通过在设计阶段将容错逻辑抽取成为若干独立可管理的容错切面,并在运行时将其动态织入软件系统中以保证软件服务质量。分析了声明式容错策略,探讨了以软件冗余副本为容错机制的容错切面建模和编织方法。最后基于此模型扩展了一个J2EE常规应用,使之具有容错能力。测试结果表明,该模型能有效提升容错软件的开发效率和可维护性。
To eliminate or reduce concern of non-business logic inflict on developers of fault-tolerance software, and increase the maintainability of system, a non-invasive model is proposed, which supports fault-tolerance logic weaving dynamically. Fault-tolerance logic is extracted to independent and manageable aspects at design stage, and is woven into the system to satisfy quality of service ofsoftware at runtime. Thedeclarationoffanlt-tolerancepolicyisconstructed, and then how to modeling and weave the fault-tolerance aspects by using component replicate is discussed. Finally, a regular J2EE application is extended to satisfy the capability of fault-tolerance based on this model. Experimental results show that the model promotes development productivity and maintainability of fault-tolerance software effectively.
出处
《计算机工程与设计》
CSCD
北大核心
2010年第19期4242-4246,共5页
Computer Engineering and Design
基金
安徽省自然科学基金项目(070412058)
安徽工程科技学院青年科研基金项目(2006YQ034)
关键词
容错软件
侵入性
面向切面设计
声明式策略
动态织入
副本
fault-tolerancesoftware
invasion
aspect-orienteddesign
policy declaration
dynamic weaving
replicate