Creating Synergies on the Cloudbox. Mohan Sundar Samsung Electronics

Similar documents
Personal Cloud. Support Guide for Mac Computers. Storing and sharing your content 2

IC L10: Seamless Encryption of Data Sync'ing to Dropbox Using Symantec File Share Encryption

Features of AnyShare

Introduction to Highly Available NFS Server on scale out storage systems based on GlusterFS

Cloud Elements! Events Management BETA! API Version 2.0

NDK: NOVELL NSS AUDIT

Lecture 11. RFS A Network File System for Mobile Devices and the Cloud

We mean.network File System

Dropbox for Business. Secure file sharing, collaboration and cloud storage. G-Cloud Service Description

Manual for Android 1.5

owncloud Architecture Overview

News Extension 2.2 User Guide

ViewBox: Integrating Local File System with Cloud Storage Service

NFS Ganesha and Clustered NAS on Distributed Storage System, GlusterFS. Soumya Koduri Meghana Madhusudhan Red Hat

Store & Share Quick Start

UIT USpace Flexible and Secure File Manager for Cloud Storage

Eclipse Palm Sales Force Automation. Release (Eterm)

From Delphi to the cloud


Access All Your Files on All Your Devices

ECE 7650 Scalable and Secure Internet Services and Architecture ---- A Systems Perspective

Social Application Guide

Network File System (NFS) Pradipta De

Egnyte Cloud File Server. White Paper

Tizen Web Runtime Update. Ming Jin Samsung Electronics

How to Run Your Existing Android APK on the Tizen Platform. Chandra Bajpai Matt O Keefe OpenMobile World Wide

ArcGIS 10.3 Server on Amazon Web Services

Sep 23, OSBCONF 2014 Cloud backup with Bareos

How Much Space? New SkyDrive accounts offer 7GB of cloud storage. Older users of the service were able to reclaim more free space (25 GB).

Choosing a File Sync & Share Solution. PRESENTATION TITLE GOES HERE Darryl Pace Optimal Computer Solutions

Samba's Cloudy Future. Jeremy Allison Samba Team.

How to Use JCWHosting Reseller Cloud Storage Solution

High Speed Transfers Using the Aspera Node API! Aspera Live Webinars November 6, 2012!

Qsync Install Qsync utility Login the NAS The address is :8080 bfsteelinc.info:8080

owncloud Architecture Overview

Quick start 6: Administering the Websense Cloud Web Security solution

NCP Server for Linux Administration Guide

PolyU Connect. OneDrive for Business. User Guide

Chapter 11 Distributed File Systems. Distributed File Systems

place/business fetch details, removefromfavorite () function, 189 search button handler bind, B BlackBerry build environment

Cloud. Hosted Exchange Administration Manual

Implementing Alternate Data Streams in Likewise Storage Services Wei Fu Software Engineer Likewise Software

Moodle Administrator s Manual Table of Contents

Service agnostic cloud storage access with TMS Cloud Pack for.net

Release Notes. CTERA Portal May CTERA Portal Release Notes 1

Distributed File Systems. Chapter 10

Introduction to Cloud Storage GOOGLE DRIVE

OpenNebula Open Souce Solution for DC Virtualization. C12G Labs. Online Webinar

Office 365 SharePoint Online

White Paper. Anywhere, Any Device File Access with IT in Control. Enterprise File Serving 2.0

Acronis is currently recruiting for the following positions. Please refer to the attachments for more information.

Business and enterprise cloud sync, backup and sharing solutions

DroboAccess User Manual

FTP Service Reference

Personal Cloud. Support Guide for Mobile Apple Devices

CERNBox + EOS: Cloud Storage for Science

User Guide. Making EasyBlog Your Perfect Blogging Tool

Managing the PowerPivot for SharePoint Environment

About This Document 3. Integration and Automation Capabilities 4. Command-Line Interface (CLI) 8. API RPC Protocol 9.

DFSgc. Distributed File System for Multipurpose Grid Applications and Cloud Computing

Gigya Pricing Proposal

Sage Nonprofit Online and Sage Virtual Services. Frequently Asked Questions

