D**f 发帖数: 439 | |
j********2 发帖数: 4438 | 2 网络稳定的话应该是push省电,如果网络不稳定,客户端经常要重新连接的话,push可
能反而更费电 |
n**y 发帖数: 11447 | 3 大部分时候是push还是pull都不是你能选择的,所以感觉这个问题意义不太大,而且也
没有一个绝对的答案。
不过如果你是开发app,那用google的c2dm push是最省电的 |
s*****m 发帖数: 13092 | 4 为什么c2dm push比苹果微软的push都省电呢?
【在 n**y 的大作中提到】 : 大部分时候是push还是pull都不是你能选择的,所以感觉这个问题意义不太大,而且也 : 没有一个绝对的答案。 : 不过如果你是开发app,那用google的c2dm push是最省电的
|
n**y 发帖数: 11447 | 5 没有吧
各家push原理基本一样,耗电都差不多
但是android的国产app不用google的push,都是他们自己的push,所以比较费电
【在 s*****m 的大作中提到】 : 为什么c2dm push比苹果微软的push都省电呢?
|
s*****m 发帖数: 13092 | 6 哦,他说google的c2dm push是最省电的,所以我就问一下。
【在 n**y 的大作中提到】 : 没有吧 : 各家push原理基本一样,耗电都差不多 : 但是android的国产app不用google的push,都是他们自己的push,所以比较费电
|
n**y 发帖数: 11447 | 7 这个就是android的系统级push
【在 s*****m 的大作中提到】 : 哦,他说google的c2dm push是最省电的,所以我就问一下。
|
g*******t 发帖数: 7704 | 8 Push费电, 因为push需要手机向server不停的发心跳信号,来保持联系,这样才即使
查询到新email |
s*****m 发帖数: 13092 | 9 我怎么看微软ActiveSync一大宣传卖点就是省点啊?找到一个解释:
You can look at it this way. your phone already has a push notification
connection. When developers (including email apps) register for a channel,
it uses this connection. Whether you choose to use it or not. When hotmail
offers push capability, it is using the same system already in operation. A
push notification gets sent through that channel. It s a small data packet
that tells the email program to then go fetch the email. When you are
polling, your phone is constantly checking the server for any changes, in
addition to your push channel already operating.
【在 g*******t 的大作中提到】 : Push费电, 因为push需要手机向server不停的发心跳信号,来保持联系,这样才即使 : 查询到新email
|
D**f 发帖数: 439 | 10 这也是我的看法,我的理解是push就是一个高频的轻量级poll,不知道对不对?
【在 g*******t 的大作中提到】 : Push费电, 因为push需要手机向server不停的发心跳信号,来保持联系,这样才即使 : 查询到新email
|
|
|
g*******t 发帖数: 7704 | 11 基本正确,因为手机是移动的,所以要发心跳信号给server,告诉手机的位置ip等信息,
server才能把email信息发给手机,
【在 D**f 的大作中提到】 : 这也是我的看法,我的理解是push就是一个高频的轻量级poll,不知道对不对?
|
a****a 发帖数: 3905 | 12 你如果把pull限制在很低的频率上应当省电。但是pull是各个app各干个的,每个都在
后台开个服务。。。
A
【在 s*****m 的大作中提到】 : 我怎么看微软ActiveSync一大宣传卖点就是省点啊?找到一个解释: : You can look at it this way. your phone already has a push notification : connection. When developers (including email apps) register for a channel, : it uses this connection. Whether you choose to use it or not. When hotmail : offers push capability, it is using the same system already in operation. A : push notification gets sent through that channel. It s a small data packet : that tells the email program to then go fetch the email. When you are : polling, your phone is constantly checking the server for any changes, in : addition to your push channel already operating.
|
n**y 发帖数: 11447 | 13 android/ios的push连接心跳大概20~30分钟左右一次,不算频繁
【在 D**f 的大作中提到】 : 这也是我的看法,我的理解是push就是一个高频的轻量级poll,不知道对不对?
|
v****e 发帖数: 10715 | 14 那岂不是例如短信通知的push方式更省电吗?这样不用发心跳信号
【在 g*******t 的大作中提到】 : Push费电, 因为push需要手机向server不停的发心跳信号,来保持联系,这样才即使 : 查询到新email
|
n**y 发帖数: 11447 | 15 好像黑莓就这么做的
【在 v****e 的大作中提到】 : 那岂不是例如短信通知的push方式更省电吗?这样不用发心跳信号
|
D**f 发帖数: 439 | 16 这样一来push就不能做到实时了,得有20多分钟的延时,岂不是没有意义?
【在 n**y 的大作中提到】 : android/ios的push连接心跳大概20~30分钟左右一次,不算频繁
|
n**y 发帖数: 11447 | 17 心跳只是你告诉服务器你还活着,不是用来pull的
只要服务器认为你活着,就可以随时push
【在 D**f 的大作中提到】 : 这样一来push就不能做到实时了,得有20多分钟的延时,岂不是没有意义?
|