提出了一种基于概念模型的AOP框架,它能从语义上解决AOP系统中的结构冲突问题。为了实现该框架,设计了概念模型配置工具、基础程序标注生成工具、概念层信息更新工具和基础程序转换工具。概念模型配置工具便于程序员设计概念模型中物理信息、逻辑信息及其映射关系,基础程序标注生成工具能根据概念层信息自动为基础程序增加或更新标注,概念层信息更新工具能把修改后的基础程序信息自动更新到概念层,基础程序转换工具能把标注后的基础程序自动生成用逻辑信息表示的概念层程序。这些支撑工具的研究与设计,使基于概念模型的AOP框架更具实用性,便于该框架的应用。
AOP framework based on conceptual model is proposed,which solved structural conflict in AOP application at the semantic level.In order to implement the framework,deployment tool of conceptual model,annotation generation tool of basic program,update tool of physical information and transformation tool of basic program are presented.The deployment tool of conceptual model is used to design physical information,logical information and mapping.The annotation generation tool of basic program is used to add or update annotation for basic program.The update tool of physical information is used to update physical information in the conceptual model when basic program is modified.The transformation tool of basic program is used to transform basic program to meta-program.These tools can make AOP framework based on conceptual model more practical and easier to apply.