将数据从服务器推送到移动客户端的最佳方法???
问题描述:
大家好,
推送在服务器端插入/更新的新数据的最佳方法是什么(服务器数据库:SQL Server 2005/2008,客户端数据库:SQL CE 3.5)?
- Microsoft Sync Framework
- RDA
- n> 合并复制
- 任何其他方法???
我需要考虑以下几点
- 如果客户端设备是n / w,则将数据推送到客户端。
- 如果客户端不在n / w,则数据应在服务器中等待,直到它建立连接黑白服务器和客户端设备应用程序。
- 通知客户端应用程序的用户数据/消息已到达。
任何人都可以建议实施此方法的最佳方法吗?
问候,
Praveen K
答
真正的推动可以 - 我的意思是尝试启动连接的服务器只能通过静态IP和私有APN来完成。
您是否正在构建Wifi或GSM类型的网络?
您在列表中忘记了WCF通过Exchange - 在这种情况下,一切都为你完成。
您期待的时间是什么?你需要接近实时吗?我的意思是< 5seconds。
我更喜欢带有类型数据集的WCF或Web服务解决方案,其中客户端开始长时间运行HTTP调用到服务器 - 就像Active Sync一样。并且只有在更新数据时,有效负载才会传递给客户端。
SMS和MessageInterceptor也可以是一种方法。 SMS触发同步。
real push can - I mean the server trying to start a connection can only be done by Static IP and a private APN.
Are you building for Wifi or GSM Type of network?
You forgot in your list WCF via Exchange - in this scenario everything is done for you.
What is the time you expect? do you need close to real time? I mean <5seconds.
I prefer WCF or Webservice Solutions with Typed DataSets where the Clients start long runing HTTP Calls to the Server - Just like Active Sync does. And only if data was updated payload is delivered to the Client.
SMS and MessageInterceptor could also be a way to go. The SMS triggers a Sync.