iOS客户端服务器方法 [英] iOS client server approach

查看:39
本文介绍了iOS客户端服务器方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我熟悉用于在其他平台上进行对等或客户端/服务器消息传递的 SOAP 和 Web 服务.消息传递方面的 Apple 等价物是什么?

I'm familiar with SOAP and Webservices for peer-to-peer or client/server messaging on other platforms. What is the Apple equivalent for messaging?

我正在尝试将管理协作工作环境的应用程序服务器放在一起.它将在一个 LAN 上平均有 200 个移动客户端,最多有 1000 个移动客户端.例如,一台 Mac 和 200 部 iPhone.我计划使用 Apple 的 Enteprise 方法将我们的私人(商业)应用分发给我们的每个 iPhone 客户.

I'm trying to put together an application server that will manage a collaborative work environment. It will have an average of 200 and maximum of 1000 mobile clients on a LAN. For example, one Mac and 200 iPhones. I'm planning to use Apple's Enteprise approach to distribute our private (commercial) app to each of our iPhones clients.

服务器可以将配置设置推送到每个客户端.服务器还将向客户端推送少量数据.客户端将在本地对这些数据执行任务,并最终将状态报告给服务器.客户端可以从服务器请求更多的数据集.这些交换可以异步管理.

The server can push configuration settings to each client. The server will also push small sets of data to the clients. The clients will perform tasks on this data locally, and eventually report back status to the server. The clients can request more data sets from the server. These exchanges can be managed asynchronously.

还需要对关键流程进行同步交换.这种情况很少见,但它是必需的.

There is also be a need to have synchronous exchanges for critical processes. This is rare, but it is a requirement.

需要交换的数据相当小.这些客户端/服务器进程依赖于时间,因此性能是关键要求.

The data that needs to be exchanged is reasonably small. These client/server processes are time dependent, so performance is critical requirement.

网络不会共享,但需要严格控制(且速度快).例如.如果有令人信服的理由,它可以是 Bonjour.

The network won't be shared, but needs to be tightly controlled (and fast). E.g. it can be Bonjour if there is a compelling reason for that.

我正在寻找关于要利用 Mac/iOS SDK 的哪些组件的建议.请将第 3 方软件排除在此讨论之外.在考虑外部软件之前,我必须知道 Apple 已经提供了什么以及存在哪些差距.谢谢.

I'm looking for a recommendation on which components of the Mac/iOS SDKs to leverage. Please leave 3rd party software out of this discussion. I must know what Apple already offers and what gaps exist before considering outside software. Thanks.

推荐答案

如果您只打算使用 Mac 和 iOS 产品,那么 Bonjour 确实是您的最佳选择.有大量本地方式可以以字节或对象形式传输数据.

If you are only going to be using Mac and iOS products then Bonjour is really your best bet. There are a ton of native ways to transmit data in either byte or object forms.

WWDC 2012 中有几个很棒的视频展示了新的 Xcode 可以做什么来创建客户端和服务器应用程序.它在保密协议下,但你可能想看看那里:https://developer.apple.com/videos/wwdc/2012/.

There were a couple great videos from WWDC 2012 showing what the new Xcode can do to create client and server applications. It is under NDA, but you may want to take a look there: https://developer.apple.com/videos/wwdc/2012/.

你还说你不想要第三方,有什么特别的原因吗?您会在 Bonjour 之上使用开源层吗?

Also you said you did not want third party, any particular reason? Would you use an open source layer on top of Bonjour?

这篇关于iOS客户端服务器方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