© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
Powering Dynamic M2M Event
Processing with OSGi
Dynamic Complex Event Processing and
OSGi
Hitachi Communication Technologies America, Inc.
6/12/2014
Walt Bowers
Chief Architect OSGi Solutions
Contents
© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
1. The Vs of Big Data
2. Complex Event Processing
3. Dynamic Complex Event Processing
Dynamic Complex Event Processing and OSGi.
Powering Dynamic M2M Event Processing with OSGi
1
4. Demo
© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
1. The Vs of Big Data
Dynamic Complex Event Processing and OSGi.
Powering Dynamic M2M Event Processing with OSGi
2
3© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
The Vs of Big Data
4© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
The missing “V” of Big Data
Extracting VALUE from VIABLE Data
WHERE It Matters and WHEN It Matters
The missing “V” of Big Data
5© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
Rise of The Intelligent Device
6© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
Key Elements of Connected Intelligence
Intelligent
Devices
Always-on devices
connected to variety
of sensors and
running multiple
software
applications
1
Real-Time
Analytics
High-frequency
data analysis for
instant decision
making and
automation of
information flows
2
Big Data
Integration of data
from connected
devices with
enterprise
applications and
historical data
3
7© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
Dynamic Predictive Analytics
• Local analytics and business rules are controlled by
global analytics
– In-flight data analytics on the device
– Near real time response on the device
• Global Analytics for the Big Patterns
– Big Data post processing
– Discover Hidden Patterns/dependencies
• Dynamically Adjust the Rules
– Update new rules to the local device
– Enhances the devices local analytics
• Rinse and Repeat
8© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
Transportation Example
Passenger
Counter
M2M Gateway)
1 Location tracking (LBS)
Camera (Normal operation,
local storage; emergencies such
as Amber alert, streaming to
emergency authorities)
Digital signage (Information
and advertising - Location
aware)
Vehicle diagnostics
(Sensors throughout
vehicle)
Route monitoring (Time of
day optimization)
Fraud detection
(Passenger counter,
camera, fare collection)
3
2
4
56
7
© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
2. Complex Event Processing
Dynamic Complex Event Processing and OSGi.
9
Powering Dynamic M2M Event Processing with OSGi
10© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
Intelligence Is Real-Time, Event-Based Analytics
Communication
Events
Machine
Events
Security
Events
Environmental
Events
Business
Logic
Events
Complex Events Processing
enables real-time business insights from edge devices
11© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
Complex Event Processing (CEP)
• Event-driven Architecture
• A generic data management infrastructure for
processing in-flight data before data is
potentially stored to deliver results in near
real-time
• Programming language for defining rules
• It allows users to
Aggregate/Correlate/Enrich/Detect Patterns
in high speed streaming data
12© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
Complex Event Processing (CEP)
Data/Msg.
Feeds
Listener/SINK:
User Code
(Plain Java)
Data Feed
Adapters
Process
Events
(CEP)
CEP Application Container
13© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
Event Capture
Data/Msg.
Feeds Listener/SINK:
User Code
(Plain Java)
Data Feed
Adapters
Process
Events
(CEP)
CEP Application Container
• Events generated at sources
• Adaptor captures event and sends it into the
Event Processing Network
14© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
Event Processing
• Events processed in flight
• Merging multiple event sources and types
• Data enrichment by accessing external data sources
(e.g. databases)
Data/Msg.
Feeds Listener/SINK:
User Code
(Plain Java)
Data Feed
Adapters
Process
Events
(CEP)
CEP Application Container
15© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
Event Dispatch
Data/Msg.
Feeds Listener/SINK:
User Code
(Plain Java)
Data Feed
Adapters
Process
Events
(CEP)
CEP Application Container
• Processing produces events
• Adaptor receives event and sends it into the
downstream clients
© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
3. Dynamic Complex Event Processing
Dynamic Complex Event Processing and OSGi.
16
Powering Dynamic M2M Event Processing with OSGi
17© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
Dynamic Environment
• Devices do not operate in a static environment
• Inputs change
• Knowledge is gained from analytics
• Additional systems want to receive the output
18© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
Dynamic Behavior
• Our Complex Event Processing engine needs
to be dynamic
• Ability to change behavior without stopping the
flow
• Allow a higher level system to change the
processing rules
19© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
Enter OSGi
Powered by
Data/Msg.
Feeds Listener/SINK:
User Code
(Plain Java)
Data Feed
Adapters
Process
Events
(CEP)
CEP Application Container
OSGi Framework
Java
• Dynamic Modular System for Java
• Mature Lightweight Application
Framework
– Ideal for embedded environments
• Supports Module Lifecycle
– Install/start/stop/uninstall/upgrade
– Remotely manageable
– Versioning
• Services Model
– Advertise and discover services
– Modules are dependent on service
not implementation
20© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
OSGi Deployment Environment
OSGi Management System
&
Repository
Data/Msg.
Feeds Listener/SINK:
User Code
(Plain Java)
Data Feed
Adapters
Process
Events
(CEP)
OSGi - CEP
OSGi Framework
Java
Remote Device
21© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
Dynamically Changing Behavior
Data/Msg.
Feeds Listener/SINK:
User Code
(Plain Java)
Data Feed
Adapters
Process
Events
(CEP)
OSGi CEP
OSGi Management System
&
Repository
Remote Device
Deployed System. Happily processing…
22© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
Dynamically Changing Behavior
The Data Inputs Change
Data/Msg.
Feeds Listener/SINK:
User Code
(Plain Java)
Data Feed
Adapters
Process
Events
(CEP)
OSGi CEP
23© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
Dynamically Changing Behavior
Update the adaptor
Data/Msg.
Feeds Listener/SINK:
User Code
(Plain Java)
Data Feed
Adapters
Process
Events
(CEP)
OSGi CEPOSGi Management System
&
Repository
Remote Device
24© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
Dynamically Changing Behavior
Process the Events Differently
Data/Msg.
Feeds Listener/SINK:
User Code
(Plain Java)
Data Feed
Adapters
Process
Events
(CEP)
OSGi CEP
OSGi Management System
&
Repository
Remote Device
25© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
Dynamically Changing Behavior
Forward to additional locations for processing
Data/Msg.
Feeds Listener/SINK:
User Code
(Plain Java)
Data Feed
Adapters
Process
Events
(CEP)
OSGi CEP
OSGi Management System
&
Repository
Remote Device
26© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
Dynamically Changing Behavior
Happily processing again…
OSGi Management System
&
Repository
Remote Device
Data/Msg.
Feeds Listener/SINK:
User Code
(Plain Java)
Data Feed
Adapters
Process
Events
(CEP)
OSGi CEP
© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
4. Demo
How OSGi and Java enables smart data on M2M aggregators and gateways.
Powering Dynamic M2M Event Processing with OSGi
27
28© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
Example: JavaOne IoT In Motion
29© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
The Components
LCD
Display
Phidget
Temp
Sensor
30© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
The Components
• OSGi based
• Continuous Query Language (CQL) for defining rules
• http://www.oracle.com/us/technologies/java/embedded/event-
processing/overview/index.html?ssSourceSiteId=opn
• Arm Based Linux platform
• http://www.raspberrypi.org/
• USB hardware devices
• Open and inexpensive
• http://www.phidgets.com/
• Hitachi’s OSGi Framework
31© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
Dynamic Behavior In Action
Start reporting temperature changes below ambient temperature
32© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
Dynamic Behavior In Action
Change the rules and redeploy remotely
33© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
Dynamic Behavior In Action
Now reporting temperature changes above ambient
temperature
© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
Hitachi Communication Technologies America, Inc.
Dynamic Complex Event Processing and OSGi.
Powering Dynamic M2M Event Processing with OSGi
6/12/2014
Walt Bowers
Chief Architect OSGi Solutions
Walt.bowers@hitachi-cta.com
END
34
Powering Dynamic M2M Event Processing with OSGi - W Bowers
Powering Dynamic M2M Event Processing with OSGi - W Bowers
Appendix
38© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
Volume
3 006 477 107 200 GB added to the “digital universe”
~30% of it generated by machines
42 949 673 000 000 GB – 15 x increase
42 % will be generated by devices
Assuming
2GB/hr it will
take 2.3 billion
years to
download
According to IDC’s “Digital Universe in 2020“ study published in December
2012
39© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
Velocity
40© Hitachi Communication Technologies America, Inc. 2014. All rights reserved.
Variety
•Clickstream Data
•Twitter Feeds
•Facebook Postings
•Web Content
Web and Social Media
•Smart Meters Readings
•RFID Readings
•Oil Rig Sensors
•GP Signals
Machine-to-Machine
•Healthcare Claims
•Telecommunication Call Details Record
•Utility Billing Records
Big Transaction Data
•Facial Recognition
•Genetics
Biometrics
•Call Center Voice Recording
•Email
•Electronic Medical Records
Human Generated

