Ad Server-Design Bav

21
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

Transcript of Ad Server-Design Bav

Page 1: Ad Server-Design Bav

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.

Page 2: Ad Server-Design Bav

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.

Page 3: Ad Server-Design Bav

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

Page 4: Ad Server-Design Bav

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

Page 5: Ad Server-Design Bav

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

Page 6: Ad Server-Design Bav

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

Page 7: Ad Server-Design Bav

Table 5: pub_ad_request_table

Table 6: payment_details_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

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

Page 8: Ad Server-Design Bav

Table 7: hit_details_table

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.

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

Page 9: Ad Server-Design Bav

To represent a data source or a destination

To represent data stream

To represent data storage

A process that transform the data stream

Page 10: Ad Server-Design Bav

Ad server

Administrator

Ad in website

Login

Advertisers

Publishers

Login

Login

Result

DFD

LEVEL 0

LEVEL 1

Page 11: Ad Server-Design Bav

DFD(Advertiser)

LEVEL1

Advertiser Registration 1.0

Set budget 2.1.2

advertiser_reg_table

login_details_table Login 2.0

Renew ad duration 2.4

Enter ad details 2.1

Set targeting 2.1.1

Enter payment details 2.2

Ad performance 2.3

Enter ads 2.1.3

ad_details_table

payment_table

hit_details_table

new advertiser

already have an a/c

performance view

Payment details

Ad register

renew

user_id & password

Page 12: Ad Server-Design Bav

DFD (Publisher)

LEVEL 1

Publisher Registration 1.0

publisher_reg_table

login_details_table Login 2.0

Ad request 2.1

Enter payment details 2.2

View hit details 2.3

Code generation 2.1.1.1

publisher_ad_request_table

payment_table

new publisher

already have an a/c

Hit details

Payment detailsRequest for ad

user_id & password

View requested type ad 2.1.1

ad_details _table

hit_details_table

approval

select

generated ad code

Page 13: Ad Server-Design Bav

DFD (Administrator: Ad management)

Administrator

Admin operations 1.1

publisher_reg_table

login_details_table Login 1.0

Code generation 1.1.3.1

Ad management 1.1.3

Publisher & advertiser a/c management 1.1.4

Hit calculation 1.1.3.3

payment_table

login

a/c info:

Managing ads

Report generation 1.1.3.2

ad_details _table

hit_details_table

approval

Approval to new advertiser 1.1.1

advertiser_reg_table

Approval to new publisher 1.1.2

approval

publisher_ad_request_table

Page 14: Ad Server-Design Bav

user_id

login_details_table

advertiser_reg_table publisher_reg_table

company info:

adv_idpub_id

ad_id

max CPC req_id

password

user_id

user_id

website info:

login

ad details

ad request

ad_details_table pub_ad_request_table

adv_idpub_id

payment_details_table

pay_id a/c_no

hit_table

ad_id

pub_id

login

payment paymen

t

adperformance

category

no:clicks

earnings

ad request

ER DIAGRAM

Page 15: Ad Server-Design Bav

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) management

User (publisher) management

Ad management

Page 16: Ad Server-Design Bav

Create account Set target Set budget

Client (advertiser) management

Enter ads

Create account Search ads

Copy & paste the code to site

User (publisher) management

Confirm order from advertiser & publisher

Account management

Code generation

Ad management

Ad performance calculation