基于Linux的DVD视频实时刻录系统的软件设计
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着我国公共基础设施建设的快速发展,人们对于安全防范意识的加强,这使得视频监控产品得到了广泛的应用和快速的发展。视频监控产品通常应具备长时间、连续的视频采集及数据存储能力,因此大量视频数据的存储成为视频监控产品中的一个急需解决的问题。本文将光存储技术与实时刻录技术相结合,提出一种运用在视频监控产品中的视频数据实时存储设计方案。本设计将光存储介质作为视频数据的存储载体,解决了传统使用硬盘进行视频数据存储所带来的成本高、视频数据备份时间短等不足。
     本设计将DVD视频实时刻录技术应用在嵌入式安防监控系统中。首先对DVD光盘的物理及数据结构、嵌入式操作系统的框架及特点、Mpeg-2编码理论、网络传输协议等与本系统相关的理论进行了分析与阐述。在此基础之上根据视频监控系统中对于视频数据实时性的要求,提出了DVD视频实时刻录系统的软件与硬件设计方案。通过对多种硬件方案的比较,最终选择DSP与ARM双处理器的硬件设计方案,并对相关硬件设备的性能进行了介绍。本文重点介绍系统软件的设计与实现方法,分别从标准DVD码流的分析与生成、UDF文件系统的分析与使用、视频数据网络传输方式的实现、DVD刻录光驱驱动程序的实现、实时刻录控制程序的设计进行了重点叙述,并首先将这五个功能模块与视频监控系统中的技术特点相结合,对原有技术进行裁剪与改进。然后在Linux系统环境下对这五个功能模块分别进行了调试,并将各部分的功能程序进行整合。最后将整合后的程序拷入到数字视频刻录机中进行整体的运行与测试。
     测试结果表明:本设计基本可以满足视频监控系统中对于视频数据实时存储的要求。如果使用数据容量为4.7G的DVD光盘进行视频数据的存储,一张DVD光盘可以连续存储6~7小时的监控视频数据。刻录后的DVD光盘具有较好的播放兼容性。本设计基本达到了降低视频监控设备的生产成本、提高视频监控产品的使用范围、延长视频数据的备份时间等预期的设计目标,同时表明本设计具有很好的市场前景和应用价值。
With the rapid development of China's public infrastructure construction, People's safety awareness is strengthening, which makes video surveillance products have a widely application and fast development. Video monitoring products usually should have the capacity of a long time, continuous video sampling and data storage. Therefore large video data storage become an urgent problem needed to resolve in the filed of video monitor products. In this paper, combined light storage technology with real-time recording technology, we present a new solution for real-time video data storage. This design use optical storage medium as the main video data storage medium, solve the traditional deficiency of using hard drive for video data storage such as high cost, short time video data backup, etc.
     In this paper, real-time DVD video recording technology was applied to embedded security monitoring system. Firstly, correlation theory about this system was analyzed, which include DVD physical and data structure, framework and features of embedded operating system, coding theory about Mpeg-2, network transport protocols, etc. On this basis, according to the video data requirement of real-time in video monitoring system, proposed real-time DVD video recording system software and hardware design. Then ultimately choose a design proposal of both DSP and ARM double processor after the comparison of various hardware solutions, in addition, the performance of related hardware equipment was introduced also. This paper mainly introduces the design and implementation method of software system. It is discussed on detail through five aspects which are analysis and generate of standard DVD streaming, UDF file system analysis and use, the implementation of video data network transmission mode, the implementation of DVD burner drivers, design of real-time recording control program. And combine the five function modules with technical characteristics of video monitoring system first, change the original technology better by cutting and improvement. Then in the Linux system environment,these five modules were debugged respectively, and the function program of these five parts were integrated also. Finally, the integrated program was burned into digital video recorder to be run and tested holistically.
     Test results show that: This design can basically satisfy the requirements of real-time video data storage for the video monitoring system. A DVD can continuously store up to 6 ~ 7 of hours surveillance video data if use 4.7 G. capacity of DVD. The burned DVD has good play compatibility. This design has substantially achieved expected targets, reduced the production cost of video monitoring equipment, improved usable range of video monitoring product, extend video data backup time. Beyond that, this design has the very good market prospect and application value.
