惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Attack and Defense Labs
Attack and Defense Labs
The GitHub Blog
The GitHub Blog
C
Check Point Blog
博客园_首页
MongoDB | Blog
MongoDB | Blog
N
Netflix TechBlog - Medium
F
Full Disclosure
Microsoft Security Blog
Microsoft Security Blog
爱范儿
爱范儿
Recent Announcements
Recent Announcements
阮一峰的网络日志
阮一峰的网络日志
G
GRAHAM CLULEY
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
Threat Research - Cisco Blogs
C
Cybersecurity and Infrastructure Security Agency CISA
V
Vulnerabilities – Threatpost
K
Kaspersky official blog
博客园 - 司徒正美
S
Schneier on Security
T
The Exploit Database - CXSecurity.com
Project Zero
Project Zero
云风的 BLOG
云风的 BLOG
Cisco Talos Blog
Cisco Talos Blog
Know Your Adversary
Know Your Adversary
雷峰网
雷峰网
V
V2EX - 技术
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Spread Privacy
Spread Privacy
罗磊的独立博客
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
S
Security Affairs
SecWiki News
SecWiki News
Schneier on Security
Schneier on Security
O
OpenAI News
Jina AI
Jina AI
PCI Perspectives
PCI Perspectives
Cyberwarzone
Cyberwarzone
Y
Y Combinator Blog
Apple Machine Learning Research
Apple Machine Learning Research
B
Blog RSS Feed
I
InfoQ
D
Docker
P
Palo Alto Networks Blog
Recorded Future
Recorded Future
M
MIT News - Artificial intelligence
博客园 - Franky
B
Blog
Scott Helme
Scott Helme
博客园 - 叶小钗
D
DataBreaches.Net

博客园 - maoyu417

Size Classes with Xcode 6 Android viewPage notifyDataSetChanged无刷新 同一位置(同一个ImageView)显示不同的图片--level-list (转) (Android实战)界面设计注意事项 LinearLayout android:layout_weight的理解 给C盘减减肥,让你电脑飞一般速度! - maoyu417 用SQL查看字符串ASCII码 解决union不能order by问题 利用sender的Parent获取GridView中的当前行(转载) - maoyu417 gridview固定表头 - maoyu417 - 博客园 将某网站设为主页方法 - maoyu417 - 博客园 DataList分页方法一 - maoyu417 - 博客园 SQL区分大小写——转载 字符串间空格在网页上自动合并 - maoyu417 Windows Mobil中解决日期显示不正常的方法 - maoyu417 VS升级序列号及升级方法 a标签变灰且不可用 - maoyu417 ASP.NET读取XML文件4种方法 - maoyu417 超时时间已到。在操作完成之前超时时间已过或服务器未响应。 - maoyu417
android、apple PUSH 异同比较
maoyu417 · 2011-10-30 · via 博客园 - maoyu417

相同点:

实现思路。 

自己的服务器与apple(APNS)或google PUSH服务器进行通信,PUSH服务器依据相应的条件(如:当前终端在线),向相应的终端设备发送PUSH信息。

 终端设备通过自己确定身份的机制告知PUSH服务器我存在,并将PUSH服务器返回给终端的一个ID发给自己的服务器,当自己服务器需要PUSH时,与Apple或android PUSH服务器通信,其中需发送ID信息。

不同点:

设备身份的确定 

 APPLE

每个终端设备独有设备证书,而APNS也有一个服务器证书,两者建立的时候,进行证书的有效性检查

PUSH认证检查分两层:

1 TLS加密连接

TLS连接成功,会将设备证书发给APNS,并每15分钟会进行一次TLS握手;若握手失败,会不断去连接。

2 令牌认证

TLS连接成功后,通过设备证书及密钥计算出每个设备的设备令牌,然后将设备令牌发给终端设备,以确定设备的唯一身份。

 Android

需要用户自己注册一个gmail邮箱,通过gmail邮箱确定终端设备。