创建一个简单的自组织/网状网络,有什么好的协议可以做到这一点?

发布于 2024-10-15 09:41:45 字数 300 浏览 2 评论 0原文

我正在开发一个项目,使用一堆 Android 设备创建一个相当简单的一对多主机到从机网络。这样做的最佳方法是什么?

一位朋友推荐了蓝牙,我认为它非常适合本地小型网络。这实际上是我们正在做的项目的一个核心组成部分,最大面积可能为 50 平方米的设备组(例如,一个大型报告厅)。

连接距离较远的多个设备的最佳方式是什么?可以快速轮询设备吗?该项目基于设备和用户响应时间(实际上是一种响应时间测试)。动态创建的主机和来宾网络是否足够强大以检测毫秒级的响应时间?

感谢您的帮助,我对此还比较陌生,所以如果我不清楚或者我的任何想法很荒谬,请告诉我。

I'm working on a project creating a fairly simple one-to-many host-to-slave network using a bunch of Android devices. What would be the best way to go about doing this?

A friend recommended Bluetooth, which I think would work very well for local small networks. This is actually one core component of the project we're doing, groups of devices in a maximum area of maybe 50 square meters (a large lecture hall, for example).

What would be the best way to connect a number of devices at a large distance from each other? Would rapid polling of the devices be possible? The project is based around device and user response time (sort of a response time test, in fact). Will having a host and guest network created on-the-fly be robust enough to detect response times in the milliseconds?

Thanks for any help, and I'm relatively new to this so if I wasn't clear or if any of my thinking was ridiculous, please let me know.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

陌路黄昏 2024-10-22 09:41:45

没有最好的方法,针对特定情况有特定的解决方案。

蓝牙是一种小范围无线通信协议,1 类设备的最大距离为 100 米,2 类 - 10 米,3 类 - 1 米。它具有主/从拓扑,一个主设备在微微网中最多可以有 8 个从设备,如果您有超过 8 个设备,您将进入分散网,情况就会发生变化。

您还应该研究 WiFi 所提供的功能。对于轮询,我认为您可以看一下 SNMP,也许已经有某种工具已经完成了。

There is no best way for something, there are particular solutions for particular cases.

Bluetooth is a small range wireless communication protocol, the maximum distance is for 100 meters for class 1 devices, class 2 - 10 meters, class 3 - 1 meter. It has a master/slave topology and a master can have a maximum of 8 slaves in a piconet, if you have more then 8 devices you go to a scatternet and things change.

You should study also what WiFi has to offer. For polling I think you could take a look at SNMP, maybe there is somekind of instrumentation it is already done.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文