G.J. E.D.T.,Vol.3(2):11-15 (March-April, 2014) ISSN: 2319 – 7293

A PAPER STUDY ON CLOUD ENABLED FILE SYNCHRONIZER Aaysha Shaikh,Sonali Shetye,Kirti Pagare, & Prof. Vijaya Sagvekar

Abstract The power of , distributed files system and information of personal data gain a supreme-importance in current era in result of which the number of user –managed devices continues to increase and the need for synchronizing multiple file hierarchies distributed over devices with ad hoc connectivity is becoming a significant important issue. In this project paper ,here presenting a built with efficient cloud based synchronization of any arbitrary number of distributed across the mobile devices. The different types of files can be effectively upload and sync with no human intervention efforts. This paper concern with many issues with distributed mobile based connecting file devices.

Index Terms— File synchronization, data management, distributed storage, cloud service.

I. Introduction In today’s world users increasingly depend on electronic information that is processed and stored in a multitude of computers and storage devices connected in multiple different architectural networks. With demandable up-gradation of technology interconnected network and computer handling devices attract the smart device users to maintained it precious data with ad-hoc bases ,but the need of getting easy way to share files across smart phones ,tablets, and desktop concern with significant issues like many of these devices have limited storage capacities and exhibit a adhoc network connectivity , such as frequent offline operation and/or movement through different networks, introduce many challenges in managing user data distributed over multiple devices and many locations. In this project paper, we review the main cloud computing architecture patterns and identify the main issues related to security .privacy ,trust and availability .In order to address such issues ,we present a high level architecture for trust models in cloud computing environment.We proposed a product Cloud Enable File Synchronizer which provides a single solution that securely stores all once business files, personal data with effortless with co-workers ,clients and group friends in organizational or business environment .It files for you. For a business concerns it eliminates the need to purchase and maintain servers, virtual private networks (VPN) and point-products such as FTP, with a unique hybrid approach to online storage, It enables you to access, edit and store files locally (in your office) or online (in the Internet cloud), thereby providing the advantages of both traditional servers and cloud-based solutions but without the associated high costs and overhead.

II. Approach In our paper we deal with second approach cloud master-replica synchronization which solves some of these issues by employing cloud services to automate synchronization and deal with the small mobile devices with ad hoc connectivity. In the approach followed by many cloud-based synchronization and backup services (e.g. [6], [7], [8], [9]), a master replica with all data to be synchronized is maintained as a central copy in the cloud, while all the user’s file systems synchronize and transfer updates to this central copy. This approach with one-way synchronization to the master replica in the cloud, offers increased availability and reliability in case of device failure(s), automates synchronization management and does not require technical skills.

Fig-1 IT enables business users to access up-to-date enterprise content anytime, anywhere. It combines the ease of use business users want with the IT controls, security, and management that enterprises require. Files are continuously synchronized via the cloud to ensure that users have access to their content across mobile, desktop, and laptop devices.

11 G.J. E.D.T.,Vol.3(2):11-15 (March-April, 2014) ISSN: 2319 – 7293

Cloud Enabled File Synchronizer is intended to play a demanding role in social network market as well as for business concerns. The great advantage of cloud computing is “elasticity”: the ability to add capacity or applications almost at a moment’s notice. Companies buy exactly the amount of storage, computing power, security and other IT functions that they need from specialists in data-center computing. They get sophisticated data center services on demand, in only the amount they need and can pay for, at service levels set with the vendor, with capabilities that can be added or subtracted at will. Cloud Enabled file synchronizer provides flexible storage that can scale up and down as needed. The data can be synchronized to other devices using the cloud sever. It’s as easy as copying a file to a different folder and later viewing a file from a folder. It lets one collaborate by keeping all your shared files up-to-date in real time also it offers admin dashboard through which number of users can be control, monitor activity, remotely wipe data and much more. In a similar fashion, cloud computing currently offers affordable, large-scale computation for businesses and social media market. Just as the commodity PC and the Internet brought about the Information Revolution, and made information universally accessible, affordable, and useful, so too does cloud computing have the potential to bring about the Computation Revolution, in which large-scale computations become universally accessible, affordable, and useful.

Fig-2 III. System Design In our approach we assume a scenario where a user needsto synchronize a number of data files stored in the file systemsof multiple devices (or nodes), each located in a differentlocation with ad hoc connectivity. The user files are sync to the server cloud periodically and its duty of cloud need to check the update done at multiple user simultaneously accessing the same file while syncing .conflict detection and classification of files is major concerns .we have proposed two algorithm for each which is mention in Section I and Section II. As proposed system allow the uploading of any valid type of files like Video ,Audio, Images and Document one .The product check that Only text file content can be simultaneously permissible to write and read. The Sync Algorithm is check to performed proper sync .comparing with FTP file system it allow the better sync ,replica back up and access to all over the world.

1) Connecting to cloud server File metadata is define as M(f)={path (directory),name, size, creation time ,last modification time, data Hash) data Hash: Hash index of content of the file as shown in figure2 in order to automatically sync to number of user devices we assumes that the cloud service is able to connect and communicate with device over the internet ,when they able to connect ,and collect metadata of the file trees from each device .Each device periodically send and update for its file trees to the cloud service . Cloud Replica Check: For a replica A, PA = previous sync state of A CA = current state of A DA = diff state of A DA = CA - PA With the use of timestamp the previous and new replica is check and current new replica is store in to the cloud with modify sync files. The diff states of replicas are carefully analyzed to detect individual changes to files. A “file change” refers to either a file content modification, a file rename, a file creation or a file deletion, with respect to its previous sync state. In a diff state of a replica, the diff state of each file can be in one of five different types: modified, renamed, deleted, new or unmodified. The detection of file changes in a replica and the computation of diff state is described in Algorithm II-2:File classification.

