couchconf tokyo customer presentation: docomo innovations (english)

51
1 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. Customer Presentation: DOCOMO Innovations

Upload: ntt-innovation-institute-inc

Post on 15-Jan-2015

1.033 views

Category:

Technology


0 download

DESCRIPTION

We developed PhotoShare application as an example mobile application based on an early preview of Mobile Syncpoint.

TRANSCRIPT

Page 1: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

1 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Customer Presentation: DOCOMO Innovations

Page 2: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

2 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Introduction

• Yas Naoi

• DOCOMO Innovations, Inc.

• Project Manager / Architect

[email protected]

• Twitter: @yas

Page 3: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

3 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Page 4: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

4 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Why Couchbase?

Page 5: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

5 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Why Couchbase?

• NoSQL Datastore

Page 6: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

6 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Why Couchbase?

• NoSQL Datastore

– Open Source

– Handles non-structured data by JSON

– RESTful

Page 7: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

7 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Why Couchbase?

• NoSQL Datastore

– Open Source

– Handles non-structured data by JSON

– RESTful

• Internet Application Platform

Page 8: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

8 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Why Couchbase?

• NoSQL Datastore

– Open Source

– Handles non-structured data by JSON

– RESTful

• Internet Application Platform

– Scalability by Scale-out

– Integration of Memory Cache and Data Store

– Mobile Application Development

→Multiple Devices and Data Synchronization

Page 9: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

9 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Introducing PhotoShare App

Page 10: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

10 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Introducing PhotoShare App

Page 11: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

11 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Introducing PhotoShare App

• Project Goal

Page 12: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

12 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Introducing PhotoShare App

• Project Goal

– Easy UI for Everyone, Especially for Low Literacy Users

– Sync for Photos, Mails, Calendar and Contacts by Android

– Master in Server, View in Client

– Multiple Device Support

Page 13: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

13 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Multi-Devices among Family and Friends / Multi-Platform Data Sharing Auto-Sync by Couchbase Syncpoint

Page 14: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

14 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Photo

Multi-Devices among Family and Friends / Multi-Platform Data Sharing Auto-Sync by Couchbase Syncpoint

Grandpa’s Client

Syncpoint Client

Page 15: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

15 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Photo

Couchbase Syncpoint

Multi-Devices among Family and Friends / Multi-Platform Data Sharing Auto-Sync by Couchbase Syncpoint

Mail Contact Photo

Grandpa’s Client

Schedule

Syncpoint Client

Page 16: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

16 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Photo

Couchbase Syncpoint

Multi-Devices among Family and Friends / Multi-Platform Data Sharing Auto-Sync by Couchbase Syncpoint

Mail Contact Photo

Grandpa’s Client

Data Sync by Couchbase Syncpoint - Cloud and Mobile Data Sync by

Couchbase Sync Protocol - Online / Offline Support by

Auto-Sync Schedule

Syncpoint Client

Page 17: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

17 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Photo

Couchbase Syncpoint

Multi-Devices among Family and Friends / Multi-Platform Data Sharing Auto-Sync by Couchbase Syncpoint

Mail Contact Photo

Grandpa’s Client

Data Sync by Couchbase Syncpoint - Cloud and Mobile Data Sync by

Couchbase Sync Protocol - Online / Offline Support by

Auto-Sync Schedule

Mom’s PC

Photo

CouchSync

Syncpoint Client Syncpoint Client

Page 18: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

18 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Photo

Couchbase Syncpoint

Multi-Devices among Family and Friends / Multi-Platform Data Sharing Auto-Sync by Couchbase Syncpoint

Mail Contact Photo

Grandpa’s Client

Data Sync by Couchbase Syncpoint - Cloud and Mobile Data Sync by

Couchbase Sync Protocol - Online / Offline Support by

Auto-Sync Schedule

Mom’s PC

Photo Photo

CouchSync

Syncpoint Client Syncpoint Client

Mom’s Smartphone

Page 19: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

19 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Photo

Couchbase Syncpoint

Multi-Devices among Family and Friends / Multi-Platform Data Sharing Auto-Sync by Couchbase Syncpoint

Mail Contact Photo

Grandpa’s Client Mom’s Tablet

Data Sync by Couchbase Syncpoint - Cloud and Mobile Data Sync by

Couchbase Sync Protocol - Online / Offline Support by

Auto-Sync Schedule

Mom’s Smartphone

Mom’s PC

Photo Photo Photo

CouchSync

Syncpoint Client Syncpoint Client

Page 20: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

20 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Demo Scenario ~ Sharing Photos with Users (Auto-Sync) ~

Page 21: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

21 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Demo Scenario ~ Sharing Photos with Users (Auto-Sync) ~

Mom’s Tablet

撮影したPhoto

おじいちゃん

息子

お母さんのPhoto

Page 22: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

22 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Demo Scenario ~ Sharing Photos with Users (Auto-Sync) ~

Tap

Tap Shared Foloder

