基于嵌入式ARM的远程视频监控.doc
文本预览下载声明
中国科学技术大学
工程硕士工程实践论文
摘 要
随着科技的进步,视频监控系统正在向嵌入式、数字化、网络化方向发展。嵌入式视频监控系统充分利用大规模集成电路和网络的科技成果,实现了体积小巧、性郁稳定、通讯便利的监控产品。本文以S3C2410为核心硬件平台开发了基于嵌入式的远程视频监控系统,并对关键技术进行了论述和研究。首先给出了系统总体软硬件设计方案,针对本系统硬件对vivi进行了修改和移植,对编译和移植Linux内核以及制作cramfs文件系统也做了深入的研究,重点讨论了在嵌入式Linux操作系统下利用linux提供的 Video4LinuxAPI函数实现视频数据采集和Webcam-Server的工作原理,接着介绍了在Linux下基于TCP/IP协议的Sockct编程,实现了视频数据的网络发送。最后着重论述了嵌入式Web服务器的设计,编写了视频监控主界面程序,并实现了基于B/S模式的视频监控系统结构。本系统采用模块化设计方法,使得设计更加简洁、高效,具有良好的扩展性和易用性,有利于系统升级。另外采用嵌入式的方法,系统成本较低,易于推广使用。
关键词:ARM 嵌入式Linux USB 摄像头 video4Linux 嵌入式web服务器
ABSTRACT
With the development of technology, the video surveillance system is developing to the direction of embedded, digital, and networked. The embedded of video monitoring system makes full use of large-scale integrated circuits and scientific and technological achievements of network, realizing compactable, stable, convenient monitoring products.
In this paper, the embedded of remote video monitor system based on S3C2410 of core hardware platform has been successfully developed, and the key technologies have been researched and discussed. Firstly, the overall hardware and software system design are given; vivi has been modified and transplanted for the hardware. The transplantation of the compiler and production of Linux kernel, file system of Cramfs also be studied in detail. It is focused on gathering video data used Video4Linux API function and Webcam-Server works under the embedded Linux operating system. Secondly, the technology of video motion detection which used the background difference method is researched, video data compression which used MJPEG algorithm is implement, and then the video data which based on TCP/IP protocol of the socket programming sent over in the network. Finally, the paper focuses on the realization of the embedded Web server design, compiling the home page program of video surveillance, implementing the structure of the monitoring system based on B/S model.
The modular design approach is used in the syst
显示全部