Abstract:This paper proposes a component retrieval algorithm based on facted tree retrieval rules with design pattern. The algorithm first creates faceted tree through extracting the nature of components based on facet classification pattern. Then, according to users’ chosen facets and terms, it formulates the rules to define faceted tree retrieval components. Based on the combination of the rule with iterator and that of these two design patterns, it gives a component retrieval algorithm for component libraries of reconfigurable MES. Finally, the algorithm is realized with coding by Java and tested with instances. The testing results show that under the same conditions, this algorithm uses less retrieval time. With this algorithm, needed components can be rapidly retrieved from reconfigurable MES component libraries.