More Related Content

PDF
Smart and Highly Scalable Lifecycle Management for Embedded Devices - Thomas ...
PDF
OSGi in Telematics - Volker Braun
PDF
Webinar Presentation: Validation of “next-gen" in-Vehicle Displays.
PDF
IVI Software Update - Challenges and Strategies - Webinar Presentation
PDF
OPC UA for Embedded & Constrained Devices
PPTX
OPC UA Inside Out Part 6 - Brownfield and Greenfield Webinar
PDF
RA TechED 2019 - IN10 - What Machine Learning can do for you using FactoryTal...
PDF
RA TechED 2019 - CL02 - Integrated Architecture System Software What's New
Smart and Highly Scalable Lifecycle Management for Embedded Devices - Thomas ...
OSGi in Telematics - Volker Braun
Webinar Presentation: Validation of “next-gen" in-Vehicle Displays.
IVI Software Update - Challenges and Strategies - Webinar Presentation
OPC UA for Embedded & Constrained Devices
OPC UA Inside Out Part 6 - Brownfield and Greenfield Webinar
RA TechED 2019 - IN10 - What Machine Learning can do for you using FactoryTal...
RA TechED 2019 - CL02 - Integrated Architecture System Software What's New

What's hot (20)

PDF
OPC UA Inside Out Part 3 - Edge Devices
PDF
RA TechED 2019 - CL01 - Integrated Architecture System Hardware - what's new
PDF
OPC UA Inside Out, Part 1 - Introduction and Playing Field
PDF
RA TechED 2019 - SY08 - Developing Information Ready Applications using Smart...
PDF
Managing Your ROI & TCO In Automation Testing | V&V Webinar PPT
PDF
RA TechED 2019 - SY22 - The Future of Software Purchase and Maintenance
PDF
RA TechED 2019 - SY07- Next-Gen Device Library of Preconfigured Objects
PDF
RA TechED 2019 - IN02 - Empower Your Connected Enterprise with FactoryTalk In...
PPTX
Webinar: The Secret Sauce to a Widely Successful JD Edwards World to JD Edwar...
PDF
Engineer Sensors For Digital Transformation Webinar PPT
PDF
OPC UA Inside Out Part 5 - Cloud Connectivity
PDF
Robert Murphy Driving Value from Smart Manufacturing
PPTX
Designing Machine-level HMI with Studio 5000 View Designer® Demonstration
PDF
RA TechED 2019 - IN12 Microsoft - Digitalize Your Production to Capitalize on...
PDF
An Overview of OPC UA Security
PPTX
Digital Transformation with FDT 3.0 Webinar
PDF
FDT/DTM Introduction Webinar
PPTX
Huawei it l strategy
PDF
Apex atp customer_presentation_wwc march 2019
PDF
Mongo db meetuppresentation-2014-v5-1
OPC UA Inside Out Part 3 - Edge Devices
RA TechED 2019 - CL01 - Integrated Architecture System Hardware - what's new
OPC UA Inside Out, Part 1 - Introduction and Playing Field
RA TechED 2019 - SY08 - Developing Information Ready Applications using Smart...
Managing Your ROI & TCO In Automation Testing | V&V Webinar PPT
RA TechED 2019 - SY22 - The Future of Software Purchase and Maintenance
RA TechED 2019 - SY07- Next-Gen Device Library of Preconfigured Objects
RA TechED 2019 - IN02 - Empower Your Connected Enterprise with FactoryTalk In...
Webinar: The Secret Sauce to a Widely Successful JD Edwards World to JD Edwar...
Engineer Sensors For Digital Transformation Webinar PPT
OPC UA Inside Out Part 5 - Cloud Connectivity
Robert Murphy Driving Value from Smart Manufacturing
Designing Machine-level HMI with Studio 5000 View Designer® Demonstration
RA TechED 2019 - IN12 Microsoft - Digitalize Your Production to Capitalize on...
An Overview of OPC UA Security
Digital Transformation with FDT 3.0 Webinar
FDT/DTM Introduction Webinar
Huawei it l strategy
Apex atp customer_presentation_wwc march 2019
Mongo db meetuppresentation-2014-v5-1

