跳到主要內容

臺灣博碩士論文加值系統

(216.73.216.221) 您好!臺灣時間:2026/06/07 11:49
字體大小: 字級放大   字級縮小   預設字形  
回查詢結果 :::

詳目顯示

: 
twitterline
研究生:邱奎善
研究生(外文):Chiu, Kuei-Shan
論文名稱:基於REST風格設計的電子資料交換服務之研究:以旅遊網站為例
論文名稱(外文):Electronic Data Interchange Service in RESTful Design : A Case Study of Web-based Tourism System
指導教授:謝孟諺謝孟諺引用關係
指導教授(外文):Hsieh, Meng-Yen
口試委員:翁添雄藍啟維謝孟諺
口試委員(外文):Weng, Tien-HsiungLan, Ci-WeiHsieh, Meng-Yen
口試日期:2011/07/20
學位類別:碩士
校院名稱:靜宜大學
系所名稱:資訊工程學系
學門:工程學門
學類:電資工程學類
論文種類:學術論文
論文出版年:2011
畢業學年度:99
語文別:中文
論文頁數:66
中文關鍵詞:REST可延伸標記語言電子資料交換
外文關鍵詞:RESTXMLEDI
相關次數:
  • 被引用被引用:4
  • 點閱點閱:642
  • 評分評分:
  • 下載下載:57
  • 收藏至我的研究室書目清單書目收藏:0
