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

當(dāng)前位置:主頁 > 科技論文 > 計(jì)算機(jī)論文 >

Dalvik虛擬機(jī)下Runtime加載技術(shù)研究

發(fā)布時(shí)間:2018-11-22 12:58
【摘要】:由于開源性、良好的可移植性和應(yīng)用程序硬件平臺(tái)無關(guān)性等優(yōu)秀特征,Android迅速成為主流的手機(jī)操作系統(tǒng)。然而由于手機(jī)計(jì)算和存儲(chǔ)能力的制約,Android應(yīng)用的執(zhí)行速度與PC相比還有較大差距。鑒于云計(jì)算能夠提供強(qiáng)大的存儲(chǔ)和計(jì)算資源,Intel提出將Android應(yīng)用程序在手機(jī)上運(yùn)行比較耗時(shí)的函數(shù)遷移到云端執(zhí)行的克隆云思想,從而加快Android應(yīng)用程序的執(zhí)行速度,提供更好的用戶體驗(yàn)。 為了實(shí)現(xiàn)耗時(shí)函數(shù)從手機(jī)端到云端的遷移,本文提出一種不需要應(yīng)用程序源代碼,即能在云端重新加載執(zhí)行來自Android手機(jī)應(yīng)用程序的耗時(shí)函數(shù)請(qǐng)求的方法。針對(duì)Android應(yīng)用程序的跨進(jìn)程遷移中面對(duì)的4個(gè)關(guān)鍵問題,本文的主要內(nèi)容安排如下。 (1)針對(duì)從源進(jìn)程遷移哪些數(shù)據(jù)的問題,本文研究了函數(shù)在解析執(zhí)行過程中需要使用的數(shù)據(jù),并在此基礎(chǔ)上總結(jié)出遷移過程需要的數(shù)據(jù),包括Java方法棧上函數(shù)參數(shù)數(shù)據(jù)、Java堆中與函數(shù)參數(shù)有關(guān)的對(duì)象數(shù)據(jù)、Dalvik虛擬機(jī)運(yùn)行時(shí)共享的靜態(tài)數(shù)據(jù)等。 (2)針對(duì)如何存儲(chǔ)源進(jìn)程遷移過來的數(shù)據(jù)的問題,本文設(shè)計(jì)了存儲(chǔ)數(shù)據(jù)的方法,使用操作系統(tǒng)的內(nèi)存,運(yùn)行時(shí)將該內(nèi)存中保存的數(shù)據(jù)解析到虛擬機(jī)內(nèi),在設(shè)計(jì)內(nèi)存時(shí)以方便保存和解析數(shù)據(jù)為指導(dǎo)思想。 (3)針對(duì)在目標(biāo)進(jìn)程中如何恢復(fù)數(shù)據(jù)的問題,本文研究了Java內(nèi)存對(duì)象模型,根據(jù)Java的單繼承模型,設(shè)計(jì)了先恢復(fù)自身數(shù)據(jù)再恢復(fù)父類數(shù)據(jù)的對(duì)象還原方法。 (4)針對(duì)在目標(biāo)進(jìn)程如何恢復(fù)從源進(jìn)程遷移的函數(shù)執(zhí)行問題,本文研究Dalvik虛擬機(jī)的類加載機(jī)制、解釋器機(jī)制和內(nèi)存管理機(jī)制,在研究的基礎(chǔ)上,提出了一種提高手機(jī)程序執(zhí)行速度的新方法—Dalvik虛擬機(jī)下Rutime運(yùn)行時(shí)加載技術(shù)。 最后,為驗(yàn)證上述方法的實(shí)用性,本文針對(duì)多個(gè)Android應(yīng)用程序?qū)嵗M(jìn)行了實(shí)驗(yàn)分析。實(shí)驗(yàn)結(jié)果表明,本文提出的基于Dalvik虛擬機(jī)的Runtime運(yùn)行時(shí)加載技術(shù),不僅能讓Android應(yīng)用程序的遷移到高性能云端上執(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.
【學(xué)位授予單位】:電子科技大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2013
【分類號(hào)】:TP302

【參考文獻(xiàn)】

相關(guān)期刊論文 前8條

1 嚴(yán)東華,張凱;Java虛擬機(jī)及其移植[J];北京理工大學(xué)學(xué)報(bào);2002年01期

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

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

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

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

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

7 吳少剛;李攀攀;;JDK6 HotSpot虛擬機(jī)在龍芯平臺(tái)上的研究與移植[J];計(jì)算機(jī)應(yīng)用;2009年02期

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

相關(guān)博士學(xué)位論文 前1條

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

相關(guān)碩士學(xué)位論文 前7條

1 伊鵬翔;Dalvik虛擬機(jī)結(jié)構(gòu)與性能的研究[D];吉林大學(xué);2011年

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

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

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

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

6 趙立成;Java虛擬機(jī)的內(nèi)存管理策略的研究[D];電子科技大學(xué);2007年

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

,

本文編號(hào):2349440

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

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


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

版權(quán)申明:資料由用戶07bca***提供,本站僅收錄摘要或目錄,作者需要?jiǎng)h除請(qǐng)E-mail郵箱bigeng88@qq.com