車載視頻監(jiān)控定位終端設計
發(fā)布時間:2018-02-27 02:36
本文關鍵詞: 車載 視頻壓縮 視頻傳輸 H.264 數據打包 GPS/北斗 出處:《鄭州大學》2014年碩士論文 論文類型:學位論文
【摘要】:近幾年來,由于城市交通的快速發(fā)展,公交系統越來越重要,它已經組成人們出行的重要方式。如何提高公交管理與監(jiān)控力度成為了重中之重。隨著3G與4G技術的發(fā)展,移動互聯網帶寬越來越寬,穩(wěn)定性越來越高,這就為視頻的傳輸提供了移動網絡媒介。并且視頻壓縮技術也在迅速發(fā)展,建設一個穩(wěn)定可靠的移動互聯網視頻傳輸系統成為了可能。 本文首先分析了國內外車載視頻監(jiān)控定位終端的概況與差距,考慮到車載終端的移動性,采用3G網絡來傳輸視頻與定位數據,使用最新的視頻壓縮編碼標準H.264,在減小視頻數據量的同時也減小了3G網絡數據的流量。其次根據系統需求搭建起Linux操作系統,,詳細介紹了相關模塊的驅動程序的編寫、修改與移植的實現過程。之后深入分析網絡傳輸協議與視頻壓縮格式,根據兩者的特點設計壓縮視頻流的RTP封裝算法。車載終端建立UDP客戶端,對獲取到的壓縮視頻流進行RTP協議的封裝,然后通過無線網絡將封裝過的數據發(fā)送至監(jiān)控中心。同時建立一個TCP客戶端并從串口獲取定位信息并將GPS/北斗模塊的定位信息使用TCP協議經3G網絡傳輸至監(jiān)控中心。最后編寫一個監(jiān)控中心模擬軟件進行系統的驗證。監(jiān)控中心建立一個UDP服務器來接收H.264壓縮視頻數據,建立一個TCP服務器接收北斗/GPS定位數據。軟件可以顯示定位信息并自動生成一個播放配置文件來播放收到的H.264實時視頻。實驗結果表明該車載終端可以通過3G網絡、wifi、有線網絡將數據發(fā)送至監(jiān)控中心并且效果良好。 本文的重點是RTP數據協議與H.264視頻壓縮格式之間的結合,也就是如何使用RTP來封裝H.264壓縮視頻流。通過網絡抓包工具抓包與H.264文件分析工具數據對比,可以看出原始H.264文件數據與網絡打包數據一致,驗證了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.
【學位授予單位】:鄭州大學
【學位級別】:碩士
【學位授予年份】:2014
【分類號】:U463.6;U495
【參考文獻】
相關期刊論文 前1條
1 錢德俊;張哲;胡晨;;NMEA0183協議解析[J];電子器件;2007年02期
本文編號:1540790
本文鏈接:http://sikaile.net/kejilunwen/jiaotonggongchenglunwen/1540790.html