Similar to Powering Dynamic M2M Event Processing with OSGi - W Bowers (20)

PDF
What is IoT and how Modulus and Pacific can Help - Featuring Node.js and Roll...
PDF
Enabling Smart Data on M2M Gateways and Aggregators - Walt Bowers
PDF
Motadata - Unified Product Suite for IT Operations and Big Data Analytics
PPTX
slaes trainin
PPTX
Open Sourcing GemFire - Apache Geode
PPTX
An Introduction to Apache Geode (incubating)
PPTX
Geode Meetup Apachecon
PDF
Device to Intelligence, IOT and Big Data in Oracle
PDF
IoT Scale Event-Stream Processing for Connected Fleet at Penske
PPTX
Microservices: The Future-Proof Framework for IoT
PDF
The Road Map to Digitization - Software AG's Heritage of Innovation - Patrick...
PDF
Motadata product itsm overview
PPTX
Going Beyond the Device Heart Beat
PPTX
Why an innovative mobile strategy needs a robust API
PDF
The value of the platform play in real world use cases Software AG cwin18 tou...
PPTX
Why an Innovative Mobile Strategy Requires a Robust API
PDF
Building the Internet of Everything
PDF
apidays LIVE New York 2021 - Microservice Authorization with Open Policy Agen...
PDF
Session 1908 connecting devices to the IBM IoT Cloud
PDF
Kamanja: Driving Business Value through Real-Time Decisioning Solutions
What is IoT and how Modulus and Pacific can Help - Featuring Node.js and Roll...
Enabling Smart Data on M2M Gateways and Aggregators - Walt Bowers
Motadata - Unified Product Suite for IT Operations and Big Data Analytics
slaes trainin
Open Sourcing GemFire - Apache Geode
An Introduction to Apache Geode (incubating)
Geode Meetup Apachecon
Device to Intelligence, IOT and Big Data in Oracle
IoT Scale Event-Stream Processing for Connected Fleet at Penske
Microservices: The Future-Proof Framework for IoT
The Road Map to Digitization - Software AG's Heritage of Innovation - Patrick...
Motadata product itsm overview
Going Beyond the Device Heart Beat
Why an innovative mobile strategy needs a robust API
The value of the platform play in real world use cases Software AG cwin18 tou...
Why an Innovative Mobile Strategy Requires a Robust API
Building the Internet of Everything
apidays LIVE New York 2021 - Microservice Authorization with Open Policy Agen...
Session 1908 connecting devices to the IBM IoT Cloud
Kamanja: Driving Business Value through Real-Time Decisioning Solutions

