車載視頻監(jiān)控定位終端設(shè)計
發(fā)布時間:2018-02-27 02:36
本文關(guān)鍵詞: 車載 視頻壓縮 視頻傳輸 H.264 數(shù)據(jù)打包 GPS/北斗 出處:《鄭州大學(xué)》2014年碩士論文 論文類型:學(xué)位論文
【摘要】:近幾年來,由于城市交通的快速發(fā)展,公交系統(tǒng)越來越重要,它已經(jīng)組成人們出行的重要方式。如何提高公交管理與監(jiān)控力度成為了重中之重。隨著3G與4G技術(shù)的發(fā)展,移動互聯(lián)網(wǎng)帶寬越來越寬,穩(wěn)定性越來越高,這就為視頻的傳輸提供了移動網(wǎng)絡(luò)媒介。并且視頻壓縮技術(shù)也在迅速發(fā)展,建設(shè)一個穩(wěn)定可靠的移動互聯(lián)網(wǎng)視頻傳輸系統(tǒng)成為了可能。 本文首先分析了國內(nèi)外車載視頻監(jiān)控定位終端的概況與差距,考慮到車載終端的移動性,采用3G網(wǎng)絡(luò)來傳輸視頻與定位數(shù)據(jù),使用最新的視頻壓縮編碼標準H.264,在減小視頻數(shù)據(jù)量的同時也減小了3G網(wǎng)絡(luò)數(shù)據(jù)的流量。其次根據(jù)系統(tǒng)需求搭建起Linux操作系統(tǒng),,詳細介紹了相關(guān)模塊的驅(qū)動程序的編寫、修改與移植的實現(xiàn)過程。之后深入分析網(wǎng)絡(luò)傳輸協(xié)議與視頻壓縮格式,根據(jù)兩者的特點設(shè)計壓縮視頻流的RTP封裝算法。車載終端建立UDP客戶端,對獲取到的壓縮視頻流進行RTP協(xié)議的封裝,然后通過無線網(wǎng)絡(luò)將封裝過的數(shù)據(jù)發(fā)送至監(jiān)控中心。同時建立一個TCP客戶端并從串口獲取定位信息并將GPS/北斗模塊的定位信息使用TCP協(xié)議經(jīng)3G網(wǎng)絡(luò)傳輸至監(jiān)控中心。最后編寫一個監(jiān)控中心模擬軟件進行系統(tǒng)的驗證。監(jiān)控中心建立一個UDP服務(wù)器來接收H.264壓縮視頻數(shù)據(jù),建立一個TCP服務(wù)器接收北斗/GPS定位數(shù)據(jù)。軟件可以顯示定位信息并自動生成一個播放配置文件來播放收到的H.264實時視頻。實驗結(jié)果表明該車載終端可以通過3G網(wǎng)絡(luò)、wifi、有線網(wǎng)絡(luò)將數(shù)據(jù)發(fā)送至監(jiān)控中心并且效果良好。 本文的重點是RTP數(shù)據(jù)協(xié)議與H.264視頻壓縮格式之間的結(jié)合,也就是如何使用RTP來封裝H.264壓縮視頻流。通過網(wǎng)絡(luò)抓包工具抓包與H.264文件分析工具數(shù)據(jù)對比,可以看出原始H.264文件數(shù)據(jù)與網(wǎng)絡(luò)打包數(shù)據(jù)一致,驗證了H.264壓縮視頻流的RTP封裝算法的正確性。
[Abstract]:In recent years, due to the rapid development of urban traffic, the public transport system is becoming more and more important. It has become an important way for people to travel. How to improve the management and monitoring of public transport has become the top priority. With the development of 3G and 4G technology, The bandwidth and stability of the mobile Internet are becoming wider and wider, which provides a mobile network medium for the transmission of video, and video compression technology is also developing rapidly. It is possible to build a stable and reliable mobile internet video transmission system. Firstly, this paper analyzes the general situation and gap between domestic and foreign vehicular video surveillance and positioning terminals. Considering the mobility of vehicle terminals, 3G network is used to transmit video and positioning data. Using the latest video compression coding standard H.264, it not only reduces the amount of video data, but also reduces the traffic of 3G network data. Secondly, the Linux operating system is built according to the requirement of the system, and the driver program of the related module is introduced in detail. After analyzing the network transmission protocol and video compression format, the RTP encapsulation algorithm of compressed video stream is designed according to their characteristics. Encapsulate the obtained compressed video stream with RTP protocol, Then the encapsulated data is sent to the monitoring center via wireless network. At the same time, a TCP client is established and the location information of the GPS / Beidou module is obtained from the serial port. The GPS / Beidou module location information is transmitted to the monitor through the 3G network using the TCP protocol. Finally, we write a simulation software to verify the system. The monitoring center establishes a UDP server to receive H.264 compressed video data. The software can display the location information and automatically generate a playback configuration file to play the received H.264 real-time video. The experimental results show that the vehicle terminal can use 3G network. Wired network sends data to the monitoring center and works well. This paper focuses on the combination of RTP data protocol and H.264 video compression format, that is, how to use RTP to encapsulate H.264 compressed video stream. It can be seen that the original H.264 file data is consistent with the network packet data, and the correctness of the RTP encapsulation algorithm of H.264 compressed video stream is verified.
【學(xué)位授予單位】:鄭州大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:U463.6;U495
【參考文獻】
相關(guān)期刊論文 前1條
1 錢德俊;張哲;胡晨;;NMEA0183協(xié)議解析[J];電子器件;2007年02期
本文編號:1540790
本文鏈接:http://sikaile.net/kejilunwen/jiaotonggongchenglunwen/1540790.html
教材專著