![]() | 1 ilexswam 2011-03-20 11:39:23 +08:00 iPod Touch也是一样。实时性很高,不是pull的机制。 在路由器的管理界面里,可以看到iOS设备在锁屏时WiFi仍然是连接的。 |
![]() | 2 Mianco 2011-03-20 11:49:25 +08:00 iPad也一样啊。 |
![]() | 3 keakon OP @ilexswam 这个只是路由器没有更新客户端列表而已,实际上连接已经关闭了。很明显的一个例子:iPhone接通电源时,无论是否锁屏,用电脑ping我的iPhone都能ping通;未接通电源时,不锁屏能ping通,锁屏就无法ping通。 |
![]() | 4 keakon OP 看到一篇介绍,说是用TSL连接,而TSL又要建立在TCP上,那么肯定要通过GPRS、EDGE、3G或WIFI之一进行互联网通讯,电话网络是不可能的。 http://xiaolife.com/wordpress/an-introduce-to-iphone-push/ 我在路由器里开启了流量统计,发现不接通电源并锁屏时仍然偶尔会有流量,可见WIFI并不是完全断开的。 此外在苹果的官方文档里发现下面一段话: http://goo.gl/i1E3I Important: Wi-Fi is used for push notifications only if there is no cellular connection or if the device is an iPod touch. For some devices to receive notifications via Wi-Fi, the device’s display must be on (that is, it cannot be sleeping) or it must be plugged in. The iPad, on the other hand, remains associated with the Wi-Fi access point while asleep, thus permitting the delivery of push notifications. The Wi-Fi radio wakes the host processor for any incoming traffic. 也就是说iOS设备的push处理是不同的。如果有蜂窝网络连接,就不会用WIFI来接收push信息的。iPod只能用WIFI,于是锁屏且未接电源时是收不到push信息的。(但是由于每隔一段时间会重新保持TSL连接,这个时候应该是能收到的,这样应该算pull了。)而iPad锁屏是不关闭WIFI的。 |
![]() | 5 bestsong 2011-03-20 13:55:03 +08:00 好像4.0固件之后都是锁屏也不关wifi吧 |
![]() | 6 okevin 2011-04-01 12:51:09 +08:00 锁屏不关wifi的啊 |
![]() | 7 laodouchi 应该是不关闭的,锁屏之后app下载不会中断。 |
8 coderoar 2011-04-02 13:10:14 +08:00 via iPhone 解锁时WIFI的标志还在呢,说明没断。 |
![]() | 9 doskoi 2011-04-02 13:16:24 +08:00 touch lock状态15分钟check一次 |