Design and Implementation of Embedded IPv6 VOD Terminal Based on XScale and Linux

Author
YiZhiDong
Advisor
ZhaoXiaoZuo
School
Jilin University
Major
Communication and Information System
Classification
TN948.64 Video on Demand System
Degree
Master's thesis
Year
2006
Downloads
215
Citations
4

Request the full text

Abstract

In recent years, with the rapid development of the machine, network andmultimedia technology, more and more products related with network video areapplied such as video on demand (VOD) system, videoconferencing system, videosurveillance system, tele-education and telemedicine system. VOD system iscomposed of media server and terminal. The media server provides VOD service tothe terminal through IP networks. Traditional VOD terminals are designed based onPC. Applications are developed based on the operating system of PC in order toimplement network communication, decoding and broadcast of audio and video.An embedded system consists of an embedded processor and an embeddedoperating system. Embedded operating system runs on embedded processor, it candispatch all tasks and manage the processor and other hardware devices of bottomlayer. Embedded operating system shields the bottom details, affording unifiedprogramming interfaces for users. In this way, user can carry out development inthe application layer, which greatly simplifies the process of application design anddevelopment and enhances the development efficiency.Powerful embedded processor (such as Intel XScale PXA255) and excellentembedded operating system (such as Linux) have been developed successively,which makes the application of embedded system more and more widespread,especially in the area of consumer electronic products. More convenient networktransmission, more media formats, smaller size, greater storage capacity and richerexpanding functions are the pursuits of consumer electronic products. According tothese requirements, embedded VOD terminal is studied in the paper. An IPv6 VODterminal based on XScale and Linux is designed and implemented finally.The terminal is designed based on Intel XScale PXA255 and Linux 2.6.14. Tobetter meet the real-time requirements of streaming media transmitting, theterminal adopts IPv6 protocol stack, which can additionally provide expandedspace for the development of mobile terminals. Adopting RTSP and RTP asnetwork transmission protocol, the terminal supports ASF format with MPEG-4video coding and MPEG audio coding.After allocating suitable IPv6 address for the terminal, user can input the URLaddress of the streaming media file he wants. The streaming media player of theterminal parses the URL address, and later connects to the streaming media serverto archive VOD. The terminal also supports local broadcast and documentmanagement. When a local broadcast mode adopted, the terminal supports mediafile using video coding such as MPEG-1, MPEG-2, MPEG-4, H.263 and etc, andalso supports some common audio file format such as MP3, WAV and etc.The process of the terminal design and realization can be divided into thefollowing steps.(1) Using Intel XScale PXA255 processor, CS8900A, CS4297A, ADS7843,FLASH, SDRAM, LCD, touch screen, expanded IDE interface to designhardware circuit and ultimately the hardware platform of the terminal isimplemented. Intel XScale PXA255 is a high-performance ARM processorintroduced by Intel Corporation, it supports virtual memory management withMMU. The highest working frequency can be up to 400MHz。CS8900A is a10Mbps Ethernet controller used for network communication. CS4297A is anaudio codec and used for audio recording and playing. ADS7843 is used toconvert the current signal coming from touch screen for positioning. LCDcarries out display of the terminal. IDE interface realizes high-capacity datastorage. Terminal uses Flash memory (E28F128J3A) of 32M bytes andSDRAM (K4S281632C) of 64M bytes to storage data, and also affords spacefor running programs.(2) U-boot 1.1.2 is ported as boot loader of the terminal. Linux 2.6.14 is also portedto the hardware platform. According to hardware interface and time sequencing,drivers of every external reference are modified and finally finished based onactual hardware circuit. By planning flow of the system booting,cross-compiling corresponding dynamic libraries and writing the booting script,a file system with JFFS2 format is realized ultimately. Tiny-X iscross-compiled as GUI of the terminal. Dual protocol stacks including IPv4 andIPv6 are supported by Linux kernel. IPv6 protocol is used to transmit streamingmedia as a protocol in transmission layer. API functions and data structuresindependent to IP version are used to design programs.(3) Applications related with transmission of streaming media are designed.According to than standard about session of RTSP, the class named RTSPClientis implemented to send streaming media server commands such as OPTION,DESCRIBES, SETUP, PLAY, TEAR DOWN and etc. When a VOD session isactivated, the RTSPClient object is required to establish connections withstreaming media server, and then starts two RTP sessions with four differentports. One RTP receives real time video stream and resolves the data packetsreceived, the other takes charge real time audio stream. RTP sessions aredeveloped based on standard JRTPLIB library.(4) Applications related with decoding and broadcast of streaming media aredesigned. Four threads and three buffers are used in the programs. Each threadtakes charge the following task: receiving RTP video stream, receiving RTPaudio stream, synchronizing the video and audio packets, decoding andbroadcast the video and audio data. The three buffers are used to storage RTPdata of video, RTP data of audio and synchronized data of audio and video.Two memory blocks are allocated by the thread charging for decoding andbroadcast. One block is used to storage the audio and video data waiting fordecoding, the other block is used to storage the decoded data of audio and video.Design of the terminal is mainly aimed at Streaming media file format of ASF,which uses MPEG-4 video coding and MPEG audio coding. FFMPEG librariesare used to parse file format of ASF and decode audio and video data. SDLlibraries are used to drive the frame buffer and audio device. A timer with cycleof 40ms is used in the main routine. A frame of video data and synchronizedaudio data are decoded and broadcasted when each event of the timer arrives.Function testing is carried out with a standard streaming media server in IPv6network. Result indicates that the terminal can receive, decode and play ASF filepersistently. Video streaming is played smoothly and the audio streaming issynchronized favourably. The terminal can be expanded both on software andhardware in order to be applied in videoconference, video surveillance and etc.

