Sei sulla pagina 1di 28

CHAPTER 3 - DESIGN 3.1 DESCRIPTION OF NEW SYSTEM 3.1.

1 Narrative WeTalk Direct Bandwidth Usage Monitor (WeTalk Direct BUM) is a Windows application that monitors and analyzes the bandwidth usage of the server workstation and client workstations in WeTalk Direct Incorporateds office network. WeTalk Direct BUM provides information like the downloads and uploads speed, average download and upload speed, fastest download and upload speed, displays the IP address of the server workstation and the connected client workstations. WeTalk Direct BUM is simple to use. WeTalk Direct BUM runs and displays a system tray icon and shows a repositionable window that you can place on your desktop. WeTalk Direct BUM is set to auto run at system startup. WeTalk Direct BUM has a simple graphical user interface but it is very useful for the technical staff. WeTalk Direct BUM contains two applications, the server application and the client application. The server application is installed in the servers workstation while the client application is installed on the clients workstations. Using WeTalk Direct BUM is a big help to the technical staff this is because it is easy to check the bandwidth usage of the connected clients. The client application will automatically connect to the server application. energy. With WeTalk Direct BUM, the technical staff can save time and The technical staff can leave the server workstation without anything to worry about

because with WeTalk Direct BUM running, WeTalk Direct BUM records the bandwidth usage statistics of the client workstation whenever it connects and or disconnects.

WeTalk Direct BUM also displays the computer information of the server workstation. It displays the computer name, the current user, the operating system, platform and version of the operating system, the configured language of the computer, the CPU and RAM usage along with its progress bar and percentage, and the total and available physical memory of the computer. Use Case Diagram

WeTalk Direct Bandwidth Usage Monitor Accepts TCP Clients Converts binary to message Message sent by client Sends disconnection message to clients Displays the number of connected clients Server Workstation Displays the IP Address of the connected clients in a List Box Removes Client Meter Client Meter Generator Module Client Workstation

Changes Port for TCP Listener

Database Manipulation Module

Figure 3.1.4 Use Case Diagram

In Figure 3.1.4, it shows that the Client Application installed in the client workstations connects to the Server Application installed in the server workstation because the Server Application accepts TCP clients. Then the Server Application converts binary to message, and then passes the sent messages to the Client Meter Generator Module. The Server Application sends disconnection message to the Client Application when changing the port for communication and the Server Application calls the Database Manipulation Module for saving bandwidth usage statistics. The Server Workstation displays the number of the connected clients and displays the IP address of the connected clients in a List Box. The Server Workstation removes the Client Meter. The Server Workstation changes Port for TCP Listener and calls Database Manipulation Module.

3.2 DETAILED DESIGN 3.2.1 Data Design 3.2.1.1 Data Dictionary Computer_Connection_Info Field ID Type AutoNumbe r Field Size Long Integer Format Null NO Default Linked to Comment Primary Key of Computer_Connection_I

nfo DateRecorded TimeRecorded Computer_Name Fastest_Downloa d_Speed Fastest_Upload _Speed Average_Downloa d_Speed Average_Upload _Speed Total_Downloads Total_Uploads Number Number Number Date/Time Date/Time Text Number 55 Long Integer Long Integer Long Integer Long Integer Long Integer Long Integer Short Date Long Time NO NO NO NO The current date when it happen The Current Time when it happen Computer name of the connected workstation Fasted Download Speed in the internet connection Fasted Upload Speed in the internet connection Average Download Speed connected in the Intertal Average Upload Speed connected in the internet Total Download internet speed Total Upload internet speed

Number

NO

NO

Number

NO

NO NO

Figure 3.2.1 Computer Connection Info

IP_Address

Text

15

NO

IP address of the connected workstation or server Total time used when connected

ElapsedTime

Text

NO Figure 3.2.2 Computer Connection Info

In this figure Computer_Connection_Info table is used for storing and viewing the recorded bandwidth statistics of the server workstation and the client workstations.

pass_table

Field ID

Type AutoNumber

Field Size Long Integer 20

Format

Null NO

Default

Linked to

Comment Primary Key of Pass_table

Pass

Text

NO

Set as password for deleting

Figure 3.2.3 Password Table

