Reader small image

You're reading from  Industrial Internet Application Development

Product typeBook
Published inSep 2018
Reading LevelIntermediate
PublisherPackt
ISBN-139781788298599
Edition1st Edition
Languages
Tools
Right arrow
Authors (4):
Alena Traukina
Alena Traukina
author image
Alena Traukina

Alena Traukina is IoT practice Lead at Altoros. She has over 12 years of experience in delivery and support of business-critical software applications, working closely with business owners and providing strategic and organizational leadership for software development. Over the years, Elena has served in different capacities, ranging from software engineer to software engineering manager and the head of Altoross Ruby Department. She is also one of the first GE's Predix Influencers.
Read more about Alena Traukina

Jayant Thomas
Jayant Thomas
author image
Jayant Thomas

Jayant Thomas (JT) is the director of software engineering for the IoT apps for GE Digital. He is responsible for building IoT SaaS applications using the Predix platform, and specializes in building microservices-based architecture, reactive, event-driven systems. JT holds a masters in technology from NIIT and MBA in technology from UC Davis, CA, and has 12 patents in the speech language processing, multimodal application, and cloud architectures. When not hacking code, JT spends time with kids and enjoys crossfit training and kickboxing.
Read more about Jayant Thomas

Prashant Tyagi
Prashant Tyagi
author image
Prashant Tyagi

https://www.linkedin.com/mynetwork/invite-connect/connections/ In discussion for Cloud agritech
Read more about Prashant Tyagi

Veera Kishore Reddipalli
Veera Kishore Reddipalli
author image
Veera Kishore Reddipalli

Kishore Reddipalli is a software technical director and expert in building IIoT big data and cloud computing platforms and products at ultra scale. He is passionate about building software for analytics and machine learning to make the authoring of algorithms at scale, from inception to production, a simpler process. He has been a speaker at global conferences on big data technologies. Over the years, he has provided leadership in various capacities. Throughout his career, his roles have ranged from software engineer to director of engineering and architecture for the development of platforms and products in domains such as clinical decision support systems, electronic medical records, Predix Platform, Predix Operations Optimization for IIoT, and etch-process control at nanometer level using big data and machine learning technologies in the semiconductor industry. He holds an MS in computer science from Texas A&M University Corpus Christi.
Read more about Veera Kishore Reddipalli

View More author details
Right arrow

IIoT Application Architecture and Design

In the previous chapter, we covered the core components and many of the business cases, of IIoT. We will continue the journey and dive deep into IoT application architecture and develop our first end-to-end IoT application utilizing the knowledge we have gained.

In this chapter, we will cover some of the key aspects of IIoT application development:

  • The challenges of developing IIoT applications
  • IIoT system architecture
  • Deep diving into edge and cloud application development
  • The core concepts of using a sample end-to-end IIoT application

IIoT applications – an introduction

The Industrial Internet of Things (IIoT) is designed to harness the power of IIoT and cloud in health care, manufacturing, and industrial environments to monitor performance, optimize operations, and solve problems remotely, all using IIoT applications. The focus of IIoT applications is on connecting equipment such as turbines, jet engines, and locomotives, to the cloud and to each other, in meaningful ways. As such, IIoT application design has many similarities with typical IoT application design in addressing concerns such as edge connectivity, massive data, high-speed data ingestion, and security. But there are some unique challenges, such as knowledge of asset models, industrial analytics, and industrial operations, when you create applications for industrial customers.

...

IIoT system architecture

IIoT system architecture, in its simplistic view, consists of three tiers (as the following diagram illustrates):

  • Tier 1: Devices
  • Tier 2: The Edge Gateway
  • Tier 3: The cloud
Three-tier architecture of a typical IIoT end-to-end application

Tier 1 of the IIoT architecture consists of networked components, typically sensors and actuators, from the IIoT equipment, which use protocols such as Modbus, Zigbee, or proprietary protocols, to connect to an Edge Gateway. Tier 2 includes sensor data aggregation systems called Edge Gateways that provide functionality, such as preprocessing of the data, securing connectivity to cloud, and using systems such as WebSockets, the event hub, and, even in some cases, edge analytics or fog computing. Tier 3 includes the cloud application built for IIoT using the microservices architecture, which is usually polyglot and inherently...

