狠狠撸

狠狠撸Share a Scribd company logo
Anytao 让windows phone应用在云端翱翔
WPH-200-1




让Windows Phone应用在云端翱翔

王涛、李会军
架构师
北京若云兄弟科技有限公司
? 王涛
  ? 专注于.NET,架构师,微软MVP, 著《你必须知道
    的.NET》。
  ? http://weibo.com/anytao
  ? anytao@rybrother.com
? 李会军
  ? 架构师,语言爱好者,关注高并发、高性能互联网架构、
    并行计算、分布式存储与计算。
  ? http://weibo.com/terryleeme
  ? terry@rybrother.com
Anytao 让windows phone应用在云端翱翔
? 对于Windows Azure
? 对于Windows Phone
? 基于推荐引擎的移劢应用
? 最佳实践
? 趋势必行
   ? 数据、资源、复杂计算走向云端
   ? 应用、桌面深入移动端
? Cloud
   ? 提供了更大的资源池
   ? 提供了一处服务、多处设备的可能
   ? 按需消费
   ? 自动管理
   ? 可用性
? Phone
   ? 实现了更近的访问(LBS)
   ? 实现了随时、随地
Cloud = (数据软件 + 平台 + 基础设施) × 服务




          Phone = (随时 + 随地) × 服务


                           服务


                   以无限应对有限
?   PaaS(Not IaaS or SaaS)
?   可伸缩性、高可靠性、安全性
?   支付系统
?   更多附加服务(ASC、Traffic Manager、Caching、CDN)
?   统一的工具和平台
     ? .NET/Silverlight/C#/VB .NET
     ? Visual Studio / Expression Blend
     ? 模拟器开发
     ? 易于迁移
                   Azure for Device, not only for Windows Phone
? Phone+Cloud


? 对于Windows Phone
? 基于推荐引擎的移劢应用
? 最佳实践
Anytao 让windows phone应用在云端翱翔
? Phone+Cloud
? 对于Windows Azure


? 基于推荐引擎的移劢应用
? 最佳实践
Windows Phone   7
WP7
三分天下   iPhone

       Android
? Phone+Cloud
? 对于Windows Azure
? 对于Windows Phone


? 最佳实践
演示
海纳
www.haina123.com
?   高计算量服务
?   随时骤增的资源需求
?   高性能
?   缓存
?   完全自劢化的部署和配置管理
?   可伸缩性、可靠性、安全性保证
?   通知服务
?   成本控制
?   与既有服务的整合
?   多移劢端平台:Windows Phone、iOS、Android、Html5
?   同一个平台、同一套工具
用户信息验证
 发送通知
 计算推荐
?   身份认证
?   存储
?   服务和计算
?   通信
?   推送通知
?   其他
? 通信
? 通信模型
  ? Phone-initiated
  ? Cloud-initiated



               Push VS Pull
               Server-Push   Client-Pull
? HTTP-based, request/response
? 框架选择(WCF, OData, WebRequest, etc.)
? 格式选择(SOAP, JSON, POX, etc.)
? Push Notifications
   ? Phone和MSPN单连接
   ? 带宽和电池友好
   ? 无需运维
? 3种类型
   ? Raw – 发送消息给application
   ? Toast – 发送消息给user
   ? Tile – 更新Tile Title
Cloud Service




Windows Phone 7

                      MPNS
演示
? Windows 8
   ? WNS, Windows Push Notification Service
? Windows Phone
   ? MPNS, Microsoft Push Notification Service
? iOS
   ? APNS, Apple Push Notification Service
? Android
   ? C2DM, Cloud To Device Messaging
? 身份认证
? 使用既有身份服务
   ? LiveID、Facebook、OpenID
? ACS(Access Control Service)
? 自定义身份服务
   ? username + password
   ? token
? 存储
? SQL Azure   ? Windows Azure Table
   ? 关系数据库      ? 非关系结构数据
   ? 高可用性       ? 横向扩展
   ? 通过服务管理     ? OData
              ? Windows Azure Blob
                ? 大文件
                ? Restful API
              ? Windows Azure Queue
                ? 分布式队列
? 客户端发送数据到Web
  Role
? Web Role将数据存储在SQL   Web
  Azure               Role
