Вы находитесь на странице: 1из 17

SYSTEM DESIGN

INTRODUCTION

System design is the second phase of system’s life cycle. It is the phase in

which detailed design of selected system in the study phase is accomplished and user

oriented specification is connected in to the technical design specification. Principle

activities performed during the design phase include:

• Input design

• Output design

• Database design

• Conceptual system design

Data Flow Diagram

Entity-Relationship diagram

• Architectural design

Module design

INPUT DESIGN

Input design is the process of converting the user oriented inputs into the

computer-based format. Input design is a part of the overall system design, which requires

careful attention. The major objective of the input design is to make the data entry easier,

logical and error free. With this objective the screens for the system are developed.
In case of Ad server there is number of input screens like login form,

registration form for new advertisers and publishers, form for entering ad details, payment

form for both advertisers and publishers, form for renewing ad duration, form for

requesting ad by publishers ,etc.

OUTPUT DESIGN

A quality output is the one which meets the requirements of the end user and

presents the information clearly. In any system results of processing are given to the users

through the outputs.

Output design should improve the relationship of the system with user and

help in decision making. The objective of the output design is to define the format of all

printed documents and of the screens that will be produced by the system.

In the proposed project it is possible to get various types of reports. The

different types of reports in Ad server are repots showing ad performance, publishers

earnings, etc.
DATABASE DESIGN

The data in the system has to be stored and retrieved from database.

Designing the database is the part of system design. The database of Ad server is a

collection of interrelated data stored in different tables. The MS-SQL server database has

been chosen for developing the relevant database.

TABLE DESIGN

A table is a collection of logically related records. The main objectives of

table design is to provide effective auxiliary storage without any application and to

contribute to the overall efficiency of the computer program components of the whole

system.

Table1: login_details_table

FIELD DATA TYPE WIDTH DESCRIPTION

user_id varchar 15 Primary key

password varchar 15

role varchar 15
Table 2: advertiser_reg_table

FIELD DATA TYPE WIDTH DESCRIPTION

adv_id varchar 15 Primary key

user_id varchar 15 Foreign key

password varchar 15

confirm_pwd varchar 15

company_name varchar 30

address varchar 50

country varchar 20

state varchar 20

city varcahr 20

zip integer

phone_no integer

email_id varchar 30
Table 3: publisher_reg_table

FIELD DATA TYPE WIDTH DESCRIPTION

pub_id varchar 15 Primary key

user_id varchar 15 Foreign key

password varchar 15

confirm_pwd varchar 15

company_name varchar 30

website_url varchar 50

address varchar 50

country varchar 20

state varchar 20

city varchar 20

zip integer

phone_no integer

email_id varchar 30

min_check_amt numeric 6,2


Table 4: ad_details_table

FIELD DATA TYPE WIDTH DESCRIPTION

ad_id varchar 15 Primary key

adv_id varchar 15 Foreign key

ad_type varchar 15

location varchar 50

category varchar 30

keyword varchar 50

prefrd_site varchar 50

Max_CPC numeric 6,2

daily_budget numeric 6,2

image_file varchar 30

image_name varchar 30

ad_head varchar 30

ad_text varchar 60

dest_url varchar 50

duration integer
Table 5: pub_ad_request_table

FIELD DATA TYPE WIDTH DESCRIPTION

request_id varchar 15 Primary key

pub_id varchar 15 Foreign key

ad_type varchar 15

category varchar 30

keyword varchar 50

Table 6: payment_details_table

FIELD DATA TYPE WIDTH DESCRIPTION

pay_id varchar 15 Primary key

role varchar 15

payee_name varchar 20

bank_name varchar 30

branch_name varchar 30

a/c_no varchar 15
Table 7: hit_details_table

FIELD DATA TYPE WIDTH DESCRIPTION

ad_id varchar 15 Primary key

pub_id varchar 15 Primary key

no_of_clicks integer

earnings numeric 6,2

cash_issued numeric 6,2

CONCEPTUAL SYSTEM DESIGN

After study and the analysis of the existing system the functional operational

requirements were identified. Based on these requirements the conceptual model of the

system is designed. The objective of the system design is to improve the existing system or

design a new system with improved facilities.

Data Flow Diagram (DFD)

A DFD is a structured analysis and design tool that can be used for

flowcharting. A DFD is a network that describes flow of data and process the change or

transforms data through out a system. This is constructed using a set of symbols.
To represent a data source or a destination

To represent data stream

A process that transform the data stream

To represent data storage


DFD

LEVEL 0

Administrator
Login

Result
Advertisers
Ad server Ad in website
Login

Publishers

Login

LEVEL 1
DFD(Advertiser)

new advertiser
Advertiser Registratio advertiser_reg_table
n
1.0
user_id & password
already have an a/c

performance view Login login_details_table


2.0

renew
Payment details

Ad Renew ad
performance duration
Ad register
2.3

Set
targeting
Enter Enter ad
payment details
details 2.1
2.2 ad_details_table

Set budget
payment_table
2.1.2

Enter ads
hit_details_table
2.1.3
LEVEL1

DFD (Publisher)

new publisher
Publisher Registratio publisher_reg_table
n
1.0
user_id & password
already have an a/c

Login login_details_table
Hit details
2.0

Request for
Payment details ad

View hit
details Ad request
Enter
payment
2.3 2.1
details
2.2

publisher_ad_request_table
approval

hit_details_table
View
payment_table requested
type ad

2.1.1
select
ad_details _table
generated ad code
Code
generation

2.1.1.1
LEVEL 1

DFD (Administrator: Ad management)


login
Administrator
Login login_details_table
1.0

advertiser_reg_table
Admin
operations
approval
a/c info:
Approval to
new
approval advertiser

Managing ads 1.1.1


Approval to
new
publisher publisher_reg_table
Publisher
Ad
& advertiser 1.1.2
management
a/c
management
1.1.3
1.1.4 Code
generation

1.1.3.1
Report
payment_table generation ad_details _table
Hit 1.1.3.2
calculation
publisher_ad_request_table
1.1.3.3
hit_details_table
ER DIAGRAM

user_id password

login_details_table

user_id
user_id
company logi logi
adv_id n n
pub_id website info:

advertiser_reg_table pub_id publisher_reg_table


no:click
ad_id
earning

hit_table
ad
ad reque
detail

ad ad
performanc
e request

ad_details_table pub_ad_request_table

ad_i max CPC req_id categor

paymen pub_id
adv_id paymen
t
t

payment_details_table

pay_id a/c_no
ARCHITECTURAL DESIGN

The primary objective of architectural design is to develop a modular program

structure and represent the relationship between modules. Data flow oriented design is an

architectural design method that allows a convenient transition from the analysis model to a

design description of program structure.

MODULE DESIGN

An important step in the software developing is module separation. Well

defined modules can improve the efficiency and the performance of the software. Ad server

has three important modules. They are:

• Client (advertiser) management

• User (publisher) management

• Ad management

Ad server

Client (advertiser) User (publisher) Ad


management management management
Client (advertiser)
management

Create account Set target Set budget Enter ads

User (publisher)
management

Copy &
paste the code
Create account Search ads

Ad
management

Confirm order from Ad


Account Code
advertiser & performance
management generation
publisher calculation

Вам также может понравиться