跳到主要內容

臺灣博碩士論文加值系統

(18.97.14.90) 您好!臺灣時間:2024/12/05 18:59
字體大小: 字級放大   字級縮小   預設字形  
回查詢結果 :::

詳目顯示

我願授權國圖
: 
twitterline
研究生:曾廷修
研究生(外文):TSENG, TING-HSIU
論文名稱:多執行緒優化設計與實現用於應用程式
論文名稱(外文):Design and Implementation of Multi- threading Optimization in Embedded Applications
指導教授:黃士嘉黃士嘉引用關係
指導教授(外文):HUANG, SHIH-CHIA
口試委員:黃士嘉蔡偉和郭斯彥彭彥璁
口試委員(外文):HUANG, SHIH-CHIATSAI, WEI-HOKUO, SY-YENPENG, YAN-TSUNG
口試日期:2024-07-31
學位類別:碩士
校院名稱:國立臺北科技大學
系所名稱:電子工程系
學門:工程學門
學類:電資工程學類
論文種類:學術論文
論文出版年:2024
畢業學年度:113
語文別:中文
論文頁數:31
中文關鍵詞:多執行緒非同步處理運行效率
外文關鍵詞:Multi-threadingAsynchronous ProcessingExecution Efficiency
相關次數:
  • 被引用被引用:0
  • 點閱點閱:16
  • 評分評分:
  • 下載下載:0
  • 收藏至我的研究室書目清單書目收藏:0
