移动网络的最佳对等技术 [英] best peer to peer technique for mobile network

查看:92
本文介绍了移动网络的最佳对等技术的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我负责移动单元和用户电话之间的对等通信设计.移动单元针对的是汽车,因此有可能将其连接到许多不同的ISP.也可以预期客户端将经常断开连接.我需要找到NAT穿越技术的最佳解决方案,该解决方案适用于移动网络条件,该条件与WiFi等常规网络几乎没有什么不同.我搜索了常用的技术,发现了许多不同的做法,例如 TCP UDP打孔 NUTSS NATBLASTER NatTrav 或官方协议(例如STUN或ICE).

I deal with design of peer to peer communication between mobile unit and user phone. Mobile unit is targeted into cars, so it is possible that it could be connected to many various ISPs. It can be also expected that the clients will be often disconnects. I need to find best solution in NAT traversal techniques, which is applicable in conditions of mobile network, which are little different than the usual networks as WiFi. I search for often used techniques and found a many different practices, such as TCP or UDP Hole Punching, NUTSS, NATBLASTER, NatTrav or official protocols such as STUN or ICE.

有人可以建议我在类似条件下经过实践检验的技术吗?

Could anyone advise me tried and proven technique under similar conditions?

非常感谢

推荐答案

要实现对等(P2P)或中继连接,您需要实现一个称为ICE的协议.该协议使您能够100%穿越NAT.这是当前存在的最佳解决方案.您还需要安装STUN/TURN服务器.

To achieve peer to peer(P2P) or relay connectivity you need to implement a protocol called ICE. This protocol allows you the ability of 100% NAT traversal. This is the best solution currently exist. You need to have STUN/TURN server as well.

即使使用最佳的解决方案ICE,您也不会在对等之间获得100%的P2P连接.一些连接将通过称为TURN的中继服务器建立.这取决于对等方背后的NAT类型.

With even the best solution ICE, you will not get 100% P2P connectivity between peers. Some connection will be established through a relay server called TURN. This depends on the type of NATs the peers are behind.

TCP或UDP打孔是一种特殊的技术,它允许通常会被中继为P2P的某些连接.还有其他类似的技术,但是这些技术是在您实现ICE并安装了STUN/TURN服务器之后出现的.

TCP or UDP Hole Punching is a special technique to allow some connection which normally would have been relay to be P2P. There are other techniques like that but those come after you implement ICE and have STUN/TURN server.

有很多开源的STUN/TURN服务器,一些公司为ICE提供解决方案.一些公司提供了完整的NAT遍历解决方案,提供ICE实施和STUN/TURN服务器支持.

There are lots of open source STUN/TURN server and some companies provides solution for ICE. Some companies provide the whole NAT traversal solution providing ICE implementation and STUN/TURN server support.

这篇关于移动网络的最佳对等技术的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