Hitachi Content Platform (HCP)

CinePlay User Manual

Apache Sentry. Prasad Mujumdar

The Native AFS Client on Windows The Road to a Functional Design. Jeffrey Altman, President Your File System Inc.

July 2014

Example of Implementing Folder Synchronization with ProphetX

Incremental Backup Script. Jason Healy, Director of Networks and Systems

Rich Media & HD Video Streaming Integration with Brightcove

Funambol Exchange Connector v6.5 Installation Guide

Neat Cloud Service + Mobile App

THE LINK OFFLINE DATA ARCHITECTURE

FTP Service Reference

Cloud Sync White Paper. Based on DSM 6.0

Cross-domain Identity Management System for Cloud Environment

OpenNebula Open Souce Solution for DC Virtualization

Novell Storage ServicesTM File System Administration Guide for Linux

Single Sign On. SSO & ID Management for Web and Mobile Applications

OpenFlow 1.4. (Changes compared to 1.3 OpenDaylight Perspec>ve) - Abhijit Kumbhare

SpringCM Troubleshooting Guide for Salesforce

XXIntroduction. XXRequirements. XXInstallation. XXInterface. XXUsage Instructions

Anchor End-User Guide

CD and DVD drives offered a lot more capacity to install and store files but lacked the convenience of the small floppy disks.

<Insert Picture Here> Oracle Cloud Storage. Morana Kobal Butković Principal Sales Consultant Oracle Hrvatska

Managing a local Galaxy Instance. Anushka Brownley / Adam Kraut BioTeam Inc.

For example some Bookkeepers are using Dropbox to share the accounting files between them and their client.

WSM 11 & Roadmap Lars Onasch Sr. Director Web Site Management

Secure your Docker images

OpenNebula Open Souce Solution for DC Virtualization

XtreemFS a Distributed File System for Grids and Clouds Mikael Högqvist, Björn Kolbeck Zuse Institute Berlin XtreemFS Mikael Högqvist/Björn Kolbeck 1

What is OneDrive for Business at University of Greenwich? Accessing OneDrive from Office 365

Quality of Service (bandwidth limitation): Default is 2 megabits per second.

Transcription:

Creating Synergies on the Cloudbox Mohan Sundar Samsung Electronics

Index

Index Background What s Cloudbox? How to use Cloudbox? Cloudbox Internals Sample App (Unified Single View) Summary Q&A 3

Background

Cloud Storages Advantages Cloud (Storage) = Remote + Storage User can use Cloud Storages from any devices User can easily access Cloud Services from mobile Supports free storage limit for special period User can save space in Device 5

Cloud Storages Limitations We must install the storage application to access the contents Difficult to manage the contents stored in multi clouds Can t view all the multi cloud content using single view And Then We Can give you the Solutions through this Cloudbox Session 6

What s Cloudbox?

Cloudbox?! Cloudbox = Clouds in Box D B G Inbuilt within Tizen Platform Uniform Interface to access multi clouds Unified single view for all multi cloud contents Plug-In/Plug-Out your preferred service on demand 8

The Role of Cloudbox In Platform Side, Cloudbox manage the Contents of Clouds Manages User Authentication process Creates File Tree & Thumbnail on Device Supports File Operation for Cloud Periodically, Synchronizes the content in device and cloud Insert / Delete the Content Info to DB File Manager File Operation Update Manager Check new Account Check Authentication Make File List Sync File Make Thumbnail Download Upload Get File List Cloud box Plugin Insert / Delete DB 9

Cloudbox benefits.. Access cloud content like local content Require very minimal changes in your code User gets access to all his cloud content in one place You can take advantage of this convenience, Provide new service using it Cloudbox can improve your application popularity & download ratio D G B Scope to develop exciting new features.. More happy users!!! Rule based content backup Free quota management across cloud. Tizen 2.4 10

Cloudbox benefits.. (contd.) Open the Gallery(Reference Application) in Tizen 2.4 As Is Display Local Contents only To Be Display Local & Cloud Contents D G 11

Apply Cloudbox

