新興的HTML5技術致力於強化網頁應用程式在行動裝置上的能力,且跨裝置運算會是未來行動運算的重點之一;藉由提昇HTML5執行環境的動態度與效率,能夠產生新的應用情境。我們提出Migratom.js,一個基於流水型編譯模式、可進行動態程式搬移的JavaScript框架。Migratom.js可藉由將高計算量的工作搬移至較佳的運算資源的方式,來加速行動網頁程式的執行,也能讓開發者在行動裝置上撰寫分散式的HTML5應用程式。本論文詳細描述了Migratom.js的設計與實作細節,並藉由導入一些案例研究來展示其優點。實驗結果展現本論文提出的框架適合於擴增現有與新興的行動應用程式開發。
The emerging HTML5 technologies aim to enhance web apps with increased capabilities on mobile devices, as device-to-device computing becomes important in the future. To enable new application scenarios by making HTML5 execution environment dynamic and efficient, we propose a JavaScript framework emph{Migratom.js}, which manages task offloading and code migration with the flow-based programming paradigm. Migratom.js accelerates mobile web apps by offloading compute-intensive tasks to superior computing resources and enables the development of distributed HTML5 applications. This thesis describes the design and implementation of Migratom.js and conducts case studies to evaluate the proposed framework. The results show that our framework is suitable for augmenting existing and emerging mobile applications.