1. Trang chủ
  2. » Giáo án - Bài giảng

DVD management system

55 127 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 55
Dung lượng 5,4 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

4 Add and UpdateTo Cart 3 Add and Display DVD Comment 5 Make Order 6 General Management 1.1 Register Account Profile 2.2 Search by Genre 2.3 Search by Title 2.4 Display DVD 2.1 Requireme

Trang 1

Chapter 1:System Specification ……….3

1.1 Scenario and question paper ………

1.2 Background………

1.3 Batch Run Chart………

1.4 Infrastructure………

1.5 Functional Hierarchy Diagram………

1.6 Data Flow Diagram ………

1.7 Method Of Investigation………

1.8 Schedule Of Project ………

1.9 Database Design………

Chapter 2: Program Specification………

2.1 Program Identification………

2.2 Program Description………

2.3 Program Outline………

Trang 2

2.4 Program Schedule………

2.5 Program Estimation………

Chapter 3: Input Specification………

3.1 File Specification………

3.2 Record Specification………

Chapter 4:Output Specification………

4.1 File Specification………

4.2 Record Specification………

4.3 Print Layout Chart………

Chapter 5: Program Design 5.1 Decision Table………

5.2 Flow Chart………

Chapter 6:Program Listings 6.1 Program Listing………

6.2 Report Listing………

Trang 3

7.1 Test Plan………

7.2 Test Data………

7.3 Test Log Sheet………

7.4 Program Trace………

7.5 Grid Chart………

Chapter 8:Operating Instructions 8.1 Operating Instructions………

8.2 Hardware Requirement………

8.3 Software Requirement………

Chapter 9 : Limitations 9.1 Scope ………

9.2 Limitations………

Trang 4

Chapter 1: System Specification

1.1 Scenario and Question Paper

Scenario:

“Viet Nam” company is a private one that specializes in selling DVD There are about

400 customers visiting the shop each day The company has 4 departments: General Departmentwhich is in charge of overall management, Accounting Department which is in charge offinance, a Store which is in charge of managing and receiving goods and a Shop that sellsDVDs and performs the customer services

The shop often stores about 10 disks for each title or more if that title is on good sale.When the disks are going to run out, the shop will ask the store to provide in addition Thereceipts of receiving and delivery will be kept by the shop as well as the store Customers makepayment right at the shop then all of bills and cash will be sent to Accounting Department at theend of the day

The store, shop and accounting department have to make monthly reports and submitthem to the General Department at the end of the month Based on these reports, the GeneralDepartment will analyze and manage the turnover of the company and make decisions of

Trang 5

work with Accounting Department to get 70 % of the payment amount The balance will bepaid in six months ‘s time.

All those processes are done manually Bills, reports and other data saved in books willlead to some limitation as follows:

•It is difficult and takes time to search for needed goods and information;

•Data and document management is done manually, which is a waste of time andeasy to make mistakes;

• It is difficult to save papers and documents;

• It is a waste of labor;

• It is not convenient to carry out the international business transactions

To promote the business and management, the company wish to:

•Manage finance, goods, document and customers’ information accurately,automatically and safely;

•Search for goods quickly and conveniently;

•Improve customers care services such as: providing information about newproducts, allowing customers to view the disks free of charge before buying…

•Enlarge international business transactions;

•Make rapid, convenient and safe payment

To solve existing problems as well as meet new requirements, we propose to establish anautomatic system of trading and managing DVDs The system consists of a database containingall needed information about DVDs, Customers, Bills… and a web site to help customers searchfor DVD information, make orders, make trial views and many other facilities

Trang 6

The digital media such as Internet and Web Wide World (WWW) help enterprise to keeptrack of marketing information, to build their strategic plans to match the general trend

Trang 7

with less cost of management and marketing

1.3 Batch Run Chart

0

DVD Management System

C

Customer

A Admin

Account Request Account Response Search DVD Request

Searching result Comment Adding Request

The DVD Management System will be hosted at a Web Server, operate under the domain

www.dvdonline com.vn Through global network customers can easily make their transactions

at their home PC The customer PC need setup a 56Kbps modem with Dial-up internetconnection to access DVD Online Store

The administrator will manage his online store over internet connection The requirement

of Admin PC is similar to customer, a PC with dial-up connection

Trang 8

1 Host environment The system is recommended to install on Windows 2000Server platform which running Internet Information Services IIS 5.1.

2 DBMS The Database Management System is MS SQL Server 2000 To improvethe performance, DBMS can be installed on another host for mass database accessing

Trang 10

4 Add and Update

To Cart

3 Add and Display DVD Comment

5 Make Order

6 General Management

1.1

Register Account

Profile

2.2 Search by Genre

2.3 Search by Title

2.4 Display DVD

2.1 Requirement Receive

3.1 Add DVD Comment

3.2 Display DVD Comment

4.1 Update Item

In Cart

4.2 Display Shopping Cart

