You are on page 1of 3

International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169

Volume: 4 Issue: 5 490 - 492


______________________________________________________________________________________
File sharing between mobile devices

Mr. Shubham Kulkari, Mr. Sanath Kumar, Mr. Shivaraju N and Mr. Shivaraj
Department of Computer Science and Engineering
The National Institute of Engineering
Mysore
shubham.279@gmail.com, sanathkumar65.sk@gmail.com, shivarajn1995@gmail.com, shivarajkc35@gmail.com

AbstractFile sharing is the process of distributing or providing access to any form of digital information to one or more users. The proposed
model is a form of communication that allows exchange of data within a Wi-Fi network. Similar systems are already in existence for wired
networks. The aim of this paper is to provide design and implementation details of such a system for mobile phones. The user is first required to
connect to a wireless LAN, discover other users and can then share files with one or more among them.

Keywords- Peer-to-Peer communication, Wireless LAN, Socket, Mobile device, TCP and UDP
________________________________________________*****____________________________________________

I. INTRODUCTION devices, Files are transferred by means of wireless hotspot


Cell phones have evolved from being simple created by sender. Sender selects among the available users
communication devices to a powerful portable computer. in the vicinity. The receiver then connects to the same
The recent advancements in the mobile phone technology network and receives the file.
have incorporated the features of accessing Wi-Fi from Cell III. PROPOSED SYSTEM
phones[7]. In addition smartphones have become mini- This paper gives a description of a system that enables
computers and an increasing amount of data is stored on sharing of files between android based devices connected
them. Hence it is necessary to develop a system for sharing within a wireless LAN. When users enters the Wi-Fi
of files between them within a network just as one does network, proposed system displays the list of other users
between computers in a LAN File sharing is the practice of who are having this system on their mobile in that network.
sharing or offering access to digital information or Using the system services, user can communicate with other
resources, including documents, multimedia (audio/video), user by exchanging packets to IP address of destination user,
graphics, computer programs, images and e-books. It is the with the condition that both communicating person should
private or public distribution of data or resources in a be in same Wi-Fi network. Hence connecting to the network
network with different levels of sharing privileges[8]. acts as authentication for the users.

In general there are two types of file sharing. The proposed system allows communication through Wi-Fi
Peer-to-Peer file sharing: One user can share the file to other which requires neither any internet connectivity nor any
users who are connected to the relevant network. These files service from the service providers. A user can choose which
are divide into small parts or pieces which can be taken from file he wants to share and with which user. UDP protocol is
multiple peers who have the file and then those small pieces used to discover other devices present in the network and for
can be taken into a one file by the downloader through a request-response whereas TCP is used for actual sharing of
peer to peer client[2][3][5]. files[12].

File sync and sharing services: Cloud-based file syncing and IV. DESIGN AND IMPLEMENTATION
sharing services implement automated file transfers by A Use Case diagram shows the various activities the
updating files from a dedicated sharing directory on each users can perform on the system. Figure 1 shows the use
user's networked devices. Files placed in this folder also are case diagram for the proposed system[11]. The following
typically accessible through a website and can be easily are the actors in our system
shared with other users for viewing. Such services have 1. One user who shares the file: The user can put the
become popular via consumer products such files in shared folder. He discovers the other users
as Dropbox and GoogleDrive. in the network and selects the users or a group of
users to whom he wants to share the files.
II. EXISTING SYSTEM 2. Other users with whom the files are shared: These
File sharing system is available in PCs connected users can discovers the other users who has shared
to a LAN wherein to do so the files are placed in a shared the files in their shared folder and open one of the
folder and their access permission is controlled[13]. Another shared folder. He then can select any file and
method of file sharing is by means of cloud storage. The download if he wants to edit it.
files to be shared are uploaded to a server so that they can be 3. Router: Router provides a better communication
accessed from anywhere provided authentication is between the devices at higher speed and a proper
provided. This method is typically useful when a file is to be authentication required for the system
shared with a large number of distributed users. On mobile
490
IJRITCC | May 2016, Available @ http://www.ijritcc.org
_______________________________________________________________________________________
International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169
Volume: 4 Issue: 5 490 - 492
______________________________________________________________________________________

Figure 1 represents the Use case diagram for the system.

Figure 2 represents the level 1 DFD for the system.

