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

克隆云中轉(zhuǎn)移線程和進(jìn)程管理設(shè)計(jì)與實(shí)現(xiàn)

發(fā)布時(shí)間:2018-11-14 12:13
【摘要】:隨著移動(dòng)互聯(lián)網(wǎng)和云計(jì)算技術(shù)的不斷發(fā)展和逐漸成熟,越來(lái)越多的人把目光投向了手機(jī)領(lǐng)域。相對(duì)于其他的移動(dòng)設(shè)備而言,手機(jī)的通信性和可攜帶性都更強(qiáng),,可以提供7×24小時(shí)的網(wǎng)絡(luò)接入服務(wù)。但是由于硬件方面的限制,手機(jī)的存儲(chǔ)能力和計(jì)算能力都相當(dāng)有限,遠(yuǎn)遠(yuǎn)不及PC。然而云計(jì)算卻擁有著超強(qiáng)的存儲(chǔ)能力和計(jì)算能力以及很多的優(yōu)勢(shì),如果能將二者相結(jié)合,手機(jī)將能提供更好的服務(wù)。因此一系列相關(guān)的理論和應(yīng)用也應(yīng)運(yùn)而生。 本論文根據(jù)克隆云思想提出了轉(zhuǎn)移應(yīng)用程序中部分函數(shù)到服務(wù)器端執(zhí)行的策略。手機(jī)端和服務(wù)器端都有一個(gè)轉(zhuǎn)移線程,由它們完成被轉(zhuǎn)移部分在服務(wù)器端執(zhí)行所需的數(shù)據(jù)的發(fā)送和接收工作。在數(shù)據(jù)的發(fā)送和接收過(guò)程中,為了保證數(shù)據(jù)的完整性,本文會(huì)對(duì)傳輸?shù)臄?shù)據(jù)進(jìn)行加密。本文手機(jī)端的轉(zhuǎn)移線程通過(guò)修改正在執(zhí)行的應(yīng)用程序所在線程的線程結(jié)構(gòu)體中的變量實(shí)現(xiàn)對(duì)線程的掛起,以及對(duì)掛起線程的恢復(fù)。文中還利用彈棧方法對(duì)恢復(fù)后線程的執(zhí)行點(diǎn)進(jìn)行調(diào)整,以便應(yīng)用程序在進(jìn)行轉(zhuǎn)移后能正常運(yùn)行。 在應(yīng)用程序轉(zhuǎn)移中,服務(wù)器的設(shè)計(jì)也相當(dāng)重要,本論文提供了一種基于共享內(nèi)存的進(jìn)程池并發(fā)服務(wù)器的策略。本文進(jìn)程間采用的是共享內(nèi)存的通信方式,這是進(jìn)程間效率較高的一種通信方式。對(duì)于多個(gè)轉(zhuǎn)移函數(shù)的處理采用了預(yù)先創(chuàng)建一定數(shù)量的進(jìn)程池的方法來(lái)實(shí)現(xiàn)。本文提出了將共享內(nèi)存與預(yù)先創(chuàng)建進(jìn)程池相結(jié)合的方式設(shè)計(jì)服務(wù)器;诠蚕韮(nèi)存的進(jìn)程池并發(fā)服務(wù)器解決了傳統(tǒng)服務(wù)器的時(shí)延問(wèn)題,提高了服務(wù)器的實(shí)時(shí)性以及服務(wù)器的效率,對(duì)于手機(jī)性能也有了很大的提高。通過(guò)實(shí)驗(yàn)表明,應(yīng)用程序通過(guò)轉(zhuǎn)移執(zhí)行加速比可以達(dá)到20倍甚至更高。
[Abstract]:With the development and maturity of mobile Internet and cloud computing technology, more and more people focus on the mobile phone field. Compared with other mobile devices, mobile phones have more communication and portability, and can provide 7 脳 24 hours of network access services. However, due to hardware constraints, the storage capacity and computing power of mobile phones are very limited, which is far less than the PC.. However, cloud computing has many advantages, such as super storage capacity, computing power and many advantages. If the two can be combined, mobile phones will be able to provide better services. Therefore, a series of related theories and applications also came into being. Based on Clone Cloud, this paper proposes a strategy to transfer some functions from application to server execution. Both the mobile and the server have a transfer thread that performs the sending and receiving of the data required by the transferred part on the server side. In the process of sending and receiving data, we encrypt the transmitted data in order to ensure the integrity of the data. In this paper, the transfer thread of the mobile phone can suspend the thread and restore the thread by modifying the variables in the thread structure of the executing application. In this paper, the execution point of the recovered thread is adjusted by using the method of bomb stack, so that the application can run normally after transfer. The design of server is also very important in application transfer. This paper provides a strategy of concurrent server in process pool based on shared memory. In this paper, the communication mode of shared memory is adopted between processes, which is a communication mode with high efficiency. The method of creating a certain number of process pools is used to deal with multiple transfer functions. This paper proposes a way to design a server by combining shared memory with a pre-created process pool. The process pool concurrent server based on shared memory solves the delay problem of the traditional server, improves the real-time performance of the server and the efficiency of the server, and improves the performance of the mobile phone greatly. Experiments show that the speedup of application execution by transfer can reach 20 times or higher.
【學(xué)位授予單位】:電子科技大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2013
【分類號(hào)】:TP368.5

【參考文獻(xiàn)】

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

1 顧理琴;;淺談云計(jì)算(Cloud Computing)——未來(lái)網(wǎng)絡(luò)趨勢(shì)技術(shù)[J];電腦知識(shí)與技術(shù);2008年S2期

2 陳灝;陳榕;;支持復(fù)合對(duì)象的Java虛擬機(jī)內(nèi)存管理技術(shù)研究[J];電腦知識(shí)與技術(shù);2011年22期

3 魯維;胡山;;我國(guó)移動(dòng)互聯(lián)網(wǎng)業(yè)務(wù)發(fā)展現(xiàn)狀及趨勢(shì)分析[J];電信技術(shù);2009年05期

4 肖志輝;;移動(dòng)互聯(lián)網(wǎng)研究綜述[J];電信科學(xué);2009年10期

5 張華,孫傳偉,李靖誼;基于Linux的同步共享內(nèi)存的研究與實(shí)現(xiàn)[J];湖南工業(yè)職業(yè)技術(shù)學(xué)院學(xué)報(bào);2004年04期

6 王曉鵬;TCP/IP下的Socket及Winsock通信機(jī)制[J];航空計(jì)算技術(shù);2004年02期

7 王楓,羅家融;Linux下多線程Socket通訊的研究與應(yīng)用[J];計(jì)算機(jī)工程與應(yīng)用;2004年16期

8 朱平;賈卓生;;TCP/IP通信的監(jiān)聽(tīng)與阻斷[J];計(jì)算機(jī)工程;2006年21期

9 楊峰;;基于Linux內(nèi)核的動(dòng)態(tài)內(nèi)存管理機(jī)制的實(shí)現(xiàn)[J];計(jì)算機(jī)工程;2010年09期

10 吳少剛;鄒國(guó)民;;Dalvik虛擬機(jī)在龍芯平臺(tái)上的移植與實(shí)現(xiàn)[J];計(jì)算機(jī)工程;2011年22期

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

1 李高廣;電信運(yùn)營(yíng)商移動(dòng)互聯(lián)網(wǎng)商業(yè)模式研究[D];北京郵電大學(xué);2009年



本文編號(hào):2331125

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

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


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

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