33
(c) 2015 Independent SAP Technical User Group Annual Conference, 2015 SQL Anywhere and the Internet of Things Jason Hinsperger Product Manager, SAP

SQL Anywhere and the Internet of Things

Embed Size (px)

Citation preview

(c) 2015 Independent SAP Technical User Group Annual Conference, 2015

SQL Anywhere and the Internet

of Things Jason Hinsperger

Product Manager, SAP

(c) 2015 Independent SAP Technical User Group Annual Conference, 2015

Agenda

SAP and the Internet of Things for Business

Edge Computing in IoT

Single Board Computers

SAP SQL Anywhere

(c) 2015 Independent SAP Technical User Group Annual Conference, 2015

Networked Economy: The next economic revolution

1850

Industrial

economy

2020

Networked

economy

1990

Internet

economy

IT

economy

1970

$0.36T

$12.10T

All figures are in Trillions; 1990 international dollars; Source: Department of Economics, UC Berkeley, BAIN 8 MacroTrends Brief.

$27.50T

$90.0T

Gross

world

product

(c) 2015 Independent SAP Technical User Group Annual Conference, 2015

3. Software ► Data management of IoT that creates

new varieties of data as well as greater

data volume.

► Goal is Big Data Analytics &

Predictability

22

Internet of Things Sweet spot across Mega Trends

1. Semi-Conductor ► Price of key communication,

computing, and sensing components

falling fast!

► Bluetooth chips below US$1,

application processors at the US$2

level, gyroscopes and

accelerometers at the US$1 mark

Mainframe Mini

Computer

PC

Desktop Internet

Mobile Internet

1 Billion+ Units / Users

Billions of Units

Tens of Billions of

Units

De

vic

es / U

se

rs

100MM+ Units 10MM+ Units

1 MM+ Units

1960 1970 1980 1990 2000 2010 2020 2030

Internet of

Things

2. Telecom ► Wired and wireless networks will drive

growth as penetration of smartphones,

tablets, and home broadband reaches

maturity

► Need for broader and deeper wireless

coverage around the world

Telecom: Metcalfe’s

Law Semi-conductor:

Moore’s Law

Software: Big Data

Analytics

Source: Morgan Stanley Blue Paper – The “internet of Things” is now, Apr 2014

(c) 2015 Independent SAP Technical User Group Annual Conference, 2015

Connect with billions of internet-enabled things to gain new insights

..by combining business data with intelligent analysis of

new signals from devices, networks & more

(c) 2015 Independent SAP Technical User Group Annual Conference, 2015

Transform the way you make decisions and

take action

..by executing operational processes through predictive and

automated response all the way to the edge of the network

(c) 2015 Independent SAP Technical User Group Annual Conference, 2015

Reimagine your customer’s experience

..by empowering innovative new business models, value-

added services and customer responsive products

(c) 2015 Independent SAP Technical User Group Annual Conference, 2015

Powering the transformation

Connect

Transform

Re-imagine

Maintain

Track & comply

Optimally utilize

Remotely operate

Monetize usage

Extend new service

(c) 2015 Independent SAP Technical User Group Annual Conference, 2015

Agenda

SAP and the Internet of Things For Business

Edge Computing in IoT

Single Board Computers

SAP SQL Anywhere

(c) 2015 Independent SAP Technical User Group Annual Conference, 2015

Deconstructing the Internet of Things

SENSOR

THING

CONNECTOR

TRANSPORT

10’s of Billions of Units

► New Sensor arrays exploiting new

connectivity protocols

► High Value assets requiring remote

management and big data predictive

solutions

► Increasing need to standardize across

industrial internet and after sales

device information

Private and Public Networks

► Highly pervasive Telecom Networks

encompassing enterprise and

consumer communication spaces

► Emerging protocols and standards for

existing and IP aware things

► New class of adapters to generalize

connectivity across protocols and

device management services

High-performance Compute

Infrastructure

► Elastic Store capable of PB data

volumes of time and geo tagged data.

► Device Data models for Enterprise

Information Integration and repeatable

predictive solutions.

► Real-time and streaming analytics.

(c) 2015 Independent SAP Technical User Group Annual Conference, 2015

HANA and “Internet of Things”

INTERNET

SENSOR

THING

collect… …send…

…analyze

(c) 2015 Independent SAP Technical User Group Annual Conference, 2015

CLIENT/

SERVER

HANA and “Internet of Things”

INTERNET

SENSOR

THING

COMPLEX

EVENT

PROCESSING

STREAMING

collect… …stream…

…analyze

(c) 2015 Independent SAP Technical User Group Annual Conference, 2015

RADIO OR

BLUETOOTH

CLIENT/

SERVER

HANA and “Internet of Things”

INTERNET

SENSOR

THING STREAMING

COMPLEX

EVENT

PROCESSING

BASE

STATION

collect… …aggregate locally… …stream… …analyze

globally

(c) 2015 Independent SAP Technical User Group Annual Conference, 2015

INTERNET

RADIO OR

BLUETOOTH

CLIENT/

SERVER

HANA and “Internet of Things”

SENSOR

THING SYNCHRONIZATION

MOBILINK

SYNC

SERVER

BASE

STATION

…configure… …synchronize… …reference

collect… …aggregate and act locally… …synchronize… …analyze

globally

(c) 2015 Independent SAP Technical User Group Annual Conference, 2015

WIFI

RADIO OR

BLUETOOTH

CLIENT/

SERVER

HANA and “Internet of Things”

INTERNET

SENSOR

THING

SYNCHRONIZING

DATA

BASE

STATION

SITE

SERVER MOBILINK

SYNC

SERVER

CLIENT/SERVER

