用FPGA实现文件系统及其应用
[Abstract]:Nowadays, the rapid expansion of all kinds of data makes people enter the era of big data. Big data refers to a single addressable unit that can accommodate data of uncertain or arbitrary size. Because the data set is very large and complex, the traditional data storage management mechanism will face many new problems when it comes to the amount of data which can easily reach the level of PB,EB or ZB. Through the research on big data's underlying storage, we seek an effective way to meet the needs of big data's high concurrent reading and writing, the efficient storage and access of massive data, the scalability of storage capacity and the high availability. Is the main subject of this study. According to the characteristics of big data, this paper analyzes the underlying media storage, file system management and interface access form of data, and puts forward a scheme to realize file system by using FPGA, and introduces its implementation process through concrete examples. Emulate and debug. The details are as follows: first, the design and optimization of the underlying ATA host controller. This paper redesigns and optimizes the existing ATA controller in laboratory, consummates the function of Ultra DMA reading and writing, and induces the reading and writing mechanism of the underlying hard disk in DOS,Windows and Linux operating system. The main parameters of the underlying hard disk interface are summarized and the interface is re-encapsulated to make it easy to interface with the upper file system. Second, FPGA implements Ext2 hardware file system. (1) on the basis of deeply understanding the storage principle of FAT 32 and Ext 2 file system, extract the common character of file system, sum up the flow of file basic operation: create file, read file, write file, Delete files, update files, etc. (2) the hardware file system is directly interfaced with the underlying ATA host controller, each function module of the Ext 2 file system and the state machine description of the main operation are described by VHDL. The code is debugged and simulated; (3) give two ways to realize the file system: state machine and sequencer engine. Third, the client implementation of multi-mode remote access. (1) remote access through WEB browser in B / S mode: design front-end HTML access page, write CGI program, add Boa server to PetaLinux operating system in FPGA, Compile file system library and so on; (2) in C / S mode, the remote access process of files is realized by writing Socket application program. In this paper, in the realization of file system with FPGA, a method of realizing the basic data structure of file system with RAM is put forward, and the function of character searching is applied to the hardware circuit to realize the matching of file name. The hard disk command control module reasonably controls the commands sent to the hard disk and improves the working efficiency of the hard disk. The file system with FPGA can read and write the data and files without the command of CPU, realize the direct interaction between the user's data cache and the hard disk, save the resources and shorten the processing time of the file. Taking the file system and the hard disk controller as independent resource nodes can greatly increase the scalability of the system and provide a reference for meeting the needs of big data and realizing the efficient allocation of resources and services.
【学位授予单位】:太原理工大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP333
【参考文献】
相关期刊论文 前8条
1 刘辉;刘毅敏;;嵌入式Web服务器的研究与设计[J];数字通信;2011年04期
2 薛慧敏;武传华;路后兵;尚东生;;基于MicroBlaze的PetaLinux嵌入式操作系统移植[J];微计算机信息;2011年08期
3 朱颂;;linux操作系统中EXT2文件的组成[J];武汉工程大学学报;2011年04期
4 钟柏松;张宇成;周明建;;Linux虚拟文件系统分析[J];计算机与现代化;2010年09期
5 张元铜;向勇;郑志国;;PetaLinux操作系统在MicroBlaze系统中的移植[J];单片机与嵌入式系统应用;2010年07期
6 张斌峰;;IDE接口电子盘实时记录模块的设计和实现[J];航空计算技术;2009年02期
7 李晓娟;刘学斌;胡炳j;程海波;;基于FPGA的Ultra DMA写控制器的实现[J];科学技术与工程;2007年15期
8 刘丹华,黄道君;利用套接字开发网络通信程序[J];微机发展;2003年01期
相关博士学位论文 前1条
1 王耀力;基于云架构的存储信息系统研究[D];太原理工大学;2012年
相关硕士学位论文 前4条
1 赵振廷;网络硬盘存储系统设计与FPGA实现[D];太原理工大学;2012年
2 杨文一;Windows磁盘信息分析处理系统的研究与实现[D];厦门大学;2008年
3 李晓娟;基于FPGA的高速数据记录系统的研究[D];中国科学院研究生院(西安光学精密机械研究所);2007年
4 秦川;基于Nios处理器的硬盘存储系统的研究与设计[D];南京理工大学;2006年
,本文编号:2414365
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2414365.html