1. Trang chủ
  2. » Luận Văn - Báo Cáo

Bài tập lớp phân tích và thiết kế hệ thống thông tin

65 703 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 65
Dung lượng 1,22 MB

Nội dung

Bài tập lớp phân tích và thiết kế hệ thống thông tin

Trang 1

TRƯỜNG ĐẠI HỌC BÁCH KHOA HÀ NỘI VIỆN CÔNG NGHỆ THÔNG TIN VÀ TRUYỀN THÔNG

-* -BÀI TẬP LỚN PHÂN TÍCH THIẾT KẾ HỆ THỐNG THÔNG TIN

Sinh viên thực hiện:

Nguyễn Đức Hiệp : 20091077

Lê Đức Nam : 20091827Đồng Thị Ngọc : 20091900Nguyễn Bá Toản : 20092788Nguyễn Thanh Tú : 20093199Giáo viên hướng dẫn: TS Trần Đức Khánh

Tháng 5, 2012

Trang 2

Phần 1: Đề bài

1 System Requirements of Library System

You are working on a new business system for S City Library The library wants tosystematize book check-out, return, search and reservation as well as usage statuscheck Assume that the library has multiple copies of the same books, each ofwhich is identified by its book number The library also wants to offer book search,reservation and usage status check services to the public over the Internet S CityLibrary is available to the public from 9:00 to 18:00

(1) User registration

- To borrow a book, users first create their “borrower’s cards”

- They fill out the “borrower’s card application form”, and submit the filled formwith their identification (e.g health insurance card or driver’s license) to the frontcounter of the library

- The borrower’s card is for use in S City Library only

- Internet users can access the library system using their accounts and tentativepasswords that are issued when they register as library users The tentativepassword can be changed at any time

(2) Using the library system via the Internet

- Users can use the library system via the Internet by entering their accounts andpasswords

Trang 3

- Library staff enter their employee numbers and passwords They leverage thesystem to perform operations of S City Library Specifically, they can perform booksearch, check-out, return, reservation, user registration and usage status check

- General users enter their borrower’s card numbers and passwords They canperform book search, usage status check and reservation

(3) Borrowing books

- The system processes check-out in units of books

- The system assigns an administration number (out number) to each out

check A user can borrow up to 10 books for 15 days

- Users bring books they want to borrow, together with their “borrower’s cards”,

to the front counter

  - Books to be checked out are those that users personally bring from theshelves in the library to the “front counter” or that users have reserved over theInternet and library staff have held for them

  - If a user has any books that are overdue, the user cannot borrow anotherbook

    - General users can reserve books they want to borrow and borrow thereserved books Book reservation will be explained later in this text

(4) Returning books

- The system processes book return in units of books

- Users return books to the “return counter” of the library before the due date

- Users can return books to the “return post” when the library is closed

Trang 4

- Library staff put the returned books back on the shelves or hold them for users

(5) Searching a book

- The system allows users to search for a book that the library owns

- Users can search books using keywords such as “title”, “author” and “publisher”

(6) Reserving books

- The library system allows users to “reserve” books that cannot be found forsome reason For example, the book has been checked out

- Users cannot reserve books that the library does not own

