基于用户需求和构件服务在匹配情况下的等价性考虑,从方法调用序列角度给出了服务的定义;依据方法之间的关联性分析,给出了服务模式的概念和确定构件服务模式的方法;最后给出了构件的服务模式规约。通过建立服务模式规约,从构件提供者角度提供了一种确定构件匹配有效性的方法。
First, service was defined as a called method sequence under consideration of user' s requirements and component service ' s equivalence. Then the concept of service pattern was proposed and an approach was given to create pattern of a service by analyzing the interrelation between methods according to the analysis of component functional specification. Finally, service-pattern based component specification was defined in order to help user to verify component-matching efficiency.