
UPnP家庭網路共享系統實作
吳善全
慈濟技術學院會計資訊系助理教授
摘要
UPnP是由UPnP™ Forum提出的一套網路協議。該協議的目標是使家庭網路(數據共享、通信和娛樂)和公司網路中的各種設備能夠相互無縫連接,並簡化相關網路的實現。UPnP通過定義和發佈基於開放、網際網路通訊網協議標準的UPnP設備控制協議來實現這一目標。由Intel、微軟以及SONY、SAMSUNG等IT/CE大廠所組成的DLNA組織目前已有超過兩百家廠商,其制訂的各種產品間的Discovery、Control與Eventing即以UPnP為基礎。
然目前DLNA/UPnP僅侷限在單一家庭網路,在家庭與家庭之間的設備或資源的共享上並未有任何發展。此外,透過Internet來控制家中UPnP設備的技術也有所欠缺。本計畫以即時通訊虛擬人的概念,設計並實作UPnP/XMP Agent,以達到兩個以上家庭網路之間的UPnP設備共享,以及遠端控制及事件通知等目標。
本研究實現了家庭和家庭之間的檔案共享,不同於傳統FTP或Web等傳輸檔案的方式,強調其便利性。實作系統雛形,經測試證實其可行性,唯實作系統經過多重通訊協定和多個虛擬機制之後,穩定性與安全性都可能受到了折扣,未來將增加安全性措施。
關鍵字:家庭網路、裝置共享、即時訊息
An Implementation of UPnP Home Network Sharing
Shann-Chiuen Wu
Assistant Professor ,Department of Accounting Information,
Abstract
The Digital Living Network Alliance (DLNA) is an international, cross-industry collaboration of consumer electronics, computing industry and mobile device companies. DLNA devices incorporate a networking component called “Device and Service Discovery and Control”. To accomplish this, DLNA uses a protocol from the UPnP™ Implementers Corporation (UIC), an industry standards body, called The UPnP™ Device Control Protocol Framework (DCP Framework), Version 1. This protocol provides simple and effective device networking in the home.
However, DLNA/UPnP devices are confined to a single home network. We cannot share our devices to another home network. In addition, there is no standard protocol about UPnP remote control and eventing through the Internet. We adopt the instant messaging architecture to design and implement an UPnP/XMPP Agent which can achieve the goal of sharing devices between two or more home networks as well as remote control and eventing through the Internet.
Keywords:Home Network, Device Sharing, Instant Messaging.