- The system processes reservation in units of book titles (A book number cannot

- The system does not allow double reservations for the same book

- When a reserved book is held for the general user, library staff notify the user of

it by phone or e-mail Users can specify their contact method (phone or e-mail) atthe time of reservation

- The system allows checking the information on reservation that is made by ageneral user

(7) Checking usage status

Trang 5

- The library system allows checking the status of the books that a general userhas borrowed or reserved Usage status check can also be performed over theInternet System users can check the usage status on the usage status checkscreen after logging on to the library system

Phần 2: Giải quyết bài toán

8. Test

Trang 6

Phân công công việc

đồ lớp và mô hình hóa dữ liệu: Register,Search book, Return Book

Thiết kế giao diệnTest

đồ lớp và mô hình hóa dữ liệu: Logon,Reservation Books

Use case

đồ lớp và mô hình hóa dữ liệu : Lendingbook, Check usage status

đồ lớp và mô hình hóa dữ liệu: UpdateInfomation

Trang 7

Send a request to create borrower’s card

Give user form register Fill form

Check User’s information

Check on system

Create a library card and give it to user

Add User’s info to system

Add User’s info

Trang 8

Give user’s ID

Login Book search, usage satus check, reservation

Search, edit, update, borrows Return result

Receive infomation

Using the library system via the internet

Trang 9

Send a request to borrow books

Check User’s ID and Book’s ID

Receive book

Add the request borrow book to system

Check on system

Give book to User

Add borrowing’s Info

Lending books

Trang 10

Give book and library card to librarian

Create Return book form with User’s ID and book’s name

Trang 12

Make request with card’s ID and book’s name

Register reserve info

Trang 13

Sign in via internet

Authenticate

Receive infomartion and sign out

Show info and book status Check book status with book’s name, id or author name

Checking usage status

Trang 14

Tìm sách Đăng nhập

KT trạng thái Đặt sách

Cập nhật thông tin Trả sách Cho mượn sách

ĐK Người dùng

II. Usecase

Trang 15

III. Biểu đồ ca sử dụng

3a There are some blank field 4a Actor’s information not correct 4b The librarian corresponding to the entered ID is not found

4c The entered librarian password is wrong

Trang 16

2. Search book

Citizen user enter the correct keyword

2a The Librarian login failed 2b No book available

Trang 17

3. Check usage status

Preconditions Accounts, passwords, internet

database

name or author had entered

injection, xss, )

2a This book didn’t have on database

Trang 18

4. Reserving Book

Preconditions Input ID & Name of books is correct

Reserving book different onceDiscriptions No

requested reserving

System

wrong

U006-#4 ID or Name book isn’t found in Librarian System

U006-#5 Book isn’t exist in Library

Trang 19

5. Update information

information

corresponding to the ID to verify that the password is correct

entered ID is not found 2b The entered Librarian or citizen user password is wrong 1a There are some blank field

4b The information is denied

Trang 20

6. Logon

screen “ID” and password

that the password is correct

menu” or “citizen user menu” appears

ID is not found

2b The entered librarian or citizen user password is wrong 1a There are some blank fields

Trang 21

7. Lending Book

lending books to the citizens

lendingSystem checking the citizen user involving the UserID, checking whether UserID is existing, checking whether UserID has

book(s) overdueSystem checking the books involving the BookID, checking the quantity of books h requested quantiy and checking the time limit with requested timavailable with requested quantity, checking the limit quantity of books wite

If all information is correct, the system will accept the lending request of librarian users and take the librarian users to billing form and update information

2a UserID not found2b User involving UserID has some book(s) overdue3a BookID not found

3b Requested quantity is larger than available amount of book3c Requested quantity is larger than limit of books citizen can request

can borrow

Trang 22

UserID

Group BookID

Trang 23

V. Biểu đồ lớp và mô hình hóa dữ liệu

Trang 24

2. Log in

Trang 25

3. Search book

Trang 26

4. Return book

Trang 27

5. Lend book

Trang 28

6. Update information

Trang 30

VI. Thiết kế giao diện

“Profile” button

Menu for citizen

“Home” Button

“Register” Button Application Invoked

“Reset” button Register error screen

Result register screen

Home Screen

Registration Screen

Close Window

Trang 31

Screen Transition System name S City Library System Date 2009/11/01

Profile

“Home” Button

“Logon” Button Application Invoked

“Reset” button Logon error screen

Result Logon screen

Home Screen

Logon Screen

Close Window

Trang 32

Screen Transition System name S City Library System Date 2009/11/01

Go to link book

“Search” Button Application Invoked

“Reset” button Search error screen

Result search screen

Introduction book Screen

Search Screen

Close Window

Trang 33

Screen Transition System name S City Library System Date 2009/11/01

Trang 34

Screen Transition System name S City Library System Date 2009/11/01

“Logon” Button Application Invoked

“Reset” button Logon error screen

Result Logon screen

Logon Screen

Trang 35

Screen Transition System name S City Library System Date 2009/11/01

“Home” Button

“Return” Button Application Invoked

“Reset” button Return book error

Close Window

Trang 36

Scoop UC006 Reserving Book

“Home” Button

