what is iot, and how modulus and pacific can...

42
What Is IoT, and How Modulus and Pacific Can Help Eduardo Pelegri-Llopart Vice President, Technology Progress Software

Upload: others

Post on 26-May-2020

14 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

What Is IoT, and How Modulus and Pacific Can Help

Eduardo Pelegri-Llopart Vice President, Technology Progress Software

Page 2: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

© 2014 Progress Software Corporation. All rights reserved. 2

Agenda

What Is IoT

What Is Node

Why Node.js and IoT

Two Examples

What Else? Samples, More Samples

Page 3: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

What Is IoT

Page 4: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

© 2014 Progress Software Corporation. All rights reserved. 4

Computing Tomorrow Today

Page 5: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

© 2014 Progress Software Corporation. All rights reserved. 5

IoT et al. – Types & Uses

Beacons, (indoor) Location Based Services Payments Home / Office Automation Smart Buildings Industry Automation Wearables Connected Cars Smart Cities ….

Very fast moving space Brought to you by the economy of scale of mobile devices

Page 6: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

Protocols

Page 7: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

© 2014 Progress Software Corporation. All rights reserved. 7

IoT = Connected, Thus, Protocols

Many Protocols, in all layers Physical: Z-Wave, Zigbee, Bluetooth LE, Wi-Fi, RFID, Thread (new),

Ethernet, Radios • Radio frequency, range, power consumption • IP support, Hub/Mesh topology • Examples: iBeacon (BLE) and Philips Hue (Zigbee)

Session / Communication: • HTTP, CoAP (doc transfer)

• XMPP, MQTT, AMQP (pub/sub) What protocol to choose will vary on goals and application

(QoS, Industry/Consumer)

Page 8: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

© 2014 Progress Software Corporation. All rights reserved. 8

Two Examples: iBeacons and Philips Hue

Apple iBeacon – notification protocol on BLE • Signal 2/s – 10/s, 3-6months/2years battery

• Power (proximity) and UID (identity)

• Point-to-Point, no pairing, 50 meters

• Indoor microlocation, retail, etc…

Philips Hue • Ethernet/IP (Bridge) + Zigbee/Mesh (Bulb)

• AC power

• REST interface (to bridge)

• Home automation

Page 9: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

Smart Glasses

Page 10: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

© 2014 Progress Software Corporation. All rights reserved. 10

Display: Glass vs. BT-200

Monocular Small FOV

Binocular Large FOV

Google Glass

Page 11: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

© 2014 Progress Software Corporation. All rights reserved. 11

Business Use Cases and Key Verticals – Smart Glasses

Business Use Cases • Rich Communications – phone, messaging, video conferencing, video sharing

• Continuous data streaming – messages, tasks, alerts

• Augmented reality – Training, recording, next-step guideance, compliance

Key Verticals – Enable “Deskless Workers” 10% of workforce • Military

• Healthcare

• Manufacturing

• Logistics

• Energy/Utilities

Page 12: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

Home Automation

Page 13: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

© 2014 Progress Software Corporation. All rights reserved. 13

Home – Philips Hue, Nest

Building Energy Management – Enlighted Inc

Commercial Appliance Management

ESEV Charging Infrastructure

Home & Building Automation / Industrial Management

Page 14: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

© 2014 Progress Software Corporation. All rights reserved. 14

Business Use Cases

House – Remote control and monitoring,

Automation, Energy monitoring and savings…

Smart Buildings – Better efficiency, Compliance

with new laws (California Title 24)

Industry 4.0, Smart Manufacturing

Business Use Cases – House, Office Automation, Smart Buildings

Recall Apple’s track record of moving from “consumer” to “enterprise”

Page 15: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

Wearables

Page 16: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

© 2014 Progress Software Corporation. All rights reserved. 16

Health / Wearables

Fast moving field

Fitnets bands

Smart watches

Smart clothing

Smart glasses

Page 17: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

Wearables – Telematics

Page 18: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

© 2014 Progress Software Corporation. All rights reserved. 18

Connected Cars

Remote Access to Cars (Tesla, FIAT) and Chargers OTA (Over-the-Air) Fixes pushed to Tesla Cars Vehicle tracking, fleets, taxis….

Page 19: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

Beacons

Page 20: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

© 2014 Progress Software Corporation. All rights reserved. 20

Beacons

Page 21: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

© 2014 Progress Software Corporation. All rights reserved. 21

Business Use Cases – Beacons

Business Use Cases

• Retail – Targeted Advertising, Special Offers, Loyalty Apps, Indoor Micro-location and Navigation

• Warehousing – Location, Inventory

• Electronic Payments

Some Ongoing Trials:

Page 22: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

Smart Cities

Page 23: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

© 2014 Progress Software Corporation. All rights reserved. 23

Smart Cities

Garbage Trucks Lights Utilities Traffic Lights Government 2.0

