基于Linux的流媒體服務(wù)器性能的研究與分析
發(fā)布時(shí)間:2018-01-20 08:31
本文關(guān)鍵詞: Linux 流媒體 內(nèi)核 性能 出處:《電子科技大學(xué)》2008年碩士論文 論文類型:學(xué)位論文
【摘要】: 流媒體(Streaming Media)是一種以音視頻數(shù)據(jù)流的方式在網(wǎng)絡(luò)上傳遞多媒體信息的技術(shù)。與傳統(tǒng)的多媒體下載不同,流媒體傳輸具有實(shí)時(shí)性和連續(xù)性的特點(diǎn)。流媒體技術(shù)具有十分廣泛的應(yīng)用領(lǐng)域,如在線直播、網(wǎng)絡(luò)廣告、視頻點(diǎn)播、視訊會(huì)議、遠(yuǎn)程教育等。流媒體系統(tǒng)中的流媒體服務(wù)器用于存放和控制流媒體數(shù)據(jù),對(duì)于當(dāng)前大多數(shù)流媒體系統(tǒng)而言,高速發(fā)展的TCP/IP網(wǎng)絡(luò)已不再成為限制性能的主要因素。然而,隨著流媒體技術(shù)的飛速發(fā)展,以及世界廣播電視數(shù)字化的來臨,流媒體服務(wù)器的性能日益成為制約流媒體應(yīng)用的重要因素。 本文首先研究分析了流媒體應(yīng)用的關(guān)鍵技術(shù),對(duì)流媒體的基本原理、傳輸技術(shù)和流媒體傳輸協(xié)議進(jìn)行了詳細(xì)介紹。然后分析了目前幾個(gè)主流的流媒體服務(wù)器和影響流媒體服務(wù)器性能的關(guān)鍵因素,緊接著研究和分析了Linux操作系統(tǒng)內(nèi)核機(jī)制,介紹了Linux內(nèi)核的模塊機(jī)制和內(nèi)核處理系統(tǒng)調(diào)用的過程,并且介紹了在Linux內(nèi)核中添加系統(tǒng)調(diào)用和內(nèi)核模塊的方法。最后重點(diǎn)介紹了基于Linux平臺(tái)的流媒體服務(wù)器的設(shè)計(jì)和關(guān)鍵模塊功能的實(shí)現(xiàn)過程,該流媒體服務(wù)器采用模塊化的的思想進(jìn)行設(shè)計(jì),系統(tǒng)各個(gè)模塊運(yùn)行在一個(gè)基于異步事件驅(qū)動(dòng)的系統(tǒng)運(yùn)行框架之上。 流媒體服務(wù)器軟件是以應(yīng)用軟件方式運(yùn)行在Linux平臺(tái)下,在執(zhí)行時(shí),CPU運(yùn)行在用戶態(tài)。流媒體服務(wù)器的設(shè)備I/O通過系統(tǒng)功能調(diào)用,從用戶態(tài)陷入核心態(tài),方能完成。CPU從用戶態(tài)陷入核心態(tài),再從核心態(tài)返回用戶態(tài)的凈開銷,相當(dāng)于CPU執(zhí)行1000條簡單的普通指令。本文所做的工作為實(shí)際項(xiàng)目的一個(gè)分支,項(xiàng)目的最后目標(biāo)就是利用Linux操作系統(tǒng)內(nèi)核的特點(diǎn),實(shí)現(xiàn)流媒體服務(wù)器的頻繁進(jìn)行I/O操作的功能模塊降到Linux內(nèi)核中,利用這種方法實(shí)現(xiàn)對(duì)流媒體服務(wù)器的性能改進(jìn)。本論文受四川省科技廳攻關(guān)基金資助,本文對(duì)提高流媒體服務(wù)器性能的方法做了初步的探索和研究,在今后的項(xiàng)目實(shí)施中可以作為參考。
[Abstract]:Streaming Media is a technology for transmitting multimedia information over the network by means of audio and video data streams, which is different from traditional multimedia downloading. Streaming media transmission has the characteristics of real-time and continuity. Streaming media technology has a very wide range of applications, such as live online, network advertising, video on demand, video conferencing. The streaming media server in the streaming media system is used to store and control the streaming media data, for most of the current streaming media systems. The rapid development of TCP/IP network is no longer the main factor limiting the performance. However, with the rapid development of streaming media technology and the advent of digital radio and television in the world. The performance of streaming media server has become an important factor restricting the application of streaming media. Firstly, this paper studies and analyzes the key technologies of streaming media application and the basic principle of streaming media. The transmission technology and streaming media transmission protocol are introduced in detail. Then several mainstream streaming media servers and the key factors affecting the performance of streaming media servers are analyzed. Then the kernel mechanism of Linux operating system is studied and analyzed. The module mechanism of Linux kernel and the process of processing system call are introduced. The method of adding system call and kernel module to Linux kernel is introduced. Finally, the design of streaming media server based on Linux platform and the realization process of key module function are introduced. The streaming media server is designed by modularization. Each module of the system runs on an asynchronous event-driven system framework. Streaming media server software runs on Linux platform as application software, and runs in user state when executing. The device I / O of streaming media server is called by system function. From the user state into the nuclear mentality, the CPU can complete from the user state into the nuclear mentality, and then from the core state of mind to return the net cost of the user state. The work done in this paper is a branch of the actual project, the final goal of the project is to take advantage of the characteristics of the Linux operating system kernel. The function module that realizes the streaming media server frequently carries on the I / O operation reduces to the Linux kernel. Using this method to improve the performance of streaming media server. This paper is funded by Sichuan Science and Technology Department, this paper makes a preliminary exploration and research on how to improve the performance of streaming media server. In the future implementation of the project can be used as a reference.
【學(xué)位授予單位】:電子科技大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2008
【分類號(hào)】:TN919.8
【引證文獻(xiàn)】
相關(guān)碩士學(xué)位論文 前4條
1 李想;基于DM6446的嵌入式流媒體服務(wù)器的研究與實(shí)現(xiàn)[D];華南理工大學(xué);2012年
2 唐富強(qiáng);基于Linux的多媒體系統(tǒng)服務(wù)器端的設(shè)計(jì)與實(shí)現(xiàn)[D];電子科技大學(xué);2012年
3 周保軍;實(shí)時(shí)流媒體服務(wù)器集群的研究與實(shí)現(xiàn)[D];華南理工大學(xué);2013年
4 李婷婷;基于A8處理器的圖像采集與觸摸屏處理的技術(shù)研究[D];哈爾濱工業(yè)大學(xué);2013年
,本文編號(hào):1447553
本文鏈接:http://sikaile.net/wenyilunwen/guanggaoshejilunwen/1447553.html
最近更新
教材專著