嵌入式系統(tǒng)中大吞吐量數(shù)據(jù)讀寫模塊的設(shè)計與實現(xiàn)
本文選題:數(shù)據(jù)讀寫 切入點:嵌入式Linux 出處:《華中科技大學(xué)》2012年碩士論文 論文類型:學(xué)位論文
【摘要】:數(shù)據(jù)在磁盤上的讀寫卻時刻面臨著各種問題。除了對數(shù)據(jù)讀寫的穩(wěn)定性和準確性的要求外,現(xiàn)在許多場合所面臨的大量數(shù)據(jù)的快速讀寫調(diào)度和讀寫過程中容易出現(xiàn)的突發(fā)性故障的處理等都對當代數(shù)據(jù)信息的管理提出了全新的挑戰(zhàn)。只有將數(shù)據(jù)讀寫過程的快速穩(wěn)定、準確無誤、故障及時處理等要求相結(jié)合才能使各個產(chǎn)品的品質(zhì)提高到一個新的層次。為此,針對數(shù)據(jù)讀寫的這些較高的需求研究了在嵌入式系統(tǒng)中一個處理大吞吐量數(shù)據(jù)存取磁盤的問題。 為了能夠更好的實現(xiàn)將圖像壓縮數(shù)據(jù)存儲到指定的磁盤上,并且能從該磁盤上讀取所需要的數(shù)據(jù),設(shè)計實現(xiàn)了這套基于嵌入式Linux系統(tǒng)的數(shù)據(jù)讀寫調(diào)度的應(yīng)用程序。在經(jīng)過裁減的Linux系統(tǒng)支持下,分別由數(shù)據(jù)寫入、數(shù)據(jù)的查找與讀出、磁盤管理這些模塊來共同實現(xiàn)快速穩(wěn)定的數(shù)據(jù)讀寫。而數(shù)據(jù)讀寫的幾個難點主要是在于如何高效的將前端FPGA處理打包的數(shù)據(jù)寫入到指定的硬盤保存;此外另一個難題是在出現(xiàn)數(shù)據(jù)讀寫錯誤的情況下如何處理。為此在數(shù)據(jù)寫入模塊中設(shè)計了共享內(nèi)存,以提高效率,而在磁盤管理模塊中,日志為數(shù)據(jù)讀寫出現(xiàn)錯誤時提供可靠的日志記錄信息,以便出現(xiàn)錯誤后能盡可能的及時有效的恢復(fù)數(shù)據(jù),同時日志還可以為用戶在查詢數(shù)據(jù)時提供相關(guān)的檢索關(guān)鍵字。 在程序完成后經(jīng)過一段時間驗證與測試,實際的運行中可以看到該程序能夠較為快速準確的處理大量的前端數(shù)據(jù),并能有效的將這些數(shù)據(jù)寫入到硬盤中;同時也能便于用戶查找并讀取所需要的數(shù)據(jù)。但是在錯誤處理上還是存在一定的漏洞,有時出現(xiàn)錯誤后程序還是無法處理,,整個程序的穩(wěn)定性還有待提高。
[Abstract]:Reading and writing of data on disk is always faced with various problems. In addition to the requirements for stability and accuracy of data reading and writing, Nowadays, the rapid reading and writing scheduling of a large number of data and the processing of the sudden failure in the process of reading and writing put forward a new challenge to the management of modern data information. Only the rapid stability of the process of data reading and writing is the only way to improve the speed and stability of the data reading and writing process. The quality of each product can be raised to a new level by combining the requirements of accurate and timely fault handling. Aiming at these higher requirements of data reading and writing, the problem of processing large throughput data access disk in embedded system is studied. To better implement storing image compression data on a specified disk, and to read the required data from that disk, The application program of data read-write scheduling based on embedded Linux system is designed and implemented. With the support of reduced Linux system, data is written, searched and read out, respectively. Disk management module can realize fast and stable data reading and writing together. The difficulties of data reading and writing mainly lie in how to write the packaged data of front-end FPGA processing to the specified hard disk efficiently. Another problem is how to handle it in the event of data reading and writing errors. To this end, shared memory is designed in the data write module to improve efficiency, while in the disk management module, Log provides reliable logging information for data reading and writing errors, so as to restore data as soon as possible and can also provide users with relevant search keywords when querying data. After a period of verification and test after the completion of the program, we can see that the program can deal with a large number of front-end data quickly and accurately, and can effectively write these data to the hard disk. At the same time, it is also convenient for users to find and read the data needed. However, there are still some holes in error handling, sometimes the program can not be handled after errors, and the stability of the whole program needs to be improved.
【學(xué)位授予單位】:華中科技大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2012
【分類號】:TP311.52;TP368.1
【參考文獻】
相關(guān)期刊論文 前10條
1 胡俊達;走向未來的存儲新技術(shù)——iSCSI[J];今日電子;2003年12期
2 劉賢鍇;網(wǎng)絡(luò)存儲方案的選擇[J];信息技術(shù);2005年04期
3 田玉靜;;存儲技術(shù)的發(fā)展趨勢[J];記錄媒體技術(shù);2007年03期
4 魏軼偉,熊劍平,賈惠波,何寧;基于IP的存儲網(wǎng)絡(luò)技術(shù)[J];計算機工程與應(yīng)用;2002年13期
5 崔雪芝;王東燕;;iSCSI:網(wǎng)絡(luò)存儲的未來[J];計算機科學(xué);2005年02期
6 田園;任國強;吳欽章;;嵌入式Linux下高速數(shù)據(jù)存儲的實現(xiàn)[J];計算機工程;2009年12期
7 周國華,陸德波,朱荊洲;基于Linux的嵌入式應(yīng)用開發(fā)策略[J];計算機與數(shù)字工程;2005年03期
8 羅寧,田ma,閆光星,白英彩;SAN與NAS融合技術(shù)的研究[J];計算機應(yīng)用與軟件;2004年10期
9 李曉娟;劉學(xué)斌;胡炳j;程海波;;基于FPGA的CCD相機高速數(shù)據(jù)記錄系統(tǒng)[J];科學(xué)技術(shù)與工程;2007年19期
10 姚繼明;;數(shù)據(jù)存儲模式比較與中小企業(yè)數(shù)據(jù)存儲方案選擇[J];軟件導(dǎo)刊;2007年15期
本文編號:1590873
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1590873.html