在网络上定位设备的最佳方法是什么?

时间:2022-12-30 20:06:44

I'm building software for a company that sells hardware devices. They want the software to be able to locate all devices on the network without restricting either of their IPs.

我正在为销售硬件设备的公司构建软件。他们希望软件能够定位网络上的所有设备,而不会限制他们的任何IP。

What's the best way to do this? I'm thinking the hardware could subscribe to a "known" multicast address, have the software broadcast to it and the hardware would reply. The devices and software would reside on the same LAN so I'm not worried about multicast being blocked. I'm just worried that I'll discover that the "known" address is already in use in the future. It isn't possible for me to change this protocol once I've got devices in the wild. Please advise.

最好的方法是什么?我认为硬件可以订阅“已知”多播地址,让软件向其广播并且硬件会回复。设备和软件将驻留在同一个LAN上,因此我不担心多播被阻止。我只是担心我会发现未知的“已知”地址已经在使用中。一旦我有了野外设备,我就无法改变这个协议。请指教。

2 个解决方案

#1


Universal Plug and Play, Bonjour or other Zero configuration networking techniques.

通用即插即用,Bonjour或其他零配置网络技术。

#2


You could look into the various methods of constructing zero configuration networking.

您可以查看构建零配置网络的各种方法。

#1


Universal Plug and Play, Bonjour or other Zero configuration networking techniques.

通用即插即用,Bonjour或其他零配置网络技术。

#2


You could look into the various methods of constructing zero configuration networking.

您可以查看构建零配置网络的各种方法。