Book Image

Hands-On Industrial Internet of Things

By : Giacomo Veneri, Antonio Capasso
Book Image

Hands-On Industrial Internet of Things

By: Giacomo Veneri, Antonio Capasso

Overview of this book

We live in an era where advanced automation is used to achieve accurate results. To set up an automation environment, you need to first configure a network that can be accessed anywhere and by any device. This book is a practical guide that helps you discover the technologies and use cases for Industrial Internet of Things (IIOT). Hands-On Industrial Internet of Things takes you through the implementation of industrial processes and specialized control devices and protocols. You’ll study the process of identifying and connecting to different industrial data sources gathered from different sensors. Furthermore, you’ll be able to connect these sensors to cloud network, such as AWS IoT, Azure IoT, Google IoT, and OEM IoT platforms, and extract data from the cloud to your devices. As you progress through the chapters, you’ll gain hands-on experience in using open source Node-Red, Kafka, Cassandra, and Python. You will also learn how to develop streaming and batch-based Machine Learning algorithms. By the end of this book, you will have mastered the features of Industry 4.0 and be able to build stronger, faster, and more reliable IoT infrastructure in your Industry.
Table of Contents (18 chapters)

Bigtable

To store our data, we need the support of Cloud Storage. We can use three different data storage services—Cloud BigQuery, Cloud Bigtable, and Cloud Datastore. To store time-series, Google suggest that you use Bigtable. Bigtable is very similar to the popular open source platform Apache HBase. Bigtable is organized in tables, rows, columns, and families of columns:

  • A table is a collection of rows
  • A row is a collection of column families
  • A column family is a collection of columns
  • A column is a collection of key value pairs

In our exercise, we are going to build a schema, where a combination of device IDs and timestamps is the row key and the column families are the sensors. Please look into the layout and the content of the following table:

Column family

Column family

sensor1

sensor2

Row key

Column

Column

Column

Column

Deviceid...