Page 24: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

So… How Can I Build These Apps?

Page 25: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

© 2014 Progress Software Corporation. All rights reserved. 25

Enter Modulus

Page 26: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

What Is Node.js

Page 27: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

© 2014 Progress Software Corporation. All rights reserved. 27

Node.js = V8 + libuv (+ xtras) + Community (NPM)

A JavaScript Runtime to run outside of the browser

Builds on the Javascript V8 engine and libuv library for async IO

Highly Efficient

Highly Portable

Event-Driven

Built-in package manager (NPM)

Page 28: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

© 2014 Progress Software Corporation. All rights reserved. 28

Why Are JavaScript & Node Growing So Fast?

Why JavaScript?

Virtually all developers know it Widest developer footprint of any language

Easy to learn, productive Even business users learn it fast

Used for everything Browser, Server-side, Mobile, Wearables, IoT

Used at all levels of the stack Frontend, middleware and backend DB

Maximizes developer collaboration All developers can contribute everywhere

Why Node?

Event-based model, highly scalable Great for data-intensive, real-time apps

Web API Focused Very good fit for API-first architectures

Extremely efficient Requires few computational resources

Incredible Community and Ecosystem Over 97,000 packages

Fast and easy setup Passes the 5 minute test

Page 29: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

© 2014 Progress Software Corporation. All rights reserved. 29

Why Is Node a Great Match for IoT

Why JavaScript?

Virtually all developers know it Widest developer footprint of any language

Easy to learn, productive Even business users learn it fast

Used for everything Browser, Server-side, Mobile, Wearables, IoT

Used at all levels of the stack Frontend, middleware and backend DB

Maximizes developer collaboration All developers can contribute everywhere

Why Node?

Event-based model, highly scalable Great for data-intensive, real-time apps

Web API Focused Very good fit for API-first architectures

Extremely efficient Requires few computational resources

Incredible Community and Ecosystem Over 97,000 packages

Fast and easy setup Passes the 5 minute test

Page 30: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

Roll Call Sample

Page 31: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

© 2014 Progress Software Corporation. All rights reserved. 31

Roll Call Sample

Use iBeacons to detect presence in some space Record this in our servers Act on this by manipulating some smart lights For extra credit smart lights are behind firewall

Page 32: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

© 2014 Progress Software Corporation. All rights reserved. 32

Mongoose

BLE/iBeacon

iOS

Web

Node MongoDB

POST request

Express

Roll Call and Node.js

Hue Bridge

Local Node

Server

Modulus Node Server

iOS App

Bulb

Bulb

Bulb

Fire

wal

l

Page 33: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

Snow Plow Sample

Page 34: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

© 2014 Progress Software Corporation. All rights reserved. 34

Tracking and Managing Snow Plows … With Rollbase

Snow Plows (et al) have GPS unit

Based on Jungle Lasers’ App Goal

s Efficiently Managing GPS Stream Data

Exposing data to Rollbase

Page 35: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

© 2014 Progress Software Corporation. All rights reserved. 35

End-to-End: Snow Plow / Geo Data Example Location-viewer

Rollbase App Dashboards

Modulus

JSDO Remote Objects

AngularJS SPA App

Municipality Data

Rollbase Mobile

GPS Data

Node and MongoDB

OEM Data (emergencies)

Current Data

Historical Data

Hospital Patients (e.g. dialysis)

Page 36: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

© 2014 Progress Software Corporation. All rights reserved. 36

jsdo-node – JDSO Remoting into Node.js Layer

Rollbase App

Node.js Layer

Node JSDO server objects

Any JSDO Client

Page 37: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

Snow Plow DEMO

Page 38: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

What Else?

Page 39: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

© 2014 Progress Software Corporation. All rights reserved. 39

What Else Can We Do with Node?

Corticon 5.4 REST Interface

Node.js Layer

POST / JSON AngularJS SPA

Rollbase Node.js Layer

Invoke REST

AngularJS SPA

Socket.io or REST

Rollbase Mobile

Angular Node OpenEdge REST JSDO

Page 40: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

© 2014 Progress Software Corporation. All rights reserved. 40

Open Source Samples on Node.js and IoT at Github.com/Progress

ios-beacon-scanner roll-call (4 apps) angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed angular-rollbase-blog jsdo-node locations-viewer

Thanks to David Inglis, Keegan Mendonca and Reeti Banthia, and Jungle Lasers http://dcinglis.wordpress.com & http://mendoncakeegan.wordpress.com

Page 41: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed

Get session details & presentation downloads Complete a survey Access the latest Progress product literature

www.progress.com/exchange2014

Visit the Resource Portal

Page 42: What Is IoT, and How Modulus and Pacific Can Helpmedia.progress.com/exchange/2014/slides/track3_what-is...angular-demo corticon-angular-app corticon-angular-insurance angular-express-rollbase-seed