? 客户端发送数据到Web
  Role
? Web Role将数据存储在   Web
  Blobs            Role
? 客户端直接获取Blob数据
? 服务和计算
? Web Role有IIS
? Worker Role 没有
  ? DLL with Main()
? 都实现了RoleEntryPoint
1.   Web Role接受消息          Web    Worker
                           Role    Role
2.   Web Role将工作加入队列
                                           MPNS
3.   Worker Role从队列获取并处理
4.   Worker Role发送通知
HainaService     Portal Site
ContentService   Admin Site
                 Image Service
  Instance1~X
    instance1     InstanceX+1
CD   CD   CD   CD   CD   CD
 N    N    N    N    N    N
Anytao 让windows phone应用在云端翱翔
? Phone+Cloud
? 对于Windows Azure
? 对于Windows Phone
? 基于推荐引擎的移劢应用
Game




   UX                 Performance
                                      Storage
        Design

                                          Network


MVVM
                        Data
                                    XNA
            Service
让开发飞一会儿。。。
(v1.3.0)
http://watoolkitwp7.codeplex.com/
? WP7, http://watwp.codeplex.com/
? iOS, https://github.com/microsoft-dpe/wa-toolkit-ios
? Android, https://github.com/microsoft-dpe/wa-toolkit-android




              Azure for Device, not only for Windows Phone
Anytao 让windows phone应用在云端翱翔
Anytao 让windows phone应用在云端翱翔
Anytao 让windows phone应用在云端翱翔
? 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should
 not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS,
                                                                           IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

More Related Content

Viewers also liked (8)

PPTX
10 wp7 local database
Tao Wang
?
PPTX
13 wp7 working with azure
Tao Wang
?
PDF
01 windows azure platform overview
Tao Wang
?
PPTX
12 wp7 marketing windows phone applications
Tao Wang
?
PPTX
09 wp7 multitasking
Tao Wang
?
PDF
Windows Phone 7 in azure
Tao Wang
?
PPTX
11 wp7 designing applicationsusingexpressionblend
Tao Wang
?
PPTX
Windows Azure Platform Overview
BusinessIntelligenze
?
10 wp7 local database
Tao Wang
?
13 wp7 working with azure
Tao Wang
?
01 windows azure platform overview
Tao Wang
?
12 wp7 marketing windows phone applications
Tao Wang
?
09 wp7 multitasking
Tao Wang
?
Windows Phone 7 in azure
Tao Wang
?
11 wp7 designing applicationsusingexpressionblend
Tao Wang
?
Windows Azure Platform Overview
BusinessIntelligenze
?

Similar to Anytao 让windows phone应用在云端翱翔 (20)

