Internet Of Things 简明教程

Internet of Things - Thingworx

Thingworx 是一个用于快速开发和部署智能互联设备的平台。其一系列集成的物联网开发工具支持物联网开发的连接、分析、生产和其它方面。

Thingworx is a platform for the rapid development and deployment of smart, connected devices. Its set of integrated IoT development tools support connectivity, analysis, production, and other aspects of IoT development.

它提供了用于实施增强现实发展的 Vuforia 和用于工业连接的 Kepware。KEPServerEX 提供了一个数据分发点,并在与 ThingWorx 代理配对时促进了互操作性。

It offers Vuforia for implementing augmented reality development, and Kepware for industrial connectivity. KEPServerEX provides a single point for data distribution, and facilitates interoperability when partnered with a ThingWorx agent.

thingworx agent

Components

Thingworx 提供了一些构建应用程序的关键工具。这些工具包括 Composer、Mashup Builder、存储、搜索引擎、协作和连接。Composer 提供了一个用于设计测试的建模环境。Mashup Builder 通过常见的组件(或小部件)来简单地构建仪表盘;例如,按钮、列表、维基、仪表等。

Thingworx offers several key tools for building applications. These tools include the Composer, the Mashup Builder, storage, a search engine, collaboration, and connectivity. The Composer provides a modeling environment for design testing. The Mashup Builder delivers easy dashboard building through common components (or widgets); for example, buttons, lists, wikis, gauges, and etc.

Thingworx 使用了一个名为 SQUEAL 的搜索引擎,即搜索、查询和分析。用户使用 SQUEAL 分析和过滤数据,以及搜索记录。

Thingworx uses a search engine known as SQUEAL, meaning Search, Query, and Analysis. Users employ SQUEAL in analyzing and filtering data, and searching records.

Interface

ThingWorx 平台使用某些术语,您必须熟悉它们。在主屏幕的顶部菜单中,您可以搜索或创建 entities 。“实体”指 ThingWorx 中创建的事物。您还可以导入/导出文件并在其上执行各种操作。

The ThingWorx platform uses certain terms you must familiarize yourself with. In the main screen’s top menu, you search for entities or create them. “Entity” refers to something created in ThingWorx. You can also import/export files and perform various operations on them.

在左侧菜单中,您会找到实体组,用于生成模型和可视化数据;并管理存储、协作、安全和系统。

In the left menu, you find entity groups, which are used to produce models and visualize data; and manage storage, collaboration, security, and the system.

interface

当您在菜单中选择建模类别时,您将通过创建实体开始此过程。实体可以是任何物理设备或软件元素,它会在其属性值发生变化时生成事件;例如,传感器检测到温度变化。您可以设置 events 通过订阅触发操作,该订阅会根据设备变化做出决策。

When you select the Modeling category in the menu, you begin the process by creating an entity. The entity can be any physical device or software element, and it produces an event on changes to its property values; for example, a sensor detects a temperature change. You can set events to trigger actions through a subscription which makes decisions based on device changes.

Data Shapes 由一个或多个字段组成。它们描述了自定义事件、信息表、流和数据表的数据结构。数据形状被认为是实体。

Data Shapes consist of one or more fields. They describe the data structure of custom events, infotables, streams, and datatables. Data shapes are considered entities.

datashapes fields

Thing TemplatesThing Shapes 使开发人员避免在大型物联网系统中重复设备属性定义。开发人员创建 Thing 模版以允许新设备继承属性。他们使用 Thing 形状来定义模板、属性或执行服务。

Thing Templates and Thing Shapes allow developers to avoid repeating device property definitions in large IoT systems. Developers create Thing Templates to allow new devices to inherit properties. They use Thing Shapes to define Templates, properties, or execute services.

请注意,Thing 只能从单个模板继承属性、服务、事件和其他特性,但是,Thing 和模板可以从多个 Thing 形状继承属性。

Note a Thing only inherits properties, services, events, and other qualities from a single template, however, Things and templates can inherit properties from multiple Thing Shapes.

Development

ThingWorx 实际上需要非常少的编程。用户连接设备、建立数据源、建立设备行为,并在不编写任何代码的情况下构建界面。它还提供了适用于业余爱好者项目和工业应用的可扩展性。

ThingWorx actually requires very little programming. Users connect devices, establish a data source, establish device behaviors, and build an interface without any coding. It also offers scalability appropriate for both hobbyist projects and industrial applications.