Figure 2 shows the level 1 Data flow diagram for the Transfer of data : In order to transfer data or control signals,
system. User 1 shares the files by selecting those from its sockets with predefined port numbers are created and an
local storage. The paths of those selected files are extracted input or output data stream is attached depending on the
and stored in the sqlite database so that this list of files can direction of data transfer[15][17].
be sent to other users in the network by means of creating Share file : Select one or more files to be shared and their
sockets. This list of shared files are available for other users paths are extracted and stored. Then among the
in the network from which they can select any file and
download that from storage of the user. discovered users, select the users with whom file is to be
shared. The details of the file shared along with the name
V. MODULES IMPLEMENTED and Mac address of the user are stored in the database of the
User discovery : Based upon the IP address of the user, its user as SharedItems and are also sent to the intended
subnet is calculated[12]. Then each address in the subnet is receivers.
checked for the presence of a user. User profile : Each user is required to create a profile
consisting of his\her name and a system image. Whenever a
491
IJRITCC | May 2016, Available @ http://www.ijritcc.org
_______________________________________________________________________________________
International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169
Volume: 4 Issue: 5 490 - 492
______________________________________________________________________________________
new user joins, his information including name, image and [2] Jabbar, Waheb A., Mahamod Ismail, and
Mac address are sent to the others. RosdiadeeNordin. "Peer-to-peer communication on
View shared file : The details of files shared by other users android-based mobile devices: Middleware and
are received and stored in the data base as SharedItems. protocols."Modeling, Simulation and Applied
Optimization (ICMSAO), 2013 5th International
When a particular file is selected for viewing, its path is sent Conference on. IEEE, 2013.
to its author which checks if the particular file is present and [3] Seufert, Michael, Valentin Burger, and Tobias Hofeld.
if it is still accessible for that user. If so, the receiver creates "HORST-Home router sharing based on trust." Network
a directory for it if not previously present. File is divided and Service Management (CNSM), 2013 9th
into buffers and sent. International Conference on. IEEE, 2013.
Un-share : Un-sharing is the process of removing a [4] Gang Ding and Bharat Bhargava: Peer-to-peer File-
previously shared file. It can be done in two ways i.e. one or sharing over Mobile Ad hoc Networks: IEEE Computer
more files shared with a particular user can be removed or a Society (2004).
file no matter shared with any number of users can be [5] MinSeokJeon, Sun-Kyum Kim, Ji-Hyeun Yoon, Jinhee
Jo, Sung-Bong Yang Short Paper: Seamless File Sharing
removed. In order to remove it, it is removed from the for Android Devices Department of Computer Science
database. Yonsei University Seoul, Korea.
VI. ADVANTAGES [6] Ketan S. Shevale: Mobile wireless LAN: International
Multiple users can share files with each other Journal of Advanced Research in Computer Engineering
simultaneously. & Technology (IJARCET) Volume 3 Issue 10, October
Receiver may choose which file he wants among 2014.
the ones shared by the sender. [7] Miss. Nayana H S: Messaging and Voice Conferencing
through Wi-Fi Network Int. Journal of Engineering
User authentication is provided which results in
Research and Applications ISSN : 2248-9622, Vol. 4,
improved security. Issue 6( Version 6), June 2014.
Speedup in transfer speed. [8] Yasin, Waheed, et al. "A Systematic Review of File
Does not require access to internet services. Sharing in Mobile Devices Using Peer-To-Peer
Systems." Computer and Information Science4.1 (2010):
CONCLUSION 28.
Smartphones along with wireless hotspots are becoming [9] Aditya Kothari, Tejal Gath, MitaliGadam,
increasingly commonplace these days. It makes perfect ShubhayKadam: Comparison of File transfer protocols
and using Android to access files on Desktop Wirelessly:
sense that these resources be used to construct a system for International Journal of Scientific and Research
sharing data which is simple and easy to use. It also Publications, Volume 5, Issue 12, December 2015 446
provides users the flexibility of accessing any part of data ISSN 2250-3153.
shared with them in a quick and safe manner. This system [10] ArdalanAmiriSani, Kevin Boos, Min Hong Yun, and Lin
can be used anywhere provided one is connected to a Zhong: A System Solution for Sharing I/O between
wireless LAN hence it has wide consumer applications. Mobile Systems.
[11] Software engineering, A practitioners approach by
FUTURE ENHANCEMENTS Roger S Pressman.
[12] Data communication and networking by Behrouz A
Provide a mechanism by which a shared file when
Forouzan.
updated by a receiver is notified to other users [13] http://askubuntu.com/questions/96849/sharing-files-in-
having it so that each knows who has the latest lan-through-samba-or-ssh
copy [14] http://www.javaforea ch.com: Interactive platform for
Use user defined images for user profile Java Developers
[15] http://java.sun.com/docs/books/tutorial/net
REFERENCES working/sockets/index.html
[1] Jeon, MinSeok, et al. "Short paper: Seamless file sharing [16] http://www.java2s.com
for Android devices." Internet of Things (WF-IoT), 2014 [17] http://java.sun.com/docs/books/tutorial/net
IEEE World Forum on. IEEE, 2014. working/sockets/index.html
[18] http://www.java2s.com

492
IJRITCC | May 2016, Available @ http://www.ijritcc.org
_______________________________________________________________________________________

You might also like