5.1 Confirm Order

5.2 Calculate Total Amount

6.1 Change Password

6.2 Mange DVD Information

6.3 Manage Orders

6.4 Search and View Customer Information

In Cart

4.1.2 Update Item Quantiy

4.1.3 Make Order

6.2.4 Search DVD

6.2.1 Add New DVD

6.2.2 Update DVD Information

6.2.3 Delete DVD Information

6.3.1 Search Order

6.3.2 Report Order Status

DVD Management System Functional Diagram 1.6 Data Flow Diagram

Data Flow Diagrams are composed of the four basic symbols shown below:

Process

Data FlowExternal Entity

Data Store

Trang 11

Level 0 Diagram for DVD Management System Table 1 Process Specification of Process 1

Data In: Login/Registration Request, New Customer Information,Customer Information

Trang 12

Process Add new account or login and modify the customerprofile

2 Customer C

New Account Register Reponse

1.2

Update Account Profile

C

Customer

New Customer Information

Customer D1

DFD Level 1: Details of Account Management Table 2 Process Specification of Process 1.1

Process Name: Register Account Profile

Data In: Register Request , Customer Account

2 Customer C

Trang 13

Table 3 Process Specification of Process 1.2

Process Name: Update Account Profile

Data In: Login Request, New Customer Information, CustomerAccount

Process Check for the validation of login account and updateprofile for the account

2 Customer C

Trang 14

Register Request

Customer Account Register Rejection

Validated information

New Account New customer account

C

Customer

1.1.1

Check for Duplicate Customer Account

1.1.2

Add New Customer Account

Customer D1

DFD Level 2: Details of Register Account Profile

Table 4 Process Specification of Process 1.1.1

Process Name: Check for Duplicate Customer Account

Data In: Register Request , Customer Account

Data Out: Register Rejection, Validated Information

Process Check the database for the duplicate of new account

2 Customer C

Trang 15

Table 5 Process Specification of Process 1.1.2

Process Add the validated new account to the database and

inform it to the customer

2 Customer C

Login Request

Customer Account Login Response

Authenticated Customer Information

New Customer Information

Customer D1

DFD Level 2: Details of Update Account Profile Table 6 Process Specification of Process 1.2.1

Trang 16

Items Descriptions

Data Out: Login Response, Authenticated Customer InformationProcess Check for the validation of login account

2 Customer C

Table 7 Process Specification of Process 1.2.2

Process Name: Edit Account Profile

Data In: Authenticated Customer Information, New CustomerInformation

Data In: Searching request, DVD Information

Data Out: Searching result, Most popular and new DVD

2 DVD D2

Trang 17

Search DVD Request

Genre Searching Request

Title Searching Request

DVD information

DVD information

Searched DVD

Searched DVD Searching result

Most popular and New DVD

C

Customer

2.2

Search by Genre

2.3

Search by Title

2.1

Requirement Receive

2.4

Display DVD DVD

D2 InformationDVD

DFD Level 1: Details of Search DVD Table 9 Process Specification of Process 2.1

Data Out: Genre searching request, Title searching request

Process Classify the requirement according to genre or title

Trang 18

Table 10 Process Specification of Process 2.2

Data In: Genre Searching Request, DVD Information

Table 11 Process Specification of Process 2.3

Data In: Title Searching Request, DVD Information

Table 12 Process Specification of Process 2.4

Data Out: Searching result, Most popular and new DVD

Process Display the searching result and most popular, new DVD

Trang 19

Table 13 Process Specification of Process 3

Process Name: Add and display DVD comment

• List all DVD commentAttachment

1 Comment D3

2 DVD D2

3 Customer C

Trang 20

Display DVD Comment

DVD D2

Comment D3

DFD Level 1: Details of Add and Display DVD Comment

Table 14 Process Specification of Process 3.1

Process Add the customer comment to database

Attachment

1 Comment D3

2 DVD D2

3 Customer C

Trang 21

Process Name: Display DVD Comment

2 Customer C

Table 16 Process Specification of Process 4

Data In: Adding /Updating Item Request, Order request, CartID/Item ProfileData Out: Item in Cart, Order Confirmation, Item InformationProcess:

• List all selected DVD in cart

• Update the quantity, total price

• Remove item in cart

• Generate order confirmation

2 Customer C

Trang 22

Removed Item Shopping request

Shopping Cart D4

Order Confirmation

DFD Level 1: Details of Add and Update to Cart Table 17 Process Specification of Process 4.1

Data In: Shopping Request, Order Request, Cart ID/Item ProfileData Out: Removed Item, Item Information, Order ConfirmationProcess Add the Item to cart or Update the Item in Cart

2 Shopping Cart D4

Table 18 Process Specification of Process 4.2

Trang 23

Process Name: Display Shopping Cart

2 Shopping Cart D4

Table 19 Process Specification of Process 4.1.1

2 Shopping Cart D4

