基于嵌入式虛擬化平臺(tái)的域間數(shù)據(jù)共享系統(tǒng)
發(fā)布時(shí)間:2018-07-18 20:48
【摘要】:隨著嵌入式設(shè)備的迅猛發(fā)展,嵌入式虛擬化技術(shù)也成為工業(yè)界和學(xué)術(shù)界關(guān)注的熱點(diǎn)。虛擬化技術(shù)在資源整合以及安全隔離等方面的優(yōu)勢(shì)非常突出。然而,虛擬機(jī)天然的隔離特性使得虛擬機(jī)之間的數(shù)據(jù)共享變得相對(duì)困難。目前,虛擬機(jī)之間通常利用網(wǎng)絡(luò)實(shí)現(xiàn)數(shù)據(jù)共享,例如Network File System、Samba等,但是,這種方法不能保障數(shù)據(jù)傳輸?shù)母呖煽亢偷脱舆t,不符合嵌入式系統(tǒng)對(duì)可靠性、實(shí)時(shí)性和能耗的要求。 嵌入式虛擬化域間數(shù)據(jù)共享系統(tǒng)有效的解決了上述問題。該系統(tǒng)的特色是:其域間數(shù)據(jù)共享技術(shù)完全不依賴網(wǎng)絡(luò),而是充分利用了VNeo嵌入式虛擬化系統(tǒng)的設(shè)備模型,將共享塊設(shè)備驅(qū)動(dòng)邏輯放在嵌入式虛擬機(jī)的管理器中實(shí)現(xiàn),虛擬機(jī)管理器根據(jù)塊設(shè)備驅(qū)動(dòng)邏輯操縱硬件,完成數(shù)據(jù)讀寫。在客戶操作系統(tǒng)中,用戶態(tài)文件讀寫進(jìn)程通過系統(tǒng)調(diào)用向內(nèi)核發(fā)出讀寫請(qǐng)求。內(nèi)核負(fù)責(zé)處理讀寫請(qǐng)求信息,,并通過超級(jí)系統(tǒng)調(diào)用將文件讀寫請(qǐng)求信息發(fā)送給虛擬機(jī)管理器。虛擬機(jī)管理器根據(jù)共享設(shè)備的驅(qū)動(dòng)邏輯驅(qū)動(dòng)設(shè)備進(jìn)行文件讀寫。數(shù)據(jù)讀寫完畢后,虛擬機(jī)管理器通過虛擬中斷的方式通知客戶操作系統(tǒng)數(shù)據(jù)讀寫完成。客戶操作系統(tǒng)的虛擬中斷處理程序響應(yīng)虛擬中斷,喚醒阻塞的讀寫進(jìn)程。 系統(tǒng)測(cè)試與結(jié)果分析表明:采用該數(shù)據(jù)共享系統(tǒng)對(duì)共享塊設(shè)備的文件進(jìn)行讀操作的性能達(dá)到了未虛擬化時(shí)讀取本地塊設(shè)備上的文件性能的90%,寫性能達(dá)到了未虛擬化時(shí)寫本地塊設(shè)備性能的70%。該系統(tǒng)符合嵌入式系統(tǒng)所要求的高可靠、低延遲和低能耗等特點(diǎn)。
[Abstract]:With the rapid development of embedded devices, embedded virtualization technology has become a hot spot in industry and academia. Virtualization technology in the integration of resources and security isolation and other aspects of the advantages are very prominent. However, the natural isolation of virtual machines makes it relatively difficult to share data between virtual machines. At present, network is used to share data between virtual machines, such as Network File system, Samba, etc. However, this method can not guarantee high reliability and low delay of data transmission, and does not meet the requirements of embedded system for reliability, real-time and energy consumption. Embedded virtualization inter-domain data sharing system effectively solves the above problems. The characteristic of the system is that the technology of data sharing between domains is completely independent of the network, and it makes full use of the device model of VNeo embedded virtualization system, and implements the shared block device driver logic in the manager of embedded virtual machine. The virtual machine manager manipulates the hardware according to the block device driver logic and completes the data reading and writing. In the client operating system, the user state file read and write process sends the read and write request to the kernel through the system call. The kernel is responsible for handling the read and write request information, and sends the file read and write request information to the virtual machine manager through the super system call. The virtual machine manager reads and writes files according to the shared device's driver logic device. After the data read and write, the virtual machine manager notifies the client operating system to complete the data reading and writing by the way of virtual interrupt. The client operating system's virtual interrupt handler responds to the virtual interrupt and wakes up the blocked read and write process. The system test and result analysis show that the performance of the data sharing system to read the files of the shared block device has reached 90% of the performance of reading the files on the local block device when it is not virtualized, and the performance of writing has reached the level of non-virtual. 70 of the performance of the piece of land equipment. The system meets the requirements of embedded system such as high reliability, low delay and low energy consumption.
【學(xué)位授予單位】:華中科技大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2012
【分類號(hào)】:TP368.1
本文編號(hào):2132731
[Abstract]:With the rapid development of embedded devices, embedded virtualization technology has become a hot spot in industry and academia. Virtualization technology in the integration of resources and security isolation and other aspects of the advantages are very prominent. However, the natural isolation of virtual machines makes it relatively difficult to share data between virtual machines. At present, network is used to share data between virtual machines, such as Network File system, Samba, etc. However, this method can not guarantee high reliability and low delay of data transmission, and does not meet the requirements of embedded system for reliability, real-time and energy consumption. Embedded virtualization inter-domain data sharing system effectively solves the above problems. The characteristic of the system is that the technology of data sharing between domains is completely independent of the network, and it makes full use of the device model of VNeo embedded virtualization system, and implements the shared block device driver logic in the manager of embedded virtual machine. The virtual machine manager manipulates the hardware according to the block device driver logic and completes the data reading and writing. In the client operating system, the user state file read and write process sends the read and write request to the kernel through the system call. The kernel is responsible for handling the read and write request information, and sends the file read and write request information to the virtual machine manager through the super system call. The virtual machine manager reads and writes files according to the shared device's driver logic device. After the data read and write, the virtual machine manager notifies the client operating system to complete the data reading and writing by the way of virtual interrupt. The client operating system's virtual interrupt handler responds to the virtual interrupt and wakes up the blocked read and write process. The system test and result analysis show that the performance of the data sharing system to read the files of the shared block device has reached 90% of the performance of reading the files on the local block device when it is not virtualized, and the performance of writing has reached the level of non-virtual. 70 of the performance of the piece of land equipment. The system meets the requirements of embedded system such as high reliability, low delay and low energy consumption.
【學(xué)位授予單位】:華中科技大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2012
【分類號(hào)】:TP368.1
【參考文獻(xiàn)】
相關(guān)期刊論文 前8條
1 左源;劉新寧;師超;;一種SD卡控制器的硬件實(shí)現(xiàn)[J];電子器件;2007年02期
2 徐洋;史學(xué)書;劉明波;;基于PCI核的鏈?zhǔn)紻MA的設(shè)計(jì)[J];國外電子測(cè)量技術(shù);2008年06期
3 韓輝;叢培田;郭穎;;基于SD卡的多通道數(shù)據(jù)采集系統(tǒng)[J];工業(yè)儀表與自動(dòng)化裝置;2010年01期
4 劉真;;虛擬機(jī)技術(shù)的復(fù)興[J];計(jì)算機(jī)工程與科學(xué);2008年02期
5 鄒念,唐寧九,林鋒;用Samba實(shí)現(xiàn)Linux和Windows之間的文件共享[J];計(jì)算機(jī)應(yīng)用研究;2002年01期
6 劉欣;鄭建宏;;基于ARM9的SD/MMC卡控制器的ASIC設(shè)計(jì)[J];通信技術(shù);2008年08期
7 湯龍梅;張國安;;基于S3C2410的SD/MMC卡驅(qū)動(dòng)的實(shí)現(xiàn)[J];微計(jì)算機(jī)信息;2009年17期
8 吉濤;蔡航;;應(yīng)用SD卡實(shí)現(xiàn)大容量存儲(chǔ)測(cè)試系統(tǒng)設(shè)計(jì)[J];陜西科技大學(xué)學(xué)報(bào)(自然科學(xué)版);2010年05期
本文編號(hào):2132731
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/2132731.html
最近更新
教材專著