Skip to content

Commit

Permalink
[#43] Provide concept guide for the Kanto Local Digital Twins (#156)
Browse files Browse the repository at this point in the history
Signed-off-by: Antonia Avramova <[email protected]>
Signed-off-by: Kristiyan Gostev <[email protected]>
Co-authored-by: Kristiyan Gostev <[email protected]>
  • Loading branch information
antonia-avramova and k-gostev authored Jun 28, 2024
1 parent 9dc59dc commit 654129e
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 3 deletions.
2 changes: 1 addition & 1 deletion web/site/content/docs/concepts/file-upload.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: "File upload"
type: docs
description: >
Empower the edge device to upload files to various storage providers.
weight: 4
weight: 7
---

File upload enables sending of files to a backend storage of choice. It can be used both locally and remotely via a desired IoT cloud ecosystem. The following use cases are provided:
Expand Down
33 changes: 33 additions & 0 deletions web/site/content/docs/concepts/local-digital-twins.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
title: "Local digital twins"
type: docs
description: >
Empower the edge device with local digital twins for more advanced offline scenarios.
weight: 6
---

Local digital twins enables the digital twin state on a local level even in offline scenarios. It provides the following use cases:

* **Mirrors the applications**
* **Persistency** - digital twins are stored locally
* **Cloud connectivity** - provide connectivity to the cloud (similar to [Suite connector]({{< relref "suite-connector" >}}))
* **Offline scenarios** - local applications stay fully operable as if the connection with the cloud is not interrupted
**Synchronization** - when connection to the cloud is established the last known digital twin state is synchronized

![Local Digital Twins](/kanto/images/docs/concepts/local-digital-twins.png)

### How it works

Similar to the [Suite connector]({{< relref "suite-connector" >}}) service the **local digital twins** service needs to establish a connection to the cloud. To do this this the edge has to be manually or automatically provisioned. This connection is then used as a channel to pass the edge telemetry and event messages. Once a connection is established the device can be operated via commands.

To ensure that the digital twin state is available on a local level even in offline mode (no matter of the connection state) the **local digital twins** service persist all changes locally. Such capabilities were implemented to support offline scenarios and advanced edge computing involving synchronization with the cloud after disruptions or outages. The synchronization mechanisms were also designed in a way to significantly reduce data traffic, and efficiently prevent data loss due to long-lasting disruptions.

Upon reconnection, the **local digital twins** will notify the cloud of any changes during the offline mode and synchronize the digital twins state.

The synchronization works in both directions:
* Cloud -> Local digital twins - desired properties are updated if such changes are requested from the cloud.
* Local digital twins -> Cloud - local digital twins state is sent to the cloud (e.g. all current features, their reported properties values, and any removed features while there was no connection).

### What's next

[How to receive offline the structure of your edge device.]({{< relref "../how-to-guides/offline-edge-device" >}})
2 changes: 1 addition & 1 deletion web/site/content/docs/concepts/suite-connector.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: "Suite connector"
type: docs
description: >
Empower the edge device with a remote connectivity.
weight: 1
weight: 5
---

Suite connector enables the remote connectivity to an IoT cloud ecosystem of choice, powered by Eclipse Hono™ (e.g. {{% refn "https://www.eclipse.org/packages/packages/cloud2edge" %}}Eclipse Cloud2Edge{{% /refn %}} and Bosch IoT Suite). It provides the following use cases:
Expand Down
2 changes: 1 addition & 1 deletion web/site/content/docs/concepts/update-manager.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: "Update manager"
type: docs
description: >
Empower the edge device for OTA updates.
weight: 2
weight: 4
---

Update manager enables a lightweight core component which is capable to easily perform complex OTA update scenarios on a target device. The following capabilities are provided:
Expand Down
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 654129e

Please sign in to comment.