PDF
Chinese Uses of Big Data Cloud Security 漫步在雲端資安新戰場
Bill Hagestad II
?
PDF
从网格计算到云计算
Riquelme624
?
PPTX
移动互联网的机遇与挑战
Courtney Chow
?
PDF
今日如何建立一个安全的私有云
ITband
?
PPT
Sec.3 遠端安全連線解決方案-array adonis
道成资讯股份有限公司
?
PPT
什么是云计算
Liyang Tang
?
PDF
Cloud client : 达尔文信息云浏览器
Ying LI
?
PPT
透明计算与云计算
longhao
?
PPT
Challenges and opportunities computing Kuo-Yi Chen
kuoyichen
?
PPT
0506 Windows Server 2008 終端機服務
Timothy Chen
?
PPT
云计算可信评估方法研究
iamafan
?
ODP
云端技术的新趋势
Jazz Yao-Tsung Wang
?
PDF
twMVC#05 |開發與移轉 ASP.NET MVC 4.0 應用程式到 Windows Azure Platform
twMVC
?
PDF
Huawei cloud computing
ssuser220dc6
?
PPT
0509 Windows Serevr 2008 新世代網路應用程式
Timothy Chen
?
PDF
Top100summit 腾讯-周健-服务化与体系化解决大量定制小项目开发困境
drewz lin
?
PDF
Cloud ready v mware 云计算解决方案
ITband
?
PDF
贰耻肠补濒测辫迟耻蝉安装及实例映像制作
liangxiao0315
?
PDF
SignalR實戰技巧 twmvc#17
twMVC
?
PPT
SWsoft_Prim@Telecom
webhostingguy
?
Chinese Uses of Big Data Cloud Security 漫步在雲端資安新戰場
Bill Hagestad II
?
从网格计算到云计算
Riquelme624
?
移动互联网的机遇与挑战
Courtney Chow
?
今日如何建立一个安全的私有云
ITband
?
Sec.3 遠端安全連線解決方案-array adonis
道成资讯股份有限公司
?
什么是云计算
Liyang Tang
?
Cloud client : 达尔文信息云浏览器
Ying LI
?
透明计算与云计算
longhao
?
Challenges and opportunities computing Kuo-Yi Chen
kuoyichen
?
0506 Windows Server 2008 終端機服務
Timothy Chen
?
云计算可信评估方法研究
iamafan
?
云端技术的新趋势
Jazz Yao-Tsung Wang
?
twMVC#05 |開發與移轉 ASP.NET MVC 4.0 應用程式到 Windows Azure Platform
twMVC
?
Huawei cloud computing
ssuser220dc6
?
0509 Windows Serevr 2008 新世代網路應用程式
Timothy Chen
?
Top100summit 腾讯-周健-服务化与体系化解决大量定制小项目开发困境
drewz lin
?
Cloud ready v mware 云计算解决方案
ITband
?
贰耻肠补濒测辫迟耻蝉安装及实例映像制作
liangxiao0315
?
SignalR實戰技巧 twmvc#17
twMVC
?
SWsoft_Prim@Telecom
webhostingguy
?
Ad

More from Tao Wang (16)

PDF
团队高效沟通的秘密
Tao Wang
?
PDF
高效团队的秘密
Tao Wang
?
PDF
Worktile 更好用的公司协作平台
Tao Wang
?
PDF
Hello, Worktile Pro
Tao Wang
?
PPTX
08 wp7 push notification
Tao Wang
?
PPTX
08 wp7 push notification
Tao Wang
?
PPTX
07 wp7 application lifecycle
Tao Wang
?
PPTX
06 wp7 isolation storage
Tao Wang
?
PPTX
03 wp7 application bar
Tao Wang
?
PPTX
03 wp7 application bar
Tao Wang
?
PPTX
05 wp7 launchers and choosers
Tao Wang
?
PPTX
04 wp7 pivot and panorama
Tao Wang
?
PPTX
02 wp7 building silverlight applications
Tao Wang
?
PPTX
01 wp7 introduction
Tao Wang
?
PDF
Azure 迁移之道
Tao Wang
?
PPTX
Facebook and its development
Tao Wang
?
团队高效沟通的秘密
Tao Wang
?
高效团队的秘密
Tao Wang
?
Worktile 更好用的公司协作平台
Tao Wang
?
Hello, Worktile Pro
Tao Wang
?
08 wp7 push notification
Tao Wang
?
08 wp7 push notification
Tao Wang
?
07 wp7 application lifecycle
Tao Wang
?
06 wp7 isolation storage
Tao Wang
?
03 wp7 application bar
Tao Wang
?
03 wp7 application bar
Tao Wang
?
05 wp7 launchers and choosers
Tao Wang
?
04 wp7 pivot and panorama
Tao Wang
?
02 wp7 building silverlight applications
Tao Wang
?
01 wp7 introduction
Tao Wang
?
Azure 迁移之道
Tao Wang
?
Facebook and its development
Tao Wang
?
Ad

