支持网络的嵌入式视频编码系统的设计与实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着电子技术,信息技术和通讯技术的快速发展,以及互联网的广泛应用,3C (Computer, Communication, Consumer)合一的趋势己经形成,从而导致了计算机产业重心的转移,即从计算机产品转移到信息产品。特别是随着硬件技术的发展及人们对于信息产品网络化功能要求的提高,嵌入式系统及其应用也就成为这个行业的研究热点。同时,在计算机本身的领域里面,微型化和专业化是一个新的发展趋势,而它同样也需要嵌入式系统的支持。因此,对嵌入式系统及其在网络环境中应用技术的研究,就有着非常重要的实际意义。
     本论文在ADI公司生产的ADSP-BF537 EZ KIT Lite嵌入式开发平台上,分别针对嵌入式操作系统、支持网络功能的嵌入式TCP/IP协议栈和H.264视频编码算法在嵌入式平台的实现这三个关键技术展开研究,主要完成的工作包括:
     嵌入式实时操作系统μC/OS-II的功能分析与实现。μC/OS-II是由美国的Jean J.Labrosse编写的一个开源的嵌入式多任务实时操作系统。本文通过分析μC/OS-II的内核结构,结合嵌入式处理器的硬件架构,将其成功的移植到BF537处理器上。通过在嵌入式硬件平台引入实时操作系统,大大缩短了系统的开发周期,提高系统的扩展性。
     支持网路功能的嵌入式TCP/IP协议栈μIP的实现。随着互联网的高速发展,提供支持网络功能的嵌入式设备成为嵌入式系统研究的热点问题。本文通过分析嵌入式TCP/IP协议栈μIP的体系结构,接口技术及协议实现,设计开发了底层的驱动程序,并在此基础上实现了一个基于Web Server的视频点播系统。
     H.264/AVC视频编码器的移植与优化。作为下一代的视频编码标准,H.264/AVC大幅提高了编码器的编码效率,但其编码的复杂度也相应的增加。本文结合BF537芯片结构与H.264编码器自身特点,利用常用的嵌入式优化手段,在不降低编码质量的前提下,有效提升局部运算速度。
     实现网络视频点播与H.264视频编码这两个任务的并行处理。证明了网络环境下嵌入式操作系统的多任务处理能力,为下一步开发网络视频监控系统奠定了基础。
With the rapid development of electronic technology, computer technology and communication technology in this information age, it is clear that 3C (Computer, Communication and Consumer) will converge in the near future, which will shift the focus of Computer Industry from the Compute product to the Information product. Especially, with the improvement of hardware technology and the high demanding of information product supporting network, the embedded system and its application has become the hot spot in this field. At the same time, in the field of computer science itself, the micromation and specialization is the new developmental direction. It also needs the support of Embedded System. So, researching on the embedded system and application in network environment is of great practical significance.
     By means of ADSP-BF537 EZ KIT Lite embedded development platform, which is manufactured by Analog Device Inc, this paper focused on three aspects: embedded operation system, embedded TCP/IP protocol, and H.264 video coding algorithm in the embedded platform.The main completed work as following:
     The analysis and realization of embedded real-time operation system --μC/OS-II:μC/OS-II provided by Jean J.Labrosse of United States is an open-source embedded real-time multi-tasking operating system. This paper analysed the core structure ofμC/OS-II and the embedded processor hardware architecture in order to solve the problem on how to transplantμC/OS-II to embedded system successfully. Through porting the real-time operating system to the embedded platform, the development cycle can be greatly shorten and the system scalability can be improved in a large extent.
     The implementation of embedded TCP/IP protocol --μIP: With the high-speed development of the Internet, embedded devices which can be connected to the network, becomes the hot issue of the researching on embedded systems. This paper developed device driver based on analyzing the architecture, interface technology, and protocol implementation ofμIP in detail. In this case, a video-on-demand system is carried out on the basis of Web Server.
     The transplantation and optimization of H.264/AVC video encoder: As the next generation video coding standard, H.264/AVC substantially improved the efficiency of encoder, however, the complexity of coding increased in corresponding. According to the BF537 chip architecture and H.264 encoder characteristics, by means of common embedded optimization methods, this paper highly accelerated the local processing speed without lowering the quality of coding.
     Finally, video-on-demand and H.264 video encoding these two tasks could parallelly process in embedded system. It established the foundation for the development of network video monitoring system in the future.