Mom’s Tablet

撮影したPhoto

おじいちゃん

息子

お母さんのPhoto

撮影したPhoto

おじいちゃん

息子

お母さんのPhoto

Page 23: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

23 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Demo Scenario ~ Sharing Photos with Users (Auto-Sync) ~

Tap

Tap Shared Foloder

Mom’s Tablet

Grandpa’s Tablet

撮影したPhoto

おじいちゃん

息子

お母さんのPhoto

撮影したPhoto

おじいちゃんのPhoto

撮影したPhoto

おじいちゃん

息子

お母さんのPhoto

• Reflect a photo from Mom’s Tablet to shared Folder by CouchSync immediately

Page 24: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

24 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Development Environment

Page 25: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

25 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Development Environment

• Client

Page 27: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

27 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Development Environment

• Client

– Samsung Galaxy Tab 10.1 (Android OS 3.1)

– PhoneGap 1.2.0

– Android-Couchbase-Callback (https://github.com/couchbaselabs/Android-Couchbase-Callback)

• Server

Page 28: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

28 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Development Environment

• Client

– Samsung Galaxy Tab 10.1 (Android OS 3.1)

– PhoneGap 1.2.0

– Android-Couchbase-Callback (https://github.com/couchbaselabs/Android-Couchbase-Callback)

• Server

– Couchbase Syncpoint (Early Preview)

Page 29: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

29 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Implementation (Files)

Page 30: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

30 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Implementation (Files)

• Client View

– _attachments/index.html

– _attachments/css/styles.css

– _attachments/images/*

Page 31: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

31 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Implementation (Files)

• Client View

– _attachments/index.html

– _attachments/css/styles.css

– _attachments/images/*

• Client Controller

– _attachments/javascript/app.js (Implementation)

– _attachments/javascript/coux.js (Syncpoint Client)

Page 32: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

32 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Implementation (Files)

• Client View

– _attachments/index.html

– _attachments/css/styles.css

– _attachments/images/*

• Client Controller

– _attachments/javascript/app.js (Implementation)

– _attachments/javascript/coux.js (Syncpoint Client)

• Couchbase の View

– views/friend-photos/map.js, reduce.js

– views/latest-photos/map.js

– views/share-photos/map.js, reduce.js

Page 33: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

33 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Implementation (coux.js)

Page 34: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

34 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Implementation (coux.js)

• coux (GET)

Page 35: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

35 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Implementation (coux.js)

• coux (GET)

• coux.put (PUT)

Page 36: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

36 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Implementation (coux.js)

• coux (GET)

• coux.put (PUT)

• coux.post (POST)

Page 37: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

37 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Implementation (coux.js)

• coux (GET)

• coux.put (PUT)

• coux.post (POST)

• coux.changes (Callback)

Page 38: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

38 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Architecture

Page 39: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

39 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Architecture

Mobile Device

PhotoShare App

Channel

coux.js

app.js

Syncpoint Client

Page 40: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

40 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Architecture

Couchbase Syncpoint Preview

mom Channel

kid Channel

grandpa Channel

Mobile Device

PhotoShare App

Channel

coux.js

app.js

Syncpoint Client

Page 41: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

41 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Architecture

Couchbase Syncpoint Preview

mom Channel

kid Channel

grandpa Channel

Mobile Device

PhotoShare App

Channel

coux.js

app.js

Syncpoint Client

CouchSync

Page 42: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

42 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Architecture

Couchbase Syncpoint Preview

mom Channel

kid Channel

grandpa Channel

Mobile Device

PhotoShare App

Channel

coux.js

app.js

Syncpoint Client

CouchSync

Page 43: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

43 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Architecture

Couchbase Syncpoint Preview

mom Channel

kid Channel

grandpa Channel

Mobile Device

PhotoShare App

Channel

coux.js

app.js

Syncpoint Client

CouchSync

Page 44: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

44 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Mobile Device

PhotoShare App

Channel

coux.js

app.js

Syncpoint Client

Architecture

Couchbase Syncpoint Preview

mom Channel

kid Channel

grandpa Channel

Mobile Device

PhotoShare App

Channel

coux.js

app.js

Syncpoint Client

CouchSync

Page 45: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

45 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Mobile Device

PhotoShare App

Channel

coux.js

app.js

Syncpoint Client

Mobile Device

PhotoShare App

Channel

coux.js

app.js

Syncpoint Client

Architecture

Couchbase Syncpoint Preview

mom Channel

kid Channel

grandpa Channel

Mobile Device

PhotoShare App

Channel

coux.js

app.js

Syncpoint Client

CouchSync

Page 46: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

46 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Demo

Page 47: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

47 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Download

Page 50: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

50 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Q&A

Page 51: CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)

51 Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved.

Thank You

Yas Naoi [email protected]

+1-408-256-0855 Twitter: @yas

"Coming together is a beginning, keeping together is a progress; working together is a success.“ - Henry Ford