基于嵌入式無(wú)線傳輸文件系統(tǒng)的研究與設(shè)計(jì)
本文選題:ARM + 嵌入式Linux。 參考:《電子科技大學(xué)》2012年碩士論文
【摘要】:論文針對(duì)專用嵌入式無(wú)線設(shè)備多用戶模式文件傳輸系統(tǒng)做了深入的研究,改進(jìn)并實(shí)現(xiàn)了基于專用無(wú)線嵌入式設(shè)備后臺(tái)文件傳輸系統(tǒng)。主要進(jìn)行了嵌入式設(shè)備操作系統(tǒng)定制裁剪移植,驅(qū)動(dòng)加載,搭建無(wú)線組網(wǎng)平臺(tái)以及在嵌入式設(shè)備有限的硬件資源條件下,對(duì)后臺(tái)軟件文件傳輸系統(tǒng)機(jī)制進(jìn)行優(yōu)化改進(jìn)的工作。在提高系統(tǒng)的穩(wěn)定性,安全性與系統(tǒng)程序執(zhí)行效率,并保證系統(tǒng)的可應(yīng)用性等方面取得了一些成果。本次研究針對(duì)通用的嵌入式設(shè)備,設(shè)計(jì)思想具有應(yīng)用上的普遍性,且代碼設(shè)計(jì)具有很高的可移植性。 為達(dá)到性能要求,本文設(shè)計(jì)了自適應(yīng)動(dòng)態(tài)優(yōu)化線程池,用于實(shí)現(xiàn)多線程程序設(shè)計(jì)。并對(duì)線程池中線程任務(wù)調(diào)度方式進(jìn)行優(yōu)化,以提高系統(tǒng)任務(wù)執(zhí)行效率。詳細(xì)設(shè)計(jì)了線程間同步處理,提出了死鎖預(yù)防的優(yōu)化與條件變量和互斥量聯(lián)合使用進(jìn)行線程池管理與臨界資源的保護(hù)方案。設(shè)計(jì)系統(tǒng)鏈表,實(shí)現(xiàn)了應(yīng)用系統(tǒng)中鏈表的統(tǒng)一實(shí)現(xiàn)與管理方案,降低了程序的代碼量與程序復(fù)雜程度。為保證系統(tǒng)功能的完善性,實(shí)現(xiàn)了系統(tǒng)等待隊(duì)列與任務(wù)超時(shí)等待處理線程。針對(duì)系統(tǒng)的穩(wěn)定性,在設(shè)計(jì)中使用了linux操作系統(tǒng)中的管道信號(hào)機(jī)制與意外退出壓棧函數(shù)的方式進(jìn)行了意外中斷機(jī)制處理設(shè)計(jì)。分析了TCP/IP傳輸原理,使用單包握手協(xié)議與海量數(shù)據(jù)流的方法解決了TCP/IP在傳輸過(guò)程中包粘連的問(wèn)題,并保證了系統(tǒng)數(shù)據(jù)傳輸?shù)乃俾。在系統(tǒng)安全性能上,使用了OpenSSL開源工具包提供的RSA加密算法對(duì)傳輸數(shù)據(jù)進(jìn)行了加密處理。在用戶信息安全性的設(shè)計(jì)上,采用了改進(jìn)型的MD5密文算法進(jìn)行用戶數(shù)據(jù)信息的存儲(chǔ)與驗(yàn)證,保證用戶數(shù)據(jù)信息的安全性,并基于MD5算法進(jìn)行了文件完整性驗(yàn)證的設(shè)計(jì)。針對(duì)用戶文件權(quán)限,論文基于linux系統(tǒng)中的文件屬性位進(jìn)行了文件權(quán)限功能擴(kuò)展性設(shè)計(jì)。 通過(guò)以上的技術(shù)手段,針對(duì)性的進(jìn)行了嵌入式設(shè)備無(wú)線文件系統(tǒng)的研究與設(shè)計(jì),使系統(tǒng)較傳統(tǒng)的多線程設(shè)計(jì)方式在訪問(wèn)效率上有了10-30%的提高。系統(tǒng)鏈表機(jī)制的設(shè)計(jì),簡(jiǎn)化了系統(tǒng)約20%的代碼量。系統(tǒng)意外中斷處理機(jī)制使系統(tǒng)的穩(wěn)定性得到了保證;赗SA與改進(jìn)型MD5碼設(shè)計(jì),保證了系統(tǒng)數(shù)據(jù)安全性,,并使用戶信息的安全等級(jí)的到了很大的提升。系統(tǒng)應(yīng)用性方面,較傳統(tǒng)文件傳輸系統(tǒng)進(jìn)行了功能性上的擴(kuò)展,實(shí)現(xiàn)了等待隊(duì)列,超時(shí)等待,文件權(quán)限管理等。
[Abstract]:In this paper, the multi-user mode file transfer system of special embedded wireless device is studied deeply, and the background file transfer system based on special wireless embedded device is improved and realized. It mainly carries on the embedded equipment operating system custom cut transplant, the driver loads, builds the wireless networking platform, and under the embedded equipment limited hardware resources condition, carries on the optimized improvement to the backstage software file transfer system mechanism. Some achievements have been made in improving the system stability, security, system program execution efficiency, and ensuring the application of the system. This research aims at the general embedded device, the design idea has the universality in the application, and the code design has the very high portability. In order to meet the performance requirements, an adaptive dynamic optimization thread pool is designed to implement multithread programming. The scheduling mode of thread task in thread pool is optimized to improve the efficiency of system task execution. The synchronization between threads is designed in detail, and the optimization of deadlock prevention and the combination of conditional variables and mutex are proposed for thread pool management and critical resource protection. The system linked list is designed to realize the unified implementation and management of the linked list in the application system and to reduce the code amount and the complexity of the program. In order to ensure the perfection of the system function, the system wait queue and the task timeout waiting thread are implemented. In view of the stability of the system, the pipeline signal mechanism in linux operating system and the unexpected exit from the stack function are used to deal with the unexpected interruption mechanism in the design. The principle of TCP/IP transmission is analyzed and the problem of packet adhesion in TCP/IP transmission process is solved by using the method of single packet handshake protocol and massive data stream and the data transmission rate of the system is guaranteed. In terms of system security, the RSA encryption algorithm provided by OpenSSL Open Source Toolkit is used to encrypt the transmitted data. In the design of user information security, the improved MD5 ciphertext algorithm is used to store and verify user data information to ensure the security of user data information, and the design of file integrity verification based on MD5 algorithm is presented. Aiming at the user file permission, this paper designs the extensibility of file permission function based on the file attribute bit in linux system. Through the above technical means, the research and design of wireless file system for embedded devices are carried out, which makes the system more efficient than the traditional multi-thread design method in the access efficiency of 10-30%. The design of the linked list simplifies about 20% of the system code. The stability of the system is guaranteed by the system unexpected interrupt handling mechanism. Based on RSA and improved MD5 code design, the system data security is guaranteed, and the security level of user information is greatly improved. Compared with the traditional file transfer system, the application of the system extends the function of waiting queue, timeout waiting, file permission management and so on.
【學(xué)位授予單位】:電子科技大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2012
【分類號(hào)】:TP368.1;TN92
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 趙東;周衛(wèi)云;趙作人;;Linux下的多線程機(jī)制的分析與實(shí)現(xiàn)[J];長(zhǎng)春師范學(xué)院學(xué)報(bào)(自然科學(xué)版);2008年12期
2 劉賓禮;孫俊忠;周智勇;楊占錄;;鏈表淺析[J];電腦學(xué)習(xí);2010年01期
3 王淵;趙宇;;嵌入式Linux網(wǎng)絡(luò)通信的實(shí)現(xiàn)[J];電子測(cè)量技術(shù);2006年06期
4 劉少濤,凌捷;數(shù)據(jù)加密算法與大素?cái)?shù)的生成及運(yùn)算[J];廣東工業(yè)大學(xué)學(xué)報(bào);2001年04期
5 李兆淵;基于MD5算法的LINUX安全認(rèn)證機(jī)制[J];光電技術(shù)應(yīng)用;2004年01期
6 朱國(guó)超;;無(wú)線局域網(wǎng)的構(gòu)建及安全防范技術(shù)研究[J];計(jì)算機(jī)安全;2010年04期
7 洪運(yùn)國(guó);;改進(jìn)操作系統(tǒng)中產(chǎn)生死鎖的必要條件[J];高科技與產(chǎn)業(yè)化;2010年12期
8 張裔智;趙毅;湯小斌;;MD5算法研究[J];計(jì)算機(jī)科學(xué);2008年07期
9 陳寧江;林盤;;一種基于排隊(duì)系統(tǒng)的啟發(fā)式中間件動(dòng)態(tài)線程池管理機(jī)制[J];計(jì)算機(jī)科學(xué);2010年10期
10 郭輝;;多線程的效率[J];計(jì)算機(jī)應(yīng)用;2008年S2期
相關(guān)碩士學(xué)位論文 前8條
1 曹營(yíng);嵌入式系統(tǒng)任務(wù)調(diào)度機(jī)制的研究與實(shí)現(xiàn)[D];大連理工大學(xué);2010年
2 楊超;Linux多協(xié)議多線程下載技術(shù)的研究與實(shí)現(xiàn)[D];大連海事大學(xué);2011年
3 胡四平;IEEE 802.11無(wú)線局域網(wǎng)性能改進(jìn)策略研究[D];浙江理工大學(xué);2011年
4 楊漢卿;基于WebGIS的交通信息查詢及輔助決策[D];西北大學(xué);2005年
5 令曉靜;SSL安全傳輸協(xié)議在網(wǎng)絡(luò)通信中的應(yīng)用研究[D];西安電子科技大學(xué);2006年
6 趙金明;基于嵌入式Linux的遠(yuǎn)程管理協(xié)議的研究與設(shè)計(jì)[D];河北工業(yè)大學(xué);2006年
7 孫麗;基于遠(yuǎn)程測(cè)試的無(wú)線數(shù)據(jù)傳輸技術(shù)研究[D];中北大學(xué);2009年
8 柳亞?wèn)|;基于S3C2440的嵌入式視頻網(wǎng)絡(luò)監(jiān)控系統(tǒng)[D];上海交通大學(xué);2009年
本文編號(hào):1932158
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1932158.html