【正文】
].新疆 :新疆大學(xué) ,20xx [18] Stipanicev D, Marasovie J. Networked Embedded Greenhouse Monitoring and of 20xx IEEE Conference on Control Applications, Istanbul, 20xx:13501355 [19] Yang H T, Eagleson and Implementation of an Interbased Embedded Control System. Proceedings of 20xx IEEE Conference on Control Applications, Istanbul, 20xx, 2:11811185 [20] Alan 20xx. [21] Hassan A Artail,Mackram desktop web page transformation for rendering on handhelds[J].Personal and Ubiquitous Computing,20xx,9(6):101116 [22] Alessandro Rubini, Jonathan Corbet. Linux Device Drivers, Third Edition[M].O’Reilly,20xx,1 00380. [23] Douglas (第三版)(影印版) [M].北京:清華大學(xué)出版 社 ,1998,5080 [24] Stevens,Bill Fenner,Andrew M, Network Programming,Volum1:The Sockets Networking API,3E[M].TSINGHUA UNIVERSITY PRESS 20xx. [25] RFC2616. 致 謝 轉(zhuǎn)眼間大學(xué)四年的生活也將畫上一個(gè)圓滿的句號,我們也將離開這個(gè)生活了四年的校園, 對于即將進(jìn)入社會(huì)的我們,外面的一切都充滿的誘惑,回憶這四年的大學(xué)生活,自己也感觸頗多。 (2)Adobe Dreamweaver CS5 在系統(tǒng)中用于網(wǎng)頁的制作 4 系統(tǒng)測試 (1)修改開發(fā)板 IP,虛擬機(jī) IP, PC 機(jī) IP 確保在同一個(gè)網(wǎng)段 PC 機(jī): 虛擬機(jī): 開發(fā)板: 然后使用 ping 命令對開發(fā)板,虛擬機(jī), PC 機(jī) IP 進(jìn)行測試,查看是否已經(jīng)連接。 }*/ (4)修改 src/ 注釋掉下面內(nèi)容: if (passwdbuf == NULL) { /* 如果密碼為空,則 提示 getpwuid */ DIE(” getpwuid” )。 硬件平臺的介紹 系統(tǒng)采用的是 mini2440 開發(fā)板,采用的是 ARM9 的架構(gòu),所以使用的是哈佛結(jié)構(gòu), 即程序指令與數(shù)據(jù)是分開存儲的存儲器結(jié)構(gòu)。 本文實(shí)現(xiàn)了遠(yuǎn)程數(shù)據(jù)的傳輸與采集、數(shù)據(jù)監(jiān)視、數(shù)據(jù)庫的連接于查詢等功能,通過系統(tǒng)運(yùn)行最后驗(yàn)證了并且實(shí)現(xiàn)了基于 ARM 的 WEB 遠(yuǎn)程視頻實(shí)時(shí)監(jiān)控系統(tǒng)方案的有效性。 遠(yuǎn)程視頻監(jiān)控的簡述 遠(yuǎn)程視頻監(jiān)控就是利用計(jì)算機(jī)通過網(wǎng)絡(luò)技術(shù)實(shí)現(xiàn)對工業(yè)生產(chǎn) 的過程進(jìn)行控制和監(jiān)視。 1996 年,美國麻省 North Andover 公司首先使用了 Inter 與 PLC 相連,現(xiàn)在很多用戶也從中獲益。 國內(nèi)外研究現(xiàn)狀 現(xiàn)在的企業(yè)生產(chǎn)已經(jīng)慢慢向分布式、國際化的生產(chǎn)方式靠攏,用戶的需求也使得技術(shù)需要不斷的進(jìn)步。 (3)從企業(yè)使用的角度來說,因?yàn)?B/S 架構(gòu)采用的是“瘦客戶端”的模式,從而提高了系統(tǒng)的可拓展性,便與現(xiàn)場維護(hù)。因?yàn)楝F(xiàn)在軟件平臺開放的便利性也使得信息交互領(lǐng)域從工廠的現(xiàn)場各種設(shè)備到控制、管理的每個(gè)層次,覆蓋從工廠、車間、工段、企業(yè)甚至是世界各地的市場, 為了實(shí)現(xiàn)對系統(tǒng)控制的網(wǎng)絡(luò)化和開放的體系創(chuàng)造了不可缺少的條件。本文重點(diǎn)討論了圖像的采集、編碼和網(wǎng)絡(luò)通信的設(shè)計(jì)原理與實(shí)現(xiàn),最后對系統(tǒng)進(jìn)行了整體的測試,并 提出進(jìn)一步開發(fā)設(shè)想。 關(guān)鍵詞 視頻監(jiān)控 ;嵌入式系統(tǒng);網(wǎng)絡(luò)通信;圖像采集 ; Abstract Video monitoring is an important ponent of the security system, which is an integrated system with strong ability to prevent, and intuitive, accurate, timely and rich information content and is widely applied in many occasions. Embedded work video monitoring system is a new type of video monitoring system based on embedded technology, video coding technology and work transmission technique as the core, the stability, realtime, processing speed, functions, price expansion etc, pared to traditional video surveillance system has prominent advantages, but also represents the current research and the development direction of video surveillance system. This paper first describes the development of embedded work video monitoring system, as well as the status of the whole construction, then introduced the development status of the ARM processor and embedded Linux operating system, and how to carry on the embedded Linux kernel on the ARM hardware platform in cutting, piling and transplantation, introduces the principle and operation process of BootLoader promoter. This paper focuses on the design and implementation of principles of acquisition, coding and work munication of the image, finally has carried on the system overall test, and put forward the plan of further development. Key words Video Monitoring。對系統(tǒng)結(jié)構(gòu)的控制也隨著網(wǎng)絡(luò)化的方向發(fā)展,并且控制體系開放性的發(fā)展也將成為控制系統(tǒng)創(chuàng)新的主要路線。同時(shí), 因?yàn)?WEB 技術(shù)使用了開放的網(wǎng)絡(luò)傳輸協(xié)議 HTTP 與 TCP/IP,對系統(tǒng)的復(fù)雜性進(jìn)行了簡化,方便了不同的系統(tǒng)互連。 Inter/Intra 將成為實(shí)現(xiàn)分布式生產(chǎn)的基礎(chǔ)?;?Inter,用戶只要使用瀏覽器,便可以通信。遠(yuǎn)程監(jiān)控系統(tǒng)也就是能夠?qū)崿F(xiàn)遠(yuǎn)程監(jiān)控的計(jì)算機(jī)軟硬件系統(tǒng)。 2 系統(tǒng)的分析設(shè)計(jì)與實(shí)現(xiàn) 為了實(shí)現(xiàn)遠(yuǎn)程監(jiān)控并對其進(jìn) 行畫面進(jìn)行監(jiān)控,經(jīng)過各項(xiàng)研究實(shí)現(xiàn)了基于 ARM 的 WEB 遠(yuǎn)程視頻實(shí)時(shí)監(jiān)控系統(tǒng),隨著該系統(tǒng)的開發(fā)與運(yùn)用,可以實(shí)現(xiàn)對捕捉到的畫面進(jìn)行實(shí)時(shí)監(jiān)控,可以實(shí)現(xiàn)不同的用戶登錄,這樣可以方便用戶信息的泄露, 其次該系統(tǒng)是基于 ARM 下進(jìn)行研發(fā)的,所以有成本低,功耗小,功能穩(wěn)定等特點(diǎn),能夠大大的提高該產(chǎn)品的競爭力。該開發(fā)板采用的是 Samsung s3c2440 的微處理器,并且采用了專業(yè)穩(wěn)定的 CPU 內(nèi)核電源芯片與復(fù)位芯片用于保證系統(tǒng)運(yùn)行時(shí)的穩(wěn)定性。 } /* 如果初始化組返回 1,則 提示 initgroups */ 華中農(nóng)業(yè)大學(xué)楚天學(xué)院本科畢業(yè)論文(設(shè)計(jì)) 6 if (initgroups(passwdbufpw_name, passwdbufpw_gid) == 1) { DIE(” initgroups” )。 (2)啟動(dòng)開發(fā)板的程序腳本 (代碼見附錄) chmod +x ./ (3)在 PC 機(jī)的瀏覽器中輸入開發(fā)板的 IP 登錄服務(wù)器 圖 41 登錄頁面 () (4)輸入 錯(cuò)誤的用戶名和密碼后出現(xiàn)如下畫面 ,用戶沒有輸入用戶名,或者用戶名輸入錯(cuò)誤,密碼填寫錯(cuò)誤都會(huì)導(dǎo)致下面的錯(cuò)誤 華中農(nóng)業(yè)大學(xué)楚天學(xué)院本科畢業(yè)論文(設(shè)計(jì)) 9 圖 42 用戶名 或 密碼錯(cuò)誤 a) 圖 43 用戶名 或 密碼錯(cuò)誤 b) (5)用戶 成功輸入正確的用戶名和密碼后,對數(shù)據(jù)庫信息進(jìn)行匹配,如果匹配成功,則登錄成功 , 自動(dòng)跳轉(zhuǎn)到 監(jiān)控畫面 : 圖 44 用戶名與密碼正確 華中農(nóng)業(yè)大學(xué)楚天學(xué)院本科畢業(yè)論文(設(shè)計(jì)) 10 圖 45 監(jiān)控畫面 () (6)用戶名如果不存在,用戶可以進(jìn)入注冊頁面進(jìn)行注冊,下面是 用戶注冊頁面 圖 46 注冊頁面 () (7)用戶注冊 時(shí), 如果 用戶兩次輸入的密碼不一致 ,則會(huì)提示如下的錯(cuò)誤 圖 47 兩次密碼不一致 a) 華中農(nóng)業(yè)大學(xué)楚天學(xué)院本科畢業(yè)論文(設(shè)計(jì)) 11 圖 48 兩次密碼不一致 b) (8)用戶成功輸入數(shù)據(jù)庫中不存在的用戶名,并且兩次密碼輸入正確,則 用戶注冊成功 ,提示如下畫面,并能夠使用新注冊的用戶名登陸系統(tǒng) 圖 49 注冊成功 a) 圖 410 注冊成功 b) (9)用戶注冊時(shí),如果注冊的新用戶已經(jīng)存在,系統(tǒng)就不會(huì)注冊該用戶,則系統(tǒng)會(huì)提示出錯(cuò), 用戶注冊失敗 華中農(nóng)業(yè)大學(xué)楚天學(xué)院本科畢業(yè)論文(設(shè)計(jì)) 12 圖 411 用戶已存在 a) 圖 412 用戶已存在 b) (10)注冊新用戶時(shí), 如果輸入的用戶名為空 ,此時(shí)也會(huì)注冊失敗,并給出提示 用戶名為空 圖 413 用戶名為空 a) 華中農(nóng)業(yè)大學(xué)楚天學(xué)院本科畢業(yè)論文(設(shè)計(jì)) 13 圖 414 用戶名為空 b) (11)注冊新用戶時(shí), 如果沒有輸入密碼,則系統(tǒng)會(huì)提示 密碼為空 圖 415 密碼為空 a) 圖 416 密碼為空 b) (12)查詢 數(shù)據(jù)庫 ,下面的截圖為數(shù)據(jù)庫 中 數(shù)據(jù) 的 截圖 華中農(nóng)業(yè)大學(xué)楚天學(xué)院本科畢業(yè)論文(設(shè)計(jì)) 14 圖 417 數(shù)據(jù)庫截圖 (13)手機(jī)瀏覽器查看監(jiān)控 ,同樣是在手機(jī) 瀏覽器中輸入開發(fā)板的 IP 登錄服務(wù)器 并可以看到系統(tǒng)的登錄頁面 圖 418 手機(jī)登陸頁面 華中農(nóng)業(yè)大學(xué)楚天學(xué)院本科畢業(yè)論文(設(shè)計(jì)) 15 圖 419 手機(jī)監(jiān)控頁面 5 系統(tǒng)結(jié)果分析與展望 經(jīng)過了這么長時(shí)間的學(xué)習(xí)與努力,我也順利的完成了畢業(yè)設(shè)計(jì)的制作,剛開始拿到畢業(yè)設(shè)計(jì)的題目的時(shí)候并不知道如何下手,后來在網(wǎng)上及圖書館查閱了相關(guān)的資料,慢慢的開始對畢業(yè)設(shè)計(jì)進(jìn)行分析與研究,然后完成了開題報(bào)告及任務(wù)書。在從