Android:打电话时网络速度慢
我们正在开发一款应用程序,该应用程序可以通过 UDP 为基于 GSM 的手机传输大量数据。这个想法是在与语音通话结合使用时使用它。如果没有语音通话,则一切正常。然而,如果语音呼叫处于活动状态,则即使在 HSPA+ 上,我们发送的大部分数据似乎也根本无法发送。如果我们启用 Wifi,那么一切都很好。
我担心这是一个物理问题,而不是电话问题。我通过在发送一大块数据后插入一条日志语句来排除 CPU 争用,并发现它出现了很多次。
3G无线电是否能够同时发送数据和语音?我们在语音通话期间尝试了速度测试,发现带宽大幅下降。
We're working on an app that streams a large amount of data out via UDP for GSM-based phones. The idea is to use it while in conjunction with a voice call. If no voice call is present, things are good. However, if a voice call is active, it seems that most of the data we're sending out simply never makes it, even on HSPA+. If we enable Wifi, then everything is good.
I'm worried that this is a physics problem, rather than a phone one. I ruled out CPU contention by inserting a log statement after we send a chunk of data, and saw that it appeared plenty of times.
Is the 3G radio capable of sending data and voice simultaneously well? We tried a speed test during a voice call and saw a huge drop in bandwidth.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
我在美国的 AT&T 网络上就遇到过这个问题。他们只是在通话过程中限制带宽;无论您使用的是 3G 还是 H。要了解您受到的限制程度,请尝试安装 speedtest.net 的应用程序并在通话期间和通话之外运行速度测试。
在湾区,我在 AT&T 网络上通话时发现数据速率低至 30kbit/s。在 T-Mobile 上,它没有受到太多限制(相同位置)。以色列的一位合作伙伴尝试了相同的测试,并且在通话过程中只看到了轻微的限制 - 他使用我们在美国测试的同一部手机仍然看到 500+kbit/s。 (在美国,同一部手机在通话之外的传输速度为几 Mbit/s。)
正如上面的海报所指出的,CDMA 手机根本无法在通话的同时使用数据(但您无论如何都在帖子中明确提到了 GSM) 。
I've run into exactly this problem on AT&T's network in the US. They simply throttle the bandwidth while the call is in progress; whether you're on 3G or H. To see how much you're getting throttled try installing speedtest.net's app and running a speed test during and outside a call.
In the bay area I see data rates as low as 30kbit/s during a call on AT&T's network. On T-Mobile it's not throttled so much (same location). A partner in Israel tried the same test and saw only slight throttling during a call -- he was still seeing 500+kbit/s using the same phone that we tested on in the US. (The same phone that got several Mbit/s outside a call in the US.)
As the poster above points out, CDMA phones can't use data concurrently with a phone call at all (but you said GSM explicitly in your post anyway).
是的,当您正在通话时,可能根本没有互联网连接。这取决于您所在的网络类型。它可能与 GSM、CDMA 以及连接类型有所不同,即。 GPRS、EDGE、3G 或 4G。 3G 和即将推出的 4G 连接应该能够同时为您提供网络连接和语音通话。
Yes, when you are in a call, there might be not internet connection at all. It depends on the type of network you are in. It would vary from GSM, CDMA, and also the connection type, ie. GPRS, EDGE, 3G or 4G. The 3G and upcoming 4G connections should be able to simultaneous give you network connectivity and voice calling.
是的,无线电能够同时发送语音和数据,但据我了解,这是您手机使用的网络的限制。如果您使用的是 Verizon 的 3g 网络,那么这可能就是您的问题。以下文章详细介绍了 at&t 和 Verizon 网络之间的差异:http://mashable.com/2011/01/11/cdma-umts-att-verizon-networks/
Yes, the radio is capable of sending both voice and data simultaneously, but from what I understand its a limitation of the network that your phone uses. If you are on Verizon's 3g network than this is probably your problem. Below is an article that goes into some details about the differences between at&t and Verizon's networks: http://mashable.com/2011/01/11/cdma-umts-att-verizon-networks/
我不知道这种情况是否适用于您使用的运营商,但对于我所在国家/地区的运营商,他们限制每部电话使用的带宽,因此如果用户在该地区使用电话和互联网连接同时,您必须减去用于电话呼叫的带宽,据我所知,GSM 网络的带宽为 48 Kb/s(最大值),一些运营商将呼叫带宽限制为 24 Kb/s,总可用带宽为 64 Kb,所以剩下的带宽用于互联网,我不知道3G网络的带宽用户。
顺便说一句,有些手机不支持同时打电话和上网
以上信息均属于个人信息,可能有误
I don't know if this case apply to the operator you are using, but for the operators in my country, they limit the bandwidth used per phone, so if the user use calls and internet connection in the same time, you must subtract the bandwidth used for the phone call, which as i know 48 Kb/s for GSM networks(as maximum) and some of operators limits the call bandwidth for 24 Kb/s and and the total available bandwidth is 64 Kb, so the rest of the bandwidth is used for internet, and i don't know the bandwidth user for 3G networks.
BTW, some phones doesn't support phone calls and internet usage in the same time
all the information above belong to personal information able to be wrong
我确实确认,除非您使用 WiFi,否则打电话时带宽会减少。
这似乎来自系统,而不是来自操作员。这是因为它是与任何硬件/任何运营商/任何国家/地区一起报告的。我搜索了一些与此相关的官方文档,但找不到任何内容。
我认为到目前为止还没有任何方法可以解决这个问题。
I do confirm the bandwith is reduced during phone calls unless you are using wifi.
This seems to come from the system, not from the operator. This because it is reported with any hardware / any operator / any country. I have searched for some official documentation regarding that but couldn't find any.
I don't think there is any way to work around that so far.