Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

11th tutorial video review #122

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
In this video, we will explain architecture patterns, and how devices and things interact with controllers, agents, and servers.

Previously we have explained the server and client models and described how this architecture works.

Now we will show how they are used in the WoT systems.

We will introduce 6 architecture patterns in this video.

So, first, let’s start with the device controllers. A common deployment pattern is a local device controlled by a user-operated remote controller. Let’s remember the smart house example from the previous video.

A remote controller can interact with the devices through the local home network.

In this pattern, at least one device has a server role that can accept a request and respond.

Another device remote controller has a client role that can send a message with a request like to read a sensor value or to turn on the device.

Let’s move to the second architecture pattern, Thing-to-Thing. In this scenario we have two electronic devices, let's say a heater and a temperature sensor.

When a sensor detects a change in room condition such as temperature drops below the threshold, it sends the message “turn on” to the heater to turn it on.

Third architecture that we will introduce is Gateways.

Smart home gateways pattern is achieved by placing a gateway between a home network and the Internet to manage devices inside the house. It can also receive commands from a remote controller over the Internet.

In this pattern, the home gateway has both client and server roles.

For instance, when the remote controller, in this case a smartphone, turns on a device, let's say a security camera in the client role and the smartphone in the server role.

On the other way around, when the security camera sends a message to the smartphone, the gateway acts as a server role for the security camera and it acts as a client for the smartphone. If the camera is in a client role, it can pass the firewalls easily.

The next pattern is Digital Twins.

Digital Twin is a model of a device or a group of devices that resides on a cloud server or edge devices.

It is useful to represent real-world devices that may not be continuously online or to test simulations and services before they are deployed to real devices.

It can model one or more devices. Digital Twins can be categorized in different ways depending on whether a device is connected to the cloud or gateway.

Lastly, we will move to cross-domain collaboration. In cross-domain collaborations, each system involves other systems in other domains. For example, Smart Factory with Smart City, Smart City with Smart Home.

In those models, you can exchange information directly with each other in a peer-to-peer manner or indirectly via some collaboration platform.

You can proceed to the next tutorial by clicking on the card or the video description.

Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
WEBVTT

00:00:00.000 --> 00:00:12.662
In this video, we will explain architecture patterns, and how devices and things interact with controllers, agents, and servers.

00:00:12.662 --> 00:00:23.368
Previously we have explained the server and client models and described how this architecture works.

00:00:23.368 --> 00:00:27.193
Now we will show how they are used in the WoT systems.

00:00:27.193 --> 00:00:34.426
We will introduce 6 architecture patterns in this video.

00:00:34.426 --> 00:00:41.951
So, first, let’s start with the device controllers. A common deployment pattern is a local device

00:00:41.951 --> 00:00:49.476
controlled by a user-operated remote controller. Let’s remember the smart house example from the previous video.

00:00:49.476 --> 00:00:54.739
A remote controller can interact with the devices through the local home network.

00:00:54.739 --> 00:01:01.214
In this pattern, at least one device has a server role that can accept a request and respond.

00:01:01.214 --> 00:01:07.645
Another device remote controller has a client role that can send a message with

00:01:07.645 --> 00:01:14.076
a request like to read a sensor value or to turn on the device.

00:01:14.076 --> 00:01:19.401
Let’s move to the second architecture pattern, Thing-to-Thing. In this scenario we

00:01:19.401 --> 00:01:24.726
have two electronic devices, let's say a heater and a temperature sensor.

00:01:24.726 --> 00:01:31.538
When a sensor detects a change in room condition such as temperature drops below the

00:01:31.538 --> 00:01:38.349
threshold, it sends the message “turn on” to the heater to turn it on.

00:01:38.349 --> 00:01:43.374
Third architecture that we will introduce is Gateways.

00:01:43.374 --> 00:01:50.499
Smart home gateways pattern is achieved by placing a gateway between a home network and the Internet to

00:01:50.499 --> 00:01:57.624
manage devices inside the house. It can also receive commands from a remote controller over the Internet.

00:01:57.624 --> 00:02:03.087
In this pattern, the home gateway has both client and server roles.
egekorkan marked this conversation as resolved.
Show resolved Hide resolved

00:02:03.087 --> 00:02:09.193
For instance, when the remote controller, in this case a smartphone, turns on a device, let's

00:02:09.193 --> 00:02:15.299
say a security camera in the client role and the smartphone in the server role.

00:02:15.299 --> 00:02:21.691
On the other way around, when the security camera sends a message to the smartphone, the gateway

00:02:21.691 --> 00:02:28.083
acts as a server role for the security camera and it acts as a client for the

00:02:28.083 --> 00:02:34.474
smartphone. If the camera is in a client role, it can pass the firewalls easily.

00:02:34.474 --> 00:02:37.524
The next pattern is Digital Twins.

00:02:37.524 --> 00:02:41.049
Digital Twin is a model of a device or a group

00:02:41.049 --> 00:02:44.574
of devices that resides on a cloud server or edge devices.

00:02:44.574 --> 00:02:50.343
It is useful to represent real-world devices that may not be continuously online

00:02:50.343 --> 00:02:56.112
or to test simulations and services before they are deployed to real devices.

00:02:56.112 --> 00:03:01.843
It can model one or more devices. Digital Twins can be categorized in different

00:03:01.843 --> 00:03:07.574
ways depending on whether a device is connected to the cloud or gateway.

00:03:07.574 --> 00:03:15.756
Lastly, we will move to cross-domain collaboration. In cross-domain collaborations, each system involves other systems

00:03:15.756 --> 00:03:23.937
in other domains. For example, Smart Factory with Smart City, Smart City with Smart Home.

00:03:23.937 --> 00:03:29.281
In those models, you can exchange information directly with each other

00:03:29.281 --> 00:03:34.624
in a peer-to-peer manner or indirectly via some collaboration platform.

00:03:34.624 --> 00:03:40.549
You can proceed to the next tutorial by clicking on the card or the video description.