基于UPnP的家庭無線網絡媒體服務器設計與實現(xiàn)
發(fā)布時間:2018-04-05 02:33
本文選題:數(shù)字家庭 切入點:UPnP 出處:《浙江工業(yè)大學》2014年碩士論文
【摘要】:隨著計算機技術與網絡技術的迅猛發(fā)展和緊密融合,數(shù)字家電設備的性能得到顯著提升。然而目前家電設備間的運作基本是孤立的,這樣不僅會導致使用上的不方便,而且也浪費了大量的存儲資源。人們迫切希望能夠實現(xiàn)家電設備的互聯(lián)互控和資源共享。正是在這種背景下,數(shù)字家庭應運而生,各種數(shù)字家庭的網絡標準及組網技術得到飛速發(fā)展。 在數(shù)字家庭網絡標準方面,由微軟提出的通用即插即用(UPnP)協(xié)議正是為實現(xiàn)家庭網絡中設備間的互聯(lián)互控而提供的一種簡捷高效,易于使用的協(xié)議。在組網方式方面,之前的研究主要基于有線網絡。有線網絡雖然穩(wěn)定,但需要布線,移動性差,而無線局域網(WLAN)恰好能解決上述問題,更適用于數(shù)字家庭網絡中。綜上所述,本文基于UPnP協(xié)議,設計實現(xiàn)了一個帶有無線網卡模塊的嵌入式UPnP媒體服務器,并且在WLAN環(huán)境中搭建起UPnP AV構架,實現(xiàn)了家庭影音的共享控制功能,解決了家庭網絡中信息家電的互聯(lián)及資源共享問題。本文主要完成以下幾個方面的工作: 1.深入研究了UPnP協(xié)議棧、分析了UPnP工作過程并闡述了UPnP AV構架。 2.在探討媒體服務器選型標準的基礎上,提出了UPnP媒體服務器總體的設計方案,然后搭建了TQ2440目標平臺開發(fā)環(huán)境。最后添加了無線網卡模塊并通過移植wpa_supplicant無線網絡管理軟件使目標平臺連接到WPA加密的接入點(AP)中。 3.交叉編譯并移植UPnP協(xié)議棧源碼libupnp-1.6.6到目標平臺上。 4.基于libupnp-1.6.6源碼提供的API接口,首先編寫了UPnP控制點程序,然后分模塊編寫了UPnP媒體服務器代碼并在宿主機上用控制點程序對媒體服務器程序進行調試測試,測試成功后,將UPnP媒體服務器程序移植到TQ2440目標平臺上。 5.在WLAN環(huán)境下,借助第三方UPnP軟件對UPnP媒體服務器的功能進行測試。測試結果表明UPnP媒體服務器功能正常,總體性能良好,達到了預期目標。
[Abstract]:With the rapid development and close integration of computer technology and network technology, the performance of digital appliances has been improved significantly.However, the operation of household appliances is basically isolated, which will not only lead to inconvenient use, but also waste a lot of storage resources.People are eager to realize the interconnection and mutual control of household appliances and the sharing of resources.It is under this background that digital home emerges as the times require, and various network standards and networking technologies of digital home are developed rapidly.In the aspect of the digital home network standard, the universal plug and play UPnP protocol proposed by Microsoft is a simple, efficient and easy to use protocol to realize the interconnection and mutual control between devices in the home network.In terms of networking, previous research is mainly based on wired networks.Although the wired network is stable, it needs to be wired, and its mobility is poor. WLAN (WLAN) can solve the above problem, and it is more suitable for digital home network.To sum up, based on UPnP protocol, this paper designs and implements an embedded UPnP media server with wireless network card module, and builds UPnP AV frame in WLAN environment, realizes the sharing control function of home video and audio.The problem of interconnection and resource sharing of information appliances in home network is solved.The main work of this paper is as follows:1.The UPnP protocol stack is deeply studied, the working process of UPnP is analyzed and the UPnP AV architecture is expounded.2.On the basis of discussing the standard of media server selection, the overall design scheme of UPnP media server is put forward, and then the development environment of TQ2440 target platform is built.Finally, the wireless network card module is added and the target platform is connected to the WPA encrypted access point by transplanting the wpa_supplicant wireless network management software.3.Cross-compile and transplant UPnP protocol stack source code libupnp-1.6.6 to the target platform.4.Based on the API interface provided by the libupnp-1.6.6 source code, the UPnP control point program is first written, and then the UPnP media server code is written by the module and the media server program is debugged and tested on the host computer with the control point program.Transplant the UPnP media server program to the TQ2440 target platform.5.In WLAN environment, the function of UPnP media server is tested with the help of third party UPnP software.The test results show that the UPnP media server has normal function and good overall performance.
【學位授予單位】:浙江工業(yè)大學
【學位級別】:碩士
【學位授予年份】:2014
【分類號】:TP393.05
【相似文獻】
相關期刊論文 前10條
1 冷雪峰;蘇紹t,
本文編號:1712830
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/1712830.html
最近更新
教材專著