Professional Documents
Culture Documents
Most common way of file exchange is emailing, blog or websites, etc. These way have
certain issues like information value of file (rating level may be high or low), security,
availability, etc.
The purpose of this project will manage file sharing. The main objective of our project
“Rating Based File Retrieval” is to develop a high performance network, whose primary
purpose is to build a storage devices which stores files and allow users to access, share and
modify it from anywhere through LAN.
Generally users upload files and save them on their RBFR Userfolder and if they want to
share that file with any other user then personally they have to send their files using some
services which is tedious work. The other factor is security issue i.e. while sharing the file,
user is not sure that whether it reaches to the correct destination without tempering file. If
user wanted to modify the file which it had saved on its Userfolder, then either he has to
access same computer or has to take manually that file in any other storage.
User can request file to the server by sending filename “string” and server searches
matching filename in “master-file” and selects top rated file and sends to the
requested user after consulting to file owner.
Functional Requirements
Following are modules of this application:
Client module
i. Client Registration
ii. Client Login
iii. File Upload
iv. File Download
Server module
i. Records Client Registration
ii. Processes Client Login Request
iii. Handles Download Process
iv. Support Rating Mechanism
A file is an object on a computer that stores data, information, settings, or commands used
with a computer program. In a GUI (graphical user interface), such as Microsoft Windows,
files display as icons that relate to the program that opens the file.
A file is created using a software program on the computer. For example, to create a text
file you would use a text editor, to create an image file you would use an image editor, and to
create a document you would use a word processor.
File sharing is the practice of distributing or providing access to digital media, such as
documents, pdf, ppt, images, audio, etc.
File sharing has three major types. In a network, one file-sharing method or any combination
of these three can be used. They are as below:
i. System-native
Our application is constructed by this type of file sharing. It is usually intended for sharing
files in our local network with other users. Sometimes it allows printers also. But it is not
intended for sharing files with others across the LAN.
ii. Client- server
Client-server file sharing model covers different types of fields such as web pages, email,
FTP, cloud storage services and so on. Sometimes the data is stored in a central location. It is
called the server. Often the data is sent separately to each user who requests it. They are called
the clients. This model is mainly used for file sharing through internet.
iii. Peer-to-peer
This model of file sharing doesn't rely on a single central server. Any two users can exchange
Data, information or resources with each other directly where one user can upload files to the
Server and another user can download files from the server. We are using client-server file
sharing type and the concept of peer-to-peer within local network.
A local area network (LAN) is a computer network that interconnects computers within a
limited area such as a residence, school, laboratory, university campus or office building.
Ethernet and Wi-Fi are the two most common technologies in use for local area networks.
The TCP/IP-based LAN successfully supported Telnet, FTP, and a Defense Department
teleconferencing application.
A document is a written, drawn, presented, or memorialized representation of thought. In the
past, the word was usually used to denote a written proof useful as evidence of a truth or fact.
In the computer age, "document" usually denotes a primarily textual computer file, including
its structure and format, e.g. fonts, colors, and images. Contemporarily, "document" is not
defined by its transmission medium, e.g., paper, given the existence of electronic documents.
Documents are also distinguished from "realia", which are three-dimensional objects that
would otherwise satisfy the definition of "document" because they memorialize or represent
thought; documents are considered more as 2 dimensional representations. While documents
are able to have large varieties of customization, all documents are able to be shared freely,
and have the right to do so, creativity can be represented by documents, also. History, events,
examples, opinion, etc. all can be expressed in documents.
their provided login. The documents are uploaded by faculty to different corresponding
departments. We propose to build this system on a LAN based server that allows faculty to
upload data and students may view and download required documents through their device.
Here students only see and download data of their particular semester. Rest data is hidden.
Faculty may access and upload/edit documents to any semester or add any notice as desired.
The authorized user generates the secure request for the interested search word and gives it to
the RBFR server. After receiving the request, the RBFR server uses the search word to get the
matched file IDs. If the match occurs, the RBFR server retrieves the file IDs of the most
relevant files to a search word instead of retrieving all the documents relevant to a search
word. The ranked order retrieved files then sent back to the user. In this study we concentrate
on single word search. Since the score is always same for the given search word, the result is
always accurate.
2. Literature survey.
2.1 Existing System
When the existing system was studied, it was found having some problems, existing system
was very time consuming and was not very efficient. The drawback of the existing system
has resulted in to the development of new system, which is very user friendly and efficient.
Existing system was also very low in performance.
In existing system user cannot share the files with multiple users at a time. And the files do
not have security as the user who received the file can share to a number of users.
Less Security.
be managed by either individual or joint venture, both parties can manage the files in a joint
project. As an individual user, you will get to store and exchange 5 GB of data for free, which
is pretty much enough to never have to upgrade your account.
2.3.2 Box
Box turns creating, editing, and reviewing files into team actions, and keeps a close eye on
your information for unparalleled security. Box offers “enterprise grade security and
scalability”. Box will provide you with centralized security controls and reporting, customer-
managed encryption, rights management, and mobile security; and integrate with all popular
apps for day-to-day use to make data transfers painless.
Drawbacks:
Box doesn’t offer an easy way to preview files, this makes it difficult to use Box as a
repository of marketing materials, such as our image library. “Under the free plan, files larger
than 250MB can't be uploaded,” says Joanan Hernandes, founder of mobile
platform Mollejuo. “So you have to split the files when you need to upload larger files.”
Drawbacks: When you want to backup iPhone data, you must be connected to Wi-Fi
network. Without it, back up would not be possible. Security issue: The fact you are storing
your data to a third party opens the possibility that someone who is not authorized will access
your files.
Not all files are included in iCloud backup: For example, media files, you didn’t buy at the
iTunes Store, will not be included. Slow transfer of large files: Many users noticed the large
files are transferring really slowly.
Drawbacks:
Limited document size support. Microsoft does not support files over 15 GB in
OneDrive for Business. For larger files, you may need to use a compression utility.
Lack of third-party app integrations. Currently, OneDrive for Business does not
enable third-party app integrations as compared to OneDrive for personal use. You
cannot sync your business account with apps such as calendars or message boards.
Limited offline access. Although OneDrive for Business allows offline access once a
user downloads the app, that is about as far as offline access goes. If your team needs to
conduct a great deal of work offline, you may want a more robust system.
Synology Drive is the leading file-sharing software that provides fast and secure ways to
share and store your files. The platform allows you to explore, add, and organize your files
using a mobile phone or tablet. It is compatible with Android, iOS, and Windows Phone,
making it easier for you to access your files from any device of your choice.
It gives you an effortless cloud-storage experience at over 112 MBps of sequential reading.
All your files are also protected by Synology Drive’s robust multi-version backup solution.
This way, your digital assets are safe from malicious attacks and ransomware threats. Aside
from this, the system has sync functionalities so you can easily see all the changes in your
storage and access files throughout different offices.
Real-time file synchronization: With Synology Drive’s Client desktop application, you can
sync your files between Windows, macOS, Ubuntu computer, and Synology Drive Server.
The on-demand sync feature also lets you see all the files without consuming PC storage.
Drawbacks:
When you download files from people that you don’t know or from the untrusted
source, there is a risk of downloading viruses, Trojans and other types of malware.
Some end-users are confident in illegally downloading files if an antivirus program
has support to scan the connections and the files, using a P2P application.
They don’t realize that their private information is at risk, in addition to facing the law
if their ISP has determined that their customer is using the internet connection
illegally.
3. Problem Definition
3.1 Problem definition
Understanding the file formats which can be transferred from the clients (format like a
jpg, docx, and pdf).
Identifying the particular client at where the file has been uploaded providing the feature
file along with client name.
Providing an appropriate platform for the file which can be easily opened.
Searching the file in a machine whether file is not available in a machine, file will be send
by server to other clients for searching.
RBFR Client 1
RBFR Server
Register
Userfolder
Register
RBFR Client 2 L RBFR
A Userfile 1
N
Master
File upload RBFR
file
Userfile 2
File request
RBFR
Userfile n
RBFR Client n
File download
Scope:
The software developed is very helpful to users for file sharing or file exchange securely.
Users can store, track, and share files through our rating based file retrieval application, we
don’t have to invest in another file sharing solution. It indicates software that is capable for
providing the solution for all existing problem.
ii. Client Login: Here Client should login with server by providing username and
password. If both inputs are correct, the homepage will be displayed otherwise it shows
an error message (invalid inputs). Password is case sensitive.
iii. File Upload: It provides all rbfr users, without a necessity to upload files of type pdf,
ppt, and docs and to store them or share them with their friends easily. It encourages all
users to use the services as they want, without any hassle.
iv. File Download: Users can download files by requesting to the server. After completion of
an upload, a download link will be generated. User can share this link with anyone and when
they visit this link will see a download button and get these files easily. And the server will
send files which are well rated.
iii. Handles Upload Process: User sends file upload request with upload command,
server receives file upload request and checks that service requesting user has enough
space available or not on the basis of the file size user wants to upload.
If server finds that user has enough available space it puts user’s file named “xyz.pdf”
in the userfolder named as “user_id” of this user. Otherwise server sends a message to
user that you don’t have enough storage available to upload the file.
After uploading the file server updates the available storage of the user by subtracting
the size of the uploaded file from the current available storage of the user.
iv. Handles Download Process: User sends file download request with download
command, and gives filename and a path where user wants to save the file, server
receives the download request from the user and checks in the userfolder named as
user_id for downloading.
If server finds the requesting file in the userfolder, it sends the file to the requesting
client and then client saves the received file in the place specified by the user.
If server doesn’t find requesting file in the userfolder, it sends a message to other clients
for asking to share the file (which is well rated), if they send message “yes” , then the
server sends the file to the requested client.
v. Support Rating Mechanism: Once all the clients uploads their files to server, server
stores them in a userfolder which are initially rated as 1. The rating mechanism is done,
when a client requests for a file which is not available in his userfile, server asks other
clients to share the file, if they share the fileserver sends the file to requested client and
asks him to rate it. Server records the rating on each user file uploaded (the rating is
average score out of 5).
4.4Performance requirement
4.5Exception handling
4.6Acceptance criteria
4.7Design hints and guidelines
4.8Glossary of terms
TCP – Transmission Control Protocol is one the main protocols of the Internet protocol suit.
UDP – User Datagram Protocol, which provides a connectionless datagram service that
prioritizes time over reliability.
Socket – A socket is one endpoint of a two-way communication link between two programs
running on the network
Swing – Swing is a GUI widget toolkit for Java. It is part of Oracle's Java Foundation
Classes (JFC) – an API for providing a graphical user interface (GUI) for Java programs.
IP – An Internet Protocol address is a numerical label assigned to each device connected to a
computer network that uses the Internet Protocol for communication. An IP address serves
two main functions: host or network interface identification and location addressing
Port – A port is a communication endpoint. At the software level, within an operating system,
a port is a logical construct that identifies a specific process or a type of network service.
LAN – A local area network is a computer network that interconnects computers within a
limited area such as a residence, school, laboratory, university campus or office building.
HTTP – The Hypertext Transfer Protocol is an application protocol for distributed,
collaborative, hypermedia information systems.
FTP – The File Transfer Protocol is a standard network protocol used for the transfer of
computer files between a client and server on a computer network.
Hardware Requirements
Software Requirements
5. System design
5.1 Use Case Model
Register to the
application
Login to the
application
View profile
Upload Files
Client
Download Files
Rate’s the
downloaded file
6. Detailed design
6.1 High level design
6.1.1 ER model/Object model
Object Model: - An Object is an instance of a class. A specific thing that has a
specific value of the attributes and behavior.
3. The Relationship among Server and Clients can be represented using the
object model.
Client
2
Client Client
1 3
Server
Client Client
n 4
….
State Diagram: -
At any given time an object is in a particular state. State Transition
Diagrams are used to represent the states of an object at any particular instance.
Client Server
Initiated Sends Host Address Initiated
Server
Exit
Server in
Listening
State
7. Implementation
9. Conclusion.
Websites
https://www.tutorialpoint.com
https://www.javatpoint.com
12. Index
13. Appendices
13.1 User manual
Prepare document with the consultation of your guide covering all above points. Content in
the document should be with following formatting
Font style times new roman for entire document.
All the textbook references should be in IEEE (A, B, E, P, Y) format, complete URL of
websites visited should be present and detail of other resources should be included.
Cover page and certificate should be color printed on the card sheet.
3 copies (1 guide, 1 department and 1 self copy) of Project report must be prepared and
should be spiral bound using white colored translucent cover sheet and navy blue
opaque back sheet.