The Software Design of Embedded Network Multichannel Audio-Video Server
- Author
- ZhangPeng
- Advisor
- WangShiGang
- School
- Jilin University
- Major
- Communication and Information System
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 225
- Citations
- 1
Abstract
1. IntroductionThe Multimedia Surveilance System is an interdisciplinary application field emerging research areas such as multimedia data processing, networking, computer vision, artificial intelligence, etc. With the rapid development of computer science technologies, the MSS itself progresses greatly. The first generation of MSS is constructed on tape-based platform and processes analog-signals mainly. Now, the latest MSS is transplanted to computer-based platform and concentrates on digital signals primarily.As the development of Internet, especially the mobile communication and the multimedia realtime communication, people bring forward a more high request. IPv4 emerged many shortcomings. IPv6 inherit the advancement of IPv4, and according to the experience come from IPv4, IPv6 made a great extent modification and function enlargement, it now has a far more powerful function than IPv4.Thus, if we combine the Multimedia Surveilance System and the IPv6 technology, it must have a bright future of application and society value.2. The solution of multichannel MPEG-4 embedded network surveilance systemIn this thesis, we will present a brand-new solution for MSS which using MPEG4 video compression technology and embedded technology. This system is composed of server part and surveilance part. The server part collects the data, transforms it, compression coding and transmits, and manages the interaction with the surveilance part.The surveilance part receives the data, decodes and displays it, stores the data, replays it and sends control messages to server.This system is developed based on high performance ARM embedded processor and embedded linux, supporting both C/S and B/S modes. As to the sensitive data and control information, the user should use the special client software to login, after authenticated, then send and receive data. The user also can use the special client software to set the system, and control the pan&tilt. As to the ordinary data, the user could logins by browser, receives video or watch video.3. The server’s hardware platform of multichannel MPEG-4 embedded network surveilance systemThe system is developed based on ARM embedded processor PXA255, which harmonizes the peripheral equipment of SDRAM, Flash, IME6400, MPEG-4 encoding, Lan91C111 network controller, SAA7114 video AD and IDT821024 audio codec, it constructs hardware platform of the server. First , the four channels video stream signals perform A/D conversion and become 8 bits digital signal of 656 format, this signal is provided to FPGA. FPGA cuts down the received video data and converts the data into 601 format. Finally, the data is provided to IME6400 by 27MHz clock. At the same time, based on the audio synchronization signal provided IME6400, FPGA provides 8 bits PCM format audio streams to IME6400. When IME6400 receives all data of one frame, it begins to lie all of them and compress, after that, it tells Xscale processor by interruption mode. The processor read IME6400’s special register, it can receive one frame audio stream or video stream data, which is compressed. After that, the processor could send out this frame data by the LAN91C111 Ethernet controller and also write in HDD.4. The realize of server’s softwareThe development platform of the the server’s software is embedded Linux operating system. At first, we construct cross-compiler environment of ARM platform; transplant blob as terminal booting program; cut down Linux as terminal operating system; consult the interface and timing of the hardware, according to the practical hardware circuit, add and modify drive program; program the start up sequence, cross compiled correlative dynamic storeroom, compile start script and make root file system, complete the conformation of the software platform.The part of Linux operating system’s network is used IPv4 and IPv6 dual stacks, provids sustains for the part of network communications of server’s softerware. Server’s software uses multithreading structure, realizes the reception of surveilance data, local storage, network transmisson and user control function. We use data queue and mutex mechanism between the threads to realize communication and synchronization.5. The realize of client’s softwareWe choose a VC+MFC+UI storeroom as an application development platform. In general, the program uses the SDI structure, the system adpots Document to deal with all the data and information, adpots View to display the result to the user, adpots MainFrame to deal with the user’s command, then distributes it to the Document or View structure. In order to distribut the task well, the program adopts multithreading structure.The system will use a light protocol which the system defines itself. The funtion is to complete the communication between the client part and the server. The transport of network sustains IP unicasting/broadcasting/multicasting and the combination of them. In order to optimize the performance, and improve the compatibility. 6. ConclusionThe embedded server can perform four channels NTSC/PAL video streams’realtime collection, MPEG4/2/1 compressing, network unicasting/ broadcasting/mu–lticasting and saving into HDD. It also supports four channels audio streams’ collection, encoding, network broadcasting and replay. It provides two interview interfaces, special client and universal browser. It is good at universal characteristic.The client software performances four channels realtime MPEG4 video streams’ network receiving, decoding replay, video browsing, searching, download and play, the video streams are clear and stabilization, audio streams are smoothly and fluency, video and audio streams’ synchronization is well, they are well in matching. The system also supports pan&tilt controlling, joint alarming, user purview validating, dynamic parameter modification etc.
Table of contents
Summary 4-8
first chapter 8-13
1.1 Introduction 8
1.2 video surveillance system development status quo and development trend 8-11
1.2.1 the development status of the video surveillance system 8-10
1.2.2 video surveillance system trends 10-11
1.3 thesis work and content arrangements 11-13
Chapter II embedded network video server technology 13-33
2.1 Embedded Systems Overview 13 -15
2.1.1 embedded system development the 13-15 2.2 embedded processor
15-18
2.2.1 ARM series 15 the
architecture 2.2.2 ARM 15-18
of 2.3 embedded network protocol stack 18-20
2.3.1 embedded network 18
2.3.2 embedded TCP / IP protocol stack the 18-20 2.4 IPv4/IPv6 Overview
the 20-29 2.4.1 IPv4 protocol
20-22
2.4.2 IPv6 protocol 22-29
2.5 The system uses the core technology 29-33
2.5.1 choice of compression algorithm 29
the 2.5.2 embedded video processing front the 29-30 2.5.3 embedded monitoring server environment
30
2.5.4 audio and video The synchronization technology 30-31
2.5.5 network technology the 31-32
2.5.6 other techniques 32-33
Chapter embedded multi-channel audio and video server hardware platform the 33-48
3.1 system overall scheme 33-34
of 3.2 embedded monitoring system 34-35
3.3 embedded multi-channel audio and video server hardware block diagram 35-36
3.4 Intel XScale PXA255 processor introduced 36-40
3.4.1 XScale core 36 - 37
3.4.2 XScale PXA255 processor structure and characteristics 37-40
3.5 embedded multi-channel audio and video server hardware development platform introduced 40-48
the 3.5.1 memory module 40-42
3.5.2 the IDE interface the 42-43 audio and video compression
3.5.3 the coding chip IME6400 43-45
3.5.4 Ethernet interface the 45-47 3.5.5 Power and reset circuit
47-48
Chapter server-side software to achieve 48 -60
4.1 compiler environment to establish 48-49
4.2 of the BootLoader procedure of making 49-51
4.3 Linux kernel the board grade transplantation 51 -53
4.4 device driver written 53-56
4.5 server-side software written 56-60
4.5.1 video server program 56-58
4.5.2 HTTP server program 58-59
the 4.5.3 root file system produced 59-60
Chapter client software to achieve the 60-72
5.1 VC with MFC the 5.2 overall structure of 60
60-62
5.3 network communication 62-65
5.4 server / client communication protocol the 65-69 5.5 user message transmission
69
5.6 UI interface 69-72
chapters system test results and discussions 72-76
6.1 test environment 72-73
6.2 audio and video synchronization test 73-74
6.3 network Play Test 74-75
6.4 video download test 75
6.5 test results analysis 75-76
Chapter VII Summary and Outlook 76-78
7.1 paper summarizes 76
7.2 Future Prospects to References 76-78
78-81
summary for 81-84
ABSTRACT 84-87
Acknowledgements 87-88
instructor and author 88
Related dissertations
- Study on Data Acquisition and LCD Display System of5kW Photovoltaic Inverter System
- Design and Implementation of Information Appliance Remote Control System Based on IPv6
- Communication Controller Design Base on Embedded Linux System
- Design and Implementation of Device Software Driver for Epson-based Large-format Image Capturing System
- Research and Implementation of Multimedia Terminal Based on Embedded Linux
- Embroidery based on embedded Linux platform software design electrical control systems
- Embedded Linux kernel Research
- Design of In-vehicle Multimedia Information System
- The Research and Design of Embedded Mobile Image Monitoring System Based on ARM
- Design and Implementation of Network Video Monitoring and Alarm System Based on Embedded Linux
- Design of Security Surveillance System Based on Intelligent Video Analysis
- Design and Implementation of Terminal for Snowflakes Beef Carcass Quality Measurement System Based on Embedded and Machine Vision
- Research and Design of Harmonic Detecting Device Based on ARM9
- Software Design of a Certain Experience Platform Multi-parameter Monitoring System
- Research on the Embedded Control System of Fed-Batch Culture in the Production of Monosodium Glutamate
- The Design and Application of Network Measurement and Control Platform Based on Embedded WEB Service
- Development of Small Smart Controller Software Technology Based on ARM9
- Design of the Paper Quality Control System Based on Industrial Ethernet
- The Research of Embeded Intelligent Household Based on ARM
- Research on Intelligent Home Furnishing system based on Android