Research and Application of the streaming system synchronization mechanism and buffering mechanisms
- Author
- ZhanXueFeng
- Advisor
- LiuXinSong
- School
- University of Electronic Science and Technology
- Major
- Computer System Architecture
- Classification
- TP393.02 Computer network architecture and design
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 209
- Citations
- 1
Abstract
With the popularization of the Internet and the rapid growth of the IPTV (televisions over IP), the business of streaming media service over network grows rapidly too. With the increasingly drastic market competition, it has become the focus of many companies to improve the quality of customer service and shorten the cycle of product development. Based on the accumulation of many years research on distributed and paralleled technology, 8010 R&D designed the Digital Organic System (DOS) foundation software platform. It provides the OS platform for the streaming media systems with high dependability, high concurrence and high extensibility. After that, 8010 R&D developed the DOS streaming media server and the DOS network terminal SDK. Based on the distributed storage feature of the DOS, the Delay-Resume functionary has been developed.During designing and implementing a streaming media system, the synchronization and buffer mechanisms are the critical issues. This thesis analyzed and researched the theories of these mechanisms, and applied them to the project, expatiated the importance of these mechanisms. The main contributions of the thesis are as follows:1. Based on the research of the synchronization mechanisms of the streaming media system and the time axis model, one model was implemented with RTP/RTCP standardization files (RFC1889) as guidelines.2. The synchronization problem in the receiver when the broadcaster failed was resolved, by implementing the resetting timestamp mechanisms.3. The efficiency of file operation was improved, by the pre-read and wait-write buffer technology was applied to the operation of file read and write.4. A formula for calculating receiving buffer length was proposed, based on the analysis and research on network parameters, such as jitter, average speed and packet loss fraction.5. The Delay-Resume module in streaming media systems was designed and implemented, with the application of the synchronization and buffer mechanisms.
Table of contents
The first chapter 11-14
1.1 Task Background the 11-12
1.2 Research 12
1.3 thesis research purposes and organization structure 12-14
Streaming Technical Overview 14-27
2.1 the streaming concept 14
2.2 streaming 14 -16
basic principles of 2.2.1 streaming 14-16
2.2.2 sequence streaming 16
2.2.3 real-time streaming 16
2.3 streaming media file format 16-18
2.3.1 Real Media file format 17
2.3.2 QuickTime file format 17
2.3.3 Windows Media file format 17-18
2.4 streaming principle 18
2.5 streaming media transmission protocol 18-26
2.5.1 Resource Reservation Protocol - RSVP 19-21
2.5.2 Real-time streaming protocol - RTSP 21-22
2.5.3 Session Description Protocol - SDP 22-23
2.5.4 Real-time Transport Protocol - RTP 23-25 ??
2.5.5 Real-time transmission control protocol - RTCP 25-26
2.6 Chapter Summary 26-27
Chapter streaming system synchronization mechanism 27-42
the 3.1 continuous media data with static media data 27-28 < br /> 3.2 streaming data time-domain constraint relations 28-29
3.3 streaming media data constitute 29-30 time domain frame of reference
3.4 30 -35
3.4.1 the domain scene and the time-domain-defined program the 30-33
3.4.2 time model to describe the time-domain characteristics 33-34
3.4 .3 synchronization tolerance 34-35
3.5 streaming synchronized four-layer reference model 35-37
3.6 typical synchronous model 37-41
3.6.1 interval model 37-38
3.6.2 Timeline model 38-39
3.6.3 hierarchical model 39-40
3.6.4 Timing Petri net model 40-41
3.7 Chapter Summary 41-42
Chapter digital organisms streaming media server design and implementation 42-66
4.1 digital organisms Introduction 42-43
4.2 digital organisms streaming system Introduction 43-44
4.3 streaming media server structure design 44-45
4.4 the delay xubo module overall design the 45-46
4.5 receive multicast data stream 46-47
4.5.1 SDP the file parsing 46
4.5.2 to join a multicast group are found; 46-47
4.6 receiver buffer queue sorting process 47-48
4.7 delayed write buffer mechanism 48-50
4.8 pre-read buffer mechanism the 50-56
4.8.1 pre-read buffer mechanism described 50-52
4.8 .2 the main data structures 52-54
4.8.3 cushioning of block elimination algorithm 54
4.8.4 memory buffer block fill handle 54-55 <br / > 4.8.5 to read the file divided block special treatment 55-56
4.8.6 file reading process nbsp are; 56
4.9 RTP / RTCP protocol synchronization mechanism the time 56-59
4.9.1 RTP protocol 56
4.9.2 RTP / RTCP protocol synchronization mechanism 56-59
4.10 cache file index 59-63
4.10.1 index entry data structure 59-60
4.10.2 indexing time 60-61
the 4.10.3 an additional index entries the 61-62
4.10.4 index entries positioning 62-63
4.11 RTP data stream transmission synchronization 63-65
4.11.1 RTP timestamp conversion 63
4.11.2 send window mechanism 63-64
4.11.3 fast start mechanism 64
4.11.4 Reset time stamp mechanism 64-65
4.12 Chapter Summary 65-66
Chapter organisms digital network terminal supporting component design and realization 66-80 < br /> 5.1 network terminal characteristics of the support assembly 66-67
5.2 interface design 67-68
5.3 standard streaming protocol support 68-69
5.4 cross-platform design 69
5.5 object class diagram the 69-70
5.6 client buffering mechanism 70-75
5.6 .1 delay jitter the 70-72
5.6.2 packet loss ratio to 5.6.3 an average rate of 72-73
73
5.6.4 the the buffer length estimates the 73-74
5.6.5 send window mechanism and the length of the buffer the 5.6.6 client feedback mechanisms 74-75
75 <br
5.7.3 synchronous blocking mechanism 76-77
5.8 the delay xubo design and realization 77-78
5.8.1 Continued delay sowing parameters 77
5.8.2 reset timestamp mechanism 77-78
5.8.3 short delay processing 78
5.9 Chapter Summary 78-80
Chapter VI system test 80-85
6.1 test principle the 80-81
6.1.1 error severity defined 80
6.1.2 testing guidelines 80-81
6.2 system test 81-85
6.2.1 test environment 81
6.2 the .2 test indicators and the test results the 81-84
6.2.3 test summary 84-85
Chapter VII Conclusion 85-88
7.1 thesis work summarizes 85-86
7.2 papers follow-up work 86-88
Acknowledgements to References 88-89
89-92
research during the study period 92
Related dissertations
- Research and Implementation of Intelligent Video Surveillance System Based on Android
- The Designation and Implementation of Hotspot Information Distribution System of Network Video Monitoring
- Design of Security Surveillance System Based on Intelligent Video Analysis
- Design and Implementation of Smart Home System Based on Android Platform
- Research and Simulation Design of Proxy Cache Replacement Algorithm Based on QoS
- Design and Implementation of P2P-VoD System Based on BitTorrent
- Design and Implementation of Multi-channel Audio Playback System Based on Streaming Media
- System design and implementation of mobile learning based on Streaming Media Technology
- Application and Development of Network and Video System in the Enterprise
- Design and implementation of campus network of large capacity storage and VOD system based on VOD
- Design and Implementation of Video Conference System Based on JXTA and WebRTC
- Research and Implementation of Video Conferencing System Technology Based on Red5
- Embedded TCP streaming media playing system based on
- Design of Grading Intelligent Software System for Bluetooth Based on Android
- Proxy Cache Replacement Algorithm Based on Popularity Prediction Gain Model of Streaming Media
- Research and Application on Transmission Model and Quality Monitoring of Streaming Media in Edge Network
- The Research of Load Balance Algorithm Based on Resource for the Streaming Media Transmission Network
- The Design and Implementation of Sharing Streaming Media System Based on P2P
- The Research of Delay Limited Adaptive Streaming Transmission and Implementation of Streaming Media Server
- A Congestion Control Mechanism for Wireless Streaming Media Applications