In this figure pass_table is used for storing the password. To make it secure when deleting an information stored in the Computer_Connection_Info table.

Port_table

Field ID

Type AutoNumbe r Number

Field Size Long Integer Long Integer

Format

Null NO

Default

Linked to

Comment Primary Key of Port_table

Port

NO

COM Port for client server connection

Figure 3.2.4 Port Table In this figure, the Port_table is used for storing the port for communication between the server and its client/s.

Data dictionary (Client) IP_And_Port

Field ID

Type AutoNumbe r Text Number

Field Size Long Integer 15 Long Integer

Format

Null NO

Default

Linked to

Comment Primary Key of Pass_table

IP_Address Port

NO NO

IP address of the workstation COM Port for client server connection

Figure 3.2.5 IP and Port Table In this figure, the IP_And_Port is used of every client for it is a requirement to have an IP_address and Port to be able to connect to an available server.

3.2.1.3 Entity Relationship Diagram Computer_Connection_Info(Ser ver) PK ID DateRecorded TimeRecorded Computer_Name Fastest_Download_Speed Fastest_Upload_Speed Average_Download_Speed Average_Upload_Speed Total_Downloads Total_Uploads IP_Address Elapsed_Time Computer_Connection_Info(Clie nt) PK ID DateRecorded TimeRecorded Computer_Name Fastest_Download_Speed Fastest_Upload_Speed Average_Download_Speed Average_Upload_Speed Total_Downloads Total_Uploads IP_Address Elapsed_Time

Pass_Table PK ID Pass

Port_Table(Server) PK ID Port PK

IP_And_Port(Client) ID IP_Address Port Figure 3.2.6 ERD

The server application will automatically record the bandwidth usage statistics of the server workstation and the client workstations.

3.2.2 Architectural Design

Figure 3.2.7 Architectural Design In this diagram, WeTalk Direct Bandwidth Usage Monitor Server Application is installed in the technical head PC and WeTalk Direct Bandwidth Usage Monitor Client Application are installed in the client workstations. The Client Application connects and sends bandwidth usage statistics to the server application.

3.2.3 Procedural design Process Flowchart (Server)


Start

Get Computer Information, Server-Get- IP Address Module, Server Meter Module, And Activate TCP Listener

If A Client Connects No

Yes

Generate Client Meter Generator Module

Click Save Button? No

Yes

Do Save Button Assigned Module

Close Application?

Yes

Do Close Application Assigned Module

End

No If choose Record Statistics

No

Yes

Do choose records statistics assigned module

Figure 3.2.8 Process Flow

Screen layout Server

Panel 1

Panel 2

Label 9

Combo Box 1

Button 1

Label 10 Label 11 Button 3 Label 14

Label 12 Label 13

List Box 1

Picture Box 4

Figure 3.30 Screen Layout Server

The main form of WeTalk Direct Bandwidth Usage Form 1 Label 1 Label 2 Label 3 Label 4 Label 5 Label 6 Monitor Server application. A label that displays text Date: A label that displays the current date. A label that displays text Time: A label that displays the current time. A label that displays text Network Status: A label that shows whether the server workstation is connected to a network. If the server workstation is connected it will display Connected and if it is not connected it will display Disconnected Label 7 A label that displays text External IP: A label that shows the external or public IP Address Label 8 Label 9 Label 10 provided by the ISP. A label that displays text Recorded Statistics: A label that displays text Server Status:

A label that indicates whether the server application is listening or has Stopped Listening for Label 11 Label 12 clients. A label that displays text Connected Clients: A label that shows the number of clients connected to Label 13 Label 14 the server application. A label that displays the legend of recorded bandwidth usage statistics. FDS - Fastest Download Speed FUS - Fastest Upload Speed ADS - Average Download Speed AUS - Average Upload Speed TD - Total Downloads TU - Total Uploads ET - Elapsed Time Also called as the Go Button, the main button for Button 1 database manipulation. Also called as the Save Button, the button to automatically save all bandwidth usage statistics of the server workstation and the client workstations Button 2 connected.

Button 3

Also called as the Stop Button, the button that will save first all bandwidth usage statistics of the server workstation and connected client workstations then stops the server application from listening to clients.

