为解决服务流程中数据流建模因复杂而易出错的问题,提出一种服务流程的服务之间数据映射的自动生成方式。该方式将流程中每个服务的输入参数与可能为它提供数据的服务的输出参数作匹配,得到每个输入参数的最佳匹配,从而自动生成服务之间的数据映射。该方式利用服务输入、输出参数的模式描述,采用自动模式匹配技术进行模式之间的匹配,同时结合服务流程的相关信息提高匹配的准确率,自动生成流程的数据流,使得用户只需关注服务之间的逻辑组合,不必在数据映射过程上浪费大量的时间和精力,提高了工作流系统的可用性。
To solve the problem of complex and error-prone data modeling in service workflow, an automatic data mapping generation method between services in Business Process Execution Language(BPEL)process was proposed. Each service's input parameter in process was matched to their output parameters which provided data by proposed method, and the best match for each input parameter was obtained. Thus data mapping relationship between serv ices according to these matches was generated automatically. By using pattern description of service input and output parameter, the matching between patterns was made in auto matching way. Combined with the related information of service process such as control flow and service names, the matching accuracy was improved and the data flow was generated. Through this method, users simply focused on logical combinations between services, without wast ing a lot of time and energy on data mapping process, thus the usability of workflow system was improved.