Professional Documents
Culture Documents
Introduction To Software Engineering - Group 7 (Last Version)
Introduction To Software Engineering - Group 7 (Last Version)
GROUP PROJECT
DIGITAL ECONOMY
Instructor: Ph.D.Phan Phuong Lan
Group members:
B2014911 – Nguyen Phuc Truong Giang
B2014951 – Duong Anh Thu
B2015022 – Pham Thao Uyen
Group Organization
Task Board
The
evaluation
Member Position Task
on
completion
2
DIGITAL ECONOMY
Revision History
Name Date Reason For Changes Version
Saturday coffe 5/5/2022 Issue with database 1.0
Table of Contents
3
DIGITAL ECONOMY
4
DIGITAL ECONOMY
5
DIGITAL ECONOMY
1. Introduction
1.1 Purpose
Saturday Coffee Shop is a website for the customers who can view and buy drinks. The
website is available for domestic use and can be downloaded and used for free.
6
DIGITAL ECONOMY
Provide detailed specifications required by sotware for online shopping. Customer can install
and use it on smartphones that use Android and IOS operating systems. Computes run on
Microsot Windows 7, 8, 10 playfoms. The website allows transaction management, providing
visual information about products for customers and managers
Customers
Desiners
Programmers
Testers
Clients
1.4 References
[1] IEEE Computer Society, IEEE Recommended Practice for Software Requirements
Specifications, IEEE Std 830-1998, 1998.
[2] Karl E. Wiegers, Software Requirements Specification Template, 1999.
[3] Bộ Tông tin và Truyền thông, Hướng dẫn về các yêu cầu phi chức năng chung cho các hệ
thống thông tin cung cấp dịch vụ công trực tuyến, 2013.
[4] https://en.m.wikipedia.org/wiki/Digital_economy
2. Overall Description
Nowadays, social media has become a part of people's daily basis. According to
wearesocial.com, in January 2021 there will be 4.33 billion users worldwide, with this number
increasing by more than 10 percent (398 million new users) since 2019. And according
techjury.net, users will spend 2 hours and 24 minutes per day on social media in 2020 and
50.1% of the time spent on mobile was done using social media apps. And due to the Covid-
19 pandemic, the needs of using social media have increased tremendously, especially
websites that are made for entertaining
So, in order to satisfy the need of shopping, Saturday Coffee Shop developers created a
website called Saturday Coffee Shop for providing the needs of drinks that they can use with
everyone, everywhere.
Customers
7
DIGITAL ECONOMY
Administrator
Manager
8
DIGITAL ECONOMY
Users: Customer
Manager
Administrator: programmers, resource manager, account manager, event manager
9
DIGITAL ECONOMY
Transmission control protocol (TCP): It divides any message into a series of packets that are
sent from source to destination and there it gets reassembled at the destination. Internet
protocol (IP): it is designed as an addressing protocol, mostly used with TCP. The IP
addresses in packets help in routing them through different nodes in a network until a reaches
the destination system.
File transfer protocol (FTP): Allow users to transfer files from one machine to another. This
includes multimedia files, program files, etc.
Post office protocol (POP): Allow users to receive Emails. Simple mail transport Protocol
(SMTP): SMTP is designed to send and distribute outgoing
Email.
Hyper text transfer protocol (HTTP): it is designed for transferring a hypertext among two or
more systems. HTML tags are used for creating links. These links may be in any form like
text or images.
Telnet: help users connect one system to another. It is also called as remote login
<List any assumed factors (as opposed to known facts) that could affect the requirements
stated in the SRS. These could include third-party or commercial components that you plan to
use, issues around the development or operating environment, or constraints. The project
could be affected if these assumptions are incorrect, are not shared, or change. Also identify
any dependencies the project has on external factors, such as software components that you
intend to reuse from another project, unless they are already documented elsewhere (for
example, in the vision and scope document or the project plan).>
3. Requirements Specification
Interface on smartphones and tablets: Web name(1), account login(2), search(3), quick
selection bar(4), item other contacts(5)
Smartphones: Running Android operating system (version from Android 7.0 or higher), IOS
operating system (version from IOS 10.0 and above).
10
DIGITAL ECONOMY
PC: Running Windows operating system (the version must be from Windows 7.0 or higher),
macOS operating system (the version must be from macOS 11.0 or higher).
Tablets: Running Android OS (version 7.0 or above), iPad iOS (version 10.0 or above).
Laptop: Running Windows (version 7.0 or above), macOS (version 11.0 or above).
Internet Protocol Suite, Protocol Stack, Transmission Control Protocol, Internet Protocol,
Hypertext Transfer Protocol.
Trigger: Admin
Type: internal
Relationship:
+Association: <Actor>
+Include:
+Extend: Add user
11
DIGITAL ECONOMY
Subflows:
Sub 1: <add user>
• Admin type user ID into User ID box
• Click button “Add”
• Update information
Alternate/Exceptional flows:
ID: REQ002
12
DIGITAL ECONOMY
Trigger: Manager
Type: internal
Relationship:
+Association:
+Include:
+Extend: Add user, Delete user
+Generalization:
Normal flow:
1. Satff selects an item from the list to add to the web
2.
Sub 1: <add product> if the staff selects to add product
3. Choose one product to add
4. Staff fill in product description, price, classification and add photos and videos
5.
Subflows:
Sub 1: <add product>
• Choose a product from the list
• Check if staff want to add a product
Yes -> keep adding a product
No -> Back to home pgae
• Update new product
Alternate/Exceptional flows:
3.2.3 Login
13
DIGITAL ECONOMY
Trigger: Customer
Type: internal
Relationship:
+Association: <Actor>
+Include:
+Extend: Login
+Generalization: [use case 1, use case 2...]
Normal flow:
1. Customer log in into web
2.
Sub 1: <log in by user email and user password>
Sub 2: <log in by gmail or facebook>
Subflows:
Sub 1: < log in by user email and user password >
• Customer usepassword to login into web
• Check the email and password
Yes -> keep login
No -> Message to customer “User Email or Password does not match” -> Back to
login page
• Direct to homepage
14
DIGITAL ECONOMY
Alternate/Exceptional flows:
3.3.1 Performance
Timing requirements: such as respome time, processing time, etc. The time requirement
should be qumtified to ensure measmhiles. For example the time allowed to send infitational
search results is 10 (s).
Maximum capacity: such as the number of concurrent users, bandwidth, volume of successful
transactions/unit of time, database size. For example ensuring the ability of 100 people to use
the service to access concurrently, ensuring the ability to execute 10
transactions per second
3.3.2 Reliability
Availability: the ability of a system to operate in the normal state for a defined period of time.
Example: the availability of system should be at 99,5% year-on-year, excluding the planned
maintenance time, the unavailable time of system must be less than 1 hour month excluding
the system maintenance time,
Resilience: the ability of a system to recover directly affected data and re-establish the normal
operating state of the system affected by any events, interiptionsicmors. For example: in any
event (data, physical server, application server), the time allowed for the system to recover to
the normal operation is 3(h);
Security: the level to which a system ensures the data access is allowed only for the
correspondingly authorized objects;
Integrity: the level to prevent unauthorized access or the change to the computer programs the
data of a system. For example: not allowing the unemame and password to be tramimined
over the network environment without being encrypted;
Analyzable: Implementation includes providing tools that allow the system to analyze to
identify persistent failures in the system and provide failure reports.
15
DIGITAL ECONOMY
Correctable: The provision of system source code, documentation on system design and
documentation on system configuration... ensure the governing body of the system can casily
develop new functions on their own
Movable: Hardware platform support systems of some popular vendors such as IBM, HP.
Dell..., suppon Linux, Unix, Windows Server operating systems; support the ability to move
from a Unix-based platform to a Windows Server-based one, with no additional costs or
significant costs
3.3.4 Adaptability and Portability (khả năng thích ứng và ứng dụng)
Portability: the level of performance and efficiency of migrating a system from a hardware,
software, operating system, usage environment to other hardware, software, operating system,
usage environment. For example: The system supports the hardware platforms of some
popular vendors such as IBM, HP, Dell.... support operating systems such as Linux, Unix,
Windows Server, supports the ability to easily move from a Unix based platform to a
Windows Server-based one, with no additional costs or insignificant costs;
Adaptability: The level to which a system can be effectively adapted to a variety and the
evolution of hardware platforms, software, operating systems, and usage environment.
Adaptability includes the internal scalability of the system such as the screen sizes, the
database tables, the transaction volume, the report format etc.
Administrator rights: High access, authorization and administration for the website.
responsible for optimal website maintenance, security and construction. They're also
responsible for blocking any anonymous accounts as well as responding to user's feedback.
User's rights: All accounts will have the same values and rights, namely will be able to access
the website, be allowed to log in, search and buy movies.
Response time: The website must be fully loaded in 2 seconds or less. The same applies to its
specific functions
Latency: the website should try to completely load under 3 seconds
Processing time; the time for a page to load is at least 200ms or higher
The system should be simple for the users to understand, protect them from data-entry
errors and allow them to easily correct their errors
The system should be available at any time when the user makes a transaction
The system should be able to handle the partial problems without the data. A lot of
users must be protected from trying to change at the same time of fragment data.
16
DIGITAL ECONOMY
Appendix A: Glossary
<Define all the terms necessary to properly interpret the SRS, including acronyms and
abbreviations. You may wish to build a separate glossary that spans multiple projects or the
entire organization, and just include terms specific to a single project in each SRS.>
Appendix B: Analysis Models
<Optionally, include any pertinent analysis models, such as data flow diagrams, class
diagrams, state-transition diagrams, or entity-relationship diagrams.>
Appendix C: To Be Determined List
<Collect a numbered list of the TBD (to be determined) references that remain in the SRS so
they can be tracked to closure.>
1. Introduction
1.1 Purpose
This software design document describes the architectural design and detailed design of
Saturday Coffee Shop website
Mention the most important features of the system, inputs, data stores, and outputs.
No. Term / Acronyms Definition / Explanation
1.4 References
[1]
https://www.researchgate.net/publication/338964690_About_the_Digital_Economy_Software
17
DIGITAL ECONOMY
2. Application Architecture
2.2
D
e
s
c
r
i
p
t
i
o
n
Android 12
(latest ver)
iOS 15.4.1
Network Wifi or Wifi or Wifi or Ethernet cat.6 Ethernet cat.6
hotspot hotspot hotspot
18
DIGITAL ECONOMY
3. Data Design
19
DIGITAL ECONOMY
20
DIGITAL ECONOMY
4. Detailed Design
- Purpose:
+ To manage user information
- Interface:
21
DIGITAL ECONOMY
- The components of interface: the description of each numbered element of interface
is written to the following table.
Number Name control Constraint
1 FrmAddUser
2. TxtID Enter the customer’s ID
3 BtAdd Add customer
4. BtCancel Enter the customer's ID
5. TxtID Show admin user ID
6. TxtUserName Show admin UserName
7. TxtStatus Show admin User Status
8. TxtDate Show admin the last date the user
was online
- Data to be used: list the tables in a database or the data structures needed by this
function.
No. Table name / Data Method
22
DIGITAL ECONOMY
- Process:
- Constrains: for example, refer to which specification of the requirement specification
document.
- Purpose:
+ To add new products on website
- Interface:
23
DIGITAL ECONOMY
- Data to be used: list the tables in a database or the data structures needed by this
function.
Table name / Data Method
No.
structure Add Modify Delete Query
1 ADD PRODUCT x
- Process:
24
DIGITAL ECONOMY
25
DIGITAL ECONOMY
- Purpose:
+ For customer who log in to the website and use it
- Interface:
- Process:
26
DIGITAL ECONOMY
5. References to Requirements
<Use a table to map the components of the system to the functional requirements in SRS.
Refer to the functional requirements by the number we have assigned to them in SRS.>
6. Appendices
<Optional.
The appendices provide the additional detailed information to assist in understanding software
design documentation.>
27
DIGITAL ECONOMY
C. Unit Testing
1. Introduction
1.1 Purpose
Unit testing is the act of examining the artifacts and the behavior of the software
under test by validation and verification. Unit testing can also provide an
objective, independent view of the software to allow the business to appreciate
and understand the risks of software implementation.
< List acronyms, terms, abbreviations used in the document that are almost unknown by the
reader.
No. Term / Acronyms Definition / Explanation
>
1.3 References
<List any document or Web address that this document refers to. Provide enough information
so that the reader could access a copy of each reference, including title, author, version
number, date, and source or location.>
2. Test Cases
28
DIGITAL ECONOMY
29
DIGITAL ECONOMY
1-2-3-4-5-6-7
1-2-3-4-5-7
Input Data
Expected Actual Status
# Test Case
ID Result Result (Pass/Fail)
TC1 123
TC2 none
30
DIGITAL ECONOMY
31
DIGITAL ECONOMY
32
DIGITAL ECONOMY
1-2-3-4-5-6-7-8
1-2-3-1
Input Data
33
DIGITAL ECONOMY
34
DIGITAL ECONOMY
1-2-3-4-5-9
1-2-3-8-9
1-2-3-4-8-9
1-6-7-5-9
1-6-7-9
Input Data
Expected Actual Status
# Test Case
Result Result (Pass/Fail)
User name Password
35