| 本文已被:浏览 9002次 下载 10261次 |
 码上扫一扫! |
|
|
| 基于Petri网的语义Web服务自动组合方法 |
|
汤宪飞1,2, 蒋昌俊1,2, 丁志军1,2, 王成1,2
|
|
1.同济大学,计算机科学与技术系,上海,201804;2.国家高性能计算机工程技术研究中心,同济分中心,上海,201804
|
|
| 摘要: |
| Web服务组合使得开发人员可以快速地创建自己的应用程序.但是,随着Internet上可用的Web服务数目的增加,Web服务组合是一项高度复杂的任务.针对语义Web服务的自动组合问题,提出了一种既考虑服务输入/输出又考虑服务行为约束的自动组合方法.首先,注册服务被转化为一组Horn子句形规则,用户的输入和输出请求分别被转化为Horn子句中的事实和目标,从而将寻找满足用户输入/输出请求的合成服务问题转化为Horn子句的逻辑推理问题;然后,用Petri网来为该Horn子句集建模,T-不变量技术被用来判定是否存在满足用户输入/输出请求的合成服务;最后给出了两种算法来获取既满足用户输入/输出请求又满足用户行为约束的合成服务的Petri网模型. |
| 关键词: Web服务 Web服务组合 Horn子句 Petri网 T-不变量 |
| DOI: |
| 分类号: |
| 基金项目:Supported by the National Natural Science Foundation of China under Grant Nos.60534060, 60473094 (国家自然科学基金); the National High-Tech Research and Development Plan of China under Grant No.2007AA01Z136 (国家高技术研究发展计划(863)); the National Basic Research Program of China under Grant No.2003CB317002 (国家重点基础研究发展计划(973)) |
|
| A Petri Net-Based Semantic Web Service Automatic Composition Method |
|
TANG Xian-Fei,JIANG Chang-Jun,DING Zhi-Jun,WANG Cheng
|
| Abstract: |
| Web service composition allows developers to create applications rapidly.But due to the tremendous growth in the number of Web services available,the Web service composition problem is still a challenging research issue.This paper introduces an automatic Web service composition method which considers both services' input/output type compatibility and behavioral constraint compatibility.The services available are translated into a set of Horn clause-like rules.User's input and output requirements are modeled as a set of facts and a goal statement in the Horn clauses respectively.Then Petri net is chosen to model the Horn clause set and T-invariant technique is used to determine the existence of composite services fulfilling the user's input/output requirements. Two algorithms are presented for obtaining the Petri net models of the composite Web services which satisfy not only the user's input/output requirements but also the user's behavioral constraints. |
| Key words: Web service Web service composition Horn clause Petri net T-invariant |