引文
1. 沈连丰, 宋铁成, 叶芝慧. 嵌入式系统及其开发应用. 北京: 电子工业出版社, 2005: 1~8.
    2. 彭启琼, 李玉柏, 管庆. DSP 与实时数字信号处理. 北京: 电子科学大学出版社, 1995: 5~17.
    3. 彭启琼, 李玉柏. DSP 技术. 北京: 电子科技大学出版社, 1997: 3~9.
    4. 张雄伟, 曹铁勇. DSP 芯片的原理与开发应用(第二版). 北京: 电子工业出版社, 2000: 1~13.
    5. P. Lapsley, et al. DSP processor fundamentals, architectures and features. Berkeley Design Techology, 1996: 1~25.
    6. M.Bellanger. Digital Processing of Signals. New York: Wiley, 1989: 4~19.
    7. Lapslcy. et al. DSP Processor Fundamentals: Architectures and Features, IEEE Press, 1996: 5~8.
    8. R. C. Lyons. Understanding Digital Signal Processing, Addison Wesley, 1996: 12~23.
    9. W. Strauss, DSP Strategies 2000, Forward Concepts, 1999: 1~10.
    10. 张毅, 赵国锋. 嵌入式 Internet 的几种接入方式比较. 重庆邮电学院学报(自然科学). 2002, 04: 85-88.
    11. 张根源. 嵌入式系统与 Internet 技术. 微计算机信息; 2000, 03: 19-20.
    12. 邹云峰, 冯晔. 基于单片机的嵌入式系统接入互联网技术的研究. 河海大学常州分校学报, 2003, 17(1): 33-34.
    13. Analog Devices. Why Choose a Blackfin Processor? www.analog.com, 2007
    14. Analog Devices. Blackfin Processor Architecture Overview. www.analog.com, 2007
    15. 陈锋. Blackfin 系列 DSP 原理与系统设计. 北京: 电子工业出版社, 2004: 12~17.
    16. Analog Devices. Blackfin Processor Core Basics. www.analog.com, 2007.
    17. Analog Devices. ADSP-BF537 Blackfin Processor Hardware Reference. Analog Devices, Inc. 2005: 1-1~1-7.
    18. Analog Devices. ADSP-BF537 Blackfin Processor with Embedded Network Connectivity. www.analog.com, 2007.
    19. Analog Devices. EZ-KIT Lite for Analog Devices ADSP-BF537 Blackfin Processor. www.analog.com, 2007.
    20. Analog Devices. Getting Started with ADSP-BF537 EZ-KIT Lite. AnalogDevices, Inc. 2006: 1-2~1-15.
    21. Analog Devices. ADSP-BF537 EZ-KIT Lite Evaluation System Manual. Analog Devices, Inc. 2006: 1-12.
    22. Analog Devices. VisualDSP++ Development Software. www.analog.com, 2007.
    23. 任满杰, 刘树刚, 李红军. 操作系统原理实用教程. 北京: 电子工业出版社. 2006: 10~16.
    24. Alan Bum, Andy Wellings. Real-time systems and their programming language. New York, Addison-Weskey Publishing Company Inc, 1990: 2~20.
    25. 郭江鸿. 基于 μC/OS-II 的嵌入式系统. 太原理工大学硕士学位论文, 2004: 6~9.
    26. 任哲. 嵌入式实时操作系统 μC/OS-II 原理及应用. 北京: 北京航空航天大学出版社, 2005: 4~13.
    27. 任哲, 潘树林, 房红征. 嵌入式操作系统基础 μC/OS-II 和 Linux. 北京: 北京航空航天大学出版社, 2006: 54~62.
    28. Graham Wall. Book review: a real-time programmer's review of μC/OS-II. C/C++ Users Journal. 2001.
    29. Jean J. Labrosse. μC/OS-II The Real-Time Kernel Second Edtion. CmpBooks, 2003: 72~92, 116~128.
    30. Jean J. Labrosse. The 10-Minute Guide to RTOS. http://www.Micrium.com, 2001.
    31. 王铁勇, 侯明善, 吴盘龙. 嵌入式操作系统 μC/OS-II 的特点及应用. 控制工程. 2003, 10(1): 74~75.
    32. 张雪峰. 基于实时内核 μC/OS-II 的应用研究. 西南交通大学硕士论文. 2004: 7~21.
    33. 王劲松. 基于 DSP 和 μC/OS-II 的家庭智能网络控制器研究. 北方工业大学硕士论文. 2003: 13~21.
    34. 刘海峰, 刘百芬. 嵌入式操作系统 μC/OS-II 在 DSP 上的移植研究. 华东交通大学学报. 2006, 23(1): 106~108.
    35. 张晓. 嵌入式实时操作系统 μC/OS-II 的研究与应用. 大连海事大学硕士论文. 2006: 13~16.
    36. 丁国华, 胡荣强. μC/OS-II 的移植及其应用系统开发. 电子产品世界. 2003: 46~47.
    37. 赵少波, 聂景楠. 嵌入式实时操作系统在 DSP 上的移植与测试. 军事通信技术. 2006, 27(2): 39~42.
    38. 张永涛, 黄丹丹, 李欧. μIP 协议分析及其应用. 信息工程大学学报. 2006, 7(2): 147~149.
    39. Adam Dunkels. Minimal TCP/IP implementation with proxy support. Swedish Institute of Computer Science. 2001: 2~7.
    40. Adam Dunkels. Full TCP/IP for 8-Bit Architectures. http://www.sics.se/~adam/uip/index.php/Main_Page. MOBISYS, San Francisco, 2003.
    41. Adam Dunkels. The μIP TCP/IP Stack for Embedded Microcontrollers. http://www.sics.se/~adam/uip/index.php/Main_Page. 2006:4~6.
    42. Adam Dunkels. μIP- A Free Small TCP/IP Stack. Swedish Institute of Computer Science. 2002: 7~10.
    43. 古博. 基于 μC/OS-II 嵌入式 Web Server 的研究与实现. 大连理工大学硕士论文. 2005: 37~42.
    44. 张懿慧, 陈泉林. 源码公开的 TCP/IP 协议栈在远程监测中的应用. 单片机与嵌入式系统应用. 2004, (11): 61~64.
    45. 邹铁军, 张国利, 虞凌宏, 孙庆祥, 崔允红. 基于嵌入式 μIP 的网络服务器的实现. 电脑学习. 2005, (05): 17~19.
    46. Iain E, G. Richardson. H.264/MPEG-4 Part 10 White Paper. www.vcodex.com, 2003.
    47. 腾国伟. H264/AVC 实时编码系统及其相关算法的研究.上海大学博士学位论文. 2005: 41~42.
    48. Iain E.G.Richardson. H.264和MPEF-4视频压缩—新一代多媒体的视频编码技术. 长沙: 国防科技大学出版社, 2004: 165~168.
    49. Heiko S, Thomas W. The Emerging JVT/H.26L Video Coding Standard. Available. http://bs.hhi.de/~ Wiegand.
    50. 毕厚杰. 新一代视频压缩编码标准—H.264/AVC. 北京: 人民邮电出版社. 2005: 84~96.
    51. A. Joch, F. Kossentini, and P. Nasiopoulos, A Performance Analysis of the ITU-T Draft H.26L Video Coding Standard , 12th International Packet Video Workshop(PV 2002), Pittsburgh, PA, April, 2002.
    52. Thomas W, Gary J, Sullivan, et al. Overview of the H.264/AVC Video Coding Stand. IEEE trans. On Circuit Syst. Video Technol. 2003, 13(7): 560~576.
    53. Iain E.O.Richardson, H.264 and MPEG-4 Video Compression, John Wiley & Sons Inc., 2003: PP159-162.
    54. 佚名. H.264——新一代的视频编码标准. 中国多媒体视讯. 2002, 20(8):34~35
    55. 楼 剑 , 虞 露 . 新 一 代 的 视 频 编 解 码 标 准 - H.264. 当 代 通 信 . 2003, 13(5):27~32.
    56. 钟玉琢, 王琪, 贺玉文. 基于对象的多媒体数据压缩编码国家标准-MPEG-4及其校验模型. 北京: 科学出版社, 2000: 32~36
    57. Marpe D, Schwarz H, Blattermann G, et al. Context-based Adaptive Binary Arithmetic Coding in JVT/H.26L. Image Processing 2002 Proceedings. 2002, 9(2):513~516.
    58. Ye-Kui W, Miska M, Hannuksela, Viktor V. The Error Concealment Feature in the H.26L Test Model. Proc IEEE International Conference on Image Processing(ICIP’02), Rochester, USA, 2002, vol.2:729~732.
    59. Girod B, Flierl M. Multi-frame Motion-compensated Video Compression for the Digital set-top Box. Image Processing 2002 Proceedings. 2002, 9(2): 1~4
    60. ChanGa,Au O,Yeung Y. A Novel Approach to Fast Multi-Block Motion Estimation for H.264 Video Coding. IEEE ICME. 2003, vol.2:105~108.
    61. 李世平. H.264 三大开源编码器之评测报告. http://blog.csdn.net/sunshine1314/. 2005.
    62. 于培松. 基于 BLACKFIN533 的 H264/AVC 视频编码研究. 西安电子科技大学硕士学位论文. 2005: 42~45.
    63. 马银松. H.264 编码器的 DSP 实现与优化. 河海大学硕士学位论文. 2003: 30~31.
    64. Analog Device. ADSP-BF53x/BF56x Blackfin Processor Programming Reference. Analog Device, Inc. 2006: 18-36.
    65. 牛文章, 方同祝. 并行算法在系统仿真中的应用. 系统工程与电子技术. 1999, 21(9): 71~73.