2016-07-12 20 views
1

ルータでminiupnp SWパッケージを使用しています。私のLANネットワーク上で利用可能なすべてのデバイス/サービスを一覧表示するために、私は基本的にminiupnpcに問い合わせてすべてのデバイス/サービスを検出し、それらを出力する 'listdevice'アプリケーションを使用しました。UPNP - デバイスとサービスのバインド(miniupnp)

誰かがどのサービスが各デバイスに属しているのか、私はどのように理解できますか?

は、下の例の表を参照してください:このケースでは

1: urn:schemas-upnp-org:service:Layer3Forwarding:1 
http://192.168.1.1:5000/rootDesc.xml 
uuid:63ce4f39-1485-4bd6-ba33-bb1ec09dc1cf::urn:schemas-upnp-org:service:Layer3Forwarding:1 
2: uuid:63ce4f39-1485-4bd6-ba33-bb1ec09dc1cf  
http://192.168.1.1:5000/rootDesc.xml 
uuid:63ce4f39-1485-4bd6-ba33-bb1ec09dc1cf 
3: uuid:63ce4f39-1485-4bd6-ba33-bb1ec09dc1c0  
http://192.168.1.1:5000/rootDesc.xml 
uuid:63ce4f39-1485-4bd6-ba33-bb1ec09dc1c0 
4: uuid:63ce4f39-1485-4bd6-ba33-bb1ec09dc1c1  
http://192.168.1.1:5000/rootDesc.xml 
uuid:63ce4f39-1485-4bd6-ba33-bb1ec09dc1c1 
5: urn:schemas-upnp-org:device:WANConnectionDevice:1 
http://192.168.1.1:5000/rootDesc.xml 
uuid:63ce4f39-1485-4bd6-ba33-bb1ec09dc1c1::urn:schemas-upnp-org:device:WANConnectionDevice:1 
6: urn:schemas-upnp-org:device:WANDevice:1   
http://192.168.1.1:5000/rootDesc.xml 
uuid:63ce4f39-1485-4bd6-ba33-bb1ec09dc1c0::urn:schemas-upnp-org:device:WANDevice:1 
7: urn:schemas-upnp-org:service:WANIPConnection:1 
http://192.168.1.1:5000/rootDesc.xml 
uuid:63ce4f39-1485-4bd6-ba33-bb1ec09dc1c1::urn:schemas-upnp-org:service:WANIPConnection:1 
8: urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1 
http://192.168.1.1:5000/rootDesc.xml 
uuid:63ce4f39-1485-4bd6-ba33-bb1ec09dc1c0::urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1 
9: urn:schemas-upnp-org:service:WANPPPConnection:1 
http://192.168.1.1:5000/rootDesc.xml 
uuid:63ce4f39-1485-4bd6-ba33-bb1ec09dc1c1::urn:schemas-upnp-org:service:WANPPPConnection:1 
10: upnp:rootdevice         
http://192.168.1.1:5000/rootDesc.xml 
uuid:63ce4f39-1485-4bd6-ba33-bb1ec09dc1cf::upnp:rootdevice 
11: urn:schemas-upnp-org:device:InternetGatewayDevice:1 
http://192.168.1.1:5000/rootDesc.xml 
uuid:63ce4f39-1485-4bd6-ba33-bb1ec09dc1cf::urn:schemas-upnp-org:device:InternetGatewayDevice:1 
12: urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1 
http://192.168.1.1:8200/rootDesc.xml 
uuid:4d696e69-444c-164e-9d41-7e1fa325930c::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1 
13: urn:schemas-upnp-org:service:ConnectionManager:1 
http://192.168.1.1:8200/rootDesc.xml 
uuid:4d696e69-444c-164e-9d41-7e1fa325930c::urn:schemas-upnp-org:service:ConnectionManager:1 
14: urn:schemas-upnp-org:service:ContentDirectory:1 
http://192.168.1.1:8200/rootDesc.xml 
uuid:4d696e69-444c-164e-9d41-7e1fa325930c::urn:schemas-upnp-org:service:ContentDirectory:1 
15: urn:schemas-upnp-org:device:MediaServer:1  
http://192.168.1.1:8200/rootDesc.xml 
uuid:4d696e69-444c-164e-9d41-7e1fa325930c::urn:schemas-upnp-org:device:MediaServer:1 
16: upnp:rootdevice         
http://192.168.1.1:8200/rootDesc.xml 
uuid:4d696e69-444c-164e-9d41-7e1fa325930c::upnp:rootdevice 
17: uuid:4d696e69-444c-164e-9d41-7e1fa325930c  
http://192.168.1.1:8200/rootDesc.xml 
uuid:4d696e69-444c-164e-9d41-7e1fa325930c 
+0

@miniupnp - あなたは見てみることができますか? –

+0

「クライアント」の意味を説明できますか? – jku

+0

@jku - 申し訳ありませんが、タイプミス –

答えて

2

、応答が実際にあなたのためのトリックを行います。

上記の表から分かるように、装置は、例えば、何のサービスを提供していない可能性があるので、各デバイスは、常に、彼のサービスが続きます。

5: urn:schemas-upnp-org:device:WANConnectionDevice:1 
http://192.168.1.1:5000/rootDesc.xml 
uuid:63ce4f39-1485-4bd6-ba33-bb1ec09dc1c1::urn:schemas-upnp-org:device:WANConnectionDevice:1 

を、あるいは、例えば、いくつかのサービスを提供することができます:

6: urn:schemas-upnp-org:device:WANDevice:1   
http://192.168.1.1:5000/rootDesc.xml 
uuid:63ce4f39-1485-4bd6-ba33-bb1ec09dc1c0::urn:schemas-upnp-org:device:WANDevice:1 
7: urn:schemas-upnp-org:service:WANIPConnection:1 
http://192.168.1.1:5000/rootDesc.xml 
uuid:63ce4f39-1485-4bd6-ba33-bb1ec09dc1c1::urn:schemas-upnp-org:service:WANIPConnection:1 
8: urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1 
http://192.168.1.1:5000/rootDesc.xml 
uuid:63ce4f39-1485-4bd6-ba33-bb1ec09dc1c0::urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1 
9: urn:schemas-upnp-org:service:WANPPPConnection:1 
http://192.168.1.1:5000/rootDesc.xml 
uuid:63ce4f39-1485-4bd6-ba33-bb1ec09dc1c1::urn:schemas-upnp-org:service:WANPPPConnection:1 
関連する問題