远程访问
ThingWorx Remote Access 允许最终用户连接到远程位置上的设备并与其进行交互。例如,服务技术人员可能需要访问客户场所的资产。远程访问通过创建到设备的隧道来建立,与设备的交互则通过客户端应用程序向最终用户启用。ThingWorx Remote Access Extension (RAE) 和 ThingWorx Remote Access Client (RAC) 构建于现有的 ThingWorx 隧道通信功能并进行了扩展,从而支持包括 ThingWorx Internal Remote Access Provider 和 Axeda Global Access Server 在内的远程访问服务器。下图说明了 ThingWorx 中远程访问的高级体系结构:
远程访问基本体系结构
RAE 和 RAC 支持运行以下任一软件的设备:
• 使用以下 Edge SDK 之一编写的 Edge 应用程序:ThingWorx Edge C SDK、ThingWorx Edge Java SDK 或 ThingWorx Edge .NET SDK。
• ThingWorx WebSocket-based Edge MicroServer (WS EMS) 和 Lua Script Resource (LSR)。
• Axeda eMessage Agents
RAE 中包括为 ThingWorx Platform 管理远程会话的 RemoteAccessSubsystem。对于为最终用户创建混搭的开发人员,此扩展包括 RAClientLinker 小组件。该小组件旨在与 RemoteAccessProvider 事物配合使用。
RAE 提供多种事物用作代理的 RemoteAccessProvider,如下表所示。
| 对于 Axeda eMessage Agents,您还需要使用 ThingWorx Axeda Compatibility Extension (ACE)。此扩展提供专门用于远程访问服务器的实体,以及使用这些代理程序运行远程会话的实体。RAE 和 ACE 均在 ThingWorx Axeda Compatibility Package 中提供。 |
代理程序 | 代理程序使用的远程访问服务器 | RemoteAccessProvider 事物 | 扩展 |
---|
ThingWorx WebSocket-based Edge MicroServer (WS EMS) | ThingWorx Internal | ThingWorxInternalRemoteAccessProvider 事物 | Remote Access Extension |
使用 ThingWorx Edge SDK (C、Java 或 .NET) 编写的 Edge 应用程序 | ThingWorx Internal | ThingWorxInternalRemoteAccessProvider 事物 | Remote Access Extension |
Axeda eMessage Agents (Axeda Gateway Agent 和 Axeda Connector Agent) | Axeda Global Access Server (GAS) | GASRemoteAccessProvider 事物 | Axeda Compatibility Extension |
以下主题包含了解远程访问扩展和使用远程访问客户端的步骤: