Diagrams

9
Peer Construction Search process Create networ k topolo gy Give Peer IP Address, Port No Connect peer with network Peer details Enter the file name Search File name Routing table Search Peer

description

d

Transcript of Diagrams

Page 1: Diagrams

Peer Construction

Search process

Create network topology

Give Peer IP Address, Port No

Connect peer with network

Peer details

Enter the file name

Search File name

Routing table

Search Peer

Page 2: Diagrams

Updating table

Overall dataflow Diagram:

Routing table

Retrieve the File details

Peer

Search result

Update Peer name, File name

User interaction

Peer login

Construct network

DB

Peer details

Search process

Routing tableRetrieve process

File not found

File found

Message to user

Page 3: Diagrams

UML sequence diagram :

User interaction Peer Login Construct N/W Search process

1

2

3

User

Peer entered

File name to be search

Retrieve process

4

File found

Request another

5

Page 4: Diagrams

UML class diagram:

Admin

ServerSocket sersoc;Socket soc;Int port;

admin ();listen ();

userlogin

Usercontroller usString usernameint port

userdetail(username);addComponent();

usercontroller

Socket sousoc1,ss1;ObjectInputStream oi,oi1Userlogin usl;

userconnect();userdetail();userfiles();

Page 5: Diagrams

UML collaboration diagram:

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

Peer Login

Construct network

1. Login process

2. Construct network

Search

3. Enter file name

File name

4. Search file

5. File not found

Retrieve process

6. File found

Page 6: Diagrams

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 information’s 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

Page 7: Diagrams

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)