Table 20 Process Specification of Process 4.1.2

Process Add the Item to Cart or Update the Item in Cart

2 Shopping Cart D4

Trang 24

Item removing request Removed Item

Data In: Order request, Cart ID/Item Profile

Process Get the necessary item information for making order

2 Shopping Cart D4

Trang 25

Order Confirmation

Order details Calculated Order

Customer D1

DFD Level 1: Details of Make Order Table 22 Process Specification of Process 5

Data In: Order Confirmation, Customer Information

Process Make the order, return it to the customer as well as save itinto database

2 Order D7

Trang 26

Table 23 Process Specification of Process 5.1

Data In: Order Confirmation, Customer Information

Table 24 Process Specification of Process 5.2

Process Name: Calculate Total Amount

Process Calculate the total amount of the order, display it to thecustomer and save it into database

2 Order D7

Trang 27

DVD Managing Request

DVD Information

DVD Profile Searching Result

Order Searching Request

Changing password request

Updated Password

Response

Order Report

A Admin

6.2

Manage DVD Information

6.4

Search and View Customer Information

6.3

Manage Orders

6.1

Change Password

DVD

DFD Level 1: Details of General Management

Trang 28

Table 25 Process Specification of Process 6.1

2 Admin D6

Table 26 Process Specification of Process 6.2

Data Out: DVD Information, Searching result

2 DVD D2

Table 27 Process Specification of Process 6.3

Data In: Order Searching, Order details, Order Status

Process Search the order and generate Order report

2 Order D7

Trang 29

Items Descriptions

Process Name: Search and View Customer Information

Data In: Searching request, Customer Profile

2 Customer D1

Trang 30

Updating Request Updated DVD Information

6.2.4

Search DVD

6.2.2

Update DVD Information

6.2.1

Add New DVD

DVD D2

DFD Level 2: Details of Manage DVD Information

Trang 31

Items Descriptions

2 DVD D2

Table 30 Process Specification of Process 6.2.2

2 DVD D2

Table 31 Process Specification of Process 6.2.3

2 DVD D2

Trang 32

Items Descriptions

Order Status Order Report

A

Admin

6.3.2

Report Order Status

6.3.1

Search Order

Order D7

DFD Level 2: Details of Mange Orders

Trang 33

Items Descriptions

Data In: Order Searching, Order details, Order Status

Process Search the order and generate Order report

4 Order D7

Table 34 Process Specification of Process 6.3.1

Data In: Order Searching request, Order details

2 Order D7

Table 35 Process Specification of Process 6.3.2

2 Order D7

Trang 34

The using of some method for investigation is the first work before analyzing anddesigning programming Although interviewing is the most commonly used, the others are alsovaluable and effective techniques for requirement determination But we also use some an othermethods such as:

•Observation method: By observation of current systems in action to fullyunderstand that system’s requirements Seeing the system in action gives us an additionalperspective to supplement what we have head and read

•Moreover, we used the data collection method: We collected, obtained copies ofthe actual forms and operating documents that are currently used in the system as:information about products on the yellow pages, on the newspapers, on the magazine,and so on

The last method is used that is Research method: We referenced journals, periodicals, andbooks that contain potential information relevant to the task at hand

Trang 35

1.9 Database Design

At the beginning of Systems analysis we focus on gathering system requirements as well

as user requirements (also called ‘system functionality’ or ‘business activities’) that is usuallydocumented in ‘Problem Statement’ in brief text format Then we develop softwarerequirements specification by creating visual models (such as Function diagrams, DFDdiagrams, ER diagrams etc) that make these requirements more clearly and represent them inmore details

Systems analysis phase may be subdivided into function analysis and data analysis subphases The main outputs of function analysis are Function diagrams-FD, DFD diagrams Theoutput of data analysis is data model (data diagrams e.g ER diagrams or Database Schema)

At the end of function analysis phase within the process of system analysis, we have 2diagrams: the function hierarchy diagram and the data flow diagram These diagrams and

Trang 36

(which is defined in the Entity-Relationship diagram

Data model, its main components and development

Data model displays the expanding of table structure and the relationship between themand the entity relationship model support

An entity model (logical data model) consists of the following components:

•Entity

•Attributes

•Relationship

Two steps to develop a data model:

• Defining entity types

• Defining relationships among entity types

Entity-Relationship Diagram (ERD)

E-R Model is used in data base design that helps describe how entities in an enterprise arerelated to one another The model recognizes that two sets of data may have a ‘one-to-one’,

‘one-to-many’, or ‘many-to-many’ relationships

Though the relationship among data warehouse is not emphasized in data flow diagram, it

is well reflected in ERD ERD is network model that describes stored data of a system at a highlevel of abstraction For system analyst, ERD has a major benefit: it highlights the relationshipbetween data stores on DFD which would otherwise only be seen in the specification process

Ngày đăng: 24/06/2016, 11:41

w