“Reserve” Button Application Invoked

“Reset” button Reserving Book error

screen

Result Reserving Book screen

Home Screen

Reserving Book Screen

Close Window

Trang 37

Search book error screen

Close Window

Trang 38

Receive Mail Receive Email from Adminstrators

Receive Email from Other Members

Trang 39

Thank you for (username)

You can click Profile to edit your information or clik Home to come back Home

Screen

Register failed

Register failed

Result Registration Screen Thank you for (username).

You can click Profile to edit your information or click Home to come back Home Screen

Error Registration Screen

Trang 40

User card number

ISBN code

Lending date Month Date Year

Due date Month Date Year

Return Book Failed

Return book Screen

ˇ ˇ

ˇ ˇ

Return book

Result Return book Screen

Result Return book Screen

Trang 41

Error search book Screen

Introduction book Screen

Trang 42

Result Logon Screen

Error Logon Screen

Trang 44

• Librarian Profile

Change pasword

Register UserSearch books

Return books

Reserve Books

Lend books

Log off

Trang 45

Librarian Card Number

Username

ISBN Code

BookItem ID

Reserve book successful

Reserve book failed

Reserve Book Screen

Reserve book

Result Reserve Books Screen

Error Reserve Book Screen

Trang 48

write_database(userinfo) :bool

show_result(message)

show_result(message)

Trang 49

issuccess() : bool

show_result()

show_result(error_message)

Trang 50

query_database(info) :list book info

show_result(message)

show_result(list book info)

Trang 51

sd Interaction

Actor

user DAO Screen lending

book

Error screen Success screen lending DAO book DAO bookitem DAO

request(userID, bookID, Quantity, timeLend)

[blank field]:

check_user_exist(userID) : bool

:bool [user id not exist]:

show_result(message)

[user exits]:book_overdue(userID) : bool

:bool [check_bookitem is true]:accept lending(userID, bookID, Quantity, timeLend)

lending(userID, bookID, quantity, timeLend) show_result(message)

Trang 52

book item DAO User DAO Book DAO return book screen return book error screen success screen

check_user_borrow(userid) : bool

check_book_exist(bookid) : bool

check_lending_book(userid, bookid, quantity) :bool

check_date() :bool

show_result(message)

update_database(userid, bookid, quantity)

update_database(userid, bookid, quantity)

write_database(userid, bookid, quantity, datetime)

show_result(message)

Trang 53

reservation DAO reservation

manager reservation screen user DAO book DAO book item DAO error screen success screen

Trang 54

show_result(UsageInfo)

Trang 55

update_userinfo(userid)

show_result(message)

Trang 58

Ov CCCLXI.CCCLXII.CCCLXIII.CCCLXIV.

CCCLXV.CCCLXVI.CCCLXVII.CCCLXVIII.CCCLXIX.CCCLXX

Trang 59

Not CDXLI.CDXLII.CDXLIII.

CDXLIV.CDXLV.CDXLVI.CDXLVII.CDXLVIII.CDXLIX.CDL

CDLIII.

bla CDLIV.CDLV.CDLVI.CDLVII.CDLVIII.CDLIX.CDLX.

CDLXI.CDLXII.CDLXIII

CDXCV.CDXCVI.CDXCVII.CDXCVIII.

Y CDXCIX.D DI DII.

Trang 60

Vali DXCVII.DXCVIII.DXCIX.DC.DCI.DCII.

DCIII.DCIV.DCV.DCVI

DCLXIV.DCLXV.DCLXVI.DCLXVII.

Trang 63

T CMXXII.CMXXIII.CMXXIV.

CMXXV.CMXXVI.CMXXVII.CMXXVIII

Trang 65

N MCXXXV.MCXXXVI.MCXXXVII.MCXXXVIII.MCXXXIX.MCXL.

MCXLI MCXLII MCXLIII.

MCXLV.

MCXLVII.

Tr MCXLVIII.MCXLIX.MCL.MCLI.

MCLII.MCLIII.MCLIV.MCLV.MCLVI.MCLVII

MCXCV Phần 3: Tài Liệu Tham Khảo

Nguyễn Văn Ba

Ngày đăng: 31/05/2014, 19:18

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

w