A method for remotely accessing UPnP networks is proposed that encapsulates and relays UPnP protocol messages in XMPP streams. The method consists of gateway located in LAN and server in public area network such as Internet, when the gateway collects UPnP device information in local area and converges to server, the server distributes the information according to remote needs. The remote gateway acquires the information and creates a corresponding virtual device in local area work as an agent between local control point and remote device. Experimental results validate that existing UPnP devices can remote interact seamlessly without doing any modificatioa Besides, the suitability of the system is also verified.%通过对已有远程访问UPnP网络方法进行的分析,提出了一种基于XMPP机制远程访问UPnP网络的方法,实现了对UPnP协议的无缝扩展.该方法由在局域网内的网关和在公共网络(例如Internet)的服务器组成,其中网关收集本地UPnP设备信息并通过服务器转发至远程网关,远程网关根据收到的信息创建对应的虚设备,代理远程控制点与设备间的交互.实验结果证明,在未对现有设备作任何修改的情况下,该方法能够透明的实现UPnP设备间的远程交互,且稳定性较高.
展开▼