检测附近的其他 iPhone/iPad
我正在考虑开发一个网络应用程序来检测其他 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
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.
我要探索的选项:
我不会尝试像 Core Location 这样的定位服务(实际上我会,但前提是上述方法不起作用),因为结果可能不够好。尤其是在室内:我手机上的地图应用程序将我置于半径约 50 米的圆圈中,而我的实际位置位于该圆圈的外边缘。就应用程序而言,隔壁街道上具有类似分辨率的人可能与我相邻。
Options I'd explore:
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.