Professional Documents
Culture Documents
CraftVillagePollutionMonitor ArchitectureDesign Ver1.2
CraftVillagePollutionMonitor ArchitectureDesign Ver1.2
PROJECT INFORMATION
Start Date Jul 09, 2022 End Date Jul 31, 2022
Envir Team | 2
[Craft Village Pollution Monitor] – Architecture Design
DOCUMENT NAME
REVISION HISTORY
Version Person(s) Date Description
Envir Team | 3
[Craft Village Pollution Monitor] – Architecture Design
DOCUMENT APPROVAL
The following signatures are required for approval of this document
Signature:
Mentor Duc, Nguyen Manh MSc.
Date:
Signature:
Scrum Master Ca, Van Cong Le
Date:
Signature:
Product Owner Huy, Bui Duc
Date:
Signature:
Phuc, Hua Hoang
Date:
Team Member
Signature:
Trung, Nguyen Thanh
Date:
Envir Team | 4
[Craft Village Pollution Monitor] – Architecture Design
Table of Contents
1 Introduction.................................................................................................................7
1.1 Purpose.............................................................................................................................7
1.2 Documents Referenced...................................................................................................7
2 Project Statement........................................................................................................7
2.1 Project Overview.............................................................................................................7
2.2 Business Driver................................................................................................................7
2.2.1 Business Problems 7
2.2.2 Business Need 8
2.3 Project Goals....................................................................................................................8
3 Architecture Drivers...................................................................................................8
3.1 High-Level Requirements...............................................................................................8
3.2 System Context................................................................................................................9
3.3 Architecture Driver Specification................................................................................13
3.4 Use Case Diagram.........................................................................................................33
3.5 Quality Attributes.........................................................................................................33
4 Constraints................................................................................................................35
4.1 Business Constraint.......................................................................................................35
4.2 Technical Constraint.....................................................................................................36
Envir Team | 5
[Craft Village Pollution Monitor] – Architecture Design
Table of Tables
Table 1 Document Reference..............................................................................................7
Table 2 Development team.................................................................................................7
Table of Figures
Figure 1 System Context Diagram Overview.....................................................................9
Figure 2 Personal System Context Diagram.....................................................................10
Figure 3 Household System Context Diagram.................................................................11
Figure 4 Authority System Context Diagram...................................................................12
Figure 5 Use Case Diagram..............................................................................................33
Figure 6 Component & connector view (Personal)..........................................................37
Figure 7 Component & connector view (Household).......................................................38
Figure 8 Component & connector view (Authority)........................................................39
Figure 9 Module view.........................................................................................................1
Figure 10 Allocation view..................................................................................................2
Envir Team | 6
[Craft Village Pollution Monitor] – Architecture Design
1 Introduction
1.1 Purpose
This specification covers following:
Brief specification of the project, high level requirement, system context for
the system.
Use case diagram, detail quality attribution.
Architecture presented by various architecture view types: C4 Model,
Component and Connector view, Module view, Allocation view.
1.2 Documents Referenced
No Reference
1 [CVPM]_Product_Backlog_ver1.2
2 [CVPM]_Project_Plan_ver1.2
Envir Team | 7
[Craft Village Pollution Monitor] – Architecture Design
2020, Hanoi, a city with 1350 craft villages had conducted research on 292 craft villages,
139 out of 292 have serious water pollution (accounting for 47.6%), 95 polluted craft
villages (accounting for 32.5%), and only 58 unpolluted craft villages (accounting for
19.9%); the rate of wastewater from craft villages collected and treated only accounts for
about 5.2%.
In addition, solid waste in some craft villages has not been classified for reuse but
is transported to landfills. In particular, there is still the phenomenon of people in craft
villages dumping or arbitrarily burning waste that polluting the environment.
2.2.2 Business Need
Desiring to help people have more awareness of pollution from craft villages, a
system that will allow people to submit data of craft village and keep track its
pollution status.
A system that will provide the user the abilities such as take a survey, include the
image of the pollution, view survey history, etc.
An AI system will also provide the application to analyze the pollution based on
the user's provided image.
The system should also give the administrator the ability to manage their user and
data.
2.3 Project Goals
The goal of the project is to build a craft village pollution monitoring (CVPM)
within the budget of $5000 and deliver on time by the end of July of 2022.
3 Architecture Drivers
3.1 High-Level Requirements
Refer to [CVPM]_Product_Backlog_Ver1.2
Envir Team | 8
[Craft Village Pollution Monitor] – Architecture Design
Envir Team | 9
[Craft Village Pollution Monitor] – Architecture Design
Envir Team | 10
[Craft Village Pollution Monitor] – Architecture Design
Envir Team | 11
[Craft Village Pollution Monitor] – Architecture Design
Envir Team | 12
[Craft Village Pollution Monitor] – Architecture Design
ID E02
Title Household
User is a person who using the system to submit their production
Description
information.
Envir Team | 13
[Craft Village Pollution Monitor] – Architecture Design
Provides
Provide the abilities to submit their production information.
Assumptions
Requires
Connect the internet
Assumptions
Identified Use
UC03, UC04, UC05, UC09
Cases
ID E03
Title Authority
Authority is the person who use the system to monitor craft village
Description
data (production information, pollution status, etc)
Provides
Provide craft village’s information
Assumptions
Requires
Connect the internet
Assumptions
Identified Use
UC10, UC11
Cases
Envir Team | 14
[Craft Village Pollution Monitor] – Architecture Design
Date created July 09, 2022 Date last updated July 09, 2022
Entities
E01
Involve
This use case allows the user to create pollution survey through the
Description
mobile application.
Pre-condition User logged into the system successfully and currently at home page.
Main Success
Scenario System will open camera
Click on “New Survey”
1 that allows the user to take
button at home page.
picture.
Alternative
Scenario
N/A
Envir Team | 15
[Craft Village Pollution Monitor] – Architecture Design
N/A
Priority High
Date created July 09, 2022 Date last updated July 09, 2022
Entities
E01
Involve
This use case allows the user to take pollution photo through the
Description
mobile application.
Post-condition System will open camera that allows the user to take picture.
Main Success
Scenario System will open camera
Click on “+” icon at survey
1 that allows the user to take
page.
picture.
Envir Team | 16
[Craft Village Pollution Monitor] – Architecture Design
Alternative
Scenario
N/A
N/A
Priority High
Date created July 09, 2022 Date last updated July 09, 2022
Entities
E01, E02
Involve
This use case allows the user to save survey through the mobile
Description
application.
Envir Team | 17
[Craft Village Pollution Monitor] – Architecture Design
Main Success
Scenario System will save the
Click on “Save Survey”
1 unfinish pollution survey
button at survey page.
and redirect to homepage.
Alternative
Scenario
N/A
Exceptions
N/A
Priority High
Date created July 09, 2022 Date last updated July 09, 2022
Envir Team | 18
[Craft Village Pollution Monitor] – Architecture Design
Entities
E01, E02
Involve
This use case allows the user to submit survey through the mobile
Description
application.
Main Success
Scenario System will submit survey
Click on “Submit Survey”
1 and redirect user to
button at survey page.
homepage.
Alternative
Scenario
N/A
Priority High
Envir Team | 19
[Craft Village Pollution Monitor] – Architecture Design
Date created July 09, 2022 Date last updated July 09, 2022
Entities
E01, E02
Involve
This use case allows the user to verify survey data through the
Description
mobile application.
Main Success
Scenario System will submit survey
Click on “Submit Survey”
1 and redirect user to
button at survey page.
homepage if data is valid.
Alternative
Scenario
N/A
Envir Team | 20
[Craft Village Pollution Monitor] – Architecture Design
Priority High
Date created July 09, 2022 Date last updated July 09, 2022
Entities
E01
Involve
This use case allows the user to auto fill the pollution survey through
Description
the mobile application.
Post-condition System will auto detect pollution types and get GPS location.
Main Success
Scenario System will open camera
Click on “+” icon at survey
1 that allows the user to take
page.
picture.
Envir Team | 21
[Craft Village Pollution Monitor] – Architecture Design
Alternative
Scenario
N/A
Exceptions
N/A
Priority High
Date created July 09, 2022 Date last updated July 09, 2022
Entities
E01
Involve
This use case allows the user to see pollution map when create the
Description
pollution survey through the mobile application.
Envir Team | 22
[Craft Village Pollution Monitor] – Architecture Design
Alternative
Scenario
N/A
Exceptions
N/A
Priority High
Envir Team | 23
[Craft Village Pollution Monitor] – Architecture Design
Date created July 09, 2022 Date last updated July 09, 2022
Entities
E01
Involve
This use case allows the user to see pollution map when create the
Description
pollution survey through the mobile application.
Envir Team | 24
[Craft Village Pollution Monitor] – Architecture Design
Scenario N/A
Exceptions
N/A
Priority High
Date created July 09, 2022 Date last updated July 09, 2022
Entities
E02
Involve
This use case allows the user to create production survey through the
Description
mobile application.
Pre-condition User logged into the system successfully and currently at home page.
Envir Team | 25
[Craft Village Pollution Monitor] – Architecture Design
Main Success
Scenario Click on “New Survey” System will redirect to
1
button at home page. production survey page.
Alternative
Scenario
N/A
Exceptions
N/A
Priority High
Date created July 09, 2022 Date last updated July 09, 2022
Entities
E03
Involve
Envir Team | 26
[Craft Village Pollution Monitor] – Architecture Design
This use case allows the user to view pollution data of a craft village
Description
through the mobile application.
Pre-condition User logged into the system successfully and currently at home page.
Main Success
Scenario Click on “View Pollution System will redirect to
1
Data” button at home page. pollition data page.
Alternative
Scenario
N/A
Exceptions
N/A
Priority High
Envir Team | 27
[Craft Village Pollution Monitor] – Architecture Design
Date created July 09, 2022 Date last updated July 09, 2022
Entities
E03
Involve
This use case allows the user to give approval for a household
Description
through the mobile application.
Pre-condition User logged into the system successfully and currently at home page.
Alternative
Scenario Click on “View Request
System will redirect request
1 Account” button at home
account page.
page.
Envir Team | 28
[Craft Village Pollution Monitor] – Architecture Design
Exceptions
N/A
Priority High
Envir Team | 29
[Craft Village Pollution Monitor] – Architecture Design
Scenario A1
Description The operating time of the system should be 95% to have time
for backup data, maintenance and repair.
Artifact System
Response Measure Uptime of the system should be 95%, downtime is about 1.2
hours per day
Performance:
Scenario P2
Source Users
Artifact System
Envir Team | 30
[Craft Village Pollution Monitor] – Architecture Design
Scenario P3
Artifact System
Response Throughput
Usability:
Scenario U4
Source End-users
Envir Team | 31
[Craft Village Pollution Monitor] – Architecture Design
Artifact System
4 Constraints
4.1 Business Constraint
❖ Budget: $5000
❖ Environment:
Envir Team | 32
[Craft Village Pollution Monitor] – Architecture Design
Envir Team | 33
[Craft Village Pollution Monitor] – Architecture Design
Envir Team | 34
[Craft Village Pollution Monitor] – Architecture Design
Envir Team | 35
5.2 Module view
Envir Team | 2