Picture Box 1 Picture Box 2 Picture Box 3 Picture Box 4 Combo box 1 List Box 1

A picture box that displays an image of a mini calendar.

A picture box that displays an image of a mini clock.

A picture box that displays an image of a mini globe. A picture box that displays the logo of WeTalk Direct Incorporated. A combo box that displays the options you want to manage the database. A list box that shows the IP addresses of the clients connected to the server application. A panel that displays the computer information of the

Panel 1

server application. A panel that shows the server meter and the client

Panel 2

meters connected.

3.2.4.2 Actual Screen Shots (server)

Figure 3.53 Actual Screen Shot Server

Figure 3.53 shows the Main Screen of WeTalk Direct Bandwidth Usage Monitor.

Figure 3.54 shows the start-up of WeTalk Direct BUM.

3.1.1

3.1.2

3.1.3

3.1.4

3.1.5

3.1.6

3.1.7

3.1.8

3.1.9

3.1.10

3.1.11

Figure 3.54 Actual Screen Shot Server

3.1.1 3.1.2

- Label that displays current date. - Label that displays current time.

3.1.3

- Label that display current network status. This label indicates whether the server is connected or disconnected from the network.

3.1.4

- Label that display the external IP provided by the ISP.

3.1.5

- Command button for saving server and client bandwidth usage statistics.

3.1.6

-Combo Box for viewing recorded statistics options.

3.1.7

-Command button to execute selected option for viewing recorded statistics.

3.1.8

-Label that shows recorded statistics legend.

3.1.9

-List box that shows the IP Addresses connected clients.

3.1.10

-Label that displays the number of clients connected. -Picture Box that displays the logo of WeTalk Direct.

3.1.11

3.3 HARDWARE AND SOFTWARE SELECTION Development hardware and software equipment: In architectural side, the team has based most of the hardware parts from the software

requirements and operating system requirements because the software listed are the equipment that would be used to develop the software portion of the system. System Architects Platform Hardware For Windows XP Hardware Processor Minimum 1.6 GHz CPU Recommended 2.2 GHz or higher

CPU or higher Motherboard Gigabyte Motherboard Gigabyte Motherboard can also be higher class 384 MB or higher RAM 7200 RPM or higher hard disk 40 GB 32bits 64MB Integrated or higher P2 Mouse PS2 Keyboard 32x CD ROM Drive 1280x1024 display or higher DSL 384 KBPS DirectX 9 graphics device with WDDM 1.0 or higher driver

RAM Hard Disk

192 MB RAM 5400 RPM (Revolutions Per Minute) hard disk 20 GB 16 bits 32MB Integrated P2 Mouse PS2 Keyboard 8x CD ROM Drive 1024x768 display Figure 3.98 Specification 56KBPS dial up DirectX 9 graphics device with WDDM 1.0

Hard Disk Space Requirement Video Card

Mouse Keyboard DVD/CD Drive Monitor

Internet Connection Graphics device

Figure 3.99 Specification

For Windows 7 Hardware Processor Motherboard Minimum 1.6 GHz CPU 32bit Gigabyte Motherboard Recommended 2.2 GHz 64-bit or higher Processor Gigabyte Motherboard can also be higher class 2 GB RAM (64-bit) 7200 RPM or higher hard disk

RAM Hard Disk

1 gigabyte (GB) RAM (32-bit) 5400 RPM (Revolutions Per Minute) hard disk 30 GB (32-bit) 32bits 64MB Integrated or higher P2 Mouse PS2 Keyboard 16x DVD Drive 1024x768 display

Hard Disk Space Requirement Video Card

60 GB(64-bit) 64bits 128MB Integrated or higher P2 Mouse PS2 Keyboard 32x DVD Drive 1280x1024 display or higher

Mouse Keyboard DVD/CD Drive Monitor

Figure 3.100 Specification

Internet Connection Graphics device

56KBPS dial up DirectX 9 graphics device with WDDM 1.0

DSL 384 KBPS DirectX 9 graphics device with WDDM 1.0 or higher driver

Figure 3.101 Specification Software Windows XP licensed / Windows 7 -

A line of operating systems produced by Microsoft for use on personal computers. This runs all of the applications such as MS Office, etc.

