簡易檢索 / 詳目顯示

研究生: 莊翔宇
Chuang, Hsiang-Yu
論文名稱: 基於容器技術自動化智慧通訊服務佈建機制之設計與實現
Automatic Deployment Mechanism Development of Smart Communication Service Based on Container Technology
指導教授: 陳響亮
Chen, Shang-Liang
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 製造資訊與系統研究所
Institute of Manufacturing Information and Systems
論文出版年: 2020
畢業學年度: 108
語文別: 中文
論文頁數: 64
中文關鍵詞: 微服務Docker容器化技術雲端資訊監控系統物聯網邊緣運算
外文關鍵詞: Microservices, Docker Container Technology, Cloud Information Monitoring System, Internet of Things, Edge Computing
相關次數: 點閱:109下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 隨著雲端運算與虛擬化技術的發展,以服務取代功能模組為導向的容器化微服務(Microservices)架構將成為產業未來應用的主流。
    在防汛救災的應用面上,通常會使用大型的移動式抽水機以解決淹水的問題,而這些機器往往部署在危險、訊號不良的地區,為了有效監控這些抽水機的狀態,需要一個LPWAN多模網絡通訊模組,依照訊號的強弱,透過LoRa、NB-IoT等無線通信技術將抽水機的狀態資訊傳回雲端給使用者,以利於管理。LPWAN多模網絡通訊模組通常為單體式的架構不易維護,當模組中的應用程式需要升級時,除了必需確保程式的開發環境和執行環境的一致性,還需耗費大量的資源到現場進行部署。
    為了解決上述的問題,本研究提出基於容器與微服務技術之遠距泵浦資訊傳輸系統架構,利用微服務的概念將LPWAN多模網絡通訊模組依功能進行拆分,透過容器化技術,以服務的方式提供給使用者,並設計一機制將整個服務的建置流程自動化,接著透過容器化管理工具實現通訊服務的自動化部署,相較於手動部署,將大量減少耗費的時間和的人力資源的浪費。
    最後本研究將實際應用在大型移動式抽水機上,並設計一遠距泵浦資訊監控系統,有效監控這些抽水機和部署於其上通訊服務的狀態,以利於人員進行管理。

    With the development of cloud computing and virtualization technology, the containerized Microservices architecture replacing functional modules with services will become the mainstream of industrial applications in the future.
    In the application of flood control and relief, large mobile pumps are usually used to solve the problem of flooding, but these machines are often deployed in dangerous and poor signal areas. In order to effectively monitor the status of these pumps, a LPWAN multi-mode network communication module is required. According to the strength of the signal, the status information of the pumps will be sent back to the cloud to the user through LoRa, NB-IoT, and other wireless communication technologies to facilitate management. The LPWAN multi-mode network communication module is usually a monolithic structure that is not easy to maintain. When the application in the module needs to be upgraded, in addition to ensuring the consistency of the development environment and execution environment of the program, a lot of resources need to be spent on-site to deploy.
    In order to solve the above-mentioned problems, this research proposes a long-distance pumping information transmission system architecture based on container and microservice technology. Using the concept of microservices, the LPWAN multi-mode network communication module is divided into functions. Through containerization technology, the service is provided to users, and a mechanism is designed to automate the entire service establishment process, and then the automated deployment of communication services is realized through containerized management tools.Compared with manual deployment, it will greatly reduce the time and human resources consumed.
    Finally, this study will be applied to the large mobile pumps, and a remote pump information monitoring system is designed to effectively monitor the status of these pumps and the communication services deployed on them, to facilitate personnel management.

    摘 要 I 誌 謝 IX 目 錄 X 表 目 錄 XIII 圖 目 錄 XIV 第一章 緒論 1 1.1 研究背景 1 1.2 研究動機與目的 3 1.3 研究流程 5 第二章 技術與文獻探討 6 2.1 軟體設計架構之探討 6 2.1.1 SOA(服務導向架構-Service-Oriented Architecture)介紹 6 2.1.2 微服務(Microservices)概念 6 2.2 虛擬化技術之探討 7 2.2.1 傳統虛擬機(VM)之虛擬化技術 7 2.2.2 輕量化虛擬化容器技術:Docker 8 2.2.3 Docker容器技術與傳統虛擬機(VM)之比較 9 2.3 透過容器技術將Web服務導入到邊緣設備 12 2.4 Docker的三要素 14 2.4.1 Docker Image 14 2.4.2 Container 16 2.4.3 倉庫(Repository) 16 2.5 Kubernetes 17 第三章 基於容器與微服務技術之遠距泵浦資訊傳輸系統架構 19 3.1 系統架構介紹 19 3.2 系統流程介紹 21 第四章 核心機制設計 23 4.1 遠距泵浦資訊管理系統(Pump Cloud Information Management System) 23 4.1.1 單機資訊管理功能 24 4.1.2 機組清單管理功能 24 4.1.3 監控服務 24 4.1.4 機組維護管理功能 25 4.1.5 UI資料介接 25 4.1.6 資料維護管理功能 27 4.2 Database Server-雲端資料庫設計 29 4.3 通訊服務映像檔創建模組(Service Image Constructor) 32 4.3.1 映像檔建置流程 32 4.3.2 Communicationmodule Image結構 33 4.3.3 Automation Image Builder設計 34 4.4 通訊服務管理模組(Communication Service Management) 35 4.4.1 通訊服務建置與自動化部署流程 36 4.4.2 Automatic deployment設計 38 4.5 通訊閘道器(Communication Gateway) 39 4.6 UDP伺服器(UDP Imformation Flow Server) 40 第五章 系統實作與分析 42 5.1 實驗環境 42 5.1.1 軟體、硬體設備 42 5.1.2 雲端環境 43 5.2 通訊服務之映像檔自動化建置機制展示 44 5.3 通訊服務之自動化部署機制實現-Kubernetes叢集建置 47 5.4 通訊服務之自動化部署機制實現-映像檔下載 48 5.5 通訊服務之自動化部署機制實現-部署容器化通訊服務 48 5.6 Communication Service Management管理介面展示 50 5.7 遠距泵浦資訊監控系統展示 51 5.7.1 使用者登入與註冊頁面 51 5.7.2 單機資訊頁面 52 5.7.3 機組清單頁面 54 5.7.4 機組管理頁面 54 5.7.5 宣達資訊管理頁面 55 5.7.6 維護清單頁面 56 5.8 映像檔建置與自動化部署之時間統計 57 第六章 結論與未來展望 60 6.1 結論 60 6.2 未來展望 61 參考文獻 63

    [1] C. Anthea May 2019。工業4.0發展關鍵-智慧、效率、連接、安全缺一不可。 in EE Times Taiwan 電子工程專輯網, ed.
    [2] A.V. Kapitanov, “Special characteristics of the multi-product manufacturing,” Procedia Engineering 150 (2016):832-836.
    [3] Shafiq, S.I., G. Velez, C. Toro, C. Sanin, and E. Szczerbicki, “Designing Intelligent Factory: Conceptual Framework and Empirical Validation,” Knowledge-Based and Intelligent Information & Engineering Systems: Proceedings of the 20th International Conference KES-2016 96, 2016, pp. 1801–1808.
    [4] D. Gorecky, S. Weyer, A. Hennecke and D. Zühlke, “Design and Instantiation of a modular system architecture for Smart Factories,” in Proceedings of 12th IFAC Workshop on Intelligent Manufacturing Systems (IMS), Austin, 2016.
    [5] “weco Blog”
    URL: https://sls.weco.net/blog/aaronwang
    [6] “淺談虛擬化技術:虛擬機(VM)與容器(Container)之技術價值與比較分析”
    URL: https://medium.com/mr-efacani-teatime
    [7] “Docker官方網站”
    URL:https://www.docker.com/
    [8] “何宗諭, "淺談輕量化的虛擬技術 - Docker容器”
    URL:http://www.cc.ntu.edu.tw/chinese/epaper/0036/20160321_3611.html.
    [9] W. Blair, A. Olmsted, P. Anderson, “Docker vs. KVM: Apache spark application performance and ease of use,” 2017 12th International Conference for Internet Technology and Secured Transactions (ICITST), pp. 199-201, 2017.
    [10] M. Chae, H. Lee, K. Lee, “A performance comparison of Linux containers and virtual machines using Docker and KVM,” Cluster Computing, 2017.
    [11] J. Ha, J. Kim, H. Park, J. Lee, H. Jo, H. Kim, J. Jang, ”A web-based service deployment method to edge devices in smart factory exploiting Docker,” In Proceedings of the 2017 International Conference on Information and Communication Technology Convergence (ICTC), Jeju, Korea, 18–20 October 2017; pp. 708–710.
    [12] R. Munoz, R. Vilalta, N. Yoshikane, R. Casellas, R. Martinez, T. Tsuritani, I. Morita, “Integration of IoT, Transport SDN and Edge/Cloud computing for Dynamic Distribution of IoT Analytics and Efficient Use of Network Resources,” IEEE J. Lightwave Technol. 2018, 36, 1420–1428.
    [13] Elton Stoneman (2018)。《實戰Docker Windows Server2016/Windows10》。林班侯譯。臺北市。碁峰資訊。
    [14] “Docker —從入門到實踐”
    URL:https://github.com/yeasy/docker_practice/
    [15] “Docker 基礎教學與介紹 101何謂容器虛擬化、介紹 Docker 三元素、手把手建立 Docker Image”
    URL:https://medium.com/unorthodox-paranoid/docker-tutorial-101-c3808b899ac6
    [16] “Kubernetes 基礎教學與原理介紹”
    URL:https://medium.com/@C.W.Hu/kubernetes-basic-concept-tutorial-e033e3504ec0
    [17] “Kubernetes指南”
    URL:https://feisky.gitbooks.io/kubernetes/introduction/
    [18] Brendan Burns, Kelsey Hightower, Joe Beda (2018)。《Kubernetes建置與執行》。林毅民譯。臺北市。碁峰資訊。

    無法下載圖示 校內:2025-09-02公開
    校外:不公開
    電子論文尚未授權公開,紙本請查館藏目錄
    QR CODE