How to use Cloudbox in your Application? 4 simple steps 1 2 3 4 Visit developer.tizen.org Register your Download desired Get familiar with application with storage plugins, Cloudbox APIs Cloudbox if not available Notify the user to Sign-in if he don t have access yet 1 2 3 4 13

Search the APIs for Cloudbox Since tizen 2.4, Cloudbox is released So You can find the APIs in Tizen Developer Site Step 1 14

Register with Cloudbox By using below API(service_adaptor_create) /** * @brief Create Service Adaptor * @since_tizen 2.4 * * @param[out] service_adaptor The Service Adaptor handle * @remarks @a service_adaptor must be released memory using service_adaptor_destroy(), when a program no longer needs any function of Service Adaptor * @see service_adaptor_destroy() * @return 0 on success, otherwise a negative error value * @retval #SERVICE_ADAPTOR_ERROR_NONE Successful * @retval #SERVICE_ADAPTOR_ERROR_INVALID_PARAMETER Invalid parameter * @retval #SERVICE_ADAPTOR_ERROR_UNKNOWN Unknown error */ int service_adaptor_create(service_adaptor_h *service_adaptor); Step 2 15

Check Plugins By using below API(service_adaptor_foreach_plugin) /** * @brief Foreach the list of plugin * @details Iterate to all installed plugin * @since_tizen 2.4 * * @param[in] service_adaptor The handle of Service Adaptor * @param[in] callback The callback for foreach plugin * @param[in] user_data Passed data to callback * @return 0 on success, otherwise a negative error value * @retval #SERVICE_ADAPTOR_ERROR_NONE Successful * @retval #SERVICE_ADAPTOR_ERROR_NO_DATA There is no available plugins * @retval #SERVICE_ADAPTOR_ERROR_INVALID_PARAMETER Invalid parameter * @retval #SERVICE_ADAPTOR_ERROR_UNKNOWN Unknown error * @pre @a service_adaptor must be issued by service_adaptor_create() */ int service_adaptor_foreach_plugin(service_adaptor_h service_adaptor, service_adaptor_plugin_cb callback, void *user_data); Step 3 16

Check Sign in status By using below API(service_plugin_start) /** * @brief Requests start initialization for service plugin * @since_tizen 2.4 * * @param[in] plugin The handle for use Plugin APIs * @param[in] service_mask The flag for use service plugins, this flag can be masked multiple enum (#service_plugin_service_type_e) * @return 0 on success, otherwise a negative error value * @return If return value is #SERVICE_ADAPTOR_ERROR_NOT_AUTHORIZED, request signup to authorization application * @retval #SERVICE_ADAPTOR_ERROR_NONE Successful * @retval #SERVICE_ADAPTOR_ERROR_INVALID_PARAMETER Invalid parameter * @retval #SERVICE_ADAPTOR_ERROR_NOT_AUTHORIZED Need authorization * @retval #SERVICE_ADAPTOR_ERROR_TIMED_OUT Timed out * @retval #SERVICE_ADAPTOR_ERROR_IPC_UNSTABLE IPC failed with Service Adaptor Daemon * @retval #SERVICE_ADAPTOR_ERROR_UNKNOWN Unknown error */ int service_plugin_start(service_plugin_h plugin, int service_mask); Step 4 17

But, How to Download & Upload? You just use the Same POSIX API for Local & Cloud open / read / write / close Ready!! And What? Cloudbox will perform all file operations about Cloud instead of you Wow, Simple & Easy!! 18

Cloudbox Operation

How Support the POSIX API? In Cloudbox, Support below File Operations by using FUSE + tizen_getattr() + tizen_access() + tizen_readlink() + tizen_readdir() + tizen_mknod() + tizen_mkdir() + tizen_symlink() + tizen_unlink() + tizen_rmdir() + tizen_rename() + tizen_link() + tizen_chmod() + tizen_chown() + tizen_truncate() + tizen_open() + tizen_read() + tizen_write() + tizen_statfs() + tizen_release() + tizen_fsync() + tizen_flush() + tizen_fallocate() + tizen_setxattr() + tizen_getxattr() + tizen_listxattr() + tizen_removexattr() + tizen_utimens() 20

