CHAPTER 3 Sample Documents

Embed Size (px)

Citation preview

  • 8/4/2019 CHAPTER 3 Sample Documents

    1/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. WeTalkDirect 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 tocheck the bandwidth usage of the connected clients. The client application will automatically

    connect to the server application. With WeTalk Direct BUM, the technical staff can save time and

    energy. 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.

  • 8/4/2019 CHAPTER 3 Sample Documents

    2/28

    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

  • 8/4/2019 CHAPTER 3 Sample Documents

    3/28

    Client Meter

    Generator

    WeTalk Direct Bandwidth Usage

    Monitor

    Displays the

    number of

    connected clients

    Converts binary

    to message

    Message sent by

    client

    Sends

    disconnection

    message to clients

    Accepts TCP

    Clients

    Displays the IP

    Address of the

    connected clients

    in a List Box

    Removes

    Client Meter

    ServerWorkstation

    Client

    Workstation

  • 8/4/2019 CHAPTER 3 Sample Documents

    4/28

    Figure 3.1.4 Use Case Diagram

    Changes Port for

    TCP Listener Database

    Manipulation

  • 8/4/2019 CHAPTER 3 Sample Documents

    5/28

    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 Type FieldSize

    Format Null Default Linkedto

    Comment

    ID AutoNumber

    LongInteger

    NO Primary Key of

    Computer_Connection_I

  • 8/4/2019 CHAPTER 3 Sample Documents

    6/28

    nfo

    DateRecorded Date/Time ShortDate

    NO The current date whenit happen

    TimeRecorded Date/Time LongTime

    NO The Current Time whenit happen

    Computer_Name Text 55 NO Computer name of theconnected workstation

    Fastest_Downloa

    d_Speed

    Number Long

    Integer

    NO Fasted Download Speed

    in the internetconnection

    Fastest_Upload

    _Speed

    Number LongInteger

    NO Fasted Upload Speedin the internet

    connection

    Average_Download_Speed

    Number LongInteger

    NO Average DownloadSpeed connected in

    the Intertal

    Average_Upload

    _Speed

    Number Long

    Integer

    NO Average Upload Speed

    connected in theinternet

    Total_Downloads Number LongInteger

    NO Total Downloadinternet speed

    Total_Uploads Number LongInteger

    NO Total Upload internetspeed

    Figure 3.2.1 Computer Connection Info

  • 8/4/2019 CHAPTER 3 Sample Documents

    7/28

    IP_Address Text 15 NO IP address of theconnected workstation

    or server

    ElapsedTime Text 8 NO Total time used whenconnected

    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 Type Field Size Format Null Default Linkedto

    Comment

    ID AutoNumber Long

    Integer

    NO Primary Key of

    Pass_table

    Pass Text 20 NO Set as password fordeleting

    Figure 3.2.2 Computer Connection Info

    Figure 3.2.3 Password Table

  • 8/4/2019 CHAPTER 3 Sample Documents

    8/28

    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

    In this figure, the Port_table is used for storing the port for communication between the server

    and its client/s.

    Field Type Field Size Format Null Default Linkedto

    Comment

    ID AutoNumber

    LongInteger

    NO Primary Key of

    Port_table

    Port Number LongInteger

    NO COM Port for clientserver connection

    Figure 3.2.4 Port Table

  • 8/4/2019 CHAPTER 3 Sample Documents

    9/28

    Data dictionary (Client)

    IP_And_Port

    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.

    Field Type Field Size Format Null Default Linkedto

    Comment

    ID AutoNumber

    LongInteger

    NO Primary Key of

    Pass_table

    IP_Address Text 15 NO IP address of theworkstation

    Port Number LongInteger

    NO COM Port for clientserver connection

    Figure 3.2.5 IP and Port Table

  • 8/4/2019 CHAPTER 3 Sample Documents

    10/28

    3.2.1.3 Entity Relationship Diagram

    The server application will automatically record the bandwidth

    usage statistics of the server workstation and the client

    Computer_Connection_Info(Ser

    ver)PK ID

    DateRecorded

    TimeRecorded

    Computer_Name

    Fastest_Download_Speed

    Fastest_Upload_Speed

    Average_Download_SpeedAverage_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_SpeedAverage_Upload_Speed

    Total_Downloads

    Total_Uploads

    IP_Address

    Elapsed_Time

    Port_Table(Server)

    PK ID

    Port

    Pass_Table

    PK ID

    Pass

    IP_And_Port(Client)

    PK ID

    IP_Address

    Port

    Figure 3.2.6 ERD

  • 8/4/2019 CHAPTER 3 Sample Documents

    11/28

  • 8/4/2019 CHAPTER 3 Sample Documents

    12/28

    3.2.3 Procedural design

    Process Flowchart (Server)

    Start

    GetComputer Information,

    Server-Get- IPAddress Module,

    Server Meter Module,And

    Activate TCP Listener

    IfA

    ClientConnects

    Generate Client Meter

    Generator Module

    Click

    SaveButton?

    Yes

    No

    Do Close

    Application

    CloseYes

    Do Save Button

    Assigned Module

    End

    No

    Yes

  • 8/4/2019 CHAPTER 3 Sample Documents

    13/28

    Button 1

    Panel 2

    Panel 1

    Picture Box 4

    Label 10

    Label 11

    Label 14

    Label 13Label 12

    List Box 1

    Button 3

    Label 9 Combo Box 1

    Screen layout Server

    Figure 3.30 Screen Layout Server

  • 8/4/2019 CHAPTER 3 Sample Documents

    14/28

    Form 1

    The main form of WeTalk Direct Bandwidth Usage

    Monitor Server application.

    Label 1 A label that displays text Date:

    Label 2 A label that displays the current date.

    Label 3 A label that displays text Time:

    Label 4 A label that displays the current time.

    Label 5 A label that displays text Network Status:

    Label 6 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:

    Label 8

    A label that shows the external or public IP Address

    provided by the ISP.

    Label 9 A label that displays text Recorded Statistics:

    Label 10 A label that displays text Server Status:

  • 8/4/2019 CHAPTER 3 Sample Documents

    15/28

  • 8/4/2019 CHAPTER 3 Sample Documents

    16/28

    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

    A picture box that displays an image of a mini

    calendar.

    Picture

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

    Picture

    Box 3 A picture box that displays an image of a mini globe.

    Picture

    Box 4

    A picture box that displays the logo of WeTalk Direct

    Incorporated.

    Combo box

    1

    A combo box that displays the options you want to

    manage the database.

    List Box

    1

    A list box that shows the IP addresses of the clients

    connected to the server application.

    Panel 1

    A panel that displays the computer information of the

    server application.

    Panel 2

    A panel that shows the server meter and the client

    meters connected.

    3.2.4.2 Actual Screen Shots (server)

  • 8/4/2019 CHAPTER 3 Sample Documents

    17/28

    Figure 3.53 Actual Screen Shot Server

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

  • 8/4/2019 CHAPTER 3 Sample Documents

    18/28

    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

  • 8/4/2019 CHAPTER 3 Sample Documents

    19/28

    Figure 3.54 Actual Screen Shot Server

    3.1.6 3.1.7 3.1.8 3.1.9 3.1.10 3.1.11

  • 8/4/2019 CHAPTER 3 Sample Documents

    20/28

    - Label that displays current date.

    - Label that displays current time.

    - Label that display current network status. This label indicates whether the server is

    connected or disconnected from the network.

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

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

    -Combo Box for viewing recorded statistics options.

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

    -Label that shows recorded statistics legend.

    3.1.1

    3.1.6

    3.1.2

    3.1.3

    3.1.4

    3.1.9

    3.1.8

    3.1.7

    3.1.5

  • 8/4/2019 CHAPTER 3 Sample Documents

    21/28

    -List box that shows the IP Addresses connected clients.

    -Label that displays the number of clients connected.

    -Picture Box that displays the logo of WeTalk Direct.

    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 Minimum Recommended

    Processor 1.6 GHz CPU 2.2 GHz or higher

    3.1.11

    3.1.10

  • 8/4/2019 CHAPTER 3 Sample Documents

    22/28

    CPU or higher

    Motherboard Gigabyte

    Motherboard

    Gigabyte

    Motherboard can

    also be higher

    class

    RAM 192 MB RAM 384 MB or higher

    RAM

    Hard Disk 5400 RPM

    (Revolutions Per

    Minute) hard disk

    7200 RPM or higher

    hard disk

    Hard Disk Space

    Requirement

    20 GB 40 GB

    Video Card 16 bits 32MB

    Integrated

    32bits 64MB

    Integrated or

    higher

    Mouse P2 Mouse P2 Mouse

    Keyboard PS2 Keyboard PS2 Keyboard

    DVD/CD Drive 8x CD ROM Drive 32x CD ROM Drive

    Monitor 1024x768 display 1280x1024 display

    or higher

    Internet Connection 56KBPS dial up DSL 384 KBPS

    Graphics device DirectX 9 graphics

    device with WDDM

    1.0

    DirectX 9 graphics

    device with WDDM

    1.0 or higher

    driver

    Figure 3.98 Specification

    Figure 3.99 Specification

  • 8/4/2019 CHAPTER 3 Sample Documents

    23/28

  • 8/4/2019 CHAPTER 3 Sample Documents

    24/28

    Internet Connection 56KBPS dial up DSL 384 KBPS

    Graphics device DirectX 9

    graphics device

    with WDDM 1.0

    DirectX 9 graphics

    device with WDDM

    1.0 or higher

    driver

    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.

    Figure 3.101 Specification

    http://en.wikipedia.org/wiki/Microsofthttp://en.wikipedia.org/wiki/Microsoft_Visual_Studiohttp://en.wikipedia.org/wiki/Microsofthttp://en.wikipedia.org/wiki/Microsoft_Visual_Studio
  • 8/4/2019 CHAPTER 3 Sample Documents

    25/28

    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 Minimum Recommended

    Processor 1.6 GHz CPU 2.2 GHz or higher

    CPU or higher

    Motherboard Gigabyte

    Motherboard

    Gigabyte

    Motherboard can

    also be higher

    class

    RAM 192 MB RAM 384 MB or higher

    RAM

    http://en.wikipedia.org/wiki/Graphics_softwarehttp://en.wikipedia.org/wiki/Adobe_Systemshttp://en.wikipedia.org/wiki/Raster_graphicshttp://en.wikipedia.org/wiki/Photoshop_CS4#cite_note-0http://en.wikipedia.org/wiki/Killer_applicationhttp://en.wikipedia.org/wiki/Macintoshhttp://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/Graphics_softwarehttp://en.wikipedia.org/wiki/Adobe_Systemshttp://en.wikipedia.org/wiki/Raster_graphicshttp://en.wikipedia.org/wiki/Photoshop_CS4#cite_note-0http://en.wikipedia.org/wiki/Killer_applicationhttp://en.wikipedia.org/wiki/Macintoshhttp://en.wikipedia.org/wiki/Microsoft_Windows
  • 8/4/2019 CHAPTER 3 Sample Documents

    26/28

    Hard Disk 5400 RPM

    (Revolutions Per

    Minute) hard disk

    7200 RPM or higher

    hard disk

    Hard Disk Space

    Requirement

    10 GB 20 GB

    Video Card 16 bits 32MB

    Integrated

    32bits 64MB

    Integrated or

    higher

    Mouse P2 Mouse P2 Mouse

    Keyboard PS2 Keyboard PS2 Keyboard

    DVD/CD Drive 8x CD ROM Drive 32x CD ROM Drive

    Monitor 1024x768 display 1280x1024 display

    or higher

    Internet Connection 56KBPS dial up DSL 384 KBPS

    Graphics device DirectX 9 graphics

    device with WDDM

    1.0

    DirectX 9 graphics

    device with WDDM

    1.0 or higher

    driver

    For Windows7 / Vista

    Hardware Minimum Recommended

    Processor 1.6 GHz CPU 32-bit 2.2 GHz 64-bit or

    higher Processor

    Motherboard Gigabyte

    Motherboard

    Gigabyte

    Motherboard can

    Figure 3.102 Specification

    Figure 3.103 Specification

    http://windows.microsoft.com/en-us/windows7/products/features/64-bit-supporthttp://windows.microsoft.com/en-us/windows7/products/features/64-bit-support
  • 8/4/2019 CHAPTER 3 Sample Documents

    27/28

    also be higher

    class

    RAM 1 gigabyte (GB) RAM

    (32-bit)

    2 GB RAM (64-bit)

    Hard Disk 5400 RPM

    (Revolutions Per

    Minute) hard disk

    7200 RPM or higher

    hard disk

    Hard Disk Space

    Requirement

    20 GB (32-bit) 40 GB(64-bit)

    Video Card 32bits 64MB

    Integrated or

    higher

    64bits 128MB

    Integrated or

    higher

    Mouse P2 Mouse P2 Mouse

    Keyboard PS2 Keyboard PS2 Keyboard

    DVD/CD Drive 16x DVD Drive 32x DVD Drive

    Monitor 1024x768 display 1280x1024 display

    or higher

    Internet Connection 56KBPS dial up DSL 384 KBPS

    Graphics device DirectX 9 graphicsdevice with WDDM

    1.0

    DirectX 9 graphicsdevice with WDDM

    1.0 or higher

    driver

    Software Requirements

    Figure 3.105 Specification

  • 8/4/2019 CHAPTER 3 Sample Documents

    28/28

    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

    Web experiences that work across all the most popular browsers.

    New Web protocol support for building WCF services including AJAX, JSON, REST, POX,

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

    Full tooling support in Visual Studio 2008 for WF, WCF, and WPF, including the new

    workflow-enabled services technology.

    New classes in .NET Framework 3.5 base class library (BCL) that address many common

    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.