A simulator for UPnP system