Instructions
This topic describes how to isolate your business program and remote logon program into separate processes. This ensures that you can perform remote Operations and Maintenance (O&M) if a device fails.
Background information
Devices run business services using the message communication capabilities of IoT Platform. Business programs on devices are prone to failure because business services are complex and require regular upgrades. A failure can make the device unavailable.
If the business program and the remote logon program run in the same process, a failure in the business program can also cause the remote logon feature to become unavailable. You can isolate the business program and the remote logon program into separate processes. This ensures that you can perform remote O&M even when the business program fails.
Flowchart

Remote logon information expires. You must send requests periodically to update it.
The business process and the O&M process both run on the device.
Business process: Retrieves device connection information and listens for instructions from the cloud.
- O&M process: Runs the tunnel background service and provides a proxy service for the tunnel feature.