问题描述
有关设备到设备数据传输的任何好的文档或文章吗?
Any good documentation or articles out there about doing device-to-device data transfer?
推荐答案
非常非技术性,但提供了有关该技术的一些信息:
Pretty non-technical, but their FAQ gives some information on the technology:
答:Bump有两个部分:设备上运行的应用程序和运行的智能匹配算法在我们的云服务器上。手机上的应用程序使用手机的传感器来感觉碰撞,然后将信息发送到云端。匹配算法监听来自世界各地的手机的颠簸,并将感觉相同的手机配对。然后我们只是在每对中的两部手机之间路由信息。
A: There are two parts to Bump: the app running on your device and a smart matching algorithm running on our servers in the cloud. The app on your phone uses the phone's sensors to literally "feel" the bump, and it sends that info up to the cloud. The matching algorithm listens to the bumps from phones around the world and pairs up phones that felt the same bump. Then we just route information between the two phones in each pair.
问:没办法。如果其他人在同一时间碰撞怎么办?
Q: No way. What if somebody else bumps at the same time?
A:方式。我们使用各种技术来限制潜在匹配池,包括位置信息和碰撞事件的特征。如果你碰到一个特别密集的区域(例如,在会议上),并且我们无法在单个碰撞后解决一个独特的匹配,我们只会要求你再次碰撞。我们的CTO拥有量子力学博士学位,可以展示其背后的数学,但我们建议您下载Bump并亲自尝试!
A: Way. We use various techniques to limit the pool of potential matches, including location information and characteristics of the bump event. If you are bumping in a particularly dense area (ex, at a conference), and we cannot resolve a unique match after a single bump, we'll just ask you to bump again. Our CTO has a PhD in Quantum Mechanics and can show the math behind that, but we suggest downloading Bump and trying it yourself!
问:为什么Bump想要使用我的位置?
Q: Why does Bump want to use my location?
答:我们现在全球有数百万用户。我们使用位置信息作为限制我们必须检查以确定正确匹配的其他手机数量的方式之一。基本上,如果你在芝加哥,我们使用这些信息,所以我们不必将你的碰撞与来自日本,欧洲,纽约等的碰撞进行比较。出于这个原因,我们要求打开位置服务,用户授权使用其位置信息。如果您不授权使用位置信息,Bump将无法使用,抱歉。
A: We've got millions of users worldwide now. We use location information as one of the ways we limit the number of other phones we have to check to determine the correct match. Basically, if you are in Chicago, we use that info so we don't have to compare your bump with bumps coming in from Japan, Europe, New York, etc. For this reason, we require that location services be turned on and that users authorize the use of their location information. If you do not authorize use of location information, Bump won't work, sorry.
问:Bump是否还要求我的蓝牙也被激活?
Q: Does Bump require that my Bluetooth is activated also?
答:不是! Bump根本不使用蓝牙工作;您只需通过wifi,3G或Edge进行互联网连接。
A: Nope! Bump doesn't use Bluetooth to work at all; all you need is an Internet connection through wifi, 3G or Edge.
这篇关于“碰撞”怎么样?技术工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!