引文
[1] DVD光盘_百度文库,http://wenku.baidu.com/view/dd8181bff121dd36a32d82a0.html
    [2]张延水.浅谈蓝光刻录技术.科技信息,2008,1(173):1~3
    [3]彭小桢,郝福珍等.基于B/S的视频监控系统客户端的设计与实现.计算机工程与应用,2007,43(24):208~212
    [4]刘富强.数字视频监控系统开发与应用.北京:机械工业出版社,2003.1~31
    [5]邓林,基于嵌入式的数字视频监控系统设计:[学位论文].武汉:华中科技大学,2008
    [6]罗勇华.监控技术发展趋势及衍生的新需要.安防科技,2006,11(2):12~13
    [7] Belaidi Na, Cuénod CAa. Du CD au DVD: les supports mémoire non magnétiq RBM- Revue Europeenne de Technologie Biomedicale, 1997, 19(3): 113~115
    [8]王海卫,夏又新.光海量存储的现状及发展趋势.半导体光电,2002,23(5):351~360
    [9]刘新明,刘文胜,蒋大宗.高密度光盘技术的进展.光学技术,199,7(2):44~46
    [10]Huang Leia, Gong Malia, Jia Weipua. Movement interferences analysis for objective lens actuator in optical disc system. Sensors and Actuators A: Physical, 2002, 102(1): 19~30
    [11]Hofmann, Holger, Dambach, Soren, Richter, Hartmut. Blue laser phase change recording system. Journal of Magnetism and Magnetic Materials, 2002, 249(3): 499~503
    [12] Purvis, Gail.MBE springs blue-violet laser diodes. Euro III-Vs Review, 2004, 17(2): 33~43
    [13]刘宪坤.MPEG2视频压缩技术.电子世界,1998,12(5):1~3
    [14]何立民.嵌入式系统定义与发展历史.单片机与嵌入式系统应用,2004,1(1):1~4
    [15] Hutton, Alana. The embedded superscalar revolution. Microelectronics Journal, 1998 , 29(8): 547~551
    [16] Wayne Wolf.嵌入式计算系统设计原理.北京:机械工业出版社,2002.1~6
    [17]吕京建,肖海桥.面向21世纪的嵌入式系统.半导体技术,2001,26(1):1~3
    [18]吕潇超.数字视频监控系统研究与实现:[学位论文].西安:西北工业大,2007
    [19] Keneth D.Reed.TCP/IP基础.北京:电子工业出版社,2002.107~132
    [20] Texas Instruments Incorporated. TMS320DM642 Video/Imaging Fixed-Point Digital Signal Processor, 2005. 1~178.
    [21] Texas Instruments. TMS320DM642 datasheet, Literature Number:SPRS200L. July 2002 Revised January 2007. 20~28
    [22] Texas Instruments. TMS320C6000 DSP Cache User’s Guide. pdf. http://www.ti.com/
    [23]马忠梅,马广云,徐英慧.ARM嵌入式处理器结构与应用基础.北京:北京航空航天大学出版社,2002.175~198
    [24] Graham Sharpless. DVD-video Format & Features. DisctronicesManufacturing(UK)Ltd. 2002,9(2): 5~7
    [25]黎文,李蜀雄,朱维乐.用于DVD的MPEG2实时解码器研制.信号处理,2000,16(2) :145~146
    [26]佳一.DVD导引控制系统.电声控制.2002,4(1):41~42
    [27]刘军.嵌入式网络刻录系统的研究与实现:[学位论文].武汉:华中科技大学,2004
    [28] Behrouz A. TCP/IP协议族.北京:清华大学出版社,2003.176~188
    [29] Wenji Wu, Matt Crawford, Mark Bowde. The Performance Analysis of Linux Netwok- ing Packet receiving. Cmoputer Commnunications, 2007, 30(2): 1044~1057
    [30]毛德操,胡希明.Linux内核源代码情景分析.杭州:浙江大学出版社,2003.203~215
    [31] M. Tim Jones. TCP/IP Application Layer Protocol for Embedded Systems.Charles River Publishing, 2002. 361~392
    [32]龚正虎.现代TCP/IP网络原理与技术.北京:国防工业出版社, 2002. 316~320
    [33]李浩.基于ARM9的视频监控系统的研究: [学位论文].无锡:江南大学,2009
    [34] David A, Rusling. Linux编程白皮书.北京:机械工业出版社,2000.173~202
    [35]刘淼.嵌入式系统接口设计与Linux驱动程序开发.北京:北京航空航天大学出版社, 2006.157~172
    [36]季志均,马文丽,陈虎.四种嵌入式实时操作系统关键技术分析.计算机应用研究,2005,1(9):4~8

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

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

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