蔡益坤臺灣大學:資訊管理學研究所陳柏均Chen, Po-ChunPo-ChunChen2007-11-262018-06-292007-11-262018-06-292004http://ntur.lib.ntu.edu.tw//handle/246246/54287網路服務已成為分散式系統發展與整合的關鍵科技。由於擁有以 XML 為基礎的標準介面定義,網路服務可以加以組裝以提供整合性的服務來滿足不同的需求。每個網路服務都有它自己特定的弁遄A因此,用來組成整合性服務的個別網路服務必須精準地被指定。由於網路服務的數量和種類都持續地在成長,所以尋找所需的網路服務並且自動地組裝它們將會是一項挑戰。 針對這項挑戰,我們提出了一套網路服務組裝與代理的架構。這個架構包含了四個主要的元件:服務蒐集與註解者、服務組裝者、推論引擎、與執行引擎。這四個元件共用了一套知識本體,知識本體不但為網路服務增加了額外的資訊,同時也提供了一套共通的溝通詞彙。根據這個架構,我們發展了一個輔助計畫旅程的雛形系統。我們將這個雛形系統建構為一個 Protege 知識庫系統上的應用程式,而當中的知識本體則是以 OWL 語言加以定義的。Web services have emerged as a key technology for distributed systems development and integration. Thanks to their standard XML-based interfaces, simpler Web services may be readily composed to provide integrated services that meet varying user requirements. Each Web service has its own specific functionalities and therefore the constituent services of an integrated service have to be prescribed and targeted precisely. As the number and variety of Web services continue to grow, it will be challenging to find the needed Web services and compose them automatically. To address this challenge, we propose a framework for Web service composition and brokering. The main ingredient of the framework is a service composition and brokering system architecture, which consists of four main components: the Service Collector/Annotator, the Service Composer, the Inference Engine, and the Execution Engine. These four components share a set of ontologies, which are used not only to add extra information on Web services but also to provide a common vocabulary for communication among the components. To illustrate the application of this framework, we develop a prototype system for trip planning. The prototype is implemented as an application on top of the well-used knowledge base system Protege, while the underlying ontologies are defined in OWL.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.1 Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.2 Motivations and Objectives . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.3 Thesis Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2 Related Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2.1 Web Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2.1.1 WSDL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2.1.2 UDDI and ebXML . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.1.3 BPEL4WS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9 2.2 The Semantic Web . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10 2.2.1 Ontology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11 2.2.2 Ontology Editing Tools . . . . . . . . . . . . . . . . . . . . . . . .17 2.2.3 Inference Engines . . . . . . . . . . . . . . . . . . . . . . . . . . 17 2.3 Service Integration/Composition . . . . . . . . . . . . . . . . . . . . . . 19 2.3.1 OWL-S . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.3.2 Services Composition . . . . . . . . . . . . . . . . . . . . . . . . .21 3 Ontology-Based Service Composition and Brokering Framework . . . . . . . . . . .24 3.1 The Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24 3.1.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24 3.1.2 Ontologies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26 3.1.3 The Service Collector/Annotator . . . . . . . . . . . . . . . . . . . 26 3.1.4 The Service Composer . . . . . . . . . . . . . . . . . . . . . . . . .27 3.1.5 The Inference Engine . . . . . . . . . . . . . . . . . . . . . . . . .29 3.1.6 The Execution Engine . . . . . . . . . . . . . . . . . . . . . . . . .30 3.2 Ontologies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30 3.3 The Service Composition Mechanism . . . . . . . . . . . . . . . . . . . . . 33 4 The Trip Planner . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39 4.1 Tourism-Related Ontologies . . . . . . . . . . . . . . . . . . . . . . . . .39 4.1.1 The Trip Ontology . . . . . . . . . . . . . . . . . . . . . . . . . . 40 4.1.2 The Geography Ontology . . . . . . . . . . . . . . . . . . . . . . . .46 4.1.3 The Hotel Ontology . . . . . . . . . . . . . . . . . . . . . . . . . .50 4.1.4 The Transportation Ontology . . . . . . . . . . . . . . . . . . . . . 52 4.1.5 Integration with the Ontology for the Service Composer . . . . . . . .54 4.2 An Implementation of the Service Composer . . . . . . . . . . . . . . . . . 56 4.2.1 Overview on Components . . . . . . . . . . . . . . . . . . . . . . . .58 4.2.2 Constraint Rules . . . . . . . . . . . . . . . . . . . . . . . . . . .61 4.2.3 User Interface Design . . . . . . . . . . . . . . . . . . . . . . . . 66 4.2.4 The Whole Service Flow . . . . . . . . . . . . . . . . . . . . . . . .70 5 Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .71 5.1 Contributions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 5.2 Future Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 722639586 bytesapplication/pdfen-US服務組裝電子商務網路服務服務探索知識本體服務整合語意網絡Service DiscoveryOntologyService CompositionService IntegrationE-CommerceSemantic WebWeb Services旅程計畫者—語意化網路服務組裝與代理架構之探索The Trip Planner: Exploring an Ontology-Based Web Service Composition and Brokering Frameworkotherhttp://ntur.lib.ntu.edu.tw/bitstream/246246/54287/1/ntu-93-R91725060-1.pdf