Skip navigation

DSpace

機構典藏 DSpace 系統致力於保存各式數位資料(如:文字、圖片、PDF)並使其易於取用。

點此認識 DSpace
DSpace logo
English
中文
  • 瀏覽論文
    • 校院系所
    • 出版年
    • 作者
    • 標題
    • 關鍵字
    • 指導教授
  • 搜尋 TDR
  • 授權 Q&A
    • 我的頁面
    • 接受 E-mail 通知
    • 編輯個人資料
  1. NTU Theses and Dissertations Repository
  2. 管理學院
  3. 資訊管理學系
請用此 Handle URI 來引用此文件: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/68069
完整後設資料紀錄
DC 欄位值語言
dc.contributor.advisor莊裕澤(Yuh-Jzer Joung)
dc.contributor.authorWei-Jie Liangen
dc.contributor.author梁惟傑zh_TW
dc.date.accessioned2021-06-17T02:12:07Z-
dc.date.available2018-01-27
dc.date.copyright2018-01-27
dc.date.issued2017
dc.date.submitted2017-12-29
dc.identifier.citation1. Mell, P. and T. Grance, The NIST definition of cloud computing. 2011.
2. Hirschfeld, R., Three-tier distribution architecture. Pattern Languages of Programs (PloP), 1996: p. 1-4.
3. Protocol, H.T., T. Berners-Lee, and C.I. Draft, Hypertext Transfer Protocol. Real.
4. Fielding, R.T. and R.N. Taylor, Architectural styles and the design of network-based software architectures. 2000: University of California, Irvine Doctoral dissertation.
5. Kopecký, J., K. Gomadam, and T. Vitvar. hrests: An html microformat for describing restful web services. in Web Intelligence and Intelligent Agent Technology, 2008. WI-IAT'08. IEEE/WIC/ACM International Conference on. 2008. IEEE.
6. Andrews, T., et al., Business process execution language for web services. 2003, version.
7. Overdick, H., F. Puhlmann, and M. Weske. Towards a formal model for agile service discovery and integration. in Proceedings of the International Workshop on Dynamic Web Processes (DWP 2005). IBM technical report RC23822, Amsterdam. 2005.
8. Parastatidis, S., et al., An Introduction to the SOAP Service Description Language v1. 3. 2005.
9. Fang, J., S. Hu, and Y. Han. A service interoperability assessment model for service composition. in Services Computing, 2004.(SCC 2004). Proceedings. 2004 IEEE International Conference on. 2004. IEEE.
10. Overdick, H. The resource-oriented architecture. in Services, 2007 IEEE Congress on. 2007. IEEE.
11. Akgul, K. and M. Inanc, Remote Procedure Call.
12. Booth, D. and C.K. Liu, Web services description language (WSDL) version 2.0 part 0: Primer. W3C recommendation, 2007. 26.
13. Chinnici, R., et al., Web services description language (wsdl) version 2.0 part 1: Core language. W3C recommendation, 2007. 26: p. 19.
14. Chinnici, R., et al., Web services description language (WSDL) version 2.0 part 2: Adjuncts. W3C Recommendation, 2007. 6.
15. Box, D., et al., Simple object access protocol (SOAP) 1.1. 2000.
16. Gardner, D., Soa wikis, soa for saas, and the future of business applications. Technical report, 2007.
17. Castellani, A.P., et al. WebIoT: A web application framework for the internet of things. in Wireless Communications and Networking Conference Workshops (WCNCW), 2012 IEEE. 2012. IEEE.
18. Hong, Y. A resource-oriented middleware framework for heterogeneous internet of things. in Cloud and Service Computing (CSC), 2012 International Conference on. 2012. IEEE.
19. Oh, S.W. and H.S. Kim. Decentralized access permission control using resource-oriented architecture for the Web of Things. in Advanced Communication Technology (ICACT), 2014 16th International Conference on. 2014. IEEE.
20. Aijaz, F., et al. Enabling resource-oriented Mobile Web Server for short-lived services. in Communications (MICC), 2009 IEEE 9th Malaysia International Conference on. 2009. IEEE.
21. Mäkeläinen, S. and T. Alakoski. Fixed-mobile hybrid mashups: experiences and lessons on applying the REST software architecture principles to exposing mobile operator services. in Proceedings of ICIN. 2008.
22. Chen, N., et al. Resource oriented architecture for heterogeneous geo-processing workflow integration. in Geoinformatics, 2009 17th International Conference on. 2009. IEEE.
23. Hu, S.X. and T.C. Shan. Designing resource oriented architecture in UML a case study on smart grid home area network (HAN). in Services (SERVICES-1), 2010 6th World Congress on. 2010. IEEE.
24. Dar, K., et al., A resource oriented integration architecture for the internet of things: A business process perspective. Pervasive and Mobile Computing, 2015. 20: p. 145-159.
dc.identifier.urihttp://tdr.lib.ntu.edu.tw/jspui/handle/123456789/68069-
dc.description.abstract現今網路存取成本低廉,雲端運算興起,網路服務開發門檻大幅降低,且由以往的業務邏輯導向轉成了資源操作導向,系統架構由 SAO 為主流逐漸轉為 ROA 以及 REST 為主流。服務初期所需的資源增刪改查操作大同小異,若針對每個資源逐一開發 API 會耗費大量開發時間,且前端往往僅以 URL 查詢參數提供有限資訊,極度缺乏彈性,不若對資料庫做存取時有 SQL 等語言可以使用。
本文將提出 GRAF 此一後端系統架構,搭配當今網路開發之主流工具與概念,使資源的增刪改查在後端開發者對路徑註冊資源後立即可用,不需額外撰寫任何程式碼,並將提出一結構化前端查詢語言之設計,其對應到 SQL 常用之功能,賦予前端強大查詢能力。該框架亦提供開發者進行資源存取控制之設計,阻擋未授權操作,並在多個層級提供預設選項以及客製化之功能,目的在使得後端系統開發時程相對於資源數目之複雜度能由 O(n) 降為 O(1),同時允許開發者在多個層級客製業務邏輯。
本文亦驗證作者實作之 j2s 套件符合 GRAF 原則,並能夠完整涵蓋ALCHEMA 此一 IoT 服務提供者對於後端的需求,並確實改善開發流程與縮短開發時間。意即任一遵照 GRAF 原則開發之套件,皆應能大幅縮短網路服務之後端開發者的開發時間。
zh_TW
dc.description.abstractAs web services turn s to more resource oriented from business-activity oriented ones, the once dominant architecture SOA is now gradually replaced by ROA and REST. While developing individual APIs for each resource is time-costly, operations upon different resources are similar. The way using URL query parameters to carry information when sending requests is also less flexible, but database generally provides much powerful data manipulation tools like SQL.
In this thesis, we design the General Resource Access Framework (GRAF), to make resource manipulation service immediately available, requires no extra code written. We also design the Structured Front-end Query Language (SFQL), which empowers front-ends to build complicated query statements. GRAF also allow configurations for access control to block unauthorized access. GRAF aims to lower down the complexity of development time from O(n) to O(1), in respect of resource number.
We also validates that using j2s, a GRAF style npm package, is functionally complete to cover all requirements that ALCHEMA needs, which is an IoT service provider, and that j2s did shorten development time, as we claimed.
en
dc.description.provenanceMade available in DSpace on 2021-06-17T02:12:07Z (GMT). No. of bitstreams: 1
ntu-106-R04725043-1.pdf: 4468485 bytes, checksum: b601c9a0708e7fe203df2d2f22927604 (MD5)
Previous issue date: 2017
en
dc.description.tableofcontents口試委員會審定書 I
論文摘要 II
THESIS ABSTRACT III
目 錄 IV
第一章 緒論 1
1. 研究背景與動機 1
第二章 文獻探討 4
1. 現有文獻探討 5
a. 物件導向程式設計與遠端程序呼叫 5
b. 服務導向架構(Service-Oriented Architecture) 6
c. 資源導向架構(Resource-Oriented Architecture) 8
2. 現有工具 8
a. GraphQL 8
b. Swagger Codegen 10
c. Parse 11
3. 常見之後端框架與概念 12
a. 中介層後端框架 12
b. 物件關聯對映 (Object Relational Mapping) 14
c. 查詢建立器 (Query Builder) 16
d. 具象狀態傳輸應用程式介面 17
第三章 研究設計 18
1. 整體架構設計 18
2. 增刪改查與資源存取架構設計 20
a. 前端欲查詢 ID 為 1 的使用者物件 21
b. 前端欲創建兩個使用者物件 21
c. 前端欲更新 ID 為 1、2、3 三位使用者的 photo_id 欄位 22
d. 前端欲刪除 username 為 test13 的使用者 23
3. 結構化前端查詢語言設計 (STRUCTURED FRONT-END QUERY LANGUAGE) 24
4. 資源存取控制設計 (ACCESS CONTROL) 30
第四章 系統實作與驗證 33
1. 中介層(MIDDLEWARES)接口實作 33
2. 資源導向需求分流 (RESOURCE ORIENTED REQUEST ROUTING) 與存取控管 38
3. 資源查詢、操作 39
4. 結構化前端查詢語言解析器實作 (SFQL PARSER) 39
5. 客製化查詢語句 (CUSTOM CLAUSE) 44
6. 客製化資料處理管線 (CUSTOM DATA PIPELINE) 48
7. 系統驗證 52
第五章 結論與未來研究 58
1. 資源關聯存取控制 (RESOURCE RELATION ACCESS CONTROL) 59
2. 多層級使用者權限群組 (MULTI-LEVEL USER PERMISSION GROUP) 60
3. 微型服務架構應用 (MICRO-SERVICE ARCHITECTURE INTEGRATION) 60
參考文獻 62
圖表目錄 64
dc.language.isozh-TW
dc.subjectROAzh_TW
dc.subjectRESTzh_TW
dc.subjectAPIzh_TW
dc.subject快速開發zh_TW
dc.subject後端框架zh_TW
dc.subjectrapid developmenten
dc.subjectRESTen
dc.subjectAPIen
dc.subjectROAen
dc.subjectbackend frameworken
dc.title具存取控管之通用資源存取框架J2S與其結構化前端查詢語言之設計zh_TW
dc.titleJ2S – A General Resource Access Framework with Structured Front-end Query Language and Access Controlen
dc.typeThesis
dc.date.schoolyear106-1
dc.description.degree碩士
dc.contributor.oralexamcommittee陳建錦,盧信銘
dc.subject.keywordROA,REST,API,快速開發,後端框架,zh_TW
dc.subject.keywordROA,REST,API,rapid development,backend framework,en
dc.relation.page66
dc.identifier.doi10.6342/NTU201704520
dc.rights.note有償授權
dc.date.accepted2018-01-02
dc.contributor.author-college管理學院zh_TW
dc.contributor.author-dept資訊管理學研究所zh_TW
顯示於系所單位:資訊管理學系

文件中的檔案:
檔案 大小格式 
ntu-106-1.pdf
  未授權公開取用
4.36 MBAdobe PDF
顯示文件簡單紀錄


系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。

社群連結
聯絡資訊
10617臺北市大安區羅斯福路四段1號
No.1 Sec.4, Roosevelt Rd., Taipei, Taiwan, R.O.C. 106
Tel: (02)33662353
Email: ntuetds@ntu.edu.tw
意見箱
相關連結
館藏目錄
國內圖書館整合查詢 MetaCat
臺大學術典藏 NTU Scholars
臺大圖書館數位典藏館
本站聲明
© NTU Library All Rights Reserved