Digital Journey - Carlos Vicens

17
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Digital Experience Carlos Vicens Devoted programmer Watch out your retinas!

Transcript of Digital Journey - Carlos Vicens

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Digital Experience

Carlos Vicens Devoted programmer Watch out your retinas!

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

• Smartphone, Phablet, Tablet

• Wearables – in clothes

• Glasses

• Sportsband

• Context

• Watch - alerts

The Digital Worker

Mobile Connected employee

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 3

Smart Mirror/LCD (BLE+RFI

D)

iBeacons

• iBeacons broadcast signals received by mobile apps.

• Mobile apps interact with central services saying ‘hello’

• OEPe correlates and filter events from different sensors

• OEPe + OEP + RTD provide with the proper offer, message, music, … enhancing the digital experience at the store

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 4

Real-time inventory visibility

Improve digital

experience

Find goods nearby

Clothe matcher

Stock ready

notification

This garment will

suit you!

Suggestions

Offer on the spot

Customized music!

Smart mirror (display)

Custom messages

Wish-list in-store

notifications

Gaming!

Other people also

bought…

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Customer Journey Demo Script Area

DEMO

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Architecture What components do we need and how will be they deployed?

S1

OH

S

WC

Sit

es

S2

Co

h

OSB

S4

S3

SOA BPM

REST/JSON

HTTP/HTML

JMS/XML

JDBC

HTTP/SOAP

WCC

BAM

Push Events

OEP

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Demasiada información…

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

¿Qué tienen en común estas imágenes?

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Mucha información

Que llega muy rápido

No somos capaces de saber qué ocurre!!!

A menos que…

Grabemos y lo veamos después a cámara lenta BI y/o Big Data

Sistema de correlación de eventos en tiempo real Event Processing

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Oracle Event Processing

REST Adapter Procesador

Caché

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

CQL Código para calcular potencias medias

<view id="IbeaconAvgRssiView">

<![CDATA[

ISTREAM(

SELECT

A.userId AS userId,

A.areaId AS areaId,

AVG(A.rssi) AS avgRssi

FROM IbeaconInteractionsView [RANGE 2 SECONDS SLIDE 1] AS A

GROUP BY userId, areaId

HAVING MIN(A.rssi) >= -100 AND A.areaId IS NOT NULL

)

]]>

</view>

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

CQL Código para detectar estancias de 1 min

(SELECT

T.userId AS userId,

T.areaId AS areaId,

T.tstamp AS tstamp,

"Stay" AS eventType,

"1" AS occurrencies

FROM FindClosestZoneView MATCH_RECOGNIZE (

PARTITION BY userId

MEASURES

A.userId AS userId,

A.areaId AS areaId,

(B.ELEMENT_TIME - A.ELEMENT_TIME) AS tstamp

INCLUDE TIMER EVENTS

PATTERN(A B+)

DURATION 60 SECONDS

DEFINE

A as A.areaId IS NOT NULL,

B AS B.areaId IS NOT NULL AND B.areaId = A.areaId

) AS T

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

XCode Código para comenzar la escucha de iBeacons [1]

-(void) listenToAllBeaconsForDefaultRegion

{

CLBeaconRegion *defaultRegion = [self defaultRegion];

// Tell location manager to start monitoring for the beacon region

[self.locationManager startMonitoringForRegion:defaultRegion];

// Start ranging, later if we exit we'll stop ranging

[self.locationManager startRangingBeaconsInRegion:defaultRegion];

[self.regions addObject:defaultRegion];

}

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

XCode Código para comenzar la escucha de iBeacons [2]

-(CLBeaconRegion*) defaultRegion

{

NSString *defaultUUID = @"B9407F30-F5F8-466E-AFF9-25556B57FE6D";

NSString *defaultIdentifier = @"ALL";

NSUUID *uuid = [[NSUUID alloc] initWithUUIDString:defaultUUID];

CLBeaconRegion *defaultRegion =

[[CLBeaconRegion alloc] initWithProximityUUID:uuid identifier:defaultIdentifier];

defaultRegion.notifyEntryStateOnDisplay = YES;

return defaultRegion;

}

Programmers!

Remember this!

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |