基于ARM的嵌入式视频服务器设计与实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
视频监控系统是一种先进的、防范能力强的综合系统。它通过遥控摄像机及其辅助设备(镜头、云台等)直接观看被监控场所的一切情况,同时可以把监控场所的图像内容传送到监控中心,进行实时远程监控。随着计算机、网络以及图像处理、传输技术的迅猛发展,视频监控技术也得到飞速发展,视频监控进入了全数字化的网络时代,传统的模拟视频监控系统和基于PC机的数字视频监控系统已不能满足现代社会发展的需要,基于嵌入式技术的网络视频监控系统成为视频监控系统发展的新趋势,具有广阔的应用前景和实用价值。
     本文在总结分析前人研究成果的基础上,深入系统地研究了基于ARM和Linux的嵌入式系统开发技术,给出了基于ARM的嵌入式视频服务器的总体设计方案和功能规划,包括硬件结构和软件结构,基于B/S(Browser/Server)服务机制的客户端软件设计大大降低了客户端的软硬件要求。然后,介绍了嵌入式Linux交叉编译环境的搭建和嵌入式软件的开发过程,通过BootLoader的配置烧写和Linux内核的移植编译,搭建了嵌入式视频服务器运行开发的软件平台。最后详细分析了嵌入式视频服务器软件部分各个功能模块的设计思路及其关键代码实现,用Linux video4linux APIs实现了视频图像的采集,视频数据网络传输采用了基于UDP协议的IP组播方式,而视频图像显示模块则采用了自行设计实现的基于IPicture COM接口的ActiveX控件,便于维护、更新和升级。
     本文设计的基于ARM的嵌入式视频服务器安装设置方便,远程客户端用户通过IE浏览器可直接访问服务器,实时视频图像传输流畅,无明显抖动,具有良好的稳定性、较高的性价比和一定的实用价值。
Video monitor system is an advanced、powerful prevention integrated system,it directly watches all the circumstances of place under surveillance with the camera and its supporting equipment(lens, Yuntai, etc.), and at the same time it can sends these image contents to the monitoring center for real-time remote monitoring. With the rapid development of technology of computer、networks and image processing、transmission, video monitor technology also develops rapidly, video monitor has entered the digital network era, so that traditional analog video monitor system and PC-based digital video monitor system has been unable to meet the needs of modern society, so network video monitoring system based on embedded technology become a new trend of video monitor system, which has broad application prospects and practical value.
     On the basis of analyzing previous research achievements, the paper systematically and in-depth studies the technology of embedded system development, and presents the overall design solution and function planning of embedded video server based on ARM, including hardware and software architecture, and the design of client software based on B/S(Browser/ Server)server mechanism significantly reduces the hardware and software requirement of the client. Then establishment of embedded Linux cross-compiler environment and development process of embedded software are introduced. We set up the software platform of embedded video server development, by doing configuration and writing of BootLoader and transplantation and compile of Linux kernel. At last, the design idea and key code implementation of every functional module of embedded video server software department are analyzed in detail, the acquisition of video image is accomplished with Linux video4linux APIs, the method of IP multicast based on UDP protocol is adopted in video data transmission, and the modules of video images show uses a self-designed and implemented ActiveX control based on IPicture COM interface, which is easy to maintain, update and upgrade.
     The embedded video server based on ARM designed in this paper has such characteristics as convenient installation, remote client users can directly access server through IE, real-time video image transmits fluent, no evidence jitter, has good stability, higher cost-effective and practical value.