More from mfrancis (20)

PDF
Eclipse Modeling Framework and plain OSGi the easy way - Mark Hoffman (Data I...
PDF
OSGi and Java 9+ - BJ Hargrave (IBM)
PDF
Simplify Web UX Coding using OSGi Modularity Magic - Paul Fraser (A2Z Living)
PDF
OSGi for the data centre - Connecting OSGi to Kubernetes - Frank Lyaruu
PDF
Remote Management and Monitoring of Distributed OSGi Applications - Tim Verbe...
PDF
OSGi with Docker - a powerful way to develop Java systems - Udo Hafermann (So...
PDF
A real world use case with OSGi R7 - Jurgen Albert (Data In Motion Consulting...
PDF
OSGi Feature Model - Where Art Thou - David Bosschaert (Adobe)
PDF
Migrating from PDE to Bndtools in Practice - Amit Kumar Mondal (Deutsche Tele...
PDF
OSGi CDI Integration Specification - Ray Augé (Liferay)
PDF
How OSGi drives cross-sector energy management - Jörn Tümmler (SMA Solar Tech...
PDF
Improved developer productivity thanks to Maven and OSGi - Lukasz Dywicki (Co...
PDF
It Was Twenty Years Ago Today - Building an OSGi based Smart Home System - Ch...
PDF
Popular patterns revisited on OSGi - Christian Schneider (Adobe)
PDF
Integrating SLF4J and the new OSGi LogService 1.4 - BJ Hargrave (IBM)
PDF
OSG(a)i: because AI needs a runtime - Tim Verbelen (imec)
PDF
Flying to Jupiter with OSGi - Tony Walsh (ESA) & Hristo Indzhov (Telespazio V...
PDF
MicroProfile, OSGi was meant for this - Ray Auge (Liferay)
PDF
Prototyping IoT systems with a hybrid OSGi & Node-RED platform - Bruce Jackso...
PDF
How to connect your OSGi application - Dirk Fauth (Bosch)
Eclipse Modeling Framework and plain OSGi the easy way - Mark Hoffman (Data I...
OSGi and Java 9+ - BJ Hargrave (IBM)
Simplify Web UX Coding using OSGi Modularity Magic - Paul Fraser (A2Z Living)
OSGi for the data centre - Connecting OSGi to Kubernetes - Frank Lyaruu
Remote Management and Monitoring of Distributed OSGi Applications - Tim Verbe...
OSGi with Docker - a powerful way to develop Java systems - Udo Hafermann (So...
A real world use case with OSGi R7 - Jurgen Albert (Data In Motion Consulting...
OSGi Feature Model - Where Art Thou - David Bosschaert (Adobe)
Migrating from PDE to Bndtools in Practice - Amit Kumar Mondal (Deutsche Tele...
OSGi CDI Integration Specification - Ray Augé (Liferay)
How OSGi drives cross-sector energy management - Jörn Tümmler (SMA Solar Tech...
Improved developer productivity thanks to Maven and OSGi - Lukasz Dywicki (Co...
It Was Twenty Years Ago Today - Building an OSGi based Smart Home System - Ch...
Popular patterns revisited on OSGi - Christian Schneider (Adobe)
Integrating SLF4J and the new OSGi LogService 1.4 - BJ Hargrave (IBM)
OSG(a)i: because AI needs a runtime - Tim Verbelen (imec)
Flying to Jupiter with OSGi - Tony Walsh (ESA) & Hristo Indzhov (Telespazio V...
MicroProfile, OSGi was meant for this - Ray Auge (Liferay)
Prototyping IoT systems with a hybrid OSGi & Node-RED platform - Bruce Jackso...
How to connect your OSGi application - Dirk Fauth (Bosch)

Recently uploaded (20)

PDF
CEH Module 2 Footprinting CEH V13, concepts
PDF
The AI Revolution in Customer Service - 2025
PDF
substrate PowerPoint Presentation basic one
PPTX
Presentation - Principles of Instructional Design.pptx
PDF
Addressing the challenges of harmonizing law and artificial intelligence tech...
PPTX
From Curiosity to ROI — Cost-Benefit Analysis of Agentic Automation [3/6]
PDF
Intravenous drug administration application for pediatric patients via augmen...
PDF
CCUS-as-the-Missing-Link-to-Net-Zero_AksCurious.pdf
PDF
The Digital Engine Room: Unlocking APAC’s Economic and Digital Potential thro...
PDF
Be ready for tomorrow’s needs with a longer-lasting, higher-performing PC
PDF
Child-friendly e-learning for artificial intelligence education in Indonesia:...
PPTX
Report in SIP_Distance_Learning_Technology_Impact.pptx
PDF
Optimizing bioinformatics applications: a novel approach with human protein d...
PDF
Chapter 1: computer maintenance and troubleshooting
PDF
Introduction to c language from lecture slides
PDF
Secure Java Applications against Quantum Threats
PPTX
How to use fields_get method in Odoo 18
PPTX
Rise of the Digital Control Grid Zeee Media and Hope and Tivon FTWProject.com
PDF
Decision Optimization - From Theory to Practice
PPTX
Blending method and technology for hydrogen.pptx
CEH Module 2 Footprinting CEH V13, concepts
The AI Revolution in Customer Service - 2025
substrate PowerPoint Presentation basic one
Presentation - Principles of Instructional Design.pptx
Addressing the challenges of harmonizing law and artificial intelligence tech...
From Curiosity to ROI — Cost-Benefit Analysis of Agentic Automation [3/6]
Intravenous drug administration application for pediatric patients via augmen...
CCUS-as-the-Missing-Link-to-Net-Zero_AksCurious.pdf
The Digital Engine Room: Unlocking APAC’s Economic and Digital Potential thro...
Be ready for tomorrow’s needs with a longer-lasting, higher-performing PC
Child-friendly e-learning for artificial intelligence education in Indonesia:...
Report in SIP_Distance_Learning_Technology_Impact.pptx
Optimizing bioinformatics applications: a novel approach with human protein d...
Chapter 1: computer maintenance and troubleshooting
Introduction to c language from lecture slides
Secure Java Applications against Quantum Threats
How to use fields_get method in Odoo 18
Rise of the Digital Control Grid Zeee Media and Hope and Tivon FTWProject.com
Decision Optimization - From Theory to Practice
Blending method and technology for hydrogen.pptx

Powering Dynamic M2M Event Processing with OSGi - W Bowers

  • 1. © Hitachi Communication Technologies America, Inc. 2014. All rights reserved. Powering Dynamic M2M Event Processing with OSGi Dynamic Complex Event Processing and OSGi Hitachi Communication Technologies America, Inc. 6/12/2014 Walt Bowers Chief Architect OSGi Solutions
  • 2. Contents © Hitachi Communication Technologies America, Inc. 2014. All rights reserved. 1. The Vs of Big Data 2. Complex Event Processing 3. Dynamic Complex Event Processing Dynamic Complex Event Processing and OSGi. Powering Dynamic M2M Event Processing with OSGi 1 4. Demo
  • 3. © Hitachi Communication Technologies America, Inc. 2014. All rights reserved. 1. The Vs of Big Data Dynamic Complex Event Processing and OSGi. Powering Dynamic M2M Event Processing with OSGi 2
  • 4. 3© Hitachi Communication Technologies America, Inc. 2014. All rights reserved. The Vs of Big Data
  • 5. 4© Hitachi Communication Technologies America, Inc. 2014. All rights reserved. The missing “V” of Big Data Extracting VALUE from VIABLE Data WHERE It Matters and WHEN It Matters The missing “V” of Big Data
  • 6. 5© Hitachi Communication Technologies America, Inc. 2014. All rights reserved. Rise of The Intelligent Device
  • 7. 6© Hitachi Communication Technologies America, Inc. 2014. All rights reserved. Key Elements of Connected Intelligence Intelligent Devices Always-on devices connected to variety of sensors and running multiple software applications 1 Real-Time Analytics High-frequency data analysis for instant decision making and automation of information flows 2 Big Data Integration of data from connected devices with enterprise applications and historical data 3
  • 8. 7© Hitachi Communication Technologies America, Inc. 2014. All rights reserved. Dynamic Predictive Analytics • Local analytics and business rules are controlled by global analytics – In-flight data analytics on the device – Near real time response on the device • Global Analytics for the Big Patterns – Big Data post processing – Discover Hidden Patterns/dependencies • Dynamically Adjust the Rules – Update new rules to the local device – Enhances the devices local analytics • Rinse and Repeat
  • 9. 8© Hitachi Communication Technologies America, Inc. 2014. All rights reserved. Transportation Example Passenger Counter M2M Gateway) 1 Location tracking (LBS) Camera (Normal operation, local storage; emergencies such as Amber alert, streaming to emergency authorities) Digital signage (Information and advertising - Location aware) Vehicle diagnostics (Sensors throughout vehicle) Route monitoring (Time of day optimization) Fraud detection (Passenger counter, camera, fare collection) 3 2 4 56 7
  • 10. © Hitachi Communication Technologies America, Inc. 2014. All rights reserved. 2. Complex Event Processing Dynamic Complex Event Processing and OSGi. 9 Powering Dynamic M2M Event Processing with OSGi
  • 11. 10© Hitachi Communication Technologies America, Inc. 2014. All rights reserved. Intelligence Is Real-Time, Event-Based Analytics Communication Events Machine Events Security Events Environmental Events Business Logic Events Complex Events Processing enables real-time business insights from edge devices
  • 12. 11© Hitachi Communication Technologies America, Inc. 2014. All rights reserved. Complex Event Processing (CEP) • Event-driven Architecture • A generic data management infrastructure for processing in-flight data before data is potentially stored to deliver results in near real-time • Programming language for defining rules • It allows users to Aggregate/Correlate/Enrich/Detect Patterns in high speed streaming data
  • 13. 12© Hitachi Communication Technologies America, Inc. 2014. All rights reserved. Complex Event Processing (CEP) Data/Msg. Feeds Listener/SINK: User Code (Plain Java) Data Feed Adapters Process Events (CEP) CEP Application Container
  • 14. 13© Hitachi Communication Technologies America, Inc. 2014. All rights reserved. Event Capture Data/Msg. Feeds Listener/SINK: User Code (Plain Java) Data Feed Adapters Process Events (CEP) CEP Application Container • Events generated at sources • Adaptor captures event and sends it into the Event Processing Network
  • 15. 14© Hitachi Communication Technologies America, Inc. 2014. All rights reserved. Event Processing • Events processed in flight • Merging multiple event sources and types • Data enrichment by accessing external data sources (e.g. databases) Data/Msg. Feeds Listener/SINK: User Code (Plain Java) Data Feed Adapters Process Events (CEP) CEP Application Container
  • 16. 15© Hitachi Communication Technologies America, Inc. 2014. All rights reserved. Event Dispatch Data/Msg. Feeds Listener/SINK: User Code (Plain Java) Data Feed Adapters Process Events (CEP) CEP Application Container • Processing produces events • Adaptor receives event and sends it into the downstream clients
  • 17. © Hitachi Communication Technologies America, Inc. 2014. All rights reserved. 3. Dynamic Complex Event Processing Dynamic Complex Event Processing and OSGi. 16 Powering Dynamic M2M Event Processing with OSGi
  • 18. 17© Hitachi Communication Technologies America, Inc. 2014. All rights reserved. Dynamic Environment • Devices do not operate in a static environment • Inputs change • Knowledge is gained from analytics • Additional systems want to receive the output
  • 19. 18© Hitachi Communication Technologies America, Inc. 2014. All rights reserved. Dynamic Behavior • Our Complex Event Processing engine needs to be dynamic • Ability to change behavior without stopping the flow • Allow a higher level system to change the processing rules
  • 20. 19© Hitachi Communication Technologies America, Inc. 2014. All rights reserved. Enter OSGi Powered by Data/Msg. Feeds Listener/SINK: User Code (Plain Java) Data Feed Adapters Process Events (CEP) CEP Application Container OSGi Framework Java • Dynamic Modular System for Java • Mature Lightweight Application Framework – Ideal for embedded environments • Supports Module Lifecycle – Install/start/stop/uninstall/upgrade – Remotely manageable – Versioning • Services Model – Advertise and discover services – Modules are dependent on service not implementation
  • 21. 20© Hitachi Communication Technologies America, Inc. 2014. All rights reserved. OSGi Deployment Environment OSGi Management System & Repository Data/Msg. Feeds Listener/SINK: User Code (Plain Java) Data Feed Adapters Process Events (CEP) OSGi - CEP OSGi Framework Java Remote Device
  • 22. 21© Hitachi Communication Technologies America, Inc. 2014. All rights reserved. Dynamically Changing Behavior Data/Msg. Feeds Listener/SINK: User Code (Plain Java) Data Feed Adapters Process Events (CEP) OSGi CEP OSGi Management System & Repository Remote Device Deployed System. Happily processing…
  • 23. 22© Hitachi Communication Technologies America, Inc. 2014. All rights reserved. Dynamically Changing Behavior The Data Inputs Change Data/Msg. Feeds Listener/SINK: User Code (Plain Java) Data Feed Adapters Process Events (CEP) OSGi CEP
  • 24. 23© Hitachi Communication Technologies America, Inc. 2014. All rights reserved. Dynamically Changing Behavior Update the adaptor Data/Msg. Feeds Listener/SINK: User Code (Plain Java) Data Feed Adapters Process Events (CEP) OSGi CEPOSGi Management System & Repository Remote Device
  • 25. 24© Hitachi Communication Technologies America, Inc. 2014. All rights reserved. Dynamically Changing Behavior Process the Events Differently Data/Msg. Feeds Listener/SINK: User Code (Plain Java) Data Feed Adapters Process Events (CEP) OSGi CEP OSGi Management System & Repository Remote Device
  • 26. 25© Hitachi Communication Technologies America, Inc. 2014. All rights reserved. Dynamically Changing Behavior Forward to additional locations for processing Data/Msg. Feeds Listener/SINK: User Code (Plain Java) Data Feed Adapters Process Events (CEP) OSGi CEP OSGi Management System & Repository Remote Device
  • 27. 26© Hitachi Communication Technologies America, Inc. 2014. All rights reserved. Dynamically Changing Behavior Happily processing again… OSGi Management System & Repository Remote Device Data/Msg. Feeds Listener/SINK: User Code (Plain Java) Data Feed Adapters Process Events (CEP) OSGi CEP
  • 28. © Hitachi Communication Technologies America, Inc. 2014. All rights reserved. 4. Demo How OSGi and Java enables smart data on M2M aggregators and gateways. Powering Dynamic M2M Event Processing with OSGi 27
  • 29. 28© Hitachi Communication Technologies America, Inc. 2014. All rights reserved. Example: JavaOne IoT In Motion
  • 30. 29© Hitachi Communication Technologies America, Inc. 2014. All rights reserved. The Components LCD Display Phidget Temp Sensor
  • 31. 30© Hitachi Communication Technologies America, Inc. 2014. All rights reserved. The Components • OSGi based • Continuous Query Language (CQL) for defining rules • http://www.oracle.com/us/technologies/java/embedded/event- processing/overview/index.html?ssSourceSiteId=opn • Arm Based Linux platform • http://www.raspberrypi.org/ • USB hardware devices • Open and inexpensive • http://www.phidgets.com/ • Hitachi’s OSGi Framework
  • 32. 31© Hitachi Communication Technologies America, Inc. 2014. All rights reserved. Dynamic Behavior In Action Start reporting temperature changes below ambient temperature
  • 33. 32© Hitachi Communication Technologies America, Inc. 2014. All rights reserved. Dynamic Behavior In Action Change the rules and redeploy remotely
  • 34. 33© Hitachi Communication Technologies America, Inc. 2014. All rights reserved. Dynamic Behavior In Action Now reporting temperature changes above ambient temperature
  • 35. © Hitachi Communication Technologies America, Inc. 2014. All rights reserved. Hitachi Communication Technologies America, Inc. Dynamic Complex Event Processing and OSGi. Powering Dynamic M2M Event Processing with OSGi 6/12/2014 Walt Bowers Chief Architect OSGi Solutions [email protected] END 34
  • 39. 38© Hitachi Communication Technologies America, Inc. 2014. All rights reserved. Volume 3 006 477 107 200 GB added to the “digital universe” ~30% of it generated by machines 42 949 673 000 000 GB – 15 x increase 42 % will be generated by devices Assuming 2GB/hr it will take 2.3 billion years to download According to IDC’s “Digital Universe in 2020“ study published in December 2012
  • 40. 39© Hitachi Communication Technologies America, Inc. 2014. All rights reserved. Velocity
  • 41. 40© Hitachi Communication Technologies America, Inc. 2014. All rights reserved. Variety •Clickstream Data •Twitter Feeds •Facebook Postings •Web Content Web and Social Media •Smart Meters Readings •RFID Readings •Oil Rig Sensors •GP Signals Machine-to-Machine •Healthcare Claims •Telecommunication Call Details Record •Utility Billing Records Big Transaction Data •Facial Recognition •Genetics Biometrics •Call Center Voice Recording •Email •Electronic Medical Records Human Generated