Recently, the computing paradigm has switched from mainframe and desktop computing to ubiquitous computing; one of whose motivations is to provide intelligent, personalized and comprehensive services to users. As a solution of ubiquitous computing, Active Services has proposed to generate such services on demand by retrieving, adapting, and composing of existing service components. As the popularity of this paradigm, and hence the number of service components increases, how to efficiently retrieve components to maximally meet user requirements has become a fundamental and significant problem. However, current service components are stored dispersedly on the Internet, nor classified in a unified specification, so that traditional component retrieval methods often fail to search and rank components among several different repositories. To solve these problems, this paper proposes a novel component retrieval method based on a weighted facet tree. We first formally specify the components and user queries under facet classification space in the form of weighted trees, then design a component retrieval algorithm by matching between the trees of query and component, in which the sum of the weights of all the leaf nodes in Query Tree are calculated, and finally rank the matched components by matching degree. The experimental results show promising results in terms of retrieval accuracy and efficiency.
[1]
William B. Frakes,et al.
An Empirical Study of Representation Methods for Reusable Software Components
,
1994,
IEEE Trans. Software Eng..
[2]
Jeannette M. Wing,et al.
Specification matching of software components
,
1997
.
[3]
R. L. London,et al.
Specifying reusable components using Z: realistic sets and dictionaries
,
1989,
IWSSD '89.
[4]
Peter Freeman,et al.
Classifying Software for Reusability
,
1987,
IEEE Software.
[5]
Robert J. Kauffman,et al.
Supporting Search for Reusable Software Objects
,
1996,
IEEE Trans. Software Eng..
[6]
Wolfgang Pree.
Component-based software development-a new paradigm in software engineering?
,
1997,
Proceedings of Joint 4th International Computer Science Conference and 4th Asia Pacific Software Engineering Conference.
[7]
Chang Ji.
Representing and Retrieving Reusable Software Components in JB (Jadebird) System
,
2000
.
[8]
Cornelia Boldyreff,et al.
Practitioner and SoftClass: A comparative study of two software reuse research projects
,
1994,
J. Syst. Softw..
[9]
Jean-Marc Morel,et al.
The REBOOT Environment
,
1993
.