Anytao 让windows phone应用在云端翱翔

  • 3. ? 王涛 ? 专注于.NET,架构师,微软MVP, 著《你必须知道 的.NET》。 ? http://weibo.com/anytao ? anytao@rybrother.com ? 李会军 ? 架构师,语言爱好者,关注高并发、高性能互联网架构、 并行计算、分布式存储与计算。 ? http://weibo.com/terryleeme ? terry@rybrother.com
  • 5. ? 对于Windows Azure ? 对于Windows Phone ? 基于推荐引擎的移劢应用 ? 最佳实践
  • 6. ? 趋势必行 ? 数据、资源、复杂计算走向云端 ? 应用、桌面深入移动端 ? Cloud ? 提供了更大的资源池 ? 提供了一处服务、多处设备的可能 ? 按需消费 ? 自动管理 ? 可用性 ? Phone ? 实现了更近的访问(LBS) ? 实现了随时、随地
  • 7. Cloud = (数据软件 + 平台 + 基础设施) × 服务 Phone = (随时 + 随地) × 服务 服务 以无限应对有限
  • 8. ? PaaS(Not IaaS or SaaS) ? 可伸缩性、高可靠性、安全性 ? 支付系统 ? 更多附加服务(ASC、Traffic Manager、Caching、CDN) ? 统一的工具和平台 ? .NET/Silverlight/C#/VB .NET ? Visual Studio / Expression Blend ? 模拟器开发 ? 易于迁移 Azure for Device, not only for Windows Phone
  • 9. ? Phone+Cloud ? 对于Windows Phone ? 基于推荐引擎的移劢应用 ? 最佳实践
  • 11. ? Phone+Cloud ? 对于Windows Azure ? 基于推荐引擎的移劢应用 ? 最佳实践
  • 13. WP7 三分天下 iPhone Android
  • 14. ? Phone+Cloud ? 对于Windows Azure ? 对于Windows Phone ? 最佳实践
  • 16. ? 高计算量服务 ? 随时骤增的资源需求 ? 高性能 ? 缓存 ? 完全自劢化的部署和配置管理 ? 可伸缩性、可靠性、安全性保证 ? 通知服务 ? 成本控制 ? 与既有服务的整合 ? 多移劢端平台:Windows Phone、iOS、Android、Html5 ? 同一个平台、同一套工具
  • 18. ? 身份认证 ? 存储 ? 服务和计算 ? 通信 ? 推送通知 ? 其他
  • 20. ? 通信模型 ? Phone-initiated ? Cloud-initiated Push VS Pull Server-Push Client-Pull
  • 21. ? HTTP-based, request/response ? 框架选择(WCF, OData, WebRequest, etc.) ? 格式选择(SOAP, JSON, POX, etc.)
  • 22. ? Push Notifications ? Phone和MSPN单连接 ? 带宽和电池友好 ? 无需运维 ? 3种类型 ? Raw – 发送消息给application ? Toast – 发送消息给user ? Tile – 更新Tile Title
  • 25. ? Windows 8 ? WNS, Windows Push Notification Service ? Windows Phone ? MPNS, Microsoft Push Notification Service ? iOS ? APNS, Apple Push Notification Service ? Android ? C2DM, Cloud To Device Messaging
  • 27. ? 使用既有身份服务 ? LiveID、Facebook、OpenID ? ACS(Access Control Service) ? 自定义身份服务 ? username + password ? token
  • 29. ? SQL Azure ? Windows Azure Table ? 关系数据库 ? 非关系结构数据 ? 高可用性 ? 横向扩展 ? 通过服务管理 ? OData ? Windows Azure Blob ? 大文件 ? Restful API ? Windows Azure Queue ? 分布式队列
  • 30. ? 客户端发送数据到Web Role ? Web Role将数据存储在SQL Web Azure Role
  • 31. ? 客户端发送数据到Web Role ? Web Role将数据存储在 Web Blobs Role ? 客户端直接获取Blob数据
  • 33. ? Web Role有IIS ? Worker Role 没有 ? DLL with Main() ? 都实现了RoleEntryPoint
  • 34. 1. Web Role接受消息 Web Worker Role Role 2. Web Role将工作加入队列 MPNS 3. Worker Role从队列获取并处理 4. Worker Role发送通知
  • 35. HainaService Portal Site ContentService Admin Site Image Service Instance1~X instance1 InstanceX+1
  • 36. CD CD CD CD CD CD N N N N N N
  • 38. ? Phone+Cloud ? 对于Windows Azure ? 对于Windows Phone ? 基于推荐引擎的移劢应用
  • 39. Game UX Performance Storage Design Network MVVM Data XNA Service
  • 42. ? WP7, http://watwp.codeplex.com/ ? iOS, https://github.com/microsoft-dpe/wa-toolkit-ios ? Android, https://github.com/microsoft-dpe/wa-toolkit-android Azure for Device, not only for Windows Phone
  • 46. ? 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.