The anatomy of our first IIoT application

We will design our first IIoT application end-to-end architecture using a very lightweight Edge Gateway that checks for any deviation in the temperature data using basic threshold analytics. When the threshold is breached, an alert is sent to the alert service in the cloud for storage and further processing of the alerts:

High level end-to-end architecture of the sample IIoT application with an Edge Gateway which has a basic analytic which sends alerts to the cloud

We will use a node server to design the analytics and use WebSocket as the cloud connectivity. We will connect to the cloud application using Spring Boot with PostgreSQL as the data store. Analytics will be a very simple descriptive analytics deployed in the Edge Gateway that is threshold-based which generates the alerts in the Cloud. The architecture of the sample application...

IIoT/IoT platforms overview

Now that we have seen the basic components of IIoT application architecture let us look at a few options to choose before building our IIoT solutions. Building a IIoT application from the ground up is possible and requires a large amount of setup, computer power and storage. For a typical IIoT application we need to set up various different programming language environments, database options, analytics frameworks, such as Spark or Storm, data ingestion pipelines and so on. It is possible to build the entire setup from the ground up, but we can also potentially use a robust IIoT platform if it meets our needs.

Utilizing a good IIoT platform will provide you with the needed infrastructure and guidelines to successfully build and launch your IIoT applications, and also it will shorten your go to market timeline. IIoT platforms free up the developer&apos...

Summary

In this chapter the high-level architecture of IIoT applications. Furthermore, we developed our own sample application to illustrate the richness and depth of the IIoT application ecosystem. To summarize: IIoT consists of three key components namely device, the gateway, and the cloud. Devices, with their sensor, gets connected to gateway, which aggregates the data from sensors and typically applies some basic analytics. Gateways, using secure protocols such as MQTT or HTTPS/WebSockets, connect to the Cloud, which stores the data for further processing.

In addition, we covered in depth the details of each of the tiers, including a good overview of PaaS and a sample PaaS platform, Cloud Foundry, and the development model using microservices in cloud. We also covered a sample application covering all of the three tiers. Finally, we ended this chapter with an overview of a...

lock icon
The rest of the chapter is locked
You have been reading a chapter from
Industrial Internet Application Development
Published in: Sep 2018Publisher: PacktISBN-13: 9781788298599
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
undefined
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime

Authors (4)

author image
Alena Traukina

Alena Traukina is IoT practice Lead at Altoros. She has over 12 years of experience in delivery and support of business-critical software applications, working closely with business owners and providing strategic and organizational leadership for software development. Over the years, Elena has served in different capacities, ranging from software engineer to software engineering manager and the head of Altoross Ruby Department. She is also one of the first GE's Predix Influencers.
Read more about Alena Traukina

author image
Jayant Thomas

Jayant Thomas (JT) is the director of software engineering for the IoT apps for GE Digital. He is responsible for building IoT SaaS applications using the Predix platform, and specializes in building microservices-based architecture, reactive, event-driven systems. JT holds a masters in technology from NIIT and MBA in technology from UC Davis, CA, and has 12 patents in the speech language processing, multimodal application, and cloud architectures. When not hacking code, JT spends time with kids and enjoys crossfit training and kickboxing.
Read more about Jayant Thomas

author image
Prashant Tyagi

https://www.linkedin.com/mynetwork/invite-connect/connections/ In discussion for Cloud agritech
Read more about Prashant Tyagi

author image
Veera Kishore Reddipalli

Kishore Reddipalli is a software technical director and expert in building IIoT big data and cloud computing platforms and products at ultra scale. He is passionate about building software for analytics and machine learning to make the authoring of algorithms at scale, from inception to production, a simpler process. He has been a speaker at global conferences on big data technologies. Over the years, he has provided leadership in various capacities. Throughout his career, his roles have ranged from software engineer to director of engineering and architecture for the development of platforms and products in domains such as clinical decision support systems, electronic medical records, Predix Platform, Predix Operations Optimization for IIoT, and etch-process control at nanometer level using big data and machine learning technologies in the semiconductor industry. He holds an MS in computer science from Texas A&M University Corpus Christi.
Read more about Veera Kishore Reddipalli