摘要
目前,嵌入式视频监控系统已成为国内外视频监控系统应用的主流,但是在IPv4平台下存在地址不足、不能合理分配带宽、安全性能及移动性能差等诸多问题,而新一代IPv6协议不仅能很好的解决以上问题,而且还具有可以提高视频传输速度和传输质量等多方面的优点。如何使嵌入式视频监控系统与IPv6技术相结合是当前监控系统研究的一个重要方向。
本文通过分析IPv6嵌入式监控系统的研究现状及其实现方法,并结合单位应用实际,确定了采用具有TCP/IPv6网络协议栈的uClinux嵌入式实时操作系统,视频解压缩方面采用目前比较流行且成熟的MPEG-4技术,实现嵌入式视频监控系统在IPv6环境下的应用研究方案。
文章重点围绕对MPEG-4视频编码技术进行了讨论,提出了用于改进MPEG-4视频编码技术的一种运动估计的优先估计矢量分布概率算法;对MPEG-4视频实时传输的算法进行了改进;并将改进算法运用到IPv6环境下视频监控系统中。实验测试表明,采用改进算法和IPv6协议对提高视频监控系统的性能有比较好的效果。
论文介绍了IPv6网络视频监控涉及到的关键技术和概念,包括IPv6编程技术、网络传输技术、视频压缩技术、DirectShow技术等;阐述了MPEG-4视频编码技术及实时传输技术,提出了它们的改进算法;给出了IPv6环境下视频监控系统设计方案,从系统的硬件设计到软件总体结构设计进行了详细论述。论文重点研究了系统软件构架所采用的思想策略及实现,详细分析了RTP音视频传输系统实现策略和在DirectShow中的实现,给出了IPv6组播技术及安全策略的具体实现,最后给出了测试运行结果和结论。
本文提出的视频监控系统具有:①采用本文改进算法实现简单易行,可以提高MPEG-4视频编码效率10%到20%;②IPv6环境下监控系统运行更为稳定,传输速度更快;③IPv6协议对提高系统安全性有更好的保证。
At present, the embedded video surveillance system(EVSS) has become main-stream system that the video surveillance system(VSS) is applied at domestic and inter-national. But in IPv4 platform, it has many problems, such as addresses are shortage, bandwidth can't be allocated reasonably, safe function and move function are poor. On the other hand, the new generation protocol IPv6 which can not only be solved the above problems, but also can be increased the speed and quality of video transmission, and it also has other advantages. How to make the EVSS and IPv6 techniques combined together is an important researching direction on VSS at present.
In the paper, the analysis on present research condition and realizing method of the EVSS on IPv6 is made. On the base of practical application, TCP/IPv6 network proto-col stack is adopted to use in embedded real-time operating system(RTOS) of uClinux. MPEG-4, which is currently more popular and maturational technology, is adopted at video decompression/compression, EVSS in the IPv6 environment of application re-search project is realized.
In the dissertation, MPEG-4 video coding technology is discussed. An algorithm based on priority estimated vector distribution probability for motion estimation, which can improve the coding technique of the MPEG-4 video, is presented. An algorithm of MPEG-4 video real-time transport is proposed. And the algorithms are used on IPv6 environment VSS. The experimental results indicate that the improved algorithms and the application on IPv6 have a relatively good performance on VSS.
In the dissertation, the VSS on IPv6 network of key technologies and concepts, in-cluding IPv6 programming technology, network transport technology, video compres-sion technology, DirectShow technology etc, are introduced. The details of MPEG-4 video coding technology and real-time transporting technology are discussed, and the relative improved algorithms are presented. The design of the VSS in the IPv6 envi-ronment is proposed, the details of the hardware’s design and software architecture de-sign are introdued. The software architecture of the system, which are used in the reali-zation of the ideas and strategies, are focused. The strategies, which is to be achieved the RTP audio and video transmission system and to be realized using DirectShow, are analyzed. And the specific realizations of IPv6 Multicast technology and security strat-egy are presented. Finally, the test results and conclusions of the system are given.
The experimental results show that:①The improved algorithm is brief and easy to used, MPEG-4 video coding based on it can be improved efficiency by 10% to 20%.②The running of VSS under IPv6 environment is more stable and more rapidly to trans-port.③For improving the security of the system, the VSS on IPv6 is a better than on IPv4.
引文
[1] 袁野.基于嵌入式技术的网络视频监控系统通讯世界,2002(4),62-63
[2] 谢希仁.计算机网络.北京,电子工业出版社,2003.
[3] 朱爽.新一代互联网协议研究与实践.计算机工程与应用,2000(1):11-14
[4] 罗茜文.IPv6 的国内外发展现状.移动信息,2004(7): 53-57
[5] http://www.ipv6.net.cn
[6] 石小兰.嵌入式系统中 IPv6 协议栈的研究与实现.合肥工业大学硕士论文,2006(5).
[7] 张毅,赵国峰.嵌入式 Internet 的几种接入方式比较.重庆邮电学院学报,2002 年第 1 卷第 4 期.
[8] 周慧灿.数字视频的网络传输关键技术研究. 湖南大学硕士论文,2005(4).
[9] 王田苗.嵌入式系统设计与实例开发(第二版) .清华大学出版社,2003.
[10] 张连明,霍迎辉.嵌入式系统的设计与开发.国外电子元器件.2004,第 1 期.
[11] Steve Furber,田泽等译.ARM Soc 体系结构.北京航空航天大学出版社,2002.
[12] 李驹光,聂雪媛等.ARM 应用系统开发详解.北京:清华大学出版社,2004.
[13] 张晓林,崔迎炜等. 嵌入式系统设计与实践. 北京:北京航天航空大学出版社, 2006.
[14] 邹思轶.嵌入式 Linux 设计与应用.清华大学出版社,2002.
[15] 万相奎,丁建平等.嵌入式系统及其典型开发模式.重庆大学学报,2004,第 2 期.
[16] http://www.huawen.com.en/chinese/scheme/scheme 04.htm .MPEG 视频压缩标准介绍.
[17] Tan T.K. Report of the Adhoc Group on Software Integration and Verfication in MPEG-4 Video,Mar,1999.
[18] 马小虎,张明敏等.多媒体数据压缩标准及实现.清华大学出版社,1996.
[19] 黎洪松.数字视频技术及其应用. 清华大学出版社,1998.
[20] 熊桂喜,王小虎 译.计算机网络(第 3 版) . 清华大学出版社,1998 年 7 月.
[21] 杨合庆 译.Windows 网络编程.清华大学出版社,2002 年 10 月第 2 版.
[22] Schulzrin H etal. RTP:A Transport Protocol for Real-Time Aplication.Internet RFC1889,1996.
[23] Steinmetz R. Multimedia: Computing, Communication & Application.Prentice Hall,1995.
[24] Braden R etal.Resource Reservation Protocol (RSVP)-Version1 Functional Specification, September 1997.
[25] 单品,魏明亮等.组播技术在实时视频传输系统中的应用及其实现.计算机科学,2000 vo127.
[26] 唐岚,张学智.IP 组播通信机制及相关问题的研究.西安工业学院学报,2000 年第 9 期.
[27] Ben Ezzell.陈辉等译.Windows2000 环境下 Visual C++编程从入门到精通.电子工业出版社,2001.
[28] 陈坚,陈伟等.Visual C++网络高级编程.人民邮电出版社,2001.
[29] 冯哗,冯忠义,曹宁.基于 Socket 网络编程接口实现局域网上视频传输的应用研究.微计算机信息.1998,第 5 期.
[30] 陆其明.DirectShow 编程指南.清华大学出版社,2003.
[31] 陆其明.DirectShow 实务精选.北京科海电子出版社,2004.
[32] 万俊青.MPEG-4 视频编码器算法研究及优化.浙江大学硕士论文,2005(3).
[33] 钟玉琢,王琪,贺玉文.基于对象的多媒体数据压缩编码国际标准—MPEG4 及其校验模型.科学出版社,2000.
[34] 原岛博,薛培鼎.图像信息压缩.北京:科学出版社,2004.
[35] 乔月圆,冯贵良,兰安怡.运动估计块匹配算法分析与研究.河北北方学院学报(自然科学版),2006 年 03 期.
[36] 魏忠义,刘屹,王燕.基于 ARM 的 MPEG-4 视频编码器. 计算机工程与应用, 2005(22).
[37] LEE L,WANG J,LEE J,etal.Dynamic search_window adjustment and interlaced search for block_matching algorithm . IEEE TransCircuits and Systems forVideoTechnology,1993,3(1): 85-87
[38] 李嵩.视频压缩传输及其信号处理.西安:西安交通大学,2003.
[40] LIR,ZENG B,LIOUM L. A new three-step search algorithm for block motion estimation . IEEE Trans Circuits and Systems for Video Technology,1994,4(4):438-442
[41] 李炜,乐立鸾,李波.基于起点预测和 SAD 分布的快速运动估计算法.计算机学报, 2001,24(10):1110-1114
[42] 谭什勇,戴琼海,陈慧蓉.MPEG4 视频的实时传输.计算机土程,2001,27(11):141-142,179.
[43] 剑董振亚,张拥军.基于 RTP 的 MPEG-4 视频传输.计算机应用研究,2003.
[44] 杨宗长.兼容 IPv4 及 IPv6 的网络程序设计.微型机与应用,2003,12.
[45] 张云勇,刘韵洁,张智江.基于 IPv6 的下一代互联网.北京:电子工业出版社,2004.
[46] 沙斐等译.IPv6 详解.北京: 机械工业出版社,2000 年 4 月.
[47] 段刚.加密与解密.电子工业出版社,2005 年 3 月第 2 版.