Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 186 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
186
Dung lượng
8,72 MB
Nội dung
MINISTRY OF EDUCATION AND TRAINING FPT UNIVERSITY Capstone Project Document AIR CONDITIONING SERVICE APPLICATION Group Group members Phan Nhật Hoàng – HoangPNSE62077 (Leader) Dương Ngọc Phú – PhuDNSE61865 Nguyễn Hữu Hiệp – HiepNHSE61975 Ms Nguyễn Thị Cẩm Hương Supervisor N/A Ext Supervisor Capstone Project Code ACSA - Ho Chi Minh City, 14 Sep 2018 - This page is intentionally left blank Page of 186 Table of Contents Contents Table of Contents List of Tables List of Figures 10 Definitions, Acronyms, and Abbreviations 13 A Introduction 14 Project Information 14 Introduction 14 Current Situation 14 Problem Definition 14 Proposed Solution 15 5.1 Feature functions 15 5.2 Advantages and disadvantages 15 Functional Requirements 15 Roles and Responsibility 16 B Software Project Management Plan 17 C Problem Definition 17 1.1 Name of this Capstone Project 17 1.2 Problem Abstract 17 1.3 Project Overview 17 Project organization 19 2.1 Software Process Model 19 2.2 Roles and responsibilities 20 2.3 Tools and Techniques 21 Project Management Plan 21 3.1 Software development lifecycle 21 3.2 Phase Detail 24 3.3 Task sheet 25 3.4 All Meeting Minutes 25 Coding Convention 25 Software Requirement Specification 27 User Requirement Specification 27 Page of 186 D 1.1 Guest requirement 27 1.2 Customer requirement 27 1.3 Supplier requirement 27 1.4 Admin requirement 28 System Requirement Specification 28 2.1 External Interface Requirement 28 2.2 System Overview Use Case 28 2.3 List of Use Case 31 Software System Attribute 65 3.1 Usability 65 3.2 Reliability 65 3.3 Availability 65 3.4 Security 65 3.5 Maintainability 65 3.6 Portability 65 3.7 Performance 66 Conceptual Diagram 66 Software Design Description 69 Design Overview 69 System Architecture Design 69 2.1 Web Application architecture description 69 2.2 Mobile Application architecture description 70 Component Diagram 71 Detailed Description 73 4.1 Class Diagram 73 4.2 Class Diagram Explanation 74 4.3 Interactive Diagram 84 Interface 99 5.1 Component Interface 99 5.2 Web application Design 102 5.3 Android application Design 117 Database Design 128 6.1 Entity relationship diagram 128 6.2 Data Dictionary 129 Algorithms 135 Page of 186 7.1 Find nearby service 135 7.2 Notification 136 E System Implementation & Test 138 Introduction 138 1.1 Overview 138 1.2 Test Approach 138 Database Relationship Diagram 138 2.1 Physical Diagram 138 2.2 Data Dictionary 140 Performance Measures 147 3.1 Web application page load speed 147 3.2 Mobile application API load speed 150 Test Plan 152 4.1 Features to be tested 152 4.2 Features not to be tested 152 System Testing Test Case 152 5.1 Communication Diagrams 152 5.2 Test cases 156 F Software User’s Manual 170 Installation Guide 170 1.1 Setting up environment at server side 170 1.2 Back-end Deployment Process 171 User Manual 172 2.1 Admin 172 2.2 Customer 174 2.3 Supplier 180 G Appendix 186 Page of 186 List of Tables Table 1: Definitions, Acronyms, and Abbreviations 13 Table Roles and Responsibility 16 Table Hardware requirement for continuous integrating server 18 Table Hardware requirement for web development 18 Table Hardware requirement for mobile development 19 Table Software requirement 19 Table Roles and responsibilities 20 Table Tools and Techniques 21 Table Software development life cycle 23 Table 10 Use case ACSAU01 - Sign up 32 Table 11 Use case ACSAU02 - Login 34 Table 12 Use case ACSAC01 - Booking service 37 Table 13 Use case ACSAC01- Cancel order 38 Table 14 Use case ACSAC03 - View booking history 40 Table 15 Use case ACSAC04 - View profile information 41 Table 16 Use case ACSAC05 - Update profile 42 Table 17 Use case ACSAC06 - Chat with supplier 43 Table 18 Use case ACSAC06 - Feedback 44 Table 19 Use case ACSAA08 - View total profit 48 Table 20 Use case ACSAS01 - Insert service 51 Table 21 Use case ACSAS02 - Update service information 52 Table 22 Use case ACSAS03 - Delete service 53 Table 23 Use case ACSAS01 - Insert service 54 Table 24 Use case ACSAS02 - Update service information 56 Table 25 Use case ACSAS03 - Delete branch 57 Table 26 Use case ACSAS01 - Insert service 58 Table 27 Use case ACSAS02 - Update service information 60 Table 28 Use case ACSAS03 - Delete promotion 61 Table 29 Use case ACSAS04 - View revenue report 62 Table 30 Use case ACSAC04 - View profile 63 Table 31 Use case ACSAS06 - Update profile 65 Table 32 Conceptual Diagram Data Dictionary 68 Table 33 Component Dictionary 72 Table 34 Class dictionary 74 Table 38 Account Attribute 74 Table 39 Account Method 74 Table 40 Account Type Attribute 75 Table 41 Account Type Method 75 Table 42 Supplier Attribute 75 Table 43 Suplier Method 75 Table 44 Supplier Status Attribute 76 Table 45 Supplier Status Method 76 Table 46 Branch Attribute 76 Page of 186 Table 47 Branch Method 77 Table 48 City Attribute 77 Table 49 City Method 77 Table 50 District Attribute 77 Table 51 District Method 77 Table 52 Customer Attribute 78 Table 53 Customer Method 78 Table 54 Service Attribute 79 Table 55 Service Method 79 Table 56 Service Type Attribute 79 Table 57 Service Type Method 79 Table 58 Service Status Attribute 80 Table 59 Service Status Method 80 Table 60 Order Attribute 80 Table 61 Order Method 80 Table 62 Order Status Attribute 81 Table 63 OrderStatus Method 81 Table 64 Order Detail Attribute 81 Table 65 Order Detail Method 81 Table 66 Promotion Attribute 82 Table 67 Promotion Method 82 Table 65 Manage supplier fields 102 Table 66 < Admin> Manage supplier buttons/hyperlinks 103 Table 67 Approve and view supplier fields 104 Table 68 Approve and view supplier buttons/hyperlinks 104 Table 69 Manage customer fields 105 Table 70 Manage customer buttons/hyperlinks 105 Table 71 View customer fields 106 Table 72 View customer buttons/hyperlinks 106 Table 73 Manage service fields 107 Table 74 Manage service buttons/hyperlinks 107 Table 75 Create new service fields 108 Table 76 Create new service buttons/hyperlinks 108 Table 77 Manage branch fields 109 Table 78 Manage branch buttons/hyperlinks 109 Table 79 Create new branch fields 110 Table 80 Create new branch buttons/hyperlinks 111 Table 81 Manage promotion fields 111 Table 82 Manage promotion buttons/hyperlinks 112 Table 83 Create new promotion fields 112 Table 84 Create new promotion buttons/hyperlinks 113 Table 85 Manage request fields 113 Table 86 Manage request buttons/hyperlinks 114 Table 87 Chat fields 115 Table 88 Chat buttons/hyperlinks 115 Table 89 Manage feedback fields 116 Page of 186 Table 90 Manage feedback buttons/hyperlinks 116 Table 91 Manage history fields 116 Table 92 Manage history buttons/hyperlinks 117 Table 93 Register account fields 118 Table 94 Register account buttons/hyperlinks 118 Table 95 Search service page fields 119 Table 96 Search service buttons/hyperlinks 120 Table 97 Supplier detail fields 121 Table 98 Supplier detail button/hyperlinks 121 Table 99 Home page fields 122 Table 100 Booking service fields 123 Table 101 Booking service button/hyperlinks 124 Table 102 View history fields 125 Table 103 View history buttons/hyperlinks 125 Table 104 Supplier detail fields 126 Table 105 Supplier detail button/hyperlinks 127 Table 106 Entity data dictionary 129 Table 107 Detail data dictionary 134 Table 108 Notification use cases 137 Table 109 Data table dictionary 140 Table 110 Data attribute dictionary 147 Table 111 Web application page load speed test result 150 Table 112 Mobile app API load speed client specification 150 Table 113 Mobile app API load speed test cases 150 Table 114 Mobile application API load speed test result 151 Table 115 Test case - Register new account 157 Table 116 Test case - View account 159 Table 117 Test case - Approve account 159 Table 118 Test case - Accept booking request 160 Table 119 Test case - Manage vehicle 161 Table 120 Test case - View vehicle 161 Table 121 Test case - Manage rental report 162 Table 122 Test case - Manage branch 163 Table 123 Test case - View branch 164 Table 124 Test case - Manage promotion 165 Table 125 Test case - View promotion 165 Table 126 Test case - Manage profile 166 Table 127 Test case - Booking service 166 Table 128 Test case - Cancel booking service process 167 Table 129 Test case - View history 168 Table 130: Hardware requirement for server 170 Table 131: Hardware requirement for client 170 Table 132: Software requirement for server 170 Table 133: Software requirement for client 170 Table 134: Software requirement for mobile 170 Table 135: User manual – Approve supplier 173 Page of 186 Table 136: User manual – Approve account 173 Table 137: User manual – Booking service 175 Table 138: User manual – Booking service 177 Table 139: User manual – View booking history 178 Table 140: User manual - Update profile 179 Table 141: User manual – Add new service 180 Table 142: User manual – Add new branch 181 Table 143: User manual – Add new promotion 182 Table 144: User manual – Customer’s request 183 Table 145: User manual – Transaction history 185 Page of 186 List of Figures Figure 1: Waterfall model 19 Figure 2: Android Application Overview Use Case 29 Figure Web Application Overview Use Case 30 Figure < Unauthorized user> Overview Use Case 31 Figure Sign up 31 Figure Login 33 Figure Overview Use Case 35 Figure Booking service 35 Figure Cancel order 37 Figure 10 View booking history 39 Figure 11 View profile information 40 Figure 12 Update profile 41 Figure 13 Chat with supplier 42 Figure 14 Chat with supplier 43 Figure 15 Approve supplier 45 Figure 16 View total profit 47 Figure 17 Overview Use Case 49 Figure 18 Insert vehicle 49 Figure 19 Update service information 51 Figure 20 Delete service 52 Figure 21 Insert branch 53 Figure 22 Update branch information 55 Figure 23 Delete branch 56 Figure 24 Insert promotion 57 Figure 25 Update service information 58 Figure 26 Delete promotion 60 Figure 27 View revenue report 61 Figure 28 View profile 62 Figure 29 Update profile 63 Figure 30 Conceptual diagram 67 Figure 31 Component Diagram 71 Figure 32 Class diagram 73 Figure 33 Sequence diagram - View service list 84 Figure 34 Sequence diagram - Booking service 85 Figure 35 Sequence diagram - Create rental contract 86 Figure 36 Sequence diagram - Feedback 87 Figure 37 Sequence diagram - Paypal payment 88 Figure 38 Sequence diagram - View suggested locations 89 Figure 39 Sequence diagram - Register new account 90 Figure 40 Sequence diagram - Approve account 91 Figure 41 Sequence diagram - Create service 92 Figure 42 Sequence diagram - Create branch 93 Figure 43 Sequence diagram - Create promotion 94 Page 10 of 186 - Right click on “Default Web Site”, select Add Application Alias: the name for this site Physical path: path to source code folder - Click Ok, right click on TAS (or other the name you set in alias) -> Manage Application -> Browse Your site should be run successfully User Manual 2.1 Admin 2.1.1 Approve supplier Figure 76: Approve supplier (1) Figure 77: Approve supplier (2) Page 172 of 186 Step Description Click on menu tab “Quản lí nhà cung cấp” Click on item edit Select on “Hoạt động” item Click on “Lưu” button Table 135: User manual – Approve supplier 2.2.2 View customer Figure 78: View customer (1) Figure 79: View customer (2) Step Description Click on menu tab “Quản lí nhà cung cấp” Click on item edit Table 136: User manual – Approve account Page 173 of 186 2.2 Customer 2.2.1 Booking service Figure 80: Booking service (1) Figure 81: Booking service (2) Page 174 of 186 Figure 82: Booking service (3) Figure 83: Booking service (4) Step Description Click on search and input name service Click on selected supplier Click on “Đặt dịch vụ” button Select day Select time Choose service Add quantity service Click on “Tiếp tục” button Click on “Gửi yêu cầu” button Table 137: User manual – Booking service 2.2.2 Payment Page 175 of 186 Figure 84: Booking service (1) Figure 85: Booking service (2) Figure 86: Booking service (3) Figure 87: Booking service (4) Page 176 of 186 Figure 88: Booking service (3) Figure 89: Booking service (4) Step Description Click on tab “Thông báo” Click on selected “Yêu cầu chấp nhận” Click on “Tiếp tục” button 4.1 Select radio button “Thanh toán sau sửa chữa” 4.2 Select radio button “Thanh toán trực tuyến” Click on “Tiếp tục” button Choose one bank Click on “Xác nhận” button Table 138: User manual – Booking service 2.2.3 View booking history Page 177 of 186 Figure 90: View booking history (1) Step Description Click on tab “Lịch sử” 2.1 Click on tab “Đang xử lý” 2.2 Click on tab “Hoàn tất” Figure 91: View booking history (2) Click on booking contract want to see detail Table 139: User manual – View booking history 2.2.4 Update profile Page 178 of 186 Figure 92: Update profile (1) Figure 93: Update profile (2) Step Description Click on “Tài khoản” button Fill in field “Họ tên”, “Số điện thoại”, “Email”, “Địa chỉ” Click on “Cập nhật” button Table 140: User manual - Update profile Page 179 of 186 2.3 Supplier 2.3.1 Add new service Figure 94: Add new service (1) Figure 95: Add new service (2) Step Description Click on “Quản lí dịch vụ” tab Click on “Thêm mới” button Fill in field “Tên dịch vụ” Select “Loại dịch vụ” Fill in field “Giá tiền” Select “Hoạt động” Click on “Lưu” button Table 141: User manual – Add new service Page 180 of 186 2.3.2 Add new branch Figure 96: Add new branch (1) Figure 97: Add new branch (2) Step Description Click on “Quản lí chi nhánh” tab Click on “Thêm mới” button Fill in field “Tên chi nhánh” Fill in field “Địa dồ” Select “Tỉnh/Thành phố” Select “Quận/Huyện” Fill in field “Địa chỉ” Click on “Lưu” button Table 142: User manual – Add new branch Page 181 of 186 2.3.3 Add new promotion Figure 98: Add new promotion (1) Figure 99: Add new promotion (2) Step Description Click on “Quản lí ưu đãi” tab Click on “Thêm mới” button Fill in field “Tên chiến dịch ưu đãi” Select day start Select day cancel Add service “Thêm khuyến cho dịch vụ” Fill in field “% giảm” Fill in field “Mô tả thêm” Click on “Lưu” button Table 143: User manual – Add new promotion Page 182 of 186 2.3.4 Customer's request Figure 100: Customer’s request Step Description 2.1 Click on “Danh sách yêu cầu khách hàng” tab Click on button yes to accept request 3.2 Click on button no to cancel request Table 144: User manual – Customer’s request 2.3.5 Transaction history Figure 101: Transaction history (1) Page 183 of 186 Figure 102: Transaction history (2) Page 184 of 186 Step Description Click on “Quản lí lịch sử giao dịch” tab Click on edit button Click on edit button Fill in field price Select radio button “Đã toán” Select “Trạng thái” Fill in field “Ghi chú” Click on “Xuất file PDF” button Click on “Lưu” button Table 145: User manual – Transaction history Page 185 of 186 G Appendix Angular Ionic Framework Available: https://ionicframework.com/ Accessed on: Sep 2018 The Unified Modeling Language [Online.] Available: http://www.umldiagrams.org/ Accessed on: Sep 2018 SQL Server Available: https://www.microsoft.com/en-us/sql-server/sql-server-2017 Accessed on: Sep 2018 C# coding convention Available: https://docs.microsoft.com/en-us/dotnet/csharp/programmingguide/inside-a-program/coding-conventions Software process model SOFTWARE ENGINEERING 9th Edition, by Ian Sommerville Nganluon.vn Payment Engine Available: https://www.nganluong.vn/vn/home.html Accessed on: Sep 2018 “Capstone Project Guideline” by FPT University Page 186 of 186 ... name: Air Conditioning Services Application Project Code: ACSA Product Type: Website & Android Application Start Date: 12 Sept, 2018 End Date: 14 Dec, 2018 Introduction In recent years, booking services. .. why Air Conditioning Services Application is being developed with a single goal: to give users access to reputable airconditioners quickly 1.3 Project Overview 1.3.1 Current Situation Mobile applications:... disadvantages of applications related to booking services in the app store and website in Viet Nam: Advantages: - Easy to use - Provide users with more services: clean up the air- conditioning,