引文
[1]刘富强.数字视频监控系统开发及应用[M].北京:机械工业出版社,2003.1-2.
    [2]视频监控系统[EB/OL]. http://www.capturar.com.cn/cava.html
    [3]夏惊涛,卢娜,穆道生.视频监控系统浅析[J].兵工自动化,2003(2):84-85.
    [4]许维超,宋春宁,胡桂明.嵌入式网络视频监控服务器的研究与设计[J].电视技术,2004(10):86-88.
    [5]马姗姗,钱建生,程德强.基于H.264的远程视频监控系统的设计与实现[J].电视技术,2004(6):77-79.
    [6]Real Time Streaming Protocol[S].RFC2326,1998
    [7]万加富,张文雯,张占松.网络监控系统原理与应用[M].北京:机械工业出版社,2003.2-3.
    [8]2005年国内外视频监控业务市场研究报告[EB/OL].2005-06
    [9]吴明晖.基于ARM的嵌入式系统开发与应用[M].北京:人民邮电出版社,2004.1-2
    [10]ARM嵌入式教学实践教程[M/CD].武汉创维特信息技术有限公司,2004.1-2
    [11]陈章龙.嵌入式系统-Intel StrongARM结构与开发[M].北京:北京航空航天大学出版社,2002:17-18
    [12]马忠梅,马广云,徐英慧等.ARM嵌入式处理器结构与应用基础[M].北京:北京航空航天大学出版社,2002.18-19
    [13]孙琼.嵌入式Linux应用程序开发详解[M].北京:人民邮电出版社,2006.113-114
    [14]李善平,刘文峰,王焕龙.Linux与嵌入式系统(第二版)[M].北京:清华大学出版社,2006.33-34
    [15]李炜峰.基于ARM9的嵌入式Linux驱动程序开发与应用[D].[硕士学位论文].天津:中国民航大学.2007
    [16]赵炯.Linux内核完全剖析[M].北京:机械工业出版社,2006.142-143
    [17]吴明晖.基于ARM的嵌入式系统开发与应用[M].北京:人民邮电出版社,2004.206-207
    [18]Alessandro Rubini,Jonathan Corbet.Linux Device Drivers,2nd Edition [M], O'Reilly, 2001
    [19]SBC-2410X使用手册Version0.9[M/CD].广州友善之臂科技有限公司,2004
    [20]S3C2410A 32-BIT RISC MICROPROCESSOR USER'S MANUAL Revision 1.2 [M/CD].Samsung Electronics,1-4
    [21]ZC0301 Preliminary Data Sheet[M/CD].Vimicro Corporation,2002
    [22]彭小桢,郝福珍等.基于B/S的视频监控系统客户端的设计与实现[J].计算机工程与应用,2007,43(24):208-211
    [23]白伟平等.基于ARM的嵌入式BootLoader浅析[J].微计算机信息,2006,4-2:99-100
    [24]夏靖波等.嵌入式系统原理与开发[M].西安电子科技大学出版社.2006.119-120
    [25]孙天泽,袁文菊等.嵌入式设计及Linux驱动开发指南[M].北京:电子工业出版社,2006.96-97
    [26]陈俊宏.Embedded Linux嵌入式系统原理与实务[M].北京:中国铁道出版社,2004.184-185
    [27]Lingzhi_Shi.基于video4linux的视频设备编程[EB/OL]. http://202.38.64.185 /seminar/040409/v4l.ppt
    [28]Video4Linux Kernel API Reference v0.1[EB/OL]. http://linux.bytesex.org/ v4l2/API.html,1999
    [29]基于video4linux的USB摄像头图像采集实现.[EB/OL]. http://www.hhcn.org /maindoc/USB_Camera_base_on_Video4Linux.pdf
    [30]LARRY DOOLITTLE,JON NELSON.Boa Webserver[EB/OL]. http://www.boa.org,2000.
    [31]王军,吕海宝.基于UDP协议的视频图像传输的研究与实现[J].现代计算机,2002,(147):18-20
    [32]陈迪勇,赵伟.音视频远程监控系统的数据传输策略[J].武汉工业学院学报,2005,24(3):54-57
    [33]TCP/IP协议和IP组播的视频传输[ EB/OL]. http://www.lmtw.com/tech/ technical/200506/9442.html
    [34]Warren W.Gay.Linux Socket Programming by Example[M].Indianapolis:Macmillan Computer Pub,2000:303-310
    [35]雷建忠,霍滨焱等.一种显示JPEG和GIF格式图像的简便方法及实现[J].应用科技,2005,32(3):55-56
    [36]刘显荣.用VC++实现数据库中图片的存取与显示[J].计算机应用研究,2005(5):163-165
    [37]夏惊涛,穆道生.基于ActiveX控件的视频监控系统客户端编程[J].广播与电视技术,2006(1):85-87
    [38]David J.Kruglinski,Scot Wingo, George Shepherd.Programming Visual C++ 6.0技术内幕(第五版)[M].北京:北京希望电子出版社,1999.157-158
    [39]孙鑫,余安萍.VC++深入理解[M].北京:电子工业出版社,2006.662-666

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700