遠端存取
ThingWorx 遠端存取可讓使用者連接至位于遠端位置的裝置並與其互動。例如,服務技術人員可能需要存取客戶網站的資產。透過建立与裝置相连的通道来建立遠端存取,並由使用者的用戶端應用程式啟用互動。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
管理 ThingWorx Platform 遠端工作階段的 RemoteAccessSubsystem 包含在 RAE 中。對於為最終使用者建立混搭的開發人員而言,此延伸功能包括 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 |
下列主題提供了遠端存取延伸功能和使用遠端存取用戶端的入門步驟: