天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

當前位置:主頁 > 科技論文 > 計算機論文 >

Dalvik虛擬機下Runtime加載技術研究

發(fā)布時間:2018-11-22 12:58
【摘要】:由于開源性、良好的可移植性和應用程序硬件平臺無關性等優(yōu)秀特征,Android迅速成為主流的手機操作系統(tǒng)。然而由于手機計算和存儲能力的制約,Android應用的執(zhí)行速度與PC相比還有較大差距。鑒于云計算能夠提供強大的存儲和計算資源,Intel提出將Android應用程序在手機上運行比較耗時的函數(shù)遷移到云端執(zhí)行的克隆云思想,從而加快Android應用程序的執(zhí)行速度,提供更好的用戶體驗。 為了實現(xiàn)耗時函數(shù)從手機端到云端的遷移,本文提出一種不需要應用程序源代碼,即能在云端重新加載執(zhí)行來自Android手機應用程序的耗時函數(shù)請求的方法。針對Android應用程序的跨進程遷移中面對的4個關鍵問題,本文的主要內容安排如下。 (1)針對從源進程遷移哪些數(shù)據(jù)的問題,本文研究了函數(shù)在解析執(zhí)行過程中需要使用的數(shù)據(jù),并在此基礎上總結出遷移過程需要的數(shù)據(jù),包括Java方法棧上函數(shù)參數(shù)數(shù)據(jù)、Java堆中與函數(shù)參數(shù)有關的對象數(shù)據(jù)、Dalvik虛擬機運行時共享的靜態(tài)數(shù)據(jù)等。 (2)針對如何存儲源進程遷移過來的數(shù)據(jù)的問題,本文設計了存儲數(shù)據(jù)的方法,使用操作系統(tǒng)的內存,運行時將該內存中保存的數(shù)據(jù)解析到虛擬機內,在設計內存時以方便保存和解析數(shù)據(jù)為指導思想。 (3)針對在目標進程中如何恢復數(shù)據(jù)的問題,本文研究了Java內存對象模型,根據(jù)Java的單繼承模型,設計了先恢復自身數(shù)據(jù)再恢復父類數(shù)據(jù)的對象還原方法。 (4)針對在目標進程如何恢復從源進程遷移的函數(shù)執(zhí)行問題,本文研究Dalvik虛擬機的類加載機制、解釋器機制和內存管理機制,在研究的基礎上,提出了一種提高手機程序執(zhí)行速度的新方法—Dalvik虛擬機下Rutime運行時加載技術。 最后,為驗證上述方法的實用性,本文針對多個Android應用程序實例進行了實驗分析。實驗結果表明,本文提出的基于Dalvik虛擬機的Runtime運行時加載技術,不僅能讓Android應用程序的遷移到高性能云端上執(zhí)行,而且加速效果非常明顯。
[Abstract]:Due to the excellent features of open source, good portability and application hardware platform independence, Android has quickly become the mainstream mobile operating system. However, due to the limitation of mobile computing and storage capacity, the execution speed of Android applications is much lower than that of PC. Given that cloud computing can provide powerful storage and computing resources, Intel proposes a clone cloud idea of migrating Android applications to cloud execution by running more time-consuming functions on their phones, thus speeding up the execution of Android applications. Provide a better user experience. In order to realize the migration of the time-consuming function from the mobile phone to the cloud, this paper proposes a method that can reload and execute the request of the time-consuming function from the Android mobile application in the cloud without the application source code. Aiming at the four key problems in the cross-process migration of Android applications, the main contents of this paper are arranged as follows. (1) in order to solve the problem of which data is migrated from the source process, this paper studies the data needed by the function in the process of parsing and executing, and summarizes the data needed in the migration process, including the data of function parameters on the Java method stack. Object data related to function parameters in Java heap, static data shared by Dalvik virtual machine runtime, etc. (2) aiming at the problem of how to store the migrated data from the source process, this paper designs a method to store the data. The memory of the operating system is used to parse the data stored in the memory into the virtual machine. The design of memory is guided by the convenience of saving and parsing data. (3) aiming at the problem of how to restore the data in the target process, this paper studies the Java memory object model. According to the single inheritance model of Java, an object restoration method is designed to restore the data first and then the parent data. (4) aiming at how to restore the function execution of migration from the source process in the target process, this paper studies the class loading mechanism, the interpreter mechanism and the memory management mechanism of the Dalvik virtual machine. This paper presents a new method to improve the execution speed of mobile phone program-Rutime runtime loading technology under Dalvik virtual machine. Finally, in order to verify the practicability of the above method, this paper carries on the experimental analysis for many Android application examples. The experimental results show that the proposed Runtime runtime loading technology based on Dalvik virtual machine can not only make the migration of Android applications to the high performance cloud to execute, but also accelerate the speed up obviously.
【學位授予單位】:電子科技大學
【學位級別】:碩士
【學位授予年份】:2013
【分類號】:TP302

【參考文獻】

相關期刊論文 前8條

1 嚴東華,張凱;Java虛擬機及其移植[J];北京理工大學學報;2002年01期

2 陳衛(wèi)伍;王建民;陳榕;;Dalvik在CAR構件運行時中的應用研究[J];電腦知識與技術;2010年31期

3 左天軍;朱智林;韓俊剛;陳平;;Java虛擬機動態(tài)類加載的形式化模型[J];計算機科學;2005年07期

4 李林華,盛浩,馬世龍;基于寄存器引擎的64位虛擬機的實現(xiàn)[J];計算機工程;2005年02期

5 葉云;李春強;胡軍山;;基于CK610的Dalvik虛擬機移植與優(yōu)化[J];計算機工程;2011年16期

6 吳作順,竇文華;幾個常用解釋器的性能分析[J];計算機工程與科學;2002年04期

7 吳少剛;李攀攀;;JDK6 HotSpot虛擬機在龍芯平臺上的研究與移植[J];計算機應用;2009年02期

8 王萬森;龔文;;Java動態(tài)類加載機制研究及應用[J];計算機工程與設計;2011年06期

相關博士學位論文 前1條

1 鄒瓊;Java虛擬機的自適應動態(tài)優(yōu)化[D];中國科學技術大學;2008年

相關碩士學位論文 前7條

1 伊鵬翔;Dalvik虛擬機結構與性能的研究[D];吉林大學;2011年

2 鄒國民;Android虛擬機Dalvik在龍芯平臺上的移植與優(yōu)化[D];中國石油大學;2011年

3 夏玉春;嵌入式軟件加載技術研究[D];電子科技大學;2003年

4 陳亮;一種基于AT91SAM7S256系統(tǒng)的Java虛擬機的研究與實現(xiàn)[D];華中師范大學;2006年

5 李占國;一種基于Java接口和類加載器的軟件動態(tài)演化模型[D];吉林大學;2007年

6 趙立成;Java虛擬機的內存管理策略的研究[D];電子科技大學;2007年

7 葉炳發(fā);Android操作系統(tǒng)移植及關鍵技術研究[D];暨南大學;2010年



本文編號:2349440

資料下載
論文發(fā)表

本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/2349440.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權申明:資料由用戶07bca***提供,本站僅收錄摘要或目錄,作者需要刪除請E-mail郵箱bigeng88@qq.com