摘要
在基于构件 /构架的软件开发模式中 ,源代码级的构件组装是其中非常重要的一个环节 .采用传统的构件检索技术 ,如刻面检索、关键词检索等来检索满足组装需求的构件存在查全率和查准率低的缺点 ,基于构件规约的检索是解决这些缺点的有效途径 .本文在青鸟构件描述语言 (JBCDL )的基础上 ,详细研究了规约语法匹配的基本原理和匹配策略 ,提出了构件接口匹配度和冗余度的概念用于评估检索结果 ,最后给出一种构件接口的规范化表示方法 ,用于提高规约语法匹配的响应速度 .本文的研究结果也同样适用于 Ada、COM、CORBA等构件规约 .
Component assembly based on source code is very important in software production line. But both recall and precision are low when retrieving the desired components which meet assembling requirement by conventional retrieval mechanisms such as facet retrieval and keyword retrieval . The retrieval based on component specification is an effective method to solve this problem. The paper discusses the basic retrieving principles and matching strategies based on specification syntax. The component description language we use in the paper is JBCDL. We put forward the concepts of component interface suited degree and redundant degree to evaluate querying results. We also give an algorithm to normalize component specification, which will improve the response speed of retrieval dramatically. The method in this paper also applies to COM and CORBA specification.
出处
《小型微型计算机系统》
CSCD
北大核心
2002年第10期1153-1157,共5页
Journal of Chinese Computer Systems
基金
国家"九五"科技攻关项目 ( 98-780 -0 1-0 2 )资助
关键词
规约匹配
构件检索
语法匹配
软件开发
component retrieval
component specification
signature matching