Font Size: a A A

Design And Implementation Of Streaming Media Server Software

Posted on:2012-11-29Degree:MasterType:Thesis
Country:ChinaCandidate:Y B ZhouFull Text:PDF
GTID:2248330392958249Subject:Software engineering
Abstract/Summary:PDF Full Text Request
The current popularity of video sharing and social networks share with the rapiddevelopment of technology for streaming media, the streaming media server is one of themost important part of streaming media technology. Streaming media server manages theunderlying hardware resources, while controlling the transmission network protocol, itsperformance is very important for quality of streaming media services. With thedevelopment of streaming media technology, streaming media server from the earlysimple audio and video service providers to change to the current real-time interactiveservices provider.According to functional requirements, streaming media server can be divided intokernel layer and outer shell layers, kernel layer pay attention to control of the serverhardware resources and network resources, while the outer shell to provide services fornetwork users to control the transmission of network protocols. Further subdivided, thekernel layer can be divided into five modules: network communication, memorymanagement, thread management, document management, database management.Network communication module manages the underlying network I/O; memorymanagement module is responsible for memory pool creation and management; threadmanagement module implement two thread pool, all time-consumed operations was sentinto a single thread pool for processing; file management module is responsible for themaintenance of the media file information and file disk I/O control; databasemanagement module is responsible for connection management and query management.Shell layer can be divided into start-up module, process guard module, load balancingmodule and protocol module. Start module is responsible for start the content serviceprogram and initialize the data; process guard module program for guarding thecontent service process and regularly inform the content server information toload-balancing server; load-balancing module for managing the server cluster load;protocol module for streaming media protocol analysis and packaging.The key technologies of streaming media server is completion port, memory pool, theevent queue model and RTMP protocol analysis and packaging. Completion port model combined with the event queue, use two thread pool to separate the network I/O operationand operation of back-protocol analysis, which greatly improves network throughput.Memory pool management use pre-allocated space to manage all object memory,reduced memory fragmentation.
Keywords/Search Tags:Streaming media server, Thread pool, Completion port, Real Time Messaging Protocol
PDF Full Text Request
Related items