Weitere ähnliche Inhalte
Ähnlich wie CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English) (20)
Mehr von DOCOMO Innovations, Inc. (17)
Kürzlich hochgeladen (20)
CouchConf Tokyo Customer Presentation: DOCOMO Innovations (English)
- 2. Introduction
• Yas Naoi
• DOCOMO Innovations, Inc.
• Project Manager / Architect
• naoi@docomoinnovaitons.com
• Twitter: @yas
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 2
- 5. Why Couchbase?
• NoSQL Datastore
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 5
- 6. Why Couchbase?
• NoSQL Datastore
– Open Source
– Handles non-structured data by JSON
– RESTful
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 6
- 7. Why Couchbase?
• NoSQL Datastore
– Open Source
– Handles non-structured data by JSON
– RESTful
• Internet Application Platform
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 7
- 8. 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
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 8
- 12. 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
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 12
- 13. Multi-Devices among Family and Friends /
Multi-Platform Data Sharing
Auto-Sync by Couchbase Syncpoint
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 13
- 14. Multi-Devices among Family and Friends /
Multi-Platform Data Sharing
Auto-Sync by Couchbase Syncpoint
Photo
Grandpa’s Client
Syncpoint Client
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 14
- 15. Multi-Devices among Family and Friends /
Multi-Platform Data Sharing
Auto-Sync by Couchbase Syncpoint
Couchbase Syncpoint
Photo Mail Contact Schedule
Photo
Grandpa’s Client
Syncpoint Client
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 15
- 16. Multi-Devices among Family and Friends /
Multi-Platform Data Sharing
Auto-Sync by Couchbase Syncpoint
Data Sync by Couchbase Syncpoint
Couchbase Syncpoint
- Cloud and Mobile Data Sync by
Couchbase Sync Protocol
- Online / Offline Support by Photo Mail Contact Schedule
Auto-Sync
Photo
Grandpa’s Client
Syncpoint Client
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 16
- 17. Multi-Devices among Family and Friends /
Multi-Platform Data Sharing
Auto-Sync by Couchbase Syncpoint
Data Sync by Couchbase Syncpoint
Couchbase Syncpoint
- Cloud and Mobile Data Sync by
Couchbase Sync Protocol
- Online / Offline Support by Photo Mail Contact Schedule
Auto-Sync
CouchSync
Photo
Photo
Grandpa’s Client Mom’s PC
Syncpoint Client Syncpoint Client
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 17
- 18. Multi-Devices among Family and Friends /
Multi-Platform Data Sharing
Auto-Sync by Couchbase Syncpoint
Data Sync by Couchbase Syncpoint
Couchbase Syncpoint
- Cloud and Mobile Data Sync by
Couchbase Sync Protocol
- Online / Offline Support by Photo Mail Contact Schedule
Auto-Sync
CouchSync
Photo Photo
Photo
Mom’s
Grandpa’s Client Mom’s PC
Smartphone
Syncpoint Client Syncpoint Client
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 18
- 19. Multi-Devices among Family and Friends /
Multi-Platform Data Sharing
Auto-Sync by Couchbase Syncpoint
Data Sync by Couchbase Syncpoint
Couchbase Syncpoint
- Cloud and Mobile Data Sync by
Couchbase Sync Protocol
- Online / Offline Support by Photo Mail Contact Schedule
Auto-Sync
CouchSync
Photo Photo
Photo Photo
Mom’s
Grandpa’s Client Mom’s Tablet Mom’s PC
Smartphone
Syncpoint Client Syncpoint Client
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 19
- 20. Demo Scenario
~ Sharing Photos with Users (Auto-Sync) ~
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 20
- 21. Demo Scenario
~ Sharing Photos with Users (Auto-Sync) ~
Mom’s
Tablet
お母さんの
Photo
撮影したPhoto
おじいちゃん
息子
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 21
- 22. Demo Scenario
~ Sharing Photos with Users (Auto-Sync) ~
Mom’s
Tablet
Tap
お母さんの
Photo
撮影したPhoto
おじいちゃん
息子
お母さんの
Photo
撮影したPhoto
おじいちゃん
息子
Tap
Shared Foloder
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 22
- 23. Demo Scenario
~ Sharing Photos with Users (Auto-Sync) ~
Mom’s
Tablet
Tap
お母さんの
Photo
撮影したPhoto
• Reflect a photo from Mom’s
おじいちゃん
Tablet to shared Folder by
息子
CouchSync immediately
Grandpa’s
Tablet
お母さんの おじいちゃんの
Photo Photo
撮影したPhoto 撮影したPhoto
おじいちゃん
息子
Tap
Shared Foloder
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 23
- 26. 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)
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 26
- 27. 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
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 27
- 28. 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)
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 28
- 30. Implementation (Files)
• Client View
– _attachments/index.html
– _attachments/css/styles.css
– _attachments/images/*
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 30
- 31. 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)
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 31
- 32. 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
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 32
- 35. Implementation (coux.js)
• coux (GET)
• coux.put (PUT)
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 35
- 36. Implementation (coux.js)
• coux (GET)
• coux.put (PUT)
• coux.post (POST)
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 36
- 37. Implementation (coux.js)
• coux (GET)
• coux.put (PUT)
• coux.post (POST)
• coux.changes (Callback)
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 37
- 39. Architecture
PhotoShare
App
app.js
coux.js
Channel
Syncpoint
Client
Mobile Device
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 39
- 40. Architecture
mom
Channel
PhotoShare
App
grandpa
app.js Channel
coux.js
kid
Channel
Channel
Couchbase
Syncpoint Syncpoint
Client Preview
Mobile Device
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 40
- 41. Architecture
CouchSync mom
Channel
PhotoShare
App
grandpa
app.js Channel
coux.js
kid
Channel
Channel
Couchbase
Syncpoint Syncpoint
Client Preview
Mobile Device
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 41
- 42. Architecture
CouchSync mom
Channel
PhotoShare
App
grandpa
app.js Channel
coux.js
kid
Channel
Channel
Couchbase
Syncpoint Syncpoint
Client Preview
Mobile Device
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 42
- 43. Architecture
CouchSync mom
Channel
PhotoShare
App
grandpa
app.js Channel
coux.js
kid
Channel
Channel
Couchbase
Syncpoint Syncpoint
Client Preview
Mobile Device
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 43
- 44. Architecture
PhotoShare CouchSync mom
App Channel
app.js
PhotoShare
App coux.js
grandpa
app.js Channel
coux.js
Channel
kid
Channel
Syncpoint
Channel
Client
Couchbase
Mobile Device
Syncpoint Syncpoint
Client Preview
Mobile Device
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 44
- 45. Architecture
PhotoShare
App
app.js
PhotoShare CouchSync mom
App coux.js Channel
app.js
PhotoShare
App coux.js
grandpa
app.js Channel
Channel
coux.js
Syncpoint
Channel
Client kid
Channel
Mobile Device
Syncpoint
Channel
Client
Couchbase
Mobile Device
Syncpoint Syncpoint
Client Preview
Mobile Device
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 45
- 48. Download
• Android-Couchbase-Callback
– https://github.com/couchbaselabs/Android-Couchbase-Callback
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 48
- 49. Download
• Android-Couchbase-Callback
– https://github.com/couchbaselabs/Android-Couchbase-Callback
• PhotoShare App
– https://github.com/couchbaselabs/Android-Couchbase-
Callback/tree/master/examples
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 49
- 51. Thank You
"Coming together is a beginning, keeping together is
a progress; working together is a success.“
- Henry Ford
Yas Naoi
naoi@docomoinnovations.com
+1-408-256-0855
Twitter: @yas
Copyright © 2012 DOCOMO Innovations, Inc. All Rights Reserved. 51