基于UPnP的家庭无线网络媒体服务器设计与实现
发布时间:2018-04-05 02:33
本文选题:数字家庭 切入点:UPnP 出处:《浙江工业大学》2014年硕士论文
【摘要】:随着计算机技术与网络技术的迅猛发展和紧密融合,数字家电设备的性能得到显著提升。然而目前家电设备间的运作基本是孤立的,这样不仅会导致使用上的不方便,而且也浪费了大量的存储资源。人们迫切希望能够实现家电设备的互联互控和资源共享。正是在这种背景下,数字家庭应运而生,各种数字家庭的网络标准及组网技术得到飞速发展。 在数字家庭网络标准方面,由微软提出的通用即插即用(UPnP)协议正是为实现家庭网络中设备间的互联互控而提供的一种简捷高效,易于使用的协议。在组网方式方面,之前的研究主要基于有线网络。有线网络虽然稳定,但需要布线,移动性差,而无线局域网(WLAN)恰好能解决上述问题,更适用于数字家庭网络中。综上所述,本文基于UPnP协议,设计实现了一个带有无线网卡模块的嵌入式UPnP媒体服务器,并且在WLAN环境中搭建起UPnP AV构架,实现了家庭影音的共享控制功能,解决了家庭网络中信息家电的互联及资源共享问题。本文主要完成以下几个方面的工作: 1.深入研究了UPnP协议栈、分析了UPnP工作过程并阐述了UPnP AV构架。 2.在探讨媒体服务器选型标准的基础上,提出了UPnP媒体服务器总体的设计方案,然后搭建了TQ2440目标平台开发环境。最后添加了无线网卡模块并通过移植wpa_supplicant无线网络管理软件使目标平台连接到WPA加密的接入点(AP)中。 3.交叉编译并移植UPnP协议栈源码libupnp-1.6.6到目标平台上。 4.基于libupnp-1.6.6源码提供的API接口,首先编写了UPnP控制点程序,然后分模块编写了UPnP媒体服务器代码并在宿主机上用控制点程序对媒体服务器程序进行调试测试,测试成功后,将UPnP媒体服务器程序移植到TQ2440目标平台上。 5.在WLAN环境下,借助第三方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.
【学位授予单位】:浙江工业大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP393.05
【相似文献】
相关期刊论文 前10条
1 冷雪峰;苏绍t,
本文编号:1712830
本文链接:https://www.wllwen.com/guanlilunwen/ydhl/1712830.html