Visual Basic 2008 Express A free development tool just for Windows OS and has a licensed. Developed by Microsoft that is lightweight versions of the Microsoft Visual Studio product line. The idea of express editions is to provide streamlined, easy-to-use and easy-to-learn IDEs for users other than professional software developers, such as hobbyists and students. Used for creating new system software.

Microsoft Office 2007 It is the most recent Windows version of the Microsoft Office system. A collection of computer programs made by Microsoft. The programs are created for all users. It is used for having a connected database with the Visual Basic 2008 Express and is also used for making the documentation.

Adobe Photoshop CS4 Is a graphics editing program developed and published by Adobe Systems. It is the current market leader for commercial bitmap and image manipulation software, and is the flagship product of Adobe Systems. It has been described as "an industry standard for graphics professionals"[1] and was one of the early "killer applications" on the Macintosh, later also for MS Windows. Server and Client Workstation Platform Hardware For Windows XP Hardware Processor Motherboard Minimum 1.6 GHz CPU Gigabyte Motherboard Recommended 2.2 GHz or higher CPU or higher Gigabyte Motherboard can also be higher class 384 MB or higher RAM

RAM

192 MB RAM

Hard Disk

5400 RPM (Revolutions Per Minute) hard disk 10 GB 16 bits 32MB Integrated P2 Mouse PS2 Keyboard 8x CD ROM Drive Figure 3.102 Specification 1024x768 display 56KBPS dial up DirectX 9 graphics device with WDDM 1.0

7200 RPM or higher hard disk 20 GB 32bits 64MB Integrated or higher P2 Mouse PS2 Keyboard 32x CD ROM Drive 1280x1024 display or higher DSL 384 KBPS DirectX 9 graphics device with WDDM 1.0 or higher driver

Hard Disk Space Requirement Video Card

Mouse Keyboard DVD/CD Drive Monitor Internet Connection Graphics device

Figure 3.103 Specification For Windows7 / Vista Hardware Processor Motherboard Minimum 1.6 GHz CPU 32-bit Gigabyte Motherboard

Recommended 2.2 GHz 64-bit or higher Processor Gigabyte Motherboard can

also be higher class RAM Hard Disk 1 gigabyte (GB) RAM (32-bit) 5400 RPM (Revolutions Per Minute) hard disk 20 GB (32-bit) 32bits 64MB Integrated or higher P2 Mouse PS2 Keyboard 16x DVD Drive 1024x768 display 56KBPS dial up DirectX 9 graphics device with WDDM 1.0 2 GB RAM (64-bit) 7200 RPM or higher hard disk 40 GB(64-bit) 64bits 128MB Integrated or higher P2 Mouse PS2 Keyboard 32x DVD Drive 1280x1024 display or higher DSL 384 KBPS DirectX 9 graphics device with WDDM 1.0 or higher driver

Hard Disk Space Requirement Video Card

Mouse Keyboard DVD/CD Drive Monitor Internet Connection Graphics device

Figure 3.105 Specification Software Requirements

Windows XP licensed / Windows 7/ Windows Vista The new current system is design for this kind of operating system.

.NET Framework 3.5 -builds incrementally on the new features added in .NET Framework 3.0. For example, feature sets in Windows Workflow Foundation (WF), Windows Communication Foundation (WCF), Windows Presentation Foundation (WPF) and Windows Card Space. In addition, .NET Framework 3.5 contains a number of new features in several technology areas which have been added as new assemblies to avoid breaking changes. They include the following:

Deep integration of Language Integrated Query (LINQ) and data awareness. This new

feature will let you write code written in LINQ-enabled languages to filter, enumerate, and create projections of several types of SQL data, collections, XML, and Datasets by using the same syntax.

ASP.NET AJAX lets you create more efficient, more interactive and highly-personalized New Web protocol support for building WCF services including AJAX, JSON, REST, POX, Full tooling support in Visual Studio 2008 for WF, WCF, and WPF, including the new New classes in .NET Framework 3.5 base class library (BCL) that address many common

Web experiences that work across all the most popular browsers.

RSS, ATOM, and several new WS-* standards.

workflow-enabled services technology.

customer requests. When installing the new system it will look for a .NET Framework 3.5 during installation for its compatibilities to be able to do what it is design for and use for.