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

基于能耗數(shù)據(jù)的嵌入式系統(tǒng)內(nèi)存壓縮技術(shù)的研究與應(yīng)用

發(fā)布時(shí)間:2018-09-13 06:57
【摘要】:能源是是人類社會(huì)發(fā)展必不可少的物質(zhì)基礎(chǔ),但能源緊缺的態(tài)勢(shì)日趨嚴(yán)峻,因此社會(huì)和國(guó)家政策積極倡導(dǎo)節(jié)能減排。華南理工大學(xué)能耗監(jiān)管平臺(tái)順應(yīng)國(guó)家節(jié)能政策這一大趨勢(shì),按照《高等學(xué)校校園建筑節(jié)能監(jiān)管系統(tǒng)建設(shè)技術(shù)導(dǎo)則》進(jìn)行建設(shè),完成了南北校區(qū)總計(jì)129棟近100萬(wàn)平方米各類建筑能耗計(jì)量工程,實(shí)現(xiàn)了能耗智能實(shí)時(shí)監(jiān)控、能耗統(tǒng)計(jì)等功能。 能耗監(jiān)管平臺(tái)物理架構(gòu)中的數(shù)據(jù)中轉(zhuǎn)站主要負(fù)責(zé)對(duì)末端水電冷數(shù)據(jù)采集器組成的物聯(lián)網(wǎng)(Internet Of Things, IOT)進(jìn)行數(shù)據(jù)采集、數(shù)據(jù)緩存、數(shù)據(jù)發(fā)布等,運(yùn)行于傳統(tǒng)的PC服務(wù)器上,而PC服務(wù)器硬件成本高,占空間大,能耗大,故研究嘗試將其移植到成本低廉省空間能耗小的Linux嵌入式設(shè)備中。但由于數(shù)據(jù)中轉(zhuǎn)站要緩存的數(shù)據(jù)量大以及程序中多線程的資源消耗多,嵌入式設(shè)備的內(nèi)存資源往往不夠,經(jīng)常發(fā)生內(nèi)存交換,即磁盤I/O,導(dǎo)致內(nèi)存的訪問(wèn)效率低下,制約了整個(gè)系統(tǒng)的性能,使得數(shù)據(jù)中轉(zhuǎn)站中轉(zhuǎn)數(shù)據(jù)的響應(yīng)變得非常慢。為緩解這個(gè)嚴(yán)重問(wèn)題,提高嵌入設(shè)備的系統(tǒng)性能,本文引入了內(nèi)存壓縮的機(jī)制,設(shè)計(jì)和實(shí)現(xiàn)了一個(gè)可動(dòng)態(tài)裝載卸載的內(nèi)存壓縮系統(tǒng)。 內(nèi)存壓縮系統(tǒng)的主要思想是,在內(nèi)存中預(yù)分配一塊區(qū)域作為虛擬交換區(qū),將換出的頁(yè)以壓縮的形式存放在該虛擬交換區(qū)。當(dāng)發(fā)生請(qǐng)求調(diào)頁(yè)時(shí),系統(tǒng)從虛擬交換區(qū)中找到該頁(yè),,將其解壓縮后換入內(nèi)存,從而避免了頁(yè)的換入換出這兩個(gè)硬盤訪問(wèn)的低速過(guò)程。該系統(tǒng)是以塊設(shè)備驅(qū)動(dòng)程序的形式來(lái)實(shí)現(xiàn)的,其好處是無(wú)需修改內(nèi)核的源碼,而且模塊可以在無(wú)需重新啟動(dòng)系統(tǒng)的情況下動(dòng)態(tài)的裝載和卸載。此外,根據(jù)能耗數(shù)據(jù)局部和全局重復(fù)性都很高并且以字符串形式存儲(chǔ)的特點(diǎn),本文設(shè)計(jì)出了一種基于字典的自適應(yīng)無(wú)損壓縮算法MLZ(Mixed LZ)。它是一種基于LZ77和LZW的混合型改進(jìn)算法,以LZW算法為主LZ77算法為輔,利用了它們的互補(bǔ)特性,減少了掃描時(shí)間以及滑動(dòng)窗口中字符串比較匹配時(shí)間,具有更好的全局與局部自適應(yīng)性、更高的壓縮率。 最后本文對(duì)該嵌入式內(nèi)存壓縮系統(tǒng)進(jìn)行了性能測(cè)試,基于華南理工大學(xué)能耗監(jiān)管平臺(tái),將華南理工大學(xué)所有的能耗數(shù)據(jù)點(diǎn)作為測(cè)試工作集,在相同的系統(tǒng)配置下,在本地調(diào)用webservice接口分別從使用和未使用內(nèi)存壓縮系統(tǒng)的嵌入式設(shè)備以及未使用內(nèi)存壓縮系統(tǒng)的PC機(jī)上的數(shù)據(jù)中轉(zhuǎn)站中獲取能耗數(shù)據(jù)點(diǎn)的值,并計(jì)算花費(fèi)的總時(shí)間,以此判斷使用之后內(nèi)存壓縮機(jī)制是否提升了系統(tǒng)性能以及是否滿足實(shí)際部署需求。實(shí)驗(yàn)結(jié)果表明,使用了本文實(shí)現(xiàn)的內(nèi)存壓縮系統(tǒng)達(dá)到了預(yù)期目標(biāo)。
[Abstract]:Energy is an indispensable material foundation for the development of human society, but the situation of energy shortage is becoming more and more serious. Therefore, social and national policies actively advocate energy conservation and emission reduction. Construction, completed the North-South campus of a total of 129 buildings nearly 1 million square meters of various building energy consumption measurement projects, to achieve intelligent real-time monitoring of energy consumption, energy consumption statistics and other functions.
The data transfer station in the physical architecture of the energy consumption monitoring platform is mainly responsible for data acquisition, data caching and data publishing of the Internet of Things (IOT), which is composed of the terminal water and electricity cooled data collector. It runs on the traditional PC server. The PC server has high hardware cost, large space occupation and large energy consumption, so the research tries to move it. Because of the large amount of data to be cached by the data transfer station and the consumption of multi-thread resources in the program, the memory resources of the embedded devices are often insufficient. Memory exchange, i.e. disk I/O, often occurs, which leads to the inefficiency of memory access and restricts the performance of the whole system. In order to alleviate this serious problem and improve the system performance of embedded devices, this paper introduces the mechanism of memory compression, designs and implements a memory compression system which can be loaded and unloaded dynamically.
The main idea of the memory compression system is to pre-allocate an area in memory as a virtual swap area and store the pages in the virtual swap area in the form of compression. The system is implemented in the form of a block device driver, which has the advantage of not modifying the source code of the kernel, and that modules can be loaded and unloaded dynamically without restarting the system. In this paper, a dictionary-based adaptive lossless compression algorithm MLZ (Mixed LZ) is designed. It is a hybrid improved algorithm based on LZ77 and LZW, supplemented by LZW algorithm as the main LZ77 algorithm, using their complementary characteristics, it reduces the scanning time and the matching time of string comparison in sliding window, and has better global and global performance. Self adaptability and higher compression ratio.
Finally, the performance of the embedded memory compression system is tested. Based on the energy consumption monitoring platform of South China University of Technology, all the energy consumption data points of South China University of Technology are taken as test worksets. Under the same system configuration, the embedded devices of using and not using memory compression system are invoked by local web service interface, respectively. The experimental results show that the memory compression system implemented in this paper achieves the performance of the system and meets the actual deployment requirements. Expected target.
【學(xué)位授予單位】:華南理工大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2013
【分類號(hào)】:TP368.1

