Báo cáo phân tích thiết kế hệ thống thư viện

86 706 0
Báo cáo phân tích thiết kế hệ thống thư viện

Đ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

Báo cáo phân tích thiết kế hệ thống thư viện

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ÁO CÁO MƠN HỌC PHÂN TÍCH VÀ THIẾT KẾ HỆ THỐNG THƠNG TIN Đề bài: Phân tích, thiết kế hệ thống thư viện Giáo viên hướng dẫn: TS.Trần Đức Khánh Sinh viên thực hiện: Nguyễn Quang Dương MSSV: 20090603 Nguyễn Tam Kiên Phạm Văn Kiên MSSV: 20091523 Lã Thế Long MSSV: 20091644 Trần Thanh Hà Lớp MSSV: 20091512 MSSV:20090906 : KTMT&TT-K54 HÀ NỘI - 5/2012 Báo cáo PTTK HTTT 5/2012 THÔNG TIN CHUNG Sinh viên thực hiện: Nguyễn Quang Dương MSSV:20090603 Nguyễn Tam Kiên MSSV:20091512 Phạm Văn Kiên MSSV:20091523 Lã Thế Long MSSV:20091644 Trần Thanh Hà MSSV:20090906 Mục đích tập Phân tích, thiết kế chức hệ thống thư viện Lớp:KTMT&TT2 Lớp:KTMT&TT2 Lớp:KTMT&TT2 Lớp:KTMT&TT2 Lớp:KTMT&TT2 Nội dung thực  Nghiên cứu sơ bộ: nghiên cứu tài liệu nghiệp vụ (business document)  Phân tích nghiệp vụ (business analyse)  Phân tích ca sử dụng (User case analyse)  Mơ hình hóa thành phần liệu: thiết kế sơ đồ thực thể liên kết – ER  Thiết kế sơ bộ: thiết kế kịch bản, thiết kế đối tượng thiết kế giao diện người dùng  Thiết kế chi tiết: thiết kế chi tiết kịch đối tượng  Testing: kiểm thử Kế hoạch sơ  Sử dụng case study lớp, tiến độ thực theo giảng lớp  Hoàn thành tổng kết toàn kiến thức lớp vào tuần 15 Tài liệu tham khảo  Nguyễn Văn Ba – Phát triển hệ thống hướng đối tượng với UML 2.0 C++  Pierre Bourque – Jaimes W.Moore – Software Engineering Body of knowledge – 2004 Báo cáo PTTK HTTT 5/2012 Tài liệu nghiệp vụ Business Document tài liệu mô tả yêu cầu khách hàng hệ thống phần mềm xây dựng phát triển Đây tài liệu nghiệp vụ quy trình hoạt động thư viện giao sẵn System Requirements of Library System You are working on a new business system for S City Library The library wants to systematize book check-out, return, search and reservation as well as usage status check Assume that the library has multiple copies of the same books, each of which 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 City Library 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 form with their identification (e.g health insurance card or driver’s license) to the front counter 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 tentative passwords that are issued when they register as library users The tentative password 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 and passwords - Library staff enter their employee numbers and passwords They leverage the system to perform operations of S City Library Specifically, they can perform book search, checkout, return, reservation, user registration and usage status check - General users enter their borrower’s card numbers and passwords They can perform 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 (check-out number) to each check-out - 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 Báo cáo PTTK HTTT 5/2012 - Books to be checked out are those that users personally bring from the shelves in the library to the “front counter” or that users have reserved over the Internet and library staff have held for them - If a user has any books that are overdue, the user cannot borrow another book - General users can reserve books they want to borrow and borrow the reserved 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 - Library staff put the returned books back on the shelves or hold them for users who have reserved the books (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 for some 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 be specified.) - The system assigns an administration number (reservation number) to each reservation - A user can reserve up to 10 books (excluding books that had been reserved and has already been checked out) - 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) at the time of reservation - The system allows checking the information on reservation that is made by a general user (7) Checking usage status - The library system allows checking the status of the books that a general user has borrowed or reserved Usage status check can also be performed over the Internet System users can check the usage status on the usage status check screen after logging on to the library system Báo cáo PTTK HTTT 5/2012 MỤC LỤC THÔNG TIN CHUNG Tài liệu nghiệp vụ PHẦN 1.PHÂN TÍCH I PHÂN TÍCH NGHIỆP VỤ: I.1 User registration I.2 Login user I.3 Login librarian I.4 Borrowing book 10 I.5 Resevering book 11 I.6 Searching book 11 I.7 Returning book 12 I.8 User checking usage status 12 I.9 Librarian checking usage status 13 II PHÂN TÍCH CASE SỬ DỤNG: 14 II.1 Xác định Actor, Usecase 14 II.2 Đặc tả Usecase: 14 II.3 Biểu đồ usecase – Usecase diagram 15 II.4 Phân tích cụ thể kịch cho ca sử dụng: 16 PHẦN THIẾT KẾ 22 I THIẾT KẾ SƠ BỘ: 22 I.1 – THIẾT KẾ KỊCH BẢN 22 I.2 THIẾT KẾ ĐỐI TƯỢNG 27 I.3 MƠ HÌNH HĨA DỮ LIỆU LOGIC: 32 I.4 – THIẾT KẾ GIAO DIỆN 38 II.THIẾT KẾ CHI TIẾT 60 II.1 THIẾT KẾ KỊCH BẢN 60 II.2 THIẾT KẾ ĐỐI TƯỢNG 65 PHẦN 3: KIỂM THỬ Báo cáo PTTK HTTT 5/2012 Đăng nhập 80 Đăng ký tài khoản người dùng 80 Tìm sách 81 Đặt sách 81 Mượn sách 82 Trả sách: 83 Kiểm tra trạng thái người dùng 83 Cập nhập thông tin 83 KẾT LUẬN 85 LỜI CẢM ƠN 86 Báo cáo PTTK HTTT 5/2012 PHẦN – PHÂN TÍCH I PHÂN TÍCH NGHIỆP VỤ: Từ tài liệu nghiệp vụ, đưa phân tích cho hoạt động nghiệp vụ cụ thể triển khai thực tế Sản phẩm q trình Phân tích nghiệp vụ Biểu đồ hoạt động – Activity Diagram, mô tả hoạt động hệ thống người sử dụng hoạt động nghiệp vụ          Các Activity diagram bài: User registration Login user Login librarian Borrowing book Resevering book Searching book Returning book User checking usage status Librarian checking usage status Báo cáo PTTK HTTT 5/2012 I.1 User registration Báo cáo PTTK HTTT 5/2012 I.2 Login user I.3 Login librarian Báo cáo PTTK HTTT 5/2012 I.4 Borrowing book 10 Báo cáo PTTK HTTT 5/2012 72 Báo cáo PTTK HTTT 5/2012 II.2.5 Trả sách Các đối tượng nghiệp vụ chi tiết:  (boundary) Returning Book.html  (boundary) Returning Book Result.html  (boundary) Returning Book Error.html o (entity) Book o (entity) Book Item o (entity) User o (entity) Lending Book o (entity) Returning Book (control) Book DAO (control) Book Item DAO (control) User DAO (control) Lending Book DAO (control) Returning Book DAO (control) Connection (control) Connection Manager 73 Báo cáo PTTK HTTT 5/2012 74 Báo cáo PTTK HTTT 5/2012 II.2.6 Cập nhập thông tin người dùng Các đối tượng nghiệp vụ chi tiết:  (boundary) Update.html  (boundary) Update Result.html  (boundary) Update Error.html o (entity) Book o (entity) Book Item o (entity) User o (entity) Lending Book o (entity) Returning Book o (entity) Update Data (control) Book DAO (control) Book Item DAO (control) User DAO (control) Lending Book DAO (control) Returning Book DAO (control) Update Data DAO (control) Connection (control) Connection Manager 75 Báo cáo PTTK HTTT 5/2012 76 Báo cáo PTTK HTTT 5/2012 II.2.7 Đặt sách Các đối tượng nghiệp vụ chi tiết:              Reservation(jsp) ReservationResult(jsp) ReservationError(jsp) User Reservation Book Book Item ReservationController UserDAO BookDAO ReservationDAO Connection ConnectionManager 77 Báo cáo PTTK HTTT 5/2012 78 Báo cáo PTTK HTTT 5/2012 II.2.8 Đăng ký tài khoản người dùng Các đối tượng nghiệp vụ chi tiết: (entity) User  (control) User DAO (Data Access Object)  (control) UserRegister(.jsp)  (control) UserRegisterResult(.jsp)  (control) UserRegisterError(.jsp)  (control) User DAO  (control) UserRegister DAO  (control) UserRegisterController  (control) Connection  (control) ConnectionManager 79 Báo cáo PTTK HTTT 5/2012 PHẦN – KIỂM THỬ Đăng nhập Condition UserID or LibrarianID Registed Not Regised Blank Registed Not Regised Blank Password Action Transit Same Screen Transit Error Screen Transit Result Screen y y y y y y y y x x x x x Đăng ký tài khoản người dùng User ID Available Unavailable Blank User Available Password Unavailable blank Name valid blank Available Condition Email Unavailable blank Phone Available Unavailable blank Address Available Unavailable blank Date of Available birth Unavailable blank Check ô valid 10 11 12 13 14 15 Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y 80 Báo cáo PTTK HTTT đồng ý quy đinh sử dụng tv Action 5/2012 Blank Y Same X X X X X screen Result X screen Error screen X X X X X X X X 11 12 X Tìm sách Book ID Book Name Author Condition Pulisher Action Available Unavailable Blank Available Unavailable Blank Available Unavailable Blank Available Unavailable Blank Search same screen Search result screen Search error screen Y 10 Y Y Y Y Y Y Y Y Y Y X X X X X X X Y X X X X X Đặt sách Condition Library Card no ISBN code Contact Y Regissted Not Regised Blank Regissted Y Not Regised Blank Email Y 10 11 12 13 Y Y Y Y Y Y Y Y 81 Báo cáo PTTK HTTT Method Action Phone Blank Email Regissted Not Regised Number of Valid10 Valid=10 Same No Same Resevation Resevation Same Resevation Lend Item Not Over Due Over Due Transit Same Screen Transit Result Screen Transit Error Screen 5/2012 Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y X X X X X X X X X Y X 12 13 X X Mượn sách Card Number Registered Not Registered Blank User Registered Name Not Registered Blank Book Registered Item ID Not Registered Blank Condition Book available available Not available Action Overdue Overdue Not Overdue Number Valid < 15 of lend Valid = 15 Valid > 15 Lend Valid date Invalid Blank Lend same Y 10 11 Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y X X X Y X 82 Báo cáo PTTK HTTT screen Lend result screen Lend error screen X 5/2012 X X X X X X X X Trả sách: Condition Action y UserID Registed Not Registed Blank BookItemID Registed Not Registed Blank BookID Number Avaiable Not Avaiable Due Date Valid ≥ Now Valid < Now Transit Same Screen Transit Error Screen Transit Result Screen y y y y y y y y y y y y y y y x x x x x x x Kiểm tra trạng thái người dùng Condition UserID Password Action Y Registed Not Registed Blank Registed Not Registed Blank Y Y Y Y Y Y Transit same Screen Transit Error Screen Transit Result Screen Y X X X X X Cập nhập thông tin User pass Available Unavailable Blank Y Y Y 83 Báo cáo PTTK HTTT Email Phone Condition Action Address Available Unavailable Blank Available Unavailable Blank Available Unavailable Blank Same screen Result screen Error screen Y Y 5/2012 Y Y Y Y Y Y Y Y Y Y Y Y X X Y X X X X X X X 84 Báo cáo PTTK HTTT 5/2012 KẾT LUẬN Điều làm  Nhóm em làm việc: phân tích chức nghiệp vụ, thiết kế sơ chi tiết, kiểm thử tài liệu nghiệp vụ  Nắm bước cần thực thiết kế hệ thống thông tin  Nắm bảng, biểu đồ  Làm việc nhóm: phân cơng nhiệm vụ giúp đỡ làm tập, củng cố kỹ làm việc nhóm Điều chưa làm  Trong thực tế thiết kế hệ thống thông tin độ phức tạp lớn nhiều  Những nhóm em làm dừng lại mức lý thuyết, quy trình tổng quan Hướng phát triển có  Sau làm thực tế mơi trường doanh nghiệp, có điều kiện làm phân tích thiết kế, em tìm hiểu sâu hơn, thực quy trình đầy đủ chi tiết rõ ràng  Và em nghĩ học mơn Phân tích thiết kế Hệ thống thơng tin thầy có nhiều ích lợi cho cơng việc, giúp em có cách tư duy, thích ứng với công việc tốt 85 Báo cáo PTTK HTTT 5/2012 LỜI CẢM ƠN Nhóm chúng em xin gửi lời cảm ơn chân thành đến thầy Trần Đức Khánh cho chúng em hiểu biết, kỹ cách tư thiết kế hệ thống thông tin mơn học Phân tích thiết kế HTTT Nhóm chúng em mong nhận lời góp ý thầy để chúng em hiểu rõ vấn đề 86 ...  Phân tích nghiệp vụ (business analyse)  Phân tích ca sử dụng (User case analyse)  Mơ hình hóa thành phần liệu: thiết kế sơ đồ thực thể liên kết – ER  Thiết kế sơ bộ: thiết kế kịch bản, thiết. .. PHẦN THIẾT KẾ 22 I THIẾT KẾ SƠ BỘ: 22 I.1 – THIẾT KẾ KỊCH BẢN 22 I.2 THIẾT KẾ ĐỐI TƯỢNG 27 I.3 MƠ HÌNH HĨA DỮ LIỆU LOGIC: 32 I.4 – THIẾT KẾ... thông tin 83 KẾT LUẬN 85 LỜI CẢM ƠN 86 Báo cáo PTTK HTTT 5/2012 PHẦN – PHÂN TÍCH I PHÂN TÍCH NGHIỆP VỤ: Từ tài liệu nghiệp vụ, đưa phân tích cho hoạt động nghiệp

Ngày đăng: 01/06/2014, 12:19

Từ khóa liên quan

Tài liệu cùng người dùng

Tài liệu liên quan