Table of contents

The first chapter 8-11 1.1 Background and significance 8-9 In this paper, the main research content 1.2 9-10 1.3 papers structure 10-11 overview of the ARM and Linux-based embedded systems 11-24 2.1 embedded systems 11-13 <br / > the 2.1.1 embedded systems concept and development 11-12 the 2.1.2 embedded systems characteristics nbsp the; 12-13 2.2 embedded system hardware the the 2.2.1 embedded system hardware components 13-17 overview 13-14 the 2.2.2 embedded microprocessor ARM architecture 14-17 <br / > 2.3 embedded systems software 17-22 2.3.1 boot loader (boot loader) 18 2.3.2 embedded operating system Linux 18-20 2.3.3 Embedded Linux file system JFFS2 20-21 2.3.4 Embedded user interface Introduction nbsp to; 21-22 2.4 establish Embedded Development Environment 22-24 Chapter compression of video and audio transmission technology 24-39 3.1 video compression coding technology 24-27 < br /> 3.1.1 MPEG video compression algorithm 24-26 3.1.2 H.26x video compression algorithm nbsp are; 26-27 3.2 audio compression coding technology 27-28 3.3 streaming media technology 28-33 the 3.3.1 stream media transmission nbsp the; 29-30 3.3.2 Streaming Media Transfer Protocol 30-31 the 3.3.3 media file format 31-33 3.4 IPv6 protocol 33-39 3.4.1 IPv6 protocol basic principles outlined 33-36 3.4.2 IPv6 protocol advantages in terms of quality of service and mobility 36-38 3.4.3 Linux the IPv6 application design 38 - 39 Chapter terminal system planning and hardware design 39-58 4.1 system overall planning 39-41 4.2 Intel XScale PXA255 processor structure the structural characteristics 41-46 4.2.1 Intel XScale PXA255 41-44 4.2.2 Intel XScale PXA255 the interrupt controller works 44-46 of 4.3 an IPv6 VOD terminal circuit design 46-54 4.3.1 memory interface circuit 46-48 4.3.2 the CS8900A interface circuit 48-49 4.3.3 LCD interface circuit 49-50 4.3.4 CS4297A, interface circuit the 4.3.5 ADS7843, 50-52 interface circuit 52 < br /> 4.3.6 IDE interface circuit 52-53 4.3.7 power and reset circuit 53-54 4.4 terminal the transplant system software 54 - 58 4.4.1 U-boot1.1.2 Tiny-X window transplant 54-55 4.4.2 Linux2.6.14, kernel transplant 55-56 the 4.4.3 drivers transplant 56-58 Chapter the embedded IPv6 VOD terminal software design and realization 58-73 5.1 MPEG-4 video encoding and transmission technology details 58-64 5.1.1 MPEG-4 video object coding stream structure the 58-61 5.1.2 MPEG-4 yards streams RTP packet payload format 61-64 5.2 ASF data stream format parsing 64-67 5.3 Software Design and Implementation 67-71 5.3.1 software overall process design 67-68 5.3.2 software thread design 68-69 5.3.3 software implementation details 69-71 5.4 actual operating results 71-73 Chapter Summary and Outlook 73-75 6.1 summarizes 73 6.2 perfect and Prospects 73-75 Reference 75-78 Chinese Abstract 78-81 English Summary 81-84 Acknowledgements 84-85 instructor and author 85

Related dissertations

  1. Realization and Application of IPv6Protocol Stack Based on WLAN
    Sun ·WRI ·2014 ·Master's thesis
  2. Research and Design on BACnet and IPv6for Intelligent Buildings Networking
  3. Design and Implementation of Hybrid VPN Networking Formula Based on IPv6in Linux
  4. Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
    PanZuoZuo ·Dalian Polytechnic University ·2010 ·Master's thesis
  5. Research and Design of Embedded Building Security System
    YangChen ·Liaoning Normal University ·2012 ·Master's thesis
  6. The Softeware Design and Implement on Integrated Intelligent Camera Platform Based on Davinci DM6446
  7. The Research of Household Remote Monitoring Based on Embedded Web Server
  8. Research and Design of Intelligent Video Surveillance System Based on ARM
  9. Design of Video Monitoring System Based on the Embedded
  10. The Design of Embedded Network Video Surveillance System Based on ARM9
  11. Design and Application of the Distributed Monitoring System Based on Embedded Web
  12. Study on Embedded Data Acquisition System Application
    ZhangDong ·Dalian Polytechnic University ·2009 ·Master's thesis
  13. Embedded Software Design of AC Field Detection Instrument Based on ARM
  14. Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
    SunZuoLi ·Hunan University ·2013 ·Master's thesis
  15. Based on the Samsung2440Embedded Home Furnishing Design and Implementation of Intelligent Control System
  16. Design of Industrial Ethernet Motion Controller Based on ARM
  17. Research on Pulsating Vacuum Pressure Steam Sterilization Control System Based on ARM
    FuAiJun ·Nanchang University of Aeronautics and ·2013 ·Master's thesis
  18. The software design of intelligent control Home Furnishing gateway based on ARM11
    ZuoPengZuo ·Northwestern University ·2013 ·Master's thesis
  19. The System Design and Implementation of Smart Home Control Terminal Based on Linux
  20. Movement Gait Control Research of Six Feet Bionic Robot
    XuShuai ·Ningxia University ·2013 ·Master's thesis