【參考文獻(xiàn)】

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

1 高永麗;;信號(hào)處理中的數(shù)據(jù)壓縮評(píng)價(jià)指標(biāo)研究[J];楚雄師范學(xué)院學(xué)報(bào);2008年03期

2 曾非一 ,桑楠 ,熊光澤;嵌入式系統(tǒng)內(nèi)存管理方案研究[J];單片機(jī)與嵌入式系統(tǒng)應(yīng)用;2005年01期

3 吳國(guó)清;陳虹;;一種科學(xué)數(shù)據(jù)無(wú)損壓縮方法[J];計(jì)算機(jī)工程與應(yīng)用;2006年05期

4 何克晶;;科學(xué)計(jì)算浮點(diǎn)數(shù)據(jù)的高性能無(wú)損壓縮[J];計(jì)算機(jī)學(xué)報(bào);2010年06期

5 于翔;數(shù)據(jù)壓縮技術(shù)分析[J];青海大學(xué)學(xué)報(bào)(自然科學(xué)版);2002年05期

6 李法龍,吳剛,陳章龍;位圖在嵌入式系統(tǒng)內(nèi)存管理中的應(yīng)用[J];計(jì)算機(jī)工程與設(shè)計(jì);2005年04期

7 譚兆信;數(shù)據(jù)壓縮的綜合字典模型[J];計(jì)算機(jī)工程與設(shè)計(jì);1997年01期

8 趙耀,袁保宗;數(shù)據(jù)壓縮講座──第2講 幾種常用的無(wú)失真數(shù)據(jù)壓縮方法[J];中國(guó)數(shù)據(jù)通訊網(wǎng)絡(luò);2000年09期

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

1 王剛;顧及要素特征的層次增量分塊矢量數(shù)據(jù)組織與高效網(wǎng)絡(luò)傳輸研究[D];武漢大學(xué);2011年

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

1 陶宇翔;多通道數(shù)據(jù)采集系統(tǒng)數(shù)據(jù)壓縮算法的研究與實(shí)現(xiàn)[D];電子科技大學(xué);2011年

2 王韜;有壓縮啟動(dòng)功能的Cable Modem研制[D];重慶大學(xué);2002年

3 李江雄;嵌入式linux內(nèi)存管理設(shè)計(jì)與實(shí)現(xiàn)[D];華中科技大學(xué);2008年

4 夏萍;數(shù)據(jù)壓縮技術(shù)的研究[D];中北大學(xué);2010年

5 張?jiān)?基于B-LZW算法的數(shù)據(jù)無(wú)損壓縮及硬件實(shí)現(xiàn)[D];大連海事大學(xué);2012年

6 黃新宇;內(nèi)存數(shù)據(jù)特點(diǎn)與內(nèi)存壓縮的相關(guān)性研究[D];暨南大學(xué);2012年



本文編號(hào):2240413

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

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


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

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