基于ARM11的網(wǎng)絡(luò)視頻監(jiān)控系統(tǒng)設(shè)計(jì)
本文選題:嵌入式系統(tǒng) + linux; 參考:《浙江師范大學(xué)》2014年碩士論文
【摘要】:網(wǎng)絡(luò)監(jiān)控主要是通過網(wǎng)絡(luò)接收遠(yuǎn)端的網(wǎng)絡(luò)攝像頭傳輸?shù)囊曨l流,通過解碼、顯示、存儲(chǔ)等,實(shí)現(xiàn)存儲(chǔ)、預(yù)覽、報(bào)警等功能,F(xiàn)階段,市場(chǎng)上的網(wǎng)絡(luò)監(jiān)控主要是在NVR(網(wǎng)絡(luò)硬盤錄像機(jī))、IPC(網(wǎng)絡(luò)攝像機(jī))、超大容量硬盤(一般是3塊以上3T硬盤)、液晶顯示器組成的硬件框架上,以網(wǎng)絡(luò)傳輸技術(shù)、GUI(圖形用戶界面)技術(shù)、視頻編解碼技術(shù)、嵌入式技術(shù)及存儲(chǔ)技術(shù)為核心,通過有線網(wǎng)絡(luò)傳輸數(shù)據(jù)來實(shí)現(xiàn)整個(gè)方案。整個(gè)方案的體積大,可移動(dòng)性差,布線困難且價(jià)格昂貴;其后端NVR一般用高端的ARM A9雙核架構(gòu)設(shè)計(jì),前端IPC采用ARM9架構(gòu)設(shè)計(jì)。由于雙核的A9芯片價(jià)格較高,一般用在對(duì)視頻質(zhì)量要求較高的場(chǎng)合,如政府、超市、學(xué)校等。而針對(duì)家庭等視頻質(zhì)量要求較低的場(chǎng)合,這類視頻監(jiān)控還較少。有一些用ARM9芯片做后端的低端產(chǎn)品,性能又很有限,F(xiàn)階段用ARM11架構(gòu)做視頻監(jiān)控的,國內(nèi)就更少了。目前,ARM9架構(gòu)的芯片與ARM11架構(gòu)的芯片在價(jià)格上已經(jīng)相差不大,然而ARM11架構(gòu)的芯片比ARM9架構(gòu)的芯片,在功能上要強(qiáng)很多。在此背景下,本文選取ARM11架構(gòu)中的S3C6410芯片,以linux操作系統(tǒng)為平臺(tái),支持通過WIFI傳輸網(wǎng)絡(luò)數(shù)據(jù),實(shí)現(xiàn)基于ARM11的嵌入式網(wǎng)絡(luò)視頻監(jiān)控系統(tǒng)。該系統(tǒng)與ARM9架構(gòu)的視頻監(jiān)控系統(tǒng)相比較,其成本相差不大、體積較小、可方便移動(dòng)。 本文分析了選擇S3C6410作為視頻監(jiān)控系統(tǒng)主控芯片的優(yōu)勢(shì),并根據(jù)視頻監(jiān)控的功能需求,選取了飛凌公司的0K6410開發(fā)板為硬件平臺(tái)。由于嵌入式網(wǎng)絡(luò)視頻監(jiān)控系統(tǒng)功能模塊較多,整個(gè)系統(tǒng)比較龐大,本文簡(jiǎn)潔的介紹了其中一些非關(guān)鍵功能模塊的實(shí)現(xiàn)流程,詳細(xì)介紹了研究的關(guān)鍵模塊。本系統(tǒng)建立了嵌入式交叉編譯環(huán)境及裁剪linux內(nèi)核,移植了Tslib、FreeType、FFmpeg三個(gè)開源軟件庫,開發(fā)了兩個(gè)linux設(shè)備驅(qū)動(dòng)程序:TFT觸摸屏觸摸輸入功能設(shè)備驅(qū)動(dòng)程序,和實(shí)現(xiàn)顯示功能的幀緩沖設(shè)備驅(qū)動(dòng)程序,F(xiàn)階段,針對(duì)大部分嵌入式視頻監(jiān)控系統(tǒng)都是采用16個(gè)bit位顯示一個(gè)像素的顏色值,該系統(tǒng)開發(fā)了一個(gè)像素采用32個(gè)bit位的顯示設(shè)備驅(qū)動(dòng)程序,這樣能夠顯示的顏色值會(huì)大量增加,圖像的失真也會(huì)相應(yīng)減少。另外,對(duì)于圖形用戶界面技術(shù),市面上已經(jīng)有QT、miniGUI等功能完備的GUI技術(shù),雖然這些GUI也有免費(fèi)的版本(學(xué)習(xí)或交流),但用在商業(yè)上,都要收取授權(quán)費(fèi)用的;谝陨线@點(diǎn),本系統(tǒng)開發(fā)了一個(gè)簡(jiǎn)單的GUI,該GUI利用幀緩沖設(shè)備控制圖像在液晶屏上的顯示,使用Tslib庫獲得觸摸屏的輸入信號(hào),以及使用FreeType庫獲取顯示文字的位圖信息,實(shí)現(xiàn)了用戶和機(jī)器的交互。另外,本系統(tǒng)還設(shè)計(jì)了一套信號(hào)與槽機(jī)制,利用這種機(jī)制能夠有效處理GUI頁面與頁面、頁面與控件之間復(fù)雜的信息傳遞過程。還值得一提的是,本系統(tǒng)開發(fā)了采集攝像頭視頻數(shù)據(jù)的應(yīng)用程序,該應(yīng)用程序在linux下的V4L2(video for linux two)攝像頭驅(qū)動(dòng)程序框架下運(yùn)行,實(shí)現(xiàn)了視頻數(shù)據(jù)實(shí)時(shí)采集的效果。最后,通過FFmpeg庫對(duì)視頻數(shù)據(jù)進(jìn)行編碼,降低了傳輸視頻數(shù)據(jù)的網(wǎng)絡(luò)帶寬要求,同時(shí)又減少了錄像時(shí)占用的大量I/O資源。系統(tǒng)用簡(jiǎn)單的往存儲(chǔ)設(shè)備寫文件的方式實(shí)現(xiàn)抓圖、錄像功能。在此基礎(chǔ)上結(jié)合網(wǎng)絡(luò)視頻數(shù)據(jù)的傳輸實(shí)現(xiàn)整個(gè)嵌入式網(wǎng)絡(luò)視頻監(jiān)控系統(tǒng)。
[Abstract]:Network monitoring is mainly through the network receiving video streaming of the remote network camera, through decoding, display, storage and so on, to realize storage, preview, alarm and other functions. At present, the network monitoring in the market is mainly in NVR (network hard disk recorder), IPC (network camera), super large capacity hard disk (generally more than 3 3T hard disk), liquid crystal display On the hardware frame of the indicator, the whole scheme is realized by network transmission technology, GUI (graphical user interface) technology, video codec technology, embedded technology and storage technology. The whole scheme is large, the mobility is poor, the wiring is difficult and the price is expensive; the back end NVR generally uses high-end A RM A9 dual core architecture design, front-end IPC using ARM9 architecture design. Because the dual core A9 chip is high in price, generally used in the video quality requirements, such as the government, supermarket, school and so on. But for the home and other video quality requirements of low level, this kind of video surveillance is still less. There are some low-end products with ARM9 chips as the back end. The current stage with the ARM11 architecture for video surveillance is less domestic. At present, the chip of ARM9 architecture and ARM11 architecture have little difference in price, but the chip of the ARM11 architecture is much stronger than the ARM9 architecture. In this context, this paper selects the S3C6410 chip in the ARM11 architecture to Linux. The operating system is the platform to support the transmission of network data through WIFI to realize the embedded network video monitoring system based on ARM11. Compared with the video monitoring system of the ARM9 architecture, the system has little difference in cost, small volume and convenient to move.
This paper analyzes the advantages of selecting S3C6410 as the main control chip of the video monitoring system. According to the functional requirements of video surveillance, the 0K6410 development board of the flying company is selected as the hardware platform. As the function modules of the embedded network video monitoring system are more and the whole system is huge, some of the non key functions of the system are briefly introduced in this paper. The key module of the energy module is introduced in detail. The system establishes the embedded cross compiler environment and the Linux kernel, and transplants the three open source software libraries of Tslib, FreeType and FFmpeg, and develops two Linux device drivers, TFT touch screen touch input device driver, and the frame to realize the display function. At this stage, most embedded video surveillance systems use 16 bit bits to display the color values of one pixel. The system develops a display device driver with 32 bit bits in pixels, so that the color values can be increased and the distortion of the image will be reduced. Graphical user interface (GUI) technology has QT, miniGUI and other complete GUI technologies. Although these GUI have free version (learning or communication), they all have to charge authorization costs in business. Based on this, this system develops a simple GUI, which uses a frame buffer to control the display of the image on the LCD screen. It uses the Tslib library to obtain the input signal of the touch screen, and uses the FreeType library to obtain the bitmap information of the display text, and realizes the interaction between the user and the machine. In addition, this system also designs a set of signal and slot mechanism, which can effectively handle the complex information transfer process between GUI page and page, page and control. It is also worth mentioning that the system has developed an application program to collect video data from the camera, which runs under the framework of V4L2 (video for Linux two) camera driver under Linux, and realizes the effect of real-time video data acquisition. Finally, the video data is encoded by the FFmpeg library, and the video data is transmitted. Network bandwidth requirements, while reducing a large number of I/O resources occupied by video recording, the system uses a simple way to write files to the storage device to realize the capture and video function. On this basis, the whole embedded network video monitoring system is realized with the transmission of network video data.
【學(xué)位授予單位】:浙江師范大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2014
【分類號(hào)】:TN948.6
【參考文獻(xiàn)】
相關(guān)期刊論文 前9條
1 曹占中;周余;王自強(qiáng);都思丹;;基于s3c2440的Linux攝像頭驅(qū)動(dòng)開發(fā)[J];電子測(cè)量技術(shù);2009年02期
2 王奔;劉國錦;朱曉舒;時(shí)斌;;基于S3C2410的嵌入式Linux系統(tǒng)的移植構(gòu)建[J];信息化研究;2009年05期
3 羅維;李君懿;;基于BF533的Linux網(wǎng)絡(luò)驅(qū)動(dòng)程序的開發(fā)[J];電子設(shè)計(jì)工程;2009年05期
4 張秋野;黃佩偉;褚蓓;;嵌入式Linux平臺(tái)下USB接口的視頻設(shè)備驅(qū)動(dòng)技術(shù)[J];信息技術(shù);2006年07期
5 徐力,孔巖;視頻監(jiān)控系統(tǒng)的現(xiàn)狀和發(fā)展趨勢(shì)[J];信息技術(shù)與信息化;2005年04期
6 劉飛;張曦煌;;基于嵌入式平臺(tái)的USB攝像頭驅(qū)動(dòng)程序的實(shí)現(xiàn)[J];計(jì)算機(jī)工程與設(shè)計(jì);2008年08期
7 王中元;胡瑞敏;傅佑銘;邊學(xué)工;;IP網(wǎng)絡(luò)視頻會(huì)議系統(tǒng)中視頻子系統(tǒng)的研究與實(shí)現(xiàn)[J];武漢大學(xué)學(xué)報(bào)(工學(xué)版);2006年06期
8 胡瑞敏;李明;;網(wǎng)絡(luò)攝像機(jī)的數(shù)字音視頻編碼技術(shù)[J];中國安防;2008年04期
9 黃相平;余水寶;夏燦;;基于S3C6410平臺(tái)的嵌入式Linux系統(tǒng)LCD驅(qū)動(dòng)模塊[J];微型機(jī)與應(yīng)用;2013年13期
,本文編號(hào):1932046
本文鏈接:http://sikaile.net/kejilunwen/wltx/1932046.html