How Integration Delivers and Directs Real-Time Data in IoT Workflows
How Integration Delivers and Directs Real-Time Data in IoT Workflows
The cloud realm and all the -as-a-Services therein are the key to bringing real-time data to IoT. Here are a few examples how how to integrate the cloud into IoT.
Join the DZone community and get the full member experience.Join For Free
By definition, real-time data is information that is delivered immediately. Older legacy systems that claim to support real-time in fact do not. But even modern cloud-based systems, despite their support for easy connectivity via APIs and mobile scenarios, were not designed for the contemporary take on real-time.
A common root cause for a system to fail to deliver true real-time is because of its limited or inadequate underlying architecture. Contemporary integration uses webhooks to receive notifications when an event occurs. While this is generally accepted as ‘close enough’, you’re actually just retrofitting an existing, inadequate architecture and in the process of patching up one issue, creating other problems.
What is encouraging is that some components of newer systems are being designed to meet the needs of IoT — including intense data workflows, support for smaller software footprint on devices with limited compute power — and there are glimmers of true real-time scenarios among them. However, you also need integration technologies to support real-time properly to build real solutions that are useful in the real world.
IoT is a good place to examine real-time deployments, even if you don’t have an IoT project on your ‘To Do’ list because a successful IoT experience relies on enabling data to flow in real time. When true real-time data can flow back and forth, actual business goals can be met, such as providing better customer service, improving the effectiveness of loyalty programs or increasing time to market with a new offering.
In this article, I’ll reveal a pattern for delivering real-time data using a surprising ingredient – cloud integration.
A Recipe For Success: An Integration Pattern That Supports Realtime
The most common real-time integration recipe almost always includes the following components: data stream processing, rule matching, and integrating with other systems to provide some kind of notification to an end user, woven together with an integration Platform-as-a-Service (iPaaS) and, at times, a Mobile Backend-as-a-Service (MBaaS).
The benefit of this pattern is that it allows you to plug and play into different systems and use cases. The ingredients to the solution remain the same no matter the context; be it mobile, web, or IoT, consumer or industrial, prototype or large-scale deployment.
Although business goals differ depending on the organization, a properly designed ‘connected architecture’ (and the workflows that support it) enables the use of a consistent pattern that can be recycled to solve very different business challenges.
To illustrate this point further, here are some variable use cases where real-time data delivery is expressed as different flavors to a reusable pattern.
Use Case #1: Loyalty Programs and Sales in Connected Spaces
Sales and loyalty programs are only useful if they play out in a timely manner. It’s rare that a customer will remember to bring a coupon they see in a newspaper to a store, but if he or she receives a notification for a coupon on their smartphone as they walk toward a store, they might actually walk inside and use it. Why? Because it’s timely, convenient, and highly contextual.
Under the surface, the technology that helps guide customer behavior is, of course, real-time data. In the context of a connected space that incorporates a loyalty program, the integration workflow might look like the following:
Data is collected in the MBaaS from an IoT device like a beacon, sensor, or mobile app. This essentially functions as a database, where it can be easily accessed by a number of other services through proper integration. This means if a space is “connected,” it can access the loyalty system, the location-based couponing service and the self-checkout system all from one location using integrated data.
You can copy and paste this integration pattern into a variety of scenarios, like connected hospitality, connected retail or a connected event space.
Use Case #2: Preemptive Customer Service
Great customer service relies on predicting customer needs. In this world, nothing beats preventing or solving an issue before a customer even experiences it. Once again, the technical recipe to help support this means access to real-time data streams from multiple services and locations. Here’s an example of an IIoT elevator use case to help explain this pattern:
IIoT brings real value to large scale technology deployments – such as a bank of elevators in a commercial building – by reducing the cost of maintenance, optimizing spare part stocking and increasing overall service efficiency. An elevator with intelligent monitoring systems can alert a company (or a person) of potential issues before something actually breaks down. From there, the “smart” elevator can show the service technician the exact part that needs to be replaced and automatically deliver the service manual to the person’s mobile device--all before someone ever gets stuck in a broken elevator.
In the context of a physical product/industrial IoT scenario, an integration workflow might look like this:
Sensors attached to an IIoT device can funnel data into your database or MBaaS, and then channel it into an AI system that can compare the status of the device to historical data and predict if there will be an issue. If a problem arises, based on business logic or rules, the ticket can be routed to the right service agent so they can proactively work to solve the problem before the customer is negatively affected.
Again, this integration pattern could be used in a variety of IIoT contexts, ranging from vending machines, to jet engines, to supply chain management, to connected transportation.
Use case #3: Engineering Feedback Loop for Connected Transportation in a Post-Production Supply Chain Environment
Continuous improvement is one of the best ways to get ahead in IoT development. And a key component to help set a company up for success is real-time data integration. In the context of connected transportation, an integration workflow might look like this:
Modern vehicles provide a constant stream of real-time data, which can be used to streamline the post-production maintenance and diagnostics of a connected vehicle, such as a Tesla.
For example, if a vehicle’s brakes are overheating from normal usage, a notification could be sent automatically to the car’s owner to take it to the nearest service center via directions through an integration with Google Places and Waze. The car would then notify the service center that it’s on its way with the estimated arrival time. From there, the parts center would be alerted to send a delivery to arrive at the same time as the car itself.
The value of integration and real-time data in a post-production supply chain is that it reduces the lifetime cost of supporting human lag time. Instead of a vehicle sitting in a service center for days while the car’s problem is being diagnosed and parts are delivered and installed, with real-time data integration, the vehicle can be back on the road later that same day, instead of a week later.
By providing car technicians with pertinent information in real time, they’re able to do their jobs better and more quickly, ultimately positively impacting the customer’s experience. Implementation of real-time technology not only improves customer satisfaction, but also reduces cost and trouble for the dealership, manufacturer, and owner.
The Future Of Real Time
Connecting systems to manage real-time data flow used to be incredibly finicky and required specialized knowledge and tools. More recently, industry standards and protocols have allowed such integrations to become more standardized.
Similarly, a new generation of cloud integration platforms are making it faster, easier and cheaper to orchestrate the necessary connections: A growing number of innovative iPaaS (integration platform-as-a-service offerings) provide the flexible glue to connect any service with quasi-realtime support today and replace it with a true real-time system as it becomes available. This convenient plug-and-play framework allows for a continuous upgrade cycle, where real-time capabilities can be added or upgraded on-demand, without breaking the overall architecture or solution.
With an iPaaS, you can integrate terabytes of data from disparate cloud systems, build triggers that kick off data workflows and maintain connections to true real-time systems and devices, including sensors and beacons. As the costs associated with IoT continue to decrease, I expect real-time data flows to increase exponentially everywhere around us. In addition, iPaaS also makes it possible for a new generation of non-technical users to create real-time data flows.
Imagine empowering the facilities team in an office building to create automated workflows themselves. Or allowing security to connect real-time building access data with live video feeds and a facial recognition service. Such solutions would have taken months to build not that long ago and would not have been real-time. We’re at a point in time where even a semi-technical user can create solutions for themselves in a fraction of the time and without specialized knowledge.
The future is exciting, thanks to integration coupled with new technology. Soon most scenarios we imagined as futuristic will feel normal.
In another example, consider the City of San Francisco: five years ago bus schedules were proudly displayed over many bus stops, but they showed when the bus should be there versus when it would be there. Once an API was released, apps like NextBus were able to process real-time data to show exactly where the buses were and how long it would take for it to actually arrive. Today, this feels expected.
Now, think of a world where a city’s transportation system, its traffic monitoring system, its traffic control system, weather information and private solutions such as Lyft and Google Maps can all share and compute data instantly. The system can analyze and reroute traffic based on current and future conditions, which represents a major leap forward compared to what was possible by relying on machine learning based solely on historic traffic patterns and near-realtime data.
The future is bright. It’s connected. And it’s real-time.
Published at DZone with permission of Nishant Patel , DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.