本論文提出一種多執行緒優化策略的設計與實現,以增強嵌入式應用程式的使用者界面的性能和效率,透過使用多執行緒技術進行直觀的資源分配和任務管理。應用程式中的每個任務都分配給特定的背景執行緒,允許在適當時間進行高效、穩定的處理。主執行緒採用非同步方法來處理資料,不僅可提高效能,還能減少記憶體消耗。我們將從多執行緒架構的設計討論其對UI 響應能力,並點出遇到的問題及解決方法,最後記錄多執行緒架構在應用程式上的運行效率。
This thesis presents the design and implementation of a multi-threading optimization strategy in embedded applications to enhance user interface performance and efficiency. The proposed application focuses on intuitive resource allocation and task management through the use of multi-threading techniques. Each task within the application is assigned to a specific background thread, allowing for efficient and stable processing at appropriate times. The main thread employs asynchronous methods to handle data processing, which not only improves performance but also reduces memory consumption. We discuss the impact of the multi-threading architecture on UI responsiveness, and record the execution efficiency of the multi-threading architectures on the application.
摘要 I
ABSTRACT II
誌謝 III
目錄 IV
表目錄 VI
圖目錄 VII
第一章 緒論 1
1.1 研究背景 1
1.2 研究動機 1
1.2.1 傳統單執行緒架構的缺點 1
1.3 研究目的 2
1.4 論文章節編排 3
第二章 相關研究 4
2.1 MVC 4
2.2 GRAND CENTRAL DISPATCH (GCD) 5
2.2.1 DispatchQueue 5
2.2.2 DispatchGroup 6
2.3 REALM DATABASE 6
2.4 APPLE PUSH NOTIFICATION SERVICE (APNS) 8
第三章 系統設計 9
3.1 並行隊列(CONCURRENT QUEUE) 9
3.1.1 API 網路請求的架構設計 9
3.1.2 非同步執行下競態條件產生問題 10
3.1.3 非同步執行下競態條件問題的解決方法 11
3.2 串行隊列(SERIAL QUEUE) 13
3.2.1 串行隊列的流程介紹 13
3.2.2 資料儲存的處理 14
3.2.3 推播通知的處理 15
3.3 系統運行的流程控制 16
第四章 系統開發成果與執行效率比較 17
4.1 實際應用 17
4.1.1 多檔案上傳 17
4.1.2 聊天介面的元件渲染 20
4.2 執行效率分析 24
4.2.1 測試工具 24
4.2.2 API 網路請求的響應時間比較 25
4.2.3 資料庫儲存分析 26
4.2.4 檔案上傳分析 27
第五章 結論 28
參考文獻 29
[1] H. Liu, J. Zheng and Y. Chen, "The Application of Multi-thread-based Embedded System in the Fire Monitor," 2009 Second International Symposium on Electronic Commerce and Security, Nanchang, China, 2009, pp. 506-508
[2] X. Zhao and N. Sun, "Application of queue and multi-thread in short message traceability system of broilers products quality," 2012 2nd International Conference on Consumer Electronics, Communications and Networks (CECNet), Yichang, China, 2012, pp. 24
[3] MVC Swift on iOS [Online]. Available: https://www.netguru.com/blog/mvc-vs-mvvm-on- ios-differences-with-examples [Accessed: 20-June-2024].
[4] H. J. La and S. D. Kim, "Balanced MVC Architecture for Developing Service-Based Mobile Applications," 2010 IEEE 7th International Conference on E-Business Engineering, Shanghai, China, 2010, pp. 292-299
[5] MVC Wiki [Online]. Available: https://zh.wikipedia.org/zh-tw/MVC [Accessed: 20-June- 2024].
[6] GCD 神秘面紗揭開:讓你的 Swift 應用更強大 [Online]. Available: https://vocus.cc/article/653a1e0afd89780001e7c5a0 [Accessed: 20-June-2024].
[7] 簡單聊聊 iOS 多執行緒 多線程 GCD(Grand Central Dispatch) [Online]. Available: https://medium.com/@chengyang1380/簡單聊聊-ios-多執行緒-多線程- gcd-grand- central-dispatch-1cc947734177 [Accessed: 20-June-2024].
[8] iOS-DispatchQueue in Swift [Online]. Available: https://medium.com/程式愛好者 /dispatchqueue 基本介紹-adb0dd6b135e. [Accessed: 23-June-2024].
[9] [Swift]發起多個網路請求(DispatchGroup) [Online]. Available: https://albertkingdom.medium.com/swift-發起多個網路請求-dispatch-group- 3fd63fbba1c6 [Accessed: 23-June-2024].
[10] JSON and BSON [Online]. Available: https://www.mongodb.com/resources/basics/json- and-bson [Accessed: 20-June-2024].
[11] Concurrency/Multi threading in Realm (RealmSwift Part 4) . Available: https://ali- akhtar.medium.com/concurrency-multi-threading-in-realm-realmswift-part-4- 2345deabe512 [Accessed: 25-June-2024].
[12] APNs 架構說明 [Online]. Available: https://medium.com/@chiaping.collyn/apple-apns 架構說明-6e789a83d7c9 [Accessed: 20-June-2024].
[13] G. Geeraerts, A. Heußner and J. -F. Raskin, "Queue-Dispatch Asynchronous Systems," 2013 13th International Conference on Application of Concurrency to System Design, Barcelona, Spain, 2013, pp. 150-159
[14] P. Barabanova and V. Zasov, "Modeling and Investigating a Race Condition Detection Algorithm for Multithread Computational Systems," 2019 XXI International Conference Complex Systems: Control and Modeling Problems (CSCMP), Samara, Russia, 2019, pp. 356
[15] 競爭危害 Wiki [Online]. Available: https://zh.wikipedia.org/zh-tw/競爭危害 [Accessed: 21-June-2024].
[16] iOS 底層原理之鎖 [Online]. Available: https://juejin.cn/post/6999229359768731679 [Accessed: 23-June-2024].
[17] R. P. Srivastava and G. C. Nandi, "Controlling Multi Thread Execution using Single Thread Event Loop," 2017 International Conference on Innovations in Control, Communication and Information Systems (ICICCI), Greater Noida, India, 2017, pp. 1-7
[18] Swift GCD 常用 enter – leave – notify [Online]. Available: https://blog.csdn.net/zhangmengleiblog/article/details/108365032 [Accessed: 25-June- 2024].
[19] iOS CPU Usage [Online]. Available: https://www.browserstack.com/docs/app- performance/app-performance-guides/ios/cpu-usage [Accessed: 26-June-2024].
[20] Gathering information about memory user [Online]. Available: https://developer.apple.com/documentation/xcode/gathering-information-about-memory- use [Accessed: 28-June-2024].
[21] Network Link Conditioner [Online]. Available: https://nshipster.com/network-link- conditioner/ [Accessed: 27-June-2024].
[22] Xcode Instruments usage to improve app performance [Online]. Available: https://www.avanderlee.com/debugging/xcode-instruments-time-profiler/ [Accessed: 27- June-2024].
電子全文 電子全文(網際網路公開日期:20290927)
QRCODE
 
 
 
 
 
                                                                                                                                                                                                                                                                                                                                                                                                               
第一頁 上一頁 下一頁 最後一頁 top