2) Initial Sync Algorithm Algorithm 1 First Sync for two filetrees. Let FTA and FTB be two filetrees, on nodes A and B

12 G.J. E.D.T.,Vol.3(2):11-15 (March-April, 2014) ISSN: 2319 – 7293 respectively. drefers to a directory name (absolute path from root of FT), f to a file name (within a directory), and hash(f) to the hash of a file’s data. ford in FTA do ifd’exists in FTB, such that d == d’ then forf in d do if f’ does not exist in d’, such that f’ == f then fis a new file to be copied to d’ else if f’ exists in d’, such that f’ == f then ifhash(f) != hash(f’) then filef exist but is modified iffTimestamp>f’Timestampthen copy modification to f’ else copy modification to f end if else if hash(f) == hash(f’) then same file f exist unmodified end if else if f’’exists in d’, such that hash(f’’) == hash(f) then filef exists in FTB with same content but different name iffTimestamp>f’’Timestampthen renamef’’ to name(f) else rename fto name(f’’) end if end if end for else created in FTB and copy all files in d to FTB end if end for[1]

Algorithm2 File Classification Let PA,PB,PCbe the previous sync states, and CA,CB,CC the current states of replicas A, B and C respectively. Let DA,DB,DCbe the diff states between the previous sync state and current state of each replica. Modified Renamed Let DA be the set of Modified files, DA New Delete the set of Renamed files, DA the set of New files, and DA the set of Deleted files in replica A after a previous sync. fornode X in A,B,C do for file f in CX and f’in PX, such that f’== f do ifhash(fCX) != hash(f’PX) and name(fCX) == name(f’PX) then Modified fis classified as Modified →DX else if name(fCX) != name(f’PX) and hash(fCX) == hash(f’PX) then Renamed fis classified as Renamed→DX else if f is not in PX then New fis classified as New →DX else if f’is not in CX then Delete fis classified as Deleted→DX else fis unmodified end if end for end for[1] For Each device check is performed are: . File exists on A but not on B (and vice-versa) . File exists on both and is identical . File exists on both and is different Data Fragment and Sync:

13 G.J. E.D.T.,Vol.3(2):11-15 (March-April, 2014) ISSN: 2319 – 7293

To make the efficient fast sync with devices the user data is first split into multiple fragment and sync in respective fragment packets to cloud and then to individual device.

DATA DATA

User data Fragments Received Data

Fig4. Data Transmission Process

IV. Comparison As we have discuss many issues mention in reference [1] and introduce a better design as compare to it. Because if we consider syncing data with multiple devices advantages of cloud as well peer to peer network it ends with a demanding network overhead complexity and practically not possible because of reasons mention as follows 1) The data syncing become slower because of first finding the un updated directories and sync accordingly 2) If connection problem occur some precious data may get loss. 3) No back up facility will be available 4) By using cloud the overhead of cabling and connection get reduce as compare to syncing peer to peer. Parameters Reai Sync DropBox GoogleDrive SkyDrive Box iCloud

Back Up to the Cloud Real-time     upload of changes Backup ANY    files on your computer Sync with    Multiple Devices Share and Collaborate Send files of      any size Share files     

Share files     with permissions Fig.5 Comparison

V. Conclusion In this paper, emphasis on a approach of cloud Enabled file Synchronizer which will provide very effective an on demand need of distributed synchronization of files any time on any device .its cloud based approach also aims at cutting down the expenses faced by the users to buy special hardware and software. Its a flexible storage that can scale up and down as needed. A cloud application needs a constant connection that might prove to be an Achilles heel for the cloud computing movement. However as mobile internet capabilities continue to get better, it is likely that solutions to this particular problem will become apparent. New programming languages such as HTML 5 already provide a solution by enabling data caching through a mobile device, and this allows a cloud application to continue working if connection has been momentarily lost. In future the adequate security measures can be incorporated to support the low processing ability at the client-side with the feasibility of extrapolating concepts from cloud computing in the domain of large-scale computers to the realm of mobile world.Using cloud computing we can share any kind of data between a numbers of clients .The idea of the project is “Carry Less, Use More!”

VI. Reference [1] Sandesh Uppoor, Michail D. Flouri and Angelos Bilas,”Cloud-based Synchronization of Distributed File System Hierarchies “,IEEE2010. [2] Sky Drive https://onedrive.live.com [3] A. Tridgell, “Efficient algorithms for sorting and synchronization,” 2000. [4] B. C. Pierce, J. Vouillon, and J. Vouillon, “What’s in unison? a formalspec ification and reference implementation of a file synchronizer,” tech.rep., 2004.

14 G.J. E.D.T.,Vol.3(2):11-15 (March-April, 2014) ISSN: 2319 – 7293

[5]http://code.google.com/p/syncbutler. [6] www.dropbox.com. [7] http://onesync.googlecode.com. [8] http://www.goodsync.com/support/manual. [9] https://www.sugarsync.com/.

Author(s) Aaysha Shaikh:Final Year Student of Atharva College of Engg., University of Mumbai,publishing this paper as a part of curriculum work. Sonali Shetye: Final Year Student of Atharva College of Engg., University of Mumbai,publishing this paper as a part of curriculum work. Kirti Pagare: Final Year Student of Atharva College of Engg., University of Mumbai,publishing this paper as a part of curriculum work. Vijaya Sagvekar: Assistant Prof. at Atharva College of engg. , University of Mumbai, having teaching experience of nearly 8yrs. Research Area includes Networking, cloud computing.

15