检测附近的其他 iPhone/iPad

发布于 2024-11-27 12:24:06 字数 147 浏览 2 评论 0原文

我正在考虑开发一个网络应用程序来检测其他 iPad/iPhone 的存在。目前这纯粹是理论上的,我不知道如何做到这一点。

我的问题是我最好的技术/语言方法是什么?

是蓝牙还是GPS?应用程序碰撞如何运作?

感谢您发布的任何建议...

I am thinking about a web app to detect the presence of the other iPads/iPhones. This is purely theoretical at the moment, i have no idea how to do this.

My question is what is my best technology/language method of doing this?

Is it going to be bluetooth or gps? How does the App Bump work?

Thanks for any suggestions posted...

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

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

发布评论

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

评论(2

懷念過去 2024-12-04 12:24:06

Bump 的常见问题解答:http://bu.mp/faq

根据他们的常见问题解答,当您的手机安装了 Bump 应用程序时准备就绪后,应用程序会监听加速度计是否突然停止(当您拿着手机的手碰到对方拿着手机的手时会停止),此时,准确的日期时间信息以及 GPS 位置和凹凸的特征被发送出去与 Bump 的服务器进行比较,以比较其他 Bump 用户的其他信息,以了解哪些其他 Bump 帐户共享大部分信息。蓝牙不会以任何方式实现这一点,也不会用于传输或识别传输对象。

您的网站可能必须做同样的事情。让每个实例向您的服务器报告,然后从其他人所在的服务器返回报告。

当然,这是不言而喻的,我确信您正在考虑隐私设置和其他层面的个人安全。

Bump's FAQs: http://bu.mp/faq

According to their FAQs, when your phone has the Bump app up and ready, the app listens to the accelerometer for a sharp stop (your hand with your phone in it stopping when it hits the other person's hand with their phone in it), at this point, exact date time information as well as GPS position and characteristics of the bump are sent off to Bump's servers to compare other information from other bump users to see what other bump account shares most of that information. Bluetooth is not used in any capacity to make this happen, not for the transfer or the recognition of who to transfer to.

Your website may have to do the same thing. Have every instance report to your server, and then report back from the server where other people are.

Of course this goes without saying that I'm sure you were thinking about privacy settings and other layers of personal security.

雨的味道风的声音 2024-12-04 12:24:06

我要探索的选项:

  • Bonjour 发现。原则上,可以通过 Bonjour 互相看到的设备实际上可能位于不同的大陆,但通常它意味着“同一无线网络”,因此至少意味着“同一栋建筑”。
  • 游戏套件。实际上,这要么使用蓝牙,要么使用本地网络,因此可能会产生与 Bonjour 发现类似的结果,但代码更少。

我不会尝试像 Core Location 这样的定位服务(实际上我会,但前提是上述方法不起作用),因为结果可能不够好。尤其是在室内:我手机上的地图应用程序将我置于半径约 50 米的圆圈中,而我的实际位置位于该圆圈的外边缘。就应用程序而言,隔壁街道上具有类似分辨率的人可能与我相邻。

Options I'd explore:

  • Bonjour discovery. In principle devices that can see each other via Bonjour could actually be in different continents, but usually it means 'same wireless network' and therefore at least 'same building'.
  • Game kit. Actually, this either uses Bluetooth or the local network, so is probably going to have similar results to Bonjour discovery but in less code.

I wouldn't try location services like Core Location (actually I would, but only if the above don't work), as the results probably aren't going to be fine enough. Especially indoors: the Maps app on my phone places me in a circle of about 50 metres radius with my actual location being on the outer edge of said circle. Someone on the next street with similar resolution could, as far as the app is concerned, be adjacent to me.

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