Omnia IOT网络架构

Omnia is a network of IoT devices acting as one ubiquitous computer in order to fit the human environment and invisibly enhance our lives.

Omnia Network Architecture


Omnia Backend is the core of the Omnia Network and is deployed as a canister on the Internet Computer. It manages the interaction main components of the Omnia Network.


Omnia 后端是 Omnia 网络的核心,作为容器部署在互联网计算机上。 它管理 Omnia 网络的交互主要组件。


The Omnia Network architecture can be represented by this schema:




The main components are:

  • Omnia Backend, that manages the registration and indexing of Gateways, Devices and Applications. It also offers an admin interface for Managers, the people that own the Devices and make them available by installing a Gateway. See README for details.  管理网关、设备和应用程序的注册和索引。 它还为管理员(拥有设备并通过安装网关使其可用的人员)提供管理界面。 有关详细信息,请参阅自述文件。

  • Omnia Gateway, that is deployed near to devices and makes them available through the Web of Things (WoT) standard. See omnia-network/omnia-gateway repository for details.

  • IoT Devices, that are spread all over the world and can communicate in different IoT protocols.

  • Applications, that can discover the devices by querying the RDF endpoint exposed by the Backend and can interact with them through the Gateways. These applications are developed by third parties and can be deployed anywhere (e.g. on the Internet Computer, on AWS, etc.).   可以通过查询后端公开的 RDF 端点来发现设备,并可以通过网关与它们交互。 这些应用程序由第三方开发,可以部署在任何地方(例如,在互联网计算机上、AWS 上等)。

    In order to interact with the devices, the application needs an Access Key that can be obtained from the Backend. The access key is used in the HTTP requests to the Gateway to authenticate the application and authorize the access to the devices. See Access Key for details.  为了与设备交互,应用程序需要一个可从后端获取的访问密钥。 访问密钥在对网关的 HTTP 请求中使用,以对应用程序进行身份验证并授权对设备的访问。 有关详细信息,请参阅访问密钥。

  • For an example of an application that turns on and off a light and runs on the Internet Computer, see omnia-network/omnia_lighting_app.   有关打开和关闭灯并在互联网计算机上运行的应用程序示例,请参阅 omnia-network/omnia_lighting_app。

The Omnia Proxy, instead, is not a core component of the Omnia Network. It's a useful tool provided by Omnia to make the WoT endpoint of the Gateway available to the Internet in such cases where the Gateway is behind a NAT or a firewall, doesn't have a public IP address, port forwarding is not possible or any other reason that makes it not publicly accessible. See omnia-network/omnia-proxy repository for details on how it works.


相反,Omnia 代理并不是 Omnia 网络的核心组件。 这是 Omnia 提供的一个有用工具,在网关位于 NAT 或防火墙后面、没有公共 IP 地址、无法进行端口转发或任何其他情况下,使网关的 WoT 端点可用于 Internet 导致其无法公开访问的原因。 有关其工作原理的详细信息,请参阅 omnia-network/omnia-proxy 存储库。


RDF database

Omnia Backend embeds an RDF database where devices' metadata (the Environment they belong to, their affordances, etc.) are stored. It's implemented using the omnia-network/ic-oxigraph library.

SPARQL endpoint is available through both the Backend canister's HTTPS endpoint and the candid methods executeRdfDbQuery and executeRdfDbQueryAsUpdate.


Omnia IOT网络架构
arkMeta Crypto Network Limited, arkSong 2023年11月5日
标签
登录 留下评论

如何使用 CanDB 为数据建模
How to model your data with CanDB