Está en la página 1de 7

Peer Construction

Peer details

Create
network
topology

Connect peer
with network

Give Peer IP
Address, Port No

Search process
Routing table

Enter the file


name

Search File
name
Search Peer

Updating table

Update Peer name,


File name

Routing table

Search
result

Retrieve the
File details

Peer

Overall dataflow Diagram:


Peer details

DB

Peer login

Construct
network

User interaction

File found

Retrieve
process

Routing table

Search
process
File not found
Message to user

UML sequence diagram :

User interaction

Peer Login

Construct N/W

Search process

Retrieve process

1
User
2
Peer entered

3
File name to be
search

5
Request another

4
File found

UML class diagram:

Admin
ServerSocket sersoc;
Socket soc;
Int port;
admin ();
listen ();

userlogin
Usercontroller us
String username
int port
userdetail(username);
addComponent();

usercontroller
Socket sousoc1,ss1;
ObjectInputStream
oi,oi1
Userlogin usl;
userconnect();
userdetail();
userfiles();

UML collaboration diagram:


1. Login process

Login

Peer

2. Construct network

File name

Construct
network

3. Enter file name

4. Search file
5. File not found

Search
6. File found

Retrieve process

Input design
Input design is the process of converting user-oriented input into
computer-based format. The goal of designing input data is to make data entry as easy as
possible and free from errors. Errors in the input are handled in the input design. The
input data is the lifeblood of a system and have to be analyzed and designed with utmost
case and consideration. The decisions made during the input design are:

To provide cost effective method of input

To achieve the highest possible level of accuracy

To ensure that input is understand by the user


In this project various resources like textboxes, dropdown list, link buttons etc

are used for accepting user inputs. The main type of inputs to this project is files which
can be a text file or image file. The other inputs to this project include file names,
destination user name, integer values for splitting files into packets. The file name is
nothing but the file that is to be spited into packets and transferred to the specified
destination. Destination user name is the user who is going to reassemble the spited
packets. Taking into account, all the above needs of the input designing, the new process
designing could have the following features. In all cases processing should be automatic
and manual work should be kept minimum. Similarly, the user input should also be kept
minimum or least extend possible. By giving the above input calculations should be
automatic. The auto calculation is the motto of this new process, while providing the auto
calculation the results with minimum time operation, should be accurate and free from
errors.

Output Design
Output design generally refers to the results and informations that are generated by
the system for many end-users; output is the main reason for developing the system and
the basis on which they evaluate the usefulness of the application. The basic requirements
of output are that it should be accurate, timely and appropriate, in terms of content,
medium and layout for its intended purpose.

User manual:
Install JDK 1.4 or other higher version
Install SQL Server 2000 in local PC
Set environment variable in the PC
Copy the application folder any directory (it may be C:\D:\E:)

Create database for the application (follow readme.txt file)


Create DSN correctly
Compile all java files in all folders
Double click admin.bat ( in admin folder )
Double click user .bat (in all source peers)

También podría gustarte