【正文】
各種不同的視頻捕獲設(shè)備,包括電視卡、視頻捕獲卡和USB攝像頭等。要實(shí)現(xiàn)監(jiān)控現(xiàn)場(chǎng),除了完成視頻采集的編程,還需要把視頻圖像數(shù)據(jù)通過(guò)網(wǎng)絡(luò)傳輸出去,因此需要在完成視頻讀取的基礎(chǔ)上建立WEB服務(wù)器,一是為了實(shí)現(xiàn)對(duì)硬件設(shè)備的擴(kuò)展和訪問(wèn),二是為了實(shí)現(xiàn)客戶(hù)端和服務(wù)器之間的數(shù)據(jù)通訊技術(shù)方案比較: 本課題的主要要方案選擇是在操作系統(tǒng)的選擇。Vxworks因出現(xiàn)稍早,實(shí)時(shí)性很強(qiáng)(據(jù)說(shuō)可在1ms內(nèi)響應(yīng)外部事件請(qǐng)求),并且內(nèi)核可極微(據(jù)說(shuō)最小可8K),可靠性較高等,所以在北美,Vxworks占據(jù)了嵌入式系統(tǒng)的多半疆山。Vxworks的很多概念和技術(shù)都和Linux很類(lèi)似,主要是C語(yǔ)言開(kāi)發(fā)。不適合我做課題。(.NET),開(kāi)發(fā)平臺(tái)主要為WinCE Platform Builder,有時(shí)也用EVC環(huán)境開(kāi)發(fā)一些較上層的應(yīng)用, 雖然有著良好的性能,但開(kāi)發(fā)成本過(guò)高不適宜我們學(xué)習(xí)。Linux本身不是一個(gè)為嵌入式設(shè)計(jì)的操作系統(tǒng),不是微內(nèi)核的,并且實(shí)時(shí)性不強(qiáng)。很多人預(yù)測(cè),嵌入式Linux預(yù)計(jì)將占嵌入式操作系統(tǒng)的50%以上份額,非常重要。設(shè)計(jì)重點(diǎn)難點(diǎn): 本課題重點(diǎn)和難點(diǎn)在于交叉編譯環(huán)境的搭建,Linux內(nèi)核的編譯,根文件系統(tǒng)的制作,視頻采集的實(shí)現(xiàn),視頻圖像的壓縮和傳輸?shù)戎R(shí)要點(diǎn)。(2)、Linux內(nèi)核的移植:配置標(biāo)準(zhǔn)的Linux內(nèi)核,編譯,下載至開(kāi)發(fā)板中。(4)、USB驅(qū)動(dòng)設(shè)計(jì),修改配置Linux內(nèi)核并編譯。(6)、嵌入式WEB服務(wù)器的設(shè)計(jì):用Boa配置編譯并移植到開(kāi)發(fā)板中。預(yù)期結(jié)果: 制作出一個(gè)能實(shí)際應(yīng)用的基于嵌入式Linux的視頻監(jiān)控系統(tǒng)。工作計(jì)劃:l 第1周 畢業(yè)實(shí)習(xí)(1)l 第2周 畢業(yè)實(shí)習(xí)(2) l 第3周 需求分析,并開(kāi)始撰寫(xiě)畢業(yè)設(shè)計(jì)說(shuō)明書(shū)l 第4周 系統(tǒng)可行性分析l 第5周 Linux操作系統(tǒng)的安裝與使用l 第6周 開(kāi)發(fā)環(huán)境的搭建,并練習(xí)操作l 第7周 嵌入式Linux內(nèi)核編譯移植l 第8周 文件系統(tǒng)制作移植l 第9周 linux環(huán)境下編程練習(xí)l 第10周 驅(qū)動(dòng)編寫(xiě)準(zhǔn)備練習(xí)l 第11周 USB攝像頭驅(qū)動(dòng)編寫(xiě)l 第12周 分析實(shí)現(xiàn)視頻壓縮技術(shù)l 第13周 分析實(shí)現(xiàn)視頻傳輸技術(shù)l 第14周 嵌入式WEB服務(wù)器的實(shí)現(xiàn)與移植l 第15周 應(yīng)用系統(tǒng)的實(shí)現(xiàn)l 第16周 整機(jī)功能調(diào)試l 第17周 修改調(diào)試,并完善設(shè)計(jì)說(shuō)明書(shū)(1)l 第18周 修改調(diào)試,并完善設(shè)計(jì)說(shuō)明書(shū)(2)四、主要參考文獻(xiàn) [1] 廖日坤. ARM嵌入式應(yīng)用開(kāi)發(fā)技術(shù)白金手冊(cè)[M].北京:中國(guó)電力出版社,2005.[2] [M].北京:北京航空航天大學(xué)出版社, 2008.[3] 孫瓊. 嵌入式Linux應(yīng)用程序開(kāi)發(fā)詳解M].北京:人民郵電出版社, 2006.[4] [M].北京:人民郵電出版社,2007.[5] :人民郵電出版社,2007.[6] Brian and Dennis C Programming Language(2nd Edition)[M].美國(guó):Prentice Hall,1988.[7] W. Richard Stevens, Stephen A. Rago. Advanced Programming in the UNIX Environment 2nd Edition[M]. 美國(guó):Addison Wesley,2005.[8] 郭聳. 基于嵌入式Linux 和Web 服務(wù)器的網(wǎng)絡(luò)視頻監(jiān)控系統(tǒng)[J]. 哈爾濱商業(yè)大學(xué)學(xué)報(bào)(自然科學(xué)版),2005.[9] 梅飛. 嵌入式Linux 網(wǎng)絡(luò)視頻監(jiān)控系統(tǒng)設(shè)計(jì)[J]. 現(xiàn)代電子技術(shù),2007.[10] 譚曉. 嵌入式Linux 平臺(tái)的網(wǎng)絡(luò)視頻監(jiān)控系統(tǒng)[J].電子技術(shù),2006.[11] 詹亮. 基于嵌入式Linux的遠(yuǎn)程視頻監(jiān)控系統(tǒng)研究[J]. 成都紡織高等專(zhuān)科學(xué)校學(xué)報(bào),2008.[12] 孫江波. 基于嵌入式Linux的視頻監(jiān)控系統(tǒng)設(shè)計(jì)[J]. 武漢工業(yè)學(xué)院學(xué)報(bào),2006.[13] 孫健. 基于嵌入式Linux 的視頻監(jiān)控系統(tǒng)的設(shè)計(jì)[J]. 電腦知識(shí)與技術(shù),2008.[14] 張倩. 基于嵌入式Linux的視頻監(jiān)控系統(tǒng)[J]. 天津工業(yè)大學(xué)學(xué)報(bào),2007.[15] 郝衛(wèi)東. 基于Linux的嵌入式網(wǎng)絡(luò)視頻監(jiān)控系統(tǒng)研究與設(shè)計(jì)[J],計(jì)算機(jī)系統(tǒng)與應(yīng)用,2008.附錄1 外文文獻(xiàn)File I/O open FunctionA file is opened or created by calling the open function.include int open(const char *pathname, int oflag, ... /* mode_t mode */ )。t exist. This option requires a third argument to the open function, the mode, which specifies the access permission bits of the new file. (When we describe a file39。ll see how to specify the mode and how it can be modified by the umask value of a process.)O_EXCLGenerate an error if O_CREAT is also specified and the file already exists. This test for whether the file already exists and the creation of the file if it doesn39。Returns: 0 if OK, 1 on errorClosing a file also releases any record locks that the process may have on the file. When a process terminates, all of its open files are closed automatically by the kernel. Many programs take advantage of this fact and don39。Returns: number of bytes read, 0 if end of file, 1 on errorIf the read is successful, the number of bytes read is returned. If the end of file is