【正文】
源 [8]。圖 52 是基于本系統(tǒng)的簡(jiǎn)單流式套接字的示意圖。 圖 52 流式套接字的示意圖 在圖 52 流式套接字的示意圖中,服務(wù)器創(chuàng)建好套接字,并且賦給其一個(gè)地址之后,使用 listen()函數(shù)來(lái)偵聽客戶端的連接請(qǐng)求,如果連接成功就調(diào)用 accept()函數(shù)返回一個(gè)新的套接字描述符來(lái)處理雙方的通信過(guò)程。雙方結(jié)束通信后 ,都要調(diào)用 close()函數(shù)來(lái)結(jié)束 Socket通信。它的原理是把視頻鏡頭拍成的視頻分解成一張張分離的 jpg數(shù)據(jù)發(fā)送到客戶端。 mjpg協(xié)議流程如下: ① mjpg在 的 mime type是 “x mixedreplace” 。 ② 如果 ipcam返回 200,表示已經(jīng)接收的請(qǐng)求,并在返回的頭里指明邊界字符串,這是在 context type 的 boundary子屬性來(lái)指明的。 ContentType= image/jpeg以及用 ContentLength指向隨后的長(zhǎng)度。 (2)在本監(jiān)控 系統(tǒng) 中,我們使用了 mjpgstreamer, mjpgstreamer 是常用來(lái)實(shí)現(xiàn)mjpg流傳輸?shù)拈_源項(xiàng)目, 我們 通俗的介紹 一下它的協(xié)議內(nèi)容 來(lái)舉例本系統(tǒng)圖像 傳輸 的算法 。并指明是 multipart/xmixedreplace的 mjpg數(shù)據(jù),邊界字符串是 boundarydonotcross HTTP/ 200 OK //傳輸協(xié)議 Connection: close 賀州學(xué)院本科畢業(yè)論文 17 Server: MJPGStreamer/ CacheControl: nostore, nocache, mustrevalidate, precheck=0, postcheck=0, maxage=0 Pragma: nocache Expires: Mon, 3 Jan 2022 12:34:56 GMT ContentType: multipart/xmixedreplace。圖像采集部分介紹了系統(tǒng)圖像采集的過(guò)程,并深入舉例分析了實(shí)現(xiàn)系統(tǒng)算法的關(guān)鍵函數(shù);最后描述實(shí)現(xiàn)監(jiān)控系統(tǒng)的網(wǎng)絡(luò)傳輸 和 圖像采集后的傳輸算法舉例 ,以求達(dá)到遠(yuǎn)程監(jiān)控圖像視頻的 目的 。 ②啟 動(dòng) mjpgstreamer,在串口終端執(zhí)行: cd /mipgstreamer ./ 能在終端觀察到如下信息,則說(shuō)明已經(jīng)成功啟動(dòng) mjpgstreamer。 ④ 通 過(guò) 瀏 覽 器 動(dòng) 態(tài) 瀏 覽 USB 攝 像 頭 : 在 瀏 覽 器 中 輸 入 : 就可以看到系統(tǒng)客戶端監(jiān)控主頁(yè),如附錄圖1所示。測(cè)試結(jié)果如表 1所示。測(cè)試結(jié)果如表 2所示。測(cè)試多個(gè)用戶使用客戶端同時(shí)進(jìn)行監(jiān)控,可以觀察到, 幀率基本穩(wěn)定。 7 總結(jié)和展望 自選題以來(lái),圍繞嵌入式處理器選型、嵌入式系統(tǒng)硬件設(shè)計(jì)、 linux 系統(tǒng)移植和Linux系統(tǒng)設(shè)備啟動(dòng)、 Linux下視頻采集和網(wǎng)絡(luò)傳輸?shù)燃夹g(shù)進(jìn)行了一定的研究和實(shí)驗(yàn)?,F(xiàn)對(duì)全文總結(jié)如下: 賀州學(xué)院本科畢業(yè)論文 19 本論文討論了基于嵌入式 Linux 的圖像監(jiān)控系統(tǒng)的設(shè)計(jì)方法,基本完成了網(wǎng)絡(luò)圖像視頻監(jiān)控系統(tǒng)的設(shè)計(jì),主要工作包括 系統(tǒng) 總體 設(shè)計(jì) 、 硬件 和 linux 系統(tǒng) 平臺(tái)的建立 、 系統(tǒng)設(shè)備的驅(qū)動(dòng)程序的編寫和移植 以及 系統(tǒng) 的圖像采集和傳輸 。對(duì)于嵌入式監(jiān)控系統(tǒng)的研究,還有很多的問(wèn)題需進(jìn)一步探討。實(shí)現(xiàn)真正的無(wú)人智能監(jiān)控。 (3)可通過(guò)日益發(fā)展的無(wú)線網(wǎng)絡(luò)進(jìn)行傳輸圖像視頻數(shù)據(jù),在手機(jī)、 PDA等網(wǎng)絡(luò)終端上進(jìn)行對(duì)攝像頭監(jiān)控。 參考文獻(xiàn) [1]韋東山 . 嵌入式 linux 開發(fā)完全手冊(cè) [M]. 北京: 人民郵電出版社 . [2]宋寶華 . Linux設(shè)備驅(qū)動(dòng)開發(fā)詳解 [M]. 北京: 人民郵電出版社 . [3]任橋偉 . linux內(nèi)核修煉 之道 [M]. 北京: 人民郵電出版社 . [4]河秦 , 王洪濤 . [M]. 北京: 人民郵電出版社 . [5]廣州友善之臂公司 . mini2440 用戶手冊(cè) [EB/OL]. 廣州 : 廣州友善之臂公司 .202209 [6]丁林松 , 黃麗琴 . Qt4圖形設(shè)計(jì)與嵌入式開發(fā) [M]. 北京: 人民郵電出版社 . 202204 [7]宋敬彬,孫海濱 . Linux 網(wǎng)絡(luò)編程 [M]. 北京: 清華大學(xué)出版社 . 202201 [8]華清遠(yuǎn)見 . 嵌入式 linux系統(tǒng)開發(fā)標(biāo)準(zhǔn)教程 [M]. 北京: 人民郵電出版社 . 莫炳全 基于嵌入式 Linux 的圖像監(jiān)控系統(tǒng) 24 附 錄 圖 1 系統(tǒng)客戶端監(jiān)控主頁(yè) 圖 賀州學(xué)院本科畢業(yè)論文 致 謝 首先感謝我的導(dǎo)師曾繁政老師。從專業(yè)課的學(xué)習(xí)、電賽的參與和畢業(yè)論文的 設(shè)計(jì),曾老師對(duì)我提出了許多指導(dǎo)性的意見和建議,傾注了大量的心血。曾老師不僅在專業(yè)學(xué)習(xí)上對(duì)我嚴(yán)格要求,而且在日常工作和生活中也給與我非常多的幫助和意見,教會(huì)我正確的做人做事的態(tài)度。再次,向我的導(dǎo)師曾繁政老師,表示深深的敬意和感謝! 接著感謝賀州學(xué)院物電系各位老師五年來(lái)的教導(dǎo),你們的教導(dǎo)是我在人生的道路上受益匪淺。 同時(shí)感謝在基地里的同學(xué)們,甚至是小師弟小師妹們,謝謝你們對(duì)我一直以來(lái)的關(guān)心和幫助,有你們的陪伴讓我大學(xué)生活充實(shí)而精彩。 g an employment tribunal claim Employment tribunals sort out disagreements between employers and employees. You may need to make a claim to an employment tribunal if: ? you don39。t appealed against the disciplinary action your employer has taken against you. However, if you win your case, the tribunal may reduce any pensation awarded to you as a result of your failure to appeal. Remember that in most cases you must make an application to an employment tribunal within three months of the date when the event you are plaining about happened. If your application is received after this time limit, the tribunal will not usually accept it. If you are worried about how the time limits apply to you, take advice from one of the anisations listed under Further help. Employment tribunals are less formal than some other courts, but it is still a legal process and you will need to give evidence under an oath or affirmation. Most people find making a claim to an employment tribunal challenging. If you are thinking about making a claim to an employment tribunal, you should get help straight away from one of the anisations listed under Further help. If you are being represented by a solicitor at the tribunal, they may ask you to sign an agreement where you pay their fee out of your pensation if you win the case. This is known as a damagesbased agreement. In England and Wales, your solicitor can39。re clear about the terms of the agreement. It might be best to get advice from an experienced adviser, for example, at a Citizens Advice Bureau. To find your nearest CAB, including those that give advice by , click on nearest CAB. For more information about making a claim to an employment tribunal, see Employment tribunals. 莫炳全 基于嵌入式 Linux 的圖像監(jiān)控系統(tǒng) 24 The (lack of) air up there Watch mCayman Islandsbased Webb, the head of Fifa39。s 150th anniversary celebrations and will attend City39。s about how he felt and I would like to speak to him first to find out what his experience was. Uefa has opened disciplinary proceedings against CSKA for the racist behaviour of their fans during City39。s governing body, has also ordered an immediate investigation into the referee39。s plaint. In a statement the Russian side added: We found no racist insults from fans of CSKA. Age has reached the end of the beginning of a word. May be guilty in his seems to passing a lot of different life became the appearance of the same day?;蛟S是愧疚于自己似乎把轉(zhuǎn)瞬即逝的很多個(gè)不同的日子過(guò)成了同一天的樣子;或許是追溯過(guò)去,對(duì)自己那些近乎偏執(zhí)的怪異信念的醒悟,這些天以來(lái),思緒一直很凌亂,在腦海中不斷糾纏 。二十年的人生軌跡深深淺淺,突然就感覺到有些事情,非做不可了。 Junior high school, thought to have a crush on just means that the real growth, but over the past three years later, his writing of alumni in peace, suddenly found that isn39。 Then in high school, think don39。t remember his appearance. 童年時(shí),覺得壓歲錢和新衣服是過(guò)年必備,但是隨著年齡的推進(jìn),會(huì)越來(lái)越發(fā)現(xiàn),那些東西根本就可有可無(wú);初中時(shí),以為要有一場(chǎng)暗戀才意味著真正的成長(zhǎng),但三年過(guò)去后,自己心平氣和的寫同學(xué)錄的時(shí)候,突然就發(fā)現(xiàn)是不是真正的成長(zhǎng)了,好像并沒有那么重要了 ;然后到了高中,覺得非要吐露出自己的心聲才能為高中生涯里的懵懂情愫劃上一個(gè)句點(diǎn),但畢業(yè)晚會(huì)的時(shí)候最終還是被梗塞在了咽喉,后來(lái)再次站在他曾經(jīng)揮汗如雨的球場(chǎng),看著他投過(guò)籃球的球框時(shí),突然間發(fā)現(xiàn)自己已經(jīng)想不起他的容顏。 A person39。想要的,不想要的,界限明確,好像沒有什么可以撼動(dòng)自己。嫌惡過(guò)自己的怯懦,最終卻發(fā)現(xiàn)有很多 緣分 ,有很多錯(cuò)過(guò),好像冥冥之中真的已經(jīng)注定。 At the moment, the sky is dark, the air is fresh factor after just rained. Suddenly thought of blue plaid shirt。 From the corner at the beginning of deep friendship。t start planning... Those years, those days of do, finally, like youth, will end in our life. 此刻,天空是陰暗的,空氣里有著剛下過(guò)雨之后的清新因子