Operation for open App Kernel Cloud box Plugin If You use open for Cloud Contents fd = open( /opt/storage/tnfs/cloud/dropbox/z1.jpg, rb ); open() fuse(kernel) tizen_open() HttpClient_issueGetRequest() D Local check path dropbox_adaptee_download_file() Cloud check cache Yes No service_storage_download_file() open() cached file 21

Operation for rename App Kernel Cloud box Plugin Move a local content to Cloud using rename rename( /opt/usr/media/image/tds.jpg, /opt/storage/tnfs/cloud/dropbox/tds.jpg ); rename() D fuse(kernel) tizen_rename() HttpClient_issueUploadFileRequest() check src path dropbox_adaptee_upload_file() Local check dst path Cloud service_storage_upload_file() rename() tizen_unlink() 22

Operation for rename App Kernel Cloud box Plugin Move from one Cloud to another Cloud using rename rename( /opt/storage/tnfs/cloud/dropbox/tds.jpg /opt/storage/tnfs/cloud/onedrive/tds.jpg ); rename() fuse(kernel) O tizen_rename() HttpClient_issueUploadFileRequest() D check src path Cloud tizen_open() dropbox_adaptee_download_file() onedrive_adaptee_upload_file() check dst path Cloud service_storage_upload_file() rename() tizen_unlink() 23

How to know the path? Search our File System Our File System is located in /opt/storage/tnfs/cloud. /opt/storage/tnfs/cloud/dropbox/z1.jpg /opt/storage/tnfs/cloud/dropbox/tds.jpg /opt/storage/tnfs/cloud/onedrive/cloudbox.jpg /opt/storage/tnfs/cloud/onedrive/video/tizen.mp4 Search the Media DB The Information about Cloud Contents is inserted to Media DB. So You can also find the Path of Cloud Contents from Media DB. 24

Asynchronous for Download & Upload? By using below APIs, You can implement the Asynchronous feature in your Application service_adaptor_result_e service_adaptor_download_file_async(service_adaptor_h handle, const char *server_path, const char *download_path, service_adaptor_file_h *file_handle, service_adaptor_error_s **error_code, void *user_data); service_adaptor_result_e service_adaptor_upload_file_async(service_adaptor_h handle, const char *upload_path, const char *server_path, service_adaptor_file_h *file_handle, service_adaptor_error_s **error_code, void *user_data); 25

Cloudbox Architecture Application 1 Application 2 Application N Cloudbox DB Manager UnifiedStorage-Format (Lib) Thumbnail Manager Metadata Manager Storage Client Auth Client Service Adaptor Client(Lib) Contact Client Update Manager Cache Manager UnifiedStorage-FS File Manager Storage Adaptor Auth Adaptor Service Adaptor Contact Adaptor Storage Auth Contact Plugins Dropbox Dropbox Twitter Transparent Network Filesystem Box Box Facebook 26

Sample App - Unified Single View

Sample App (Unified Single View) In Tizen 2.4 Reference Device(Z1), Check the Cloudbox feature In Sample App, we just use the API only regarding Media DB In Case of Local ( Not Sign in the Cloud Service) 28

Sample App (Unified Single View) cont d After Sign in, Cloud Contents are displayed by using media_view table 29

Sample App (Unified Single View) cont d After Sign in, Make a Cloud Directory Easily by searching storage table 1 2 3 4 open() write() remove() read() close() rename() 30

Summary

Cloudbox: Ready to go.. Don t worry about accessing multi cloud contents anymore Don t modify your Application for Cloud Contents Just follow 4 Check Points only APIs from Tizen 2.4 / Register / Plugins / Sign in You are ready to create exciting new features in your application using Cloudbox 32

In near Future Cloudbox is the First step in Convergence Service Extend the convergence from D2S to Device to Device Plan to Support Unified Single View for D2D Plan to Support for Communication between Devices Plan to Share the Service between Different Devices Why don t you create new Convergence Service with us? 33

Q&A

Thank you