實(shí)時(shí)多媒體存儲(chǔ)系統(tǒng)設(shè)計(jì)
本文關(guān)鍵詞: 嵌入式DVR 文件系統(tǒng) 本地存儲(chǔ) 網(wǎng)絡(luò)存儲(chǔ) 軟件庫(kù) 視頻安防 出處:《杭州電子科技大學(xué)》2012年碩士論文 論文類(lèi)型:學(xué)位論文
【摘要】:安防產(chǎn)業(yè)發(fā)展迅速,嵌入式硬盤(pán)錄像機(jī)已經(jīng)得到越來(lái)越廣泛的應(yīng)用,作為視頻安防核心技術(shù)之一的存儲(chǔ)技術(shù)的發(fā)展顯得極為重要。通用文件系統(tǒng)具有通用性特點(diǎn),不受使用平臺(tái)限制,方便功能擴(kuò)展,因此本文基于通用文件系統(tǒng)設(shè)計(jì)了嵌入式硬盤(pán)錄像機(jī)的實(shí)時(shí)多媒體存儲(chǔ)系統(tǒng)。該存儲(chǔ)系統(tǒng)實(shí)現(xiàn)了視頻錄像機(jī)本地存儲(chǔ)和網(wǎng)絡(luò)存儲(chǔ)兩大模塊,支持錄像存儲(chǔ)和抓圖存儲(chǔ)等功能,具有更好的移植性和可擴(kuò)展性,滿(mǎn)足了市場(chǎng)的需要。 本論文首先從視頻編解碼技術(shù)、軟硬件技術(shù)、存儲(chǔ)技術(shù)三方面介紹了嵌入式硬盤(pán)錄像機(jī)的發(fā)展歷程。然后從嵌入式硬盤(pán)錄像機(jī)的硬件結(jié)構(gòu)、軟件結(jié)構(gòu)、基本功能以及平臺(tái)軟件的編譯環(huán)境等方面介紹了嵌入式硬盤(pán)錄像機(jī)的結(jié)構(gòu)信息,詳細(xì)闡述了嵌入式硬盤(pán)錄像機(jī)的特點(diǎn)。 針對(duì)嵌入式硬盤(pán)錄像機(jī)數(shù)據(jù)存儲(chǔ)持續(xù)時(shí)間長(zhǎng),數(shù)據(jù)傳輸量大,數(shù)據(jù)訪問(wèn)量低,數(shù)據(jù)存儲(chǔ)周期短等特點(diǎn),本論文設(shè)計(jì)了嵌入式硬盤(pán)錄像機(jī)存儲(chǔ)模塊軟件庫(kù),該軟件庫(kù)采用C/C++編程語(yǔ)言以及Linux相關(guān)系統(tǒng)調(diào)用實(shí)現(xiàn),所屬嵌入式應(yīng)用層庫(kù)。從數(shù)據(jù)存儲(chǔ)位置分,軟件庫(kù)可分為本地存儲(chǔ)模塊和網(wǎng)絡(luò)存儲(chǔ)模塊;從層次架構(gòu)分,軟件庫(kù)可分為存儲(chǔ)介質(zhì)管理模塊、遠(yuǎn)程目錄管理模塊、工作目錄管理模塊、文件監(jiān)控模塊、數(shù)據(jù)庫(kù)模塊、媒體文件模塊、索引文件模塊、文件查詢(xún)模塊以及FTP服務(wù)端模塊。 為方便集中管理本地存儲(chǔ)介質(zhì)分區(qū)、格式化等操作,論文設(shè)計(jì)了存儲(chǔ)介質(zhì)管理模塊。在網(wǎng)絡(luò)存儲(chǔ)模塊中相對(duì)應(yīng)設(shè)計(jì)了遠(yuǎn)程目錄管理模塊,實(shí)現(xiàn)遠(yuǎn)程目錄的登錄、掛載等功能。論文規(guī)定一個(gè)本地分區(qū)或者一個(gè)遠(yuǎn)程目錄對(duì)應(yīng)一個(gè)工作目錄,論文在存儲(chǔ)介質(zhì)管理模塊和遠(yuǎn)程目錄管理模塊的基礎(chǔ)上設(shè)計(jì)了工作目錄管理模塊,實(shí)現(xiàn)了工作目錄類(lèi)型切換、循環(huán)覆蓋等功能。為實(shí)現(xiàn)文件IO讀寫(xiě)與文件信息存儲(chǔ)異步操作,提高數(shù)據(jù)存儲(chǔ)效率,在工作目錄管理模塊的基礎(chǔ)上論文設(shè)計(jì)了文件監(jiān)控模塊和數(shù)據(jù)庫(kù)模塊,文件監(jiān)控模塊監(jiān)控文件的創(chuàng)建、讀寫(xiě)等事件,將監(jiān)控到的事件信息發(fā)送到數(shù)據(jù)庫(kù)模塊中存儲(chǔ),同時(shí),數(shù)據(jù)庫(kù)模塊提供了基于數(shù)據(jù)庫(kù)的文件快速查詢(xún)接口。在文件監(jiān)控模塊和數(shù)據(jù)庫(kù)模塊基礎(chǔ)上,論文設(shè)計(jì)了媒體文件模塊,負(fù)責(zé)完成文件的讀寫(xiě)、文件上電修復(fù)、抓圖索引信息存儲(chǔ)等工作。為支持錄像跳幀回放功能,論文設(shè)計(jì)了幀索引模塊,存儲(chǔ)了錄像文件中的I幀信息。同時(shí),論文設(shè)計(jì)了文件查詢(xún)模塊,支持基于文件目錄的錄像查詢(xún)功能和基于索引的抓圖文件查詢(xún)功能。最后,論文提供了精簡(jiǎn)的功能接口,供上層用戶(hù)接口調(diào)用。 最后,,對(duì)本系統(tǒng)進(jìn)行了功能測(cè)試和系統(tǒng)性能測(cè)試。經(jīng)測(cè)試,本系統(tǒng)實(shí)現(xiàn)了存儲(chǔ)相關(guān)基本功能,在性能方面,在分辨率為CIF、碼流1024Kb/S編碼格式下,16通道錄像,CPU不高于30%,8通道錄像、抓圖,CPU不高于25%,完全可以滿(mǎn)足嵌入式硬盤(pán)錄像機(jī)的存儲(chǔ)需求。
[Abstract]:With the rapid development of security industry, embedded hard disk video recorders have been more and more widely used. The development of storage technology, one of the core technologies of video security, is very important. This paper designs a real-time multimedia storage system of embedded hard disk video recorder based on universal file system. The storage system realizes two modules of local storage and network storage of video recorder. It supports video storage and drawing storage. It has better portability and extensibility, and meets the needs of the market. This paper first introduces the development of embedded hard disk video recorder from three aspects: video coding and decoding technology, hardware and software technology, storage technology, and then introduces the hardware structure and software structure of embedded hard disk video recorder. The basic function and the compiling environment of the platform software are introduced in this paper. The structure information of the embedded hard disk video recorder is introduced, and the characteristics of the embedded hard disk video recorder are described in detail. Aiming at the characteristics of embedded hard disk recorder, such as long data storage time, large amount of data transmission, low data access and short data storage period, this paper designs a software library of storage module of embedded hard disk recorder. The software library is implemented by C / C programming language and Linux related system call, which belongs to the embedded application layer library. From the data storage location, the software library can be divided into local storage module and network storage module, and from the hierarchical architecture, the software library can be divided into local storage module and network storage module. Software library can be divided into storage media management module, remote directory management module, working directory management module, file monitoring module, database module, media file module, index file module, file query module and FTP server module. In order to facilitate centralized management of local storage media partition, format and other operations, a storage media management module is designed in this paper. A remote directory management module is designed in the network storage module to realize the login of the remote directory. The paper defines a local partition or a remote directory corresponding to a working directory. The paper designs a working directory management module based on the storage media management module and the remote directory management module. In order to realize the asynchronous operation of file IO reading and writing and file information storage, the efficiency of data storage is improved. Based on the working directory management module, the paper designs the file monitoring module and the database module. The file monitoring module monitors the creation, reading and writing of files, and sends the monitored event information to the database module to store, at the same time, The database module provides the file fast query interface based on database. On the basis of file monitoring module and database module, the paper designs the media file module, which is responsible for completing the reading and writing of files and repairing the files on electricity. In order to support the function of video playback, this paper designs a frame index module, which stores the I frame information in the video file. At the same time, the paper designs a file query module. Video query based on file directory and drawing file query based on index are supported. Finally, the paper provides a concise functional interface for the upper user interface to call. Finally, the function test and system performance test of the system are carried out. After testing, the system realizes the basic functions of storage. In terms of performance, the resolution is CIF. the CPU of 16 channel video is no more than 30 channels in 1024KB / S coding format. Drawing CPU is no more than 25, it can meet the storage requirements of embedded hard disk recorders.
【學(xué)位授予單位】:杭州電子科技大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2012
【分類(lèi)號(hào)】:TP333;TP368.1
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 王雅文;宮云戰(zhàn);楊朝紅;;軟件測(cè)試工具綜述[J];北京化工大學(xué)學(xué)報(bào)(自然科學(xué)版);2007年S1期
2 董德順;;FTP主動(dòng)和被動(dòng)傳輸區(qū)別[J];才智;2010年07期
3 馮素梅;;FTP Client軟件的分析與設(shè)計(jì)[J];重慶科技學(xué)院學(xué)報(bào)(自然科學(xué)版);2010年03期
4 何強(qiáng);肖波;周新媛;;利用Samba實(shí)現(xiàn)Linux和Windows文件共享[J];長(zhǎng)沙大學(xué)學(xué)報(bào);2007年05期
5 龐明勇,盧章平;Linux操作系統(tǒng)的系統(tǒng)調(diào)用機(jī)制[J];電腦開(kāi)發(fā)與應(yīng)用;2000年12期
6 任亞洲;;FAT32文件系統(tǒng)研究[J];電腦知識(shí)與技術(shù);2008年24期
7 劉萍;張繼剛;滕桂明;;FTP客戶(hù)端軟件的實(shí)現(xiàn)[J];黑龍江科技信息;2008年01期
8 陳金陽(yáng),蔣建中,張良勝;FTP協(xié)議分析及其客戶(hù)端程序?qū)崿F(xiàn)[J];計(jì)算機(jī)工程與應(yīng)用;2005年32期
9 郭英見(jiàn);網(wǎng)絡(luò)文件系統(tǒng)(NFS)的工作原理和應(yīng)用技術(shù)[J];計(jì)算機(jī)與通信;1996年11期
10 肖銘,張浩,余勝生,周敬利;網(wǎng)絡(luò)存儲(chǔ)技術(shù)分析與應(yīng)用[J];交通與計(jì)算機(jī);2003年03期
相關(guān)碩士學(xué)位論文 前6條
1 陳曉輝;嵌入式數(shù)字硬盤(pán)錄像機(jī)文件系統(tǒng)的研究和應(yīng)用[D];中國(guó)人民解放軍信息工程大學(xué);2005年
2 李天佑;Linux文件系統(tǒng)應(yīng)用[D];浙江大學(xué);2006年
3 彭曉曦;嵌入式Linux下文件系統(tǒng)的研究與實(shí)現(xiàn)[D];電子科技大學(xué);2007年
4 宋構(gòu)雋;嵌入式硬盤(pán)錄像機(jī)應(yīng)用軟件設(shè)計(jì)[D];浙江大學(xué);2007年
5 喬文軍;嵌入式軟件測(cè)試平臺(tái)的研究與實(shí)現(xiàn)[D];南京航空航天大學(xué);2007年
6 方衛(wèi)民;基于ARM的嵌入式網(wǎng)絡(luò)視頻監(jiān)控系統(tǒng)設(shè)計(jì)與實(shí)現(xiàn)[D];北京郵電大學(xué);2008年
本文編號(hào):1507296
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1507296.html