collect… …aggregate locally… …act locally… …synchronize… …analyze

globally

…configure… …act locally… …synchronize… …reference

(c) 2015 Independent SAP Technical User Group Annual Conference, 2015

Neptune Technology Group (NTG)

CHALLENGE

To help customers replace, streamline and standardize their electronic

and paper-based meter reading systems.

SOLUTION

SQL Anywhere

RESULTS

• Enables zero database crashes on handheld devices with “Lightning

fast" synchronization of handheld data with back-end systems

• Eliminates service center PCs, allowing a centralized management

structure, which enables multiple meter reading sites to be managed

by fewer customer service managers

SQL Anywhere provides constant system uptime We selected SQL

Anywhere for its reliability,

data integrity, performance,

synchronization capability

and the financial stability of

the company. The database

is perfect for small to mid-

size implementations and

even scales up to large

deployments...SQL

Anywhere Studio was a

terrific choice for our

customers and us.

Jon Greisz

Director fo System Technology

Neptune Technology Group

(c) 2015 Independent SAP Technical User Group Annual Conference, 2015

Agenda

SAP and the Internet of Things For Business

Edge Computing in IoT

Single Board Computers

SAP SQL Anywhere

(c) 2015 Independent SAP Technical User Group Annual Conference, 2015

Single Board Computers

Complete computer on a single circuit board

Originally created for education and custom embedded systems

Standardization pushed costs way down

Opened the door for new uses in many different areas

There are lots of different commercial options

Raspberry Pi, BeagleBone, Olimex, Galileo

(c) 2015 Independent SAP Technical User Group Annual Conference, 2015

Raspberry Pi Model B+ 40 pin GPIO

4 USB Ports

Ethernet

HDMI Power

Micro SD

Composite A/V Jack

Camera

connector

Display connector

ARM 11CPU

512MB RAM

(c) 2015 Independent SAP Technical User Group Annual Conference, 2015

Olimex A20

Price: $90

Specs

A20 Cortex-A7 dual-core CPU with Dual-core Mali 400 GPU

1GB DDR3 RAM memory

4GB NAND FLASH memory

Android already loaded on the NAND

SATA connector with 5V SATA power jack

Built-in FullHD support (1080p)

100MBit native Ethernet

… and much more

Typical power consumption: 5W ([email protected])

(c) 2015 Independent SAP Technical User Group Annual Conference, 2015

INTERNET

RADIO OR

BLUETOOTH

CLIENT/

SERVER

Recall the IoT Data Flow

SENSOR

THING SYNCHRONIZATION

MOBILINK

SYNC

SERVER

BASE

STATION

…configure… …synchronize… …reference

collect… …aggregate and act locally… …synchronize… …analyze

globally

Linux/ARM single-board computer

+ SAP SQL Anywhere

(c) 2015 Independent SAP Technical User Group Annual Conference, 2015

Porting SQL Anywhere to Raspberry Pi

ARM port based on SQL Anywhere for Linux and an experimental port to BB10

Straightforward compile, except for assembly instructions for atomic operations

Minimum processor needed for SQL Anywhere is the Armv6K instruction set.

The toolset needed to build Raspberry Pi can be downloaded from

https://github.com/raspberrypi/

No asynchronous I/O available

(c) 2015 Independent SAP Technical User Group Annual Conference, 2015

SQLA Deployment

Copy files to the board storage

Copy install to board and run it

That’s it!

Data Synchronization

(c) 2015 Independent SAP Technical User Group Annual Conference, 2015

Data acquisition: streaming and

synchronizing are complements

Streaming

Optimized for real-time delivery

No local aggregation

No persistence in case of network failures

Synchronizing

Aggregate at collection point

Site-level aggregation

Data persistence for network failures

Va

lue

Age

Va

lue

Age

(c) 2015 Independent SAP Technical User Group Annual Conference, 2015

SQL Anywhere Components

SAP HANA

MobiLinkSynchronizationServer

RelayServer

SensorsBase

Station

SQL Anywhere

(c) 2015 Independent SAP Technical User Group Annual Conference, 2015

SQL Anywhere Platform Support

MobiLink

iPhone/iPad

BlackBerry

Android

Windows Mobile

Laptop

Server

SQL Server

Enterprise Systems

Oracle

Sybase

MySQL

IBM DB2

SAP HANA

(c) 2015 Independent SAP Technical User Group Annual Conference, 2015

The Synchronization Process

MobiLink

RDBMS App

UltraLite

1. Upload

2. Acknowledge

3. Download

(c) 2015 Independent SAP Technical User Group Annual Conference, 2015

Synchronization scripts

Event-based model:

a sequence of events for each request

Scripts for each event:

often simple SQL statements

download script: SELECT col1,… FROM T …

upload_insert: INSERT INTO T …

Built-in parameters:

user_ID, database_ID, last_timestamp

Extensive customization: over 60 separate events

(c) 2015 Independent SAP Technical User Group Annual Conference, 2015

Synchronization to HCP

HCP Setup

HCP MobiLink Setup

Demo

(c) 2015 Independent SAP Technical User Group Annual Conference, 2015

INTERNET

RADIO OR

BLUETOOTH

CLIENT/

SERVER

Recall the IoT Data Flow

SENSOR

THING SYNCHRONIZATION

MOBILINK

SYNC

SERVER

BASE

STATION

…configure… …synchronize… …reference

collect… …aggregate and act locally… …synchronize… …analyze

globally

Linux/ARM single-board computer

+ SAP SQL Anywhere

Temperature sensor HCP

© 2014 SAP SE or an SAP affiliate company. All rights reserved.

Thank you

Contact information:

Jason Hinsperger

Sr. Product Manager

[email protected]

519-883-6492