0% found this document useful (0 votes)
33 views

Fatima Jinnah Women University, Rawalpindi: Assignment 02

The document describes a network time server system. The system allows clients to connect to the server and obtain the current time based on their specified time zone. The domain model shows the conceptual classes of client, server, network connection, time zone, and major city. It depicts the relationships between these classes, including that a client connects to the server through a network connection, the server maintains the current time and list of time zones, and each time zone contains major cities and has a standard time. The sequence diagram shows the two main use cases of a client getting the current time or list of time zones by connecting to the server and making requests.

Uploaded by

faiza
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views

Fatima Jinnah Women University, Rawalpindi: Assignment 02

The document describes a network time server system. The system allows clients to connect to the server and obtain the current time based on their specified time zone. The domain model shows the conceptual classes of client, server, network connection, time zone, and major city. It depicts the relationships between these classes, including that a client connects to the server through a network connection, the server maintains the current time and list of time zones, and each time zone contains major cities and has a standard time. The sequence diagram shows the two main use cases of a client getting the current time or list of time zones by connecting to the server and making requests.

Uploaded by

faiza
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Fatima Jinnah Women University, Rawalpindi

Software Design and Architecture

Assignment 02

Domain Modelling and System Sequence Diagram

Submitted By: Faiza Mushtaq (2017-BSE-065)


Submitted To: Ma’am Sidra Ejaz
Semester: VI B
Date: 25th June 2020
Network Time Server

System Description The network time server is the system that provides the current time to a
client when he establishes connection with it.
Assumptions
 The current time return by the server is according to time zone specified by the Client.
 A time zone can be defined as a region, every client belongs to a time zone and where he
lives a standard time is followed.
 The time zone has offset obtained by adding or subtracting time from current local time. The
time zone is followed by any country or its major cities.

Domain Modelling
Domain Model consists of conceptual classes
Conceptual Classes The conceptual classes are identified with help of nouns. Nouns in the text
are
 Client
 Server
 Network Connection
 Time zone
Network Connection In some domain like server management systems, Connection is a
conceptual class, client machine needs to connect with server through different sort of protocols
that will be specified by this connection class.
The Attributes or Associations should be Classes
Current Time can be shown as attribute of the server, but it is complex on not plain number or
text, it is related to a specific time zone.
Time Zone can be shown as attribute of the server, but it is a conceptual class itself because it
has further attributes.
Major City every city or region has standard time, Time zone belongs to a region or country,
Major Cities of that time zone of country has its attributes like to which country it belongs, So it
is also shown as conceptual class.
Domain Model

The multiplicity is specified according to the scenario.


In the diagram the conceptual class client can have at time one connection through a protocol
that connection will be linked to the server. Server has current time but that current time is
according to the Time zone where client lives in. The time zone has one standard current local
time. The time zones or standard are followed by Countries whose Major cities are shown as in
association with time zone. All time zone list is maintained is maintained by the server. The
server can have many connections up to limit 600+ at time to support.

System Sequence Diagram


The network time server has two main use cases for the Client
 Get current time
 Get list of time zones
Synchronous Messages The messages which require a response from the system. Notation used
in UML is filled arrows.
The client sent a connection request and requires response from the system. All other messages
or interactions in this system are synchronous as requires a response from the server for all
functions
UC1: Get Current time

Description
The client will request for connection which is then established by server. The client requests for
current time by specifying the time zone name where he lives. The system returns the current
time according to that specified time zone name.
UC2: Get list of time zones
Description
The client will request for connection which is then established by server. The client requests for
list of time zones. The system returns the List of time zones along their name, offset and the
major cities belonged to that time zone/

You might also like