近年來由於資訊科技以及網際網路的發展,不論是個人、政府或是企業,資訊化的程度均逐年增加,因此資料交換的也需求日漸增加,且資料交換量亦不可同日而語。為了滿足在各種不同的系統之間完成資料交換的動作,本論文提出了一個以REST(Representational State Transfer)概念設計且以XML(eXtensible Markup Language)作為資料載體的以RESTful風格為基礎之開放式交換系統(RESTful Design Open Electronic Data Interchange,ROpenEDI)。我們以WebAPI的方式提供資料交換的服務,異質系統可以透過WebAPI進行資料索取的請求。
所提出的ROpenEDI的架構擁有三個角色分別是:資料提供者(Data Provider)、資料消費者(Data Consumer)以及ROpenEDI。資料提供者為加入ROpenEDI的系統,必頇提供一個API供ROpenEDI讀取資料;資料消費者則為索取資料方,可透過ROpenEDI獲得需要的資料,且資料已經由ROpenEDI轉換完成;ROpenEDI為本論文的主體,主要工作為聯繫資料提供者以及資料消費者,並且進行兩者之間資料格式的轉換。
在本研究中,我們以一個旅遊平台作為電子資料交換的例子。在例子中,各旅遊平台透過資料交換系統提供的API界面,進行旅遊景點以及行程相關資料的交換。透過ROpenEDI旅遊平台可以輕鬆的取得其他平台的資料,由於ROpenEDI可以自動在不同平台中轉換格式,因此旅遊平台只需要能解析他們在ROpenEDI中設定的格式即可,不需要了解每個平台的格式為何。因此可以降低各旅遊平台在解析資料時的負擔,此外旅遊平台也不需要擔心當有其他平台加入資料交換服務時,可能會遭遇到資料無法解析的問題。
Due to the rapid development of Internet and WWW, the degree of information technology of individuals, governments, or enterprises grow up year by year. The information exchange requirements of companies increase every day, and the amount of exchange data in today cannot be compared with what it was few years ago. In order to satisfy a variety of data exchange among systems, this paper addresses an RESTful Design Open Electronic Data Interchange system (ROpenEDI) based on the Representational State Transfer (REST) concept, and applies XML formats to the system data. We define several server-side Web APIs to provide data exchange services, so that heterogeneous systems can obtain on-demand data through our Web APIs.
The proposed ROpenEDI architecture includes three participants, Data Provider, Data Consumer, and ROpenEDI. Data Provider must provide an API to join the ROpenEDI, so that ROpenEDI can read data from Data Provider. Data Consumer as a consumption party can obtain data from Data Provider through ROpenEDI after the data format required by Consumer is transferred. ROpenEDI is the core of the system, whose major works are to contact with, and to transfer format between Data Provider and Data Consumer.
In this thesis, We present also a prototype of ROpenEDI, denoted as a tourism platform. The platform exchanges the tour spot and travel path information data via the ROpenEDI API interfaces, and easily extracts the required data from other external platforms through the core of ROpenEDI. ROpenEDI can automatically convert data format from different platforms, so that the tour platform only needs to parse data formats set on the core of ROpenEDI, and does not know the individual format in each of external platforms. Therefore, the proposed mechanism reduces the parsing overheads in the tourism platform. In addition, we donot worry about the problems of electronic data exchange, while other external platforms join the tour platform.
摘要 ............................................................................................................................... I
Abstract....................................................................................................................... II
目錄 ............................................................................................................................ III
圖目錄 ......................................................................................................................... V
表目錄 ...................................................................................................................... VII
第一章、緒論 .............................................................................................................. 1
1.1. 研究背景 ........................................................................................................ 1
1.2. 研究動機 ........................................................................................................ 1
1.3. 研究流程 ........................................................................................................ 2
1.4. 研究貢獻 ........................................................................................................ 4
1.5. 論文架構 ........................................................................................................ 4
第二章、相關研究 ..................................................................................................... 5
2.1. 相關背景 ........................................................................................................ 5
2.1.1. 傳統電子資料交換........................................................................... 5
2.1.2. 結合XML的Web-EDI ................................................................... 7
2.1.3. SOA與ROA..................................................................................... 8
2.1.4. XML Parser ....................................................................................... 9
2.1.5. REST(Representational State Transfer) ......................................... 11
2.1.6. WebService ...................................................................................... 12
2.1.7. PHP Framework .............................................................................. 13
2.2. 相關文獻 ...................................................................................................... 16
2.2.1. 資料儲存方法 ................................................................................. 16
2.2.2. 服務提供的方法 ............................................................................. 16
2.2.3. 模組定義的方法 ............................................................................. 17
第三章、開放式資料交換(ROpenEDI)的設計 ..................................................... 19
3.1. 系統的架構.................................................................................................. 19
3.1.1. ROpenEDI提供的服務 ................................................................. 19
3.1.2. 運作模式 ......................................................................................... 20
3.1.3. 資料交換流程 ................................................................................. 22
3.1.4. 模組運作流程 ................................................................................. 23
3.1.5. 模組架構 ......................................................................................... 25
3.2. 系統設計 ...................................................................................................... 28
3.2.1. 以MVC的設計模式開發 ............................................................. 28
3.2.2. 系統模組 ......................................................................................... 29
3.2.3. 關聯式資料庫模型圖 .................................................................... 31
第四章、系統實作 ................................................................................................... 35
4.1. MVC-Based ClassDiagram ......................................................................... 35
4.2. 管理人員界面 ............................................................................................. 36
4.3. XML格式之WebAPI ................................................................................ 47
4.4. JSON格式之WebAPI ................................................................................ 51
第五章、結論與未來方向 ....................................................................................... 56
參考文獻 .................................................................................................................... 57
[1] Roy Thomas Fielding, 2000. Architectural Styles and the Design of Network-based Software Architectures. PhD Dissertation. Dept. of Information and Computer Science, University of California, Irvine.
[2] Jiru Shan, Dianfu Ma, Bin Zhang & Wanming Luo, “Research and Implementation of Code Generator for Information System based on SOA”, in Proc. Eighth IEEE International Conference on Embedded Computing. EMBEDDEDCOM 2009, Dalian, China, 25-27 September 2009, pp.143-147.
[3] Cristiano Costa, Felipe Kellermann, Rodolfo Antunes, Luciano Cavalheiro, Adenauer Yamin & Claudio Geyer, ”Continuum: A Service-Based Software Infrastructure for Ubiquitous Computing”, in Proc. Seventh Annual IEEE International Conference on Pervasive Computing and Communications. PerCom 2009, Galveston, TX, USA, 9-13 March 2009, pp.1-4.
[4] A. Fujii, M. Nakayama, K. Tanaka, and K. Nagamura , “EDI Support System over RESTful Web API”, in Proc. 2010 IEEE 8th International Symposium on Intelligent Systems and Informatics. SISY 2010, Tokyo, Japan, 10-11 September 2010, pp.63-70.
[5] Xiwei Xu, Liming Zhu, Yan Liu, Mark Staples, “Resource-Oriented Architecture for Business Processes”, in Proc. 2008 15th Asia-Pacific Software Engineering Conference. APSEC 2008, Beijing, China, 3-5 December 2008, pp.395-402.
[6] Jin Zhang, Feng-lin Li, Chi-Hung Chi, “On Web Service Construction Based on REpresentation State Transfer”, in Proc. 2008 IEEE International Conference on e-Business Engineering. ICEBE 2008, Xi'an, China, 22-24 October 2008, pp.665-668
[7] Leonard Richardson and Sam Ruby, RESTful Web Services - Web services for the real world, O'Reilly Media, 2007
[8] Samisa Abeysinghe, RESTful PHP Web Services, Packt Publishing, 2008
[9] Hagen Overdick, ”The Resource-Oriented Architecture”, in Proc. 2007 IEEE Congress on Services. Services 2007, Hawaii, USA, 7-11 July 2008, pp.340-347.
[10] Myer Thomas, Professional CodeIgniter, John Wiley & Sons Inc, 2008
[11] Gardner.D. (2007, January 4). SOA wikis, SOA for SaaS, and the future of
58
business applications [Online]. Available: http://www.zdnet.com/blog/gardner/soa-wikis-soa-for-saas-and-the-future-of-business-applications/2395
[12] 李英榕,網際網路XML-based電子資料交換探討,國立台灣科技大學工業管理系碩士論文,2000。
[13] 王 容,以XML為基礎之多維度資料交換之研究,國立政治大學資訊管理研究所碩士論文,2004。
[14] 吳明勳,使用XML製作之通用性資料交換模型,東海大學資訊科學研究所碩士論文,2000。
[15] Web Service [Online], Available: http://en.wikipedia.org/wiki/Web_service
[16] Service-oriented architecture [Online], Available: http://en.wikipedia.org/wiki/Service-oriented_architecture
[17] Model–view–controller [Online], Available: http://en.wikipedia.org/wiki/Model-view-controller
[18] XML Tutorial [Online], Available: http://www.w3schools.com/xml/
[19] Zend Framework [Online], Available: http://framework.zend.com/
[20] CakePHP [Online], Available: http://cakephp.org/
[21] CodeIgniter [Online], Available: http://codeigniter.com/
[22] Document Object Model (DOM) [Online], Available: http://www.w3.org/DOM/
[23] SAX [Online], Available: http://www.saxproject.org/
[24] Document Object Model FAQ [Online]. Available: http://www.w3.org/DOM/faq.html#SAXandDOM
[25] Web Services Architecture [Online]. Available: http://www.w3.org/TR/ws-arch/
QRCODE
 
 
 
 
 
                                                                                                                                                                                                                                                                                                                                                                                                               
第一頁 上一頁 下一頁 最後一頁 top