摘要
基于构件的软件开发(CBD)是当前大型软件系统开发方法的主流,而CBD的基础是构件库及其检索方法。目前主要采用从领域模型中获得特定领域知识辅助用户进行构件检索,但缺乏较好的领域模型表示方法。本文对使用UML表示领域模型进行了研究,提出了一个利用UML和领域词典中的领域知识辅助用户刻画领域、扩充和求精初始查询、形成用户的构件需求并指导构件库检索,通过行为相似性确定构件的构件检索方法。该方法增强了用户对领域知识的了解,在检索过程中充分考虑了与构件相关的领域知识、检索上下文以及用户的意图,可对结果集进行有效筛选评优,极大地提高了查全率、查准率及用户的满意度。为了验证该方法的可行性和有效性,设计并实现了一个高效的构件检索环境。
The methods of component retrieval in the reused component repository were designed that an initial search query should be refined with domain specific knowledge to generate more appropriate queries to retrieval relevant components without sacrificing precision. But in the methods domain model was not fully and well represented, and consequently caused the bad results of retrieval precision and user satisfaction. In the paper a method to describe domain model and an approach to component retrieval based on UML are proposed. The method exploits domain specific knowledge embedded in UML and domain dictionary to facilitate component retreval. Because of domain specific knowledge and context in retrieval processes are taken into account ,the method leads to a positive result in greater recall and precision and user satisfaction.
出处
《计算机应用与软件》
CSCD
北大核心
2006年第8期48-49,73,共3页
Computer Applications and Software
基金
陕西省教育厅重点科研基金项目(01ZC26)
航空科学研究基金(03F31007)资助。
关键词
CBD
构件检索
领域模型
复用构件库
UML
CBD Component retrieval Domain model Reused component repository UML